Skip to content

Instantly share code, notes, and snippets.

@chrisamoore
chrisamoore / form.php
Last active August 29, 2015 13:56
Solution
<form method="POST" action="http://frontline.dev/appointments/4" accept-charset="UTF-8">
<input name="_method" type="hidden" value="PATCH">
<input name="_token" type="hidden" value="PROPCMA5b4UC4SNexoexu2ANst1a1OLo7bjJTYzk">
<input name="appointment_time" type="hidden" value="2014-02-20 13:00:00">
<input name="status" type="hidden" value="ARRIVED">
<div class="btn-group actions">
<a class="status-btn btn " data-action="confirm">Confirmed</a>
<a class="status-btn btn btn-info " data-action="arrived">Arrived</a>
<a class="status-btn btn " data-action="complete">Completed</a>
<a class="status-btn btn " data-action="canceled">Cancel / refund</a>
-- PostgreSQL 9.2 beta (for the new JSON datatype)
-- You can actually use an earlier version and a TEXT type too
-- PL/V8 http://code.google.com/p/plv8js/wiki/PLV8
-- Inspired by
-- http://people.planetpostgresql.org/andrew/index.php?/archives/249-Using-PLV8-to-index-JSON.html
-- http://ssql-pgaustin.herokuapp.com/#1
-- JSON Types need to be mapped into corresponding PG types
--

Contract Killer 3

Revised date: 07/11/2012

Between us [company name] and you [customer name]

Summary:

We’ll always do our best to fulfil your needs and meet your expectations, but it’s important to have things written down so that we both know what’s what, who should do what and when, and what will happen if something goes wrong. In this contract you won’t find any complicated legal terms or long passages of unreadable text. We’ve no desire to trick you into signing something that you might later regret. What we do want is what’s best for both parties, now and in the future.

Hi
I hope this helps you all get started with phonegap and sqlite in your
application
Dean-O
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
@chrisamoore
chrisamoore / index.php
Created June 9, 2012 15:48 — forked from tzusman/index.php
Visitor tracking with PHP and Redis
<?
/**
* Read about why this script was written at http://blog.toddzusman.com/post/13291374815/visitor-tracking-using-php-and-redis
*/
// I'm using Predis from https://github.com/nrk/predis
require '/path/to/predis/lib/Predis/Autoloader.php';
Predis\Autoloader::register();