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
| mvn clean install -DskipTests -Dmaven.wagon.http.ssl.insecure=true -Dmaven.wagon.http.ssl.allowall=true -Dmaven.wagon.http.ssl.ignore.validity.dates=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
| 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 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
| 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 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) 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 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
| #!/usr/bin/env bash | |
| git branch --merged | egrep -v "(^\*|master|green|blue)" | xargs git branch -d |
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 class Builder<T> | |
| { | |
| public Builder() | |
| { | |
| Controller = new BuilderStep<Controller>(this); | |
| } | |
| public BuilderStep<ListingSearchController> Controller { get; } | |
| public T Build() |
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
| /// <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 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
| { | |
| "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 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
| #Requires -Version 5.1 | |
| <# | |
| .SYNOPSIS | |
| Off-Screen Window Recovery Module | |
| .DESCRIPTION | |
| A PowerShell module that provides functionality to detect and recover windows that have | |
| become positioned off-screen, typically after disconnecting external monitors or changing | |
| display configurations. This is especially useful for picture-in-picture windows, |
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
| Enter this in the search box along with your search terms: | |
| Get all gists from the user santisbon. | |
| `user:santisbon` | |
| Find all gists with a .yml extension. | |
| `extension:yml` | |
| Find all gists with HTML files. | |
| `language:html` |
OlderNewer