Skip to content

Instantly share code, notes, and snippets.

View hex128's full-sized avatar
👾

Hex hex128

👾
View GitHub Profile
#NoEnv
#SingleInstance Force
#NoTrayIcon
SendMode Input
SetWorkingDir %A_ScriptDir%
SetTitleMatchMode RegEx
#IfWinActive ahk_class ExploreWClass|CabinetWClass|Progman
#h::
/*
AutoHotkey_L: 1.1.00.00
Language: English
Platform: Win XP, Win 7
Author: rbrtryn
__________________________________________________________________________
| |
| Hotkeys Defined: |
| #c Opens a comand window to the current explorer window path |
|__________________________________________________________________________|
#NoEnv
#SingleInstance Force
#NoTrayIcon
SendMode Input
SetWorkingDir %A_ScriptDir%
SetTitleMatchMode RegEx
#a:: Winset, Alwaysontop, , A
#!/usr/bin/python2
# -*- coding: utf-8 -*-
from urllib2 import urlopen, HTTPError
from bs4 import BeautifulSoup
from json import dumps
from sys import stdout, exit, stdin
from codecs import getwriter, getreader
from signal import signal, SIGINT
from re import compile
@hex128
hex128 / generate.sh
Last active September 23, 2017 17:26
#!/usr/bin/env bash
VIDEO=${1}
IMAGE=${2}
TITLE=${3}
TEXT=${4}
NAME=${5}
TIME_FROM_END=${6}
OUTPUT=${7}
FRAME_FONT="frame-font.ttf"
FRAME_COLOR="#313781"
function buildingMouseIn(building) {
building.tooltip.show();
building.g = building.glow({
'width': 0,
'fill': true,
'opacity': 0,
'color': interactiveMapSelectColor
});
}
@hex128
hex128 / google-play-app.py
Last active March 12, 2017 19:28
Google Play App Parser
#!/usr/bin/python2
# -*- coding: utf-8 -*-
from json import dumps
from sys import stdout, exit
from codecs import getwriter
from signal import signal, SIGINT
from urllib import urlopen
from bs4 import BeautifulSoup
@hex128
hex128 / google-play-movie.py
Last active August 26, 2016 20:12
Google Play Movie Parser
#!/usr/bin/python2
# -*- coding: utf-8 -*-
from json import dumps
from sys import stdout, exit
from codecs import getwriter
from signal import signal, SIGINT
from urllib import urlopen
from bs4 import BeautifulSoup
@hex128
hex128 / google-play-music.py
Last active August 26, 2016 20:14
Google Play Music Parser
#!/usr/bin/python2
# -*- coding: utf-8 -*-
from json import dumps
from sys import stdout, exit
from codecs import getwriter
from signal import signal, SIGINT
from urllib import urlopen
from bs4 import BeautifulSoup
@hex128
hex128 / google-play-books.py
Last active August 26, 2016 20:14
Google Play Books Parser
#!/usr/bin/python2
# -*- coding: utf-8 -*-
from json import dumps
from sys import stdout, exit
from codecs import getwriter
from signal import signal, SIGINT
from urllib import urlopen
from bs4 import BeautifulSoup