- Save
Tests.scpt
to the folder~/.Xcode/
- Open the folder
~/.Xcode/
inTerminal.app
- Perform the command
chmod +x ./Tests.scpt
inTerminal.app
- Open
Xcode ➭ Behaviors ➭ Testing Succeeds
- Choose
~/.Xcode/Tests.scpt
in the Run popup - Open
Xcode ➭ Behaviors ➭ Testing Fails
and repeat
View Instructions.md
View NSString+XML.h
// | |
// NSString+XML.h | |
// Customizable string XML parser for NSString, NSMutableString, NSAttributedString, and NSMutableAttributedString. | |
// | |
// Created by Shilo White on 8/31/13. | |
// Copyright (c) 2013 XIDA Design & Technik. All rights reserved. | |
// | |
#import <Foundation/Foundation.h> |
View Perfect_Convo_With_Boss.txt
Shilo: Benjamin! Benjamin! Benjamin! Benjamin! Benjamin! Benjamin! Boss! Boss! Boss! Leader! Leader! Leader! Master! Master! Master! Ben! | |
Ben! Ben! Ben! Benni! Benni! Benni! Benni! Benji! Benji! Benj! Benj! Benj! | |
Benjamin: What!? | |
Shilo: Hi! (Giggling and running out of the room) | |
https://www.youtube.com/watch?v=aOLxQGLJouI |
View gist:e470c28b24127f78795f
create dummy images | |
curl -L "http://dummyimage.com/600x400/000/fff&text=DummyImage%20[01-10]" -o image_#1.png | |
get page headers | |
curl --head http://google.com | |
send parameters to page | |
curl.exe -L -G "http://yoururl.com" --data-urlencode "text=DESIGN6 daily backup started" | |
send formdata & files to page |
View defaults.sh
//Disable app nap system-wide (Requires Restart) | |
defaults write NSGlobalDomain NSAppSleepDisabled -bool YES | |
//Finder show hidden files | |
defaults write com.apple.finder AppleShowAllFiles YES; killall Finder | |
//Desktop hide icons | |
defaults write com.apple.finder CreateDesktop false; killall Finder | |
//TextEdit open new document by default (Requires restart of TextEdit) |
View filename_append_2x.sh
for file in *; do mv "$file" "${file%.*}@2x.${file##*.}"; done |
View LICENSE
Copyright (c) 2013 Jamz Tang <jamz@jamztang.com> | |
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 conditions: | |
The above copyright notice and this permission notice shall be included in all |
View remove_svn_dirs.sh
rm -rf `find . -type d -name .svn` |
View svn_ignore.sh
svn propset svn:ignore -RF .gitignore . |
OlderNewer