It consists of a command-line utility and a set of services for installing applications. The winget command-line tool enables users to discover, install, upgrade, remove, and configure applications on Windows 10 (1809+) and Windows 11 computers. Independent software vendors can use it as a distribution channel for their software packages. The tool is available on Windows 11 and modern versions of Windows 10 as a part of the App Installer. If you are interested in learning more about winget, you can visit the official Microsoft Learn page.
Open the elevated PowerShell window using the Search box or any other preferred ways. When PowerShell window is opened as administrator, type and execute the following command:
winget upgrade
This command is not necessary but quite helpful as it will show you the list of all the outdated programs and available updates for them. You will also be able to see the program name, ID, installed version, and available version. Now execute the command that will automatically update those programs with their latest versions. The command is:
winget upgrade --all
One by one, the Windows Package Manager will automatically download the new versions of programs and install them silently. This may take some time. So, let the process complete, and your programs will be updated with the new versions.
Just for your information, run winget
command to view more information about how to use the tool. The following are some of the other commands and options available for use with winget.
Searching for an application:
winget search "package name"
You can see more information about how to use one of winget’s built-in commands by passing -?
` to it. For example, to see the various options you can use with winget, run the following command:
winget search -?
Installing the specified application:
winget install <package_id>
You can use the following syntax to install multiple applications in a single command:
winget install <query1> <query2> ...
Example:
winget install Microsoft.WindowsTerminal Microsoft.PowerToys Microsoft.VisualStudioCode
But how do you actually find packages to install? The best places to start are the winget-pkgs GitHub repository, where there’s a pretty hefty catalog of things you can install, as well as the excellent third-party resource, winstall.app or winget.run.
Upgrading the given package:
winget upgrade <package_id>
Updating all available packages to the latest application:
winget upgrade --all
winget upgrade --silent --all
— Runs the installer in silent mode. This suppresses all UI. The default experience shows installer progress.
Displaying installed packages:
winget list
Uninstalling the given package:
winget uninstall <package_id>
If you’re interested in seeing more details about the package you’re downloading, too, there’s a simple command that will bring up a complete dossier on what it is and where it’s from:
winget show <package_id>
And if you’re interested in poking around a little more with the Windows Package Manager, enter this in the terminal to bring up a list of all current commands.
winget --help
Learn more about the winget tool supported commands.
]]>If so, you can get back to a “fresh install feeling” using a terminal command.
See also: How to sort your macOS apps in Launchpad to its default
The macOS Dock is a handy tool for quickly accessing your favorite apps, folders, other items. But sometimes it can become messy and overcrowded. This post will show you how to clean up your Dock or reset it to default.
defaults delete com.apple.dock; killall Dock
As soon as you run the command, the Dock will restart and go back to its default settings. This means that any icons you added or removed will be restored to their original state. It also means that the Dock’s size, magnification, and position will be reset.
Note: If you have uninstall any of the default apps from your device (such as Pages, Numbers, or Keynote), the Dock will show a question mark “?” icon in their place. You can either delete the icon from the Dock or reinstall the app to restore it.
All the above commands are working as of macOS Sonoma 14.
]]>defaults write com.apple.dock ResetLaunchPad -bool true; killall Dock
Your Dock will restart after you press the Return (Enter) key on your keyboard. It will disappear for a few seconds and then come back with the changes.
Open Launchpad, you will see the default sorted Apple apps on the first page. The rest of your apps will be sorted on the other pages in alphabetical or to its default order.
Alternative method,
The Launchpad database is located in:
~/Library/Application Support/Dock
You can delete the Launchpad database with the following command in the Terminal app on you macOS:
rm ~/Library/Application\ Support/Dock/*.db; killall Dock
Press the Return (Enter) and Restart your macOS. Your Mac will make a new list of all your apps when it restarts. You can easily find and open any app you have, even the ones that were hidden before.
Follow these steps:
enter
:defaults write com.apple.dock springboard-columns -int 6
enter
:defaults write com.apple.dock springboard-rows -int 4
enter
):defaults write com.apple.dock ResetLaunchPad -bool true; killall Dock
Step 5. Once the Dock reappears, open Launchpad
Step 6. Now you’ll see a screen similar to the following:
Loading Applications...
Now you’ll have a 6 x 4 grid. You can also change the values at the end of the commands at Steps 2 and 3 to other values.
Finally, if you’d like to restore the defaults, you can run the same commands again and replace the values with the original 7 columns and 5 rows. Remember to also run the command at Step 4 whenever you make changes.
All the above commands are working as of macOS Sonoma 14.
]]>It is a package manager that finds and installs the right software packages that will allow you to compile and run various apps/software on your specific operating system. It was originally written by Max Howell and has gained popularity in the Ruby on Rails community.
To install Homebrew on your Mac (or Linux machine), you can follow these steps:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
.Alternatively, you can go to the Homebrew website and copy the installation script provided under “Install Homebrew”. Then, open Terminal and paste the script to start the installation process.
If you are using macOS Intel, Homebrew will be installed to /usr/local
. If you are using Apple Silicon, it will be installed to /opt/homebrew
. (If you are using Linux, it will be installed to /home/linuxbrew/.linuxbrew
.)
Homebrew formula is a package definition written in Ruby that allows you to easily install packages and large binaries.
To install a package using Homebrew on your Mac, you can follow these steps:
brew install <package_name>
followed by the name of the package you want to install.For example, if you want to install Git using Homebrew, you would type brew install git
.
Homebrew Cask is an extension to Homebrew that allows you to easily install macOS applications and large binaries. It provides a friendly CLI workflow for the administration of macOS applications distributed as binaries.
To install Homebrew Cask on your Mac, you can follow these steps:
brew install --cask <cask_name>
.Here’s an awesome list of GitHub repositories for further resources:
Most popular social media platforms (like Instagram) do not allow cAsE sEnSitIvE usernames and force users to use lowercase-only usernames. Usernames with lowercase letters look cleaner and are easier to type.
Old platforms like Discord are also implementing a new system that only allows unique combinations of lowercase letters, numbers, and two special characters: the underscore (_) and the period (.). This is unlike the old format, which allowed both lowercase and uppercase letters (with a discriminator).
There are a few advantages to using lowercase letters for your username:
It’s easier to remember. When you’re trying to remember a username, it’s easier to recall a string of lowercase letters than a mix of upper and lowercase letters. This is especially true if you’re not using a password manager to store your usernames and passwords.
It’s more consistent with other usernames. Many websites and services require usernames to be lowercase. By using lowercase letters for your username, you’ll be less likely to run into problems when trying to sign in to different accounts.
It’s more secure. Some websites and services have implemented filters that block usernames that contain all uppercase letters. This is because usernames that are all uppercase are more likely to be bots or spam accounts. By using lowercase letters for your username, you’ll make it more difficult for your account to be flagged as spam or a bot.
Of course, there are also some potential disadvantages to using lowercase letters for your username. For example, a username that is all lowercase may not stand out as much as a username that contains some uppercase letters. Additionally, some websites and services may have a limit on the number of lowercase letters that can be used in a username.
Overall, the decision of whether to use lowercase letters for your username is a personal one. There are both advantages and disadvantages to consider. If you’re looking for a username that is easy to remember, consistent with other usernames, and more secure, then using lowercase letters is a good option.
]]>Nepalese numbers follow the Indo-Arabic number system. The ten-digit symbol is the Sanskrit number in Nepali.
Nepali numbers (नेपाली गणना):
Numerals | Cardinal numbers | Ordinal numbers |
---|---|---|
० (0) | सुन्ना (sunnā) | |
१ (1) | एक (eka) | पहिलो (pahilo) |
२ (2) | दुई (duī) | दोस्रो (dosro) |
३ (3) | तीन (tīna) | तेस्रो (tesro) |
४ (4) | चार (cāra) | चौथो (cautho) |
५ (5) | पाँच (pā̃ca) | पाँचौँ (pā̃caũ) |
६ (6) | छ (cha) | छैटौँ (chaiṭaũ) |
७ (7) | सात (sāta) | सातौँ (sātaũ) |
८ (8) | आठ (āṭha) | आठौँ (āṭhaũ) |
९ (9) | नौ (nau) | नवौँ (navaũ) |
१० (10) | दस (dasa) | दसौँ (dasaũ) |
११ (11) | एघार (eghāra) | एघारौँ (eghāraũ) |
१२ (12) | बाह्र (bāhra) | बाह्रौँ (bāhraũ) |
१३ (13) | तेह्र (tehra) | तेह्रौँ (tehraũ) |
१४ (14) | चौध (caudha) | चौधौँ (chaudhaũ) |
१५ (15) | पन्ध्र (pandhra) | पन्ध्रौँ (pandhraũ) |
१६ (16) | सोह्र (sohra) | सोह्रौँ (sohraũ) |
१७ (17) | सत्र (satra) | सत्रौँ (satraũ) |
१८ (18) | अठार (aṭhāra) | अठारौँ (aṭhāraũ) |
१९ (19) | उन्नाइस (unnāisa) | उन्नाइसौँ (unnāisaũ) |
२० (20) | बिस (bisa) | बिसौँ (bisaũ) |
२१ (21) | एक्काइस (ekkāisa) | एक्काइसौँ (ekkāisaũ) |
२२ (22) | बाइस (bāisa) | बाइसौँ (bāisaũ) |
२३ (23) | तेइस (teisa) | तेइसौँ (teisaũ) |
२४ (24) | चौबिस (caubisa) | चौबिसौँ (caubisaũ) |
२५ (25) | पच्चिस (paccisa) | पच्चिसौँ (paccisaũ) |
२६ (26) | छब्बिस (chabbisa) | छब्बिसौँ (chabbisaũ) |
२७ (27) | सत्ताइस (sattāisa) | सत्ताइसौँ (sattāisaũ) |
२८ (28) | अट्ठाइस (aṭṭhāisa) | अट्ठाइसौँ (aṭṭhāisaũ) |
२९ (29) | उनन्तिस (unantisa) | उनन्तिसौँ (unantisaũ) |
३० (30) | तिस (tisa) | तिसौँ (tisaũ) |
३१ (31) | एकतिस (ekatisa) | एकतिसौँ (ekatisaũ) |
३२ (32) | बत्तिस (battisa) | बत्तिसौँ (battisaũ) |
३३ (33) | तेत्तिस (tettisa) | तेत्तिसौँ (tettisaũ) |
३४ (34) | चौतिस (cautisa) | चौतिसौँ (cautisaũ) |
३५ (35) | पैँतिस (paĩtisa) | पैँतिसौँ (paĩtisaũ) |
३६ (36) | छत्तिस (chattisa) | छत्तिसौँ (chattisaũ) |
३७ (37) | सैँतिस (saĩtisa) | सैँतिसौँ (saĩtisaũ) |
३८ (38) | अठतिस (aṭhatisa) | अठतिसौँ (aṭhatisaũ) |
३९ (39) | उनन्चालिस (unancālisa) | उनन्चालिसौँ (unancālisaũ) |
४० (40) | चालिस (cālisa) | चालिसौँ (cālisaũ) |
४१ (41) | एकचालिस (ekacālisa) | एकचालिसौँ (ekacālisaũ) |
४२ (42) | बयालिस (bayālisa) | बयालिसौँ (bayālisaũ) |
४३ (43) | त्रिचालिस (tricālisa) | त्रिचालिसौँ (tricālisaũ) |
४४ (44) | चवालिस (cavālisa) | चवालिसौँ (cavālisaũ) |
४५ (45) | पैँतालिस (paĩtālisa) | पैँतालिसौँ (paĩtālisaũ) |
४६ (46) | छयालिस (chayālisa) | छयालिसौँ (chayālisaũ) |
४७ (47) | सतचालिस (satacālisa) | सतचालिसौँ (satacālisaũ) |
४८ (48) | अठचालिस (aṭhacālisa) | अठचालिसौँ (aṭhacālisaũ) |
४९ (49) | उनन्चास (unancāsa) | उनन्चासौँ (unancāsaũ) |
५० (50) | पचास (pacāsa) | पचासौँ (pacāsaũ) |
५१ (51) | एकाउन्न (ekāunna) | एकाउन्नौँ (ekāunnaũ) |
५२ (52) | बाउन्न (bāunna) | बाउन्नौँ (bāunnaũ) |
५३ (53) | त्रिपन्न (tripanna) | त्रिपन्नौँ (tripannaũ) |
५४ (54) | चवन्न (cavanna) | चवन्नौँ (cavannaũ) |
५५ (55) | पचपन्न (pacapanna) | पचपन्नौँ (pacapannaũ) |
५६ (56) | छपन्न (chapanna) | छपन्नौँ (chapannaũ) |
५७ (57) | सन्ताउन्न (santāunna) | सन्ताउन्नौँ (santāunnaũ) |
५८ (58) | अन्ठाउन्न (anṭhāunna) | अन्ठाउन्नौँ (anṭhāunnaũ) |
५९ (59) | उनसट्ठी (unasaṭṭhī) | उनन्साठिऔँ (unansāṭhiaũ) |
६० (60) | साठी (sāṭhī) | साठिऔँ (sāṭhiaũ) |
६१ (61) | एकसट्ठी (ekasaṭṭhī) | एकसट्ठिऔँ (ekasaṭṭhiaũ) |
६२ (62) | बयसट्ठी (bayasaṭṭhī) | बयसट्ठिऔँ (bayasaṭṭhiaũ ) |
६३ (63) | त्रिसट्ठी (trisaṭṭhī) | त्रिसट्ठिऔँ (trisaṭṭhiaũ) |
६४ (64) | चौसट्ठी (causaṭṭhī) | चौसट्ठिऔँ (causaṭṭhiaũ) |
६५ (65) | पैँसट्ठी (paĩsaṭṭhī) | पैँसट्ठिऔँ (paĩsaṭṭhiaũ) |
६६ (66) | छयसट्ठी (chayasaṭṭhī) | छयसट्ठिऔँ (chayasaṭṭhiaũ) |
६७ (67) | सतसट्ठी (satasaṭṭhī) | सतसट्ठिऔँ (satasaṭṭhiaũ) |
६८ (68) | अठसट्ठी (aṭhasaṭṭhī) | अठसट्ठिऔँ (aṭhasaṭṭhiaũ) |
६९ (69) | उनन्सत्तरी (unansattarī) | उनन्सत्तरिऔँ (unansattariaũ) |
७० (70) | सत्तरी (sattarī) | सत्तरिऔँ (sattariaũ) |
७१ (71) | एकहत्तर (ekahattara) | एकहत्तरौँ (ekahattaraũ) |
७२ (72) | बहत्तर (bahattara) | बहत्तरौँ (bahattaraũ) |
७३ (73) | त्रिहत्तर (trihattara) | त्रिहत्तरौँ (trihattaraũ) |
७४ (74) | चौहत्तर (cauhattara) | चौहत्तरौँ (cauhattaraũ) |
७५ (75) | पचहत्तर (pacahattar) | पचहत्तरौँ (pacahattaraũ) |
७६ (76) | छयहत्तर (chayahattara) | छयहत्तरौँ (chayahattaraũ) |
७७ (77) | सतहत्तर (satahattara) | सतहत्तरौँ (satahattaraũ) |
७८ (78) | अठहत्तर (aṭhahattara) | अठहत्तरौँ (aṭhahattara) |
७९ (79) | उनासी (unāsī) | उनासिऔँ (unāsiaũ) |
८० (80) | असी (asī) | असिऔँ (asiaũ) |
८१ (81) | एकासी (ekāsī) | एकासिऔँ (ekāsiaũ) |
८२ (82) | बयासी (bayāsī) | बयासिऔँ (bayāsiaũ) |
८३ (83) | त्रियासी (triyāsī) | त्रियासिऔँ (triyāsiaũ) |
८४ (84) | चौरासी (caurāsī) | चौरासिऔँ (caurāsiaũ) |
८५ (85) | पचासी (pacāsī) | पचासिऔँ (pacāsiaũ) |
८६ (86) | छयासी (chayāsī) | छयासिऔँ (chayāsiaũ) |
८७ (87) | सतासी (satāsī) | सतासिऔँ (satāsiaũ) |
८८ (88) | अठासी (aṭhāsī) | अठासिऔँ (aṭhāsiaũ) |
८९ (89) | उनान्नब्बे (unānnabbe) | उनान्नब्बेऔँ (unānnabbeaũ) |
९० (90) | नब्बे (nabbe) | नब्बेऔँ (nabbeaũ) |
९१ (91) | एकान्नब्बे (ekānnabe) | एकान्नबेऔँ (ekānnabeaũ) |
९२ (92) | बयान्नब्बे (bayānnabbe) | बयान्नब्बेऔँ (bayānnabbeaũ) |
९३ (93) | त्रियान्नब्बे (triyānnabbe) | त्रियानब्बेऔँ (triyānnabbeaũ) |
९४ (94) | चौरान्नब्बे (caurānnabbe) | चौरान्नब्बेऔँ (caurānnabbeaũ) |
९५ (95) | पन्चान्नब्बे (pancānnabbe) | पन्चान्नब्बेऔँ (pancānnabbeaũ) |
९६ (96) | छयान्नब्बे (chayānnabbe) | छयान्नब्बेऔँ (chayānnabbeaũ) |
९७ (97) | सन्तान्नब्बे (santānnabbe) | सन्तान्नब्बेऔँ (santānnabbeaũ) |
९८ (98) | अन्ठान्नब्बे (anṭhānnabbe) | अन्ठान्नब्बेऔँ (anṭhānnabbeaũ) |
९९ (99) | उनान्सय (unānsaya) | उनान्सयौँ (unānsayaũ) |
१०० (100) | सय (saya) | सयौँ (sayaũ) |
१,००० (1,000) | हजार (hajāra) | हजारौँ (hajāraũ) |
१०,००० (10,000) |
दस हजार (dasa hajāra) | दस हजारौँ (dasa hajāraũ) |
१,००,००० (100,000) |
लाख (lākha) | लाखौँ (lākhaũ) |
१०,००,००० (1,000,000) |
दस लाख (dasa lākha) | दस लाखौँ (dasa lākhaũ) |
१,००,००,००० (10,000,000) |
करोड (karoḍa) | करोडौँ (karoḍaũ) |
१०,००,००,००० (100,000,000)) |
दस करोड (dasa karoḍa) | दस करोडौँ (dasa karoḍaũ) |
References:
Windows | Mac | |
Closing a window | Alt-F4 | Command-W |
Restarting
|
Control-Alt-Delete | Control-Command-Eject
|
Shutting down
|
Control-Alt-Delete
|
Control-Option-Command-Eject |
Logging out | Control-Alt-Delete
|
Shift-Command-Q |
Switch between open apps | Alt + Tab | Command-tab |
Go back | Alt + Left arrow | Command + Left arrow |
Go forward | Alt + Right arrow | Command + Right arrow |
Move up one screen | Alt + Page Up | Command + Page Up |
Move down one screen
|
Alt + Page Down | Command + Page Down
|
References: (i) Apple Support Communities, and (ii) Parallels Desktop Blogs
]]>To take care of your devices with battery it is highly recommended that you recharge them when they are at 15-20% (or 20-25%) capacity. And of course, nothing happens if one day you completely drain the battery. The problem occurs when it is a repetitive action.
Do not fully charge or fully discharge your device’s battery — charge it to around 50%. If you store a device when its battery is fully discharged, the battery could fall into a deep discharge state, which renders it incapable of holding a charge. Conversely, if you store it fully charged for an extended period of time, the battery may lose some capacity, leading to shorter battery life.
Screenshots from macOS Ventura Version 13.
]]>Read more: Erase your Mac and reset it to factory settings, Apple
Resetting macOS will also remove some of the pre-installed apps; and can be installed from the App Store, if you want:
After you reset your macOS you may want to custumise the system settings:
To improve your productivity, here’s the list of essential keyboard shortcuts in Mac:
Resources: Visit Apple official docs for more keyboard shortcuts in Mac. Or, other shortcuts on Mac: Choose Apple menu > System Settings, click Keyboard, then click Shortcuts.
]]>