(C-x means ctrl+x, M-x means alt+x)
The default prefix is C-b. If you (or your muscle memory) prefer C-a, you need to add this to ~/.tmux.conf
.
#! /usr/bin/env python | |
# -*- coding: utf-8 -*- | |
# vim:fenc=utf-8 | |
# | |
# Copyright © 2016 Óscar García Amor <[email protected]> | |
# | |
# Distributed under terms of the GNU GPLv3 license. | |
from time import strftime |
Simple way to setup an arm chroot for building packages for your arm devices. This is an alternative to cross-compiling where you are limited to only linking against the libs in your toolchain.
You can store the chroot wherever you like. I choose to store it in a disk-image which I mount to my filesystem.
directory: ~/Música | |
import: | |
write: yes | |
copy: yes | |
id3v23: yes | |
per_disc_numbering: yes | |
paths: | |
disctotal:2..: $albumartist/$album%aunique{}/%right{$disc,1}-$track $title |
{ | |
"template": "nginx-*", | |
"settings": { | |
"index.number_of_shards": "5" | |
}, | |
"mappings": { | |
"_default_": { | |
"properties": { | |
"auth": { | |
"index_name": "auth", |
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
#! /bin/bash | |
# (c) 2010 Andres J. Diaz <[email protected]> | |
# Modified 2011 by Ryan Turner <[email protected]> | |
# Modified 2011 by Oscar Garcia Amor <[email protected]> | |
# A hook to git-commit(1) to update the home dot files link using this | |
# repository as based. | |
# | |
# To enable this hook, rename this file to "post-commit". | |
for dot in $PWD/*; do |