Showing posts with label Macbook. Show all posts
Showing posts with label Macbook. Show all posts

Saturday, December 2, 2017

MacBook Issue: Scroll command history vs Scroll Window

I just found that two finger scrolling does not work when I am using ssh in Terminal.

Here is how to fix the issue:


Saturday, November 11, 2017

Browser Navigation

Useful keyboard shortcuts:

New Browser Window: Command + N (New)
Next Window in the same Apps: Command + key for [`~]
Previous Window in the same Apps: Command + Shift + key [`~] for reverse direction

New Tab: Command + T (Tab)
Close Tab : Command + W (Withdraw)
Move to Next Tab: Control + Tab (similar to command + tab for switching between apps)
Move to Previous Tab: Control + Shift + Tab for reverse direction
Go to the Address Bar: Command + L (Location)


Friday, November 3, 2017

Text Editors on Mac OSX

I used Text Mate and TextWrangler.  Both are excellent.  They are not really free and I do not want to have any license risk by using an unlicensed version for work.

I recently found a new alternative. 

Sunday, September 17, 2017

The DEL key in Macbook

After I use MacBook for almost two years, I learn how to delete the character after the cursor.

Monday, August 14, 2017

MacBook tips : install Homebrew

MacOS Sierra
Version 10.12.6

This tool is useful. - https://brew.sh/


/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"


Sunday, January 22, 2017

Tuesday, April 19, 2016

Access MySQL database in Ubuntu VM from Macbook

It is handy to have a MySQL database VM.   I can use it to build the demo data in the database and can carry it on my laptop.  I can even share it between the Window laptop and Macbook.

I am using Ubuntu linux and Virtualbox.

Here is how to enable MySQL to be accessible from the host laptop:

1. Install MySQL

2. Access MySQL locally
mysql -u<user> -p<password>

3. Add the host-only network into the VM

4. Use ifconfig to get the IP address of the VM
The value must be something like 192.168.*.*.


Enable the ssh access to the Ubuntu VM running on Virtualbox from MacBook host

I have created a Ubuntu 64 bit VM on my macbook.  I enabled the ssh and sftp access to it.

The configuration involves the virtualbox VM setup as well as configuration within the linux.



Here are the steps:

Enable ssh and sftp access to Macbook

Sometime, it is useful to copy files from macbook or run the command line remotely or even from the VM.

I setup ubuntu VM using Virtualbox and use NAT network.  How to I access the host macbook?