This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Filetype: IR signals file | |
Version: 1 | |
# | |
# Noisy Cricket. Turn your flipper into a tiny, high-powered, wide angle Nerf Laser OPs gun (yes, this is cheating) | |
# | |
# Based of the Ardruino based work of @TomSingh_ | |
# | |
name: Purple | |
type: raw |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
RewriteEngine On | |
RewriteCond %{HTTPS} !=on | |
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301,NE] | |
RewriteCond %{HTTP_USER_AGENT} ^\W [OR] | |
RewriteCond %{HTTP_USER_AGENT} \b173\.212soso\b [NC,OR] | |
RewriteCond %{HTTP_USER_AGENT} \b192\.comagent\b [NC,OR] | |
RewriteCond %{HTTP_USER_AGENT} \b1noonbot\b [NC,OR] | |
RewriteCond %{HTTP_USER_AGENT} \b1on1searchbot\b [NC,OR] | |
RewriteCond %{HTTP_USER_AGENT} \b360Spider\b [NC,OR] | |
RewriteCond %{HTTP_USER_AGENT} \b3de\_search2\b [NC,OR] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import asyncio | |
import time | |
import copy | |
import random | |
from bleak import discover, BleakClient | |
async def _discoverDevices(): | |
devices = await discover() | |
return devices |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
import time, struct, sys | |
import socket as so | |
def sendPayload(cmd): | |
# print("Sent: %s\nSize %i\nRSize %i " % (cmd , len(cmd) , len(cmd) -(len(preCMD) +len(postCMD)))) | |
try: | |
s.send(cmd) | |
print(repr(s.recv(1024))) | |
except: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
* Plugin Name: ECommerceTemplates in WordPress | |
* Plugin URI: http://to_be_confirmed/ | |
* Description: Allows ECommerceTemplates to run inside WordPress | |
* Author: Glenn Pegden | |
* Version: 0.1 | |
* Author URI: http://glenn.pegden.com | |
* Licensse: To be confirmed (assume commercial for now) | |
* (c) Glenn Pegden ([email protected]) Oct 2010 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
# -*- coding: utf-8 -*- | |
#Must be python2 as lgtv currently doesn't work with python3 | |
#Uses the following (make sure they are installed and set up | |
#Sky-Q - https://github.com/dalhundal/sky-remote-cli (NodeJS) - I also ported his node sample for the getPower code | |
#LGTV - https://github.com/klattimer/LGWebOSRemote (Python) | |
# | |
#Credit to Schamper for the code the xbox remote-wake code is based on - https://github.com/Schamper/xbox-remote-power |