Skip to content

Instantly share code, notes, and snippets.

@pau
pau / gist:1148444
Created August 16, 2011 04:41
Ubuntu 10.04 LTS 64-bit Flash Install
sudo add-apt-repository ppa:sevenmachines/flash && sudo apt-get update && sudo apt-get install flashplugin64-installer
@pau
pau / pip-upgrade-all.sh
Created July 9, 2012 17:50
Upgrade All PyPI Packages
# pip freeze to list packages
# grep -v '\-e' to exclude packages in edit mode
# cut -d= -f1 to get the package name only
# xargs pip install -U to upgrade all packages
$ pip freeze | grep -v '\-e' | cut -d= -f1 | xargs pip install -U
@pau
pau / install-vbox-vagrant.sh
Created July 16, 2012 06:14
Installing Virtual Box and Vagrant
$ cd /tmp
$ wget http://download.virtualbox.org/virtualbox/4.1.18/virtualbox-4.1_4.1.18-78361~Ubuntu~precise_amd64.deb
$ sudo dpkg -i virtualbox-4.1_4.1.18-78361~Ubuntu~precise_amd64.deb
$ wget http://files.vagrantup.com/packages/eb590aa3d936ac71cbf9c64cf207f148ddfc000a/vagrant_1.0.3_x86_64.deb
$ sudo dpkg -i vagrant_1.0.3_x86_64.deb
$ sudo ln -s /opt/vagrant/bin/vagrant /usr/local/bin/
$ vagrant box add lucid32 http://files.vagrantup.com/lucid32.box
@pau
pau / build-run-salt.sh
Created July 16, 2012 06:58
Building and Running Salt
vagrant@lucid32$ cd ~
vagrant@lucid32$ mkdir virtualenvs
vagrant@lucid32$ cd virtualenvs
vagrant@lucid32$ virtualenv salt-dev
vagrant@lucid32$ . salt-dev/bin/activate
(salt-dev)vagrant@lucid32$ cd ~
(salt-dev)vagrant@lucid32$ sudo aptitude install swig g++ python-dev uuid-dev make
(salt-dev)vagrant@lucid32$ wget http://download.zeromq.org/zeromq-2.2.0.tar.gz
(salt-dev)vagrant@lucid32$ tar xzvf zeromq-2.2.0.tar.gz
root@nginx-luameter-demo:~# lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 14.04.2 LTS
Release:	14.04
Codename:	trusty
@pau
pau / keybase.md
Created May 22, 2017 02:25
keybase.md

Keybase proof

I hereby claim:

  • I am pau on github.
  • I am pau (https://keybase.io/pau) on keybase.
  • I have a public key whose fingerprint is C16B 4E06 3873 E32B 7548 53C7 B043 EAF0 F80F 0269

To claim this, I am signing this object: