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
# These tasks should be called from your deploy process or countinious deployment server script, something like below | |
namespace :production do | |
desc 'production deployment' | |
task deploy: 'docker:build:push' do |t, args| | |
release_notes_and_tagging | |
end | |
end | |
### | |
# Update releases.txt file with deployed tickets |
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
#!/usr/bin/env ruby | |
require 'rubygems' | |
require 'confluence/api/client' | |
require 'kramdown' | |
username = '[email protected]' | |
password = 'your_pass' | |
url = 'https://your_co.atlassian.net/wiki' |
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
2770974,447471,347275,2631820,4533163,2293233,318889,2494566,347768,2181338,2186823,2187064,2943324,450480,2639761,359716,2182727,2588598,2689863,356323,2693249,2797094,3014580,2689846,18718,4690,4424791,345892,45555,2563595,39988,344328,2564509,2796920,2268009,2163435,339673,2402345,2475185,2362073,2562086,2947240,2587843,2444014,2796839,2352346,4429153,2190000,2202755,2951547,6930286,1988116,2563497,2166433,456221,2177708,4445092,2192567,2176698,2269534,2679292,2688183,2197805,4444909,2216995,2636337,2445616,6930281,338265,318777,2192039,348279,2189693,339458,2197795,2202141,6932881,2198062,2563451,2590258,3548732,2286806,337222,2434644,4598777,1987776,4501193,346553,2186794,2953853,445846,2632140,2167144,2619750,2434197,1988021,456493,342627,2785558,2198116,2196382,2416087,18749,2168101,2841438,2840233,22109,346262,354955,21737,1988117,1987799,344598,2444151,4429376,337038,2684836,2273783,2590668,2770909,319590,2178056,4524902,2563462,338796,2950218,325624,2211886,2191643,2162262,2182596,2176816,2830349,21 |
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
/* eslint-disable func-names */ | |
/* eslint quote-props: ["error", "consistent"]*/ | |
/** | |
* This is an skill to learn how the Alexa API works. Created by Dan Mayer | |
* Built with the Amazon Alexa Skills nodejs skill development kit. | |
* Initially edited from the getFact example. | |
**/ | |
'use strict'; |
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
Yeah AWS Lambda / API gateway and such, I do think in terms of a no manage DB firebase looks better. | |
The concern I have with all of the serverless approaches comes down to scaling with a team: | |
* The deployment story is still a bit messy | |
* dev environment generally connects to shared resource | |
* testing is tricky / non existant | |
* debugging tools aren't up to speed. | |
* doesn't do well with dev/staging/prod completely forgetting as the team scales branch based dev | |
* less so on AWS to standard DBs, but firebase doesn't have a great story for data analysis yet. |
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
user_pass = "password1" | |
User.where(:email => '[email protected]').first.update(password: user_pass, password_confirmation: user_pass) | |
resource = User.find_by_email("[email protected]") | |
bcrypt = BCrypt::Password.new(resource.encrypted_password) | |
password = BCrypt::Engine.hash_secret("#{user_pass}", bcrypt.salt) | |
valid = Devise.secure_compare(password, resource.encrypted_password) | |
#true |
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
GEM_NAME = "ls-secure_gmaps" | |
COMMIT_MESSAGE = "update to latest ls-secure_gmaps\n This makes sure all calls are made with the correct keys for our new contract" | |
APPS = ["browse", "browse-service", "escapes", "events", "preferences", "sponsors"] | |
CMDS = ["git pull origin master", | |
"bundle install", | |
"bundle exec rake", | |
"bundle update #{GEM_NAME}", | |
"bundle exec rake", |
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
def method_a | |
puts "hi" | |
end | |
def method_b | |
puts "boom goes the awesome" | |
end | |
method_a |
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
#specific commiter | |
git log --numstat --pretty="%H" --author="dan.mayer" --since="2 years ago" app | awk 'NF==3 {plus+=$1; minus+=$2} END {printf("+%d, -%d\n", plus, minus)} | |
#team total | |
git log --numstat --pretty="%H" --since="2 years ago" app | awk 'NF==3 {plus+=$1; minus+=$2} END {printf("+%d, -%d\n", plus, minus)} |
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
http://www.wired.com/wiredenterprise/2013/04/developers-age/ | |
http://www.linkedin.com/today/post/article/20130422020049-8451-the-tech-industry-s-darkest-secret-it-s-all-about-age | |
http://www.bloombergview.com/articles/2012-04-22/software-engineers-will-work-one-day-for-english-majors | |
http://heartmindcode.com/2013/08/16/loyalty-and-layoffs/ | |
a counterpoint | |
http://coding-and-more.blogspot.com/2011/06/its-official-developers-get-better-with.html | |
a pair, article and a response | |
http://prog21.dadgum.com/154.html |