Skip to content

Instantly share code, notes, and snippets.

@austenito
austenito / answers.md
Last active December 4, 2019 12:35
Answers to Ruby Interview Questions

Answers to [Ruby Interview Questions][1]

What is a class?

A text-book answer: classes are a blue-print for constructing computer models for real or virtual objects... boring.

In reality: classes hold data, have methods that interact with that data, and are used to instantiate objects.

Like this.

@austenito
austenito / psql_cheat_sheet.md
Last active December 18, 2015 17:29
Terminal Cheet Sheet

Connecting: psql -U <username> -h <host> -d <database>

Modifying

  • connect to database \c database
  • create database create database <name>
  • drop database drop database <name

Exploring

@austenito
austenito / query.rb
Created January 3, 2014 19:32
Logging Mongodb queries in rails console
if Moped.logger == Rails.logger
Moped.logger = Logger.new($stdout)
true
else
Moped.logger = Rails.logger
false
end
@bf4
bf4 / services.md
Last active August 2, 2017 13:26
Analytics, Metrics and Error monitoring services (and roll your own via logging, etc)
@tsiege
tsiege / The Technical Interview Cheat Sheet.md
Last active August 11, 2025 21:50
This is my technical interview cheat sheet. Feel free to fork it or do whatever you want with it. PLEASE let me know if there are any errors or if anything crucial is missing. I will add more links soon.

ANNOUNCEMENT

I have moved this over to the Tech Interview Cheat Sheet Repo and has been expanded and even has code challenges you can run and practice against!






\

@jaredmichaelwilliams
jaredmichaelwilliams / Notes
Last active September 17, 2015 19:17
10 Random Words off Random Wikipedia Articles - Use for Passwords
Dependencies
brew install gnu-sed
@yossorion
yossorion / what-i-wish-id-known-about-equity-before-joining-a-unicorn.md
Last active July 12, 2025 14:53
What I Wish I'd Known About Equity Before Joining A Unicorn

What I Wish I'd Known About Equity Before Joining A Unicorn

Disclaimer: This piece is written anonymously. The names of a few particular companies are mentioned, but as common examples only.

This is a short write-up on things that I wish I'd known and considered before joining a private company (aka startup, aka unicorn in some cases). I'm not trying to make the case that you should never join a private company, but the power imbalance between founder and employee is extreme, and that potential candidates would