Skip to content

Instantly share code, notes, and snippets.

View ocxo's full-sized avatar
💆‍♂️
domakesaythink

Adam Ochonicki ocxo

💆‍♂️
domakesaythink
View GitHub Profile
ZZZZZZZZ$$$$Z$$$$$$777777III???+++===~~~~~::::::,,,,:,,,,,,,,,:,::::::::::::::::::,,,:,:,::,,,:,:,,,:,,:,:,,,:,,:::,:,:::::~~~~~======++++++?????I?III7II7777777$$$$$$$$$ZZZ$ZZZZZZZ
ZZZZZZZZZ$Z$Z$$$$$$77777IIII???++===~~~~::::~=I7I+I$$$$Z7?,,,,::,::::::::::,:::,,:,,,,,,:,,,,,,,,,,,:,,:,,,,,,,,,,:::,::::~~~~~~===+=++++++???????IIIIIIII77777$$$7$$$$$$$Z$ZZZZZZZZ
ZZZZZZZZZ$$$$$$$$$$$$777IIII???++==~~~~~:~+7$O88888DD8DD88O7+::+::,:::::,,:::::,,,::,,,,,,,,,,,,,,:,,,,,,,,,,,,,,,:::::::::~~~~==?M8N8+++++???????IIIIIII77777777$$$$$$$$$$$$ZZZZZZZ
ZZZZZZ$ZZZZZ$$$$$$$$77777II????++==~~~~~7ZO88DDDDDDNNDDDDDD888OOO7I~::,:,:,::::,,,,,,,,,,,,,,,,,,,,:,,,,,,,,,,,,,,:,:::::~~~~~=7MOZZ==OD++????????IIIIII7I7777777$$$$$$$$$$$$$ZZZZZZ
ZZZZZZZZZZZ$$$$$$$$777777II????++==~~~?Z88DDODDDDDNNNNNNNNDDDDDDD8O$=~:,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,:::::::~~~~INZ$$ZZ+=+=ODI+?????IIIIIIIIIII77777$$$$$$$$$$$$ZZZZZZZ
ZZZZZZZZZZZ$Z$$$$$$$777IIIII???++==~+Z88DDDNO88D88DNNNDNDDNNDNDDD88OO?,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,:::
cookbook 'user'
[Berkshelf] This version of the Berkshelf plugin has not been fully tested on this version of Vagrant.
[Berkshelf] You should check for a newer version of vagrant-berkshelf.
[Berkshelf] If you encounter any errors with this version, please report them at https://github.com/RiotGames/vagrant-berkshelf/issues
[Berkshelf] You can also join the discussion in #berkshelf on Freenode.
[Berkshelf] Updating Vagrant's berkshelf: '/Users/Adam/.berkshelf/default/vagrant/berkshelf-20130708-21737-op0tog-default'
[Berkshelf] Using apt (1.10.0)
[Berkshelf] Using java (1.9.4)
[Berkshelf] Using tomcat (0.12.0)
[Berkshelf] Using database (1.4.0)
[Berkshelf] Using postgresql (3.0.0)

OpenBSD -current works pretty well on my Mid-2011 Macbook Air (A1370, SandyBridge). The new KMS code brings up the MBA's eDP display in 1366x768 with backlight control. ACPI works as expected for battery/AC status, CPU throttling, and full suspend/resume support. The Broadcom wireless card does not work, so for now I am using this tiny USB adapter (urtwn) which is rather unobtrusive when plugged in.

Dual-booting with Mac OS X is fairly easy, but once FileVault is enabled for full-disk encryption of Mac OS, it clobbers the path to boot back into OpenBSD. Here's how to get both OSes working, each with its own disk encryption, without having to use rEFIt or anything else.

###Mac OS X Configuration

  1. If FileVault is already enabled, turn it off and decrypt the SSD.

  2. Use Boot Camp Assistant to partition the hard drive, slicing off a portion of the end of the drive for OpenBSD (I used 30Gb on a 256Gb SSD). If BCA jus

Starting Chef Client, version 11.4.4
[2013-05-14T09:26:27-04:00] WARN: Run List override has been provided.
[2013-05-14T09:26:27-04:00] WARN: Original Run List: []
[2013-05-14T09:26:27-04:00] WARN: Overridden Run List: [recipe[teamcity::agent_osx]]
[2013-05-14T09:26:27-04:00] WARN: found a directory cookbook-teamcity in the cookbook path, but it contains no cookbook files. skipping.
Compiling Cookbooks...
[2013-05-14T09:26:27-04:00] WARN: This recipe uses encrypted data bags, which are not supported on Chef Solo - fallback to node attribute.
Converging 14 resources
Recipe: teamcity::agent_osx
* remote_file[/tmp/teamcity-7.1.5.tar.gz] action create_if_missing (up to date)
{"graph":{"type":"line","title":"Memory","refreshEveryNSeconds":"15","datasequences":[{"datapoints":[{"title":"19:59","value":96497664},{"title":"20:00","value":96571392},{"title":"20:01","value":96628736},{"title":"20:02","value":96706560},{"title":"20:03","value":96739328},{"title":"20:04","value":96804864},{"title":"20:05","value":96878592},{"title":"20:06","value":96952320},{"title":"20:07","value":97009664},{"title":"20:08","value":97083392},{"title":"20:09","value":97136640},{"title":"20:10","value":97206272},{"title":"20:11","value":97280000},{"title":"20:12","value":97345536},{"title":"20:13","value":97398784},{"title":"20:14","value":97476608},{"title":"20:15","value":97533952},{"title":"20:16","value":97611776},{"title":"20:17","value":97792000},{"title":"20:18","value":97857536},{"title":"20:19","value":97882112},{"title":"20:20","value":97923072},{"title":"20:21","value":97980416},{"title":"20:22","value":98078720},{"title":"20:23","value":98136064},{"title":"20:24","value":98209792},{"title":"20:
$ vagrant provision
/Users/Adam/.vagrant.d/gems/gems/vagrant-berkshelf-1.2.0/lib/berkshelf/vagrant/action/install.rb:27:in `call': undefined method `berksfile=' for nil:NilClass (NoMethodError)
from /Applications/Vagrant/embedded/gems/gems/vagrant-1.2.1/lib/vagrant/action/warden.rb:34:in `call'
from /Applications/Vagrant/embedded/gems/gems/vagrant-1.2.1/lib/vagrant/action/builtin/provision.rb:45:in `call'
from /Applications/Vagrant/embedded/gems/gems/vagrant-1.2.1/lib/vagrant/action/warden.rb:34:in `call'
from /Applications/Vagrant/embedded/gems/gems/vagrant-1.2.1/lib/vagrant/action/runner.rb:61:in `block in run'
from /Applications/Vagrant/embedded/gems/gems/vagrant-1.2.1/lib/vagrant/util/busy.rb:19:in `busy'
from /Applications/Vagrant/embedded/gems/gems/vagrant-1.2.1/lib/vagrant/action/runner.rb:61:in `run'
from /Applications/Vagrant/embedded/gems/gems/vagrant-1.2.1/lib/vagrant/action/builtin/call.rb:51:in `call'
from /Applications/Vagrant/embedded/gems/gems/vagrant-1.2.1/lib/vagrant/action/warden.r
#!/usr/bin/env sh
source /opt/boxen/env.sh
node /opt/boxen/data/statsd/stats.js /opt/boxen/config/statsd/config.js
$ brew boxen-install irssi
==> Installing irssi dependency: gettext
Installing gettext from S3...
==> Caveats
This formula is keg-only: so it was not symlinked into /opt/boxen/homebrew.
OS X provides the BSD gettext library and some software gets confused if both are in the library path.
Generally there are no consequences of this for you. If you build your
own software and it requires this formula, you'll need to add to your
#!/bin/sh
# Just copy and paste the lines below (all at once, it won't work line by line!)
# MAKE SURE YOU ARE HAPPY WITH WHAT IT DOES FIRST! THERE IS NO WARRANTY!
function abort {
echo "$1"
exit 1
}
set -e