This file contains hidden or 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
Show hidden characters
| { | |
| "translate_spaces_to_tabs": true, | |
| "translate_tabs_to_spaces": false, | |
| "use_tab_stops": true | |
| } |
This file contains hidden or 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
| [ | |
| { | |
| "keys" : ["cmd+>"], | |
| "command" : "nextBuildError" | |
| }, | |
| { | |
| "keys" : ["cmd+<"], | |
| "command" : "prevBuildError" | |
| }, |
This file contains hidden or 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
| { | |
| "always_show_minimap_viewport": true, | |
| "binary_file_patterns": | |
| [ | |
| "*.d.ts" | |
| ], | |
| "color_scheme": "Packages/Tomorrow Color Schemes/Tomorrow.tmTheme", | |
| "detect_indentation": false, | |
| "draw_minimap_border": true, | |
| "folder_exclude_patterns": |
This file contains hidden or 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
| #!/bin/bash -e | |
| echo ' | |
| PATH=$HOME/go/bin:$PATH | |
| export GOPATH=$HOME | |
| export CDPATH=.:$HOME/src/golang.org/x:$HOME/go/src:$HOME/src/github.com:$HOME/src/github.com/nf:$HOME/src/github.com/adg | |
| export EDITOR=vim | |
| ' >> ~/.profile | |
| sudo apt-get update |
This file contains hidden or 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
| #include <stdio.h> // for fprintf, stderr, perror | |
| #include <stdlib.h> // for exit() and EXIT_FAILURE | |
| #include <errno.h> // for errno | |
| #include <fts.h> // for fts | |
| int main(int argc, const char *argv[]) { | |
| char * const paths[] = {"/tmp", NULL}; | |
| FTS *tree = fts_open(paths, FTS_COMFOLLOW|FTS_NOCHDIR, NULL); | |
| if (!tree) { |
This file contains hidden or 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
| // | |
| // NSObject+Blocks.h | |
| // Filemator | |
| // | |
| // Created by Zachary Waldowski on 4/12/11. | |
| // Copyright 2011 Dizzy Technology. All rights reserved. | |
| // | |
| @interface NSObject (Blocks) |
This file contains hidden or 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
| @media screen { | |
| * { | |
| font-family: "Helvetica Neue"; | |
| font-weight: 500; | |
| } | |
| #inbox * { | |
| font-family: "Helvetica Neue"; | |
| font-size: 9pt; | |
| line-height:12pt; |
This file contains hidden or 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
| static int PKCS5_PBKDF2_HMAC(CCHmacAlgorithm algorithm, int digestLength, const char *pass, int passlen, | |
| const unsigned char *salt, int saltlen, int iter, | |
| int keylen, unsigned char *out) | |
| { | |
| unsigned char digtmp[digestLength], *p, itmp[4]; | |
| int cplen, j, k, tkeylen; | |
| unsigned long i = 1; | |
| CCHmacContext ctx; |
This file contains hidden or 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
| #!/bin/bash | |
| # | |
| # add to crontab | |
| # */5 * * * * /Users/YOURNAME/bin/wwdc >/dev/null | |
| # | |
| # URL="http://www.cnn.com" | |
| URL="http://developer.apple.com/wwdc/" |
This file contains hidden or 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
| #!/usr/bin/env ruby | |
| BETA_URL = "http://i.agilebits.com/dist/1P/mas/1PasswordBeta.app.zip" | |
| local_timestamp_filename = File.expand_path("~/.onepassword_beta_timestamp") | |
| last_modified_local = "" | |
| if File.exists?("/Applications/1PasswordBeta.app") | |
| File.open(local_timestamp_filename, "r") { |f| last_modified_local = f.read() } rescue nil | |
| end |