A very basic regex-based Markdown parser. Supports the
following elements (and can be extended via Slimdown::add_rule()):
- Headers
- Links
- Bold
| <?php | |
| include("/var/www/vhosts/xxxxxcom/httpdocs/PHPUtils/dbConfig.php"); | |
| include("/var/www/vhosts/xxxxxcom/httpdocs/PHPUtils/DButils.php"); | |
| // verifies receipt from iOS in-app purchase | |
| // returns: | |
| // 0 - if params missing | |
| // 1 - if receipt is valid | |
| // 2 - if invalid receipt, or invalid response from verification server | |
| // or bundle/in-app IDs are incorrect |
| # Compile PCRE - Perl Compatible Regular Expressions | |
| cd /usr/local/src | |
| curl -O ftp://ftp.csx.cam.ac.uk//pub/software/programming/pcre/pcre-8.31.tar.gz | |
| tar -xvzf pcre-8.31.tar.gz | |
| cd pcre-8.31 | |
| ./configure | |
| make | |
| sudo make install | |
| # Compile Autoconf |
A very basic regex-based Markdown parser. Supports the
following elements (and can be extended via Slimdown::add_rule()):
This is a simple way to backup your MySQL tables to Amazon S3 for a nightly backup - this is all to be done on your server :-)
Sister Document - Restore MySQL from Amazon S3 - read that next
this is for Centos 5.6, see http://s3tools.org/repositories for other systems like ubuntu etc
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <!-- | |
| A simple example of PIN-based oauth flow with Twitter and jsOAuth. | |
| This is mostly based on/copied from <http://log.coffeesounds.com/oauth-and-pin-based-authorization-in-javascri>. | |
| Get jsOAuth at <https://github.com/bytespider/jsOAuth/downloads> |
Setup GitHub Pages "gh-pages" branch as a subfolder within the "master" project on your local checkout.
If you plan on switching between different branches (e.g. git checkout master-experiment
then revert back with git checkout master) you will loose your child folder from this tutorial (because it's in your
.gitignore and is not part of your master branch).