This Python program generates a random 10-digit phone number in the Vietnam format. The first three digits are predefined from a list of valid prefixes, while the remaining digits are randomly generated.
import random
Starting with macOS Catalina (10.15), the macOS will use zsh
as the default shell across the operating system. Thus, there are some software that run on Terminal will have different configuration than the previous bash
shell. This article will present how to install Anaconda on Mac computers with Apple silicon which run macOS Ventura (13.3.1) and zsh
as the default shell. The article will also address the "This package is incompatible with this version of macOS." issue that happens when using the installation file download from Anaconda website.
Homebrew is a package manager for macOS which lets you install development tools and software. Homebrew can be installed on your computer by executing the below command in Terminal.
Microsoft OneDrive could not work normally from version 23.061
on macOS 10.15.7 (19H2026). This issue may come from Microsoft decision, not your computer. Thus, this tutorial will show how to install the latest working version of Microsoft OneDrive on macOS 10.15.7.
23.002.0102.0004
. You can download it from Microsoft or here.StandaloneUpdater
app.Microsoft Wordament is a word-finding game and is a part of Microsoft Ultimate Word Games. The web-based version of Microsoft Wordament is freely available on MSN Games, and its native version is available on iOS and Android.
This GIST presents some basic commands to work with Anaconda Terminal.
conda info
--- Verify whether conda
is installed, if yes, print all information about the installed conda
such as Python version, conda
version, env
locationconda update conda
--- Update conda
to the latest versionconda install PACKAGENAME
--- Install a package which is made available on Anaconda repositorypip install PACKAGENAME
--- Install a package directly from PyPIconda update PACKAGENAME
--- Update an installed packageAt WWDC 2019 on June 3, 2019, starting with macOS Catalina (10.15), the macOS will use zsh as default shell across the operating system. Besides, Bash is still available along with the new zsh; however, by setting zsh as the default shell, Apple does force you to move to the new platform.
virtualenvwrapper is a set of extensions to the original virtualenv which is a tool for creating isolated virtual Python environments. The extensions include wrappers for creating and deleting virtual environments and otherwise managing your development workflow, making it easier to work on more than one project at a time without introducing conflicts in their dependencies. According to the virtualenvwrapper docs, there are some noteworthy features such as:
This tutorial will show you how to install Python3 on a macOS system. To demonstrate the installation process, I will present the steps on macOS Catalina (Version 10.15). Instead of installing Python3 via the installer from the Python website, this tutorial will use brew
which is the most popular Package Manager for macOS.
Installing brew on your system is straightforward, you just need to copy-and-paste the following command to the Terminal: