Skip to content

Instantly share code, notes, and snippets.

@jcldavid
jcldavid / Doom.flf
Last active December 17, 2015 18:19
flf2a$ 8 6 14 15 16
DOOM by Frans P. de Vries <[email protected]> 18 Jun 1996
based on Big by Glenn Chappell 4/93 -- based on Standard
figlet release 2.1 -- 12 Aug 1994
Permission is hereby given to modify this font, as long as the
modifier's name is placed on a comment line.
Explanation of first line:
flf2 - "magic number" for file identification
a - should always be `a', for now
@jcldavid
jcldavid / apc.php
Created April 26, 2013 01:00
The APC file supposed to be packaged with PHP APC.
<?php
/*
+----------------------------------------------------------------------+
| APC |
+----------------------------------------------------------------------+
| Copyright (c) 2006-2008 The PHP Group |
+----------------------------------------------------------------------+
| This source file is subject to version 3.01 of the PHP license, |
| that is bundled with this package in the file LICENSE, and is |
| available through the world-wide-web at the following url: |
<?php
echo 'hello world!';
@jcldavid
jcldavid / vpn.sh
Created January 14, 2013 19:51 — forked from alvinl/vpn.sh
#!/bin/bash
apt-get update
apt-get install pptpd -y
echo localip 192.168.240.1 >> /etc/pptpd.conf
echo remoteip 192.168.240.2-9 >> /etc/pptpd.conf
echo ms-dns 8.8.8.8 >> /etc/ppp/pptpd-options
echo ms-dns 8.8.4.4 >> /etc/ppp/pptpd-options
echo "vpn pptpd pass123 *" | tee -a /etc/ppp/chap-secrets
/etc/init.d/pptpd restart