IT Nota

  • Home
  • How To
  • .NET
  • WordPress
  • Contact

How to Type Emoji Using Keyboard Shortcuts in Windows and macOS

One thing that you can do easily in a smartphone but not so obvious in a desktop computer is to quickly type an emoji character in your text. By memorizing these keyboard shortcuts, you can do the same, whether it’s on a Mac or a Windows system.

Mac

On a mac, press all these keys: ⌃ CTRL + ⌘ Command + spacebar.

Emoji keyboard shortcut demo for macOS

Windows

Either of these combinations will work on Windows 10 or later:

  1. Windows + . (Period)
  2. Windows + ; (Semicolon)

Emoji keyboard shortcut demo for Windows

That’s all there is to it.

Notice that the emoji will be rendered a bit differently for each OS, but that should not be a problem.

Once you know this trick, soon enough you’ll be more tempted to using it more in your notes or blog. 🍻

Further Reading

Mac keyboard shortcuts

January 5, 2023 Filed Under: How To Tagged With: macOS, Windows

How to Remove .NET Runtime and SDK on Mac

Check Installation

Determine which version is installed with the command line.

According to Microsoft documentation, we need to remove the SDKs and runtimes separately:

Pay attention to the difference in installed locations between the Intel Mac vs. Silicon M series chip.

Arm-based mac: /usr/local/share/dotnet/
Intel-based mac: /usr/local/share/dotnet/x64/dotnet/

In this example, I want to remove the .NET 6 RC on an M1 silicon Mac from previous test.

% dotnet --list-runtimes
Microsoft.AspNetCore.App 6.0.0-rc.1.21452.15 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 6.0.0-rc.1.21451.13 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]

% dotnet --list-sdks
6.0.100-rc.1.21463.6 [/usr/local/share/dotnet/sdk]

Uninstall .NET

From the example above, we’ll remove all instances. All these commands can be entered all at once in the Terminal, it will ask you to enter sudo password just once.

sudo rm -rf /usr/local/share/dotnet/sdk/$version
sudo rm -rf /usr/local/share/dotnet/shared/Microsoft.NETCore.App/$version
sudo rm -rf /usr/local/dotnet/shared/Microsoft.AspNetCore.All/$version
sudo rm -rf /usr/local/share/dotnet/shared/Microsoft.AspNetCore.App/$version
sudo rm -rf /usr/local/share/dotnet/host/fxr/$version

That’s it.

You can re-run the dotnet –list-runtimes and dotnet –list-sdks to verify that there’s no longer any .NET installed. You should see something similar to this:

% dotnet --list-runtimes                          
A fatal error occurred. The folder [/usr/local/share/dotnet/host/fxr] does not exist

% dotnet --list-sdks
A fatal error occurred. The folder [/usr/local/share/dotnet/host/fxr] does not exist

Now you can install the new version for your .NET development.

Further Reading

How to remove the .NET Runtime and SDK
How to Check Installed .NET Core Version
Trying .NET 6 Preview on macOS Silicon M1

March 15, 2022 Filed Under: How To Tagged With: .NET, macOS, Microsoft

How to Show Hidden Folders and Files in Mac Finder

This gets asked a lot especially from someone who just switched from Windows to macOS. When you open a New Finder Window on your mac. You might want to see all the hidden files in your folder as well.

The quickest way to do it is just by using a keyboard shortcut:

  1. Open a New Finder Window on the folder where you want to see the hidden files.
  2. Press ⌘ Command + ⇧ Shift + . (Period). To be exact, hold down the Command and Shift keys together, then press the Period key.
  3. The hidden files and folders will appear semi-transparent in the finder (see below).

Hidden Folders and Files in Mac Finder, Before and After

Of course, some people may find it too distracting, in which case you can always hide them again by using the same keyboard shortcut.

February 1, 2022 Filed Under: How To Tagged With: macOS

How to Install Fonts on macOS using Homebrew

If you have used Homebrew to manage your packages, you can also use it to install fonts on your macOS so long as the fonts are available. And as you’ll see in the example below, this is way easier (and quicker) than downloading the fonts and install them conventionally.

If you haven’t, it’s quick to install Homebrew. Just open your Terminal and type in the following:

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

Homebrew Package Manager installation page

For the latest update of this command, please check Homebrew’s website. You just need to copy the command line and paste it in your Terminal.

Here are some commands you need to know. You need to run this once:

brew tap homebrew/cask-fonts

Then, as I want to try to install some fonts with ligatures from Microsoft such as Cascadia Code and Fira Code, I want to search them first if those fonts are available.

To search the font, you can type in this command:

brew search font- | grep cascadia

Which would give the result (at this time):

font-cascadia-code
font-cascadia-code-pl
font-cascadia-mono
font-cascadia-mono-pl

We’re in luck, it’s available.

Important: The font name is all in lowercase and it’s case-sensitive. For example, you will not find anything if you typed in “Cascadia” as your search word.

Now, we just need to install the Cascadia Font by typing this command:

brew cask install font-cascadia-code

Once completed, your font is installed and active. But in this specific example, if you use Visual Studio Code, even though the font is active, you still need to enable the font ligatures before you can see it.

If you use Sublime Text on the other hand, the change is instant.

That’s all there is to it. So far, we’ve just installed one font Cascadia Code, if you also want to install Fira Code font, you can do it on your own. That would be a good exercise for you.

Additional Note

If you just run the command brew search font- without grep, you will get a list of all available fonts you can install via Homebrew.

Further Reading

How to Enable Font Ligatures in Visual Studio Code

January 21, 2022 Filed Under: How To Tagged With: macOS

Trying .NET 6 Preview on macOS Silicon M1

.NET 6 Banner

Installed on /usr/local/share/dotnet.

Trying to create a new F# project in Terminal.

dotnet new console --language F# -o MyFSharpApp
Welcome to .NET 6.0!
---------------------
SDK Version: 6.0.100-preview.7.21379.14

Telemetry
---------
The .NET tools collect usage data in order to help us improve your experience. It is collected by Microsoft and shared with the community. You can opt-out of telemetry by setting the DOTNET_CLI_TELEMETRY_OPTOUT environment variable to '1' or 'true' using your favorite shell.

Read more about .NET CLI Tools telemetry: https://aka.ms/dotnet-cli-telemetry

----------------
Installed an ASP.NET Core HTTPS development certificate.
To trust the certificate run 'dotnet dev-certs https --trust' (Windows and macOS only).
Learn about HTTPS: https://aka.ms/dotnet-https
----------------
Write your first app: https://aka.ms/dotnet-hello-world
Find out what's new: https://aka.ms/dotnet-whats-new
Explore documentation: https://aka.ms/dotnet-docs
Report issues and find source on GitHub: https://github.com/dotnet/core
Use 'dotnet --help' to see available commands or visit: https://aka.ms/dotnet-cli
--------------------------------------------------------------------------------------
The template "Console Application" was created successfully.

Processing post-creation actions...
Running 'dotnet restore' on /Users/ITNota/Documents/Git/fsharp/MyFSharpApp/MyFSharpApp.fsproj...
  Determining projects to restore...
  Restored /Users/ITNota/Documents/Git/fsharp/MyFSharpApp/MyFSharpApp.fsproj (in 1.76 sec).
Restore succeeded.

Further Reading

If you need to uninstall the SDK when the release is out:

How to Remove .NET Runtime and SDK on Mac
Remove / Uninstall .NET SDK on macOS

August 23, 2021 Filed Under: .NET Tagged With: .NET, FSharp, macOS

« Previous Page
Next Page »
Buy me a coffee Support this site
Buy Me a Coffee?

Categories

  • .NET
  • Coding
  • Cybersecurity
  • Database
  • How To
  • Internet
  • Multimedia
  • Photography
  • Programming
  • Resources
  • Review
  • Tips and Tricks
  • Uncategorized
  • Use Case
  • WordPress
  • Writing

Recent Posts

  • How to Setup WordPress Installation on Linux
  • How to View Stored Procedure Code in SQL Server
  • How to Find a String in SQL Server Stored Procedures
  • How to Remove Cached Credentials without Rebooting Windows
  • ESP Work Automation: Empowering Enterprises with Streamlined Workflows and Operational Efficiency

Recent Posts

  • How to Setup WordPress Installation on Linux
  • How to View Stored Procedure Code in SQL Server
  • How to Find a String in SQL Server Stored Procedures
  • How to Remove Cached Credentials without Rebooting Windows
  • ESP Work Automation: Empowering Enterprises with Streamlined Workflows and Operational Efficiency

Tags

.NET .NET Core AdSense ASP.NET Cdonts Dll Classic ASP Code Editor ETL FSharp Genesis Framework Git Google HP Asset Manager HTML5 Hugo IIS Information Security Internet Internet Information Services iOS JAMStack Linux macOS Microsoft Microsoft SQL Server MVC PHP PowerShell Python Simple Mail Transfer Protocol Smtp Server SQL SQL Server SSIS SSMS SSRS Sublime Text Visual Studio Visual Studio Code VPN Windows Windows 8 Windows 10 Windows 2012 Windows Server

Copyright © 2011-2026 IT Nota. All rights reserved. Terms of Use | Privacy Policy | Disclosure