Skip to content

Instantly share code, notes, and snippets.

View webattitude's full-sized avatar

Thomas Parquier webattitude

View GitHub Profile
@kevcha
kevcha / doc.md
Last active August 29, 2015 14:13
1D touch API documentation

Authentication

Get an OAuth Token

Each user that has a valid 1D touch account can generate an api Token with

POST /oauth/token
{
  grant_type=password
  [email protected]
  password=password
@marugoshi
marugoshi / convert.rake
Created March 3, 2011 14:53
Export MySQL data to sql file in order to import to PostgreSQL task.
#
# Export development database(MySQL) data to sql file in order to
# import to production database(PostgreSQL) task specialized radiant.
#
# WARGNING: It should be configured database.yml also created databases
# both development and production and runned db:migrate before run tasks.
# MySQL database is already imported is needed.
#
# usage: rake db:convert:execute
#