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 "NSDate+FastParse.h" | |
#import <Foundation/Foundation.h> | |
#import "sqlite3.h" | |
typedef int64_t timestamp; | |
NSUInteger randomNumberInRange(NSUInteger start, NSUInteger end); | |
// Create a sample date using the ISO-8601 format. | |
// 2013-04-23T16:29:05Z |
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
// | |
// NSDate+FastParse.m | |
// | |
// Created by Manu Wallner on 02.08.13. | |
// Copyright (c) 2013 XForge Software Development. All rights reserved. | |
// | |
#import "NSDate+FastParse.h" | |
typedef struct date_time { |
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
update_fastlane | |
fastlane_version "1.57.0" | |
before_all do | |
ensure_git_status_clean | |
end | |
lane :build do |p| | |
ensure_docker_machine_available |
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 'base64' | |
require 'digest' | |
require 'mail' | |
require 'nokogiri' | |
require 'shellwords' | |
file = ARGV.first | |
puts "Processing file #{file}" | |
contents = File.read(file) |
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
// For use in a playground | |
import UIKit | |
import XCPlayground | |
// Needed because dispatch/subscribe uses GCD for thread-safety, so everything is done in a background queue | |
XCPlaygroundPage.currentPage.needsIndefiniteExecution = true | |
struct CookieJar { | |
let numberOfCookies : UInt |
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
# Use powerline as bottom bar: https://powerline.readthedocs.io/en/master/installation.html#pip-installation | |
run-shell "powerline-daemon -q" | |
source "/usr/local/lib/python3.6/site-packages/powerline/bindings/tmux/powerline.conf" | |
# reattach-to-user-namespace is necessary for iOS simulator and pbcopy/pbpaste to work from tmux | |
# also configures tmux to use fish shell | |
set-option -g default-command 'reattach-to-user-namespace -l fish' | |
# Enable TrueColor support | |
set-option -ga terminal-overrides ",xterm-256color:Tc" |