Skip to content

Instantly share code, notes, and snippets.

@polinagogo
polinagogo / min.md
Last active March 14, 2017 22:19
Making sure we have minification safe angular code

Instead of doing this:

export default function (campaignService) {
  return {
    scope: {},
    template: require('./my-directive.html'),
    link: function(scope) {
      campaignService.getCampaigns().then((campaigns) => {
        scope.campaigns = campaigns;

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

@polinagogo
polinagogo / rubymine.md
Created April 28, 2016 22:35
RubyMine increase and show memory usage

Show memory usage in bottom right hand pane:

RubyMine -> Preferences -> Appearance -> Show Memory Indicator

Increase memory usage:

Open /Applications/RubyMine.app/Contents/bin/rubymine.vmoptions

# ~/Library/Preferences/RubyMine70/rubymine.vmoptions