xine-lib 1.1.16.3 RPM

Below are the library and development RPMs for xine-lib version 1.1.16.3. These were built on Ubuntu Linux and converted to RPM using alien. Be sure to check out the About the Xine RPMs post for more information.

xine-lib — The main xine library
xine-lib-dev — The development xine library (needed if you’re building an interface against xine-lib)
xine-lib-doc — Documentation

You’ll also need a user interface – as of this release, the most current release of xine-ui is 0.99.5.

(To save disk space, only the current release and two prior releases will be maintained.)

Comments (1)

xine-lib 1.1.16.2 RPM

Below are the library and development RPMs for xine-lib version 1.1.16.2. These were built on Ubuntu Linux and converted to RPM using alien. Be sure to check out the About the Xine RPMs post for more information.

xine-lib — The main xine library
xine-lib-dev — The development xine library (needed if you’re building an interface against xine-lib)
xine-lib-doc — Documentation

You’ll also need a user interface – as of this release, the most current release of xine-ui is 0.99.5.

(To save disk space, only the current release and two prior releases will be maintained.)

Comments

xine-lib 1.1.16.1 RPM

Below are the library and development RPMs for xine-lib version 1.1.16.1. Additionally, beginning with this release, there is also a documentation RPM available. These were built on Ubuntu Linux and converted to RPM using alien. Be sure to check out the About the Xine RPMs post for more information.

xine-lib — The main xine library
xine-lib-dev — The development xine library (needed if you’re building an interface against xine-lib)
xine-lib-doc — Documentation

You’ll also need a user interface – as of this release, the most current release of xine-ui is 0.99.5.

(To save disk space, only the current release and two prior releases will be maintained.)

Comments

Oracle SQL Developer Debian Package

Oracle SQL Developer is a Java-based tool that provides a graphical interface to a database. While it’s main focus is Oracle (of course), it can be hooked up, via JDBC, to many other databases, such as MySQL, PostgreSQL, and SQL Server. It’s similar to Toad, but is provided by Oracle at no cost.

Oracle provides SQL Developer in either an RPM, or a generic binary install. I like the ability to manage packages, but I’ve never had much luck at getting RPM to run on Ubuntu. I downloaded the RPM file, and, using alien, I converted the package to a .deb package (Debian package format) and installed it. I worked like a charm!

I haven’t tested it with gcj, but using Sun’s Java 6 update 7 from the Ubuntu repositories, it ran just fine. After you install the package, do a directory list on /usr/lib/jvm. You’re looking for the Sun JDK – if it’s installed, you’ll have a symlink java-6-sun that points to java-6-sun-1.6.0.07. Once you’ve determined the location of the JDK, run “sqldeveloper” from the command line – the program will prompt you for the path to your JDK. Enter it (probably “/usr/lib/jvm/java-6-sun”) and you’re good to go. (You have to install the package as root – but, for the rest of these steps, use your normal user, not root, as this puts settings in a .sqldeveloper directory off your home directory.) The package installs an icon in the “Programming” or “Development” group. Once you’ve told it where the JDK is, you can use this to launch it.

Download SQL Developer 1.5.1 Debian Package

Comments (6)

Killing _utma _utmb _utmc _utmz Cookies

For those of us who are cookie-conscious as we surf the web, you’re aware that a lot of sites give cookies with names like _utma, _utmb, _utmc, and _utmz. It turns out that these cookies come from Google Analytics.

However, using AdBlock Plus, there is an easy way to kill it. To put in a filter for it, click the “ABP” stop sign icon, and click the “New Filter…” button. Enter “http://www.google-analytics.com/*” and press Enter. That’s it! Those _utm* cookies are now a thing of the past.

Comments (2)

xine-lib 1.1.14 RPM

Below are the library and development RPMs for xine-lib version 1.1.14. These were built on Ubuntu Linux and converted to RPM using alien. Be sure to check out the About the Xine RPMs post for more information.

xine-lib — The main xine library
xine-lib-dev — The development xine library (needed if you’re building an interface against xine-lib)

You’ll also need a user interface – as of this release, the most current release of xine-ui is 0.99.5.

(To save disk space, only the current release and two prior releases will be maintained.)

Comments (2)

The DJS Consulting Linux Software Repository

We have created a software repository, where users can browse files that may be available. The base location is http://www.djs-consulting.com/linux/software. Within there, there are a few areas.

  • /sled and /opensuse — These contain add-on CD images for SUSE Linux Enterprise Desktop (SLED) and openSUSE, created by Mike Petersen. These add-ons provide multimedia and gaming capabilities that don’t come with SLED unless you purchase the support or compile them yourselves. These images can be added as resources in YaST.
  • /xine — This contains the 64-bit RPMs for xine (the latest three), both xine-lib and xine-ui. New releases will continue to get their own posts, but that’s where they will be.

Enjoy!

Comments

xine-lib 1.1.13 RPM

Below are the library and development RPMs for xine-lib version 1.1.13. These were built on Ubuntu Linux and converted to RPM using alien. Be sure to check out the About the Xine RPMs post for more information.

xine-lib — The main xine library
xine-lib-dev — The development xine library (needed if you’re building an interface against xine-lib)

You’ll also need a user interface – as of this release, the most current release of xine-ui is 0.99.5.

(To save disk space, only the current release and two prior releases will be maintained.)

Comments (3)

Daniel’s DropDowns 2.1 – WordPress Plug-In

Version 2.1 of Daniel’s DropDowns has been released. This fixes a problem introduced with the 2.5-series of WordPress – the output of the WordPress tag changed, so the search-and-replace portion that added a “Select Category” entry didn’t work. This has been fixed in version 2.1. I also corrected a small bug that caused the first entry in the category list to be selected if a default wasn’t specified.

It can be downloaded from the WordPress Plug-In Directory. Enjoy!

Comments (11)

A Handy PHP Backup Script

I found a script over on the Lunarpages Forums about using PHP to back up your site. I have taken it, modified it a little, beefed up the documentation a lot, and am now posting it here. You can download the source code for it, and it is also displayed below.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
<?php
/**
 * Generic Backup Script.
 * 
 * To configure this script for your purposes, just edit the parameters below.
 * Once you have the parameters set properly, when the script executes, it will
 * create an archive file, gzip it, and e-mail it to the address specified.  It
 * can be executed through cron with the command
 * 
 * php -q [name of script]
 * 
 * You are free to use this, modify it, copy it, etc.  However, neither DJS
 * Consulting nor Daniel J. Summers assume any responsibility for good or bad
 * things that happen when modifications of this script are run.
 * 
 * @author Daniel J. Summers <daniel@djs-consulting.com>
 */
 
// --- SCRIPT PARAMETERS ---
 
/*  -- File Name --
	This is the name of the file that you're backing up, and should contain no
	slashes.  For example, if you're backing up a database, this might look
	something like...
$sFilename = "backup-my_database_name-" . date("Y-m-d") . ".sql"; */
$sFilename = "backup-[whatever-it-is]-" . date("Y-m-d") . ".[extension]";
 
/*  -- E-mail Address --
	This is the e-mail address to which the message will be sent. */
$sEmailAddress = "[your e-mail address]";
 
/*  -- E-mail Subject --
	This is the subject that will be on the e-mail you receive. */
$sEmailSubject = "[something meaningful]";
 
/*  -- E-mail Message --
	This is the text of the message that will be sent. */
$sMessage = "Compressed database backup file $sFilename.gz attached.";
 
/*  -- Backup Command --
	This is the command that does the work.
 
	A note on the database commands - your setup likely requires a password
	for these commands, and they each allow you to pass a password on the
	command line.  However, this is very insecure, as anyone who runs "ps" can
	see your password!  For MySQL, you can create a ~/.my.cnf file - it is
	detailed at http://dev.mysql.com/doc/refman/4.1/en/password-security.html .
	For PostgreSQL, the file is ~/.pgpass, and it is detailed at
	http://www.postgresql.org/docs/8.0/interactive/libpq-pgpass.html .  Both of
	these files should be chmod-ded to 600, so that they can only be viewed by
	you, the creator.
 
	That being said, some common commands are...
 
- Backing Up a MySQL Database
$sBackupCommand = "mysqldump -u [user_name] [db_name] > $sFilename";
 
- Backing Up a PostgreSQL Database
$sBackupCommand = "pg_dump [db_name] -h localhost -U [user_name] -d -O > $sFilename";
 
- Backing Up a set of files (tar and gzip)
$sBackupCommand = "tar cvf $sFilename [directory]/*";
 
Whatever command you use, this script appends .gz to the filename after the command is executed.  */
$sBackupCommand = "[a backup command]";
 
// --- END OF SCRIPT PARAMETERS ---
//
// Edit below at your own risk.  :)
 
// Do the backup.
$sResult = passthru($sBackupCommand . "; gzip $sFilename");
$sFilename .= ".gz";
 
// Create the message.
$sMessage = "Compressed database backup file $sFilename attached.";
$sMimeBoundary = "<<<:" . md5(time());
$sData = chunk_split(base64_encode(implode("", file($sFilename))));
 
$sHeaders = "From: $sEmailAddress\r\n"
		. "MIME-Version: 1.0\r\n"
		. "Content-type: multipart/mixed;\r\n"
		. " boundary=\"$sMimeBoundary\"\r\n";
 
$sContent = "This is a multi-part message in MIME format.\r\n\r\n"
		. "--$sMimeBoundary\r\n"
		. "Content-Type: text/plain; charset=\"iso-8859-1\"\r\n"
		. "Content-Transfer-Encoding: 7bit\r\n\r\n"
		. $sMessage."\r\n"
		. "--$sMimeBoundary\r\n"
		. "Content-Disposition: attachment;\r\n"
		. "Content-Type: Application/Octet-Stream; name=\"$sFilename\"\r\n"
		. "Content-Transfer-Encoding: base64\r\n\r\n"
		. $sData."\r\n"
		. "--$sMimeBoundary\r\n";
 
// Send the message.
mail($sEmailAddress, $sEmailSubject, $sContent, $sHeaders);
 
// Delete the file - we don't need it any more.
unlink($sFilename);
?>

Comments (2)