View webmin.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Adds the Webmin apt repository then installs Webmin and dependencies | |
# Tested on: Ubuntu Server 14.10 - x64 + x86 / 2 Cores / 2GB RAM / 20 GB SSD / VPS | |
# ==> MAIN PROGRAM <== | |
set -e | |
cat >>/etc/apt/sources.list.d/webmin.list <<EOF | |
# webmin | |
deb http://download.webmin.com/download/repository sarge contrib | |
EOF |
View ownCloud.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Installs ownCloud and setup the MySQL Database on Ubuntu 14.10 | |
# Tested on: Ubuntu Server 14.10 - x64 + x86 / 2 Cores / 2GB RAM / 20 GB SSD / VPS | |
# ==> USER VARIABLES <== | |
# mysql variables | |
MYSQL_ROOT_PASS="root" | |
DB_NAME="owncloud" | |
DB_USER="owncloud" | |
DB_USER_PASS="owncloud" |
View MediaWiki.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Installs MediaWiki, LAMP, and setup the MySQL Database on Ubuntu 14.10 | |
# Tested on: Ubuntu Server 14.10 - x64 / 2 Cores / 2GB RAM / 20 GB SSD / VPS | |
# ==> USER VARIABLES <== | |
MYSQL_ROOT_PASSWORD="root" | |
DB_NAME="mediawiki" | |
DB_USER="mediawiki" | |
DB_USER_PASSWORD="mediawiki" |
View insurgency.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Name: install-insurgency.sh | |
# Version: 1.0 | |
# Author: rcguy | |
# Updated: 03.09.2015 | |
# Tested on: Ubuntu Server 14.10 x64 / 2 Cores / 2GB RAM / 20 GB SSD | |
# ==> USER VARIABLES <== | |
STEAM_USER="steam" # user to run the game-server |
View LAMP_phpMyAdmin.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Installs LAMP and phpmyadmin on Ubuntu 14.10 | |
# Tested on: Ubuntu Server 14.10 - x64 + x86 / 2 Cores / 2GB RAM / 20 GB SSD / VPS | |
# ==> MAIN PROGRAM <== | |
set -e | |
# mysql variables | |
MYSQL_ROOT_PASS="root" |
View rTorrent_ruTorrent_v3.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Install and setup: new rtorrent user, apache2, XMLRPC, rTorrent, Libtorrent, ruTorrent. | |
# Tested on: Ubuntu Server 14.10 x64 / 4 Cores / 4GB RAM / 20 GB SSD | |
# ==> VARIABLES <== | |
# Software Versions | |
LIBTORRENT_VER="0.13.6" | |
RTORRENT_VER="0.9.6" | |
RUTORRENT_VER="3.7" | |
RUTORRENT_PLUGINS_VER="3.6" |
View playAudio.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<audio id="audio1" src="audio1.ogg" autobuffer></audio> | |
<script> | |
var aid = document.getElementById("audio1"); | |
aid.volume = 0.2; | |
function EvalSound(soundobj) { | |
var thissound=document.getElementById(soundobj); |
View build-rtl.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
sudo apt-get update | |
sudo apt-get upgrade | |
sudo printf 'blacklist dvb_usb_rtl28xxu\nblacklist rtl2832\nblacklist rtl2830' > /etc/modprobe.d/nortl.conf | |
sudo apt-get install git-core git cmake libusb-1.0-0-dev build-essential -y | |
git clone git://git.osmocom.org/rtl-sdr.git | |
cd rtl-sdr | |
mkdir build | |
cd build | |
cmake ../ -DINSTALL_UDEV_RULES=ON |
View lazyload.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* lazyload.js (c) Lorenzo Giuliani | |
* MIT License (http://www.opensource.org/licenses/mit-license.html) | |
* | |
* expects a list of: | |
* `<img src="blank.gif" data-src="my_image.png" width="600" height="400" class="lazy">` | |
*/ | |
!function(window){ | |
var $q = function(q, res){ | |
if (document.querySelectorAll) { |
View compile-nginx.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Dependencies | |
# * checkinstall: package the .deb | |
# * libpcre3, libpcre3-dev: required for HTTP rewrite module | |
# * zlib1g zlib1g-dbg zlib1g-dev: required for HTTP gzip module | |
# vars | |
PAGESPEED_VER="1.11.33.2" | |
OPENSSL_VER="1.0.2h" |
OlderNewer