If you are familiar with Windows Command Line or MS-DOS, PowerShell is way more powerful than them. If you are also familiar is Unix scripting, PowerShell is the ultimate Windows Scripting language.
Shutdown and Abort Shutdown in Windows using DOS
Shutdown and Abort Shutdown in Windows using DOS
Install Golang without an installer in Windows
We do not need an installer to install Golang in Windows. We only need a zip version of its distribution and some environment variables to avoid system-wide impact like installers do. It sounds easy, but doing so requires some knowledge
Golang go and exe Files
This post shows how to run your Golang go script and convert it as an exe file in Windows. Install Golang for Windows I am running a 64-bit Windows 10 box. First, Download Golang Installer (exe file) Proceed to the
DOS – Change your command-line prompt
We can change our default DOS prompt in a command-line window. Sometimes we do not want people knowing the current path we work on or from which directory we invoke commands in a command-line window (DOS prompt). We can temporarily
Golang – Return multiple values from a Function
In Golang, we can return more than one value from a function, but this feature is not unique to the programming language. Other languages can do this too. Golang Function Declaration To Return Multiple Values Golang’s ability to return multiple
Golang – Read Text File Line by Line With The Bufio Package
This post shows how Golang can read a text file line by line using a buffered IO or bufio package. The content of a file may be in Chinese or English because Golang supports UTF-8 by default. Moreover, we do
Golang – Write Text to File Line by Line Using Buffered IO
Writing text to a file is a familiar use case that we may need to implement for our applications. Like most programming languages, Golang has facilities to enable us to implement such write text to files. This post briefly shows
Rust Owned And Borrowed Types
What are Owned and Borrowed types in Rust? To know these concepts, we need to understand first what Rust Ownership and Rust References. Get Your Head Around Rust Ownership When we talk about ownership in Rust, we generally mean –
What Are References In Rust And How To Use Them?
Understanding what references are in Rust and how to use them is crucial. A reference is a pointer to a memory location. A location where the data we’re interested in reside. A Rust reference is similar to the traditional pointers