Skip to content

Instantly share code, notes, and snippets.

View alainmeier's full-sized avatar

Alain Meier alainmeier

View GitHub Profile
#!/usr/bin/perl -w
use Getopt::Std;
getopts("m:h:");
$mapfile = "/z/www/redir.txt";
$htaccess = "/z/www/.htaccess";
$hostname = `hostname`; chomp $hostname;
if ($opt_m) {

Keybase proof

I hereby claim:

  • I am alainmeier on github.
  • I am alainmeier (https://keybase.io/alainmeier) on keybase.
  • I have a public key whose fingerprint is 9DA7 D2C9 F246 840E 98AB 63E2 9692 1E0F 75E6 C07B

To claim this, I am signing this object:

Verifying I am +alain on my passcard. https://onename.com/alain
@media only screen and (min--moz-device-pixel-ratio: 1.5), /* Gecko */
only screen and (-o-min-device-pixel-ratio: 3/2), /* Opera */
only screen and (-webkit-min-device-pixel-ratio: 1.5), /* Webkit */
only screen and (min-device-pixel-ratio: 1.5), /* Webkit */
only screen and (min-resolution: 144dpi) /* W3 */
{
.button-icon {
background-image: url("path/to/image/name@2x.png");
background-size: 16px 16px;
}
-----BEGIN PGP PUBLIC KEY BLOCK-----

mQINBFZgoscBEADQN8K6qYDsqPirNSc0p2W6KouoYqICb73Xc4oFAmQv24lnAXfj
Zt7AS3APsc3Y3WZ7v7LLUYgcp1k6xn9F8PPHdhHLxnKJl377CnZpE9D4YVABNt8c
wAw4Osf3KLo4ladihZYOjS70V0sLJA6lq+reyitG+nVTuJ7q5nQbTGYQQVgIeOCc
NJjfjarOfzzsXAbAnglpi03t7ULBPbQMkgWGRbufkpri08JFFTm8RdbAAQYFq5RE
xKfh7tqmzDutzP9dZcvjiJciGmMkbO+WKGxvO+DVBQSb7MlqhJ60nP9/sogpXCzs
loEFflqaj2TIgyUPGWk9w05ozR5ctHEOGvSDGx/BpgzqWWFrQ7Q6Oa1CYCp0m4U4
6N+rgmXL6tuWqecHEXkE0J82oPsm65g4CVCWEI+VP/1cpPqoCRlf/7Xn5EDd9VGz
*.absolutepictures.com http://ugo.com
*.actressarchives.com http://ugo.com
*.allmoviephoto.com http://ugo.com
*.allmovieportal.com http://ugo.com
*.atpictures.com http://ugo.com
*.celebritywonder.com http://ugo.com
*.moono.com http://ugo.com
10.ign.com http://ten.ign.com
131135 http://media3.foxnews.com
EXACT=149863 http://cheapgaskc.com
@alainmeier
alainmeier / mtgox.php
Created March 3, 2014 06:25
This is an alleged dump of some of MtGox.com's source code.
<?php
namespace Money;
class Bitcoin {
#const BITCOIN_NODE = '173.224.125.222'; // w001.mo.us temporary
const BITCOIN_NODE = '50.97.137.37';
static private $pending = array();
public static function update() {