Skip to content

Instantly share code, notes, and snippets.

View shayfrendt's full-sized avatar

Shay Frendt shayfrendt

View GitHub Profile
@iwangu
iwangu / no-coding-assigment.md
Last active September 27, 2021 01:30 — forked from fasiha/no-hackerrank.md
A prospective employer invited me to do a HackerRank test. Here's my proposed alternative.

Hi there! Thanks for offering me a coding assigment test. I see that this can be a useful method to compare different candidates applying for the XYZ-Role. I would like to kindly ask if you have some leeway in finding an alternative way to evaluate my coding skills? I have written a number of open-source projects/spoke at conferences/worked as a coding-teacher/did XYZ and I would love to showcase this to your engineers:

LIST STUFF YOU DID

These are just some projects I picked that demonstrate not just skill in programming but also in math, design and XYZ.

Please can I kindly ask you to check with your engineers and/or the hiring manager to perhaps have a look/conduct a code review and/or ask me to add a feature or resolve a bug?

I checked that ABC is doing a lot of XYZ and I opened a Github issue extra for ABC (LINK TO GITHUB ISSUE). I can program this feature/fix that bug within a given timeframe and then discuss the written code with one of your engineers?

Post Universe Thank You: October 19, 2017

Expensing Guidelines for Remote Hubbers

For those of you who don't regularly work out of HQ and aren't able to join this Thursday's festivities, we'd love for you to lunch on on the company.

Some guidelines from our trusted Financetocats:

Amount: $25(US)

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

@jdmaturen
jdmaturen / company-ownership.md
Last active July 29, 2023 22:39
Who pays when startup employees keep their equity?

Who pays when startup employees keep their equity?

JD Maturen, 2016/07/05, San Francisco, CA

As has been much discussed, stock options as used today are not a practical or reliable way of compensating employees of fast growing startups. With an often high strike price, a large tax burden on execution due to AMT, and a 90 day execution window after leaving the company many share options are left unexecuted.

There have been a variety of proposed modifications to how equity is distributed to address these issues for individual employees. However, there hasn't been much discussion of how these modifications will change overall ownership dynamics of startups. In this post we'll dive into the situation as it stands today where there is very near 100% equity loss when employees leave companies pre-exit and then we'll look at what would happen if there were instead a 0% loss rate.

What we'll see is that employees gain nearly 3-fold, while both founders and investors – particularly early investors – get dilute

@cheshire137
cheshire137 / git-line-history.sh
Last active June 24, 2016 16:30
Find all the Git commits that modified a particular line in a file.
#!/bin/bash
# Sample use:
# PATTERN="\"/some-route\"" FILE=config/routes.rb ~/bin/git-line-history.sh
# Thanks to mikedillion <https://github.com/mikedillion> for the basis of this!
set -e
#PATTERN="version':"
#FILE="setup.py"
@roidrage
roidrage / meatballs.md
Last active December 5, 2019 22:44
Americanized version of my meatballs recipe

The @roidrage meatballs extravaganza.

The secret ingredient to this recipe is letting everything stew for a few hours. First the tomato sauce, requires at least 90 minutes to 2 hours. Then the meatballs in the sauce another 90 minutes. The longer the better.

Once the meatballs are in the sauce, the more time you give them, the more delicious flavor will seep from the meat into the sauce, and vice versa. I'd recommend giving it a total of four hours for maximum taste extraction.

The long stew ensure that the fluids have evaporated and that you're left with the tastiest meatballs you've ever had.

Ingredients (serves four hungry people):

@jch
jch / rails-engines.md
Created December 19, 2013 01:36
Rails Engines

This is a quick brain dump of problems I've run into using Rails Engines.

Problems

  • Dependencies If an Engine requires a gem at version X, and the application requires the same gem at version Y. You could specify a lose version constraint on the Engine, but that's just asking for trouble. If the application updates to a newer version that the Engine isn't expecting, things go wrong.
  • Layouts/Assets To customize these, you need to overwrite certain magical paths. This ends up duplicating a lot of the engine and forces you to dig into the internals of how the Engine works rather than trusting it as a standalone component.
  • Models If you use an Engine's models, you're crossing into the Engine's abstractions again. It seems like a good place to share code, but it means your models will need to become versioned.
  • Complexity It's hard to debug problems when they come up. Is it coming from the engine, the app, or the app's overrides of the engine
@rsanheim
rsanheim / ci.sh
Created March 28, 2012 05:03
Simple continuous deployment via Jenkins and Capistrano for all branches. Wire this up with Github post receive hooks from Jenkins for best results.
#!/bin/bash -x
# This should be your "script/ci" checked into version control, and then wired as your sole build step in Jenkins.
#
# Simplifying Assumptions:
#
# * You build all branches
# * You want to deploy all branches.
# * You wired up an SSH key to your CI server appropriately so it can talk to your deployment target(s) via Cap
@gmassanek
gmassanek / .zshrc
Created March 23, 2012 01:34
Alias to push and open chrome to the new pull request page
function git_remote_url() {
# DOES NOT WORK FOR HTTPS, ONLY git@github.com:username/repo.git
git config --get remote.origin.url | sed 's/git@//' | sed 's/github/https:\/\/github/' | sed 's/com:/com\//' | sed 's/\.git//'
}
function git_current_branch_name() {
git symbolic-ref HEAD | sed 's/refs\/heads\///'
}
function git_push_open() {
@travishaynes
travishaynes / routes.rb
Created February 24, 2012 21:06
Shopify session controller & specs
resource :shopify_session, only: [:new, :create, :destroy]