Keybinding | - | Description |
---|---|---|
Ctrl-1 |
- | Move to 1st tab (work every number) |
Ctrl-p |
- | Go to anything |
Ctrl-g |
- | Go to line |
Ctrl-r |
- | Go to symbol (e.g. section and labels) |
Ctrl-m |
- | Move to bracket |
[alias] | |
lg = log -G --pager always --color always --template '\033[0;31m{node|short} \033[0;34m({author|person}) - \033[0;33m{tags} {bookmarks} {branches} \033[0m{desc|firstline|strip} \033[0;32m({date|age})\033[0m\n' | |
show = log -pr | |
chp = graft | |
shortlog = !hg log --template "{author|person}\n" | sort | uniq -c | sort -nr |
I hereby claim:
- I am tessi on github.
- I am tessi (https://keybase.io/tessi) on keybase.
- I have a public key whose fingerprint is A948 40E0 C745 A694 C9F2 C221 E01F 12D7 8B9B 048D
To claim this, I am signing this object:
Follow those steps to install OpenProject on a fresh uberspace.
First we set-up all dependencies. We use ruby 2.1.2
and install gems in a user directory:
echo "gem: --user-install --no-rdoc --no-ri" > ~/.gemrc
cat <<'EOF' >> ~/.bash_profile
#!/bin/sh | |
set -e | |
echo "this script installs openproject" | |
echo "things might take a while, please be patient" | |
echo "" | |
echo "setup environment..." | |
echo "gem: --user-install --no-rdoc --no-ri" > ~/.gemrc |
Uberspace (an awesome german web hoster) has superb postgresql support, except that it currently only offers postgresql versions 9.2.x
and 9.3.x
. I run postgresql 9.6.2
on my uberspace and documented steps for a migration to postgresql 9.6
here.
My goal was to be as close to the original uberspace-postgresql-setup as possible, but I had to copy and modify some uberspace scripts so they correctly use the new postgresql version.
Warning: Here be dragons. This is what I did -- that doesn't mean you should do the same or what I did was clever. Always backup your data and maybe test on a throw-away uberspace first. If you find things to improve, let me know and I'll try to keep this updated.
I hereby claim:
- I am tessi on github.
- I am tessi (https://keybase.io/tessi) on keybase.
- I have a public key ASCnhquaMtRQU8NfCVTGIGGkMe3JQBNsbSU26FjGtgJXlQo
To claim this, I am signing this object:
class ByteArray | |
include Enumerable | |
def initialize(n) | |
@size = n | |
@char_count = (n / 8.0).ceil | |
@store = String.new("\0" * @char_count, encoding: "ASCII-8BIT") | |
end | |
def [](n) |