Showing posts with label DIY. Show all posts
Showing posts with label DIY. Show all posts

Monday, 11 September 2017

You Can Start a Coding Career Without a Degree — Here’s how

Forge a coding career without a degree with this effective strategy.

Most of the people spend their whole life stuck to a job which they don’t like at all. However the modern age offers respite and opportunity from the monotonous job schedules with tech based courses. Coding is the next level 0r newest gig for most of the individuals and once you get hang of it then you can take a real job with it which pays well and always challenges you. It is fascinating to note that more than 7 million jobs are available in varied occupations which require coding skills and it ranges from the software engineering, IT administration to the web development.

There are a number of industries and business which requires technical experts for building products, solving problems and marinating system across its ecosystem. Opting for a career in coding is the right choice for the individuals and there are two great ways of doing it which ultimately leads to becoming a full time programmer or developer.

Learn to Code Bundle with major programming languages.

Leaning to code or writing programs isn’t a simple task rather it requires careful understanding of various syntax, rules, logic and other attributes depending on the programming language in question. Coding makes use of a wide range of programming languages, technologies and tools which helps in giving shape to desired functions or features. A simple 10 course bundle comprising of the major programming languages will help you in finding the right idea of complex yet fascinating world of coding.

About 105 hours of training is enough to equip any individual with the knowledge of the major web development languages like HTML5, CSS3, JavaScript etc. along with the database management tools like AngularJS and MySQL. Having the knowledge of these major programming languages will lend a hands-on experience in creating a wide range of application and website right from the scratch which can include a whole new social network or a ticket booking websites.

Learn to Code Bundle with niche programming languages.

Opting for Bonus Bundles for any coding course will help in getting acquainted with niche programming languages. Learning some of the niche development streamlining apps such as Flux and React JS will help in getting a more sophisticated and concentrated knowledge of coding. Just spending 16-20 hours more on such technologies or programming languages will help in increasing the employability of the individuals.

Another widely used and supported distributed version control system is none other than Git which comprises of everything which a coder can dream of. Both of these courses are not designed to make a hole in the individual pocket by being too much expensive rather the first course costs nothing more than $100 and second one is $150. There are a number of websites and books available in the market which can help individuals in shaping and brushing their coding skills to the next level by familiarizing them with the latest tools used by the professionals on everyday basis.

Wednesday, 30 August 2017

How to Roll Your Own VPN

Free Wi-Fi access offered by restaurants, bars or public places are not safe. These networks are not encrypted. Anyone who is connected to it can intercept the data, name of users or passwords that you are sending by identifying yourself in your email account or social networks.

1: What are VPNs?

VPN (Virtual Private Network) is a type of network in which you create an extension of a private network, such as the local network you have at home, over a public network. That is, you use the open network as a vehicle to connect to your private VPN network and thus, to be able to navigate with the same level of security as if you did it from your home, since your laptop, smartphone or tablet, connects directly to your Private network, isolating itself from the rest of the public network traffic.

2: Free VPN Networks

There are companies that offer, among other services, the free connection to VPN servers to protect your connections from public networks. These servers act as protective filters for your privacy on the Internet. The greatest virtue of this type of services is that they do not require any registration. Simply enter the server address, a username and password and start browsing.

Before connecting to the VPNBook servers, you need to know your connection details. Go to your website and click on the PPTP tab.

Record the address of the server you want to connect to. Just below the servers, you also specify the login user name and password. Write them down as well.

3: Connect to a VPN network from your iPad

If you're connecting to a VPN network from an iPad or any other iOS device, go to your Settings menu. Touch General on the side panel, and in the central box, look for the VPN entry.
Now touch Add VPN configuration .... In the box that appears, click on PPTP. Then write the connection data you wrote down on the VPNBook page.

In Description,  type an identifying name for this VPN network. For example VPNBook. In Server, type the address of the server you want to connect to. In Account, enter the username you copied from the
VPNBook page and do the same in Password.

Then turn on the Send All Traffic switch to direct all browsing data over this VPN. Finally, touch Save.
When you're done, activate the VPN switch to connect to the VPNBook server and thus protect your privacy.

4: VPN connection from an Android app

Another easy way to connect to VPN networks and maintain your privacy is to do so from apps installed on your smartphone or tablet.

This app will connect to the VPN server, allowing private browsing in just a couple of touches on the screen.
To do this you must install Spotflux free VPN on your device. This time we will use an Android device, although it is also available for Apple devices.

After you search for and install the SpotFlux free VPN app on Google Play, start the app. Scroll to the left and press Proceed. As you need to create a new network connection, you will be asked if the app is authorized to do so. Check the I trust this app option and click OK.

It will automatically connect to Spotflux servers and encrypt your connection. An icon in the notification bar will tell you the VPN connection is active.

During the initial trial period, you will be able to test all the services offered by the app. After this period, the Premium functions will be blocked, but you can continue to use all other functions with normality. When you want to disconnect from the Spotflux VPN server, click on the Disable button. This is all you need to use public Wi-Fi networks safely!

5: Fix your IP with No-ip

Another option to keep in mind is to create your own private VPN network. For this you will need a computer on and connected to the Internet, which serves as VPN server.

Doing so is not as easy as connecting to the VPN networks in the previous sections, but you will have the absolute certainty of the security of your navigation.

But first you must fix your IP address. If your IP is already static you can skip this step.

Before starting to configure your computer, you need to know if your IP is static or dynamic. If your IP is dynamic, which happens in most cases, you can use the No-ip service to "fix" it.

This free service synchronizes the dynamic IP of your router with a domain name. That way, you will not have to worry if your IP changes. Entering the name of the domain that will be assigned to you, other devices will be able to connect with your computer.

To create a domain for your dynamic IP, go to the No-ip website. Then click Sign up and create a No-ip account. In it you must specify the user name with which to identify you and a secure password.

Then, establish a name for your domain, make it simple to remember. You can also choose which domain to belong to. The only free domain is .noip .biz, the rest are paid. Select it and click on Free sign up.
Then, you will be sent an email to the address you have provided to confirm your registration in No-ip. You can start using No-ip !

6: Install the No-ip client on your computer

Now is the time to install the No-ip client on the computer that will act as a VPN server.

This program will synchronize the IP of your computer and the domain name that you have created in No-ip. That way you can connect to it even if your IP changes. Which will do every time you turn the router off and on.

Go back to your account on the No-ip website and, in your control panel, click on the Dynamic Update Client option, which you will find in the side panel. Then click on the Download Now button to download the No-ip client installer. Install it on your computer and start it.

Then enter the email address and password you used in the No-ip log.

In the No-ip client window, you may notice that you have not yet recognized any domain and therefore can not synchronize your IP. Click Edit Hosts. Check the box for the domain you created in the previous section and click Save.

Now it recognizes the domain and assigns it the correct IP. If you turn off and turn on your router you will see how the IP changes, but the No-ip client reassigns it to your domain. Even if you close the No-ip client window, it will continue to work in the background.

7: Configure your VPN server in Windows

The first step in creating a VPN in Windows is to access the Network and Sharing Center on the computer that will act as a VPN server. You can access it from the Control Panel.

Then choose Network and Internet, and then choose Network and Sharing Center. You can also access from the Network icon in the system tray, next to the clock.

Now, click Change adapter settings in the side panel.

In the Network Connections window, go to the File menu and choose New Incoming Connection. If you do not have the menu bar visible, press the ALT key and they will be displayed.

Then click on the Add someone ... button to create a new user for the VPN network. In the box that appears, type a user name and set a password. These will be the identification data that your device will ask you when you want to connect to the VPN network.

When finished, tap OK. Continue with Next. Then check the box over the Internet and continue with Next. Finally, click the Allow access button.

After this, it will be necessary to restart the computer so that the new network is created. If, after the reboot, you return to the Change Adapter Settings window, you will notice that a new network has been created, which will tell you if there are any users using the VPN network.

8: Open the ports on your router

In order for your router not to block the connection of external devices to your VPN network, it will be necessary to open a specific port, through which this connection will be directed. The port to be opened will be the TCP 1723.

Each router has a different configuration interface and its own way of opening the ports. If you do not know how to do it, consult the manual of your router or contact the support service of your Internet provider, they will show you how to open the ports of your router.

9: Connects to your private VPN network from another computer

Once you have configured the VPN network, you have created the user account and you have opened the ports of your router, you just need to establish the connection from another computer.

On this occasion, we will use a laptop with Windows 7 - which we bought at a great price thanks to our Amazon discount coupons - and connected to the Internet from an open network. Access the Network and Sharing Center, as shown in the previous section.

Then click on the Configure a new network connection option. Then choose the option Connect to a workspace and click Next. Now choose Use My Internet Connection (VPN) and configure the connection settings.

In Internet Address, write the static IP of your router or the domain that you created in No-ip. In Destination Name, type the name of the network. For example, My VPN. When you're done, click Next. Then enter the username and password you created during VPN

Tuesday, 29 August 2017

Host Your Own RSS Feed Reader

rss feed
How to create an RSS feed from scratch

Today most of the systems we implement (such as WordPress) already come with a feed created and implemented, ready to validate, it is always possible to create a zero, or want to further customize what already exists.

Through a simple tutorial we will teach you to create an RSS feed from scratch, whether with static or dynamic content.

As always, first things first:

Reqirements for RSS feed:

A website with content, whether static or dynamic.

A Web editor.

Process of creating RSS feed:

To create an RSS feed, it is necessary to encode a file in XML format, which contains the necessary tags to interpret and display the content in the specified format, to which users will access. This file we can leave it native in XML, or embed it inside PHP, as we will see in both cases below.

For this we will perform 2 processes. In the first instance we will create a static feed, from content that we have available on our site.

After that we will repeat the task, but this time we will retrieve contents from a database to put them into the feed, ideal if they are publishing through a CMS or if they obtain content directly from a database.

So without further ado, let's get down to business:

1.- Creating a static RSS feed

This option is valid only if we have static content on our site, which although not very justified, can be a useful functionality to deliver to visitors.

For this, we need to create an XML file in our Web editor, and start coding:

The first 2 lines that we added correspond to the definition of the version and coding of xml (in order for it to validate correctly we must add the version, as far as the coding is optional but it never is) and the version of RSS that will use The file we are creating. Currently most sites offer subscriptions for both RSS 1.1 and 2.0, but with the latter is more than enough. At the end we close the rss tag to finish the document.

Following the above, it is necessary that everything related to the feed (both information and content), be included within the </ channel> tags, which we will add just after the previous code.

And now, inside the channel tags we will be adding the feed information.

And finally, after the information, we add the related content that will be displayed in the feed, we will do this by repeating the same tags we used previously, but closed between < item>and </ item>:

The above we save it with any name and with extension xml, we upload it and when opening it in the navigator we will be able to see that our static feed is completely ready:

2.- Creating a dynamic RSS feed

We created our static feed, its just onnly a few minutes, we realized that it was very simple and we are ready to conquer the world ... right ?. Well, not yet. As we indicated in the previous point, a static feed is not very funny, since we must add each new content manually and ends up being a lot of work, or it may be that on more than one occasion we forget to update. Due to this, if we have a site where the content is obtained dynamically from a database, it is possible to adapt that to our feed and that the new information will be added as it is generated. For this, we will work with both XML and PHP, in a bombastic that will spark and make us the most popular kids in high school.

For this, we will consider that we have a database, which has a news table with a title field, a link field, a detail field and a date field of the news, as we see below:

[Table id = 1 /]

So, the first thing to do is create a PHP file in our Web editor.

As you can see, in the previous code we left a blank section, between the <? Php and?> Tags. This part of the code is where we will connect to the database, rescue the news and deploy it dynamically.

For this, we will first connect to the database. As a good practice we will use DEFINE to define redundancy, define the connection data, but if you want, you can skip this part and execute the function directly:

And now we make the connection. We run the query.

Now that we have retrieved all the news from the database in an orderly way by date, obtaining the newest ones first, we will pass them to an array to write them in the specified XML format, as follows:

With the above, we execute a cycle that will pass to an array in an associative way (thanks to the parameter MYSQL_ASSOC, which will allow us to access the records in the array with the same name that they have in the table of the database). That they are finished and will create a new item with the respective values to include in the feed.

With that we are almost ready, the last detail is to add a small header at the beginning of the document, indicating that we are executing XML content for better recognition at the time of executing the complete script, we do this by adding at the beginning.

And ready!.

We have our dynamic RSS feed, which will add the results obtained from the database and each time we publish new content will be updated automatically.

And now, to conquer the world ?. Not yet. Before finishing:

3.- Useful tips for launching RSS feed

Some tips that are never over:

Validate feed

Before launching our feed to the public, it's good to make sure that it works properly and that we have not made coding errors. For this we can validate through several services, such as:

W3C Validator

Feed Validator

Just add the URL of our feed and validate.

Publish the feed

There are services that allow us to publish our feed and offer a series of interesting features, such as adding advertising or statistics about our subscribers. The best known and undoubtedly used is Feedburner, which in only moments we can publish our feed without problems.

Show users that a RSS feed exists on the site

If at this moment they look at the address bar of your browser, you will see that there is an orange icon.
This icon indicates that the site has an RSS feed to which they can subscribe. How to add it? Very simple, we should only add the following lines between the <head> and </ head> tags of each page we want it to appear in, such as a favicon. Simple, right?

and </ head> tags of each page we want it to appear in, such as a favicon. Simple, right?

Customize your RSS feed

The details certainly make the difference in the minds of the users. So, now that we've learned how to make a feed from scratch, why not play it a bit and make it more personalized? Only by modifying small parts of the code can we display certain types of information in our feed (for example comments if they exist), or limit the number of articles to be displayed, or make a separate feed for each person that writes in the site and thus each Reader follow his favorite author.

The possibilities are many, you just have to experiment.

And with this we have finished this tutorial in which we have covered the process of creating an RSS feed from scratch. As you can see, it only takes a few minutes and the difficulty is low, so we encourage you to try and tell us your experience.

Before ending, we remind you that as always, this tutorial has been:

Any questions or comments you may have, we invite you to leave us a few lines in the area enabled below.
We hope this tutorial has been useful for you.

Saturday, 19 August 2017

Build Your Own Streaming Dash Cam - Do It Yourself

Dash cam
We have always been passionate about home automation and everything related to computers in the home. Most of us love the weather stations that display a lot of information, high-tech clocks that make a calendar and that sounds when you receive a mail, digital photo frames, etc ... Indeed, we find that what exists today is either far too limited or very limited and far too expensive.

Build a Dash Cam with a Raspberry Pi, Two Cameras and GPS

Car video cameras (dash cams) became very popular, where vehicular crash videos outpaced witness testimony in court. Surveillance cameras in cars have become ubiquitous among the driver's daily tools. Increased distractions and shorter care intervals have subsequently led to dangerous traffic. The use of a camera like this means irrefutable proof of guilt in case of being involved in an accident.

We have seen a raspberry Pi used as a dash camera before, but about in Pro techie's they took the same concept, but also have a live-streaming capability provided you can set a hot spot on your smartphone.

Dash cameras are an easy way to record everything you see on your windshield, but they vary …

The dash cameras are a cool, easy way to record everything you see on your windshield, but they vary greatly in price and quality. If you really want to personalize your own, you can make one with a raspberry Pi.

As expected, this configuration has some bells and whistles. It has two cameras, one front and one rear. It also has GPS packaged in it so the camera always knows where it is recording. There is also a button to turn it off and restart it when you need it along with status LED so you know what to do. Of course, most of us probably do not need all this, but it's a fun project, though.

To begin with, you can make use of an old USB camera.
You can combine it with your old USB version and possibly add a GPS.

Hardware - Raspberry Pi model B
OS - Arch Linux
Front camera - Pi camera
Rear USB camera – Any kind of old one
GPS - Adafruit Ultimate GPS Breakout
LEDs - 3 x 3mm
Pi camera mount - From pimoroni
SD card adaptor - pIO microSD card adapter
SD card - Samsung 32Gb micro SD PRO Card Class 10 UHS-I

The camera uses Node.js to set everything up, then takes a picture every few seconds and saves it online using the hot spot on your smartphone. In this way, the flow is available online at any time. To do this, you will need a Raspberry Pi and a camera module next to some form of network access. Beyond that, it is a fairly simple configuration process for the camera itself. When you're done with that, you'll make a viewer so you can see all those images in streaming. This project uses the PubNub application platform, but you can do this project using a free account.