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
cat attesterlog.log | grep "default browser" | cut -d" " -f2,10 | tr -d '[' | sort -n -r | less |
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
{macro main()} | |
<h1># ${ (true) && (true) }</h1> | |
<h1># ${ (true) && (false) }</h1> | |
<h1># ${ (5 + 12*12) % 100 }</h1> | |
<h1># ${ (5==5) ? "a" : "b"}</h1> | |
//template error: invalid modifier syntax | |
//<h1># ${ 8 | 16 }</h1> | |
//<h1># ${ (true) || (false) }</h1> | |
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
{macro main()} | |
<h1>Hello Instant Aria Templates</h1> | |
{/macro} |
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
git show --stat=200 | |
// 200 is screen width, to be adjusted |
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
find . -type f \( -name "*.htm*" -or -name "*.js*" -or -name "*.css" -or -name "*.*ml" -or -name "*.tpl" -or -name "*.md" -or -name "*.txt" \) -exec sh -c 'echo -e "\r\n" >> "$0" ' {} \; -exec sed --in-place -e :a -e '/^\n*$/{$d;N;};/\n$/ba' {} \; |
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
$ find . -name '*.js' -exec awk -v gap=15 '/try/ {inside=1; diff=0; next} inside{diff++} /catch/ && inside && (diff>=gap) {print diff,"L",NR-diff,FILENAME; inside=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
ERR_TUNNEL_CONNECTION_FAILED (connecting to http server that is down) | |
request timeout | |
airplane mode |
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
* text=auto | |
*.htm text diff=html | |
*.html text diff=html | |
*.java text diff=java | |
*.properties text | |
*.js text | |
*.json text | |
*.jsonp text | |
*.jsp text |
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
openssl s_client -showcerts -connect yourhost.com:443 | |
http://stackoverflow.com/questions/24573037/webview-and-ssl-certificates |
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 node | |
var path = require('path'); | |
// note this is required on maven BEFORE npm install so it can not be outsourced to ng-scripts | |
var execWithEnv = require('./execWithEnv'); | |
var exec = function(command) { | |
command = command + ' --no-color'; | |
var cwd = process.cwd(); |