Skip to main content

Posts

Personal best ssh client for Android

Remotely connecting to Linux securely in Android is like a walk in the park, ssh clients abound in Google Play Store. But ssh clients are not created alike. Some are designed with specific hardware in mind and for those who like to use physical keyboards, like Droid 3, you probably want to use all the keys. I have tried Terminal IDE, ConnectBot, Android Terminal Emulator but none of them work as I would have hoped. Like using ~, tab key for command line completion, display mc (Midnight Commander) properly. But one actually meet my need today, VX ConnectBot . In my understanding it is based on ConnectBot with changes to allow a much more pleasant experience using hardware keyboard. Try it for yourself, download from Google Play Store. Note: * Tested using Droid Razr Maxx using stock OS and Droid 3 using ICS.

Changing default port used by Apache

Not sure if this is the right way to do it, searching the blogoshpere seems to indicate that this might be the case. Steps to change default port that Apache listens on: As good practice make a copy of the file ports.conf to somewhere safe. Like mkdir ~/bak cp /etc/apache2/ports.conf ~/bak Open and edit ports.conf, like sudo vim /etc/apache2/ports.conf . In Ubuntu 12.10, change Listen 80 to Listen 81 . This should be around line 9, of course change 81 to a value that you need. Restart Apache to enforce the changes, like sudo /etc/init.d/apache2 restart . References: http://httpd.apache.org/docs/2.2/vhosts/name-based.html http://ubuntublog.org/how-to-change-apache-ports-in-ubuntu.htm

PInvoke.net alternative

http://pinvoke.net/ is my goto location when I need to call native functions into C#. I just found out today that there is actually an alternative from Microsoft called P/Invoke Interop Assistant, head to the link below to get the binaries. http://clrinterop.codeplex.com/ http://clrinterop.codeplex.com/releases/view/14120

Windows 8 Mouse Tips and Tricks

Work in progress!!! Mouse Gesture What it does Click anywhere Lock screen: brings up login screen Move mouse to corner bottom left, then click popup icon Either shows Start(home) screen or desktop screen Move mouse to corner top left, then click popup icon Cycle through running applications Move mouse to corner bottom(or top) left, then move mouse up Show running applications Move mouse to corner bottom right Show Charms bar Right Click in Doc area IE10MUI: Brings up address bar and tab bar * IE10MUIE: IE10 Moderun UI

Windows 8 Shortcuts

Work in progress!!! Keyboard Shortcut Action Win Key Windows 8 Home Screen Any Key Lock Screen - brings up login window Page Down/Page Up In W8 Home Screen, move between tile groups Win+C Open Charms bar Win+Q Bring up integrated/semantic search Win+f Search for Files Win+I Charms bar Settings Win+K Charms bar Devices Win+Tab See running applications Win+D Show Desktop