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> | |
| <meta charset="utf-8"> | |
| <title></title> | |
| </head> | |
| <body> | |
| </body> | |
| <script type="text/javascript"> |
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
| from Tkinter import * | |
| def fn(*args): | |
| messagebox.showinfo(content.get()) | |
| root = Tk() | |
| root.title("Google") | |
| main = Frame(root) | |
| main.pack() |
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 lang="en" > | |
| <head> | |
| <title>Wi-Fi</title> | |
| <style type="text/css"> | |
| * { | |
| margin: 0; | |
| padding: 0; | |
| font-family: "Helvetica Neue",Helvetica Neue,Helvetica,Arial,Heiti SC,Hiragino Sans GB,Microsoft Yahei,sans-serif; | |
| } |
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
| using System; | |
| using System.Diagnostics; | |
| using System.Net; | |
| using System.Net.Sockets; | |
| using System.Runtime.InteropServices; | |
| using System.Text; | |
| namespace RemoteControlServer | |
| { | |
| class RemoteServer |
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
| /** | |
| * [promiseify description] | |
| * @param {[type]} creator [description] | |
| * @return {[type]} [description] | |
| */ | |
| module.exports = function promiseify(creator){ | |
| return new Promise(function(accept, reject){ | |
| creator.call(this, function(err, res){ | |
| if(err) return reject(err); | |
| accept(res); |
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
| const debug = require('debug')('promise-retry'); | |
| /** | |
| * [promise-retry: catch promise error and retry] | |
| * @param {[type]} task [description] | |
| * @param {[type]} n [description] | |
| * @param {[type]} timeout [description] | |
| * @return {[type]} [description] | |
| * @source https://gist.github.com/song940/6e3e1ec0380956006cd1 | |
| */ | |
| module.exports = function retry(task, n, timeout){ |
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 | |
| # | |
| # | |
| PROJECT_ID=1 | |
| SENTRY_VERSION=7 | |
| SENTRY_NAME="sentry-cli" | |
| SENTRY_KEY=5660affd663b4e4e8f0ca25c96dce705 | |
| SENTRY_API="http://sentry.lsong.org/api/$PROJECT_ID" | |
| ORIGIN="http://lsong.org" |
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
| Host * | |
| ControlPersist yes | |
| ControlMaster auto | |
| ControlPath ~/.ssh/master-%r@%h:%p |
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
| DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE | |
| Version 2, December 2004 | |
| Copyright (C) 2013 Yannick Albert <http://yckart.com> | |
| Everyone is permitted to copy and distribute verbatim or modified | |
| copies of this license document, and changing it is allowed as long | |
| as the name is changed. | |
| DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE |
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 | |
| # curl -s https://gist.githubusercontent.com/song940/d61c5dec2359a9a324b9/raw/mp4ba.sh | bash | |
| URL="http://www.mp4ba.com" | |
| for i in `seq 71`; do | |
| INDEX_CONTENT=$(curl -s "$URL/index.php?page=$i") | |
| HASH=$(echo $INDEX_CONTENT | grep -o "hash=\w*") | |
| for hash in `echo $HASH`; do |