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
mikekasprzak / clean.sh
Created Jul 12, 2017 — forked from flyinprogrammer/clean.sh
Ubuntu vagrant cleanup script
View clean.sh
#!/bin/bash
# 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
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
mikekasprzak / chromium.sh
Last active Oct 16, 2016
Gets the latest version of Chromium, and installs it in the current directory
View chromium.sh
#!/bin/bash
# chromium.sh - 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/configure.ac openlitespeed-1.4.12-ARM/configure.ac
--- openlitespeed-1.4.12/configure.ac 2015-10-19 14:37:38.000000000 -0400
+++ openlitespeed-1.4.12-ARM/configure.ac 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
- OPENLSWS_LIBDIR=lib
- else
View gist:0e6d1d4409c223f4aa76
alias sharecode='curl -si -F '\''content=<-'\'' http://dpaste.com/api/v1/ | grep ^Location: | colrm 1 10'
You can’t perform that action at this time.