It is so simple and powerful enough too, what a wonderful client: Tig.
— via Atlassian
Tag: Utility
Making irssi refresh work with tmux
The first time you try using irssi with tmux you might notice that on screens larger than 40 rows the refresh functionality does not work. This is a known not-really-an-issue tmux requires a particular term and is quite clear about it in the docs (if you read them I did not). Found the solution here, when you start tmux set the term for it correctly:
alias irssi='TERM=screen-256color irssi'
OldChromeRemover
OldChromeRemover removes old copies of Chrome that are doing nothing but wasting disk space on your Windows machine.
Rebootable Programs in Racket
Here is how to do it courtesy of TonyG.
Configuring VNC on Ubuntu 12.04 LTS Desktop Over SSH Before Logging In Locally
My goal was to log in to the Ubuntu 12.04 LTS Desktop desktop, over a SSH tunnel, using VNC, before anyone was logged into the desktop itself. This scenario occurs because although you may share your desktop over the built in “Desktop Sharing”, you may need to restart the system, and after rebooting you are left with a login screen desktop, but without a logged-in desktop to share.
The directions I followed are from this great post.
sudo /usr/bin/x11vnc -xkb -noxrecord -noxfixes -noxdamage -auth /var/run/lightdm/root/:0 -display :0 -passwd "yourpwhere" -forever -bg -o /var/log/x11vnc.log
Option notes: -xkb, help with keyboard modifiers. -noxrecord, don’t let the xserver do grabs, assume this helps with speed. -noxfixes, disable xfixes cursor shape mode, assume this helps with speed. -noxdamage, disable xdamage polling hints, this does help with speed, has to do with Ubuntu’s compiz. -auth, lightdm is the unity login manager. -display, the primary. -passwd not secure, tunnel over ssh also. -forever don’t quit after the first client disconnects. -bg go into background mode. -o redirect output here.
XMing X Server for Windows
Check out this beautiful X Server for Windows: XMing.
It “just works” so well; up and running in about 30s with Putty.
Useful Image Conversions
My placeholder for image conversion commands mostly with ImageMagick:
Resize without quality loss:
convert -resize 50%% -quality 100 %1.jpg %1s.jpg
ADDENDUM:
Resize to 33% of the original size using mogrify
.
mogrify -resize 33% *.jpg
Nice SFTP Server for Windows: KPYM
Check it out here. It is free and open and donations are recommended.
A Radiator Booster
Check it out here. Looks like a great way to be more efficent, and warm.
Capturing all output in MS-DOS
Seems like there is not a single example out there showing how to run Tomcat in MS-DOS and capture all of its output. I sure didn’t know how, and don’t remember the post that told me.
catalina run > ..\logs\console.log 2<&1