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
## This is an 'Include' style gapps-config in 3 sections that: | |
## 1. Lists the stock apps to remove. Yes, just list them in an Include style config too. | |
## 2. Forces install of the stock apps listed. The + prevents these being uninstalled by accident, like listing them in 1 above. | |
## 3. Installs only the Google Apps we list. https://github.com/opengapps/opengapps/wiki/Advanced-Features-and-Options | |
Include | |
## Skip installing swype keyboard libs, we use the stock keyboard which does not support it | |
skipswypelibs |
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/sh | |
# Cron script to telnet to ircd and log output of commands so we can run stats | |
# TODO: Clean this up so it just updates /var/www/htdocs/member/Strykar/images/ircdstats.sh_irc.hackerzlair.org.rrd | |
MYHOST=localhost | |
# This is inefficient and needs to change. | |
# Currently awk-drops first 3 columns and prints server date:time:tz, uptime and connection count | |
# geckoo www.hackerzlair.org :Tuesday December 18 2012 -- 05:08:54 -06:00 | |
# geckoo :Server Up 62 days, 22:28:41 | |
# geckoo :Highest connection count: 11 (9 clients) (381 connections received) |
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
# Exclude style gapps-config | |
AndroidForWork | |
AndroidPay | |
Books | |
CalSync | |
Chrome | |
CloudPrint | |
Docs | |
DMAgent |
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/sh | |
# Start/stop/restart the Dovecot PoP/IMAP server daemon. | |
# Sanity check. If either /usr/local/sbin/dovecot or /usr/local/etc/dovecot.conf | |
# aren't ready, it doesn't make much sense to try to run this script. | |
if [ ! -x /usr/local/sbin/dovecot ]; then | |
echo "/etc/rc.d/rc.dovecot: no /usr/local/sbin/dovecot found (or not executable); cannot start." | |
exit 1 | |
elif [ ! -f /usr/local/etc/dovecot.conf ]; then | |
echo "/etc/rc.d/rc.dovecot: no /usr/local/etc/dovecot.conf found; cannot start /usr/local/sbin/dovecot." |
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/sh | |
#Tight rc.firewall configuration | |
#Author - Avinash Duduskar 15/03/06 | |
#This uses a dynamic flatfile called /etc/hosts.deny as a block list | |
touch /etc/hosts.deny | |
# Define our interface, static IP and DNS servers to tighten UDP | |
IP="66.141.68.217" | |
INT="eth0" | |
DNS1="151.164.23.201" |
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
*** General *** | |
owner = Avinash Duduskar | |
contact = strykar@hotmail.com | |
imgcache = /opt/smokeping/htdocs/img | |
imgurl = img | |
datadir = /opt/smokeping/htdocs/data | |
piddir = /opt/smokeping/htdocs/var | |
cgiurl = http://192.168.1.44/smokeping/smokeping.fcgi |
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
tar -chf - foo/ | xz -9 -c - > foo.tar.xz |
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/sh | |
# | |
# Simple script to start TF2 server | |
# Sat Dec 8 17:43:19 IST 2012 | |
# | |
# NOTE: This expects the TF2 server to be run as user "tf2server" | |
# | |
# Ensure this script is run as tf2server (EUID 500) only. | |
if [[ $EUID -ne 500 ]]; then | |
echo "This script can ONLY be run as user: tf2server" |
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/sh | |
#Script to rsync Slackware security updates and check their signatures | |
#rsync -F --exclude="*mkinit*" -av --progress rsync://rsync.osuosl.org/slackware/slackware-12.2/patches/packages/ . | |
#rsync -F --exclude="*mkinit*" --exclude='linux-3.10.17-2' -av --progress rsync://rsync.osuosl.org/slackware/slackware64-14.1/patches/packages/ . | |
UPDIR=/tmp/updates | |
/usr/bin/rsync -F --exclude-from '$UPDIR/exclude.txt' -avh rsync://rsync.osuosl.org/slackware/slackware64-14.1/patches/packages/ $UPDIR | |
printf '%s\n' 'RSYNC COMPLETE! VERIFYING GPG SIGNATURES NOW PLS WAIT...' |
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/sh | |
# | |
# create and maintain a local mirror of a remote rsync directory | |
# ex. rsync://mirror.its.dal.ca/debian/dists/sid/ | |
# run daily in cron '0 2 * * * /path/to/update.sh > /dev/null 2>&1' | |
# strykar <strykar@hotmail.com> date 1109945833 | |
# define local mirror path and exclude.txt, a newline list like: *.txt | |
# do not add anything to the _targetpath dir, it will get deleted the next sync |