In this tutorial I am going to show you how to make an app that can store your Purchase History. Just a simple app that lets you add and delete items from a database. As you know databases are really important in any application if you wish to store/save information. For this application, we will be using NodeJS, Express, MongoDB and Bootstrap. The main purpose of this tutorial is to show you how to use the various Node modules (mainly Express) to create a web application. To create the app you will need to have:
Our completed app should look like the following:
This guide shows you how to retrieve recent WiFi connection history from the Windows Registry using the Python _winreg module/library. The _winreg module provides easy read or write access to the Windows Registry. That being said, you should backup your registry before making changes. If you change the wrong settings, it can crash your system.
Knowing recent WiFi connections, that a PC/Laptop has connected to, can help build a map of where it has been.
The script should work for Windows Vista and above. I am currently using a Windows 10 machine with Python 2.7 installed. If you do not have Python installed on Windows, there is a great guide available at https://www.londonappdeveloper.com/.
A basic understanding of Python (or any other programming language) is required, but I will try to comment the code as best as possible.
What is a Delimited File?
A delimited file is a file where the data is separated by special or unique characters. The most common form of a delimited file is the .CSV (Comma separated values) file format. These files, as you can guess, have the data separated by commas (
,). For example, you can save an Excel spreadsheet document as an .CSV file and it will separate all the fields with a comma. Other examples of delimited files include .TSV (Tab separated values), quotation marks, or really any other File that has a unique character (or character pattern) that separates actual data (words, phrases) that you need to utilize.
Example of CSV (delimited) file
Kali Linux Network Printer
While Kali Linux is great and comes with a lot of great penetration testing tools, it isn’t too friendly when it comes to other tasks, such as installing a network (Wi-Fi) Hewlett Packard (HP) printer. Ubuntu and Mint are more user-friendly Linux distros if you are just migrating from Microsoft Windows. For Kali Linux Network Printer install can be done with HPLIP (HP Linux Imaging and Printing). On Kali, the setup is a little different as it doesn’t come pre-installed with CUPS (Common Unix Printing System).
First we will install the required dependencies, then we will configure our HP printer using HP GUI tool. Before we begin, make sure your HP printer is turned ON and that you have a USB cable. Even though we are doing a Wireless Printer setup, this technique requires a direct USB connection (from printer to your Kali system) for a brief period of time.
Creating A Sublime Text 3 Plugin
In this article, I want to share with you how to create a basic Sublime Text 3 plugin (or package). Sublime Text 3 (ST3) comes with a running ‘Hello World’ plugin example, however, if you have read any of my previous posts, I am not a big fan of simple ‘Hello World’ applications. I will, however, walk you through setting up the ‘Hello World’ plugin and then we will create our own Sublime Text 3 plugin named ‘Webify’. ‘Webify’ will replace the less than (< ) and greater than (>) signs in your block of code to
&gt;, also referred to as HTML Entities.
Handlebars + Express JS + Node JS
Today I’m going to show you how to create an ultra simple Express JS server application and use the Handlebars framework to handle “modularization”. To follow along, please make sure you have Node and NPM configured on your machine. If you don’t have the required applications, read my Setup Node JS and NPM Tutorial. The following tutorial will introduce you to Handlebars (for templating), and ExpressJS. By the end of this tutorial you should have an basic understanding on how to create an application/website with what I like to call HEN (Handlebars, Express JS & Node JS) stack. 😉
What is a Node JS Server?
In the following Node JS Server tutorial, I will show you how to create a simple Node JS Server for serving static files using Routing. Routing tells our Node JS server which files (web-pages) to send the user based on the URL request, submitted by the user, through their web browser (Chrome, Firefox, Safari, etc.).
Our Node JS Server will serve a simple index.html file with a logo, and a 404.html file when the user requests a page that does not exist. It is simple to follow and gives you an idea of how NodeJS Servers work.
Update and Upgrade Linux
Before we can install my favorite linux tools, we need to be certain to update and upgrade all the necessary packages of our distribution. This can be done by opening the Terminal and running the following:
apt-get update && apt-get upgrade
- apt-get update – updates the list of packages and their version but doesn’t actually upgrade or install the packages.
- apt-get upgrade – installs the newer version of packages based on the updated list.
This may take a while, so just let it do it’s thing while it goes through and updates all your packages/dependencies.
After upgrading and rebooting, I was having an issue booting back into Kali. This is because my laptop has 2 graphics cards (you may not have this issue). The command
lspci should help you confirm if the Nvidia is installed. If this is the case, open terminal and type:
apt-get remove nvidia* --purge
This will remove the conflicting Nvidia drivers and use Intel graphics card.
Add New User
It’s very important to add a new user to your Kali distro. While it’s okay to use ‘root’ user, it isn’t recommended you use root for everything because root has all permissions. This means that you can damage your system files if you don’t know what you are doing. Having an account with stricter permissions will protect your sensitive files.
To add a new user, simply open terminal and type:
adduser userone sudo
replace “userone” with the username of your choice.
What is Node JS and NPM
Node.js is also written as NodeJS,Node JSor just Node. I will try to keep it the wording uniform but please forgive me if I use different variations.
In this article, I am going to show you how to implement a flat-icon style navigation menu in your HTML. You don’t have to use it as a menu, technically you can create “buttons” by following the same tutorial as well. It’s a fairly simple tutorial for those new to Cascade Style Sheets (CSS).
I will also introduce you to the process of implementing FontAwesome Icons. If you’ve never used FontAwesome before, it offers a completely free icon-set available to everyone, and it’s very easy to utilize on your website. For this tutorial, you may need prior HTML & CSS experience, but I will try to explain things as best as possible for newbies. You should be able to follow along, nonetheless, if you have any programming experience.
Create Flat Icon Navigation Menu
The flat-icon style navigation menu that we will create will look like this:
The text only shows when “hovering” over icons
Notice that the navigation’s icons are off to the side–this was done on purpose, however you can easily center the icons by adjusting the CSS file we will be creating.