This file contains hidden or 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
| package com.example.android.sunshine.app; | |
| import android.support.v7.app.ActionBarActivity; | |
| import android.support.v7.app.ActionBar; | |
| import android.support.v4.app.Fragment; | |
| import android.os.Bundle; | |
| import android.view.LayoutInflater; | |
| import android.view.Menu; | |
| import android.view.MenuItem; | |
| import android.view.View; |
This file contains hidden or 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
| var a = 1; | |
| var d = 2; | |
| function b() { | |
| a = 5; | |
| d = 23; | |
| return; | |
| function a() {} | |
| } | |
| b(); | |
| console.log(a); |
This file contains hidden or 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
| function Person(name) { | |
| this.name = name; | |
| } | |
| Person.prototype = { | |
| constructor: Person, // does not doing this line have any consequences? | |
| sayName: function() { | |
| console.log(this.name); }, | |
This file contains hidden or 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
| public class Hello { | |
| public static void main(String [] args) { | |
| System.out.println("Hello world!"); | |
| } | |
| } |
This file contains hidden or 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
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |
This file contains hidden or 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
| 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(); |
This file contains hidden or 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
| [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 |
This file contains hidden or 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
| // | |
| // main.m | |
| // TimeAfterTime | |
| // | |
| // Created by Gaurav Chaturvedi on 10/17/15. | |
| // Copyright © 2015 Gaurav Chaturvedi. All rights reserved. | |
| // | |
| #import <Foundation/Foundation.h> |
This file contains hidden or 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
| :ttdium: | |
| :ruby_version: ruby-2.0.0-p353 |
This file contains hidden or 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
| # tddium.yml | |
| --- | |
| :ttdium: | |
| :ruby_version: ruby-2.0.0-p353 |
OlderNewer