Skip to content

Instantly share code, notes, and snippets.

View flavioalves's full-sized avatar

Flavio Alves flavioalves

View GitHub Profile
@yossorion
yossorion / what-i-wish-id-known-about-equity-before-joining-a-unicorn.md
Last active September 4, 2025 01:33
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

@0x-r4bbit
0x-r4bbit / proposal.md
Last active May 2, 2022 03:50
Proposals on how to structure 'standalone' modules in angular. Please read it and leave your opinions for a better angularjs world!

Angular module structure (proposal)

Everyone who's reading this, please leave your opinion/ideas/proposals as a comment for a better world!

Background

Most of you guys read Josh' proposals to make components more reusable, I think. Now, reading through this proposals definitely gives a feeling that this is the right way. Anyways, If you haven't read it yet, you should.

So Josh shows us, how angular apps can be structured in a better and more reusable way. Reusability is a very important thing when it comes to software development. Actually the whole angularjs library follows a philosophy of reusability. Which is why you able to make things like:

@drochetti
drochetti / Session.js
Last active December 9, 2015 20:28
A Javascript snippet representing a session, but not the web one... =)
(function(global) {
var myself = global.people.findById(global.github.me.dna()); // lol
myself.roll = myself.roll || function(weed, paper) {
weed = this.getGrinder().grind(weed);
return _.extend(weed, paper);
};
var session = new Session({
location : Location.SAME_OLD_SPOT,
people : _.union([myself], myself.getFriends().filter(Person.POT_HEAD))