LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Blogs > sumeet inani
User Name
Password

Notices

Old

downloading videos from youtube via online java websites

Posted 07-25-2013 at 09:59 AM by sumeet inani

I keep a collection of videos available at http://www.youtube.com/show/pavitrar...ag_id=&sort=dd and http://www.youtube.com/show/badeacch...view=8&sort=dd

You can catch the videos from catchvideo.net or keepvid.net
Then I use this script for continuous downloading
Code:
#!/bin/sh
while true
do
	echo 'enter URL (q to quit):'
	read   downloadlink
	if [ "$downloadlink"
...
Member
Posted in Uncategorized
Views 311 Comments 0 sumeet inani is offline
Old

base 64 encoding via c

Posted 07-25-2013 at 09:04 AM by sumeet inani

I came across some anti-virus in windows that detect programs like cmdow , fgdump etc. as threat & quarantine/remove it without asking.

So I wrote this c program that takes a byte from input-binary & writes it to ascii-hex-text-file while encoding .
In decoding takes two alphanumeric characters from input-text & writes it as single char to output-binary.

Compile it in your distro using
gcc program-file-name.c

Here is the code...
Member
Posted in Uncategorized
Views 277 Comments 0 sumeet inani is offline
Old

calculating write speed

Posted 07-05-2013 at 08:22 AM by sumeet inani
Updated 07-05-2013 at 08:23 AM by sumeet inani (clarity)

Hi ,
I wrote this script for any normal distro
This calculates data written in 10 seconds to get average.
Also monitors copying process , if possible , to know when to stop monitoring
Code:
#!/usr/bin/bash
monitor_drive=sdb1
number_of_argument=$#
echo PID is $processid
if [ "$1" = "--help" ]
	then
	echo USAGE
	echo ./general \<device_name\> \<PID\>
	echo mention PID as \'no\' \(without
...
Member
Posted in Uncategorized
Views 3872 Comments 4 sumeet inani is offline

  



All times are GMT -5. The time now is 06:45 AM.

Main Menu
Advertisement

My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration