This file contains hidden or 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
<html> | |
<head> | |
<title>Squidproxies List to SwitchProxy</title> | |
</head> | |
<body> | |
<h1>An easy way to switch squidproxies to SwitchProxy</h1> | |
<form method="post"> | |
<label>Please input your proxy list</label><textarea name="proxies" cols="80" rows="10"></textarea> | |
<br /> | |
<input type="submit" /> |
This file contains hidden or 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 random | |
# Usage: parse(text).spin() | |
class Node: | |
def __init__(self): | |
None | |
def spin(self): |
This file contains hidden or 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
#!/usr/bin/env python | |
import subprocess | |
from os import fork | |
CHROME='/opt/google/chrome/chrome' | |
PROFILES = { | |
'*normal': '/home/qsun/.chrome-profiles/gmail', |
This file contains hidden or 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
- (UITableViewCell *)tableView:(UITableViewController *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath { | |
NSLog(@"table view"); | |
static NSString * CellIdentifier = @"NewsCell"; | |
UITableViewCell *cell; | |
cell = [dataController dequeueReusableCellWithIdentifier:CellIdentifier]; | |
NSLog(@"Test"); | |
/* |
This file contains hidden or 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
<a name="freelancer_Hireme" user_id="756803" size="small" annotation="none" title="Hire me! on Freelancer.com" href="http://www.freelancer.com/users/756803.html">Nginx Developer</a><script type="text/javascript">(function() {var po = document.createElement("script");po.type = "text/javascript"; po.async = true;po.src = ("https:" == document.location.protocol ? "https" : "http") + "://www.freelancer.com/js/hireme/widget.js";var s = document.getElementsByTagName("script")[0];s.parentNode.insertBefore(po, s);})();</script> |
This file contains hidden or 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
#!/usr/bin/env python | |
class BidAskParseError(Exception): pass | |
import datetime | |
from twisted.internet import reactor | |
from twisted.protocols.basic import LineReceiver | |
from twisted.internet.protocol import ClientFactory | |
class ExampleClient(LineReceiver): |
This file contains hidden or 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
convert -size 100x14 xc:none -gravity center -stroke black -strokewidth 4 -annotate 0 'Faerie Dragon' -background none -shadow 100x4+0+0 +repage -stroke none -fill white -annotate 0 'SCREENSHOT' github.png +swap -gravity south -geometry +0-3 -composite github-asdf.png |
This file contains hidden or 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
package main | |
import "encoding/json" | |
import "fmt" | |
type FailureMessage struct { | |
Mail string | |
To string | |
Host string | |
Message string |
This file contains hidden or 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
#!/usr/bin/env bash | |
set +x | |
set +e | |
go build -ldflags "-X main.version $(git rev-parse HEAD)" |