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
header('Access-Control-Allow-Origin: '.$_SERVER['HTTP_ORIGIN']); | |
header('Access-Control-Allow-Methods: GET, PUT, POST, DELETE, OPTIONS'); | |
header('Access-Control-Max-Age: 1000'); | |
header('Access-Control-Allow-Headers: Content-Type, Authorization, X-Requested-With'); |
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 | |
// RegEXP | |
// @(https?://([-\w\.]+[-\w])+(:\d+)?(/([\w/_\.#-\+]*(\?\S+)?[^\.\s])?)?)@ | |
$string = "Whatever!"; | |
$new_string = preg_replace('@(https?://([-\w\.]+[-\w])+(:\d+)?(/([\w/_\.#-\+]*(\?\S+)?[^\.\s])?)?)@', '<a href="$1" target="_blank">$1</a>', $string ); |
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
[playlist] | |
NumberOfEntries=4 | |
File1=http://slacker.cvgm.net:8000/cvgm128 | |
File2=http://relay3.slayradio.org:8000/ | |
File3=http://radio.modules.pl:8500/ | |
File4=http://audio.misproductions.com:80/japan128k |
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 eth0 | |
iface eth0 inet dhcp |
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
{ | |
"metadata" : | |
{ | |
"formatVersion" : 3.1, | |
"generatedBy" : "Blender 2.65 Exporter", | |
"vertices" : 8637, | |
"faces" : 4778, | |
"normals" : 8242, | |
"colors" : 3, |
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
/** | |
* Static Quad Tree | |
* This is a one-way tree that only allows insertion for maximum efficiency. | |
* @author David Overcash <funnylookinhat@gmail.com> | |
* Credit to https://github.com/mikechambers/ExamplesByMesh for a great example. | |
*/ | |
(function(exports) { | |
var Node = (function (constructParams) { | |
var _MAX_ITEMS = 4; |
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
/** | |
* Static Quad Tree | |
* This is a one-way tree that only allows insertion for maximum efficiency. | |
* @author David Overcash <funnylookinhat@gmail.com> | |
* Credit to https://github.com/mikechambers/ExamplesByMesh for a great example. | |
*/ | |
(function(exports) { | |
var Node = function (xMin,xMax,yMin,yMax) { | |
this._quad = { |
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
/** | |
* Static Quad Tree | |
* This is a one-way tree that only allows insertion for maximum efficiency. | |
* @author David Overcash <funnylookinhat@gmail.com> | |
* Credit to https://github.com/mikechambers/ExamplesByMesh for a great example. | |
*/ | |
(function(exports) { | |
var Node = (function (constructParams) { | |
var _MAX_ITEMS = 4; |
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 | |
# Add it to your $PATH for extra fun! | |
for FILE in $(find ./* | grep ".php"); do php -l "$FILE"; 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
<IfModule mod_ssl.c> | |
SSLRandomSeed startup builtin | |
SSLRandomSeed startup file:/dev/urandom 512 | |
SSLRandomSeed connect builtin | |
SSLRandomSeed connect file:/dev/urandom 512 | |
AddType application/x-x509-ca-cert .crt | |
AddType application/x-pkcs7-crl .crl |