This file contains 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
[{ | |
"score": [{ | |
"tags": [" Judiciary ","Judiciary","Democracy"], | |
"correct": true | |
}, { | |
"tags": ["Constitution","Parliament","Democracy"], | |
"correct": true | |
}, { | |
"tags": ["Parliament","Parliament","Constitution"], | |
"correct": true |
This file contains 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
➜ flujo-client git:(development) git status | |
On branch development | |
Your branch is ahead of 'origin/development' by 1 commit. | |
(use "git push" to publish your local commits) | |
nothing to commit, working tree clean | |
➜ flujo-client git:(development) git push | |
Counting objects: 741, done. | |
Delta compression using up to 4 threads. | |
Compressing objects: 100% (493/493), done. | |
Writing objects: 100% (741/741), 220.14 KiB | 0 bytes/s, done. |
This file contains 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
May 22, 2017 3:26:49 PM com.sun.jersey.spi.container.ContainerResponse mapMappableContainerException | |
SEVERE: The RuntimeException could not be mapped to a response, re-throwing to the HTTP container | |
java.lang.ArrayIndexOutOfBoundsException: 0 | |
at com.google.common.collect.RegularImmutableList.get(RegularImmutableList.java:58) | |
at flipkart.sp.views.SPWSRProductViewFacade.getAsSingleValued(SPWSRProductViewFacade.java:127) | |
at flipkart.views.IViewable$getAsSingleValued$0.call(Unknown Source) | |
at flipkart.sp.views.AttributeManipulationDSL.handleKeyOverrides(AttributeManipulationDSL.groovy:70) | |
at flipkart.sp.views.AttributeManipulationDSL$handleKeyOverrides$3.callCurrent(Unknown Source) | |
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:49) | |
at flipkart.sp.views.AttributeManipulationDSL$handleKeyOverrides$3.callCurrent(Unknown Source) |
This file contains 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
➜ historyboardapi git:(master) ✗ mvn clean install | |
[INFO] Scanning for projects... | |
[INFO] | |
[INFO] ------------------------< com.HistoryBoard:api >------------------------ | |
[INFO] Building api 0.0.1-SNAPSHOT | |
[INFO] --------------------------------[ jar ]--------------------------------- | |
[INFO] | |
[INFO] --- maven-clean-plugin:2.6.1:clean (default-clean) @ api --- | |
[INFO] Deleting /Users/hari_om/coder/historyboardapi/target | |
[INFO] |
This file contains 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
➜ historyboardapi git:(master) ✗ mvn clean install -DskipTests | |
[INFO] Scanning for projects... | |
[INFO] | |
[INFO] ------------------------< com.HistoryBoard:api >------------------------ | |
[INFO] Building api 0.0.1-SNAPSHOT | |
[INFO] --------------------------------[ jar ]--------------------------------- | |
[INFO] | |
[INFO] --- maven-clean-plugin:2.6.1:clean (default-clean) @ api --- | |
[INFO] Deleting /Users/hari_om/coder/historyboardapi/target | |
[INFO] |
This file contains 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
<?xml version="1.0" encoding="UTF-8"?> | |
<project xmlns="http://maven.apache.org/POM/4.0.0" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>com.foo</groupId> | |
<artifactId>bar</artifactId> | |
<version>1.0-SNAPSHOT</version> | |
<dependencies> |
This file contains 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.io.BufferedReader; | |
import java.io.IOException; | |
import java.io.InputStream; | |
import java.io.InputStreamReader; | |
import java.util.StringTokenizer; | |
/** | |
* Created by nischal.k on 02/10/16. | |
*/ | |
public class Main { |
This file contains 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
Reader.init(System.in); | |
int t = Reader.nextInt(); | |
while(t > 0) { | |
int n, k; | |
n = Reader.nextInt(); | |
k= Reader.nextInt(); | |
int ar[]=new int[n]; | |
int sum=0; | |
for (int i = 0; i < n; i++) { | |
ar[i]=Reader.nextInt(); |
This file contains 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
" Disable compatibility with vi which can cause unexpected issues. | |
set nocompatible | |
" Enable type file detection. Vim will be able to try to detect the type of file in use. | |
filetype on | |
" Enable plugins and load plugin for the detected file type. | |
filetype plugin on | |
" Load an indent file for the detected file type. |
This file contains 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
echo "" > data_final.csv | |
for i in {1..5}; do | |
./waf --run "pa2 --exp=exp$i" | grep -E 'Throughput|Average_Flow_Time' > output | |
#echo "$output" >> data_final.csv | |
first_throughput="" | |
last_throughput="" | |
last_flow_time="" |
OlderNewer