This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"success":true,"user":{"user":{"avatar":{"url":"/people/17/a001.jpg","icon":{"url":"/people/17/icon_a001.jpg"},"thumb":{"url":"/people/17/thumb_a001.jpg"},"profile":{"url":"/people/17/profile_a001.jpg"},"medium":{"url":"/people/17/medium_a001.jpg"}},"bio":"--- \n- Tenetur voluptatum impedit iure. Sapiente amet quisquam et ipsam molestias quasi. Eum ab dignissimos sed vero et doloribus quis aut. Eum iure natus doloribus corrupti qui molestiae qui. Quas ut qui laboriosam repudiandae esse.\n- Distinctio est molestiae aut tempora. Unde quod molestias et amet exercitationem. Aliquid autem dolore ad eos non earum libero voluptas.\n","city":null,"confirmed":false,"country":"US","created_at":"2011-06-23T07:35:35-04:00","crypted_password":"459e993b3667ae610e93e0e7422076ffc68c938e","date_of_birth":null,"email":"[email protected]","enabled":true,"file_id":null,"first_name":"Mark","follower_of":3,"id":17,"last_name":"Will","last_status_id":"--- !ruby/object:BSON::ObjectId \ndata: \n- 78\n- 3\n- 37\n- 11\n- 66\n- 87\n- 33 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- simple_form_for @user, :url => user_account_path(@user), :html => { id: "user_form", method: "put", multipart: true, remote: true } do |f| |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace :rvm do | |
task :bootstrap do | |
run "echo 'Overwrote rvm:bootstrap'" | |
rbenv_script = <<-SH | |
#!/bin/bash | |
# | |
# And now install rbenv | |
export PATH=$PATH:$HOME/bin:$HOME/.rbenv/shims | |
VERSION='#{ruby_version}' | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"login": "asdfasdfas", | |
"password": "ASDF354asda@sss", | |
"validation_mode": ":live" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<article class='activity_stream_message' id='activity_stream_message_4f7130161aabef3963000026'> | |
<aside class='user-thumbnail'> | |
<figure> | |
<img alt="Picture_100x100" height="100" src="/assets/missing/picture_100x100.jpg" width="100" /> | |
</figure> | |
</aside> | |
<aside class='stream_message_content'> | |
<section> | |
<a href="#" class="bookmark " path="/events/4f6c0c7c1aabef4d8c000005" title="Let's Go!"> </a> | |
<header> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/sh | |
# Run this from the folder you want to be the parent of your docs | |
# By default, generated docs go into | |
# titanium_mobile/dist/apidoc/ti_mobile_docs/ | |
# | |
# This can be changed below | |
git clone https://github.com/appcelerator/titanium_mobile.git | |
cd titanium_mobile | |
sudo apt-get install python-setuptools python-dev |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" | |
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> | |
<head> | |
<script type="text/javascript"> | |
// <![CDATA[ | |
/* | |
App Data | |
Changeable | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'benchmark' | |
str = Benchmark.measure do | |
10_000_000.times do | |
"test" | |
end | |
end.total | |
sym = Benchmark.measure do | |
10_000_000.times do |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<link rel="import" href="../google-map/google-map.html"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
:host { | |
position: absolute; | |
width: 100%; | |
height: 100%; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
begin | |
address = EasyPost::Address.create( | |
:name => 'Test Person', | |
:street1 => '15 TANGUAY AVENUE', | |
:city => 'Nashua', | |
:state => 'NH', | |
:zip => '03062', | |
:country => 'US', | |
:phone => '201-273-8374', | |
:residential => false |