Skip to content

Instantly share code, notes, and snippets.

Imports System.Net
Imports System.Net.Http
Imports System.Threading.Tasks
Class Program
Shared uploadURL As String = "https://pdftables.com/api?key=&format=xml"
Private Shared Sub Main()
Dim task = PDFToTable("C:\temp\your_test_pdf.pdf")
@frabcus
frabcus / pdf-tables-js-client.html
Created February 24, 2016 10:24
Client side Javascript example of PDF Tables API
<html>
<head>
<script type="text/javascript" src="jquery.js"></script>
</head>
<body>
<h1>Convert a PDF to an HTML table using Javascript</h1>
<style>
#drop_zone {
@frabcus
frabcus / gist:53bd44dc5711d48203fe
Last active August 29, 2015 14:17
Example letters to write to bloggers about Democracy Club CVs
Example letters to write to bloggers.
Please use them for links and ideas - write in your owns words, especially if
the blogger knows you!
Google Docs version you can edit with your own ideas:
https://docs.google.com/document/d/1ciIeQk5gembCbYJHCccCXZcHw17OaBE6ZBAu6gvtR8U/edit
--------------------------------------------------------------------
scraperwiki.sql("select * from stocks", function(data, textStatus, jqXHR) {
console.log('Great! Here are your stocks:', data)
var fields = [ 'Adj_Close', 'Close', 'High', 'Low', 'Open', 'Volume', 'Date' ]
for (var i = 0; i < data.length; i++) {
data[i]['Date'] = data[i]['Date'].substr(0,10)
}
var chart = c3.generate({
@frabcus
frabcus / gist:71ce2eea090a9e5ae433
Created July 2, 2014 15:43
Compare GOV.UK mobile use week starting 2014-05-12
#!/usr/bin/env python
import requests
import sys
import csv
import scraperwiki
depts = [
"attorney-generals-office",
"cabinet-office",
@frabcus
frabcus / map.geojson
Created August 19, 2013 09:49
via:geojson.io
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
#!/usr/bin/python
# coding=utf-8
import dumptruck
dt = dumptruck.DumpTruck()
dt.insert({"name": "Super Digger", "payload": 10, "英国": "yes"})
{ seq: 10, d: "07acde3002cb1f62a08de5469160b912", deleted: false, data: { first_name: "Ryan", last_name: "Pitts", employer: "The Spokesman-Review" } }
@frabcus
frabcus / dabblet.css
Created December 16, 2011 09:26
The first commented line is your dabblet’s title
/**
* The first commented line is your dabblet’s title
*/
background: #f06;
background: linear-gradient(45deg, #f06, yellow);
min-height:100%;