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 | |
import hmac | |
import hashlib | |
import urllib.parse | |
from datetime import datetime | |
import requests | |
def get_nonce(): |
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 pyparsing import * | |
def to_int(item): | |
return int(item[0]) | |
selectToken = CaselessLiteral( "SELECT" ) | |
fromToken = CaselessLiteral( "FROM" ) | |
sub_select = Forward() |
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
machine 10.140.18.98 | |
login smialkowskipext | |
password <passsord> |
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
git submodule foreach sh -c 'git remote remove gerrit; exit 0' |
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
for files in *; | |
do | |
convert -resize 100^ -gravity center -crop 100x100+0+0 "$files" "small/$files" ; | |
done; |
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 toInt(x) { | |
x = Number(x); | |
return x < 0 ? Math.ceil(x) : Math.floor(x); | |
} |
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
var base64 = { | |
encode:function( str ) { | |
return window.btoa(unescape(encodeURIComponent(str))); | |
}, | |
decode:function( str ) { | |
return decodeURIComponent(escape(window.atob(str))); | |
} | |
}; |