(C-x means ctrl+x, M-x means alt+x)
The default prefix is C-b. If you (or your muscle memory) prefer C-a, you need to add this to ~/.tmux.conf
:
#!/usr/bin/python | |
# fix-xcode | |
# Rob Napier <[email protected]> | |
# Script to link in all your old SDKs every time you upgrade Xcode | |
# Create a directory called /SDKs (or modify source_path). | |
# Under it, put all the platform directories: | |
# MacOSX.platform iPhoneOS.platform iPhoneSimulator.platform | |
# Under those, store the SDKs: |
########################################## | |
# | |
# c.f. http://stackoverflow.com/questions/3520977/build-fat-static-library-device-simulator-using-xcode-and-sdk-4 | |
# | |
# Version 2.82 | |
# | |
# Latest Change: | |
# - MORE tweaks to get the iOS 10+ and 9- working | |
# - Support iOS 10+ | |
# - Corrected typo for iOS 1-10+ (thanks @stuikomma) |
module Main where | |
import Control.Applicative ((<*>)) | |
import Data.Semigroup ((<>)) -- http://hackage.haskell.org/package/semigroups | |
import Data.Maybe (fromMaybe, listToMaybe, maybe) | |
import System.Environment (getArgs) | |
import Data.Lens.Partial.Common(getorPL, headLens) -- http://hackage.haskell.org/package/data-lens | |
fizzbuzz :: | |
Integral a => |
{ | |
"_links": { | |
"self": { | |
"href": "/v4/events/24057" | |
}, | |
"http://hautelook.com/rels/catalog": { | |
"href": "/v4/events/24057/catalog" | |
}, | |
"http://hautelook.com/rels/availability": { | |
"href": "/v4/events/24057/availability" |
import scala.language.experimental.macros | |
import scala.reflect.macros.Context | |
import shapeless._ | |
object NatExample { | |
def toNat(n: Int): Any = macro toNat_impl | |
def toNat_impl(c: Context)(n: c.Expr[Int]) = { | |
import c.universe._ |
Welcome to Scala version 2.10.2 (Java HotSpot(TM) 64-Bit Server VM, Java 1.7.0_21). | |
Type in expressions to have them evaluated. | |
Type :help for more information. | |
scala> class Prefix { class Dep { type P = Prefix.this.type } } | |
defined class Prefix | |
scala> val (p1, p2) = (new Prefix, new Prefix) | |
p1: Prefix = Prefix@2212c414 | |
p2: Prefix = Prefix@7e070e85 |
HauteLook is seeking a Lead Software Engineer with eCommerce experience for a small, cross functional team. The Lead Software Engineer is focused on implementing the technical road map for their designated team. They own the technical implementation process and ensure that best practices and solid engineering principles are being upheld. Equally important, they have a good attitude and energy that empowers the team.
static BOOL PSPDFIsDevelopmentBuild(void) { | |
#if TARGET_IPHONE_SIMULATOR | |
return YES; | |
#else | |
static BOOL isDevelopment = NO; | |
static dispatch_once_t onceToken; | |
dispatch_once(&onceToken, ^{ | |
// There is no provisioning profile in AppStore Apps. | |
NSData *data = [NSData dataWithContentsOfFile:[NSBundle.mainBundle pathForResource:@"embedded" ofType:@"mobileprovision"]]; | |
if (data) { |