In your command-line run the following commands:
brew doctorbrew update
| # If you don't remember the exact path/name, search the log for deleted files | |
| git log --diff-filter=D --summary | grep delete | |
| # Find the file you want to get from the ouput, and use the path | |
| # Find the commits that involved that path | |
| git log --all -- some/path/to/deleted.file | |
| # Bring the file back to life to the current repo (sha commit of parent of commit that deleted) | |
| git checkout shaofthecommitthatdeletedthefile^ -- some/path/to/deleted.file | 
| 1. Dump the data only sql to file | |
| $ pg_dump --data-only --inserts YOUR_DB_NAME > dump.sql | |
| 2. scp to local | |
| 3. Remove the SET statements at the top | |
| such as: | |
| SET statement_timeout = 0; | |
| SET client_encoding = 'SQL_ASCII'; | |
| 4. Remove the setval sequence queries | 
| getFebDays(year: number): number { | |
| const isLeapYear = (year % 100 === 0) ? (year % 400 === 0) : (year % 4 === 0); | |
| return isLeapYear ? 29 : 28; | |
| } | 
| config.action_mailer.delivery_method = :smtp | |
| # SMTP settings for Gmail | |
| config.action_mailer.smtp_settings = { | |
| :address => "smtp.gmail.com", | |
| :port => 587, | |
| :user_name => ENV['gmail_username'], | |
| :password => ENV['gmail_password'], | |
| :authentication => "plain", | |
| :enable_starttls_auto => true } | 
| Mailgun.configure do |config| | |
| config.api_key = 'your-secret-api-key' | |
| end | 
| /* class applies to select element itself, not a wrapper element */ | |
| .select-css { | |
| display: block; | |
| font-size: 16px; | |
| font-family: sans-serif; | |
| font-weight: 700; | |
| color: #444; | |
| line-height: 1.3; | |
| padding: .6em 1.4em .5em .8em; | |
| width: 100%; | 
In your command-line run the following commands:
brew doctorbrew update| .sf-page { | |
| -webkit-transition: -webkit-transform .2s ease-out; | |
| } | |
| .sf-page.out { | |
| -webkit-transform: translateX(240px); | |
| } | |
| // Or, through animations like so: | 
| function removeByKey(array, params){ | |
| array.some(function(item, index) { | |
| if(array[index][params.key] === params.value){ | |
| array.splice(index, 1); | |
| return true; // stops the loop | |
| } | |
| return false; | |
| }); | |
| return array; | |
| } | 
| var About = { template: '<h1>About</div>' }; | |
| var Dashboard = { template: '<h1>Dashboard</h1>' }; | |
| var Auth = { | |
| loggedIn: false, | |
| login: function() { this.loggedIn = true }, | |
| logout: function() { this.loggedIn = false } | |
| }; | |
| var Login = { |