Languages

Creating a Self-installing Executable Shell Script

This How To will cover creating a shell script that contains your installable product inside of it and can be used to install your product on a target machine. This is essentially one file that contains both the files to install and the install logic within it. You'll need a few tools to start off with, namely

uuencode

and

uudecode

These are historical unix tools. From the wikipedia page, at http://en.wikipedia.org/wiki/Uuencode


Filename/TitleSize
makeinstaller.sh5.13 KB
installer.sh324 bytes
test.sh46 bytes

Java and Compositing Window Managers

Java applications with graphical user interfaces still don't play well with compositing window managers such as Compiz or Compiz-Fusion. Frequently the java application window will open, but remain blank. Fortunately, the fix for this is relatively simple. Exporting the variable "AWT_TOOLKIT=MToolkit" before running the jvm will fix this problem. If your java application has a menu entry or a desktop icon, you can make the necessary changes to the properties of the .desktop file by specifying the command as

DBI - Man Page

Section: User Contributed Perl Documentation (3pm)
Updated: 2008-06-16
Index  

NAME

DBI - Database independent interface for Perl  

SYNOPSIS

  use DBI;

  @driver_names = DBI->available_drivers;
  %drivers      = DBI->installed_drivers;
  @data_sources = DBI->data_sources($driver_name, \%attr);

  $dbh = DBI->connect($data_source, $username, $auth, \%attr);

  $rv  = $dbh->do($statement);
  $rv  = $dbh->do($statement, \%attr);
  $rv  = $dbh->do(

PERLRE - Man Page

Section: Perl Programmers Reference Guide (1)
Updated: 2007-12-18
Index  

NAME

perlre - Perl regular expressions  

DESCRIPTION

This page describes the syntax of regular expressions in Perl.

If you haven't used regular expressions before, a quick-start introduction is available in perlrequick, and a longer tutorial introduction is available in perlretut.

For reference on how regular expressions are used in matching operations, plus various examples of the same, se

PERLFUNC - Man Page

Section: Perl Programmers Reference Guide (1)
Updated: 2008-12-23
Index  

NAME

perlfunc - Perl builtin functions  

DESCRIPTION

The functions in this section can serve as terms in an expression. They fall into two major categories: list operators and named unary operators. These differ in their precedence relationship with a following comma.

PERL - Man Page

Section: Perl Programmers Reference Guide (1)
Updated: 2008-12-23
Index  

NAME

perl - Practical Extraction and Report Language  

SYNOPSIS

perl   -sTtuUWX ]
        -hv ] [ -V[:configvar] ]
        -cw ] [ -d[t][:debugger] ] [ -D[number/list] ]
        -pna ] [ -Fpattern ] [ -l[octal] ] [ -0[octal/hexadecimal] ]
        -Idir ] [ -m[-]module ] [ -M[-]'module...' ] [ -f ]
        -C [number/list]
        -P ]
        -S ]
        -x[dir] ]
        -i[extension] ]
        -e 'command' ] [ -- ] [ programfile ] [ argument ]...
 

BASH - Man Page

Section: User Commands (1)
Updated: 2006 September 28
Index  

NAME

bash - GNU Bourne-Again SHell  

SYNOPSIS

bash [options] [file]  

COPYRIGHT

Bash is Copyright (C) 1989-2005 by the Free Software Foundation, Inc.  

DESCRIPTION

Bash is an sh-compatible command language interpreter that executes commands read from the standard input or from a file. Bash also incorporates useful features from the Korn and C shells (ksh and csh).

Search Engine Optimization