brew
mysql
node
rvm
body { | |
font-family: Helvetica, arial, freesans, clean, sans-serif; | |
font-size: 15px; | |
line-height: 1.7; | |
padding-top: 10px; | |
padding-bottom: 10px; | |
background-color: white; | |
padding: 30px; } | |
body > *:first-child { |
KEYWORDS="TODO:|FIXME:|\?\?\?:|\!\!\!:" | |
find "${SRCROOT}" -ipath "${SRCROOT}/pods" -prune -o \( -name "*.h" -or -name "*.m" \) -print0 | xargs -0 egrep --with-filename --line-number --only-matching "($KEYWORDS).*\$" | perl -p -e "s/($KEYWORDS)/ warning: \$1/" |
<key>SignerIdentity</key> | |
<string>Apple iPhone OS Application Signing</string> |
- (void)layoutSubviews { | |
[super layoutSubviews]; | |
// center the image as it becomes smaller than the size of the screen | |
CGSize boundsSize = self.bounds.size; | |
CGRect frameToCenter = self.imageView.frame; | |
// center horizontally | |
if (frameToCenter.size.width < boundsSize.width) { | |
frameToCenter.origin.x = (boundsSize.width - frameToCenter.size.width) / 2; | |
} else { | |
frameToCenter.origin.x = 0; |
for f in "$@" | |
do | |
filename="${f%.*}" | |
plutil -convert xml1 "$filename".json -o "$filename".plist | |
done |
code, tt { | |
margin: 0 2px; | |
padding: 0 5px; | |
white-space: nowrap; | |
border: 1px solid #eaeaea; | |
background-color: #f8f8f8; | |
border-radius: 3px; | |
} | |
pre code { |
#! /usr/bin/ruby | |
# | |
# This script helps us make doxygen comments in obj-c files in Xcode | |
# | |
# Created by Fred McCann on 03/16/2010. | |
# http://www.duckrowing.com | |
# | |
module Duckrowing |
- (void)method:(id)obj1,... | |
{ | |
va_list args; | |
void *arg; | |
va_start(args,obj1); | |
while((arg = va_arg(args, void *))) | |
{ | |
// Now you can use arg. This will only work when all arguments are objects. |