Provides a debian repo for corretto jdk (8, but can be modified for 11).
Also provides an "archive" of all older versions.
repreprowget
| #!/usr/bin/env python | |
| import json | |
| from jinja2 import Template | |
| # git clone https://github.com/pingcap/tidb-docker-compose | |
| # cd tidb-docker-compose | |
| # git clone https://github.com/tennix/grafonnet-lib -b table | |
| # python dashboard-to-jsonnet.py > pd.jsonnet | |
| # jsonnet -J grafonnet-lib pd.jsonnet > config/dashboards/generated-pd.json | |
| with open('config/dashboards/pd.json', 'r') as f: | |
| data = json.load(f) |
| #!/bin/sh | |
| #http://bit.ly/slavkobox | |
| curl -sSL http://bit.ly/slavkodotfiles > bootstrap.sh && chmod +x bootstrap.sh && ./bootstrap.sh | |
| curl -L http://bit.ly/voronenko | bash -s |
| IFS="$(printf '\n\t')" | |
| mkdir -p ~/.ssh | |
| if ! [[ -f ~/.ssh/authorized_keys ]]; then | |
| echo "Creating new ~/.ssh/authorized_keys" | |
| touch ~/.ssh/authorized_keys | |
| fi | |
| if type "curl" > /dev/null; then |
This simple script will take a picture of a whiteboard and use parts of the ImageMagick library with sane defaults to clean it up tremendously.
The script is here:
#!/bin/bash
convert "$1" -morphology Convolve DoG:15,100,0 -negate -normalize -blur 0x1 -channel RBG -level 60%,91%,0.1 "$2"
A timeline of the last four years of detecting good old window.localStorage.
October 2009: 5059daa
| prompt = function() { | |
| var ndocs, obj, p, sec; | |
| ndocs = function(n) { | |
| return "" + n + " document" + (n > 1 ? 's' : ''); | |
| }; | |
| db.setProfilingLevel(2); | |
| obj = db.getLastErrorObj(); | |
| p = db.system.profile.find({ | |
| $and: [ | |
| {ns: {$not: /profile$/}}, |
rsync (Everyone seems to like -z, but it is much slower for me)
| #!/bin/sh | |
| # script to automate the load and export to CSV of an oracle dump | |
| # This script assumes: | |
| # * you have the vagrant published key available locally in your .ssh directory | |
| # * You have the Oracle VirtualBox image running locally | |
| # ** ssh port-forwarding is configured for host port 2022 -> guess port 22. | |
| set -e |
#Create bitbucket branch
##Create local branch
$ git checkout -b sync
Switched to a new branch 'sync'
$ git branch
master
* sync