Buy Moto series phones: Moto E, Moto G, Moto X or Other phones
Buy eBooks from Flipkart
-----------------------------------------------
sudo date MMDDHHmmYY
Showing posts with label OS X. Show all posts
Showing posts with label OS X. Show all posts
Wednesday, July 24, 2019
Change date in Mac via terminal
(Month,date,hour,minute,year)
For e.g., sudo date 0101101019 to change date to 10 hour 10 min of 2019 Jan 01.
Wednesday, July 25, 2018
Column selection in Eclipse
Buy Moto series phones: Moto E, Moto G, Moto X or Other phones
Buy eBooks from Flipkart
-----------------------------------------------
Eclipse also offers column selection functionality similar to popular text editors Notepad++, Sublime Text2.
On a Mac, need to press "cmd + option + A"
On Windows and Linux, you need to press "alt + shift + A"
Please note doing above will take you to block selection mode, and you need to press same keys again to come back to normal mode.
Source: https://stackoverflow.com/questions/1053725/how-do-i-enable-the-column-selection-mode-in-eclipse
Monday, January 30, 2017
Create a desktop shortcut in Mac with Automator
Buy Moto series phones: Moto E, Moto G, Moto X or Other phones
Buy eBooks from Flipkart
-----------------------------------------------
Open Automator
File > New
select Application
Then add "Run Shell Script" option
Give the command to run, here I am giving Google chrome canary with no proxy option
/Applications/Google\ Chrome\ Canary.app/Contents/MacOS/Google\ Chrome\ Canary --no-proxy-server=Then Save with the name you want.
By default this will show automator icon.
Here is how to set your favorite icon.
Right click on Chrome canary icon and select "Get Info"
Then click on the icon and press Cmd+c
to copy the icon.
Now open info window on newly created icon, select the icon in the same place (which shows automator icon) press Cmd+v to paste the previously copied icon.
Subscribe to:
Posts (Atom)