Skip to content

Instantly share code, notes, and snippets.

View 0112358132134-my's full-sized avatar

0112358132134 0112358132134-my

  • somewhere
View GitHub Profile

Keybase proof

I hereby claim:

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

To claim this, I am signing this object:

@0112358132134-my
0112358132134-my / purge.sh
Created January 12, 2016 09:16 — forked from adrienbrault/purge.sh
Script to reduce VM size before packaging for vagrant
#!/bin/sh
# Credits to:
# - http://vstone.eu/reducing-vagrant-box-size/
# - https://github.com/mitchellh/vagrant/issues/343
aptitude -y purge ri
aptitude -y purge installation-report landscape-common wireless-tools wpasupplicant ubuntu-serverguide
aptitude -y purge python-dbus libnl1 python-smartpm python-twisted-core libiw30
aptitude -y purge python-twisted-bin libdbus-glib-1-2 python-pexpect python-pycurl python-serial python-gobject python-pam python-openssl libffi5
# to generate your dhparam.pem file, run in the terminal
openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048
set nocompatible " Disable vi-compatibility
set t_Co=256
colorscheme xoria256
set guifont=menlo\ for\ powerline:h16
set guioptions-=T " Removes top toolbar
set guioptions-=r " Removes right hand scroll bar
set go-=L " Removes left hand scroll bar
set linespace=15