Inspired by dannyfritz/commit-message-emoji
See also gitmoji.
| Commit type | Emoji |
|---|---|
| Initial commit | 🎉 :tada: |
| Version tag | 🔖 :bookmark: |
| New feature | ✨ :sparkles: |
| Bugfix | 🐛 :bug: |
| /** | |
| * Implements an operation to fetch the data as described in https://twitter.com/BenLesh/status/1455597411385098242 | |
| * The "winner" is unambiguous. It is the request corresponding to the latest click, guaranteed. | |
| * Other important things to note: | |
| * | |
| * 1. The HTTP request is cancelled every time along with its containing task | |
| * 2. click listener is removed automatically at the end of the `clickToLoad` operation | |
| * 3. The cancellation logic is explicit here to demonstrate the concept, but it can easily be abstracted into a separate | |
| *. function. See the `click-to-load-HOF` example below | |
| */ |
| /** | |
| * There's some pretty awesome low-level composition that you can do with async functions: | |
| * Check out funcadelic! https://github.com/cowboyd/funcadelic.js | |
| */ | |
| import { Functor, Semigroup, Monoid } from 'funcadelic'; | |
| const AsyncFunction = (async function() {}).constructor; | |
| /** | |
| * It's a Functor! |
| function isGenerator(x) { | |
| return x != null && typeof x.next === "function" | |
| } | |
| function isFrame(x) { | |
| return x != null && x._type_ === 'call_frame' | |
| } | |
| function call(genFunc, ...args) { |
| joined #topic-forms, and invited @machty | |
| locks [11:05 AM] | |
| thar you go | |
| machty [11:06 AM] | |
| thank you! | |
| [11:07] | |
| @samselikoff @cowboyd |
Inspired by dannyfritz/commit-message-emoji
See also gitmoji.
| Commit type | Emoji |
|---|---|
| Initial commit | 🎉 :tada: |
| Version tag | 🔖 :bookmark: |
| New feature | ✨ :sparkles: |
| Bugfix | 🐛 :bug: |
| 5 min: | |
| ~ Objective-C + Rails: Communicating with Rails from iOS / Mac OS | |
| Dan Hassin | |
| 1 min: | |
| ~ Painless Javascript | |
| koting hatduklgg | |
| with wind tunnel | |
| 5 min: |
| sudo launchctl unload /System/Library/LaunchDaemons/com.apple.racoon.plist | |
| sudo launchctl load /System/Library/LaunchDaemons/com.apple.racoon.plist |
| #! /usr/bin/env ruby | |
| status = DATA.flock(File::LOCK_EX | File::LOCK_NB) | |
| if status == 0 | |
| puts "we have the lock..." | |
| sleep | |
| else |