🍭Google search tips you need to know

Google Shortcut Finds Pages That Have…
samsung phone the words samsung and phone
sailing OR boating either the word sailing or the word boating
“love me tender” the exact phrase love me tender
printer -cartridge the word printer but NOT the word cartridge
Toy Story +2 movie title including the number 2
~auto looks up the word auto and synonyms
define:serendipity definitions of the word serendipity
how now * cow the words how now cow separated by one or more words
+ addition; 978+456
subtraction; 978-456
* multiplication; 978*456
/ division; 978/456
% of percentage; 50% of 100
^ raise to a power; 4^18 (4 to the eighteenth power)
old in new (conversion) 45 celsius in Fahrenheit
site:(search only one website) site:lifewire.com “torrent sites”
link:(find linked pages) link:www.lifehacker.com
#…#(search within a number range) samsung phone $200…$300
daterange:(search within a specific date range) bosnia daterange:200508-200510
safesearch: (exclude adult content) safesearch:breast cancer
info: (find info about a page) info:www.lifewire.com
related: (related pages) related:www.lifewire.com
cache: (view cached page) cache:google.com
filetype:(restrict search to specific filetype) zoology filetype:ppt
allintitle: (search for keywords in page title) allintitle:”nike” running
inurl:(restrict search to page URLs) inurl:chewbacca
site:.edu (specific domain search) site:.edu, site:.gov, site:.org, etc.
site:country code (restrict search to country) site:.br “rio de Janeiro”
intext:(search for keyword in body text) intext:parlor
allintext: (return pages with all words specified in body text) allintext:north pole
book(search book text) book The Lord of the Rings
phonebook:(find a phone number) phonebook:Google CA
bphonebook: (find business phone numbers) bphonebook:Intel OR
rphonebook:(find residential phone numbers) rphonebook:Joe Smith Seattle WA
movie:(search for showtimes) movie:wallace and gromit 97110
stocks:(get a stock quote) stocks:wrld
weather:(get local weather)

🚀 How to be more productive with Google Chrome on the Mac

Learning keyboard shortcuts for Google Chrome can increase your productivity. While we are trained to use the touchpad and mouse to make our web navigation easier, learning a few keyboard shortcuts can make your web experience better and faster.

The following list is a primer for all of the keyboard shortcuts for Google Chome on macOS. I hope you find a few of these shortcuts useful.

Tab and window shortcuts

Action Shortcut
Open a new window ⌘ + n
Open a new window in Incognito mode ⌘ + Shift + n
Open a new tab, and jump to it ⌘ + t
Reopen the last closed tab, and jump to it ⌘ + Shift + t
Jump to the next open tab ⌘ + Option + Right arrow
Jump to the previous open tab ⌘ + Option + Left arrow
Jump to a specific tab ⌘ + 1 through ⌘ + 8
Jump to the last tab ⌘ + 9
Open the previous page in your browsing history for the current tab ⌘ + [ or ⌘ + Left arrow
Open the next page in your browsing history for the current tab ⌘ + ] or ⌘ + Right arrow
Closes the current tab or pop-up ⌘ + w
Closes the current window ⌘ + Shift + w
Minimize the window ⌘ + m
Hide Google Chrome ⌘ + h
Quit Google Chrome ⌘ + q

Google Chrome feature shortcuts

Action Shortcut
Show or hide the Bookmarks Bar ⌘ + Shift + b
Open the Bookmark Manager ⌘ + Option + b
Open the Settings page in a new tab ⌘ + ,
Open the History page in a new tab ⌘ + y
Open the Downloads page in a new tab ⌘ + Shift + j
Open the Find Bar to search the current page ⌘ + f
Jump to the next match to your Find Bar search ⌘ + g
Jump to the previous match to your Find Bar search ⌘ + Shift + g
When Find Bar is open, search for selected text ⌘ + e
Open Developer Tools ⌘ + Option + i
Open the Clear Browsing Data options ⌘ + Shift + Delete
Log in as a different user or browse as a Guest ⌘ + Shift + m

Address bar shortcuts

Use the following shortcuts in the address bar:

Action Shortcut
Search with your default search engine Type a search term + Enter
Search using a different search engine Type a search engine name + Tab
Add www. and .com to a site name, and open it in the current tab Type a site name + Control + Enter
Add www. and .com to a site name, and open it in a new tab Type a site name + Control + Shift + Enter
Open the website in a new background tab Type a web address + ⌘ + Enter
Jump to the address bar ⌘ + l
Remove predictions from your address bar Down arrow to highlight + Shift + fn + Delete

Webpage shortcuts

Action Shortcut
Open options to print the current page ⌘ + p
Open options to save the current page ⌘ + s
Open the Page Setup dialog ⌘ + Option + p
Email your current page ⌘ + Shift + i
Reload your current page ⌘ + r
Reload your current page, ignoring cached content ⌘ + Shift + r
Stop the page loading Esc
Browse clickable items moving forward Tab
Browse clickable items moving backward Shift + Tab
Open a file from your computer in Google Chrome ⌘ + o + Select a file
Display non-editable HTML source code for the current page ⌘ + Option + u
Open the JavaScript Console ⌘ + Option + j
Save your current webpage as a bookmark ⌘ + d
Save all open tabs as bookmarks in a new folder ⌘ + Shift + d
Turn full-screen mode on or off ⌘ + Ctrl + f
Make everything on the page bigger ⌘ and +
Make everything on the page smaller ⌘ and –
Return everything on the page to the default size ⌘ + 0
Scroll down a webpage, a screen at a time Space
Scroll up a webpage, a screen at a time Shift + Space
Search the web ⌘ + Option + f
Move your cursor to the front of the previous word in a text field Option + Left arrow
Move your cursor to the back of the next word in a text field Option + Right arrow
Delete the previous word in a text field Option + Delete
Open your home page in the current tab ⌘ + Shift + h

Mouse shortcuts

The following shortcuts require you to use your mouse:

Action Shortcut
Open a link in a current tab (mouse only) Drag a link to a tab
Open a link in new background tab ⌘ + Click a link
Open a link, and jump to it ⌘ + Shift + Click a link
Open a link, and jump to it (mouse only) Drag a link to a blank area of the tab strip
Open a link in a new window Shift + Click a link
Open a tab in a new window (mouse only) Drag the tab out of the tab strip
Move a tab to a current window (mouse only) Drag the tab into an existing window
Return a tab to its original position Press Esc while dragging
Save the current webpage as a bookmark Drag the web address to the Bookmarks Bar
Download the target of a link Option + Click a link
Display your browsing history Right-click Back Back or Next Next, or click & hold Back Back or Next Next
Increase the window to full height Double-click a blank area of the tab strip

Google Chrome keyboard shortcuts – Windows and Linux Edition

The following shortcuts will help you learn all the of main shortcuts for Google Chrome under Windows and Linux.

Tab and window shortcuts

Action Shortcut
Open a new window Ctrl + n
Open a new window in Incognito mode Ctrl + Shift + n
Open a new tab, and jump to it Ctrl + t
Reopen the last closed tab, and jump to it Ctrl + Shift + t
Jump to the next open tab Ctrl + Tab or Ctrl + PgDn
Jump to the previous open tab Ctrl + Shift + Tab or Ctrl + PgUp
Jump to a specific tab Ctrl + 1 through Ctrl + 8
Jump to the last tab Ctrl + 9
Open your home page in the current tab Alt + Home
Open the previous page from your browsing history in the current tab Alt + Left arrow
Open the next page from your browsing history in the current tab Alt + Right arrow
Close the current tab Ctrl + w or Ctrl + F4
Close all open tabs and the browser Ctrl + Shift + w
Minimize the current window Alt + Space + n
Maximize the current window Alt + Space + x
Close the current window Alt + F4
Quit Google Chrome Ctrl + Shift + q

Google Chrome feature shortcuts

Action Shortcut
Open the Chrome menu Alt + f or Alt + e or F10
Show or hide the Bookmarks bar Ctrl + Shift + b
Open the Bookmarks Manager Ctrl + Shift + o
Open the History page in a new tab Ctrl + h
Open the Downloads page in a new tab Ctrl + j
Open the Chrome Task Manager Shift + Esc
Set focus on the first item in the Chrome toolbar Shift + Alt + t
Switch focus forward between the Address bar, Bookmarks bar (if showing), and page content F6
Switch focus backward between the Address bar, Bookmarks bar (if showing), and page content Shift + F6
Open the Find Bar to search the current page Ctrl + f or F3
Jump to the next match to your Find Bar search Ctrl + g
Jump to the previous match to your Find Bar search Ctrl + Shift + g
Open Developer Tools Ctrl + Shift + j or F12
Open the Clear Browsing Data options Ctrl + Shift + Delete
Open the Chrome Help Center in a new tab F1
Log in a different user or browse as a Guest Ctrl + Shift + m
Open a feedback form Alt + Shift + i

Address bar shortcuts

Use the following shortcuts in the address bar:

Action Shortcut
Search with your default search engine Type a search term Enter
Search using a different search engine Type a search engine name Tab
Add www. and .com to a site name, and open it in the current tab Type a site name + Ctrl + Enter
Open a new tab and perform a Google search Type a search term Alt + Enter
Jump to the address bar Ctrl + l or Alt + d or F6
Search from anywhere on the page Ctrl + k or Ctrl + e
Remove predictions from your address bar Down arrow to highlight + Shift + Delete

Webpage shortcuts

Action Shortcut
Open options to print the current page Ctrl + p
Open options to save the current page Ctrl + s
Reload the current page F5 or Ctrl + r
Reload the current page, ignoring cached content Shift + F5 or Ctrl + Shift + r
Stop the page loading Esc
Browse clickable items moving forward Tab
Browse clickable items moving backward Shift + Tab
Open a file from your computer in Chrome Ctrl + o + Select a file
Display non-editable HTML source code for the current page Ctrl + u
Save your current webpage as a bookmark Ctrl + d
Save all open tabs as bookmarks in a new folder Ctrl + Shift + d
Turn full-screen mode on or off F11
Make everything on the page bigger Ctrl and +
Make everything on the page smaller Ctrl and –
Return everything on the page to default size Ctrl + 0
Scroll down a webpage, a screen at a time Space or PgDn
Scroll up a webpage, a screen at a time Shift + Space or PgUp
Go to the top of the page Home
Go to the bottom of the page End
Scroll horizontally on the page Shift + Scroll your mousewheel
Move your cursor to the front of the previous word in a text field Ctrl + Left arrow
Move your cursor to the back of the next word in a text field Ctrl + Right arrow
Delete the previous word in a text field Ctrl + Backspace
Move focus to a notification Alt + n
Allow within a notification Alt + Shift + a
Deny within a notification Alt + Shift + d
Open the Home page in the current tab Alt + Home

Mouse shortcuts

The following shortcuts require you to use your mouse:

Action Shortcut
Open a link in a current tab (mouse only) Drag a link to a tab
Open a link in new background tab Ctrl + Click a link
Open a link, and jump to it Ctrl + Shift + Click a link
Open a link, and jump to it (mouse only) Drag a link to a blank area of the tab strip
Open a link in a new window Shift + Click a link
Open a tab in a new window (mouse only) Drag the tab out of the tab strip
Move a tab to a current window (mouse only) Drag the tab into an existing window
Return a tab to its original position Press Esc while dragging
Save the current webpage as a bookmark Drag the web address to the Bookmarks Bar
Download the target of a link Alt + Click a link
Display your browsing history Right-click Back  or Next , or click & hold Back  or Next
Switch between maximized and windowed modes Double-click a blank area of the tab strip
Make everything on the page bigger Ctrl + Scroll your mousewheel up
Make everything on the page smaller Ctrl + Scroll your mousewheel down

 

 How to fix macOS

This blog post focuses on a number of tips and tweaks that will help to make your macOS experience better, faster, and more efficient.

How to update macOS from Terminal

Open the Terminal and type in the following:

sudo softwareupdate -ia

How to ensure macOS checks for new software updates daily

Within the Terminal type the following:

defaults write com.apple.SoftwareUpdate ScheduleFrequency -int 1

How to copy text from a website and paste it quickly into a text file

Head to the Keyboard section within System Preferences and highlight the Services section. Next, in the secondary panel scroll down you see “New TextEdit…..”. From there add your shortcut keyboard combination.
Next, copy text from a website and use your new shortcut keyboard combination. The copied text will automatically be pasted into TextEdit

 
 How to add emojis in your documents quickly

Within macOS, select your text-based application and then type the following key combination:

Command + Control + Space

This will launch the emoji selector.

How to add a quit option to the Finder

To add a quit option to the Finder, add the following command to the Terminal

defaults write com.apple.finder QuitMenuItem -bool YES

Now type killall Finder into the Terminal window

How to stop macOS from indexing the Applications folder

To turn off Spotlight, open the Terminal and type the following:

sudo mdutil -a -i off

To unload it, type the following into the Terminal

sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.metadata.mds.plist

To load It, type the following into the Terminal

sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.metadata.mds.plist

To turn on Spotlight, type the following into the Terminal

sudo mdutil -a -i on

How to quickly see your IP address and other Wi-Fi networking information

In macOS, hold down Alt (or the Option key on some keyboards) and click the Wi-Fi icon at the top right of the screen. Beneath the name of the currently in-use Wi-Fi base station you will see the networking information and also a disconnect option.

How to force quit an app in macOS

Type the following:

Click Option, Command, and Escape

How to change the location of your screenshot images

Within the Terminal type the following:

defaults write com.apple.screencapture location ~/Dropbox/Screenshots

Where ~/Dropbox/Screenshots is the location where you want the screenshots folder to live.
Now type killall Dock into the Terminal window

How to disable screenshot drop shadows

Within the Terminal type the following:

defaults write com.apple.screencapture disable-shadow -bool TRUE

Now type killall SystemUIServer into the Terminal window

How to shutdown your Mac, with or without a delay

To shut down your Mac immediately:
Type the following into the Terminal:

sudo shutdown -h now

To restart your Mac immediately:

sudo shutdown -r now

We can even add a time delay (in minutes) if we wish:

sudo shutdown -r +60

How to make your Mac talk

Within the Terminal type the following:

say "Hello world"

We can even go one better and have it read any text file we like:

say -f /path/to/file.txt

Your Mac can then say whatever was in the text file.

How to change the default filetype for screenshot images

Within the Terminal type the following:

defaults write com.apple.screencapture type jpg

Now type killall SystemUIServer into the Terminal window

How to add your most recent used applications into the dock

Open Terminal and copy the following command:

defaults write com.apple.dock persistent-others -array-add '{ "tile-data" = { "list-type" = 1; }; "tile-type" = "recents-tile"; }'

Now type killall Dock into the Terminal window

How to show the full file path in Finder

To easily find the hierarchy of folders, you can easily find the full path by adding this tweak to the Terminal.
Open Terminal

defaults write com.apple.finder _FXShowPosixPathInTitle -bool YES

Now type killall Finder into the Terminal window
If you need to change it back, change “YES” to “NO” (without the quotes).

How to add spacers into the dock

If you need a way to organize your dock icons, the following command will allow you to insert a spacer into your dock that you can move around and place anywhere to divide your apps up by category.
Within the Terminal type the following:

defaults write com.apple.dock persistent-apps -array-add '{tile-data={}; tile-type="spacer-tile";}'

Now type killall Dock into the Terminal window
To add more spaces, add the command into the terminal again. If you want to remove the spaces just drag them out of the dock.

How to make hidden apps “hidden” in the dock

If you use ⌘H to hide apps on screen with this tweak, you’ll be able to add transparency to all of your hidden apps so you don’t forget they’re running in the background
Within the Terminal type the following:

defaults write com.apple.Dock showhidden -bool TRUE;

Now type killall Dock into the Terminal window
If you need to change it back, change “YES” to “NO” (without the quotes).

How to eliminate the dock reveal delay

If you need to speed up the dock when you have it hidden, this tweak will speed it up.
For faster animation, within the Terminal type the following:

defaults write com.apple.dock autohide-time-modifier -float 0.12;

Now type killall Dock into the Terminal window
For no animation, within the Terminal type the following:

defaults write com.apple.dock autohide-time-modifier -int 0;

Now type killall Dock into the Terminal window
To go back to the defaults, within the Terminal type the following:

defaults delete com.apple.dock autohide-time-modifier;

Now type killall Dock into the Terminal window

⚙️ How to quickly access Google Chrome settings

Google Chrome is highly customizable, allowing you to fine-tune the browser through hundreds of settings that affect virtually everything ranging from the application’s appearance to its security-related features. While many of these tweaks can be made through the interface’s graphical menu buttons and links, Chrome command settings let you really get under the hood and take full control of your browser.

These commands, entered into Chrome’s address bar (also known as the Omnibox), not only provide shortcuts to settings accessible through the browser menus but also access to advanced options which are only available via this method. Below are some of the most useful Chrome commands along with a brief description of each.

As always, it is best to use caution when modifying your browser’s settings. If you are unsure about a particular component or feature, it may be best to leave it as is.

How to change Chrome’s default search engine

Type the following in the address bar:

chrome://settings/searchEngines

How to delete your browsing history, download history, cache, cookies and saved passwords

Type the following in the address bar:

Opens the Search engines pop-out interface, which allows you to change the browser’s default search engine, edit individual search strings and remove engines that are currently installed.

chrome://settings/clearBrowserData

Opens the Clear browsing data dialog, which allows you to delete browsing history, download history, cache, cookies, saved passwords, other browsing data.

chrome://settings/autofill

Opens the Autofill settings pop-out window, which displays all street addresses and credit cards currently stored by Chrome for autocomplete purposes. Within this interface, you can view, edit or remove existing autofill data as well as manually add new entries.

chrome://downloads

Displays Chrome’s download history which contains icons, filenames, and URLs associated with each file within the log. Alongside each file are links to delete the entry from the download list as well as open the folder where it is located.

chrome://extensions

Displays all browser extensions currently installed including name, icon, size, version number, and permissions data for each. You can toggle extensions off and on as well as instruct Chrome whether or not to allow each to run while the browser is in Incognito Mode.

chrome://bookmarks

Opens the Bookmark Manager, which displays all of your stored Web pages organized by folder and title. You can add, edit or remove bookmarks on this screen as well as import and export them via HTML files.

chrome://history

Displays your browsing history, categorized by date and searchable via this screen. Also provided is the ability to remove individual items from this log as well as access to the Clear Browsing Data interface.

chrome://memory

Provides both private and proportional memory metrics for Chrome, broken down by extensions, tabs, plugins, and other related processes.

chrome://dns

When you click on a link, DNS resolution takes place which can slow down the page load process. DNS prefetching resolves embedded links in advance so that things move faster if and when you eventually click on one. This Chrome command displays prefetching information including hostname, page load count, and the time of last resolution.

chrome://cache

Displays links to all files currently residing in the browser’s cache. Clicking on one of these links displays detailed information about the file itself including the dates it was initially stored and last updated.

chrome://chrome

Displays version information of your browser as well as firmware and platform details on Chrome OS. You can also check for and install Chrome updates from this screen.

chrome://crashes

Displays detailed information about recent crashes of the browser. This command only works as expected if crash reporting is enabled in Chrome, which can be done through its Privacy settings.

chrome://gpu

Provides a wealth of information about your system’s graphics card(s) and settings including driver specifications, hardware acceleration data, and workarounds for conflicts and other related problems detected by Chrome.

chrome://histograms

Displays dozens of in-depth visual interpretations of browser statistics accumulated from the time you launched Chrome to the most recent page load.

chrome://keyboardoverlay

Displays a graphical representation of a keyboard, which shows which keys are mapped to various keyboard shortcuts by hitting the Alt, Ctrl and Shift keys.

chrome://network

(Chrome OS only) Displays detailed information about the current network you are connected to as well as others that are in range and those you have accessed the most in previous sessions.

chrome://system

Displays comprehensive system diagnostic data, including details about your operating system, BIOS, and various hardware components. The amount of data available is dependent on your particular operating system.

chrome://thumbnails

Displays thumbnail preview images, when available, and URLs of the websites that you visit the most.

chrome://flags

Allows you to enable/disable dozens of experimental features, some of which are platform-specific. Each feature set includes a brief description as well as a link to toggle it on and off. The keyword here is experimental, and it is highly recommended that only advanced users tamper with these settings.

chrome://net-internals

Allows you to view all networking events captured by Chrome in real-time, as well as export all relevant data to a file.

chrome://quota-internals

Provides details on the amount of disk space allotted for and currently being used by Chrome, including how much each individual site is occupying in the browser’s cache.

chrome://voicesearch

Displays current details about Chrome’s Voice Search feature including language settings, microphone status and much more.

How to see all the Chrome commands

Type the following in the address bar:

chrome://about/ or chrome://chrome-urls/

How to access Chrome settings

Type the following into your address bar:

chrome://settings/

How to check your version of Chrome

Type the following in the address bar:

chrome://chrome/

Chrome Version and Update Check Command
Enter “chrome://chrome” to reach the “About” page of the Chrome browser. Basically you can check out the latest version of your Chrome and update it if it is not up to date. Chrome version also can be checked using URL “chrome://version“.

How to check your browsing history

Type the following in the address bar:

chrome://history

How to view all of your installed extensions

Type the following in the address bar:

chrome://extensions

How to check flags for experimental Chrome features

Type the following in the address bar:

chrome://flags

How to view your saved bookmarks

Type the following in the address bar:

chrome://bookmarks

How to view Chrome crash reports

Type the following in the address bar:

chrome://crashes

How to view Chrome DNS Prefetch

Type the following in the address bar:

chrome://DNS

How to view your HTTP Cache Files

Type the following in the address bar:

chrome://view-http-cache

Google Chrome has a powerful caching mechanism to load pages faster on subsequent viewing of pages from the same website. Though this feature is useful for general users, it may be annoying for web developers as the changes will not be reflected immediately. Using this command URL, you can view the files cached on the browser. Also you can click on the file link to see the HTTP header status like how long the cache is valid.
View HTTP Cache Status in Chrome
View HTTP Cache Status in Chrome
10. View Site’s Thumbnail
Syntax: chrome://thumbnails
When you open Chrome, the home page contains the thumbnails of the latest visited websites. Using this URL command you can view the list of top sites having thumbnail shortcut in youår browser. Also you can right click on the image and download to your computer. So this is one of the easy ways to generate thumbnails for the websites.

For Debug

The following pages are for debugging purposes only. Because they crash or hang the renderer, they’re not linked directly; you can type them into the address bar if you need them.

  • chrome://badcastcrash/
  • chrome://inducebrowsercrashforrealz/
  • chrome://crash/
  • chrome://crashdump/
  • chrome://kill/
  • chrome://hang/
  • chrome://shorthang/
  • chrome://gpuclean/
  • chrome://gpucrash/
  • chrome://gpuhang/
  • chrome://memory-exhaust/
  • chrome://ppapiflashcrash/
  • chrome://ppapiflashhang/
  • chrome://quit/
  • chrome://restart/

Apps To Install on Ubuntu 17.10 Artful Aardvark

This post lists all of the applications that I’m running on my Ubuntu laptop, with Ubuntu 17.10 and follows on from an earlier blog post of installed apps on Ubuntu 10.10.
I also include a few tips to fix some of the minor annoyances with this release.
How to disable windows snapping
Open Terminal – Ctrl+Alt+T

 dconf write /org/gnome/mutter/edge-tiling false
 dconf write /org/gnome/shell/overrides/edge-tiling false

Next, download and update Ubuntu

sudo apt update && sudo apt upgrade

Install the restricted extras package

sudo apt-get install ubuntu-restricted-extras

Install the Synaptics touchpad driver (for Dell laptops)

sudo apt-get install xserver-xorg-input-synaptics

Install the Gnome tweak tool

sudo apt install gnome-tweak-tool

Install the VLC media player

sudo apt-get install vlc

Install Neofetch

sudo apt-get install neofetch

Install the RAR compress/uncompress tool

sudo apt-get install rar
sudo apt-get -y install unrar 

Install Audacity

sudo apt-get install audacity

Install Youtube-dl

sudo apt-get install youtube-dl

Install Gparted

sudo apt-get install gparted

Install the lame codec

sudo apt-get install lame

Install id3v2

sudo apt-get install id3v2

Install the evolution email client

sudo apt-get install evolution

Install the filezilla FTP manager app

sudo apt-get install filezilla

Install Conky

sudo apt-get install conky

Install NTFS Config

sudo apt-get install ntfs-config

Then type the following command

gksu ntfs-config

Install the Stellarium screensaver

sudo apt-get install stellarium

Install the Thunderbird email client

sudo apt-get install thunderbird

Install Wine

sudo apt-get install wine

Install TLP

sudo apt install tlp tlp-rdw 

Apps to install
These are the apps that I install after I install Ubuntu

  • Install Chromium Dev Build
  • Install Firefox
  • Install BleachBit
  • Install Geary
  • Install Corebird
sudo apt-get install corebird
sudo apt-get remove --auto-remove corebird
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 0DF731E45CE24F27EEEB1450EFDC8610341D9410
echo deb http://repository.spotify.com stable non-free | sudo tee /etc/apt/sources.list.d/spotify.list
sudo apt-get update && sudo apt-get install spotify-client
      • Install Asus ZenScreen driver
        • Ensure dkms is installed
sudo apt-get install dkms
  • Download the Displaylink driver
  • Extract files in the Downloads folder
  • Run a terminal command, in the same folder as the driver, then run
sudo ./displaylink-driver-1.4.210.run

How to take a screenshot
Shift+Prt Scrn
How to start a screen recording
Press Ctrl+Alt+Shift+R to start recording what is on your screen.
Once you have finished, press Ctrl+Alt+Shift+R again to stop the recording.

📀 Reinstalling apps on macOS

On occasion, I reinstall macOS on various Apple Macintosh computers. As such, remembering to install all of my apps and settings can become a pain. This post covers all of the steps I follow after I’ve formatted my Mac and reinstalled macOS. A hat tip to Casey Liss, whose blog post inspired this one. These are the apps that I install after I have reinstalled macOS.

macOS Settings

  • Change the computer’s name in System Preferences > Sharing
  • Enable FileVault
  • Make sure messages originate from my mobile phone number

If you are selling your Apple Macintosh computer.

✍️What are the shortcuts for Notion?

Here is a list of the most popular Notion shortcuts:

  • Press cmd/ctrl + n to create a new page (desktop apps only).
  • Press cmd/ctrl + shift + n or use cmd/ctrl + click to open a new Notion window.
  • Press cmd/ctrl + p to open search or jump to a recently viewed page.
  • Press cmd/ctrl + [ to go back a page.
  • Press cmd/ctrl + ] to go forward a page.
  • Press cmd/ctrl + shift + l to switch to Dark Mode (That’s an L not a 1).

Tip: You can add any emoji in-line on a Notion page by typing : followed by the name of the emoji, like :apple for 🍎 or :clapping for 👏

You can also bring up your computer’s emoji picker with the shortcut ctrl + cmd + space on Mac and windows key + . or windows key + ; on Windows.

Markdown style

  • Type ** on either side of your text to bold.
  • Type * on either side of your text to italicize.
  • Type “` on either side of your text to create inline code. (That’s the symbol to the left of your 1 key.)
  • Type ~ on either side of your text to strikethrough.

At the beginning of any new line or existing block of content, try these:

  • Type *, -, or + followed by space to create a bulleted list.
  • Type [] to create a to-do checkbox. (There’s no space in between.)
  • Type 1. followed by space to create a numbered list.
  • Type # followed by space to create an H1 heading.
  • Type ## followed by space to create an H2 sub-heading.
  • Type ### followed by space to create an H3 sub-heading.
  • Type > followed by space to create a toggle list.
  • Type " followed by space to create a quote block.

Create & style your content

  • Press enter to insert a line of text.
  • Press shift + enter to create a line break within a block of text.
  • Press cmd/ctrl + shift + m to create a comment.
  • Type --- to create a divider. (Three dashes in a row.)
  • With text selected, press cmd/ctrl + b to bold text.
  • With text selected, press cmd/ctrl + i to italicize text.
  • With text selected, press cmd/ctrl + u to underline text.
  • With text selected, press cmd/ctrl + shift + s for strikethrough.
  • With text selected, press cmd/ctrl + k to add a link. You can also paste a URL over selected text to turn it into a link using cmd/ctrl+v.
  • With text selected, press cmd/ctrl + e for inline code.
  • Press tab to indent. Note: Whenever you indent, you’re nesting that block inside the block above it. If you select the parent, everything under it will also be selected. For example:
    • Block 1 ← Parent block
      • Block 2 ← Nested block inside block 1
  • Press shift + tab to un-indent.
  • Type /turn at the beginning or end of a block to turn it into a different type of block. You’ll see a list of choices pop up. For example, here’s how you’d turn a line of text into a heading and then into a to-do:
  • Type /color at the beginning or end of any text block to change its color or highlight color. (To remove a color or highlight, just type /default.) Example: /blue, /blue background

For all of these content creation shortcuts, cmd + option is the combination for Mac, and ctrl + shift is the combination for Windows and Linux:

  • Press cmd/ctrl + option/shift + 0 to create text.
  • Press cmd/ctrl + option/shift + 1 to create an H1 heading.
  • Press cmd/ctrl + option/shift + 2 to create an H2 heading.
  • Press cmd/ctrl + option/shift + 3 to create an H3 heading.
  • Press cmd/ctrl + option/shift + 4 to create a to-do checkbox.
  • Press cmd/ctrl + option/shift + 5 to create a bulleted list.
  • Press cmd/ctrl + option/shift + 6 to create a numbered list.
  • Press cmd/ctrl + option/shift + 7 to create a toggle list.
  • Press cmd/ctrl + option/shift + 8 to create a code block – which looks like this:
<b>Any kind of code can go here and be copied to your clipboard!</b>
  • Press cmd/ctrl + option/shift + 9 to create a new page, or turn whatever you have on a line into a page.
  • Press cmd/ctrl + + to zoom in.
  • Press cmd/ctrl + - to zoom out.
  • Press cmd/ctrl + shift + u to go up one level in the page hierarchy.
  • Duplicate any content on a Notion page by holding down option/alt as you drag and drop:

Edit & move blocks

Everything in Notion is a block — from a line of type (or paragraph) to an image or embed. These shortcuts let you edit whole blocks once they’re selected.

  • Press esc to select the block you’re currently in. Or to clear selected blocks.
  • Press cmd/ctrl + a once to select the block your cursor is in.
  • Press space to open a selected image in full-screen. Or to exit full-screen.
  • Press arrow keys to select a different block.
  • Hold down shift + up/down arrow keys to expand your selection up or down.
  • Use cmd + shift + click on Mac, and alt + shift + click on Windows/Linux to select or de-select an entire block.
  • Use shift + click to select another block and all blocks in between.
  • Press backspace or delete to delete selected blocks.
  • Press cmd/ctrl + d to duplicate the blocks you’ve selected.
  • Press enter to edit any text inside a selected block (or open a page inside a page).
  • Press cmd/ctrl + / to edit or change one or more selected blocks.
    • Use this shortcut to change the type of block, the color, or to edit, duplicate, or move the block. You’ll see a text box at the top of the menu that pops up. Just type the action, block or color you want:
  • In board view, select multiple cards then use cmd/ctrl + / to edit them all at once. Example: Here’s how you’d change the status of several tasks at a time.
  • Hold cmd/ctrl + shift + arrow keys to move a selected block around.
  • Press cmd/ctrl + option/alt + t to expand or close all toggles in a toggle list.
  • Press cmd/ctrl + shift + h to apply the last text or highlight color you used.
  • Press cmd/ctrl + enter to modify the current block you’re in. Modify means:
    • Open a page
    • Check or uncheck a to-do checkbox
    • Open or close a toggle list item
    • Make embeds or images full-screen

@ commands

  • Mention a person – Type @ and another workspace member’s name to get their attention on something. They’ll be notified. Useful in comments and discussions.
  • Mention a page – Type @ and the name of another page in your workspace to create a link to it. If you change the name of the page, this link will automatically change too.
  • Mention a date Type @ and a date in any format (or “yesterday,” “today” or “tomorrow,” or even “next Wednesday”). Helpful for giving yourself due dates.
  • Add a reminder – Type @remind followed by a date in any format (including “yesterday,” “today,” “tomorrow,” etc.). You can click on the link that appears to adjust the date and exact time you want to be reminded. You’ll receive a notification at that time. More on reminders here →
  • Hit esc to dismiss the @-command menu if you simply want to type @.

[[ commands

  • Link a page – Type [[ and the name of another page in your workspace to create a link to it. If you change the name of the page, this link will automatically change too.
  • Create a sub-page – Type [[ and the name of the sub-page you want to nest within your current page. Use your cursor or arrow keys to select + Add new sub-page in the dropdown that appears.
  • Create a new page somewhere else – Type [[ and the name of the page you want to create. Use your cursor or arrow keys to select ↗ Add new page in... in the dropdown that appears, then select the page or database where you’d like that page to be added.

+ commands

  • Create a sub-page – Type + and the name of the sub-page you want to nest within your current page. Use your cursor or arrow keys to select + Add new sub-page in the dropdown that appears.
  • Create a new page somewhere else – Type + and the name of the page you want to create. Use your cursor or arrow keys to select ↗ Add new page in... in the dropdown that appears, then select the page or database where you’d like that page to be added.
  • Link a page – Type + and the name of another page in your workspace to create a link to it. If you change the name of the page, this link will automatically change too.

Tip: When you use [[, the dropdown menu will show page linking options first. When you use +, the dropdown menu will show page creation options first.

Slash commands

Pressing / in Notion brings up a full menu of content blocks you can choose to insert. You can shortcut this further by pressing / and then typing what you want. Here are your choices:

Basic

  • /text or /plain creates a new text block.
  • /page creates a new page (and will open it automatically when you press enter).
  • /bullet creates a bulleted list.
  • /num creates a numbered list.
  • /todo creates a to-do list with checkboxes.
  • /toggle creates a toggle list.
  • /div creates a light gray divider.
  • /quote creates a quote block of larger text.
  • /h1 or /# creates a large heading.
  • /h2 or /## creates a medium-sized heading.
  • /h3 or /### creates a small heading.
  • /link creates a link to another page in your workspace.
  • esc clears the / menu. Handy if you’re just trying to use a / in your writing.

Inline

  • /mention lets you mention a page or a person in your workspace
  • /date or /reminder lets you add a timestamp or reminder to your page
  • /equation lets you add a TeX formula in line with your text
  • /emoji brings up the emoji picker

Database

  • /table-inline creates a database table inside a current page.
  • /board-inline creates a Kanban board inside a current page.
  • /calendar-inline creates a calendar inside a current page.
  • /list-inline creates a list-style database inside a current page.
  • /gallery-inline creates a gallery inside a current page.
  • /timeline-inline creates a timeline inside a current page.
  • Any of the above can also be created with -full instead of -inline to open that type of database view in its own page automatically. For example: /table-full, /board-full
  • /linked creates a linked database — a copy of an existing database that you can insert into any page in-line and filter or view however you want. Helpful for creating multiple excerpts from the same database on the same page.

Media

  • /image will bring up the option to upload or embed an image, or add one from Unsplash.
  • /pdf lets you paste in a URL to any PDF so it will display in-line on your page.
  • /book lets you paste in a URL to any website to create a web bookmark. Like this:
  • /video lets you upload a video file or embed a video from YouTube, Vimeo, etc.
  • /audio lets you upload an audio file or embed a recording from SoundCloud, Spotify, etc.
  • /code creates a code block where you can write and copy any snippet of code.
  • /file lets you upload any file from your computer or create an embed.
  • /embed lets you add any one of the 500+ embeds that work with Notion. Learn more about embeds here.

Advanced

  • /comment lets you create a comment on any block.
  • /duplicate creates an exact copy of the current block.
  • /moveto lets you move that block to a different page.
  • /delete deletes the current block.
  • /toc creates a Table of Contents block.
  • /button or /template gives you a template button that duplicates any combination of blocks you define. Here’s a guide on template buttons →
  • /bread inserts a breadcrumb menu that shows where your current page is in your workspace.
  • /math or /latex lets you write mathematical equations and symbols using TeX.

How To Create A New Admin Account in Mac OS X

1. BOOT INTO SINGLE-USER MODE

Turn on the computer. Upon hearing the startup chime, hold the key combination CMD+S. This boots the computer into single-user mode, which in turn gives you access via the root user. It is important to note, however, that this can be blocked by a firmware password. If that’s the case, head on over to this guide on getting into single-user mode while locked.

2. MOUNT THE HARD DRIVE

Once single-user mode boots (it should look like a black screen with white text), we need to mount the hard drive. At the prompt type in:
/sbin/mount -uw /

3. REMOVE THE “SETUP HAS BEEN COMPLETED” FILE

Now that the drive is mounted, we can edit the file system. We’re going to delete a file that tells your computer that you have completed the initial setup. Type in:
rm /var/db/.applesetupdone
This command deletes the file “.applesetupdone” in the /var/db/ directory, which the computer checks for on startup to ensure that the computer has already been set up.

4. REBOOT

Pretty self explanatory. We need the system to reboot so it can check for the file and then notice it’s missing. Type in:
reboot

5. WATCH THE VIDEO

Your computer will shut down and reboot. A setup window should pop up asking what language you want your computer to be in, just as if you turned on your computer for the first time after purchase. After you select a language, a welcome video will play. If you brought headphones along, feel free to plug them in during the “Select A Language” screen. Otherwise, enjoy a little music.

6. CONTINUE SETUP

Go through the rest of the setup process.
Be sure to select “DO NOT TRANSFER MY DATA”.
Don’t worry, all of your old files will still be on the computer.
At one point during setup you will have to configure your internet connection, this is when you need your wireless password. It’s fine if you don’t have the password, you can enter it later if you need to.

7. SET UP THE ADMINISTRATOR ACCOUNT

Near the end of the setup you will be asked to create an administrator account for your computer.
Be sure to make the name of the admin account different from the existing one.
You can name the account anything that you want, except for the name of the old administrator account. If the new account is given the same name as the old one it will overwrite the old account, causing all the old account’s files to be deleted.

8. FINISH SETUP AND LOG IN

Wrap up the setup and the computer should automatically log you into your new administrator account.

🎬 How to watch YouTube videos in fullscreen

Have you ever wanted to watch YouTube videos in full screen, HD quality? Well, this simple URL tweak allows for any YouTube video to be displayed in fullscreen, HD (if available), and in autoplay mode.

Follow the steps below:

  1. Take your existing YouTube URL, for example: http://www.youtube.com/watch?v=jiyIcz7wUH0
  2. Replace /watch?v=  with /embed/ to enable the full screen mode
  3. For HD, add ?hd=1
  4. To autoplay the video, add ?&autoplay=1 to the URL
  5. Your new YouTube URL, should now look like this: http://www.youtube.com/embed/jiyIcz7wUH0?hd=1?&autoplay=1
  6. To start the video at a certain time, add &start=90 (for example to start the video 90 seconds in

Note, to add a start time to a regular video the string is different, see below:
http://www.youtube.com/watch?v=jiyIcz7wUH0&t=1m5s