Skip to main content

Posts

Showing posts from 2016

My Experience with Free SeedBoxes

More people are becoming more and more tech-savy, Internet content is increasing by the second into humongous proportions. Internet bandwidth from the days of dial-up modem (256 kbps) to ADSL (~2 Mbps) to Fiber (+10 Mbps) have increased the connect of people with Internet. Today, torrents form a large part of the traffic flowing through the Internet allowing people share music, open source softwares and literally everything under the sun. Along with torrents come the task of seeding etiquettes. Simply being a leecher is not encouraged in the torrent sharing community as you are supposed to keep the torrent healthy by sharing your 'bit', no pun intended. Keeping your desktop powered on all the time for seeding and leeching is not advisable for a variety of reasons including but not limited to Security: A seedbox will normally be out of the jurisdiction of your 'evil' state. Infact, you are not even installing a bittorrent client on your machine. So, no worries of l...

Simple python script for creating an image listing in HTML

Just a code snippet without any adieu... #!/usr/bin/python import sys, os foldername = sys.argv[1] file_list = os.listdir(foldername) file_list.sort() output = "<html><body>" for file in file_list: output += "<img width='100%' src='" + foldername + os.path.sep + file + "'></img>" print output Simply redirect the output to a file with a .html extension and open the html file in browser.