Updated this for the first time in awhile in late 2020.
- Enable iCloud
- Disable iCloud mail
- Display to medium
- Turn up trackpad speed
/* | |
Copyright (c) 2009 Remy Demarest | |
Permission is hereby granted, free of charge, to any person | |
obtaining a copy of this software and associated documentation | |
files (the "Software"), to deal in the Software without | |
restriction, including without limitation the rights to use, | |
copy, modify, merge, publish, distribute, sublicense, and/or sell | |
copies of the Software, and to permit persons to whom the | |
Software is furnished to do so, subject to the following |
@try | |
{ | |
id textView = [mailComposeViewController valueForKeyPath:@"internal.mailComposeView.textView"]; | |
if ([textView respondsToSelector:@selector(becomeFirstResponder)]) | |
[textView becomeFirstResponder]; | |
} | |
@catch (NSException *e) {} |
// | |
// AssertEventually.h | |
// LRResty | |
// | |
// Created by Luke Redpath on 03/08/2010. | |
// Copyright 2010 LJR Software Limited. All rights reserved. | |
// | |
#import <Foundation/Foundation.h> | |
#import "HCMatcher.h" |
var path = "/Users/jsb/Desktop/LayerTest"; | |
var filename = "jefftest.acorn"; | |
var acorn = JSTalk.application("Acorn"); | |
var doc = acorn.open(path + "/" + filename); | |
var count = doc.layers().count(); | |
for (i = 0; i < count; i++) | |
{ |
activerehashing yes | |
appendfsync everysec | |
appendonly no | |
bind 0.0.0.0 | |
daemonize yes | |
databases 1 | |
dbfilename dump_1.rdb | |
dir /var/redis/ | |
glueoutputbuf yes | |
hash-max-zipmap-entries 512 |
// check that popover won't try to move off-screen; dismiss if so | |
// | |
CGFloat pX = newAttachPoint.x; | |
CGFloat pY = newAttachPoint.y; | |
CGFloat pWidth = balloon.popoverContentSize.width; | |
CGFloat pHeight = balloon.popoverContentSize.height; | |
CGFloat mWidth = map.bounds.size.width; | |
CGFloat mHeight = map.bounds.size.height; | |
UIPopoverArrowDirection d = balloon.popoverArrowDirection; |
a list of slides from nodeconf
you may want to take a look at the jsconf-gist too!
/* | |
Licensed under the MIT License | |
Copyright (c) 2011 Cédric Luthi | |
Permission is hereby granted, free of charge, to any person obtaining a copy | |
of this software and associated documentation files (the "Software"), to deal | |
in the Software without restriction, including without limitation the rights | |
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
copies of the Software, and to permit persons to whom the Software is |
#!/bin/bash | |
BUILD_VER=$(/usr/bin/defaults read ${CODESIGNING_FOLDER_PATH}/Info CFBundleVersion) | |
BUILD_APPNAME=$(/usr/bin/defaults read ${CODESIGNING_FOLDER_PATH}/Info CFBundleDisplayName) | |
if [ "$CONFIGURATION" == "Debug" ]; then | |
echo leaving Settings.bundle in place. | |
/usr/bin/defaults write ${CODESIGNING_FOLDER_PATH}/Info CFBundleDisplayName "WM ß - $BUILD_VER" | |
else | |
rm -rf ${CODESIGNING_FOLDER_PATH}/Settings.bundle |