This file contains 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 re | |
import pyquery | |
import requests | |
embedlink_base = { | |
'adhqmedia': 'http://www.adhqmedia.com/files/embed/', | |
'likeafool': 'http://embed.likeafool.com/files/embed/', | |
'vidbaba': 'http://www.mycollection.net/new_files/embed/' | |
} |
This file contains 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
@echo off & python -x %~f0 %* & goto :EOF | |
import os.path | |
import sys | |
import subprocess | |
PATH_PREFIXES = [r'C:\Python27', r'C:\Python27\Scripts', | |
r'C:\Python27\Library\bin', ''] | |
EXTENSIONS = ['.exe', '.cmd', '.bat'] |
This file contains 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
Show hidden characters
[ | |
/* @ EMPTY WINDOW | |
* Style for empty (no tabs) window | |
========================================================================= */ | |
{ | |
"class": "sheet_container_control", | |
"layer0.tint": [26, 29, 35], | |
"layer0.opacity": 1.0 |
This file contains 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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>name</key> | |
<string>PlasticCodeWrap</string> | |
<key>settings</key> | |
<array> | |
<dict> | |
<key>settings</key> |
This file contains 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
{ | |
"bold_folder_labels": true, | |
"caret_style": "phase", | |
"color_scheme": "Packages/User/Flatland (SpaceGray Edit).tmTheme", | |
"copy_with_empty_selection": false, | |
"default_line_ending": "unix", | |
"dpi_scale": 1, | |
"enable_tab_scrolling": false, | |
"ensure_newline_at_eof_on_save": true, | |
"fade_fold_buttons": false, |
This file contains 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
[ | |
{ "keys": ["ctrl+alt+p"], "command": "prompt_select_workspace" }, | |
{ "keys": ["ctrl+shift+s"], "command": "save" }, | |
{ "keys": ["ctrl+shift+v"], "command": "paste_from_history" }, | |
{ "keys": ["ctrl+l"], "command": "show_overlay", "args": {"overlay": "goto", "text": ":"} }, | |
{ "keys": ["shift+f7"], "command": "build", "args": {"select": true} }, |
This file contains 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
#SingleInstance force | |
#End::Volume_Mute | |
#PgUp::Volume_Up | |
#PgDn::Volume_Down | |
#!Up:: | |
#!Right:: | |
Run nircmd changebrightness +5 | |
Return |
This file contains 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 subprocess | |
import threading | |
import time | |
import Queue | |
import setq | |
def get_conf(): | |
while True: | |
time.sleep(1) |
This file contains 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
from selenium import webdriver | |
from selenium.webdriver.common.by import By | |
from selenium.webdriver.support.ui import Select, WebDriverWait | |
from selenium.webdriver.support import expected_conditions as EC | |
from time import sleep, strftime | |
def waituntil(s): | |
while strftime('%H:%M:%S') < s: | |
print strftime('%H:%M:%S') | |
sleep(1) |
This file contains 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
from contextlib import contextmanager | |
from sys import stderr | |
from timeit import default_timer as now | |
import atexit | |
@contextmanager | |
def timeit(s=''): | |
start = now() | |
yield | |
print >>stderr, '-- %06.3fs' % (now() - start), '|', s |
NewerOlder