Skip to content

Instantly share code, notes, and snippets.

View dav's full-sized avatar

Dav Yaginuma dav

View GitHub Profile
require 'rubygems'
require 'curb'
require 'fileutils'
SERVER = 'http://localhost:3000'
USERS_URL = SERVER+'/users'
PROFILES_URL = SERVER+'/profiles'
LOCAL_PICTURE_PATH = '/Users/dav/Pictures/111minna-2.jpg'
class MyProfile
{
"name": "AAAS 2010 Annual Meeting",
"url": "http://www.aaas.org/meetings/",
"description": " <b>President's Invitation</b> <p> AAAS President and Nobel Laureate Peter C. Agre invites you to join a diverse array of leading scientists, engineers, educators, and policy-makers at the association's 176th meeting. It will attract attendees from all U.S. states and territories as well as more than 50 countries. </p> <b>Program Update</b> <p>Our large interactive conference combines renowned plenary and topical speakers with three specialty seminars and 147 symposia across 13 tracks.</p> ",
"backgroundImageURL": "",
"navbarImageURL": "",
"venues": [
{
"venue": "Coronado (San Diego Marriott Hotel &amp; Marina)",
"description": "",
{
"name": "My Event",
"url": "http://example.com/",
"contact": "[email protected]",
"public": "no",
"dataVersion": "1",
"description": "<p>This is my example event</p>",
"background_image_url": "http://example.com/custom_bg.png",
"navbar_image_url": "http://example.com/custom_navbar.png",
"venues": [