Skip to content

Instantly share code, notes, and snippets.

IMHO the correct way to install bleeding edge plugins to Vagrant is to use the standard Vagrant installer.

These instructions should work for Vagrant 1.1.0 - 1.4.x (but probably not for Vagrant 1.5+),

git clone https://github.com/berkshelf/berkshelf.git
cd berkshelf
gem build berkshelf.gemspec

# Install directly to Vagrant's gem storage, as this is not a plugin
@nicholasserra
nicholasserra / gist:b99e1996e6e09c47984e
Last active August 29, 2015 14:03
Sprint.ly Tags API GET response.
[{
"id": 1,
"tag": "tag1",
"item_last_modified_time": "2014-07-14T18:02:47+00:00",
"assignees": [1, 2, 3],
"type_story": 2,
"type_task": 1,
"type_defect": 1,
"type_test": 1,
"status_someday": 2,
@nicholasserra
nicholasserra / gist:a99835c6c0886c16112f
Created July 14, 2014 18:27
Sprint.ly Tags API GET response
{
"id": 1,
"tag": "tag1",
"item_last_modified_time": "2014-07-14T18:02:47+00:00",
"assignees": [1, 2, 3],
"type_story": 2,
"type_task": 1,
"type_defect": 1,
"type_test": 1,
"status_someday": 2,
## Backbone
http://addyosmani.com/largescalejavascript/#mediatorpattern
http://blog.pamelafox.org/2013/07/a-guide-to-writing-backbone-apps-at.html
http://ozkatz.github.io/avoiding-common-backbonejs-pitfalls.html
http://www.joezimjs.com/javascript/backbone-js-subview-rendering-trick/
http://www.benknowscode.com/2013/08/extending-backbone-for-building-better-web-applications.html
http://drupalmotion.com/article/debounce-and-throttle-visual-explanation
## Promises
<div style="width:298px;height:298px;border:1px solid #adaaad;background-color:#f4f4f4;box-shadow:inset -2px -2px 7px rgba(0,0,0,0.16);-moz-box-shadow: inset -2px -2px 7px rgba(0,0,0,0.16);-webkit-box-shadow: inset 2px 2px 7px rgba(0,0,0,0.16);border-radius:4px;-moz-border-radius:4px;-webkit-border-radius:4px;overflow:hidden;"><iframe frameborder="0" height="272" marginheight="0" style="border-radius:4px;-moz-border-radius:4px;-webkit-border-radius:4px;" hspace="0" scrolling="no" width="298" marginwidth="0" allowtransparency="true" src="http://www.zillow.com/widgets/search/PartnerAdWidget.htm?ulbm=false&isPublic=true&bucket=map&pn=&rid=28060&style=default" noresize="true" vspace="0"> Your browser doesn't support frames. Please visit </iframe><div style="margin:4px 10px 0;overflow:hidden;text-align:left;"><span id="widgetFooterLink" class="regionBasedLink"><a href="http://www.zillow.com/youngstown-oh/" target="_blank" style="font-size:11px; display:inline;width:222px;float:left;text-decoration:none;color:#999;
@nicholasserra
nicholasserra / products.json
Last active August 29, 2015 14:08
/api/products.json
[
{
"archived": true,
"name": "Archived Project",
"admin": true,
"created_at": "2012-11-14T01:37:47+00:00",
"id": 1234,
"webhook": "https://sprint.ly/product/1234/commits/8X54nuqvjxFG3YwWakEvsp11Byqxw7FR",
"email": {
"tests": "tests-1234@items.sprint.ly",
@nicholasserra
nicholasserra / {product_id}.json
Created November 6, 2014 19:19
/api/products/{product_id}.json
{
"archived": true,
"name": "Archived Project",
"admin": true,
"created_at": "2012-11-14T01:37:47+00:00",
"id": 1234,
"webhook": "https://sprint.ly/product/1234/commits/8X54nuqvjxFG3YwWakEvsp11Byqxw7FR",
"email": {
"tests": "tests-1234@items.sprint.ly",
"tasks": "tasks-1234@items.sprint.ly",
@nicholasserra
nicholasserra / gist:0d7ca1ea2825ec377ba0
Created December 11, 2014 20:02
Beanstalk app GIT and SVN requests
GIT:
HEADERS
Connection: close
Via: 1.1 vegur
Host: requestb.in
X-Newrelic-Transaction: PxQGVlRUWQECAAIDDwlSVVUDFB8EBw8RVU4aUw8KA1MBV10CUFkLB1cHBUNKQQ5SAFZXUFEDFTs=
Content-Type: application/x-www-form-urlencoded
User-Agent: beanstalkapp.com
@nicholasserra
nicholasserra / gist:e40d122822efd0166e23
Created March 18, 2015 18:56
Pull Request API response
{
"body": "Pull request body",
"items": [{
"status": "in-progress",
"product": {
"archived": false,
"id": 1,
"name": "sprint.ly"
},
"description": "Post from customer community",
@nicholasserra
nicholasserra / gist:ff097fddf72b64794c78
Created March 18, 2015 19:02
Pull Requests API response
[{
"body": "Pull request body",
"items": [
9239
],
"number": 1799,
"user": {
"first_name": "Nicholas",
"last_name": "Serra",
"created_at": "2011-12-10T19:28:42+00:00",