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
C:\...\mintty.exe /bin/bash -lci ''cd `cygpath -u \''{1}\''`; bash'' | |
C:\...\mintty.exe /bin/zsh -lc ''cd `cygpath -u \''{1}\''`; CHERE_INVOKING=1 zsh -i'' | |
C:\...\mintty.exe /bin/zsh -lc 'cd "`cygpath \"${easyshell:container_loc}\"`"; CHERE_INVOKING=1 zsh -i' |
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 static class Unicorn { | |
private static final Set<String> V = new HashSet<String>(); | |
public static boolean pat() { | |
StackTraceElement el = Thread.currentThread().getStackTrace()[2]; | |
String key = el.getClassName() + "#" + el.getLineNumber(); | |
if (V.contains(key)) | |
return false; | |
V.add(key); | |
return true; |
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
<dependencies> | |
<dependency> | |
<groupId>org.jbehave</groupId> | |
<artifactId>jbehave-core</artifactId> | |
<version>3.9.1</version> | |
<scope>test</scope> | |
</dependency> | |
<dependency> | |
<groupId>net.sourceforge.htmlunit</groupId> |
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
HttpURLConnection con = (HttpURLConnection) url.openConnection(); | |
if(con instanceof HttpsURLConnection) | |
{ | |
HostnameVerifier verifier = new HostnameVerifier() | |
{ | |
public boolean verify(String hostaname, SSLSession session) | |
{ | |
return true; | |
} |
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 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/maven-v4_0_0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<parent> | |
<groupId>org.example</groupId> | |
<artifactId>parent</artifactId> | |
<version>1</version> | |
</parent> | |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<component-set> | |
<components> | |
<component> | |
<role>org.apache.maven.artifact.handler.ArtifactHandler</role> | |
<role-hint>composite-resources</role-hint> | |
<implementation>org.apache.maven.artifact.handler.DefaultArtifactHandler | |
</implementation> | |
<configuration> |
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
# thanks to: http://blog.blindgaenger.net/colorize_maven_output.html | |
# and: http://johannes.jakeapp.com/blog/category/fun-with-linux/200901/maven-colorized | |
# Colorize Maven Output | |
export M2_HOME_X="C:\\work\\app\\apache-maven-2.2.1" | |
export M3_HOME_X="C:\work\app\apache-maven-3.3.5" | |
alias _mvn='M2_HOME=$M2_HOME_X $M2_HOME_X/bin/mvn' | |
alias _mvn3='M3_HOME=$M3_HOME_X $M3_HOME_X/bin/mvn' |
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
shell:::{ED834ED6-4B5A-4bfe-8F11-A626DCB6A921} -Microsoft.Personalization\pageWallpaper |
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
@SuppressWarnings("restriction") | |
public class PomExecutor { | |
static { | |
DebugPlugin.getDefault().getLaunchManager().addLaunchListener(new ILaunchesListener2() { | |
public void launchesRemoved(ILaunch[] launches) { | |
for(ILaunch l: launches) { | |
ILaunchConfiguration conf = l.getLaunchConfiguration(); |
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
source ~/.zsh-git-prompt/zshrc.sh | |
export PROMPT='%{$fg[blue]%}{ %c } %{$fg[green]%}$(git_super_status)%{$reset_color%} %{$fg[red]%}%(!.#.»)%{$reset_color%} ' |
OlderNewer