I hereby claim:
- I am bwiggs on github.
- I am bwigginton (https://keybase.io/bwigginton) on keybase.
- I have a public key ASDUuJfyp5_3y5dZK7UHwIU5997em3uXsuZdAcfFxf5qoAo
To claim this, I am signing this object:
| <snippet> | |
| <content><![CDATA[ | |
| fmt.Printf("%+v\n", $1) | |
| ]]></content> | |
| <!-- Optional: Set a tabTrigger to define how to trigger the snippet --> | |
| <tabTrigger>debug</tabTrigger> | |
| <!-- Optional: Set a scope to limit where the snippet will trigger --> | |
| <scope>source.go</scope> | |
| </snippet> |
| INSERT INTO [table] (id) values (default); |
| <snippet> | |
| <content><![CDATA[ | |
| <pre>{{ ${1:object} | json}}</pre> | |
| ]]></content> | |
| <!-- Optional: Set a tabTrigger to define how to trigger the snippet --> | |
| <tabTrigger>dump</tabTrigger> | |
| <!-- Optional: Set a scope to limit where the snippet will trigger --> | |
| <scope>text.html</scope> | |
| <description>pre tab to deump an ng object using the json filter</description> | |
| </snippet> |
| // newQmlEngine creates a new qml engine. Destroys the old one if set. | |
| // | |
| // This is needed to re-load qml files to get the new file contents from disc as | |
| // otherwise the old file would still be what is referenced. | |
| func (t *qmlfrontend) newQmlEngine() (err error) { | |
| if t.engine != nil { | |
| // TODO(.): calling this appears to make the editor *very* crash-prone, just let it leak for now | |
| // engine.Destroy() | |
| t.engine = nil | |
| } |
| params := url.Values{ | |
| "Condition": []string{"New"}, | |
| "Operation": []string{"ItemSearch"}, | |
| "SearchIndex": []string{"Books"}, | |
| "Title": []string{"ruby microscope"}, | |
| } |
I hereby claim:
To claim this, I am signing this object:
| function Person() { | |
| this.name = 'Bob' | |
| } | |
| constructorProxy = (constructorFn, args) -> | |
| Proxy = -> | |
| constructorFn.apply(this, args) | |
| this.name = 'Dave' | |
| Proxy:: = Object.create constructorFn:: | |
| Proxy |
| function genpasswd() { | |
| let passwordLength=${1:-48} | |
| openssl rand -base64 $passwordLength | cut -c 1-$passwordLength | |
| } | |
| # $ genpasswd 24 | |
| # qPE5rpQOF74k8SoibCFzhlwp |
| function TimeDurationDirective() { | |
| var tpl = "<div> \ | |
| <input type='text' ng-model='num' size='80' /> \ | |
| <select ng-model='unit'> \ | |
| <option value='secs'>Seconds</option> \ | |
| <option value='mins'>Minutes</option> \ | |
| <option value='hours'>Hours</option> \ | |
| <option value='days'>Days</option> \ | |
| </select> \ | |
| </div>"; |
| function findURLValue(q) { | |
| var p = document.location.search.substring(1).split('&'), | |
| i = 0; | |
| for (; i < p.length; i = i + 1) { | |
| if (p[i].split('=')[0] == q) return p[i].split('=')[1]; | |
| } | |
| return ''; | |
| } | |
| var Application = (function () { |