-
Continue reading →: Trying To Write More Pythonic With PEP-8 (Python)The Python language has a list of Python Enhancement Proposals (PEPs) that have been suggested as ways to improve Python. In this blog post I am going to look briefly at PEP-8. The Index Of PEPs Python.org keeps a list of all the PEPs at: https://www.python.org/dev/peps/ once a PEP has…
-
Continue reading →: Linux Root Directory (Linux)Have you ever run the ls command on the root of a Linux system and wonder what all the directories are and what they contain? The root directory layout of a Linux system can initially seem a little confusing, with directories like /usr being name user but not really being…
-
Continue reading →: AttributeError: partially initialized module has no attribute…(Python)Less of a blog post and more of a reminder to myself that when Python says: AttributeError: partially initialized module ‘MODULE_NAME’ has no attribute ‘ATTRIBUTE_NAME’ (most likely due to a circular import) It is normally because I have named my Python file the same as the module I am importing…
-
Continue reading →: Using A Raspberry Pi As A Syslog-ng Server (Raspberry Pi)After many years of using my ISPs provided router I have finally upgraded to a higher spec router which has several features the ISP provided one did not. One of these features is the option to send logs from the router to a syslog server. For this project I am…
-
Continue reading →: Deleting Old Files With BASH / Removing Old Log Files with BASH (Linux)Log files are a brilliant feature of any piece of software / operating system. However, over time they can take up space and become a pain to remove. In this blog post I am going to look at a quick bash script that can be used via cron to delete…
-
Continue reading →: Text Editing With Vim / Vi (Linux)When it comes to text editors in Linux there are varying opinions on which to use, and just like the spaces vs tabs discussion this can lead to arguments. I started out and still use nano as my Linux text editor, however today I want to look at Vi. vi…
-
Continue reading →: Converting Words To Pig Latin – Version 1 (C++)One of my more popular blog posts is the one on converting words to pig latin using Python. As I’m finding my feet with C++ I am looking at reworking projects I have completed in Python into C++, with that in mind: Converting Words To Pig Latin. I started the…
-
Continue reading →: Python and nmap: Controlling The Output (Python)In my previous post I looked at the ways of using nmap and Python to scan hosts, and in this post I am going to look at outputting the results. But first a public service announcement: DO NOT USE THE BELOW INFORMATION TO ATTACK, MONITOR OR BREAK INTO ANY COMPUTER…
-
Continue reading →: The Basics Of tmux – The Terminal Multiplexer (Linux)If you have ever found yourself launching multiple terminal / command line windows and then losing the window you needed, or find that your remote session to your Linux device has lost connectivity which means an active process also ending then tmux may be of help to you. tmux is…
-
Continue reading →: Python and nmap: Scanning For Hosts (Python)nmap is a powerful software tool that can be used to scan a network for hosts, see what ports they have open and even try to identify what operating system the hosts have running. I previously created a basic port scanner in Python, but in this blog post I am…


You must be logged in to post a comment.