Skip to content

Instantly share code, notes, and snippets.

View gchaturvedi's full-sized avatar

Gaurav Chaturvedi gchaturvedi

  • San Francisco, CA
View GitHub Profile

This Gist contains the script and generated output file for an Acer B276HUL.

The pre-generated file below is known to work with:

  • OS X Mavericks
  • OS X Yosemite
  • OS X El Capitan

For El Capitan:

  1. Restart your Mac while holding Command-R: this puts your Mac into Recovery Mode.
check if we have permissions in our linkedin app
2.0.0p353 :001 > require 'yaml'
true
2.0.0p353 :002 > blah = YAML.load_file('tddium.yml')
{
:tddium => {
:ruby_version => "ruby-2.0.0-p353"
}
}
2.0.0p353 :003 > puts blah.inspect
{:tddium=>{:ruby_version=>"ruby-2.0.0-p353"}}
# tddium.yml
---
:tddium:
:ruby_version: ruby-2.0.0-p353
# tddium.yml
---
:ttdium:
:ruby_version: ruby-2.0.0-p353
:ttdium:
:ruby_version: ruby-2.0.0-p353
//
// main.m
// TimeAfterTime
//
// Created by Gaurav Chaturvedi on 10/17/15.
// Copyright © 2015 Gaurav Chaturvedi. All rights reserved.
//
#import <Foundation/Foundation.h>
[ERROR] Exit code: 1 - /Users/gchaturvedi/Code/cs509/src/main/java/wpi/controllers/api/FlightsController.java:385: warning: no @param for request
[ERROR] private HashMap<String, String> buy(HttpServletRequest request,
[ERROR] ^
[ERROR] /Users/gchaturvedi/Code/cs509/src/main/java/wpi/controllers/api/FlightsController.java:385: warning: no @param for response
[ERROR] private HashMap<String, String> buy(HttpServletRequest request,
[ERROR] ^
[ERROR] /Users/gchaturvedi/Code/cs509/src/main/java/wpi/controllers/api/FlightsController.java:385: warning: no @param for list
[ERROR] private HashMap<String, String> buy(HttpServletRequest request,
[ERROR] ^
[ERROR] /Users/gchaturvedi/Code/cs509/src/main/java/wpi/controllers/api/FlightsController.java:385: warning: no @return
Graph actualGraph = new SingleGraph("actualFlight");
for(Airport airport: allAirports) {
actualGraph.addNode(airport.getCode());
actualGraph.getNode(airport.getCode()).setAttribute("ui.label", airport.getCode());
}
for(Flight flight: allFlights) {
String edgeCode = flight.getDepartureAirport().getCode() + "-" + flight.getArrivalAirport().getCode();
@gchaturvedi
gchaturvedi / 0_reuse_code.js
Last active August 29, 2015 14:16
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console