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
#---------------------------------------# | |
# Project Ignores # | |
#---------------------------------------# | |
# Maven | |
target/ | |
pom.xml.tag | |
pom.xml.releaseBackup | |
pom.xml.versionsBackup | |
pom.xml.next |
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
import hudson.model.* | |
// For each project | |
for(item in Hudson.instance.items) { | |
// check that job is not building | |
if(!item.isBuilding()) { | |
println("Wiping out workspace of job "+item.name) | |
item.doDoWipeOutWorkspace() | |
} | |
else { | |
println("Skipping job "+item.name+", currently building") |
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
/* Large desktops and laptops */ | |
@media (min-width: 1200px) { | |
} | |
/* Landscape tablets and medium desktops */ | |
@media (min-width: 992px) and (max-width: 1199px) { | |
} |
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.chetty.client; | |
import java.io.File; | |
import java.io.IOException; | |
import java.io.PrintWriter; | |
import com.chetty.module.MathModule; | |
import com.google.inject.Guice; | |
import com.google.inject.Injector; | |
import com.google.inject.grapher.GrapherModule; |
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
import com.chetty.algos.data.Patient; | |
import java.util.Comparator; | |
import java.util.PriorityQueue; | |
/** | |
* | |
* @author Babji Prashanth, Chetty | |
*/ | |
public class PQueueTest { | |
public static void main(String[] args) { |
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
/** | |
* | |
* @author Babji P, Chetty | |
*/ | |
public class Patient { | |
private int id; | |
private String name; | |
private boolean emergencyCase; | |
public Patient(int id, String name, boolean emergencyCase) { |
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
import java.util.Comparator; | |
import java.util.PriorityQueue; | |
/** | |
* | |
* @author Babji P, Chetty | |
*/ | |
public class PQTest { | |
public static void main(String[] args) { | |
PriorityQueue<Integer> pQueue = new PriorityQueue<Integer>(10, new Comparator<Integer>() { |
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.bchetty.charts.model; | |
import java.util.List; | |
/** | |
* | |
* @author Babji Prashanth, Chetty | |
*/ | |
public class Series { | |
private String 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
package com.bchetty.charts.controller; | |
import com.bchetty.charts.model.Series; | |
import com.google.gson.Gson; | |
import java.text.SimpleDateFormat; | |
import java.util.ArrayList; | |
import java.util.Date; | |
import java.util.List; | |
/** |
NewerOlder