master
dev
- Release branch
alias j10="export JAVA_HOME=`/usr/libexec/java_home -v 10`; java -version" | |
alias j9="export JAVA_HOME=`/usr/libexec/java_home -v 9`; java -version" | |
alias j8="export JAVA_HOME=`/usr/libexec/java_home -v 1.8`; java -version" | |
alias j7="export JAVA_HOME=`/usr/libexec/java_home -v 1.7`; java -version" |
Joe Celko's SQL for Smarties, 5th Edition
Chapter 32.1 - Finding Subregions of Size (n)
Finding the maximum contiguous sum in an array
sudo openssl req -x509 -nodes \ | |
-days 365 \ | |
-newkey rsa:2048 \ | |
-keyout /etc/ssl/mydomain_com.key \ | |
-out /etc/ssl/mydomain_com.crt \ | |
-subj '/CN=mydomain.com' |
module Sample exposing (..) | |
import Html exposing (Html, input, button, div, text, program) | |
import Html.Events exposing (onInput, onClick) | |
import Http exposing (post, jsonBody) | |
import Json.Encode as Encode exposing (..) | |
import Json.Decode as Decode exposing (Decoder, int, string) | |
import Json.Decode.Pipeline exposing (decode, required) | |
import Debug exposing (log) |
Turn on
networksetup -setwebproxy Wi-Fi my-proxy.com 8080
networksetup -setsecurewebproxy Wi-Fi my-proxy.com 8080
Turn off
<!DOCTYPE html> | |
<html> | |
<head> | |
<link rel="stylesheet" href="build/style.css"> | |
</head> | |
<body> | |
<div class="container"> | |
<header class="header"> | |
</header> | |
<div class="body"> |
function head(x) { | |
if (typeof x === 'string' && x.length > 0) { | |
return x.charAt(0) | |
} else if (Array.isArray(x) && x.length > 0) { | |
return x[0] | |
} | |
return null | |
} | |
module.exports = { |
const VALUE = Symbol('Value'); | |
class Container { | |
constructor(x) { | |
this[VALUE] = x | |
} | |
map(f) { | |
return f(this[VALUE]); | |
} |