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) from…Continue reading
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 directoryInside /Contents rename Info.plist to Info.plist.disabledRestart 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. Java 8…Continue reading
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 installing…Continue reading
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 of…Continue reading
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/binContinue reading
Something went wrong. Please refresh the page and/or try again.