View tech_books.csv
Book Theme Recommended By Notes
[Remote: Office Not Required](http://batman.com) Distributed Work Moyinoluwa Adeyemi A great book about how to function as a distributed team. Full review here: https://tech.offgrid-electric.com/book-review-remote-office-not-required-e75e19c68529
Radical Candor: Be a Kick-Ass Boss Without Losing Your Humanity Communication / Team Management Thor Muller From the time we learn to speak, we’re told that if you don’t have anything nice to say, don’t say anything at all. When you become a manager, it’s your job to say it--and your obligation.
Emotional Intelligence 2.0 Communication / Self Management Dian four, core EQ skills that enable you to achieve your fullest potential: 1) Self-Awareness 2) Self-Management 3) Social Awareness 4) Relationship Management
Creativity, Inc - Ed Catmull  Creative work / Collaboration Dan Mayer How to encourage deep thought and creativity in a working environment, told through the story of Pixar
View jira_tasks.rb
# 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
View markdown_to_confluence.rb
#!/usr/bin/env ruby
require 'rubygems'
require 'confluence/api/client'
require 'kramdown'
username = 'your@email.com'
password = 'your_pass'
url = 'https://your_co.atlassian.net/wiki'
View ids
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
View MyWife.js
/* 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';
View google_cloud
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.
View gist:f66782e13bd8c327a9fe
user_pass = "password1"
User.where(:email => 'danmayer@gmail.com').first.update(password: user_pass, password_confirmation: user_pass)
resource = User.find_by_email("danmayer@gmail.com")
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
View gem_updated
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",
View covercheck.rb
def method_a
puts "hi"
end
def method_b
puts "boom goes the awesome"
end
method_a
View gist:2288a470c5d83616c489
#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)}