vim spell checker
The official documentation of the vim spell checker is available on the vimdoc website. This is an extract to go through this process as quicker as I can:
Read More
udev, systemd, laptop, power management and backlight brightness
[caption id="" align="alignright" width="218" class="zemanta-img"] Laptop problem (Photo credit: Wikipedia)[/caption]
My two problems with my laptop are the following:
- I want to control the backlight brihtness of my screen even if I don't start the graphical desktop (i.e. work with tty)
- I want to be …
Read More
Downgrade a package in archlinux
The situation is the following: I need to downgrade the boost package
from the version 1.56 to 1.55. The dedicated
page on
the arch wiki suggest several solutions. The one I chose is using the
AUR package
downgrader . Its
usage is really intuitive:
downgrader -l <package_name>
|
Read More
yahoo openID issue
[caption id="" align="alignright" width="75" class="zemanta-img"] (Photo credit: Wikipedia)[/caption]
Recently, I've encountered an issue using my yahoo openID. This is the standard way I used to log in stackexchange. I don't know where and when was the change made, but it seems I'm not the ony one …
Read More
SQL like aggregation in R
[caption id="" align="alignright" width="75"] Group by (Photo credit: Wikipedia)[/caption]
The
use case is similar to the one descibe in usual
SQL quick reference guide at the "group by" section.
first of all, I need a dataset as one data.frame:
d <- data.frame(product=sample(c("fruit …
Read More
R convert IPv4 adresses to binary
I want to retrieve the binary representation (as a string of 0 and 1) of
an IPv4 address ( human
readable string
representation) using only R functions.
The following steps and functions can be used:
step |
tool |
separate each octet |
strsplit(x, split=”[.]”) |
convert integer to … |
Read More
quick pcap transformation
As many people working with network protocol, I use pcap library and write C code to manipulate packets. After several days testing my library on pcap file, I found that the traffic on which I have to run my program is encapsulated in …
Read More
DNSSEC validation with dig
trust anchor
you need a trust anchor. it should be provided in a file named
trusted-key.key but in my debian locate trusted-key returns an
empty answer. the /etc/bind/bind.keys seems to hold some trust anchors,
but I donnot understand how it should …
Read More
gmail out of office message
..
Postcard: the only mail I may send while on vacation (Photo credit: Wikipedia)
Few month ago, I wrote about gmail's reply-to. The setup of the out-of-office message is quite easier and well documented.
While proofreading this post, I decide to create a category named useless.
Read More
chroot pre/post requests
[caption id="" align="alignright" width="350"] changed roots (Photo credit: Wikipedia)[/caption]
The chroot command is quite simple but I almost always forget all the prerequest and post-chroot checks that should be done to have a fully operational chrooted environment.
The, chroot operation consist in changing the apparent root of …
Read More