Tuesday, June 14, 2016

Reset OSX to factory setting without Disc


Use the following steps to reset.


  1. Reboot the device
  2. Press Command+S during startup until command window shows up
  3. Run the following Commands
    • mount -uw / 
    • rm /var/db/.AppleSetupDone
    • shutdown -h now
After the reboot, the system will be ready to setup new.

Sunday, August 18, 2013

Compile NodeJS from source on Debian (linux)


Steps

  1. wget http://nodejs.org/dist/v0.10.16/node-v0.10.16.tar.gz  /// Downloads the source
  2. tar -zxf node-v0.10.16.tar.gz ///extract to local folder
  3. su  /// switch to root
  4. apt-get install build-essential ///This command installs the c compiler and other essential build tools.
  5.  ./configure && make /// builds the source

Sunday, July 21, 2013

Good Hotels to stay at Chennai for US Consulate Visa Interview.

If you have OFC appointment and Visa interview back to back days, the best way to go for booking hotel is the one nearest to one of these location, not in between. My recommendation would be to stay closer to OFC center so that you can tackle the first day with no tension.
There are some nice hotels very nearby: The Raintree Hotel, Anna Salai or The Residency Towers, Chennai are among them.

If you like to stay closer to the Consulate office where you have the second day interview, there are some nice high-end hotels too. Here are some of the one I know of : Hotel Palmgrove  or Marriot Courtyard etc.

If you like to stay in a mid-class Hotel, where you don't care about luxury, but just care about some nice neat stay in a/c room and get done with the visa interview, you have some nice cheaper options nearby the US consulate office. Century Residency , Crystal Residency and Shell Residency are among the good ones... Most of them are near the thousand lights area...

Good luck with your interviews... by the way, for the Consulate interview (second day) you can go as early as 1 hrs and most likely you will get the interview done in next 10 mins or so with the new system ... so you can save around 50 min round about in your waiting time in a hotel room..  

Thursday, September 27, 2012

Chennai OFC Visa Interview

I had a visa interview this week at US embassy chennail OFC for bio matrics etc. I had a difficult time in figuringout the building as there are no landmarks provided with the address. So here are some details about the location.
This new center is located near US Embassy. So you can first ask the taxi vala/ auto to go near US embassy. Then ask for Appollo Cancer Center hospital in Tynapettu (Raintree hotel is also nearby. So this is another way to figureout applo cancern center). This new office is on the same road where appollo cancer center is located, which is on Cenotaph road. So, go pass appollo hospital and you will see this building on the opposite side of appolo two blocks across. The building is owned by TPL (Tamilnadu Petroleum Ltd). The office is on Second floor of the building, elevator/ staris are on the back side, you may enter from first floor to the elevator.

Procedure are very simple in this office, so once you get in and get you token, everything else will follow... Staffs are well trained and will help you with any situation. Good luck with your interview. Let me know if you have more question...  Below is a google map showing exact location.

No 3, Cenotaph Road,
Teynampet,
Chennai,600018


US counsulate Chennai OFC location



Tuesday, August 28, 2012

Setup web server in Fedora

1. Make sure you install httpd server on the system.
  • rpm -qa | grep httpd         - This shows the list if you already have httpd installed on your system
2. If not installed, you may use:
  • yum install httpd          - download and install httpd server. 
    • to switch to root user: type "su" and provide Password when asked
3. Once the installation is complete, verify the test page: http://localhost
4. Create "/mywebsite" folder to organize your static web contents
5. Give apache server a readonly access to "/mywebsite" and its subfolders:
  • semanage fcontext -a -t httpd_sys_content_t "/mywebsite(/.*)?"
follow here to complete the changes: http://docs.fedoraproject.org/en-US/Fedora/13/html/Managing_Confined_Services/sect-Managing_Confined_Services-The_Apache_HTTP_Server-Configuration_examples.html#sect-Managing_Confined_Services-Configuration_examples-Running_a_static_site