Skip to main content

Posts

How do I type a copyright symbol on a Mac?

  How do I type a copyright symbol on a Mac? To  type the copyright symbol  simply hold down the option key and press the 'g' key.
Recent posts

How to Enter Split View on MAC

Enter Split  View Hover your pointer over the full-screen button in the upper-left corner of a  window . Or click and hold the button. Choose ”Tile  Window  to Left of Screen” or ”Tile  Window  to Right of Screen” from the menu. ... Then click a  window  on the other side of the screen to begin using both  windows  side by side. Hover your pointer over the full-screen button in the upper-left corner of a  window . Or click and hold the button. Choose ”Tile  Window  to Left of Screen” or ”Tile  Window  to Right of Screen” from the menu. ... Then click a  window  on the other side of the screen to begin using both  windows  side by side.

How to load the sample database into the MariaDB server.

1. Download  the Sample Database  (Source :  https://www.mariadbtutorial.com/getting-started/mariadb-sample-database/  ) 2. unzip the file to a directory e.g.,  c:\mariadb\nation.sql 2.   connect to the MariaDB server  with the  root  user account, type the password and press the   Enter  keyboard. sudo mysql -u root -p Enter password: ******** 3.  Load the database by using the source command: mysql>source c:\mariadb\nation.sql 4.  select the   nation   database and display tables of the database: mysql> use nation; Database changed mysql> show tables ;

How to change location of Mac screenshots in older macOS versions

The Default location of screenshots on Mac is desktop folder and it looks pretty scattered when we have multiple screenshots lying on the desktop. To make it look more organized and tidy we can change the location with following steps :  In the following example we'll assume we are changing the location to Documents folder on Mac.  we've created a desktop folder called exactly that, but you can change this process for different locations provided you know the file path. Click on the Finder to open a new Finder window and go to Documents folder. Create a new folder inside Documents folder. Name it Screenshots (or whatever you want to call it) Now open Terminal (press Command + Space and start typing Terminal until the icon appears) then click on that icon to open the app. In Terminal type the following: defaults write com.apple.screencapture location (There needs to be a space after location it won’t work without it) Now drag and drop your Screenshots folder on top

Backslash on mac

I had been struggling to type back slash ( \) character on mac japanese keyboard as they don't have it printed on the keyboard, and I was doing copy paste all the time from google when i needed to type it until recently a tip came to my rescue , shortcut to backslash on mac japanese keyboard. Alt + ¥  Hope it helps others. 

How to check if apache is installed on a machine or not ?

dpkg --get-selections | grep apache It lists all installed packages that contain "apache" in their name. For example: apache2 install apache2-doc install apache2-mpm-prefork install apache2-utils install apache2.2-bin install apache2.2-common install libapache2-mod-php5 install libapache2-svn install It indicates that the package apache2 is installed on the system. Another approach, to find any running HTTP daemon on the default port would be: sudo lsof -nPi | grep ":80 (LISTEN)" Which lists something like: apache2 1026 root 4u IPv6 3739 0t0 TCP *:80 (LISTEN) apache2 3966 www-data 4u IPv6 3739 0t0 TCP *:80 (LISTEN) apache2 4014 www-data 4u IPv6