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 | |
# warmly.sh | |
# A wget based, easy, poor man`s cache warmer script | |
# https://gist.github.com/thomasfr/7926314 | |
# The MIT License (MIT) | |
# | |
# Copyright (c) 2013,2014 Thomas Fritz <[email protected]> (http://fritzthomas.com) | |
# |
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 defined(WIN32) | |
#elif defined(__MACH__) | |
static inline unsigned short bswap_16(unsigned short x) { | |
return (x>>8) | (x<<8); | |
} | |
static inline unsigned int bswap_32(unsigned int x) { | |
return (bswap_16(x&0xffff)<<16) | (bswap_16(x>>16)); | |
} |
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
Tiny_RayTracing.ps by Takashi Hayakawa ([email protected]) | |
is a ray tracing program in only 762 bytes (plus header)! | |
BEST OBFUSCATED ARTWORK -- 1st prize | |
-- The 2nd most coveted prize. These combine obfuscation with great artwork. | |
Don't send this one to a printer. It will take too long. Display it | |
on the screen and be ready to wait a while. The picture is well worth it. | |
If you want to print the picture much faster, use Tiny_RayTracing_Fast.ps instead. |
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
#!/usr/bin/python | |
# Copyright 2007 by Tobia Conforto <[email protected]> | |
# | |
# This program is free software; you can redistribute it and/or modify it under the terms of the GNU General | |
# Public License as published by the Free Software Foundation; either version 2 of the License, or (at your | |
# option) any later version. | |
# | |
# This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the | |
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |