Tag Archives | Debian

A better add-apt-repository.sh

Got tired of manually having to edit source files when I added a ppa to the last release(s) so now does it automaticly. If you have suggestions please leave in comments. Thanks add-apt-repository.sh #!/bin/bash if [ $# -eq 1 ] distVer=(`lsb_release -sc` vivid utopic trusty) NM=`uname -a && date` NAME=`echo $NM | md5sum | cut […]

Continue Reading 0

Tesseract OCR

OSX: brew install imagemagick brew install tesseract –all-languages Debian/Ubuntu: apt-get install imagemagick tesseract\* Sample Usage:    convert input image to grayscale using imagemagik convert input.png -colorspace Gray output.tif     decode with tesseract tesseract output.tif result; cat result.txt

Continue Reading 0

SparkleShare + Dashboard

SparkleShare: # Run all of the following commands as the root su # Fetch the Dazzle script curl https://raw.github.com/hbons/Dazzle/master/dazzle.sh \ –output /usr/bin/dazzle && chmod +x /usr/bin/dazzle # Run the initial setup dazzle setup # Link SparkleShare clients using their link codes (found # on the client in the SparkleShare folder) dazzle link # Create a […]

Continue Reading 1

Change the speed and duplex settings of an Ethernet card

# apt-get install ethtool net-tools # ethtool eth0 or # mii-tool eth0 add a pre-up line to /etc/network/interfaces. Something like this: iface eth0 inet static pre-up /usr/sbin/ethtool -s eth0 speed 1000 duplex full autoneg off address … OR Debian init script: # sudo vi /etc/init.d/100Mbs #!/bin/sh ETHTOOL=”/usr/sbin/ethtool” DEV=”eth0″ SPEED=”100 duplex full” case “$1” in start) […]

Continue Reading 0

N900 Repos

/etc/apt/sources.list.d/hildon-application-manager.list #Nokia Official deb https://downloads.maemo.nokia.com/fremantle/ssu/apps/ ./ deb https://downloads.maemo.nokia.com/fremantle/ssu/mr0 ./ deb https://downloads.maemo.nokia.com/fremantle1.2/ovi/ ./ #Extras repository deb http://repository.maemo.org/extras/ fremantle free non-free deb-src http://repository.maemo.org/extras/ fremantle free #deb http://repository.maemo.org/extras/ fremantle-1.2 free non-free #Latest releases deb http://repository.maemo.org/extras-testing/ fremantle free non-free deb-src http://repository.maemo.org/extras-testing/ fremantle free #deb http://repository.maemo.org/extras-testing/ fremantle free non-free #Unstable releases deb http://repository.maemo.org/extras-devel/ fremantle free non-free deb-src http://repository.maemo.org/extras-devel/ fremantle free […]

Continue Reading 0

Powered by recycled bites and bytes.