Author Archives: shaunthomas999
Git Tips: Make Sublime as editor for git operations in macOS
I would like to use Sublime editor for git (esp. rebase) editing operations rather than default vi editor in macOS. The following steps will help you to configure Sublime as your git editor. Make Sublime accessible from anywhere in the terminal In macOS, subl command that can be used to invoke Sublime (version 3) fromContinue reading “Git Tips: Make Sublime as editor for git operations in macOS”
Java Hacks: Make a Java version installed in macOS NOT accessible system wide
To make a Java version not accessible system wide in macOS i.e. to make it only invocable 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 system Ref: https://stackoverflow.com/questions/21964709/how-to-set-or-change-the-default-java-jdk-version-on-os-x This is useful if you want to run an application in macOS that needs for e.g.Continue reading “Java Hacks: Make a Java version installed in macOS NOT accessible system wide”
How to save and reuse a vagrant machine as vagrant box?
Are you using Vagrant for your application development locally? Do you often encounter situations in which you are forced to destroy vagrant machine and create it again? Then this blog is for you. It is often the situation that you will be using an operating system as base box from Vagrant Atlas and will be installingContinue reading “How to save and reuse a vagrant machine as vagrant box?”
Install and use different versions of Firefox in Ubuntu
You may want to use an old version of Firefox in your system because your automation tests are dependent on it. Use the following instructions to install any version of Firefox in your Ubuntu machine. Go to https://ftp.mozilla.org/pub/firefox/releases/ and navigate through the links to the correct installer you want to use. Get the URL ofContinue reading “Install and use different versions of Firefox in Ubuntu”
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?
Open a browser, type http://192.168.1.1 in address bar and hit enter. A popup will show. Enter Username/Password as admin/admin Now you will be in Router Configuration page. In the left side menu, click on ‘Wireless’. In the sub-menu click on ‘Security’. Provide the following values:- Network Authentication: Open WEP Encryption: Enabled Encryption Strength: 64bit CurrentContinue reading “How to set WiFi password in BSNL Broadband UTStarcom router?”