Skip to content

Instantly share code, notes, and snippets.

View ixmatus's full-sized avatar

Parnell Springmeyer ixmatus

View GitHub Profile
@ixmatus
ixmatus / Readme.md
Created July 30, 2017 18:10 — forked from techhazard/Readme.md
Nixos with ZFS on encrypted LUKS as root filesystem
#! /usr/bin/env nix-shell
#! nix-shell -i python3.5 --packages python35 python35Packages.lxml python35Packages.beautifulsoup4
import updateHostsFile
updateHostsFile.main()
@ixmatus
ixmatus / gist:9a8dd88c167aa030196e1f3547f1e86d
Created August 14, 2019 15:52
Migrate one git repository into another (e.g. migration into a monorepo)
# To merge project-a into project-b:
cd path/to/cloned-project-b
git checkout -b my-migration-branch
git remote add -f project-a git@github.com:user/project-a
# Replace `master` below with the branch you wish to migrate but it should be your primary working branch
git merge --allow-unrelated-histories -s ours --no-commit project-a/master
# ALWAYS end the prefix path with the slash
@ixmatus
ixmatus / uninstall-nix-1.11.13-darwin.txt
Created August 10, 2017 14:17 — forked from anonymous/uninstall-nix-1.11.13-darwin.txt
Instructions to delete Nix-1.11.13 from a Darwin system
Uninstalling nix:
1. Delete /Library/LaunchDaemons/org.nixos.nix-daemon.plist
sudo launchctl unload /Library/LaunchDaemons/org.nixos.nix-daemon.plist
sudo rm /Library/LaunchDaemons/org.nixos.nix-daemon.plist
2. Restore /etc/profile.backup-before-nix back to /etc/profile
sudo mv /etc/profile.backup-before-nix /etc/profile
{ config, pkgs, ... }:
# NB: I used `sudo NIXPKGS_ALLOW_UNFREE=1 nixos-rebuild switch`
# because Nix isnt' seeing the `allowUnfree` attribute that is already
# set when building Crashplan.
let
unstable-pkgs = import (pkgs.fetchFromGitHub {
owner = "NixOS";
repo = "nixpkgs";
rev = "373e40736a19437d0bc93ccd67dbf01b44c2cea6";

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

class Error(Base):
@view_config(context=Exception,
renderer="curbweb:templates/errors/server_error.pt")
def server_error(self):
self.request.response.status_int = 400
tbexc = tb.format_exc()
log.error(tbexc)
Parnell Springmeyer – CTO of Market Vibe, CTO of WooshTraffic and an experienced programmer that built a revenue generating startup from 2010 to Q3 of 2013. He's been through Techstars, raised venture capital, and has now joined the team at Curb to accelerate the product.
case lists:keytake(eunit_opts, 1, CONFIG) of
false -> CONFIG;
{value, {eunit_opts, Opts}, CONFIG1} ->
GetEnvDef = fun(Default) ->
case os:getenv("SUREFIRE_DIR") of
false -> Default;
V -> V
end
end,
NewOpts = Opts ++ [{report, {eunit_surefire, [{dir, GetEnvDef("./surefire_results")}]}}],