Pymgur - Yet another screenshot and Imgur upload script written in Python.



After using Shutter for almost a year or more if I recall correctly, I got fed up of it’s broken Imgur upload plugin, considering those upload plugins are written in Pearl Scripts .pm I guess I could have tried and edited the script. For those who aren’t familiar with what Imgur is, it is an image host, free, fast, optimized, secure and very resourceful for image sharing. It started from Reddit and now it is one of the most amazing image hosts out there, probably the best if you ignore Google+ Photos.

It gives you an ability to edit/update images with various built-in sets of tools and features.

Nothing wrong with trying and creating one for yourself, I suppose. The script I wrote makes use of Imgur’s OAuth 2.0 authentication using pin to authorize, confirm and revalidate access_tokens.

All the steps are included in the Python script itself, therefore, I don’t think the user will have much trouble configuring things around.

Read More

Running a local media server using PleX.



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.


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)


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


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