I hereby claim:
- I am darrend on github.
- I am darrenbday (https://keybase.io/darrenbday) on keybase.
- I have a public key whose fingerprint is 0A46 46A2 65E1 6B72 1F09 3BD2 0605 E3A0 0911 2AF5
To claim this, I am signing this object:
num_fragments = 0 | |
counter = lambda { num_fragments += 1 } |
package scripts.rest | |
def values = [:] | |
params.each { name, value -> values[name] = value } | |
headers.each { name, value -> values[name] = value } | |
cookies.each { name, value -> values[name] = value } | |
sessionAttributes.each { name, value -> values[name] = value } | |
return values |
ps -e | grep "mosh-server" | grep -v "^$PPID" | awk '{print $1}' | xargs -r --verbose kill -TERM |
import java.util.Arrays; | |
public class FlagArgumentsDemo { | |
public static void main(String[] args) { | |
System.out.println(convertToInteger("5")); | |
System.out.println(convertToInteger("5", Flag.DEBUG)); | |
System.out.println(convertToInteger("5", Flag.IGNORE_EXCEPTIONS, Flag.DEBUG)); | |
System.out.println(convertToInteger("no number", Flag.IGNORE_EXCEPTIONS, Flag.DEBUG)); | |
System.out.println(convertToInteger("no number", Flag.IGNORE_EXCEPTIONS)); | |
try { |
I hereby claim:
To claim this, I am signing this object:
Berlin and Kay also found that, in languages with fewer than the maximum eleven color categories, the colors found in these languages followed a specific evolutionary pattern. This pattern is as follows:
package us.copperdays.snippets.applicationproperty.demo; | |
import javax.persistence.*; | |
@Entity | |
@Table(name = "APP_PROPS", schema = "DEMO") | |
public class ApplicationPropertyEntity { | |
@Id | |
@Column(name = "KEY") | |
private String key; |
yell() { echo "$0: $*" >&2; }
die() { yell "$*"; exit 111; }
try() { "$@" || die "cannot $*"; }
scriptdir() { (cd "$( dirname "${BASH_SOURCE[0]}" )" && cd .. && pwd) }