Skip to content

Instantly share code, notes, and snippets.

View pageman's full-sized avatar

Paul Pajo pageman

View GitHub Profile
txt <b>MMA 42</b> to <b>2366</b> until 24 February to <b>VOTE</b> for <b>DRIP</b> as <b>Favorite Indie Artist</b> for the <a href="http://phil.myx.tv/MyxArticles/MYXYourChoiceYourMusic/tabid/370/Default.aspx"><b>2009 Myx Music Awards</b></a><br/><a href="http://www.facebook.com/pages/Drip/29598855582"><img src="http://farm4.static.flickr.com/3479/3268892467_6f7580bd59_o.png" border="0" alt="Drip (www.myspace.com/dripmanila) in the 2009 Myx Music Awards; txt MMA 42 to 2366"></a></br/>
@pageman
pageman / fat_free_crm_step7
Created August 25, 2011 08:38
Step 7 for deploying fat_free on heroku ryanwood style
gem install mysql2 -- '--with-mysql-lib="C:\Program Files\MySQL\MySQL Server 5.5\lib" --with-mysql-include="C:Program Files\MySQL\MySQL Server 5.5\include"
@pageman
pageman / helloworld.php
Created September 10, 2011 06:48
Hello World
<?php
echo "Hello World";
// you can also use a print statement here
?>
$(function() {
var canvas = $("#c");
var canvasHeight;
var canvasWidth;
var ctx;
var dt = 0.1;
var pointCollection;
function init() {
@pageman
pageman / cache.manifest
Created November 19, 2011 06:44 — forked from mrspeaker/cache.manifest
Demo files for "flash card" app demonstrating HTML5 offline cache manifest. Full repo at https://github.com/mrspeaker/Eng2Fr
CACHE MANIFEST
# v0.1
index.html
lib/jquery-1.4.4.min.js
main.css
main.js
images/eng2fr.png
@pageman
pageman / gist:3143366
Created July 19, 2012 11:58
Experiments with MarkDown via http://gist.io/3135754

Okay so I'm trying out what gist.io was showing me. There's a cheat sheet if you want.

Big like using an h1 tag

This is like h2-ish

Let's try a quote:

>Quan el seu amic fa alguna cosa malament, no t'oblidis de les coses correctes que ho feien abans.

require 'httparty'
require 'json'
class SmartDevnet
URL = "https://npwifi.smart.com.ph/1/smsmessaging/outbound/%s/requests"
attr :url
attr :headers
attr :access_code
class SmartDevnetLite
URL = "https://npwifi.smart.com.ph/1/smsmessaging/outbound/%s/requests"
attr :url
attr :headers
attr :access_code
attr :path_to_cert
def initialize(sp_id, sp_password, nonce, created_at, access_code, sp_service_id, path_to_cert)