Top

Cross-Origin Resource Sharing (CORS) with Ajax and NodeJS.

TRAFFIC
NETWORK
SERVER
ROUTE
AJAX
NODEJS
CORS
CALL

With the changes with client side and server side security policy regarding the HTTP requests and responses between two domains (origins), new developers who are just getting the feel of the language can experience hell when it comes to sending a request through jQuery to NodeJS application, whether it be the same server your contents are hosted in or in different servers.

It’s a given, once a developer learns how to build an API (Application program interface), he or she will try to integrate their API with their client side application. It is not possible to do so because of the CORS security policy.

Read More

Setting up OpenVPN in client side using Command Line Interface (CLI) in Linux.

OPENVPN
ENCRYPTION
TRAFFIC
NETWORK
LOCAL
WIFI
AES
OVPN
CONFIG
SETUP
SECURITY

Image

As many citizens became knowledgeable about privacy, VPN, private network, tunnels, why, how, disadvantages and all, the VPN companies developed advanced client software to make client’s work easier, especially for Windows platform but for Linux platform with no Network Manager or simple CLI fans out there have to go through painful steps to setup a VPN.

If you are wondering what a VPN (Virtual Private Network) is then do read this small excerpt I pulled from Wikipedia.

A virtual private network (VPN) extends a private network across a public network or internet. It enables users to send and receive data across shared or public networks as if their computing devices were directly connected to the private network.

VPNs can provide functionality, security and/or network management benefits to the user. But they can also lead to new issues, and some VPN services, especially “free” ones, can actually violate their users’ privacy by logging their usage and making it available without their consent, or make money by selling the user’s bandwidth to other users. (Source : Wikipedia)

Read More

Custom Image Hosting and Upload Script

SETUP
SERVER
PRIVATE
PHP
PYTHON
UPLOAD
POSTMAN
API

Image

There are countless free image hosting services out there but having your own, separate image server has different purpose of its own. There are lots of benefits of having your own image hosting, personal, nothing complicated.

A bit of a knowledge is a must, if you wish to modify and better the scripts I wrote but if you simply wish to use it, ignoring the security flaws, be my guest!

Before you start copy-pasting the codes, please be aware that these scripts that I wrote for my personal use are not secure enough, use it at your own risk!

I also wish to mention that this personal image hosting is completely optional with all these awesome image hosting services out there which are going to be better, faster, secure and optimized compared to our little personal image hosting. Take Imgur for example, provides both Non-SSL and SSL linking, which is better for sites such as mine which requires the content to load over SSL rather than Non-SSL to keep the lock intact.

Read More

How to Stream music and videos with extremely high speed network for free!

MISC
SERVER
ISP
SERVICE
ONLINE
WATCH
MOVIES
TV-SHOWS
COLLABORATIVE
CHAT
VIDEO

As an adherent streamer, I do always love to surf with high speed networks and just surf away. Sadly, it is not currently possible with my current home network. Streaming Youtube videos, Netflix, Hulu+, Crunchyroll and many other video providers has been my daily habit. I sit on my computer quite a lot, researching and such but I will always have something playing in the background or one of my display monitors whether it be a music, relaxing to rock or movies and TV Shows.

I recently found about about Rabbit Beta (non-referral link) and I think it is helping me save quite a bit of bandwidth per month and the speed it streams the content with is beyond the imagination of network I wish to have.

What is Rabbit?

Rabbit is about sharing your everyday. Watch your favorite shows with your friends, without being in the same room (or even the same city!). Collaborate with your coworkers when you’re all on the road. Shop together for a birthday present for Mom, then sing her “happy birthday” with family far away. The possibilities are endless.

Rabbit started with an idea: people sharing experiences online from wherever they are. We began with an app for Mac in February 2013. Then in August 2014 we launched a web-based version of Rabbit. In February 2015, we were named one of the Top 10 Most Innovative Companies in Video by Fast Company. And in October 2015, we launched an app for iOS. But this is only the start: we’ve got big plans.

Read More