Skip to content

Instantly share code, notes, and snippets.

View Akagi201's full-sized avatar
🎯
Focusing

Bob Liu Akagi201

🎯
Focusing
View GitHub Profile
@Akagi201
Akagi201 / Makefile.app
Last active October 11, 2015 16:58
Akagi201's Makefiles
#
# @file Makefile
#
# @author Akagi201
# @date 2014/03/20
#
# Linux Application Generic Makefile
#
# History:
# <author> <time> <version> <desc>

#Facebook Hacker Cup 2013

注册地址:http://www.facebook.com/hackercup/register

友情提示:国内访问facebook连接不好,需要使用网络软件


##各轮比赛时间

注:晋级规则皆为往年的

@kylemcdonald
kylemcdonald / pr-log.py
Last active August 18, 2018 23:06
Probe request MAC/SSID pair logging with tcpdump and Python3 for OS X, using airport for channel hopping.
import re
import pickle
from threading import Timer
import subprocess
from subprocess import call
import os.path
import sys
# config
database = 'allPairs.p'
@LuoZijun
LuoZijun / INSTALL.rst
Last active January 15, 2019 03:51
以太坊客户端 Parity 的安装
@marcinbunsch
marcinbunsch / codewall.badges.js
Created March 10, 2012 22:18
Coderwall - display missing badges
// How to use this:
// 1. Go to the desired profile page on coderwall, like http://coderwall.com/marcinbunsch
// 2. Paste this gist in the JS console
//
// You can also probably use this in greasemonkey and dot.js
//
// Also, it was tested in Chrome, Firefox and Safari, it probably will
// not work in IE, but I just don't care about it ;)
//
// UPDATE: Coderwall made changes to the site and I cannot retrieve the achievements, so they are hardcoded, taken from a cached version of the achievements page
@tdoly
tdoly / v2ex_auto_login.py
Last active May 24, 2019 13:28
v2ex 自动登录,领取金币脚本
#!/usr/bin/env python
#-*- coding: utf-8 -*-
import sys
import logging
import datetime
import requests
import BeautifulSoup
from requests.adapters import HTTPAdapter
@wvv8oo
wvv8oo / gist:b4cd13f483f58693fd86
Last active September 10, 2019 12:39
批量复制某个用户的所有star
var $buttons = $('button.star-button')
var index = 0
var timer = window.setInterval(function(){
if(index >= $buttons.length){
window.clearInterval(timer);
}else{
$buttons[index++].click();
}
}, 1000)
@Kubuxu
Kubuxu / ipfs-daemon-remote.sh
Last active March 2, 2021 06:34
Tunnel IPFS API via SSH
#!/usr/bin/env bash
REMOTE_HOST=${1-"YOUR REMOTE HOST HERE"}
DEFAULT_API_FILE="$HOME/.ipfs/api"
API_FILE="${IPFS_PATH-$DEFAULT_API_FILE}"
if [ -e "$API_FILE" ]; then
echo "IPFS API is already running"
exit 1
fi
pass { from: 0.0.0.0/0 to: 109.239.140.0/24 }
pass { from: 0.0.0.0/0 to: 149.154.164.0/23 }
pass { from: 0.0.0.0/0 to: 149.154.164.0/22 }
pass { from: 0.0.0.0/0 to: 149.154.166.0/23 }
pass { from: 0.0.0.0/0 to: 149.154.168.0/22 }
pass { from: 0.0.0.0/0 to: 149.154.172.0/22 }
pass { from: 0.0.0.0/0 to: 149.154.172.0/23 }
pass { from: 0.0.0.0/0 to: 205.172.60.0/22 }
pass { from: 0.0.0.0/0 to: 67.198.55.0/24 }
pass { from: 0.0.0.0/0 to: 91.108.12.0/22 }
@minikomi
minikomi / editor.html
Last active November 11, 2021 10:16
my editor
data:text/html,
<style type="text/css">
#e {
position:absolute;
top:0;
right:0;
bottom:0;
left:0;
font-size:16px;
}