Skip to content

Instantly share code, notes, and snippets.

Avatar

Stefan Crain stefancrain

View GitHub Profile
@stefancrain
stefancrain / convert.sh
Created Feb 14, 2015
Fastest image converter on osx
View convert.sh
#!/bin/bash
# 2015 Stefan Crain - stefancrain@gmail.com
# Find all image files and convert them to a jpgs with sips
# OSX only
#
# Usage
# ./convert.sh toScan/ Output/
parsedCLI=("$@")
scandir=${parsedCLI[0]%/}
View install.sh
#!/bin/bash
# largly from
# http://www.nickyeoman.com/blog/system-administration/184-installing-owncloud-on-ubuntu-1204
#Setup Server
sudo su
# make sure you have dependentcies
apt-get install -y apache2 php5 php5-gd php-xml-parser php5-sqlite libcurl3-dev php5-ldap php5-curl libsqlite0 unzip sqlite-doc libsqlite0 mp3info sqlite unzip zip git wget lm-sensors hddtemp sysstat iptraf
vi /etc/apache2/httpd.conf
@stefancrain
stefancrain / gist:5091689
Last active Dec 14, 2015
Linux Setup for Bluebird in BASH
View gist:5091689
#!/bin/bash
# run with sudo ./initial_setup.sh
cd ~/
sudo apt-get update
sudo apt-get upgrade -y
# install some basic programs
You can’t perform that action at this time.