Skip to content

Instantly share code, notes, and snippets.

View gtallen1187's full-sized avatar
🤪

Greg Allen gtallen1187

🤪
View GitHub Profile

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

@gtallen1187
gtallen1187 / .gitignore_global
Last active June 11, 2023 07:13
Example global gitignore file
# Compiled source #
###################
*.com
*.class
*.dll
*.exe
*.o
*.so
# Packages #
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@gtallen1187
gtallen1187 / Greg's Great Guides: Global Git Config.md
Last active February 3, 2021 19:48
Greg's Great Guides: Global Git Config

Global Git Config

When setting up git for the first time on your computer, you'll need to configure it before you can really use it. This guide below outlines some of the well-known and lesser-known configuration options that I've found to be super helpful in the past.

Core

The commands below are essential to run when configuring your git installation.

@gtallen1187
gtallen1187 / isdate.sql
Last active October 6, 2016 16:36
isdate function for psql
create or replace function isdate(s varchar) returns boolean as $$
begin
perform s::date;
return true;
exception when others then
return false;
end;
$$ language plpgsql;
for z in */*.zip; do unzip $z -d $(dirname "$z"); done
for z in */1024watermarked; do mv $(dirname "$z")/1024watermarked/* $(dirname "$z")/; done
for z in */*.jpg; do rename -a $(dirname "$z"); done

A Next-Generation Smart Contract and Decentralized Application Platform

Satoshi Nakamoto's development of Bitcoin in 2009 has often been hailed as a radical development in money and currency, being the first example of a digital asset which simultaneously has no backing or "intrinsic value" and no centralized issuer or controller. However, another, arguably more important, part of the Bitcoin experiment is the underlying blockchain technology as a tool of distributed consensus, and attention is rapidly starting to shift to this other aspect of Bitcoin. Commonly cited alternative applications of blockchain technology include using on-blockchain digital assets to represent custom currencies and financial instruments ("colored coins"), the ownership of an underlying physic

Keybase proof

I hereby claim:

  • I am gtallen1187 on github.
  • I am gtallen1187 (https://keybase.io/gtallen1187) on keybase.
  • I have a public key whose fingerprint is 50D8 0FE8 30DF F6C0 FEEE B634 A537 9081 E38C 377A

To claim this, I am signing this object:

"The greatest performance improvement of all is when a system goes from not-working to working"

From a lecture by Professor John Ousterhout at Stanford.

Programmers tend to worry too much and too soon about performance. Many college-level Computer Science classes focus on fancy algorithms to improve performance, but in real life performance rarely matters. Most real-world programs run plenty fast enough on today's machines without any particular attention to performance. The real challenges are getting programs completed quickly, ensuring their quality, and managing the complexity of large applications. Thus the primary design criterion for software should be simplicity, not speed.

> Occasionally there will be parts of a program where performance matters, but you probably won't be able to predict where the performance issues will occur. If you try to optimize the performance of an application during the initial construction you will add complexity that will impact the timely delivery and quality o

@gtallen1187
gtallen1187 / slope_vs_starting.md
Created November 2, 2015 00:02
A little bit of slope makes up for a lot of y-intercept

"A little bit of slope makes up for a lot of y-intercept"

01/13/2012. From a lecture by Professor John Ousterhout at Stanford, class CS140

Here's today's thought for the weekend. A little bit of slope makes up for a lot of Y-intercept.

[Laughter]