Sign in

Most VIM users know the shortcut Shift + K, this article is to tell a bit more than what they know.

Photo by Syed Ali on Unsplash

Brief Introduction

When you open VIM and start to program or reading code, you can type Shift + K when you have cursor on some word. …


VirtualBox is a general-purpose full virtualizer for x86 hardware, targeted at server, desktop and embedded use. You can install and run quite a few different OS by VirtualBox. For example, you can install Fedora with VirtualBox, then install SSHD service within Fedora OS. By some simple Network configuration, you can…


It’s important to learn libraries when learn Python programming language. API might be different in different versions of library. To avoid mistake, we need to know how the API works in the version we are using. By using __doc__ , we can make it like a piece of cake.

Photo by William Bout on Unsplash

Special Attribute __doc__

Official…


Numpy library provides several methods to create array with initial content. Two of them are to generate a sequence of values between start and end numbers: arange and linspace . What are difference between those two methods?

Photo by Kelly Sikkema on Unsplash

arange

>>> np.arange(0, 10)
array([0, 1, 2, 3, 4, 5, 6, 7, 8, 9])


By using Alias, administrator can configure those resources not under DocumentRoot directory and make them accessible by HTTP server. This article to tell how to configure Alias and how to solve often occurred permission issues.

Photo by Markus Spiske on Unsplash

Configuration for Alias

By default, Apache HTTP Server configuration file is /etc/httpd/conf/httpd.conf and Alias is controlled by alias_module


#! is always the first line of most shell scripts. How magic is it? Let’s explore.

Photo by Muhammad Haikal Sjukri on Unsplash

How to pronounce it?

#! has several different names. The most popular one is shebang. Other names include hashbang, poundbang, and hash-pling.

Who invented “#!”?

The shebang was introduced by Dennis Ritchie between Edition 7 and 8 (UNIX)at Bell Laboratories.

How does #! work?

If…


Powershell can do lots of things for us. To get disk size is one of them. This article is to tell how can we write Powershell function to print total disk size, how much is used and how much is free.

Photo by Patrick Lindenberg on Unsplash

To get total disk size, we need to use…


How did you use Google everyday? Did you ever search weather today by Google? Did you ever search the latest movie by Google? Did you ever search when famous people was born and when did him die? Did you ever search all PDF documents containing word “Machine Learning”? What can…


Most developers often need to work with remote server by terminal client. PuTTy is one of most popular open-free software for remote connection. This article is to tell the 3 most useful configurations for Putty, which are Window Color Customization, X11 Settings and Connect to WSL.

Photo by Boitumelo Phetla on Unsplash

I worked on Windows…


We have lots of helpful information submerged by time. When we try to find what we want to refresh, we often fall in trouble — we cannot find them easily.

Photo by Markus Winkler on Unsplash

Step 1: Search Calendar Items by Participants Name in Outlook

In most times, we cannot remember the meeting slogan but we easily get to know who ever participated those meetings…

Bruce Wen

Developer

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store