Lu cat !

17 January 2012 reblog: picapixels


28 December 2011 reblog: instagram-engineering


Arch on T410 setup notes

-Package list parsing from history:

openbox
xorg-server
xorg-xinit
xf86-video-intel
xorg-xbacklight
rxvt-unicode
gtk2-perl
chromium
gmrun
screen
xinput
xorg-xinput
unzip
vim
ntfs-3g
lsof
oconf
obconf
xhost
xorg-xhost
conky
p7zip
cpufrequtils
cpufreqd
acpid
htop
hsetroot
rdesktop
xscreensaver
tint2
opera
powertop
dbus-python
hal
libnotify
alsa-firmware
alsamixser
alsa-tools
alsa-utils
scrot
laptop-init-script
tp_smapi

-Disable touchpad:

xinput —set-prop “SynPS/2 Synaptics TouchPad” “Device Enabled” 0

-Depending on USB using, adjust the suspend value following this guide:

http://www.lesswatts.org/projects/devices-power-management/usb.php

-Taskbar: tint2 and config:

http://sprunge.us/MDNW
-Usefull project going with tint2 and openbox:
-To build batterymon in AUR, you need to build hal-info and hal (new kernel does not support)
hal needs videodev.h which was dropped in 2.6.38 kernel version, to build hal, we need the following patch
http://pastebin.com/raw.php?i=p96qXTr4
-Conky config:
http://sprunge.us/cLed
-Power saving tips:
echo 5 > /proc/sys/vm/laptop_mode
echo 1500 > /proc/sys/vm/dirty_writeback_centisecs
hdparm -B 1 -S 12 /dev/sda
mount -o remount,noatime   /
mount -o remount,relatime /
mount -o remount,nodiratime /
echo 1 > /sys/devices/system/cpu/sched_mc_power_savings
echo ondemand > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
xset dpms 0 0 120
xbacklight -set 50%

-Finally one picture says everything:

Arch on T410

17 December 2011


16 December 2011


15 December 2011


9 December 2011


9 December 2011 reblog: treasure-data


Kitty sessions transfer

For Windows SSH client, I use Kitty instead of Putty at 9bis, mirror can be found at http://www.wuala.com/9bis.com/public/build/0.61.1.1/

It took couple of hours to find Kitty session from the old PC HDD to transfer to the new PC.

Kitty save SSH session (Windows 7) to registry at HCU\Software\9bis.com\Kitty\Sessions

To transfer Kitty session to another PC, backup this file at:

C:\Users\$user\AppData\Roaming\KiTTY\kitty.sav

then import to registry on another PC.

9 December 2011


2 December 2011


1 December 2011


yeah!

yeah!

(via grumpyoldgranny)

29 November 2011 reblog: agarfields


Tầm lãnh đạo

Một người lãnh đạo có thể không có mặt nhưng công việc vẫn tiếp tục chạy trơn tru, có hai trường hợp:

-Lãnh đạo tồi: “không có mợ, chợ vẫn đông”, tầm ảnh hưởng không có đối với cấp dưới, lúc đó các vị trí cấp dưới sẽ tự chạy theo hàng ngang, vẫn chạy trong một thời gian và hiệu quả khó có thể đánh giá được.

-Lãnh đạo tốt: phân công công việc tốt, tạo động lực tốt để cấp dưới có ý thức làm việc, khi đó tuy không có mặt nhưng công việc vẫn chạy tốt. Tuy nhiên không thể giữ công việc trong một thời gian dài vì không có định hướng.

Ngoài ra những người lãnh đạo không thuộc hai trường hợp trên mà lại đi làm lãnh đạo thì hậu quả thật khó lường !

29 November 2011


22 November 2011


18 November 2011


Bạn này mới, giọng du dương ghê …

14 November 2011 Tags