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
{ | |
"type": "chrome", | |
"request": "launch", | |
"name": "Launch Chrome", | |
"url": "http://localhost:3001", | |
"webRoot": "${workspaceFolder}/src", | |
"sourceMapPathOverrides": { | |
"top/localhost:3001/mnt/c/*": "C:/*", | |
"/mnt/c/*": "C:/*", | |
"file://mnt/c/*": "C:/*", |
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
openssl s_client -connect localhost:8443 -cert jtt-ui.pem -key jtt-ui.key -state -debug -tls1_2 -CAfile ca_certificate.pem |
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
/// <summary> | |
/// Class that renders MVC views to a string using the standard MVC View Engine to render the view. | |
/// </summary> | |
public class ViewRenderer | |
{ | |
/// <summary> | |
/// Required Controller Context | |
/// </summary> | |
protected ControllerContext Context { get; set; } |
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
public class Builder<T> | |
{ | |
public Builder() | |
{ | |
Controller = new BuilderStep<Controller>(this); | |
} | |
public BuilderStep<ListingSearchController> Controller { get; } | |
public T Build() |
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
#!/usr/bin/env bash | |
git branch --merged | egrep -v "(^\*|master|green|blue)" | xargs git branch -d |
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
/* (C) Copyright 2012-2014 Semantic Designs, Inc. | |
You may freely use this code provided you retain this copyright message | |
*/ | |
typedef unsigned int natural; | |
natural InstructionLength(BYTE* pc) | |
{ // returns length of instruction at PC | |
natural length=0; | |
natural opcode, opcode2; |
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
compile group: 'org.springframework', name: 'spring-core' | |
compile group: 'org.slf4j', name: 'jcl-over-slf4j', version: '1.7.25' | |
compile group: 'org.slf4j', name: 'slf4j-api', version: '1.7.25' | |
compile group: 'org.apache.logging.log4j', name: 'log4j-slf4j-impl', version: '2.11.1' // SLF4J 1.7.x |
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.util.concurrent.atomic.AtomicInteger; | |
import java.util.function.BiConsumer; | |
import java.util.function.Predicate; | |
public class RetryRunnable implements Runnable { | |
private final long sleep; | |
private final Runnable r; | |
private final int times; | |
private final Predicate<Throwable> p; |
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
mvn clean install -DskipTests -Dmaven.wagon.http.ssl.insecure=true -Dmaven.wagon.http.ssl.allowall=true -Dmaven.wagon.http.ssl.ignore.validity.dates=true |