I hereby claim:
- I am ypetya on github.
- I am ypetya (https://keybase.io/ypetya) on keybase.
- I have a public key whose fingerprint is 9D19 3EEC 74AA 4092 DA73 0052 459B 3894 2ACA 4812
To claim this, I am signing this object:
| var VERSION = 2; | |
| function Drawer(canvas) { | |
| this.canvas = canvas; | |
| this.width = canvas.width; | |
| this.height = canvas.height; | |
| this.ctx = canvas.getContext("2d"); | |
| this.imageData = this.ctx.createImageData(1, 1); | |
| } |
| (;; my block | |
| (let ( | |
| (str "string!") | |
| (local_list (list 1 2 3))) | |
| (message "This is a string %s" str) ;; prints to *Message* buffer | |
| (message "This is a list %S" local_list) | |
| nil | |
| ) ;; => returns nil | |
| ;; from emacs 24 eslip simulates lexical scoping though it has |
| function unset(o,path) { | |
| if(path.indexOf('.')==-1) { | |
| delete o[path]; | |
| } else { | |
| var o2=path.split('.'), | |
| ending=o2.pop(); | |
| unset(o[o2],ending); | |
| } | |
| } |
| var a = function(a,b,c){ console.log( this.toString(),a,b,c); } | |
| a(1,2,3) | |
| // => [object Window] 1 2 3 | |
| var b = a.bind(1,2) | |
| b(3,4) | |
| // => 1 2 3 4 | |
| var c = b.bind(3,4) | |
| c(5,6) | |
| // => 1 2 4 5 | |
| b === c |
| package example; | |
| import java.io.IOException; | |
| import java.io.PrintWriter; | |
| import java.util.Map; | |
| import java.util.concurrent.ConcurrentHashMap; | |
| import javax.servlet.ServletException; | |
| import javax.servlet.http.HttpServlet; | |
| import javax.servlet.http.HttpServletRequest; |
I hereby claim:
To claim this, I am signing this object:
| #!/bin/sh | |
| (set -o igncr) 2>/dev/null && set -o igncr; # cygwin encoding fix | |
| basedir=`dirname "$0"` | |
| case `uname` in | |
| *CYGWIN*) basedir=`cygpath -w "$basedir"`;; | |
| esac | |
| NODE_EXE="$basedir/node.exe" |
| #!/bin/bash | |
| rm -f "$0.1" | |
| while read line ; do | |
| if [ ! -z $enc ] ; then | |
| echo "$line" | xxd -ps -r | |
| fi | |
| [ -z $enc ] && [ "${line:0:2}" = '#-' ] && enc=1 | |
| if (( ${#line} > 0 )) ; then | |
| echo $line >> "$0.1" | |
| fi |
| #!/bin/bash | |
| # Erratic behavior of the "$*" and "$@" internal Bash variables, | |
| #+ depending on whether or not they are quoted. | |
| # Demonstrates inconsistent handling of word splitting and linefeeds. | |
| set -- "First one" "second" "third:one" "" "Fifth: :one" | |
| # Setting the script arguments, $1, $2, $3, etc. |