Top

Running a local media server using PleX.

SETUP
SERVER
PRIVATE
MEDIA
MOVIES
SHOWS
ORGANIZE
ORGANIZER
SOFTWARE
LINUX

Image

Many of us tech enthusiasts dream of having their own media server, at least once in their lifetime. Better serving, high speed and most of all, customized & organized media server. I love watching movies during my free time or while stressed, considering I’ve a whole library of movies makes it easier to save bandwidth and at the same time, have fun! I tried to create my own media server, for streaming movies, TV shows or even music locally with FTP, which didn’t work out well, in short, it wasn’t organized and not flashy/beautiful at all until I heard about Plex.

In my understanding and experience so far with Plex, it is a nifty piece of software written for the very purpose of running a media server (local or remote). Local as in within your network, remote as in outside your network.

Read More

Brief research about a Seedbox and deploying one.

SETUP
SERVER
SEEDBOX
TORRENT
PRIVATE
BITTORRENT
CLIENT

A seedbox is a remote server hosted in a high-bandwidth data center used for the safely uploading and downloading of digital files. These speeds range from 100Mbps (8MB/s) to 10Gbps (1250MB/s). Persons with access to a seedbox can download these files to their personal computers anonymously. (Source: Wikipedia)

Image

Basically, in clear and understandable words, Seedbox is a server used for Peer-to-Peer (P2P) transfers with the use of BitTorrent protocol. Seedbox, what it is and how powerful it is, is determined by the hardware it runs on, how secure (anonymous) it is and how deaf that hosting company is.

Seedbox is just a server with a certain purpose and protocol, seed the files you have stored in your server which is also known as pirating in the eyes of law makers and well, pirates!

Not to call myself a pirate, I try my very best to refrain from brushing against the law and the law makers, as a tech fanatic and a student pursuing Engineering & Programming field, Seedbox piqued my interest.

Read More

Image Preview using File Input in jQuery

IMAGE
JQUERY
JAVASCRIPT
PREVIEW
SETUP
UPLOAD
DESIGN
HTML
SNIPPET
SOURCE

If you are a web designer and a developer, you might have come across this problem before. You want to allow users to upload their avatar, let’s say and there is a criteria that you set during development such as specific width, height, size (file size) etc but you receive a complaint about it for being a little messy and difficult to get used to. Image that the users uploaded did not center correctly? The image is flat, blanks on the sides, in simple words, not what the user expected it to look. I did not receive any complaints but I did see a post in Google Plus regarding this issue and hence, here I am writing what I think will help you approach this problem in civil manner and I have used it in couple projects of mine before.

What is an Image Preview?

It’s just an image tag, components you use in your web applications. For example an avatar, banner or logo. What we are trying to accomplish here is to let the user know what the image file will look like in our web application after the user uploads it, before he uploads it. The word preview itself should explain the cause of this blog post.

Ways to accomplish this

We’ll be using Javascript/jQuery for this as it handles client-side contents more efficiently. We will be using two different approaches and two different built-in functions to accomplish this, namely URL.createObjectURL(); and new FileReader().readAsDataURL();, both of these method works great.

Read More

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