awesome global shortcut
The awesome window
manager does not
provide GUI
configuration tool.
Here is a litte how to to provide a feature using global shortcut,
illustrated with wolume control.
Defining and identifying the feature and the shortcut
The wanted feature is usually accessible via the
CLI . For …
Read More
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
(Photo credit: Wikipedia)
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 in this case. The solution that works for me …
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