This file contains hidden or 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
| _.times(3, _.partial(_.sample, ['๐','๐','๐ฎ','๐ฏ','๐ฐ','๐ฑ','๐ฒ','๐ณ','๐ด','๐พ','๐','๐ ','๐','๐','๐','๐','๐','๐','๐','๐','๐๏ธ','๐ธ','๐พ','๐น๏ธ','๐คฝ'])).join('') |
This file contains hidden or 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
| npm install -g commitizen | |
| npm install -g git+https://[email protected]/camilleriluke/cz-conventional-changelog-casumo.git | |
| echo '{ "path": "cz-conventional-changelog-casumo" }' > ~/.czrc |
This file contains hidden or 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
| canDeactivate(...args) { | |
| console.log('canDeactivate', ...args); | |
| return true; | |
| } | |
| canActivate(...args) { | |
| console.log('canActivate', ...args); | |
| return true; | |
| } |
This file contains hidden or 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
| const sleep = ms => new Promise(r => setTimeout(r, ms)); | |
| const numbersFromGenerator = fromI => { | |
| let i = fromI; | |
| return { | |
| [Symbol.asyncIterator]: async function*() { | |
| while (true) { | |
| await sleep(500); | |
| yield i++; |
This file contains hidden or 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
| import { concat, defer, empty, of } from "rxjs"; | |
| import { flatMap, reduce, scan, take } from "rxjs/operators"; | |
| const fetchPage = (pageNumber = 0) => | |
| new Promise(r => { | |
| setTimeout(() => { | |
| // console.log("fetching page ", pageNumber); | |
| if (pageNumber >= 5) { | |
| return r({ results: "done" }); | |
| } |
This file contains hidden or 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/local/bin/gnuplot --persist | |
| # If you want to save on disk png โฆ or set "export GNUTERM=x11" for X11 screen window | |
| set terminal png | |
| set output "result.plo.png" | |
| set title "Benchmark1" | |
| set size 1,0.7 | |
| set xlabel 'requests' | |
| set ylabel 'ms' | |
| # if you want to use autoscale use "set autoscale xy" | |
| set xrange [0:100] |
This file contains hidden or 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
| router.on('router:navigation:complete', e => { | |
| console.log('๐ router:navigation:complete', e); | |
| }); | |
| router.on('router:navigation:cancelled', e => { | |
| console.log('๐ router:navigation:cancelled', e); | |
| }); | |
| router.on('router:navigation:processing', e => { | |
| console.log('๐ router:navigation:processing', e); | |
| }); | |
| router.on('router:route:activating', e => { |
This file contains hidden or 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 e = ['๐','๐ฆ','๐ฆง','๐ถ','๐','๐ฉ','๐บ','๐ฆ','๐ฆ','๐ฑ','๐','๐โโฌ','๐ฆ','๐ฏ','๐ ','๐','๐ด','๐','๐ฆ','๐ฆ','๐ฆ','๐ฆฌ','๐ฎ','๐','๐','๐','๐ท','๐','๐','๐','๐','๐','๐ช','๐ซ','๐ฆ','๐ฆ','๐','๐ฆฃ','๐ฆ','๐ฆ','๐ญ','๐','๐','๐น','๐ฐ','๐','๐ฟ๏ธ','๐ฆซ','๐ฆ','๐ฆ','๐ป','๐ปโโ๏ธ','๐จ','๐ผ','๐ฆฅ','๐ฆฆ','๐ฆจ','๐ฆ','๐ฆก','๐ฆ','๐','๐','๐ฃ','๐ค','๐ฅ','๐ฆ','๐ง','๐๏ธ','๐ฆ ','๐ฆ','๐ฆข','๐ฆ','๐ฆค','๐ฆฉ','๐ฆ','๐ฆ','๐ธ','๐','๐ข','๐ฆ','๐','๐ฒ','๐','๐ฆ','๐ฆ','๐ณ','๐','๐ฌ','๐ฆญ','๐','๐ ','๐ก','๐ฆ','๐','๐','๐ชธ','๐','๐ฆ','๐','๐','๐','๐ชฒ','๐','๐ฆ','๐ชณ','๐ท๏ธ','๐ฆ','๐ฆ','๐ชฐ','๐ชฑ','๐ฆ','๐ฆ','๐ฆ','๐ฆ'] | |
| console.log(`Good morning everyone ${e[Math.floor(Math.random()*e.length)]}`) |
This file contains hidden or 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 bash | |
| # You can craete a token from https://github.com/settings/tokens and give the | |
| # "repo" persmission to the token | |
| AUTH_TOKEN=$1 | |
| OWNERREPO=$2 | |
| if [[ "$#" -ne 2 ]]; then | |
| echo "Usage: $0 AUTH_TOKEN OWNER/REPO\n" | |
| exit 1 |