Skip to content

Instantly share code, notes, and snippets.

@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: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 / {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": "[email protected]",
"tasks": "[email protected]",
@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": "[email protected]",
<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;
Charging system methodical verification checks, CB750, CB550, CB500, CB400, and CB350.
Begin with problem verification and characterization with recorded data.
A -- Fully charge a known good battery. Let it rest for 2 hours, off the charger, and measure the battery voltage. (Target is 12.6-12.8V.)
B -- Start the bike and measure the battery voltage at idle, 2000, 3000, 4000, and 5000 rpm.
C -- Repeat the measurements of B with lighting off.
The above tests identify charging system success, failure, or degree of "faulty". The success voltages are listed in the Shop manual.
D -- Assuming the above indicates faulty, do check the RECTIFIER diodes with a diode tester or ohmmeter capable of testing diodes and uses more than .7 volts to make the test(s).
## 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
@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,
@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,

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