#Every Single Option Under The Sun
- optimization level options
- automatic crashing options
- debug info options
- swift internal options
- swift debug/development internal options
- linker-specific options
- mode options
| # Tested on OSX Yosemite 10.10.4 | |
| # there is also an updated version (work in progress) for El Capitan here https://gist.github.com/guycalledseven/31ffe35eca056838b06b | |
| # XXX TODO | |
| # should I disable com.google.Keystone.Agent ?? | |
| # http://applehelpwriter.com/2014/07/13/how-to-remove-googles-secret-update-software-from-your-mac/ | |
| # Stop DS_Store file creation on network connections | |
| # restart Finder afterwards |
#Every Single Option Under The Sun
1Password 5.3 for OSX, 5.2 for iOS, and 4.1.0.538 for Windows support OTP. I've been using Authy for a while now, but the fact is, I haven't really been using 2FA for some time. As mentioned by 1Password in a recent blog post, having the OTP generator and password on the same device is very much not 2FA. It's just an expiring OTP, which can help, but let's not kid ourselves too much.
With that out of the way. One of the things that was interesting to me was moving my OTP out of Authy and into 1Password. I like the control I get with 1Password, but I didn't want to have to reset all my OTP right away, that would suck. So, I got to dissecting the Authy Chrome App to see what I could do.
Run the Authy Chrome app and make sure it's unlocked.
Now, enable Developer mode in Chrome. We'll need this to inspect the background application that stores al
| /* | |
| For this Gist, we have two sides: sender and receiver. The same user can be a sender and a receiver, but I will separate this | |
| two roles to be more clear. | |
| This gist assumes thatyou already have a MCSession created, and the peers are connected, | |
| */ | |
| /** | |
| * This software is in the public domain. Where that dedication is not recognized, | |
| * you are granted a perpetual, irrevokable license to copy and modify this file | |
| * as you see fit. | |
| * | |
| * Requires SDL 2.0.4. | |
| * Devices that do not support Metal are not handled currently. | |
| **/ | |
| #import <UIKit/UIKit.h> |
| /* | |
| var t = Timer() | |
| t.start() | |
| // do something | |
| t.stop() | |
| print("took \(t.seconds)") | |
| */ |
Please consider using http://lygia.xyz instead of copy/pasting this functions. It expand suport for voronoi, voronoise, fbm, noise, worley, noise, derivatives and much more, through simple file dependencies. Take a look to https://github.com/patriciogonzalezvivo/lygia/tree/main/generative
float rand(float n){return fract(sin(n) * 43758.5453123);}
float noise(float p){
float fl = floor(p);
float fc = fract(p);
| #!/bin/bash | |
| # set disk size for 512 MB | |
| disksize=$((512*(512*4))) | |
| # mounting DerivedData virtual disk | |
| disknum=$(hdid -nomount ram://$disksize | tr -cd '[0-9]') | |
| newfs_hfs -v DerivedData /dev/rdisk$disknum | |
| diskutil mount -mountPoint ~/Library/Developer/Xcode/DerivedData /dev/disk$disknum |
| #!/bin/bash | |
| # by Andreas Monitzer (@anlumo1) and Pepi Zawodsky (@MacLemon) | |
| # | |
| # This script published under WTF license | |
| # http://en.wikipedia.org/wiki/WTFPL | |
| # Improvements to this script are welcome though. | |
| # Augments the Info.plist with a lot of nice stuff. | |
| # It's suggested to call this script from a "run script" build phase, not copy the script's contents there. |
| { | |
| /* ~/Library/KeyBindings/DefaultKeyBinding.dict | |
| See https://gist.github.com/zsimic/1367779, prefix cheatsheet: | |
| Char Short Key | |
| $ S- Shift ⇧ | |
| ^ C- CTRL ⌃ | |
| ~ O- Option ⌥ (⊞ Win key position on PC) | |
| @ M- Command ⌘ (Alt position on PC) | |
| # Numeric Keypad |