Skip to content

Instantly share code, notes, and snippets.

View bobagold's full-sized avatar
💁‍♂️
Working with dart+flutter

Vladimir Goldobin bobagold

💁‍♂️
Working with dart+flutter
View GitHub Profile
@bobagold
bobagold / gist:3870607
Created October 11, 2012 06:36
javascript-style closure scope in php
call_user_func(function() { ... });
@adrienbrault
adrienbrault / purge.sh
Created September 24, 2012 10:02
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
@bobagold
bobagold / gist:3774732
Created September 24, 2012 07:17
how to checkout dev branch, if you have dev folder
git checkout -b dev origin/dev