Node and NPM

Setup Node JS and NPM for JavaScript Project – 2016

What is Node JS and NPM

..Node.js is an open-source, cross-platform runtime environment for developing server-side Web applications. Although Node.js is not a JavaScript framework,[3] many of its basic modules are written in JavaScript, and developers can write new modules in JavaScript. –

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.

Node JS runtime environment interprets JavaScript via Google V8 JavaScript engine. What makes Node JS even more attractive for back-end server development is the huge ecosystem of Node JS libraries and applications which can be implemented by other developers.

node js

Node JS installation comes with a command line utility called NPM (node package manager) which allows you to easily install, version-control, and manage dependencies of Node JS libraries (or packages), and applications, from the vast NPM online repository. NPM CLI is much like APT, only for Node Packages. Node packages are other JavaScript modules that have been created by other developers, which can be included in your own code to simplify the coding. Some common NPM packages include, Express, Angular, Jquery, etc. (visit for a complete list)

Continue reading

html css 3d cube image slider header

HTML CSS 3D Cube Slider Tutorial – 2016

3D Cube Image Slider with CSS Transform

Today, I am going to show you how to create a neat CSS 3D cube slider with HTML and CSS coding languages. A spinning 3D Cube is a very cool technique to show off images as well as your coding skills. CSS has come a long way and animations are much easier to create without the need for extra languages. We will be using CSS transform and CSS animation properties to create a cube. The 3D cube, that we will design, will have pictures on each of the 6 sides, then it will spin and show all the pictures before restarting the CSS animation. Here is the HTML CSS 3D cube slider that we will be creating:

css transform 3d 1


*CSS Animations may vary slightly due to browser compatibility.


Continue reading

HTML CSS Image Slider main

HTML CSS Image Slider for Image slideshow Tutorial

What is an HTML CSS Image Slider?

A HTML CSS image slider is a creative way to show an image slideshow. An image slider is basically an object on your webpage that cycles through the various images that you provide it, only displaying one at a time. And if you couldn’t already tell, a HTML CSS image slider is technically an image slideshow that has been created using only HTML and CSS programming languages. The images in your HTML CSS image slider can be set to automatically scroll using CSS animations, or you can take advantage of CSS transitions and implement slider control buttons that will change the image only on a web visitor’s click. Once again, an image slider is a great way to present dynamic content to your website visitors.

A lot of times an HTML CSS image slider is also referred to as a “pure CSS image slider” (just the HTML part is left out). Also, the terms slideshow and slider can be used interchangeably here. 🙂

Creating an image slideshow/image slider with just HTML + CSS was not an easy task few years ago. Since the release of CSS3, transitions and animations using CSS have become very easy. A great slider can be created with just a few lines of code. It is the perfect coding project for a new web developer to get his or her hands dirty. Anyhow, let’s get started.

I will be showing you how to make the following image slider:

HTML CSS Image SliderHTML CSS Image SliderHTML CSS Image Slider

Continue reading


Create WordPress plugin Font Awesome Icons – 2016

Do you own a WordPress theme that didn’t come pre-installed with FontAwesome or any awesome icons? Or do you just want to learn how to create a WordPress plugin? Well, either way, you’ve come to the right place! In this article, I’m going to show you a very simple way to add Font Awesome icons to your website, while at the same time you will learn how to create a very basic WordPress plugin. Font Awesome lets you add awesome icons, which they have created, to your website, by using simple HTML. I am going to be assuming you have already downloaded WordPress, and have somewhat of a website setup.

WordPress plugins are bits of software that can be uploaded to to extend and expand the functionality of your WordPress

Font Awesome “left-quote” icon was used in the blockquote above. As you can see, it can help make your website more user friendly, by allowing you to better organize your content.

Although Font Awesome can be added simply by specifying a single-line <link> in the <head> section of your tag, the purpose of this tutorial is to show you how to create a basic plugin.

Continue reading

flat menu main

Navigation Menu with HTML and CSS- Flat Icon style

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.

Continue reading


Use Sublime Text 3 as your JavaScript IDE – 2016

Sublime Text 3 is a notepad replacement on steroids. However, it’s not just a colorful text pad, it can be transformed to a full-feature JavaScript IDE. It’s a neat, feature-rich, text-editor which allows developers to easily keep track of, and edit, their code. In my opinion it’s the best free JavaScript IDE. It is my favorite notepad replacement and coding tool, and there is no time limit on the unregistered version (unlike the 30 day trial period for WebStorm). After your license expires, you can continue to use the software however, if you do like it, I recommend buying it for $70.00 to support the Sublime team. Although WebStorm is also a great IDE, in this post I am going to show you how to setup a simple JavaScript IDE (Integrated Development Environment) in Sublime Text 3.

Sublime Text 3 is available for: WindowsLinuxMac/OSX

Continue reading

webstorm logo

Web Storm Javascript IDE Linux Install 2016

What is an IDE

Although Kali Linux is excellent tool for penetration testers, sometimes you need to use it for other tasks/projects that do not involve any type of penetration testing. If you’re looking to getting into web development, or software development in general, I recommend a product called WebStorm, developed by JetBrains. WebStorm is a JavaScript Integrated Development Enviroment (IDE) and helps you manage your code and stay organized. When building scalable applications, the number of files and modules can grow exponentially, really quickly, and therefore I recommend using an IDE to keep track of everything.

An integrated development environment (IDE) is a software suite that consolidates the basic tools developers need to write and test software. Typically, an IDE contains a code editor, a compiler or interpreter and a debugger that the developer accesses through a single graphical user interface (GUI). —

Continue reading

linux bash script example

Linux Bash Script Beginner Tutorial : Change MAC address – 2016

What is a Bash Script?

linux bash script example

In computer programming, a script is a program or sequence of instructions that is interpreted or carried out by another program rather than by the computer processor (as a compiled program is). —

So basically, a bash script is a file in Linux that can be used to automate a list of commands that you normally execute in a specific order. In a bash script, bash is the scripting language we are using. Bash is short for Bourne Again Shell and comes pre-installed on most Linux machines. A bash script can be written in any text editor, and usually saved with a file extension of .sh, however the .sh file extension is optional.

We can use a Bash script to simplify repetitive tasks. For example, to change the WiFi card’s MAC address using the “macchanger” utility (built into Kali Linux) we run the following commands:

ifconfig wlan0 down
macchanger --mac 00:11:22:33:44:55 wlan0
ifconfig wlan0 up
dhclient wlan0

Now, it’s okay if you want to keep typing the above commands every time you want to change your mac address, however it can get annoying after a while. Wouldn’t it be easier if we could just run a simple script that could automatically run the commands shown above? The answer is, Yes. In the following article, I am going to teach you how to create a very basic Linux Bash script, without creating the infamous “hello world” script. 🙂

Continue reading

Do you know where your phone is? Find it now with Google!

Did you know you can use Google to located your Android phone?

This feature has been around for years now, however it seems that a lot of people either don’t know about it, or just forget to use it. I’m going to quickly go over how the setup your phone so you can locate it next time using Android Device Manager.

First, you have to enable “Remotely locate this device” option and “Allow remote lock and erase”. To do this, simply find the app that says “Google Settings” and go to “Security”. Also, make sure “Location” is turned ON as well.

Google Security settings

Continue reading

Combine multiple images to 1 multi-page file - IRFANVIEW

IrfanView is a small, efficient, yet powerful utility used to view and manage image files. It supports various image formats, which Windows may not support natively. For example, IrfanView supports gifs and ico file types. For more information about IrfanView, please visit: IrfanView Website

Lets say we have 5 tif image files that we need to convert to a single multi-page file for email or whatever other reason you may have. This process is very simple.

single-page images

Continue reading