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
# Save as ~/.zsh/function/vcs_log | |
# | |
# In your ~/.zshrc | |
# | |
# fpath=(~/.zsh/function $fpath) | |
# autoload vcs_log | |
# zle -N vcs_log | |
# # Bind to Alt+g | |
# bindkey '\eg' vcs_log |
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
name=jdk-11.0.2 | |
priority=1200 | |
section=main | |
hl java /usr/lib/jvm/jdk-11.0.2/bin/java | |
hl jexec /usr/lib/jvm/jdk-11.0.2/lib/jexec | |
hl keytool /usr/lib/jvm/jdk-11.0.2/bin/keytool | |
hl pack200 /usr/lib/jvm/jdk-11.0.2/bin/pack200 | |
hl rmid /usr/lib/jvm/jdk-11.0.2/bin/rmid | |
hl rmiregistry /usr/lib/jvm/jdk-11.0.2/bin/rmiregistry | |
hl unpack200 /usr/lib/jvm/jdk-11.0.2/bin/unpack200 |
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
#!/usr/bin/perl -n | |
# | |
# Achtung: Das Skript ist ein fieser Hack, welcher vermutlich nicht in allen | |
# Faellen funktioniert. Fuer mich hat es fuer erste Experimente | |
# ausreichend gut funktioniert. | |
# | |
# Einzelne Ausgabe von "pdf2txt" einer einer einzelnen PDF Datei | |
# als Parameter oder via Pipe uebergeben. | |
# |
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
#!/usr/bin/perl | |
use strict; | |
use Getopt::Long; | |
# | |
# zram-savings.pl -a - show for all zram blocks | |
# -v - show some verbose debug output | |
# | |
sub read_file { |
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
config | |
let g:ctrlp_map = '<c-r>' | |
map <C-a-n> :NERDTreeToggle<CR> | |
map <C-l> :NERDTreeFind<CR> | |
bundles: | |
https://github.com/mileszs/ack.vim.git | |
https://github.com/vim-scripts/bufexplorer.zip.git |
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
#!/bin/bash | |
# | |
# t440p brightness control | |
# /etc/acpi/brightness | |
bl_dev=/sys/class/backlight/intel_backlight | |
bl=${bl_dev}/brightness | |
step=200 | |
curval=`cat $bl` |
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
#!/usr/bin/env bash | |
URL="$1" | |
# 10 * (30 + 1) is 310s => ~5m | |
MAX=10 | |
SLEEP_SECONDS=1 | |
IT=0 |
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
git alias today 'git log --pretty=format:"%ad - %s" --date=format:"%H:%M:%S" --date-order --reverse --all --since=7:00 --author=CHANGEME' |
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
NPM_EXTRA_ARGS= | |
KARMA_EXTRA_ARGS= | |
echo "bamboo_buildNumber is '$bamboo_buildNumber'" | |
if [ -n "$bamboo_buildNumber" ]; then | |
echo "Using no color and no progress params" | |
NPM_EXTRA_ARGS="--progress false --color false --loglevel warn --unicode false" | |
KARMA_EXTRA_ARGS="--no-colors --reporters junit,coverage --no-auto-watch" | |
fi |