.Net Restart an ASP.NET application programmatically without editing the web.config

Windows oddly.. but a good friend found this it’s on her site: http://rochcass.wordpress.com/2013/03/28/restart-an-asp-net-application-programmatically-without-editing-the-web-config/ to quote: Several times I would be working on a site and some data would not change due to session variables or the .NET cache. This can’t be eliminated by clearing the browser cache but would need the whole ASP.NET application to…

Accessing ESX management interface (DCUI) from ssh

Access the ESXi Direct Console User Interface (DCUI) over SSH When not in position to go to the DC to access the ESX text mode interface use the DCUI command: First you need to enable and start Remote Tech Support (SSH). This is done for the ESXi Host in Configuration -> Software -> Security Profile…

One Liner Email from bash

Simple: # echo “This will go into the body of the mail.” | mail -s “Hello world” you@youremailid.com nJoy 😉  

Removing ctrl M (^M) from files in vi

It’s a common thing to open a file on linux and discover it was flooded with ^M symbols after being editted in windows by some windows user. The ^M symbol is pretty harmless usually (it is the representation of alternate CR carriage return or move to beginning of line). An old IBM /PCDOS artefact not…

Automagically maintain a file system with autofs

Pending more detail yum install -y autofs /etc/autofs.master contains used protocols /- /etc/autofs.nfs /etc/autofs.nfs /mnt/mountpoint -fstype=nfs,rw,soft,intr,rsize=8192,wsize=8192 hostname_or_IP:/mnt/exported_folder To find out what is exported on a given machine use showmount -e nJoy 😉

Java automatic download link

Hard to find but downloading java from a script (not openjdk in the repos) is not something I found easily. So here is page with the links: http://java.com/en/download/manual.jsp?locale=en nJoy 😉

How to Auto-Unlock Keyring in Ubuntu 12.04, 12.10

One of the benefits of using Ubuntu OS is it comes with build-in security/safety/privacy feature. One of this feature is a keyring manager application that stores and manage your password for your credentials. This feature is really useful to keep your credentials safe and no one can unlock them, except you of course, even if…