Skip to content

Instantly share code, notes, and snippets.

View snoblenet's full-sized avatar

Steven Noble snoblenet

View GitHub Profile
<?php
function url2png_v6($url, $args) {
# Get your apikey from http://url2png.com/plans
$URL2PNG_APIKEY = "PXXXX";
$URL2PNG_SECRET = "SXXXX";
# urlencode request target
$options['url'] = urlencode($url);
/**
* WkHtmlToPdf table splitting hack.
*
* Forked and edited to include my own values
*
* Script to automatically split multiple-pages-spanning HTML tables for PDF
* generation using webkit.
*
* To use, you must adjust pdfPage object's contents to reflect your PDF's
* page format.
@snoblenet
snoblenet / gist:3769753
Created September 23, 2012 11:20 — forked from rhysforyou/gist:3769749
How to Learn

Never in the history of the human race has there been a group as fortunate as computer science students. We have unlimited access to untold quantities of free information with which to better ourselves. We encounter few barriers that we can't overcome through hard work and a little ingenuity. We have the unparalleled ability to pursue our own ideas, follow what interests us and share our creations with the world.

So often I encounter individuals who tell me they'd love to build an iPhone app, make a game, launch a website, and so on. But often when I ask these individuals "what have you done so far?" I'm greeted with blank stares, usually followed by some excuse along the lines of "I wouldn't know where to start."

So that's what this is. The starting point.

A few pieces of advice

It's not going to be an easy journey of course, the ones worth taking rarely are. But a lot of the reason I started HackUOW was so that people wouldn't have to take the journey alone; that there would be people to give suppo