change pointer speed of Trackpoint on Thinkpad
works well T60 with Ubuntu 13.10 and Ubuntu 14.04 LTS
speed configration by write integer to file
0
<- slower ------------ faster -> 250
-module(rotate). | |
-export([rotate/2]). | |
rotate(N, List) -> | |
if | |
is_number(N) -> | |
rot([N], List); | |
true -> rot(N, List) | |
end. |
So, you might be asking yourself, what is Gistlog?
Gistlog is a blogging "platform" for people who want to quickly write and publish content, in Markdown, and don't want to bother with yet another platform and yet another login and yet another group hoarding their content. With Gistlog, you use your pre-existing Github login, you store the data in your own Github account, and you can publish with a single click.
http://gistlog.co/your-github-username/gist-id
test blog
yum list | |
yum update pulseaudio | |
wget http://rpm.pbone.net/index.php3/stat/3/srodzaj/2/search/blueman-1.21-8.2.src.rpm | |
pair and connect with blueman |
/* | |
* Removes power management and keeps USB hard drive alive in Linux | |
* You can dissable the powermanagement of your device with the following command (no powermanagement = no spindown - no standby for the harddrive) | |
*/ | |
hdparm -B 255 /dev/sdX | |
/* | |
* replace sdX with the name of your harddrive | |
* This will only last till you restart your pc. |
GRUB_CMDLINE_LINUX_DEFAULT="usb-storage.quirks=0bda:1a2b:i" |
#ifndef defer | |
struct defer_dummy {}; | |
template <class F> struct deferrer { F f; ~deferrer() { f(); } }; | |
template <class F> deferrer<F> operator*(defer_dummy, F f) { return {f}; } | |
#define DEFER_(LINE) zz_defer##LINE | |
#define DEFER(LINE) DEFER_(LINE) | |
#define defer auto DEFER(__LINE__) = defer_dummy{} *[&]() | |
#endif // defer |
#!/bin/bash | |
# install qemu utils | |
sudo apt install qemu-utils | |
# install nbd client | |
sudo apt install nbd-client |