Skip to content

Instantly share code, notes, and snippets.

The Ticket Import API is used by the Teamwork Desk importer and can be used by others to perform their own import from their own systems.

Endpoint: POST /v1/import/tickets.json

How it works

Inboxes

Tickets will be imported to the Inbox with the matching emailSource if one exists, otherwise they will be put in the Inbox with the id given as fallbackInboxId.

Users

Customers and agents will be matched by email address, if they do not exists they will be created. Agents created will be marked as "Invited" and will not count against to your agent limit on your Teamwork Desk plan unless activated.

@jonathantneal
jonathantneal / README.md
Last active March 24, 2025 17:47
Local SSL websites on macOS Sierra

Local SSL websites on macOS Sierra

These instructions will guide you through the process of setting up local, trusted websites on your own computer.

These instructions are intended to be used on macOS Sierra, but they have been known to work in El Capitan, Yosemite, Mavericks, and Mountain Lion.

NOTE: You may substitute the edit command for nano, vim, or whatever the editor of your choice is. Personally, I forward the edit command to Sublime Text:

alias edit="/Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl"
@cfxd
cfxd / no-thanks-godaddy.txt
Last active June 28, 2017 05:19
GoDaddy® Clause I use in all of my client agreements
<MY BIZ NAME> chooses not to do business with and will not perform site deployments to, site maintenance on, or site migrations to GoDaddy® or its affiliates (including MediaTemple®) due to its unwieldy hosting platform, its past CEO's inhumane treatment of animals, its deceptive and sexist advertising practices, and its past support for SOPA (the proposed invasive intellectual property rights bill which prompted Reddit, Wikipedia, and others to shut down their sites in protest).
For more details, please see http://karveldigital.com/why-i-dont-use-godaddy-you-shouldnt-either/ and http://godaddyhostingsucks.com/.
Clients already hosted with GoDaddy may secure more reliable, user-friendly, and ethical hosting through <YOUR PREFERRED REFERRAL HOSTS>.
@jamiemitchell
jamiemitchell / front-page.php
Last active February 3, 2017 17:54
Replace default loop with genesis_custom_loop
<?php
remove_action('genesis_loop', 'genesis_do_loop');
add_action('genesis_loop', 'custom_do_loop');
function custom_do_loop() {
@GaryJones
GaryJones / readme.md
Last active July 14, 2019 20:46
Custom Featured Post Widget plugin: Skeleton for amending the output of the Genesis Featured Post widget.
@ericmann
ericmann / gist:5245768
Created March 26, 2013 14:28
Three code snippets from my talk at the Portland WordPress User Group meetup on 3/25/2013
<?php
/**
* Custom Hacks for PDXWP Meetup
*/
/**
* Clean up the output of the <head> block
*/
function pdxwp_clean_header() {
remove_action( 'wp_head', 'feed_links_extra', 3 ); // Display the links to the extra feeds such as category feeds
@JeffreyWay
JeffreyWay / gist:1268154
Created October 6, 2011 18:12
Lookups instead of Switch
<?php
# Instead of
$name = 'Jeff';
switch ($name) {
case 'Jeff':
echo "I'm Jeff";
break;
case 'Joe':
@voxpelli
voxpelli / vptest.info
Created July 5, 2011 20:01
OAuth.module 3.x example - a test I made to verify the D7 port of the module - should work well on D6 as well though
name = VoxPelli OAuth Test
core = 7.x
dependencies[] = oauth_common
dependencies[] = http_client