Posts

Hosting Angularjs2 App using surge - the easy way

Image
NOTE: This method is not only for angular2 based projects. You can use it for hosting any website with index.html(because by default index.html is the first file which is executed on server). Yesterday i was looking about different methods to host a angular app. Found a lot of solutions like heroku, gihtub pages etc. but there was one method which i liked the most that is using Surge. You just need to enter one command and taadaa !!...your website is live with a free doain name (example.surge.sh). I have used to produce for the production based app but i used it for testing a website front-end. It was simple and easy. For more information about surge:  https://surge.sh Downloads and installations required: These are one time things once they are done you will be able to host your website with a single click. 1. Download Nodejs (pref. v6.x) Dont worry about this, you need not know anything in nodejs. we just need it for installing different packages and it also come

Add Google fonts to your website

Ever imagined how some websites just look so professional than others even when the design is so simplistic, well all thanks to Google fonts. Google fonts are used by "many" websites these days to make their websites look more professional and beautiful. So Let's move to the implementation of Google fonts. This is the basic structure of your website: <!DOCTYPE html> <html> <head> <title>Hackslang</title> </head> <body> <p> This is my font</p> </body> </html> Step 1: Go to Google Font website. Step 2:Select the font by clicking the  + symbol on any font block. Step 3: Now your font is selected , click on the Family Selected block which will be there at the bottom of your screen. Step 4: copy the link give in the block like  <link href="https://fonts.googleapis.com/css?family= Roboto " rel="stylesheet"> and paste it inside

How to download torrent in locations where it is blocked ?

Image
First of all this blog is for information purpose only and we don't encourage any download of any unauthorized material from torrent. So, please use this post for gaining knowledge and not for unauthorized torrent download. So let's move to the important part. How to access torrent sites like (kat, piratebay etc.). You may be able to open these torrent websites but you won't be able to download any torrent file. So here's the step by step solution to download torrent file: 1. Download Mozilla Firefox Browser. We will be using an add-on of Firefox browser to access these websites and download the file. 2. ZenMate Security & Privacy VPN Add the Zenmate add-on to your firefox browser and login into it . Now open the Zenmate popover by clicking the Zenmate icon on the right top side of your browser. You will get access to connect to servers to different locations like USA, Germany , China etc for free. You can also go for the premium pack(But fr

How to add/change Environment variable on your system ?

Image
Changing the environment variable is a term you must have heard if you are working on some CLI or some other programming related work. So, if you are having any issue changing the environment variable consider this post and feel relieved ;-). Environment variables are a set of predefined variables that makes system function properly. Generally people indulged in programming or development fields will know what it is. So, following are the steps you need to follow to add/change environment variable on your system: 1. Go to search 2. Search for " Edit your system environment variables " this window will pop-up 3. Click on Environment Variables   now this window will open up 4. Now search for PATH in the System Variables part in variable column 5. Double click on path row and a new small window will open up. 6. Inside this window you to make change only in the variable value textbox.  inside the " variable value: " enter the path to the requi

Li-Fi - Experience The Lightning Speed

Image
LiFi - Light Fedility   Ever wondered what's worse than No Internet ?................. slow internet...right. In the last decade we have seen different ways in which we connect to internet. But ever thought of connecting to the internet at a wooping speed of 10Gbps in your house, neighborhood or at your office ?... it was only made possible by the Li-Fi technology which promises to bring 10Gbps connection speed to you. Li-Fi is still very much in its developing stage but it is already making alot of noise in the tech market. According to many experts the Li-Fi industry will touch $113bn by 2022 and may surpass our dear friend "The Wi-Fi". According to the reports Li-Fi is 100 times faster than Wi-Fi. In 2014 Sisoft(mexican company) was able to transfer data at a speed of 10Gbps using light lamps i.e using lightning spectrum.  How it Works?   In Li-Fi the data is transmitted by modulating the intensity of light coming out of the LED buld(when curre

Top 5 add ons for your Mozilla Firefox browser

Image
Introduction Firefox is a free and open source web browser. Firefox is also known as the Hackers browser. It is praised for its privacy, add ons and speed. It was created by mozilla community which was actually created by Netscape. Firefox was created in 2002 and was named "Phoenix",But got released in 2004 and became highly successful. I also suggest everyone to use firefox because of its security features,vast range of add-ons and many more reasons. What are add ons?  Add-ons are implemented using by the means of XUL and XPCOM,this helps to directly access and manipulate much of the browser's internal functionality. Add ons are generally created by thired-party developers. Top 5 Add-ons for  Firefox 1. Adblock Plus     Annoyed by frequent unwanted advertisements while surfing? then adblock plus is the add-on for you.It is also one of the most used add-on in firefox all -over the world.  Users: 21,700,00 0                                        

NOT SO COMMON C++ : Access Specifiers

Image
Hello everyone , wecome to our NOT So Common C++ series. In the last post for NOT SO COMMON C++ we discussed about some shortcuts , initializations of pointers, structures ..etc. So today lets cover some tricky portions of C++ that are a bit confusing for the beginners. I hope you people have basic knowledge of class in C++.  Access Specifiers : public , private , protected. Lets see an example to get an overview of access specifiers- #include<iostream> using namespace std; class Example { private :     int priV ;                              // PRIVATE VARIABLE or PRIVATE MEMBER public :      Example()                           //Constructor      {             priV =  10;                  // initializing "priV"             proV =  4;                   // initializing "proV"     void pubFunction()            // PUBLIC FUNCTION     {         cout << "public Function executed and priV = " << priV;   //