Why IP Bans Are Not Always a Good Idea
CodeProject Some websites ban specific IP addresses to block users with intolerable behaviour. But these bans are not always a good idea. Why not? Because changing your IP address is very easy: just...
View ArticleTransposing the rows and columns of a 2D array, jagged array and string in C#
CodeProject Download extension methods About the download The download is a ZIP file containing the C# file, in which you can find the extension methods. Introduction Sometimes, when you write a...
View ArticlePython and Global Variables
Recently I was writing some Python code, and I used a global variable whose value was set in a method. Here is a simple piece of code to demonstrate this: list_with_data = [] def load_data_into_list():...
View ArticleBatch files to your PATH to access two executables with the same name without...
RootAdmin I use both Python 2.7 and Python 3.3 frequently from the Windows Command Prompt. If I would only use one version, I’d add the folder containing the executable to my PATH environment variable...
View Article