Skip to content

Instantly share code, notes, and snippets.

View gist:7455657
View apt.conf.d tricks
APT::Get::Assume-Yes "true";
APT::Get::force-yes "true";
Acquire::https {
Verify-Peer "false";
Verify-Host "false";
}
View create deb repo
# adhoc
* put all debs in a folder
* dpkg-scanpackages . /dev/null | gzip -9c > Packages.gz
# mini-dinstall
* http://wiki.freegeek.org/index.php/Debian_Package_Repositories
# reprepro
* http://www.debian-administration.org/articles/286
@InformatiQ
InformatiQ / debootstrapvm
Created Feb 7, 2013
creating a debian VM
View debootstrapvm
* qemu-img create -f raw debian-disk.raw 8G
* fdisk debian-disk.raw
** create 1 primary partition
* kpartx -av debian-diak.raw
* mkfs.ext3 /dev/mapper/$disk
* mount /dev/mapper/$disk /mnt/debian
* debootstrap wheezy /mnt/debian
* chroot /mnt/debian
* apt-get install grub2 vim linux-image-amd64 udev openssh-server
* create fstab
View pitching
# Pitch Perfect
## Content
A pitch is not a presentation. In a presentation your audience are there to listen and have been prepared to spend time listening to you and only you, while in a pitch you are fighting for their attention and a place in their memory. Your pitch will hopefully last for more than one minute, but you do not get more than one minute to convince them to listen to you further.
* Less is more
The longer you talk the less attention you get.
Get the most important points across in the first minute.
View gist:2f38795a3c547ffc22d7
librato -- failed to send metrics : Did not recognize your adapter specification (libruby-1.9.1.so.1.9: cannot open shared object file: No such file or directory - /opt/sensu/embedded/lib/ruby/gems/2.0.0/gems/json-1.8.1/lib/json/ext/parser.so).\n
/opt/sensu/embedded/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:53:in `require'\n
\t/opt/sensu/embedded/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:53:in `require'\n
\t/opt/sensu/embedded/lib/ruby/gems/2.0.0/gems/json-1.8.1/lib/json/ext.rb:13:in `<module:Ext>'\n
\t/opt/sensu/embedded/lib/ruby/gems/2.0.0/gems/json-1.8.1/lib/json/ext.rb:12:in `<module:JSON>'\n
\t/opt/sensu/embedded/lib/ruby/gems/2.0.0/gems/json-1.8.1/lib/json/ext.rb:9:in `<top (required)>'\n
\t/opt/sensu/embedded/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:53:in `require'\n
\t/opt/sensu/embedded/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:53:in `require'\n
\t/opt/sensu/embedded/lib/ruby/gems/2.0.0/gems/multi_json-1.10.1/lib/multi_json/adapters/json_gem.rb:1:in `<top (requi
View gist:d559380ab1151785b87b
### Keybase proof
I hereby claim:
* I am informatiq on github.
* I am rhanna (https://keybase.io/rhanna) on keybase.
* I have a public key whose fingerprint is 04D0 FD94 F589 DC1F EF4A 699B 5FAD E117 27D5 B74D
To claim this, I am signing this object: