How to make a Java version installed in Mac OS X not accessible system wide?

To make a Java version not accessible system wide but only from the terminal

  • Go to `/Library/Java/JavaVirtualMachines` and then inside specific JDK directory.
  • Inside `Contents/` rename `Info.plist` to `Info.plist.disabled`
  • Restart the computer

Ref: https://stackoverflow.com/questions/21964709/how-to-set-or-change-the-default-java-jdk-version-on-os-x

Advertisements

3 ways to have Nodejs in Docker

    • Use official Nodejs image

FROM node:0.10.38

    • Use chrislea’s PPA

FROM ubuntu:14.04
RUN apt-get install -y software-properties-common
RUN apt-add-repository ppa:chris-lea/node.js
RUN apt-get update
RUN apt-get install -y nodejs

    • Use curl

FROM ubuntu:14.04
RUN apt-get install -y curl software-properties-common
RUN mkdir /nodejs && curl http://nodejs.org/dist/v0.10.38/node-v0.10.38-linux-x64.tar.gz | tar xvzf – -C /nodejs –strip-components=1
ENV PATH $PATH:/nodejs/bin

How to set WiFi password in BSNL Broadband UTStarcom router?

  1. Open a browser, type http://192.168.1.1 in address bar and hit enter.
  2. A popup will show. Enter Username/Password as admin/admin
  3. Now you will be in Router Configuration page.
  4. In the left side menu, click on ‘Wireless’. In the sub-menu click on ‘Security’.
  5. Provide the following values:-
    • Network Authentication: Open
    • WEP Encryption: Enabled
    • Encryption Strength: 64bit
    • Current Network Key: 1
    • Network Key 1: <Enter ur WiFi password here. Five digit number will be sufficient>
  6. Click on Save/Apply. Close the browser. Now your BSNL Wireless Router is password protected.

BSNL BB conf