Skip to content

Instantly share code, notes, and snippets.

View AntonNguyen's full-sized avatar

Anton Nguyen AntonNguyen

View GitHub Profile

Keybase proof

I hereby claim:

  • I am antonnguyen on github.
  • I am antonn (https://keybase.io/antonn) on keybase.
  • I have a public key ASC7lpFvjnGNYU9O7spmM5wyE07tqM2BgvofHxf7PZrt_Qo

To claim this, I am signing this object:

# Your init script
#
# Atom will evaluate this file each time a new window is opened. It is run
# after packages are loaded/activated and after the previous editor state
# has been restored.
#
# An example hack to make opened Markdown files always be soft wrapped:
#
# path = require 'path'
#
10010 Unknown Exception
10020 An internal error occured
10030 System does not exist
10040 System deactivate
10050 System suspended
10060 System expired
10070 Invalid API Version
10080 Exceeded maximum number of daily requests
10090 System under maintenance
20010 Authentication failed
<?xml version="1.0" encoding="utf-8"?>
<request method="receipt.create">
<receipt>
<expense_id>1</expense_id>
<image>cid:imagefile</image>
</receipt>
</request>
#!/usr/bin/python
import sys
import os
import base64
import requests
def generateMultipartBody(xmlContent, imageFile, boundary, cidPrefix):
CRLF = '\r\n'
newLine = ''
# Description:
# Manipulate the queue for releasing
#
# Commands:
# singles? - Start looking for a singles partner
# doubles? - Start looking for doubles partners
# hyper <singles/doubles> - Start looking for hyper pong partners
# stop - Stop searching for partners
# o/ or \o or \o/ - Join a game
# add <username> - Manually add a player

Suppose we have the following contacts with the following ids: 1, 2, 3

This call would delete contacts 2 and 3

<request method="client.update">
	<client>
		<client_id>1</client_id>
		<contacts>
 
<!---- Adding Paypal ----->
<request method="invoice.create">
<invoice>
<client_id>1</client_id>
<gateways>
<gateway>
<name>Paypal</name>
</gateway>
</gateways>
</invoice>
<request method="invoice.create">
<invoice>
<client_id>2</client_id>
<lines>
<line>
<name>Time Entry</name>
<time_entries>
<time_entry>
<time_entry_id>14</time_entry_id>
</time_entry>