Μετάβαση στο περιεχόμενο

Scripts #1

Οκτωβρίου 29, 2010
ετικέτες

Things to remember / keep

Backup tomboy notes:

#!/bin/bash
#backup tomboy notes
tar -zcf /home/kostas/.backups/tomboy`date +%Y.%m.%d`.tar.gz /home/kostas/.tomboy

.bin/.cue to .iso

#!/bin/bash
# convert .bin/.cue to .iso
bchunk “$1″bin $1cue $1iso

Blog downloader (possibly wrong?)

#!/bin/bash
echo ‘****Blog Downloader****’
echo ‘w. WordPress Blog’
echo ‘b. Google Blog’
echo ‘l. Livejournal Blog’
echo ‘***********************’
echo

mkdir ~/downloads/websites/$2; cd ~/downloads/websites/$2;
case $1 in
w) # WordPress
STR=”http://”$2″.wordpress.com”
wget -rH -Dfiles.wordpress.com,wordpress.com $STR
;;

b) # Blogspot
STR=”http://”$2″.blogspot.com”
wget -rH -Dblogspot.com -p $STR
;;

l) # Livejournal
STR=”http://”$2″.blogspot.com”
wget -rH -Dblogspot.com -p $STR
;;

esac
# download a blogspot blog with images within blogspot
#wget -rH -Dblogspot.com -p http://blah.blogspot.com

Run multiple dropbox accounts

#!/bin/bash
#Dropbox @ Office
HOME=$HOME/.dropbox-office ~/.dropbox-dist/dropbox

### my version
#!/bin/bash
#Dropbox @ kostas
HOME=$HOME/.dropbox-kostas ~/.dropbox-dist/dropbox

 

Best thing to ubuntu!

Οκτωβρίου 29, 2010
ετικέτες,

http://ubuntuforums.org/showthread.php?t=283131

Linux και rapidshare

Σεπτεμβρίου 28, 2008
ετικέτες, ,

Το rapidshare (πιθανώς) το ξέρετε. Ό,τι πιο εύχρηστο για γρήγορη ανταλλαγή αρχείων. Ανεβάζεις το αρχείο που θες στους servers του rapidshar, μοιράζεις το link που σου δίνει και αυτό ήταν. Τι γίνεται όμως οταν θες να κατεβάσεις μαζικά links, και η ιδέα και μόνο του να το κάνεις από τον browser σε κάνει να βαριέσαι απίστευτα;

Βρήκα το aria, έναν (αρκετά λιτό σε interface) παντοδύναμο downloader για linux το οποίο υποστηρίζει rapidshare (και ίσως να υποστηρίζει και άλλες υπηρεσίες) authentication

aria

aria

sudo apt-get install aria

Alt-O, General, authentication, *insert rapidshare account info*, voila :P

Logitech Fusion & Ubuntu 7.10

Απριλίου 13, 2008

Μετά από άπειρο πειραματισμό κατέληξα στο συμπέρασμα οτι η εν λογω κάμερα ειναι γτπ και υπολειτουργεί.

https://help.ubuntu.com/community/UVC

UVC

UVC Stands for ‘USB Video Class’. It defines video streaming functionality on the Universal Serial Bus. UVC compliant peripherals only need a generic driver; much like mass storage devices (USB flash disks, External disc enclosures, etc.) can be managed by a single driver because they conform to the USB Mass Storage specification.

UVC Linux Driver

The GNU/Linux UVC Driver page is at [WWW] http://linux-uvc.berlios.de/ and includes a list of supported devices

UVC support in Ubuntu

7.10 and later

In 7.10 the UVC module has been included which means that some webcams ‘just work’ however UVC is still at an early stage and device support and bugfixes are being added all the time. It may well be necessary to update to the latest version to get your hardware to work, in particular Skype will only work properly if you have uvc version 166 or above, earlier driver versions freeze up after a minute or so with some cameras.

7.04 and earlier

UVC support is not included and you’ll have to install it yourself.

Installing UVC

UVC has not released any ‘snapshots’ yet and has not been packaged and included in the Ubuntu repositories. There is a debian package located [url [WWW]” width=”16″ height=”16″ /> http://packages.debian.org/unstable/graphics/linux-uvc-source</a> here] but the best way at the moment is to grab the latest build from the Subversion repository and compile it yourself.</p>
<h3>Checkout from SVN</h3>
<p>If you do not already have subversion installed get it with:</p>
<pre>sudo apt-get install subversion</pre>
<p>Then get that latest source from the repository with:</p>
<pre>svn checkout svn://svn.berlios.de/linux-uvc/linux-uvc/trunk</pre>
<p>This will make the directory ‘trunk’ containing the source in your working directory</p>
<h3>Build</h3>
<p>Make sure you have kernel header files. In Ubuntu 7.10 and later, you need the header files package specific to your CPU architecture, for example, linux-headers-2.6.22-14-386 in addition to just linux-headers-2.6.22-14. You can do this with:</p>
<pre>sudo apt-get install linux-headers-`uname -r`</pre>
<p>Navigate to the ‘trunk’ directory containing the source and run:</p>
<pre>make</pre>
<h3>Install</h3>
<p>Ubuntu keeps the kernel module for UVC in <strong>/lib/modules/<em></em></strong><em>your kernel</em><strong>/ubuntu/media/usbvideo</strong> and the makefile has to be altered slightly to install to the correct directory. Open the the makefile in a text editor and change :</p>
<pre>INSTALL_MOD_DIR := usb/media

to'

INSTALL_MOD_DIR := ubuntu/media/usbvideo</pre>
<p>then run</p>
<pre>sudo make install</pre>
<h3>Insert Modules</h3>
<pre>sudo modprobe uvcvideo</pre>
<p>If you’re running 7.10 this may complain that the module’s already loaded. In that case unplug your camera and remove the old module with :</p>
<pre>sudo modprobe -r uvcvideo</pre>
<p>then insert the new one again as above</p>
<hr /><a href=CategoryDocumentation CategoryNeedsExpansion

last edited 2008-03-22 14:41:55 by AlexanderRice

Ubuntu 8.04

Απριλίου 11, 2008

YARRRRRR

Το Mac4Lin στην πράξη:

Νοεμβρίου 14, 2007




Νταξ’, είναι θεϊλα…

mac4lin!

Νοεμβρίου 12, 2007


http://www.howtoforge.com/mac4lin_make_linux_look_like_a_mac

Howto Check you external IP Address from the command line

Νοεμβρίου 12, 2007

από το ubuntugeek.com:
http://www.ubuntugeek.com/howto-check-you-external-ip-address-from-the-command-line.html

mythbuntu

Νοεμβρίου 5, 2007

http://www.mythbuntu.org/

Ubuntu Studio

Οκτωβρίου 22, 2007

http://ubuntustudio.org/

Follow

Get every new post delivered to your Inbox.