Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am bosconi on github.
  • I am bosconi (https://keybase.io/bosconi) on keybase.
  • I have a public key ASBhm0XpBcU5xIWCe4eVNRc3DboJpPPOtT96ljgyoTWyhQo

To claim this, I am signing this object:

@bosconi
bosconi / Simple Stove Top Coffee Roasting
Created May 29, 2018 17:38
How to roast coffee on a stove
There are many ways to roast coffee at home, with or without specialist equipment.
This method uses the following equipment:
- Heavy pan
Any clean, dry heavy bottomed pan can be used. A high sided, cast iron Dutch oven with
a white enamel interior (such as a Le Cruset) is ideal. The high sides stop a lot of the
chaff (paper-thin skins that come off of the beans during roasting) from escaping. The
white interior makes it easy to judge the color changes of the beans. But a low-sided,
black cast iron skillet works just as well, perhaps with a bit more cleanup (but nothing
@bosconi
bosconi / gist:49a5e49c76aa0828c84b2de867ace855
Created January 29, 2017 18:36
Vangrantfile for Ubuntu 16.04 Daily LTS
Vagrant.configure('2') do |config|
config.vm.box = 'dummy'
# use local ssh key to connect to remote vagrant box
config.ssh.private_key_path = '~/.ssh/id_rsa'
config.vm.provider :azure do |azure, override|
# use Azure Active Directory Application / Service Principal to connect to Azure
# see: https://azure.microsoft.com/en-us/documentation/articles/resource-group-create-service-principal-portal/
@bosconi
bosconi / gist:72185db229466a5b56ace6bfe9a2854a
Created January 4, 2017 22:36
Activity of updatedb.mlocate
vagrant@ubuntu-1604-vmware:~$ ps -aux | grep updatedb
root 9950 0.0 0.0 11536 820 pts/0 S+ 22:29 0:00 flock --nonblock /run/mlocate.daily.lock /usr/bin/ionice -c3 /usr/bin/updatedb.mlocate
root 9951 0.5 0.0 7804 2524 pts/0 S+ 22:29 0:00 /usr/bin/updatedb.mlocate
vagrant@ubuntu-1604-vmware:~$
vagrant@ubuntu-1604-vmware:~$ sudo lsof -p 9950
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
flock 9950 root cwd DIR 252,0 4096 1569916 /etc/cron.daily
flock 9950 root rtd DIR 252,0 4096 2 /
flock 9950 root txt REG 252,0 27352 2354886 /usr/bin/flock
flock 9950 root mem REG 252,0 2981280 2356079 /usr/lib/locale/locale-archive
@bosconi
bosconi / gist:b244199393d0d08f788bc26b16db03e6
Created December 21, 2016 01:25
output of `vagrant --debug up`
INFO global: Vagrant version: 1.9.1
INFO global: Ruby version: 2.2.5
INFO global: RubyGems version: 2.4.5.1
INFO global: VAGRANT_OLD_ENV_XPC_FLAGS="0x0"
INFO global: VAGRANT_OLD_ENV_COLORFGBG="7;0"
INFO global: VAGRANT_OLD_ENV_LOGNAME="jon"
INFO global: VAGRANT_OLD_ENV___CF_USER_TEXT_ENCODING="0x1F5:0x0:0x0"
INFO global: VAGRANT_OLD_ENV_USER="jon"
INFO global: VAGRANT_OLD_ENV_TERM="xterm-256color"
INFO global: VAGRANT_OLD_ENV_LANG="en_US.UTF-8"
@bosconi
bosconi / gist:c8e020e3e3ab3254dc57e9ab6c8a3c65
Created December 20, 2016 19:08
output of vagrant --debug reload
Jons-MacBook-Pro-4:research-paper-lifeguard jon$ vagrant --debug reload
INFO global: Vagrant version: 1.9.1
INFO global: Ruby version: 2.2.5
INFO global: RubyGems version: 2.4.5.1
INFO global: VAGRANT_INSTALLER_EMBEDDED_DIR="/opt/vagrant/embedded"
INFO global: VAGRANT_OLD_ENV_TERM_PROGRAM="iTerm.app"
INFO global: VAGRANT_OLD_ENV_TERM="xterm-256color"
INFO global: VAGRANT_OLD_ENV_SHELL="/bin/bash"
INFO global: VAGRANT_OLD_ENV_TERM_PROGRAM_VERSION="3.0.12"
INFO global: VAGRANT_OLD_ENV__="/usr/local/bin/vagrant"
@bosconi
bosconi / Vagrantfile
Created December 20, 2016 18:22
Vagrantfile
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure(2) do |config|
config.vm.box = "cbednarski/ubuntu-1604"
# VMware Fusion only - shout if this is an issue!
config.vm.provider "vmware_fusion"