javascript:(function(){
//Statements returning a non-undefined type, e.g. assignments
return null;
})();
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
// Example of extracting a dependency (e.g., jar, dll, so, etc...) from a configurations dependencies. | |
// Useful for running things locally (cli, db driver, etc) and need easy way to extract resolved version used by project. | |
repositories { | |
mavenCentral() | |
} | |
configurations { | |
nativeLibraries { transitive = false } | |
} |
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 org.test; | |
import static org.junit.Assert.assertFalse; | |
import static org.junit.Assert.assertNotSame; | |
import static org.junit.Assert.assertTrue; | |
public class AssertEqualsHashCode { | |
/** | |
* Assert that the equals method is reflexive, symmetric, transitive, consistent, and should return a false if the reference | |
* argument is null and asserts that the hashCode method is consistent with equals (i.e., if objects are equal their hash |
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
# Description: Boxstarter Script | |
# Author: Jess Frazelle <[email protected]> | |
# Last Updated: 2017-09-11 | |
# | |
# Install boxstarter: | |
# . { iwr -useb http://boxstarter.org/bootstrapper.ps1 } | iex; get-boxstarter -Force | |
# | |
# You might need to set: Set-ExecutionPolicy RemoteSigned | |
# | |
# Run this boxstarter by calling the following from an **elevated** command-prompt: |