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
PROMPT='[%{$fg_bold[white]%}%n%{$reset_color%}@%{$fg_bold[red]%}%m%{$reset_color%} %{$fg[cyan]%}%c%{$reset_color%} $(git_prompt_info) %{$reset_color%}%{$fg[cyan]%}%*%{$reset_color%}]$ ' | |
ZSH_THEME_GIT_PROMPT_PREFIX="(%{$fg_bold[green]%}" | |
ZSH_THEME_GIT_PROMPT_SUFFIX=")" | |
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[green]%} %{$fg[yellow]%}✗%{$reset_color%}" | |
ZSH_THEME_GIT_PROMPT_CLEAN="%{$reset_color%}" |
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
name := "connekt-concord" | |
organization := "com.flipkart.connekt" | |
version := "0.2.0" | |
scalaVersion := "2.11.7" |
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.hivefive.ciphernod.scalaz; | |
import java.util.Collections; | |
import java.util.Iterator; | |
import java.util.NoSuchElementException; | |
import java8.util.function.Function; | |
/** | |
* Created by kinshuk.bairagi on 20/02/16. |
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
<?php | |
// Access-Control headers are received during OPTIONS requests | |
if ($_SERVER['REQUEST_METHOD'] == 'OPTIONS') { | |
if (isset($_SERVER['HTTP_ACCESS_CONTROL_REQUEST_METHOD'])) | |
header("Access-Control-Allow-Methods: GET, POST, OPTIONS"); | |
if (isset($_SERVER['HTTP_ACCESS_CONTROL_REQUEST_HEADERS'])) | |
header("Access-Control-Allow-Headers: {$_SERVER['HTTP_ACCESS_CONTROL_REQUEST_HEADERS']}"); |
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
Index: src/spark/sbin/start-master.sh | |
IDEA additional info: | |
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP | |
<+>UTF-8 | |
=================================================================== | |
--- src/spark/sbin/start-master.sh (revision 3a38a61d8dafe1584992d10feb2dfb2154da911f) | |
+++ src/spark/sbin/start-master.sh (revision 652da5558b857355940906760e4112d8b7c2ce62) | |
@@ -34,6 +34,7 @@ | |
exit -1 |
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
### BEGIN INIT INFO | |
# Provides: bluetooth-agent | |
# Required-Start: $remote_fs $syslog bluetooth pulseaudio | |
# Required-Stop: $remote_fs $syslog | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 6 | |
# Short-Description: Makes Bluetooth discoverable and connectable to 0000 | |
# Description: Start Bluetooth-Agent at boot time. | |
### END INIT INFO | |
#! /bin/sh |
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.flipkart.marketing.bro.mouth.pipeline.http | |
import akka.actor.{ActorRef, Actor, Props} | |
import akka.serialization.Serialization | |
import com.flipkart.marketing.bro.commons.data.models.RawEvent | |
import com.flipkart.marketing.bro.mouth.akka.AkkaEngine | |
import com.flipkart.marketing.bro.mouth.pipeline.StreamSource | |
import org.apache.spark.streaming.StreamingContext | |
import org.apache.spark.streaming.dstream.InputDStream | |
import org.apache.spark.streaming.receiver.ActorHelper |
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
#!/bin/bash | |
if [ $# -eq 0 ];then | |
echo "$0 host-prefix{1..5}-postfix.domain.com" | |
exit 1; | |
fi; | |
echo "User : `whoami`" | |
echo -n "LDAP password: " | |
read -s password; |
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
#!/bin/bash | |
# /etc/init.d/aps | |
# | |
# description: APE Daemon | |
# processname: APE Daemon | |
# author : [email protected] | |
# Define where ape is installed. | |
APE_DIRECTORY=/var/aps/APS-Deploy |