Skip to content

Instantly share code, notes, and snippets.

@willjohnson
willjohnson / gist:cb39b65e0d40df4b39a71316319260b7
Created December 11, 2017 20:12
PDFTable bug where table cell alignment and width is discarded
fpdftable_1.95
http://vanxuan.net/tool/pdftable/index.php
I encountered a small bug where I was getting different pdf output from the same code. It turns out if you include pdftable.inc.php inside of a function then it will not respect the table cell alignment or table width when outputting the pdf. Include/require the lib outside of the function and then output inside of the function and you will get the table formatted as you anticipated.
@willjohnson
willjohnson / README.md
Created June 6, 2016 18:16
Easy way to pass data from PHP application to Drip

Using the Drip API Wrapper for PHP (https://github.com/DripEmail/drip-php) is super easy. Here is an example.

You can get your Drip (http://www.getdrip.com) API token by logging into Drip and going to your User Settings.

Set up a workflow in Drip so that when the tag "new_user" is applied it starts the onboarding email course that you created.

@willjohnson
willjohnson / README.md
Last active October 6, 2021 13:52
Asana tasks widget for Dashing

Description

A Dashing widget for displaying tasks assigned to you in Asana.

Dependencies

@willjohnson
willjohnson / README.md
Last active April 26, 2022 19:32
Server Status Widget for Dashing

Description

A Dashing widget that checks whether a server is responding to either an http or ping request. It displays either a check or alert depending on the response.

Usage

@willjohnson
willjohnson / README.md
Last active November 27, 2019 10:04 — forked from mtowers/README.md
Google Analytics Website Visitor Count Widget for Dashing with OAuth2 Authentication (multiple profiles)