Skip to content

Instantly share code, notes, and snippets.

# -*- coding: utf-8 -*-
__author__ = 'icy'
import yaml
import requests
import re
from bs4 import BeautifulSoup
headers = {'User-Agent': 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:27.0) Gecko/20100101 Firefox/27.0'}
cookies = {'PHPSESSID': '9f4f0dddef03736a533a65a4c267d0bb'}
@icylogic
icylogic / fonts.styl
Last active September 2, 2018 16:30 — forked from blackgear/userstyle.styl
CONFIG = {
'Arial Black' : 'MISSING-ENG-SANS',
'Arial' : 'MISSING-ENG-SANS',
'Calibri' : 'MISSING-ENG-SANS',
'Cambria' : 'MISSING-ENG-SERIF',
'Candara' : 'MISSING-ENG-SANS',
'Comic Sans MS' : 'MISSING-ENG-SANS',
'Constantia' : 'MISSING-ENG-SERIF',
'Corbel' : 'MISSING-ENG-SANS',
set editor=gvim\ -f
set gui=none
set gui=tabs
colorscheme darkness
source! "%USERPROFILE%\\_vimperatorrc.local"
@icylogic
icylogic / installer-config.txt
Last active August 29, 2015 14:17
My raspbian-ua-netinst install configuration for pi 2
release=jessie
mirror=http://mirrors.ustc.edu.cn/raspbian/raspbian/
packages=apt-utils,sudo,python,rsync,htop,git,raspi-copies-and-fills
@icylogic
icylogic / One-time Clipborad
Created January 3, 2015 06:24
win + c to clip. win + c agiain to paste and clear
#c::
if (Clipboard <> ""){
Send ^v
Clipboard :=""
} else {
Send ^c
}
Return