#Facebook Hacker Cup 2013
注册地址:http://www.facebook.com/hackercup/register
友情提示:国内访问facebook连接不好,需要使用网络软件
##各轮比赛时间
注:晋级规则皆为往年的
# | |
# @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连接不好,需要使用网络软件
##各轮比赛时间
注:晋级规则皆为往年的
import re | |
import pickle | |
from threading import Timer | |
import subprocess | |
from subprocess import call | |
import os.path | |
import sys | |
# config | |
database = 'allPairs.p' |
// 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 |
#!/usr/bin/env python | |
#-*- coding: utf-8 -*- | |
import sys | |
import logging | |
import datetime | |
import requests | |
import BeautifulSoup | |
from requests.adapters import HTTPAdapter |
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) |
#!/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 } |
data:text/html, | |
<style type="text/css"> | |
#e { | |
position:absolute; | |
top:0; | |
right:0; | |
bottom:0; | |
left:0; | |
font-size:16px; | |
} |