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
function ll() { | |
if [ "$*" == "" ] | |
then | |
input=./ | |
else | |
input=$* | |
fi | |
ls "$input" -lah --color | awk '{ | |
k = 0 |
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 | |
if [ $# -lt 3 ] | |
then | |
echo "Useage: [string] [loops] [interval]" | |
else | |
STRING=$1 | |
COUNTER=$2 | |
INTERVAL=$3 | |
if [ "$(screen -ls | grep TS3client)" == "" ] |
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
<?php | |
{// Start Timer | |
$time = microtime(); | |
$time = explode(' ', $time); | |
$time = $time[1] + $time[0]; | |
$start = $time; | |
} | |
{// Preamble | |
////////////////////////////////////////////////////////////////////////////////////// |
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
# Memory Stick Backup Syncronisation script | |
# By Joel Matthewman 08/11/2012 | |
# | |
# Customizations: | |
# Ln 13 path to SyncToyCMD.exe (you may need to change to x86 or other obscure location) | |
# Ln 23 Location of dropbox.exe | |
# Ln 29 Drive definitions with drive letter and name, and names of any SyncPairs to syncronise | |
# | |
# |
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 | |
recognise() { | |
prefix="${srv%%-*}" | |
prefix="${prefix^^}" | |
case $prefix in | |
"CSS") { # CounterStrike: Source | |
game="CounterStrike: Source" | |
CSS-start() { | |
if [ $startupvars = $srv ] | |
then |