- install git for windows
choco install git
- install additional unix utilities
choco install gow
- install SDK man to custom location following installation guide
$ export SDKMAN_DIR="/c/project/lib/sdkman" && curl -s "https://get.sdkman.io" | bash
import java.nio.file.FileSystems | |
import java.nio.file.Path | |
import java.nio.file.Paths | |
import java.nio.file.StandardWatchEventKinds | |
import java.nio.file.WatchKey | |
import java.nio.file.WatchService | |
import static java.nio.file.StandardWatchEventKinds.ENTRY_CREATE | |
import static java.nio.file.StandardWatchEventKinds.ENTRY_DELETE | |
import static java.nio.file.StandardWatchEventKinds.ENTRY_MODIFY |
#!/bin/bash | |
# set -o errexit | |
# set -o pipefail | |
# set -o nounset | |
# set -o xtrace | |
__dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" | |
__file="${__dir}/$(basename "${BASH_SOURCE[0]}")" | |
__base="$(basename ${__file} .sh)" |
{ | |
"cmd": ["java", "-cp", "%LIB%\\ivy-2.3.0.jar;%LIB%\\..\\embeddable\\groovy-all-2.3.6.jar", "groovy.ui.GroovyMain", "$file"], | |
"selector": "source.groovy", | |
"env": { | |
"LIB": "C:\\bin\\groovy-2.3.6\\lib" | |
}, | |
"shell": true | |
} |
-- https://robertomurray.co.uk/blog/2011/postgresql-find-next-available-ip-addresses/ | |
SELECT sub.ip FROM | |
(SELECT set_masklen(((generate_series(1, | |
(2 ^ (32 - masklen('10.10.100.0/24'::cidr)))::integer - 2) + | |
'10.10.100.0/24'::cidr)::inet), 32) as ip) AS sub | |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<meta http-equiv="X-UA-Compatible" content="ie=edge"> | |
<title>Kalendář CB Lištná</title> | |
</head> |
import Ember from 'ember'; | |
export default Ember.Component.extend({ | |
actions: { | |
toggleIsOpen() { | |
console.log('toggling isOpen from collapsible-panel'); | |
this.toggleProperty('isOpen'); | |
} | |
} | |
}); |
set nocompatible | |
syntax on | |
set number | |
filetype on | |
filetype plugin on | |
filetype indent on | |
set path+=** |
choco install git
choco install gow
$ export SDKMAN_DIR="/c/project/lib/sdkman" && curl -s "https://get.sdkman.io" | bash
#!/usr/bin/env bash | |
set -Eeuo pipefail | |
trap cleanup SIGINT SIGTERM ERR EXIT | |
script_dir=$(cd "$(dirname "${BASH_SOURCE[0]}")" &>/dev/null && pwd -P) | |
usage() { | |
cat <<EOF | |
Usage: $(basename "${BASH_SOURCE[0]}") [-h] [-v] [-f] -p param_value arg1 [arg2...] |