Nice! As I am maniac of uptime here is nice utility found at http://www.linuxjournal.com/content/tracking-server-uptimes
uptimed. It is similar to the utility that most of us have heard of, uptime, except that it runs as a daemon and logs the system’s uptime instead of just reading info that is lost on a reboot. Uptimed provides a secondary command called uprecords
Here is what we want to do
We have the following case:
Developer workstation windows with putty
Spider.bg – a host which has access to the www.psspy.se server
www.psspy.se – firewalled host – we want to put files here via sftp
What we want to do is to use spider.bg host as a proxy and connect to the psspy.se machine.
Tools that are used -
Here are the screenshots with the steps ….
(more…)
Faithful to the rule that I must blog everything that took me more than 15min searching in google I am here again.
This time the post is related to my notebook which mousepad doesnt support double tap (poor lenovo :) )
Emulate3buttons – this is the magic key. Wonder how to use it? Just click left+right at the same time.
Also be aware: in the new distros this setting is not changed from xorg.conf check this article
http://www.seebs.net/log/articles/459/disabling-emulate3buttons-on-ubuntuleft+left+right clicks right clicks
The rest is a copy/paste from the post above
The problem is that you can’t just override this in xorg.conf anymore. You need to use xinput. xinput’s powerful, clever, flexible… and totally over the heads of a lot of users. Here’s a script to run from .xinitrc or the equivalent which disables Emulate3Buttons on any input devices which have it. (It’s now called “Middle Button Emulation”, mind.)
#!/bin/sh
xinput list | sed -ne 's/^[^ ][^V].*id=\([0-9]*\).*/\1/p' | while read id
do
case `xinput list-props $id` in
*"Middle Button Emulation"*)
xinput set-int-prop $id "Middle Button Emulation" 8 0
;;
esac
done
How this works: We first obtain a list of ID numbers, disregarding those where the second character on the line was V, because xinput list-props doesn’t work on the "Virtual[...] lines for the generic keyboard and mouse. For each such device, we check to see whether it has the feature; if so, we disable it. (The number 8 indicates that we’re setting an 8-bit value; it doesn’t really matter. The disabled state is 0.)
Found great summary of mod rewrite here
http://stackoverflow.com/questions/286004/hidden-features-of-modrewrite
I aways forget the params for mod_rewrite so here is the summary
- [R] force a redirect (default 301)
- [R=302] force a 302 redirect
- [L] stop rewriting process (see note below in common pitfalls)
- [NC] case insensitive matches
XOrg configuration
- https://wiki.ubuntu.com/X/Config/Resolution
- cvt 1680 1050 75
- xrandr –newmode …the output from cvt
xrandr –newmode “1680x1050_75.00″ 187.00 1680 1800 1976 2272 1050 1053 1059 1099 -hsync +vsync
- xrandr –addmode DVI-0 1680x1050_75.00
Lenovo Y510
You have to install the latest alsa.
Then replace the existing kernel modules with the just build one. Then run depmod -a as point kilbasar here
http://ubuntuforums.org/showthread.php?t=687663&page=2
sudo su
cd /lib/modules/2.6.22-14-generic/ubuntu/media/snd-hda-intel/
mv snd-hda-intel.ko snd-hda-intel.ko.bak
ln -s /lib/modules/2.6.22-14-generic/kernel/sound/pci/hda/snd-hda-intel.ko /lib/modules/2.6.22-14-generic/ubuntu/media/snd-hda-intel/snd-hda-intel.ko
cd /usr/src/alsa/alsa-driver-1.0.16rc2/modules
cp * /lib/modules/2.6.22-14-generic/kernel/sound/
depmod -a
Logitech Revolution MX
http://x4.6times7.org/dokuwiki/doku.php/devlog/blog/howto_logitech_mx_revolution_on_ubuntu
- The mouse wheel control
- make
- sudo ./revoco manual=6
- lets try to add it in ~/.xprofile next time
Section "Monitor"
Identifier "External DVI"
# 1680x1050 74.89 Hz (CVT 1.76MA) hsync: 82.31 kHz; pclk: 187.00 MHz
Modeline "1680x1050_75.00" 187.00 1680 1800 1976 2272 1050 1053 1059 1099 -hsync +vsync
# 1680x1050 59.95 Hz (CVT 1.76MA) hsync: 65.29 kHz; pclk: 146.25 MHz
Modeline "1680x1050_60.00" 146.25 1680 1784 1960 2240 1050 1053 1059 1089 -hsync +vsync
# 1680x1050 69.88 Hz (CVT) hsync: 76.58 kHz; pclk: 174.00 MHz
Modeline "1680x1050_70.00" 174.00 1680 1800 1976 2272 1050 1053 1059 1096 -hsync +vsync
Option "PreferedMode" "1280x1024_75.00"
EndSection
Section "Screen"
Identifier "Configured Screen Device"
Device "Configured Video Device"
SubSection "Display"
Depth 24
Modes "1680x1050" "1024x768" "640x480"
Virtual 2960 1050
EndSubSection
EndSection
Section "Device"
Identifier "Configured Video Device"
Option "Monitor-DVI-0" "External DVI"
EndSection
My Development setup commands
I noticed simillar post here
sudo aptitude install mc vim subversion screen pidgin meld curl links2 vim-ruby vim-gnome vim-doc vim-scripts vim-ruby vim-perl \
subversion git-core bluefish kompozer\
libmysqlclient15off libmysqlclient15-dev mysql-common mysql-client \
libmysql-ruby1.8 irb ruby1.8 rdoc ri rake \
apt-utils build-essential ruby1.8-dev mysql-server memcached libxslt1-dev libpcre3-dev zlib1g-dev unzip gzip mytop openssl \
libopenssl-ruby libmagick9-dev imagemagick librmagick-ruby1.8 imagemagick librmagick-ruby-doc libmagick9-dev ruby1.8-dev \
libdbd-sqlite3-ruby libsqlite3-ruby sqlite3 libsqlite3-dev
ln -s /usr/bin/ruby1.8 /usr/bin/ruby
mkdir ruby_install
cd ruby_install
wget http://rubyforge.org/frs/download.php/60718/rubygems-1.3.5.tgz
tar xzvf ruby*
cd rubygems-1.3.5
ruby setup.rb
cd ..
cd ..
ln -s /usr/bin/gem1.8 /usr/bin/gem
gem install rails mysql mongrel mongrel_cluster rails paperclip will_paginate andand \
json feed-normalizer hpricot mechanize ruby-debug uuid ruport ruport-util acts_as_reportable \
rufus-scheduler annotate openwferu-scheduler production_log_analyzer capistrano-ext libxml-ruby twitter capistrano wirble RedCloth
rspec-rails sqlite3-ruby \
--no-ri --no-rdoc
gem install rmagick -v 1.15.12
ruby -rrubygems -e "require 'RMagick'; puts Magick::Long_version;"
cat > /home/guda/.irbrc
require 'rubygems'
require 'wirble'
Wirble.init
Wirble.colorize
require 'logger'
if ENV.include?('RAILS_ENV') && !Object.const_defined?('RAILS_DEFAULT_LOGGER')
Object.const_set('RAILS_DEFAULT_LOGGER', Logger.new(STDOUT))
end
Gmail notification
http://www.workswithu.com/2009/10/06/gmail-notifier-applets-for-ubuntu/
What about http://ubuntu-tweak.com/