View tech_books.csv
Book Theme Recommended By Notes
[Remote: Office Not Required]( Distributed Work Moyinoluwa Adeyemi A great book about how to function as a distributed team. Full review here:
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|
# 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 = ''
password = 'your_pass'
url = ''
View ids
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 => '').first.update(password: user_pass, password_confirmation: user_pass)
resource = User.find_by_email("")
bcrypt =
password = BCrypt::Engine.hash_secret("#{user_pass}", bcrypt.salt)
valid = Devise.secure_compare(password, resource.encrypted_password)
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"
def method_b
puts "boom goes the awesome"
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)}