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
// | |
// NFViewController.m | |
// TextFieldTest | |
// | |
// Created by Florian Sey on 06/02/14. | |
// Copyright (c) 2014 NeoFacto. All rights reserved. | |
// | |
#import "NFViewController.h" |
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
Pod::Spec.new do |s| | |
s.name = 'JKBigInteger' | |
s.version = '1.0.0' | |
s.license = 'MIT' | |
s.homepage = 'https://github.com/kirsteins/JKBigInteger' | |
s.author = 'Jānis Kiršteins' | |
s.summary = 'JKBigInteger is a small library to facilitate easy working with big integers in Objective-C.' | |
s.source = { :git => 'https://github.com/kirsteins/JKBigInteger.git', :commit => '8eed2d1ba60f38933678c2363d2ae294c4a38c83' } | |
s.source_files = 'JKBigInteger/**/*.{c,h,m}' | |
s.requires_arc = true |
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
# TODO JSONKit does *not* support GC, we need to specify that. | |
Pod::Spec.new do |s| | |
s.name = 'SVGKit' | |
s.version = '1.1.0' | |
s.summary = '.' | |
s.homepage = 'https://github.com/SVGKit/SVGKit' | |
s.author = 'adamgit' | |
s.source = { :git => 'https://github.com/SVGKit/SVGKit.git', :commit => 'f1eabd1861642362a705eb2a646c74c52eb893ea' } |
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
function debug() { | |
"use strict"; | |
var errorsCode = [ | |
{ 'FileError.NOT_FOUND_ERR': FileError.NOT_FOUND_ERR }, | |
{ 'FileError.SECURITY_ERR': FileError.SECURITY_ERR }, | |
{ 'FileError.ABORT_ERR': FileError.ABORT_ERR }, | |
{ 'FileError.NOT_READABLE_ERR': FileError.NOT_READABLE_ERR }, | |
{ 'FileError.ENCODING_ERR': FileError.ENCODING_ERR }, | |
{ 'FileError.NO_MODIFICATION_ALLOWED_ERR': FileError.NO_MODIFICATION_ALLOWED_ERR }, | |
{ 'FileError.INVALID_STATE_ERR': FileError.INVALID_STATE_ERR }, |
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
lsof -n -i4TCP:9000 | grep LISTEN |
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
+ (NSString *)getUUID | |
{ | |
NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults]; | |
if ([defaults stringForKey:@"UUID"]) | |
{ | |
return [defaults stringForKey:@"UUID"]; | |
} | |
else | |
{ | |
CFUUIDRef theUUID = CFUUIDCreate(NULL); |
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
+ (instancetype)shared | |
{ | |
static id shared; | |
static dispatch_once_t token; | |
dispatch_once(&token, ^{ | |
shared = [[self alloc] init]; | |
}); | |
return shared; | |
} |
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
/usr/bin/afconvert -f caff -d LEI16 {INPUT} {OUTPUT} |
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
xmllint --format xml_file.xml |
NewerOlder