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 | |
while true; do | |
wget -O /dev/null --quiet --connect-timeout=2 www.adelaide.edu.au --tries=1 | |
if [[ $? -eq 0 ]]; then | |
echo "$(date +%Y-%m-%d:%H:%M:%S) success" | |
else | |
echo "$(date +%Y-%m-%d:%H:%M:%S) fail" | |
fi | |
done |
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 | |
$schedule = json_decode('{ | |
"ballmark" : { | |
"2016-03-14": "unisay", | |
"2016-03-21": "discosaur" | |
}, | |
"discosaur" : { | |
"2016-03-14": "phoenix", | |
"2016-03-21": "ballmark" |
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
#include <ESP8266WiFi.h> | |
const char ssid[] = "28 Fort Avenue"; | |
const char password[] = "radelaide"; | |
const unsigned long sleepTime = 60; | |
int controlA = 12; | |
int controlB = 14; |
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
--- uasm_prd_structure.sql 2016-02-19 13:28:09.151761615 +1030 | |
+++ uasm_dev_structure.sql 2016-02-19 13:31:05.983826225 +1030 | |
@@ -1,8 +1,8 @@ | |
--- MySQL dump 10.14 Distrib 5.5.44-MariaDB, for debian-linux-gnu (x86_64) | |
+-- MySQL dump 10.13 Distrib 5.6.28, for debian-linux-gnu (x86_64) | |
-- | |
--- Host: 172.17.42.1 Database: uasm5 | |
+-- Host: mysql Database: site_manager | |
-- ------------------------------------------------------ | |
--- Server version 5.5.37-MariaDB-wsrep-log |
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
[color] | |
filemode = false | |
diff = auto | |
status = auto | |
branch = auto | |
pager = true | |
[alias] | |
b = branch | |
ci = commit | |
co = checkout |
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 | |
function __robo_list_cmds () | |
{ | |
if [ ! -e /tmp/robo_commands ]; then | |
robo list --raw | awk '{print $1}' | sort > /tmp/robo_commands | |
fi | |
cat /tmp/robo_commands | |
} | |
function __robo_list_opts () |
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 | |
/** | |
* Implementation of class for Robo - http://robo.li/ | |
* | |
* To Install robo: | |
* wget -O bin/robo http://robo.li/robo.phar | |
* chmod +x bin/robo | |
* | |
*/ |
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
How to install Quake III on linux | |
1. Install the Quake 3 Arena package | |
> sudo apt-get install quake3 | |
2. Download the data and installer packages: | |
> wget http://10.27.141.39/pak0.pk3 | |
> wget http://10.27.141.39/linuxq3apoint-1.32b-3.x86.run |
NewerOlder