I hereby claim:
- I am xxami on github.
- I am lilah (https://keybase.io/lilah) on keybase.
- I have a public key whose fingerprint is 8049 EB3F 4A30 6E5D 202B 5593 1EEE D9B0 49D7 9049
To claim this, I am signing this object:
version: '2' | |
vars: | |
cc: cc | |
cflags: -std=c18 -pedantic -Wall -fstack-protector-strong -O2 | |
tasks: | |
build: | |
silent: true |
I hereby claim:
To claim this, I am signing this object:
enter following as integration command in conemu settings: | |
c:\cygwin64\bin\mintty.exe /bin/sh -lc 'cd "$(cygpath "${%ConEmuWorkDir%}")"; exec bash' |
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Drawing.Printing; | |
using System.Diagnostics; | |
using System.Printing; | |
using System.IO; | |
using System.Threading; |
$connection = null; /* should be initialized only when needed in query() */ | |
/** | |
* sql query result object | |
* easily iterate/re-iterate from a query() call | |
*/ | |
class QueryResult { | |
private $sql_result; | |
public function __construct($sql_result) { |
##encode
console.log(unescape(encodeURIComponent("string to be encoded")));
##with escape formatting
console.log(encodeURIComponent("string to be encoded").replace(/%.{2}/g, function(v) { return "\\x" + v.substring(1, 3).toLowerCase(); }));
this will be displayed, formatted with \x for use as escape sequences in various languages
##vim
set tabstop=4 softtabstop=0 expandtab shiftwidth=4 smarttab
##vim via html file
<!-- vim: set tabstop=4 softtabstop=0 expandtab shiftwidth=4 smarttab: -->
note: putting it before DOCTYPE will cause problems with IE (quirks mode)
<input type="text" onchange="var that=this;setTimeout(function(){do_this(that.value);},50);" onkeypress="this.onchange();" onpaste="this.onchange();" oncut="this.onchange();" oninput="this.onchange();"> | |
<script type="text/javascript"> | |
function do_this(value) { | |
console.log(value); | |
} | |
</script> |