tweenux
RSS Feed Email Feed

Archive for 'Software'

SparkleShare with gitosis on ubuntu 10.10

Installing gitosis
Install gitosis on a server where you would like to backup/store documents.
On my debian 5.08 (lenny) server, gitosis may simply be installed via aptitude.

my-git-server:~$ sudo aptitude install gitosis

Now, standard “home-dir” for gitosis is /srv/gitosis. I would like to store my git-repositories on a raid location called /storage/. To change home-directory for gitosis, run this [...]

Fully working remote control (HVR-4000) on kernel 2.6.35

Remote control support (input device events) is now handled by the kernel (>=2.6.17). However, not all remote buttons may work out of the box. The driver that handles input device events, xf86-input-evdev, needs to be patched in order to remap higher keycodes than the xserver may handle. x server (Xorg/x11) is built with 255 keycodes [...]

Grails on Debian Lenny

Grails is an open source web application framework which uses the Groovy programming language (which is in turn based on the Java platform). It is intended to be a high-productivity framework by following the “coding by convention” paradigm, providing a stand-alone development environment and hiding much of the configuration detail from the developer.
Wikipedia

Install java-sdk/jdk:

:~$ [...]

Hauppauge remote control issue (HVR-4000)

Ubuntu 10.10 (Maverick)
OUTDATED: go to http://archive.pfb.no/2010/12/14/fully-working-remote-control/
I have been quite frustrated over the lack of being able to navigate in media center menus for a long time since the back/exit button has failed to do the desired response, namely navigate back / go up one level / go to parent dir / go to parent menu. [...]

Install SystemC on Ubuntu 10.10

SystemC is a set of C++ classes and macros which provide an event-driven simulation kernel in C++ (see also discrete event simulation). These facilities enable a designer to simulate concurrent processes, each described using plain C++ syntax. SystemC processes can communicate in a simulated real-time environment, using signals of all the datatypes offered by [...]

Redirect hostname.com/stuff to www.hostname.com/stuff

Okay,
The lazy days are over and I figured out it was time to create a more useful redirection of a hostname in my apache2 configuration files. The past few years I have been using this redirection method, but not been happy with it:

RedirectMatch ^/$ http://www.hostname.com

This is ok, but if the user is trying to reach [...]

extract pages from a pdf file

I came across a nice little command to extract pages from a pdf file.

:~$ gs -sDEVICE=pdfwrite -dNOPAUSE -dBATCH -dSAFER \
-dFirstPage=3 -dLastPage=4 \
-sOutputFile=OUTFILE_p3-p4.pdf SOURCEFILE.pdf

Putting (splicing) multiple pdfs together:

:~$ gs -sDEVICE=pdfwrite -dNOPAUSE -dBATCH -dSAFER -sOutputFile=OUTFILE.pdf SOURCE_FILE_1.pdf SOURCE_FILE_2.pdf

Source: http://www.linuxjournal.com/content/tech-tip-extract-pages-pdf

ffmpeg tips and tricks

I wanted to create a time-lapse video with a few CCTV cameras and a video capturing card.
To record images at 10 sec interval I used motion.
This analog video recording left me with lots a couple of mpg files that I wanted to crop in order to remove black lines on the sides. ffmpeg turned out [...]

Debian on QNAP TS-110

When I started working with 1-wire network I simply connected it to a Linux server by using an USB interface and OWFS. Later, I needed to move my server. The solution was to buy a mini-pc that could read the 1-wire network. I wanted a system where I could install OWFS, therefore, I had for [...]

OKI MFP 5460 Network Scanning

The OKI MFP 5460 ES (Executive Series) was a bit difficult to set up with scanner support when used as a network printer. I have seen better documentation.
It says it support sending scanned files to E-mail, FTP, CIFS and Twain, but not how.
What i didn’t know in the beginning was that CIFS = SMB (Common [...]

« Older Entries