Skip to content

Instantly share code, notes, and snippets.

@yossorion
yossorion / what-i-wish-id-known-about-equity-before-joining-a-unicorn.md
Last active April 7, 2024 22:55
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

@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
@tsiege
tsiege / The Technical Interview Cheat Sheet.md
Last active May 6, 2024 02:17
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!






\

@bf4
bf4 / services.md
Last active August 2, 2017 13:26
Analytics, Metrics and Error monitoring services (and roll your own via logging, etc)
@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
@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 / 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 / interview.md
Last active June 7, 2020 19:37
Ruby Interview Questions

Ruby Questions

  • What is a class?
  • What is an object?
  • What is a module? Can you tell me the difference between classes and modules?
  • Can you tell me the three levels of method access control for classes and modules? What do they imply about the method?
  • There are three ways to invoke a method in ruby. Can you give me at least two?
  • Explain this ruby idiom: a ||= b
  • What does self mean?
@ryansobol
ryansobol / gist:5252653
Last active November 22, 2023 11:53
15 Questions to Ask During a Ruby Interview

Originally published in June 2008

When hiring Ruby on Rails programmers, knowing the right questions to ask during an interview was a real challenge for me at first. In 30 minutes or less, it's difficult to get a solid read on a candidate's skill set without looking at code they've previously written. And in the corporate/enterprise world, I often don't have access to their previous work.

To ensure we hired competent ruby developers at my last job, I created a list of 15 ruby questions -- a ruby measuring stick if you will -- to select the cream of the crop that walked through our doors.

What to expect

Candidates will typically give you a range of responses based on their experience and personality. So it's up to you to decide the correctness of their answer.

@ryankanno
ryankanno / attack_of_the_clones.sh
Created March 1, 2013 12:26
Clone all the repos! StartupBus 2013 prep. :D
#!/bin/bash
repos=(
'https://github.com/github/gitignore'
'https://github.com/twitter/bootstrap'
'https://github.com/h5bp/html5-boilerplate'
'https://github.com/cloudhead/less.js'
'https://github.com/jquery/jquery'
'https://github.com/jquery/jquery-mobile'