This file contains 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
Steps to modals/landing pages | |
How to check ipad, iphone on laptop | |
Steps for urlrewrite/struts | |
Anything else I need to know - for common front end things? |
This file contains 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
<s:elseif test="phasesMap"> | |
<s:iterator value="phasesMap"> | |
<h3><s:property value="key" /></h3> | |
<table> | |
<s:iterator value="value"> | |
<tr><td><s:property value="title" /></td></tr> | |
</s:iterator> | |
</table> | |
</s:iterator> | |
</s:elseif> |
This file contains 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
1.) You checkout to the commit that you want to work backwards from | |
Ex. | |
git checkout b434c16c396ae27e0421b6071467138787bd00a7 | |
2.) Then type: | |
git bisect start | |
3.) Refresh browser and check out code to see if it's a good starting place where the code works. | |
4.) If good |
This file contains 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
___ COLLAPSING COMMITS ___ | |
1. git reset HEAD~ or git reset hEAD@{3} | |
2. git push -f origin feature/url-ingestion | |
** Don't do this often and only with permission - it rewrites github's history. | |
___ STASHING ___ | |
git stash show -p stash@{0} --> This one will show you the differences in code from one stash to the other. The # indicates which. | |
git stash apply stash@{0} --> This is bring back the stash you choose according to the number you put in the curly braces. | |
git reset HEAD~ --> This will undo your last commit (only do this if you haven't git pushed it yet) |
This file contains 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
____ Example Case _____ | |
TAGS (category) - is a parent to the 'article_artifact' (or 'video_article_artifact') --> The article_artifact is a parent to the components it has. | |
Components: | |
-video ('video artifact'), audio, section, image, headline, text, etc | |
____________ ENDPOINTS _____________ | |
1.) Components Endpoint ('/components') |
This file contains 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
In every new terminal requiring KEYS: | |
1.) subl ~/.bash_profile | |
2.) If you want to store env variables --> you need to type it like so | |
export AWS_KEY=g7aeltvjn43o269v2y5 | |
3.) source ~/.bash_profile --> Type this in the terminal and it'll tell your computer that you updated your environmental variables. |
This file contains 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
(See notes at bottom of this guide) | |
______________ STEP 1 OF THE release CYCLE _________________ | |
_____________________( FEATURE BRANCH )_______________________ | |
1.) Pull (update) develop/master first. | |
Ex. | |
git checkout develop |
This file contains 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 opens pull requests without having to merge them. | |
https://gist.github.com/piscisaureus/3342247 | |
1.) You'd have to check into their app folder | |
2.) bundle install, rake db:migrate, possibly rake db:seed | |
3.) rails s | |
4.) subl it open in other terminal window | |
5.) Check their site on localhost:3000 |
This file contains 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
Whenever you make any changes: | |
(You must add and commit all changes BEFORE trying to pull or else it won't work) | |
1.) cd into that folder where the changes are located. | |
2.) git add . (This will add all changes, if that doesn't work git add -A) | |
3.) git commit -m "Your commit message goes here...blah, blah." | |
4.) git pull upstream master --> This will make sure that you have the most recent files. | |
5.) git push origin master (This pushes up all your changes to your repo) | |
This file contains 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
1. Go to herokuapp dashboard | |
2. Go to your app --> then 'settings' | |
3. Click on 'Get add ons' --> Then find 'New Relic' and click to read the docs | |
4. Then from within your app in the terminal type: heroku addons:add newrelic:stark | |
5. Go back to your app on heroku and click on the "New Relic" icon. | |
6. Then in the page that opens up click on 'I agree' | |
7. Add this gem to your gemfile --> gem 'newrelic_rpm' in production - like so: | |
group :production do | |
gem 'newrelic_rpm' |
NewerOlder