I hereby claim:
- I am ahsquared on github.
- I am ahsquared (https://keybase.io/ahsquared) on keybase.
- I have a public key ASDJc6AqtXFR9nVJAjgDbiMFXhVS711QfKGtvlY0wflafgo
To claim this, I am signing this object:
| qp =()=> window.location.search.substr(1).split('&').reduce( (a, c) => Object.assign(a, (c.indexOf('=') !== -1 ? c : `${c}=`).split('=').reduce( (a, c) => ({[a]: c})) ) ,{}) |
| convert -strip -interlace Plane -sampling-factor 4:2:0 -define jpeg:dct-method=float -quality 70% source.jpg output.jpg |
| stream$.flatMap(array => { | |
| let observablesArray = array.map(arrayItem => { | |
| // map over array returning observables - this can be nested and flattened | |
| return Rx.Observable.fromPromise(promiseFunction(arrayItem)) | |
| // whatever other rx-y things you need to do | |
| .retry(2) | |
| // what do we really want to do with these errors | |
| .catch(e => { | |
| return Rx.Observable.of({ | |
| errorStatus: true, |
| ### MY ALIASES ### | |
| ################## | |
| # git command autocompletion script | |
| # source ~/bin/git-completion.bash | |
| # clear screen | |
| alias cls='clear' | |
| # git commands simplified |
| float hex(vec2 p) { | |
| p.x *= 0.57735*2.0; | |
| p.y += mod(floor(p.x), 2.0)*0.5; | |
| p = abs((mod(p, 1.0) - 0.5)); | |
| return abs(max(p.x*1.5 + p.y, p.y*2.0) - 1.0); | |
| } | |
| void mainImage(out vec4 fragColor, in vec2 fragCoord) { | |
| vec2 pos = fragCoord.xy; | |
| vec2 p = pos/20.0; |
| 'use strict'; | |
| ////////////////////////////////// | |
| // How to use? | |
| // 1. Create `sequelize-schema-file-generator.js` in your app root | |
| // 2. Make sure you've ran the `sequelize init` before (It should create `config`,`seeders`,`migrations` folders). | |
| // 3. Update `DATABASE_DSN` below to match your connection string (works with any database adapter that Sequelize supports) | |
| // 4. Run it with `node sequelize-schema-file-generator.js` | |
| // 5. Review the generated migrations inside of the `migrations` folder. | |
| ////////////////////////////////// |
| jQuery.event.special.tap = { | |
| add: function(handleObj){ | |
| var $this = $(this); | |
| var touchMoved = false; | |
| var touched = false; | |
| var touchesHandler = function(e){ | |
| if(e.type === 'touchstart'){ | |
| touchMoved = false; | |
| touched = true; | |
| }else if(e.type === 'touchmove'){ |
| " Make IE Better Compatible " | |
| <!--[if IE]> | |
| <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script> | |
| <![endif]--> | |
| ====================================================== | |
| IE6 Only | |
| ================== | |
| _selector {...} |
I hereby claim:
To claim this, I am signing this object:
| {"lastUpload":"2019-08-14T20:33:56.411Z","extensionVersion":"v3.4.1"} |