I hereby claim:
- I am ndizazzo on github.
- I am ndizazzo (https://keybase.io/ndizazzo) on keybase.
- I have a public key ASDCyS-wZ-4H_Q1nFJn37jV_ftVauoBtI9vjRT-VcJWfrwo
To claim this, I am signing this object:
| routes = Rails.application.routes.routes.map { |route| route.path.spec.to_s }.each { |r| r.replace(r.match(/^\/(\w+)/).to_s).tr!('/', '') }.delete_if(&:empty?).uniq! |
| PROJ_PREFIX='*-ios' | |
| function projroot() | |
| { | |
| while [[ $PWD != '/' && ${PWD##*/} != $PROJ_PREFIX ]]; do cd ..; done | |
| } | |
| projroot | |
| if test $(grep -R "self.recordMode = true" ./*SnapshotTests | wc -c) != 0 ; then | |
| echo "You have left record mode on in this commit!" |
| Verifying my Blockstack ID is secured with the address 1E5xo8qHgzVzmw8SKLYgW1w76cy3MAwnVP https://explorer.blockstack.org/address/1E5xo8qHgzVzmw8SKLYgW1w76cy3MAwnVP |
I hereby claim:
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| // Original obtained from: https://stackoverflow.com/a/44697868 | |
| // Modified to avoid force casts + use Swift 4.2 features | |
| internal final class MulticastDelegate <T> { | |
| private let delegates: NSHashTable<AnyObject> = NSHashTable.weakObjects() | |
| func add(delegate: T) { | |
| delegates.add(delegate as AnyObject) | |
| } | |