Skip to content

Instantly share code, notes, and snippets.

View mikekasprzak's full-sized avatar
🐢
I'm slow to respond.

Mike Kasprzak mikekasprzak

🐢
I'm slow to respond.
View GitHub Profile
@mikekasprzak
mikekasprzak / gist:0e6d1d4409c223f4aa76
Created October 17, 2015 08:06
Share code, fixed
alias sharecode='curl -si -F '\''content=<-'\'' http://dpaste.com/api/v1/ | grep ^Location: | colrm 1 10'
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
@mikekasprzak
mikekasprzak / chromium.sh
Last active October 16, 2016 18:45
Gets the latest version of Chromium, and installs it in the current directory
#!/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 &
@mikekasprzak
mikekasprzak / clean.sh
Created July 12, 2017 22:51 — forked from flyinprogrammer/clean.sh
Ubuntu vagrant cleanup script
#!/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