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
#!/bin/bash | |
heroku pgbackups:capture | |
curl -o latest.dump `heroku pgbackups:url` | |
pg_restore --verbose --clean --no-acl --no-owner -h localhost -U user_name -d db_name latest.dump |
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
$memory = {} | |
$recursive_count = 0 | |
def get_change(coin_amounts, cents_to_change) | |
# memoization to make this faster | |
return $memory[cents_to_change] if not $memory[cents_to_change].nil? | |
# initalize min_coins to a very large number | |
min_coins = 999999999999999 | |
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
{ | |
"name": "application-name", | |
"version": "0.0.1", | |
"private": true, | |
"scripts": { | |
"start": "node app.js" | |
}, | |
"dependencies": { | |
"express": "3.4.8", | |
"swig": "~1.3.2", |
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
{ | |
"name": "application-name", | |
"version": "0.0.1", | |
"private": true, | |
"scripts": { | |
"start": "node app.js" | |
}, | |
"dependencies": { | |
"express": "3.4.8", | |
"swig": "~1.3.2", |
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
@import "normalize"; | |
@import "modern-business"; | |
body { | |
padding-top: 60px; | |
} | |
@mixin clearfix() { | |
&:after { | |
content:" "; | |
display: table; |
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
@import "normalize"; | |
@import "modern-business"; | |
body { | |
padding-top: 60px; | |
} | |
@mixin clearfix() { | |
&:after { | |
content:" "; | |
display: table; |
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
lib-cov | |
lcov.info | |
*.seed | |
*.log | |
*.csv | |
*.dat | |
*.out | |
*.pid | |
*.gz |
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
// TextOlympics - Driver File | |
// Road to Code - Fullstack Academy | |
// | |
// This is the file you have to edit | |
var my_channel = "nimits_channel"; //select your channel name. must be one word (no spaces). | |
var sendQuestion = function () { | |
var question_text = $('#question_text').val(); | |
var phone_numbers = $('#phone_numbers_input').val(); |
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
// TextOlympics - Driver File | |
// Road to Code - Fullstack Academy | |
// | |
// This is the file you have to edit | |
var my_channel = "nimits_channel"; //select your channel name. must be one word (no spaces). | |
var all_phone_numbers = ""; | |
var sendQuestion = function () { | |
var question_text = $('#question_text').val(); |
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
// TextOlympics - Driver File | |
// Road to Code - Fullstack Academy | |
// | |
// This is the file you have to edit | |
var my_channel = "nimits_channel"; //select your channel name. must be one word (no spaces). | |
var all_phone_numbers = ""; | |
var sendQuestion = function () { | |
var question_text = $('#question_text').val(); |
OlderNewer