Moved to a proper Git repository.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE | |
Version 2, December 2004 | |
Copyright (C) 2011 Mathieu 'p01' Henri - http://www.p01.org/releases/ | |
Everyone is permitted to copy and distribute verbatim or modified | |
copies of this license document, and changing it is allowed as long | |
as the name is changed. | |
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#import "CCMKeychainHelper.h" | |
@implementation CCMKeychainHelper | |
+ (BOOL)setPassword:(NSString *)password forURLString:(NSString *)aString error:(NSError **)errorPtr | |
{ | |
return [self setPassword:password forURL:[NSURL URLWithString:aString] error:errorPtr]; | |
} | |
+ (BOOL)setPassword:(NSString *)password forURL:(NSURL *)aURL error:(NSError **)errorPtr |
When watching David Nolen's excellent Lambda Jam keynote on InfoQ, the references to interesting reading came a little too fast and furious for me to jot down, so I went through the slides and put this gist together.
- The Dream Machine: J.C.R. Licklider and the Revolution That Made Computing Personal - M. Mitchell Waldrop
- Purely Functional Data Structures - Chris Okasaki
- Ideal Hash Trees - Phil Bagwell
- RRB-Trees: Efficient Immutable Vectors - Phil Bagwell, Tiark Rompf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* LightTable themes are just CSS. LightTable, CodeMirror, and plugins apply | |
classes to tokens within the text. Most of these classes are undocumented. I | |
had to go fishing with the dev inspector and apply brightly colored rules to | |
figure it out. Hopefully I can save you the trouble by documenting the default | |
theme. Please comment if you find any errors or omissions. */ | |
/* These #multi rules apply to tabsets. Active means currently selected and dirty | |
means that the file has been edited since the last save. */ | |
#multi.theme-default .tabset .list .active { color:var(placeholder-fg); } | |
#multi.theme-default .tabset.active .list .active { color:var(highlight-fg); } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pub fn ParkingLot(comptime Config: type) type { | |
return struct { | |
pub const Lock: type = Config.Lock; | |
pub const Event: type = Config.Event; | |
pub const nanotime: fn() u64 = switch (@hasDecl(Config, "nanotime")) { | |
true => Config.nanotime, |
Ok, so you've had nix (home-manager) working fine. Then Apple tells you it's time to update.
Ok. Reboot. Oops. It has now broken your Nix setup. Here's some stuff to work through. YMMV.
Note: This is what worked for me, who was just using nix + home-manager. The upgrade that I last did that caused all these issues was 12.3.X > 12.4