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
Good Intro to explain the landscape by Stanislav Kozlovski | |
https://www.freecodecamp.org/news/a-thorough-introduction-to-distributed-systems-3b91562c9b3c/ | |
How to get started with Distributed Systems by Caitie McCaffrey | |
https://caitiem.com/2017/09/07/getting-started-with-distributed-systems/ | |
Interactive Visual Representation of how Raft(a distributed system consenses algorithmn works) | |
http://thesecretlivesofdata.com/raft/ |
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
Sidney Dekker | |
The Field Guide to Human Error - https://amzn.to/2O30hAI | |
Just Culture - https://amzn.to/2XSsIpD | |
RULE- AND ROLE-RETREAT: AN EMPIRICALSTUDY OF PROCEDURES AND RESILIENCE - https://bit.ly/2F9is5e | |
Erik Hollnagel | |
From Safety-I to Safety-II: A White Paper - https://www.skybrary.aero/bookshelf/books/2437.pdf | |
Joint Cognitive Systems: Patterns in Cognitive Systems Engineering - https://amzn.to/2u8jhVE | |
Resilience engineering – Building a Culture of Resilience - https://bit.ly/2J8Calz |
- 217 RR Architecture Without an End State with Michael Nygard
- 216 RR Code Review Culture with Derek Prior
- 213 RR Team Dynamics, API Design, and System Resiliency with Daniel Jacobson of Netflix
- 211 RR DCI with Jim Gay
- 191 RR The Developer Happiness Team with Kerri Miller
- 186 RR The 4 Rules of Simple Design with Corey Haines
- 185 RR Rails 4 Test Prescriptions with Noel Rappin
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
#!/bin/bash | |
# This script assumes you have an app running on 2 ports 4040 and 4041 | |
# and that you can restart your app with a single command | |
APP_RESTART_COMMAND="/your/app/control restart" | |
# Find out if the app is running | |
function app_up { | |
port=$1 |
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
#TAKEN FROM http://mauriciogardini.com/post/43348489262/slate-a-mac-os-x-window-manager-for-power-users | |
# Config's directive: config name value | |
# Default to the current screen if the screen the reference does not exist. | |
config defaultToCurrentScreen true | |
# The base value for nudge percent calculation | |
config nudgePercentOf screenSize | |
# The base value for resize percent calculation | |
config resizePercentOf screenSize |
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
" Strip trailing whitespace | |
function! <SID>StripTrailingWhitespaces() | |
" Preparation: save last search, and cursor position. | |
let _s=@/ | |
let l = line(".") | |
let c = col(".") | |
" Do the business: | |
%s/\s\+$//e | |
" Clean up: restore previous search history, and cursor position | |
let @/=_s |
Below are steps I followed to get ruby debugger ruby-debug
running with Pow. Based on info from this thread basecamp/pow#43 and this blog post http://flochip.com/2011/04/13/running-pow-with-rdebug/
Assuming you're writing your app in Ruby 1.9 and using Bundler, just add the dependency to your development gems:
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
begin | |
#dangerous API Call that fails a ton | |
rescue Exception => e | |
puts e.message | |
end | |
#result that sort of looks like a success |
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
Haml::Engine.class_eval do | |
alias_method :initialize_without_file_comments, :initialize | |
def initialize(template, options ={}) | |
template = template.dup | |
template.insert(0,"/ BEGIN #{options[:filename]}\n") | |
template.insert(-1,"\n/ END #{options[:filename]}") | |
template.freeze | |
initialize_without_file_comments(template, options) | |
end |