I hereby claim:
- I am smusamashah on github.
- I am smusamashah (https://keybase.io/smusamashah) on keybase.
- I have a public key whose fingerprint is B0C2 41BC 9CF6 16CE 8A6F 78AC A017 A67C 6750 F6E9
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| setTimeout.dt = 0; | |
| function selfAdjustingTimeout(callback, timeout, args) { | |
| setTimeout.et = (new Date).getTime() + timeout; | |
| let cb = () => { | |
| setTimeout.dt = (new Date).getTime() - setTimeout.et; | |
| callback(); | |
| }; | |
| setTimeout(cb, timeout - setTimeout.dt, args); | |
| } |
These libraries can be used to quickly create a GUI for configureable parameters using sliders, checkboxes, colors pickers etc
Two pane browser based editor with extensions for all needs - https://stackedit.io/
HTML to Markdown - https://github.com/leeoniya/reMarked.js
Markdown to slides
Markdown to diagrams
| ## Knowledge DBs | |
| - http://www.yacoset.com/ | |
| - https://programming-idioms.org/ | |
| - http://lambda-the-ultimate.org/ | |
| - http://www.linfo.org/ | |
| - https://programmingisterrible.com/ | |
| - http://blog.cleancoder.com - Uncle Bob Martin | |
| ## Articles |
https://thebookofshaders.com/ is the best one.
| // open https://www.epicgames.com/store/en-US/browse?pageSize=1000 | |
| // paste in console and run | |
| function filterEpicGames(min = 0, max = 15) { | |
| let games = document.querySelectorAll("#dieselReactWrapper > div > div[class*='AppPage__bodyContainer'] > main > div > div > div > div > div > section > div > div > div > section > div > section > section > ul > li > a > div > div > div[class*='OfferCard__meta']"); | |
| let c = 1; | |
| for (let i = 0; i < games.length; i++) { | |
| let name = games[i].firstChild.innerText; | |
| let priceText = (games[i].lastChild.lastChild.lastChild ? games[i].lastChild.lastChild.lastChild.lastChild.nodeValue : games[i].lastChild.lastChild.nodeValue); | |
| let price = 0; |