This is an OpenPGP proof that connects my OpenPGP key to this Github account. For details check out https://docs.keyoxide.org/advanced/openpgp-proofs/
[Verifying my OpenPGP key: openpgp4fpr:5CA8E42E7329D84D3EA8CE9A6A94F02224D694D9]
This is an OpenPGP proof that connects my OpenPGP key to this Github account. For details check out https://docs.keyoxide.org/advanced/openpgp-proofs/
[Verifying my OpenPGP key: openpgp4fpr:5CA8E42E7329D84D3EA8CE9A6A94F02224D694D9]
| #! /usr/bin/env nix-shell | |
| #! nix-shell -i python3.5 --packages python35 python35Packages.lxml python35Packages.beautifulsoup4 | |
| import updateHostsFile | |
| updateHostsFile.main() | 
| # 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 [email protected]: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 | 
| 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 | 
After some effort (and asking for help on the nix-dev mailing list) I installed ZFS on an encrypted partition. The relevant configuration is below.
| { 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"; | 
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
| 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")}]}}], | 
| {inparallel, [ { "Property test network block construction" | |
| , { timeout | |
| , 30 | |
| , ?assertEqual( true | |
| , proper:quickcheck( wifi:prop_set_network() | |
| , [ {to_file, user} | |
| , {numtests, 1000} | |
| , {spec_timeout, 360000} | |
| ]))}}, | |
| ... | 
| ip-10-0-0-9% systemctl status datadog-agent.service | |
| ● datadog-agent.service - LSB: Start and stop dd-agent | |
| Loaded: loaded (/etc/init.d/datadog-agent) | |
| Active: failed (Result: exit-code) since Wed 2015-03-04 16:56:50 UTC; 1min 14s ago | |
| Process: 20791 ExecStart=/etc/init.d/datadog-agent start (code=exited, status=3) |