Instantly share code, notes, and snippets.
- Ho Chi Minh City, Viet Nam
- https://khoanguyen.me
| importnotifierQueuefrom"~/queues/notifier.server.ts"; | |
| exportconstloader=async()=>{ | |
| awaitnotifierQueue.add("test",{emailAddress:"mokhtar@remixtape.dev"}); | |
| returnnull; | |
| }; |
| // Available variables: | |
| // - Machine | |
| // - interpret | |
| // - assign | |
| // - send | |
| // - sendParent | |
| // - spawn | |
| // - raise | |
| // - actions |
| // Available variables: | |
| // - Machine | |
| // - interpret | |
| // - assign | |
| // - send | |
| // - sendParent | |
| // - spawn | |
| // - raise | |
| // - actions |
| PageModule.fetchModule("./MyComponent") | |
| |>Js.Promise.then_(m=> send(SetRootElement(m()))); |
No, seriously, don't. You're probably reading this because you've asked what VPN service to use, and this is the answer.
Note: The content in this post does not apply to using VPN for their intended purpose; that is, as a virtual private (internal) network. It only applies to using it as a glorified proxy, which is what every third-party "VPN provider" does.
(A Russian translation of this article can be foundhere, contributed by Timur Demin.)
Jake Archibald (@jaffathecake): The ServiceWorker is coming; look busy
https://speakerdeck.com/jaffathecake/the-serviceworker-is-coming-look-busyhttps://github.com/jakearchibald/trained-to-thrill/
https://www.youtube.com/watch?v=SmZ9XcTpMS4
Hunter Loftis (@hunterloftis): We Will All Be Game Progmrammers
http://wwabgp.herokuapp.com/s
http://youtu.be/QX0eauXBKwc
CarterRabasa (@carterrabasa): A Community of People; Not Projects
| varlevelup=require('level') | |
| varzlib=require('zlib') | |
| varfs=require('fs') | |
| varthrough=require('through') | |
| //hot backup | |
| db=levelup(...) | |
| varbackingup=false |
| functionconvertMS(ms){ | |
| vard,h,m,s; | |
| s=Math.floor(ms/1000); | |
| m=Math.floor(s/60); | |
| s=s%60; | |
| h=Math.floor(m/60); | |
| m=m%60; | |
| d=Math.floor(h/24); | |
| h=h%24; | |
| return{d:d,h:h,m:m,s:s}; |
| $categories = array( | |
| 'Xe' => array( | |
| 'Xe máy', | |
| 'Xe ô tô', | |
| ), | |
| 'Điện thoại, Viễn thông' => array( | |
| 'Điện thoại', | |
| 'Linh kiện, phụ kiện', | |
| ), | |
| ); |