This file contains hidden or 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
<VirtualHost *:80> | |
ErrorDocument 404 /.EverythingIsCatchingOnEverythingIsCatchingOnFire/404/index.php | |
ErrorDocument 410 /.EverythingIsCatchingOnEverythingIsCatchingOnFire/410/index.php | |
Alias /.EverythingIsCatchingOnEverythingIsCatchingOnFire /var/www/hosts/errors | |
DocumentRoot /var/www/ | |
AddType text/html .shtml |
This file contains hidden or 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 | |
// @todo: deal with multiple options a bit better. | |
header("HTTP/1.1 404 File Not Found"); | |
$purl = parse_url($_SERVER['REQUEST_URI']); | |
$host = $_SERVER['HTTP_HOST']; |
This file contains hidden or 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
find $HOME -type d -name .git -exec uncommited-dir.sh {} \; |
This file contains hidden or 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 | |
GITPATH=$1 | |
DIRNAME=`dirname $1` | |
REPONAME=`basename $DIRNAME` | |
TMPFILE=`mktemp -t uncommited.XXXXXXXXXX` | |
cd $DIRNAME; | |
if [[ -e .uncommitted-ignore ]];then | |
exit |
This file contains hidden or 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 | |
function rule34($target){ | |
if (is_a($target, "Exception")){ | |
throw Exception("NO EXCEPTIONS"); | |
} | |
} |
This file contains hidden or 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
from map.pathfinding.route import Route | |
from PIL import Image, ImageDraw | |
def drawCross(coords, image, color=255, size=10, width=3): | |
draw = ImageDraw.Draw(image) | |
cross1 = [ (coords[0]-size, coords[1]-size), (coords[0]+size, coords[1]+size) ] | |
cross2 = [ (coords[0]+size, coords[1]-size), (coords[0]-size, coords[1]+size) ] |
This file contains hidden or 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( // #IsPounds: | |
iferror( // #FindPoundSign | |
find("£",TO_TEXT(E2), // This will error out if it isn't there. | |
1) // #IsPounds:True (returned by Find) | |
,0 // #IsPounds:No (returned by iferror) | |
), // End iferror#FindPoundSign | |
// This is the result if #IsPounds:True | |
E2, // return it in the cell. #GAMEOVER | |
// if #IsPounds:False: | |
( // #GetCurrencyConversion: |
This file contains hidden or 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
[ServerSettings] | |
RCONPort=32330 | |
PvEDinoDecayPeriodMultiplier=1.000000 | |
KickIdlePlayersPeriod=2400.000000 | |
PerPlatformMaxStructuresMultiplier=1.000000 | |
AutoSavePeriodMinutes=15.000000 | |
ListenServerTetherDistanceMultiplier=1.000000 | |
MaxTamedDinos=5000.000000 | |
RCONServerGameLogBuffer=600.000000 | |
RCONEnabled=True |
This file contains hidden or 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
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC537ASR1QeJ/9lhzqzyFxklqVhdVQnAR18Qq5DvGRRzUuARfAFR895xBJePWMZQ5amlTXdy4GOOyUWQwHdm/gbFHy1PNoj/dipmE7eJ0HsRA/H3ACMlsSm6mpU3glB/23DIsNrSeRQBroSfRcF4Im8C480Tg1TpwGmSTKSrsBgLLqpNUsJ18MPjfS+/GrFFXkgWAktVtgFa6BaYiTRq6gXWALA6dLRtaq7Ccne0t1sn94Gg5AHFQKnDj61aTb0IkgBtNJ0hEIAqL1E93qXesrfckmR7pP6TWSf84l4Hl4wJiYAM1e7unX9kjTfCclfk3oSO2ik5gvcpsQkgIeOvT+P [email protected] |
OlderNewer