Skip to content

Instantly share code, notes, and snippets.

@stefancrain
stefancrain / convert.sh
Created February 14, 2015 00:39
Fastest image converter on osx
#!/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]%/}
#!/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 December 14, 2015 13:09
Linux Setup for Bluebird in BASH
#!/bin/bash
# run with sudo ./initial_setup.sh
cd ~/
sudo apt-get update
sudo apt-get upgrade -y
# install some basic programs