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 os | |
| import struct | |
| import socket | |
| state_table = ( | |
| "EMPTY SLOT", | |
| "ESTABLISHED", | |
| "SENT", | |
| "RECV", | |
| "WAIT1", |
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 | |
| """ | |
| backup your file automatically. | |
| """ | |
| import os | |
| import time | |
| import shutil | |
| import sys |
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 torrent | |
| import sys | |
| import os.path | |
| import time | |
| def get_meta(path): | |
| f = open(path, "r") | |
| s = f.read() |
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 socks5 | |
| import ( | |
| "bufio" | |
| "bytes" | |
| "encoding/binary" | |
| "errors" | |
| "net" | |
| "net/http" | |
| "strconv" |
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 ( | |
| "fmt" | |
| "runtime" | |
| ) | |
| type Stats struct { | |
| name string | |
| value uint64 |
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 sys | |
| class kls(): | |
| def m(self): pass | |
| def func(): | |
| pass | |
| def gen(): |
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
| <!doctype html> | |
| <html> | |
| <head> | |
| <title>compare url</title> | |
| </head> | |
| <style rel="stylesheet"> | |
| .mark-red { | |
| background-color: #eb0013; | |
| } | |
| .mark-yellow { |
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 json | |
| def find_end(json, start): | |
| if start < 0: | |
| start = 0 | |
| stack = [] | |
| i = start | |
| json_len = len(json) | |
| while i < json_len: |
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
| /* | |
| * {% ABC %} | |
| * | |
| */ | |
| function string_format(format, context) { | |
| if ((typeof format != "string") || | |
| (typeof context != "object")) { | |
| return; |
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
| function defineException(name) { | |
| var Exception = function(message) { | |
| this.message = message; | |
| } | |
| Exception.prototype.name = name; | |
| return Exception; | |
| } | |
| var ValueException = defineException("ValueException"); | |
| var AssertException = defineException("AssertException"); |