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
.social-count, | |
.stars, | |
strong.vcard-stat-count { | |
display: none !important; | |
} |
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
gyp info it worked if it ends with ok | |
gyp info using [email protected] | |
gyp info using [email protected] | linux | x64 | |
gyp info spawn /usr/bin/python2 | |
gyp info spawn args [ '/usr/local/lib/node_modules/node-gyp/gyp/gyp_main.py', | |
gyp info spawn args 'binding.gyp', | |
gyp info spawn args '-f', | |
gyp info spawn args 'make', | |
gyp info spawn args '-I', | |
gyp info spawn args '/package-builder/build/config.gypi', |
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
(* | |
OmniFocus Selected Mail Messages.applescript | |
Copyright (c) 2015 Jonathan 'Wolf' Rentzsch: http://rentzsch.com | |
Some rights reserved: http://opensource.org/licenses/mit | |
Pure AppleScript reimplementation of OmniGroup's Clip-o-Tron for OmniFocus. | |
Hopefully this implementation will be more resilient against OS X, Mail, and OmniFocus updates. | |
Successfully tested against OS X 10.10.1, OmniFocus 1.10.6, and OmniFocus 2.0.4. |
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
#if 1 | |
- (id)retain { | |
NSUInteger oldRetainCount = [super retainCount]; | |
id result = [super retain]; | |
NSUInteger newRetainCount = [super retainCount]; | |
printf("%s<%p> ++retainCount: %lu => %lu\n", [[self className] UTF8String], self, oldRetainCount, newRetainCount); | |
printf("%s\n", [[[NSThread callStackSymbols] description] UTF8String]); | |
return result; | |
} |
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
Sampling process 15358 for 3 seconds with 1 millisecond of run time between samples | |
Sampling completed, processing symbols... | |
Analysis of sampling Deckset (pid 15358) every 1 millisecond | |
Process: Deckset [15358] | |
Path: /Applications/Deckset.app/Contents/MacOS/Deckset | |
Load Address: 0x10056c000 | |
Identifier: com.unsignedinteger.Deckset | |
Version: 1.0 (1) | |
Code Type: X86-64 | |
Parent Process: launchd [150] |
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
#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 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
Last login: Tue Jul 9 00:48:28 on ttys004 | |
wolf-air1:~ wolf$ mkdir _gitspike2 | |
wolf-air1:~ wolf$ cd _gitspike2 | |
wolf-air1:_gitspike2 wolf$ date > dates.txt | |
wolf-air1:_gitspike2 wolf$ gti init | |
Initialized empty Git repository in /Users/wolf/_gitspike2/.git/ | |
wolf-air1:_gitspike2 wolf$ git add . | |
wolf-air1:_gitspike2 wolf$ gti ci -m "initial commit" | |
[master (root-commit) 005ff52] initial commit | |
1 file changed, 1 insertion(+) |
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
@interface Person : NSObject | |
@property(strong) NSString *firstName; | |
@property(strong) NSString *lastName; | |
- (NSString*)fullName; | |
@end | |
@implementation Person | |
- (NSString*)fullName { |
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
require 'pp' | |
SEPS = Regexp.union(*[::File::SEPARATOR, ::File::ALT_SEPARATOR].compact) | |
def inspectPath(path_info) | |
parts = path_info.split SEPS | |
parts.inject(0) do |depth, part| | |
case part | |
when '', '.' | |
depth |
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
"<!DOCTYPE html>" | |
"<html>" | |
"<head>" | |
" <meta charset=\"utf-8\" />" | |
" <style>" | |
" * {" | |
" margin:0;" | |
" padding:0;" | |
" }" | |
" </style>" |
NewerOlder