I hereby claim:
- I am swissmanu on github.
- I am alabor (https://keybase.io/alabor) on keybase.
- I have a public key whose fingerprint is A212 B280 96E1 A486 30FD 88F3 9BEB FCA1 04E4 AEA3
To claim this, I am signing this object:
- (void) loadCustomFont:(NSString*)fontFileName ofType:(NSString*)extension bundle:(NSBundle*)bundle { | |
NSString *fontPath = [bundle pathForResource:fontFileName ofType:extension]; | |
NSData *inData = [NSData dataWithContentsOfFile:fontPath]; | |
CFErrorRef error; | |
CGDataProviderRef provider = CGDataProviderCreateWithCFData((__bridge CFDataRef)inData); | |
CGFontRef font = CGFontCreateWithDataProvider(provider); | |
if (!CTFontManagerRegisterGraphicsFont(font, &error)) { | |
CFStringRef errorDescription = CFErrorCopyDescription(error); | |
NSLog(@"Failed to load font: %@", errorDescription); |
require '/Applications/Zephyros.app/Contents/Resources/libs/zephyros.rb' | |
require 'time' | |
@last_time = Time.now - 10 | |
@times = 0 | |
## | |
# Simply returns a Proc instance with the passed block. | |
def command | |
Proc.new |
// ---- | |
// Sass (v3.3.8) | |
// Compass (v1.0.0.alpha.19) | |
// ---- | |
div { | |
$myColor: red; | |
color: transparentize($myColor, 0.5); | |
} |
// ==UserScript== | |
// @name Stash: PR Overview Build Status | |
// @namespace me.alabor | |
// @include https://mystash/projects/PROJECT/repos/REPOSITORY/pull-requests | |
// @include https://mystash/projects/PROJECT/repos/REPOSITORY/pull-requests?state=open | |
// @version 1 | |
// @grant none | |
// @require http://code.jquery.com/jquery-1.11.2.min.js | |
// ==/UserScript== | |
// ==UserScript== | |
// @name Stash: Order PR's | |
// @namespace me.alabor | |
// @include https://mystash/stash/projects/PROJECT/repos/REPOSITORY/pull-requests | |
// @include https://mystash/stash/projects/PROJECT/repos/REPOSITORY/pull-requests?state=open | |
// @version 1 | |
// @grant none | |
// @require http://code.jquery.com/jquery-1.11.2.min.js | |
// ==/UserScript== | |
#!/bin/bash | |
# | |
# by Manuel Alabor <manuel@alabor.me> | |
# https://github.com/swissmanu | |
# | |
SCRIPT_NAME=`basename $0` | |
VERSION="0.0.1" | |
print_help() |
/** | |
* An ESLint formatter which shows only errors. Warnings are displayed only in form of an aggregated | |
* total number. | |
* | |
* Example Output: Only Warnings: | |
* | |
* > | |
* > ✖ 98 problems (0 errors, 98 warnings) | |
* > | |
* |
I hereby claim:
To claim this, I am signing this object:
#!/bin/sh | |
BOLD=$(tput BOLD) | |
NORMAL=$(tput sgr0) | |
RED='\033[0;31m' | |
LOCAL_SETTINGS_BASE=~/Library/Application\ Support/Code | |
LOCAL_SETTINGS="${LOCAL_SETTINGS_BASE}/User" | |
REMOTE_SETTINGS=~/Google\ Drive/App\ Sync/vscode/Settings |
// precondition: xs is always an array | |
function head(xs) { | |
if (xs.length === 0) return null | |
return xs[0] | |
} | |
function tail(xs) { | |
return xs.slice(1) | |
} |