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
| git remote show origin | |
| git pull | |
| git checkout remotes/origin/branchname | |
| git checkout -b branchname | |
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
| simple as load "test/buy_giver.rb" | |
| this file is in the test folder in my rails app |
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
| *** Terminating app due to uncaught exception 'NSInvalidUnarchiveOperationException', reason: 'Could not instantiate class named NSLayoutConstraint' | |
| click on first box of 5 in xib file or view | |
| UNCHECK - use Autolayout | |
| done |
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
| go to xocde menu | |
| Product > Archive | |
| go to organizer | |
| see the archive ... choose Distribute on the right | |
| - check for ad hoc develepment |
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
| test the drinkboard menu route : | |
| sending a POST command with an id only | |
| curl http://drinkboard.herokuapp.com/app/menu.json -d 40 | |
| send a POST command with the remember token in the params | |
| curl http://localhost:3000/app/providers.json -d "token=vaRlsrT-JjQRkbAhtN27-w" | |
| example of multiple data route | |
| curl http://example.com/users -d"first_name=Bruce&last_name=Wayne" |
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
| drag facebook SDK in folder and copy whole thing in | |
| - delete tests if they cause senTesting error | |
| - DO NOT name any files in your project Facebook.h .m | |
| add other link to build target with '-lsqlite3.0' flag | |
| watch this and do it the same | |
| https://www.facebook.com/video/video.php?v=10151424039669838 | |
| add SCFacebook and put the git hub function in the app delegate | |
| make social framework and ad support framework and accounts framework 'optional' |
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
| group :assets do | |
| gem 'jquery-ui-rails' | |
| end | |
| application.js | |
| //= require jquery.ui.all | |
| application.css | |
| /* | |
| *= require jquery.ui.all |
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
| sudo gem install heroku | |
| git config -l | |
| if heroku is there | |
| git remote rm heroku | |
| then .. | |
| git remote add heroku [email protected]:becker.git | |
| the app name on heroku is "becker.git" | |
| even tho the git repo is named "joncode:becker_sqlite.com" |
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
| git config -l | |
| does remote.origin.url = git @github.com/joncode/filename.git ? | |
| ie ... is the a '/' between github.com and joncode | |
| if so | |
| git config remote.origin.url git@github:joncode/filename.git | |
| should fix it |
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
| make new repo on github w/ rails .gitignore | |
| clone new repo to computer | |
| in the terminal in your local repo | |
| - git pull [email protected]:joncode/template1.git | |
| or | |
| - git merge [email protected]:joncode/template1 | |
| - git pull [email protected]:joncode/template1.git | |
| bundle install | |
| rake db:migrate |