Floola

Floola is een gratis programma waarmee een iPod en een mobiele telefoon van Motorola kan worden beheerd. Het programma is voor Windows, Mac OS X en Linux beschikbaar. Ondersteuning is voor alle functionaliteit uit iTunes, waaronder album art, podcasts en smart playlists, is aanwezig. Floola hoeft daarnaast niet te worden geïnstalleerd om zijn werk te kunnen doen.

Hier kun Floola downloaden.

Getlibs: Automatically solves dependencies for 32-bit programs on 64-bit

Today i found an real life / time saving debian/ubuntu tool. The name of the tool is getlibs. This tool automatically find the libs and install these. In the past I have search my ass off to find the correct debian libs. Now this problem is (hopefully) fixed 4ever! 😀

On 64-bit systems it downloads and installs libraries needed for 32-bit programs and 64-bit programs.
On 32-bit systems it downloads and installs libraries needed for 32-bit programs.

Thank you to the following bug reporters: marararam ViRMiN Cabal elanthis BogusJoe NullHead mooball
Thank you to the following Beta Testers: Kilz BogusJoe NullHead
Special thanks to: RavanH

To install or upgrade:
http://www.boundlesssupremacy.com/Ca…etlibs-all.deb
Download and double click the file to install.

—–

View the source without installing the package:
http://www.boundlesssupremacy.com/Cappy/getlibs/getlibs

getlibs works on:

  • All Ubuntu and Debian systems
  • Debian or Ubuntu based distributions (best to use the package name)

Tip: To install a 32-bit debian package for a program (not a library!) use

 

Code:

sudo dpkg -i --force-all package_name.deb

Usage Examples:

getlibs on a program to download all missing libraries:

 

Code:

getlibs /usr/bin/skype

—–

Use getlibs to install a 32-bit library using the library name:

 

Code:

getlibs -l libogg.so.0 libSDL-1.2.so.0

—–

Use getlibs to install a 32-bit library using the package name:

 

Code:

getlibs -p libqt4-core libqt4-gui

—–

Install a 32-bit library file (.deb):

 

Code:

getlibs -i ~/i386_library_1.deb

—–

Download and install a 32-bit library file (.deb):

 

Code:

getlibs -w http://mirrors.kernel.org/ubuntu/pool/main/s/sdl-image1.2/libsdl-image1.2_1.2.5-3_i386.deb

—–

Other options:

–apt-file : Uses apt-file to find the packagenames for libraries. The default uses packages.ubuntu.com. This is especially useful for non-ubuntu users.

–build : converts a 32-bit package to a 64-bit package and installs it. This will only install libraries from a 32-bit package into the correct place! This will not install any binaries from that package! This is very beta.

–savebuild : use with –build. Saves new 64-bit package to /home/$USER

–mirror or -m : Use the specified mirror to download from if one is not specified for package

–verbose : Extra output

–ldconfig : Runs ldconfig on directories where new libraries are installed

-64 : Will let apt-get install 64-bit packages for a 64-bit system

-32 : Left only for compatibility with getlibs v1. 32-bit library installation is the default for all systems.

–distro : can set as either Ubuntu or Debian. Ubuntu installs to /usr/lib32 and/or /lib32. Debian installs to /emul/ia32-linux/

–release : can set as hardy gutsy feisty edgy or dapper. Determines what web interface release is used in search.

Source: http://ubuntuforums.org/showthread.php?t=474790

Project: Linux on solid state flash laptop

15-3-08

I want to create a new linux project. The laptop have a solit state flash drive with only 128mb ram.

The following must run:
– Debian\Ubuntu as main OS
– Xwindow manager (Flux box, Enlightenment, ICEWM or XFCE)
– PPTP VPN connections
– Remote desktop program for Windows RDP

The main problem of solid state flash is that you can write the disk not forever. So the log & temporary files must be run in the RAM. I found the following solution:

/etc/fstab

tmp     /tmp            tmpfs   noexec,nosuid,rw,size=1024K     0       0
vartmp  /var/tmp        tmpfs   noexec,nosuid,rw,size=1024K     0       0
varlog  /var/log        tmpfs   noexec,nosuid,rw,size=2048K     0       0

17-03-08:

My Distro choice is DSL (damn small linux) because that is a very small distro including window manager.

The first big problem is that i have only a 64mb SSD disk. I must create 57mb for my “fragile” installation. A have 7 MB for my home & swap. I’ll have try it without swap but DSL was very unstable on my laptop.

18-03-08

I found a solution (DSL Create own CD(PDF)) to create a my own installation CD. When I re-mastering the distro I can add items. But soon I’ll try this manner to strip the distribution to a smaller one 🙂

19-03-08

When I remastered the DS, I seen one big KNOPPIX file. Now I must rebuild te KNOPPIX enviroment instead of the DSL. The KNOPPIX file is like a ISO. I must mount the file before i can edit these.

I found the following steps on the internet:


Uncompress the DSL-N *.iso and ‘unpack” the knoppix image

# mkdir /ramdisk/image
# mount /path-to-file/dsl-n-01RC4.iso /ramdisk/image -t iso9660 -o loop,ro
# mkdir /ramdisk/unpack
# mount /ramdisk/image/KNOPPIX/KNOPPIX /ramdisk/unpack -t iso9660 -o ro,loop=/dev/cloop50

Prepare a place to put the files for the re-mastered knoppix image

# mkdir /ramdisk/source
# mkdir /ramdisk/newcd
# mkdir /ramdisk/newcd/KNOPPIX
# cp -Rp /ramdisk/unpack/* /ramdisk/source
# cp -Rp /ramdisk/unpack/.bash_profile /ramdisk/source

Copy additional files to be added to the new knoppix image

# cp /path-to-file/file /ramdisk/source/path-to-file/file
# etc etc

“Pack” the new knoppix image

# mkisofs -R /ramdisk/source | create_compressed_fs – 65536 > ramdisk/newcd/KNOPPIX/KNOPPIX


I’ll try the mount and this works 🙂 So now I must find the big files and strip these. My following step is find a tool like KDirStat to find these files.

Ubuntu 30-Mount Check Annoyance

If you’ve used Ubuntu Linux for longer than a month, you’ve no doubt realized that every 30 times you boot up you are forced to run a filesystem check. This filesystem check is necessary in order to keep your filesystem healthy. Some people advise turning the check off completely, but that is generally not a recommended solution. Another solution is to increase the number of maximum mounts from 30 to some larger number like 100. That way it’s about 3 times less annoying. But this solution is also not recommended. Enter AutoFsck.

AutoFsck is a set of scripts that replaces the file system check script that comes shipped with Ubuntu. The difference is that AutoFsck doesn’t ruin your day if you are so unfortunate to encounter the 30th mount. The most important difference is that AutoFsck does its dirty work when you shut your computer down, not during boot when you need your computer the most!The 30th time you mount your filesystem, AutoFsck will wait until you shut down your computer. It will then ask you if it is convenient for you to check your filesystem. If it is convenient for you, then AutoFsck will restart your computer, automatically execute the filesystem check, and then immediately power down your system. If it is not convenient for you to check your filesystem at that moment, then AutoFsck will wait until the next time you shut down your computer to ask you again. Being prompted for a file system check during shutdown is infinitely more convenient than being forced to sit through a 15 minute check during boot up.

Source: http://micrux.net/?p=52
Official Site: https://wiki.ubuntu.com/AutoFsck

How to shrink a SQL Transaction Log

For 2005:
–* you can get the logical log file name usingthe following command in Query Analizer:

exec "databaseName".dbo.sp_helpfile

Now execute the following command to shrink the database log to 200MB:

DBCC SHRINKFILE ("logicalLogFileName", 200)
BACKUP LOG "databaseName" WITH TRUNCATE_ONLY
DBCC SHRINKFILE ("logicalLogFileName", 200)

–if it doesn’t work, run the two commands again.

–When done with that, do a full backup of your db as you will have broken your tlog backup chain.

For 2008+

USE databasename;
GO
-- Truncate the log by changing the database recovery model to SIMPLE.
ALTER DATABASE databasename
SET RECOVERY SIMPLE;
GO
-- Shrink the truncated log file to 1 MB.
DBCC SHRINKFILE (2, 1);  -- here 2 is the file ID for trasaction log file,you can also mention the log file name (dbname_log)
GO
-- Reset the database recovery model.
ALTER DATABASE databasename
SET RECOVERY FULL;
GO