- Email: [email protected]
- Twitter: @example
- Website or Blog: http://example.com
- Company: Example Ltd.
This file contains hidden or 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
| AutomationBugRepro2 $ xcodebuild -sdk iphonesimulator6.0 clean build CONFIGURATION_BUILD_DIR=/tmp/AutomationBugRepro | |
| Build settings from command line: | |
| CONFIGURATION_BUILD_DIR = /tmp/AutomationBugRepro | |
| SDKROOT = iphonesimulator6.0 | |
| === CLEAN NATIVE TARGET AutomationBugRepro2 OF PROJECT AutomationBugRepro2 WITH THE DEFAULT CONFIGURATION (Release) === | |
| Check dependencies | |
| Clean.Remove clean /var/folders/s0/gdl8b96x58z1yyfdq9nw52n80000gn/C/com.apple.Xcode.501/SharedPrecompiledHeaders/AutomationBugRepro2-Prefix-eixjzcivjkzfznebbbrrtbciywri/AutomationBugRepro2-Prefix.pch.pth | |
| builtin-rm -rf /var/folders/s0/gdl8b96x58z1yyfdq9nw52n80000gn/C/com.apple.Xcode.501/SharedPrecompiledHeaders/AutomationBugRepro2-Prefix-eixjzcivjkzfznebbbrrtbciywri/AutomationBugRepro2-Prefix.pch.pth |
This file contains hidden or 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
| $ ./run_automation.sh | |
| Make sure you are using Xcode 4.3.3 | |
| Build settings from command line: | |
| CONFIGURATION_BUILD_DIR = /tmp/AutomationExample | |
| SDKROOT = iphonesimulator6.0 | |
| === BUILD NATIVE TARGET AutomationExample OF PROJECT AutomationExample WITH THE DEFAULT CONFIGURATION (Release) === | |
| Check dependencies | |
| ProcessInfoPlistFile /tmp/AutomationExample/AutomationExample.app/Info.plist AutomationExample/AutomationExample-Info.plist |
This file contains hidden or 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
| # Provisioning a slicehost for RoR | |
| apt-get update | |
| apt-get upgrade -y | |
| # install dependencies | |
| /usr/bin/apt-get install build-essential openssl libreadline6 libreadline6-dev curl git-core zlib1g zlib1g-dev libssl-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt-dev autoconf libc6-dev ncurses-dev automake libtool bison subversion libcurl4-openssl-dev | |
| # install rvm | |
| sudo curl -L https://get.rvm.io | bash -s stable --ruby |
This file contains hidden or 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
| receive.action_mailer | |
| deliver.action_mailer | |
| write_fragment.action_controller | |
| read_fragment.action_controller | |
| exist_fragment?.action_controller | |
| expire_fragment.action_controller | |
| write_page.action_controller | |
| expire_page.action_controller | |
| start_processing.action_controller | |
| process_action.action_controller |
This file contains hidden or 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
| /* | |
| * This is a manifest file that'll be compiled into application.css, which will include all the files | |
| * listed below. | |
| * | |
| * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets, | |
| * or vendor/assets/stylesheets of plugins, if any, can be referenced here using a relative path. | |
| * | |
| * You're free to add application-wide styles to this file and they'll appear at the top of the | |
| * compiled file, but it's generally better to create a new file per style scope. | |
| * |
This file contains hidden or 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
| commit 79d8497573031a08cffa5bf7d844586aa86d9483 | |
| Author: Eric Allam | |
| Date: Sat Mar 31 12:43:45 2012 -0400 | |
| FIXIN YR SPECS | |
| commit 88e9343e1e06956473462a4a83fed7e8e3c845b4 | |
| Author: Nick Walsh | |
| Date: Fri Mar 30 12:07:23 2012 -0400 |
This file contains hidden or 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
| page = new WebPage() | |
| page.viewportSize = { width: 800, height: 800 } | |
| page.content = "<html><head><title></title></head><body><div></div></body></html>" | |
| page.onConsoleMessage = (msg) -> | |
| console.log msg | |
| page.evaluate -> | |
| console.log window.location.protocol # about: |
This file contains hidden or 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
| var Appointment = Backbone.Model.extend({ | |
| defaults: function(){ | |
| date: new Date() | |
| } | |
| }); | |
| var app1 = new Appointment(); | |
| var app2 = new Appointment(); | |
| app1.get('date') !== app2.get('date') |
This file contains hidden or 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
| var TodoItem = Backbone.Model.extend({ | |
| initialize: function(){ | |
| this.save = _.debounce(this.save, 500); | |
| }, | |
| toggleStatus: function(){ | |
| if(this.get('status') == 'incomplete'){ | |
| this.set({'status': 'complete'}); | |
| }else{ | |
| this.set({'status': 'incomplete'}); |