Skip to content

Instantly share code, notes, and snippets.

@willjohnson
willjohnson / gist:cb39b65e0d40df4b39a71316319260b7
Created Dec 11, 2017
PDFTable bug where table cell alignment and width is discarded
View gist:cb39b65e0d40df4b39a71316319260b7
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 Jun 6, 2016
Easy way to pass data from PHP application to Drip
View README.md

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 Oct 6, 2021
Asana tasks widget for Dashing
View README.md

Description

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

Dependencies

@willjohnson
willjohnson / README.md
Last active Nov 2, 2021
Server Status Widget for Dashing
View README.md

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 Nov 27, 2019 — forked from mtowers/README.md
Google Analytics Website Visitor Count Widget for Dashing with OAuth2 Authentication (multiple profiles)
View README.md