Git log oneline

The issue

For quite a while, I had an older version of an alias for a short and readable oneline-per-commit git log:

t log --abbrev-commit --date=short --pretty=format:'%x00%h%x00%cd%x00%s%x00%an%x00%d' | gawk -F '\\0' '{ printf \"%s\\033[31m%s\\033[0 …
more ...

Terminal emulators testing

So I thought about changing my good old setup based on urxvt, for the longest time, the thing that prevented me from using another terminal was the fact that I was way too confortable using mark-and-yank plugin to open url using keyboard shortcut. Having most of my exchange with other …

more ...

Switching to NeoVim

I've been planning on trying out neovim again, but couldn't remember what the issue was last time I tried it, so I tried quickly again and found back:

Powerline isn't compatible with it.

And the previous time I wasn't willing to play too much with my configuration so I didn't …

more ...

Brother printer and scanner under archlinux

We received our new Brother DCP-L2520DW printer, a black and white laser printer and scanner with wifi, for 140€, that was a decent deal, my only concern was linux support.

Of course I checked before and saw the drivers provided on Brother's website, a friend also told me he had …

more ...

Decipher ESP packets with Scapy

I'm currently working on implementing support for hardware cryptographic engine on a board we support at work. Currently it is not working and I was trying to debug it, thus trying to see what is happening. I tcpdumped the packets received, and tried to have a look at it. Sadly …

more ...

.vimrc

As a reference, here is my current .vimrc file, stripped from a few things specific to my current job:

" ---------------
" Start Plug
" ---------------
call plug#begin('~/.vim/plugged')

" git
Plug 'tpope/vim-fugitive'

" utils
Plug 'rking/ag.vim'         " ag fro grepping in vim
Plug 'tpope/vim-commentary' " gcc gc etc for commenting
Plug 'tpope …
more ...

Review git-to-be-pushed changes in vim

First, this assume you use fugitive.vim. You don't? I really think you should. If you're still not convinced, have a quick look at the readme, take some time to go over one of the screencast linked there. I personally understood a lot about git index by watching the screencast …

more ...

Git command typos

Recently beorn shared two git typos on IRC, and I felt it was worth a small post about possible typos and their possible meaning, if any.

add

git ass

For when you need to get some?

bisect

git insect

Ok, this one may be a little far-fetched... still, it il …

more ...

Imagemagick convert and groups

I was willing to make some combined images to show off Camille Dolls, but I wanted to have good alignement and spacing between the pictures. I gave a shot at doing it by hand with Gimp but making alignement and spacing by hand was kind of a hassle. I'm pretty …

more ...

Irssi Window Change Bindings

EDIT: Urxvt has a bind on meta-s so I had to add to my .Xdefaults:

URxvt.searchable-scrollback: CM-s

I've using the default window change key bindings in irssi for a long time, plus some aliasse like

alias 30 /window 30

But I've had an idea recently by reading a piece …

more ...

Nginx, gunicorn, FreeBSD and some jails

I was wondering what impact on performances can a jail have, so I made a VM and, installed a fresh FreeBSD 9.1, setup nginx on host, and tried various configurations for gunicorn, running a django application in and outside of jail.

Summary

For the impatient a small summary in …

more ...

Conkeror hinting on home row keys

I've been using conkeror for a while now, and like in any keyboard driven browser, the hinting system is at the heart of your daily browsing.

One thing I like in conkeror's hinting system, is the ability to filter out links using part of the words making up the link …

more ...

Pages

  • About Me