Skip to content

Instantly share code, notes, and snippets.

Mike Kasprzak mikekasprzak

Block or report user

Report or block mikekasprzak

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
mikekasprzak /
Created Jul 12, 2017 — forked from flyinprogrammer/
Ubuntu vagrant cleanup script
# Unmount project
umount /vagrant
# Tell installer to keep en_US
echo en_US > /etc/locale.gen
# Install localepurge - NO dpkg
apt-get install -y localepurge
apt-get remove -y pollinate overlayroot fonts-ubuntu-font-family-console cloud-init python-apport landscape-client juju chef open-vm-tools localepurge
mikekasprzak /
Last active Oct 16, 2016
Gets the latest version of Chromium, and installs it in the current directory
# - Runs the currently installed version of Chromium, without setuid, and in a different settings folder
.chromium-linux/chrome --user-data-dir=~/.config/chromium-canary --disable-setuid-sandbox &
View OpenLiteSpeed 1.4.12 ARM Patch
diff -rupN openlitespeed-1.4.12/ openlitespeed-1.4.12-ARM/
--- openlitespeed-1.4.12/ 2015-10-19 14:37:38.000000000 -0400
+++ openlitespeed-1.4.12-ARM/ 2015-10-19 23:24:19.577309207 -0400
@@ -178,15 +178,21 @@ AC_ARG_WITH([libdir],
[OPENLSWS_LIBDIR="$withval"], [
OSTYPE=`uname -m`
OSNAME=`uname -s`
- if test "$OSNAME" != Linux ; then
- else
View gist:0e6d1d4409c223f4aa76
alias sharecode='curl -si -F '\''content=<-'\'' | grep ^Location: | colrm 1 10'
You can’t perform that action at this time.