rvm implode
You should have something like this left from RVM. Delete it from the file. ``[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm"```
| # Version key/value should be on his own line | |
| PACKAGE_VERSION=$(cat package.json \ | |
| | grep version \ | |
| | head -1 \ | |
| | awk -F: '{ print $2 }' \ | |
| | sed 's/[",]//g') | |
| echo $PACKAGE_VERSION |
| export default class RequestQuene { | |
| constructor(limits = 10, duration = 200) { | |
| this.duration = duration | |
| this.limits = limits | |
| this.q = [] | |
| this.intervalId = null | |
| this.intervalDuration = duration | |
| this.numOfRunning = 0 | |
| } |
| git shortlog -e -s -n |
| //**dataURL to blob** | |
| function dataURLtoBlob(dataurl) { | |
| var arr = dataurl.split(','), mime = arr[0].match(/:(.*?);/)[1], | |
| bstr = atob(arr[1]), n = bstr.length, u8arr = new Uint8Array(n); | |
| while(n--){ | |
| u8arr[n] = bstr.charCodeAt(n); | |
| } | |
| return new Blob([u8arr], {type:mime}); | |
| } |
| theme | progresss | controls | slideNumber | overview | loop | history |
|---|---|---|---|---|---|---|
white |
true |
true |
false |
true |
true |
true |
| // The polling function | |
| function poll(fn, timeout, interval) { | |
| var endTime = Number(new Date()) + (timeout || 2000); | |
| interval = interval || 100; | |
| var checkCondition = function(resolve, reject) { | |
| var ajax = fn(); | |
| // dive into the ajax promise | |
| ajax.then( function(response){ | |
| // If the condition is met, we're done! |
| const pattern = /^[1-9]\d{0,4}(\.\d{0,2})?$|^0(\.\d{0,2})?$/; |
| { | |
| "arrowParens": "avoid", | |
| "bracketSpacing": true, | |
| "jsxBracketSameLine": false, | |
| "printWidth": 100, | |
| "proseWrap": "preserve", |