» tagged pages
» logout

sorted by: recent | see : popular
Content Tagged with and + in

Reading and Writing XML in .NET Version 2.0 - Part 1

Reading and Writing XML in .NET Version 2.0 - Part 1

XML: del.icio.us/tag/xml

Bad Wolf Routes - Map joomla google maps plugin, yacht charter and sailing in greece

Bad Wolf Routes - Map joomla google maps plugin, yacht charter and sailing in greece

Joomla: Del.icio.us bookmarks tagged Joomla

Using JAXP to both parse and emit XML in XI Java mapping programs

Using JAXP to both parse and emit XML in XI Java mapping programs

XML: del.icio.us/tag/xml

Franchise Business Opportunity, Business for Sale in Australia, Buy Business in Australia, Franchises

Australian franchises offers franchise business for sale in Australia, buy business in Australia. Avail worldwide franchise business opportunities, franchise advice, franchising news at Australian franchise company. Grab Business franchise for sale in Australia, buy franchise in Australia.

How to enable the universe and multiverse repositories in Ubuntu 8.04 (Hardy)

There are thousands of programs available to install on Ubuntu. These programs are stored in software archives (repositories) and are available for installation over the Internet. This makes it very easy to install new programs. It is also very secure, because each program you install is thoroughly tested and built specifically for Ubuntu.

(...)
Read the rest of How to enable the universe and multiverse repositories in Ubuntu 8.04 (Hardy) (451 words)


© admin for Ubuntu Geek, 2008. | Permalink | 5 comments | Add to del.icio.us digg
Who's linking ? Technorati BlogPulse Google
Want more on these topics ? Browse the archive of posts filed under Package Mgmt.

Related Articles

Ubuntu: Ubuntu Geek - Ubuntu Tutorials,Howto's,Tips and Tricks

Aboriginal leaders welcome apology - CNN.com

Story Highlights:-Aboriginal leaders welcome apology and hail new era in indigenous relations -Canberra will issues apology to "stolen generation" of Aborigines -Australia had now-defunct policies that assumed Aborigines were doomed race -Inquiry found

DWR: del.icio.us/tag/dwr

install rockbox and extras on your ipod in linux

Hvordan legge inn annen software enn apple sin på ipod

Rockbox: del.icio.us tag/rockbox

nstall rockbox and extras on your ipod in linux

Hvordan legge inn annen software enn apple sin på ipod

Rockbox: del.icio.us tag/rockbox

eric-delaton-mcintosh

eric delaton mcintosh is a good old friend and i want to know what happened to him

aikido-montreal

Ista Quebec aikido is a groupment of AIKIDO DOJOS. Essentially in Montreal region.

See www.ISTAQUEBEC.com for more details.

insert xml file into mySQL database. - MySQL Forum

All i really need to do is to store an xml file into mysql database . ... a .inc file or is there a link in the mySQL db where i simply upload the file ... [ ]

XML: del.icio.us/tag/xml

upload code

I recently needed to update a database with the contents of an XML file ... to ruby rails xml rubyonrails activerecord upload import by blackrat on Nov 17, ...

XML: del.icio.us/tag/xml

Ruby on Rails and XML

PDF/Adobe Acrobat - Let's see how you can use Rails to upload a file for processing. View code ..... relational database using Derby, and a bare-bones mechanism to convert ...

XML: del.icio.us/tag/xml

File/Print - Point and Print in Samba

Point and Print in Samba

Samba: del.icio.us tag/samba

Create and Extract .gz,.bz2 Files in Debian

bzip2 and bunzip2 are file compression and decompression utilities. The bzip2 and bunzip2 utilities are newer than gzip and gunzip and are not as common yet, but they are rapidly gaining popularity. The bzip2 utility is capable of greater compression ratios than gzip. Therefore, a bzip2 file can be 10-20% smaller than a gzip version of the same file. Usually, files that have been compressed by bzip2 will have a .bz2 extension.

Installing bzip2 in debian

#apt-get install bzip2

Uncompressing a bzip2 File Using bunzip2

To uncompress a bzip2 file, execute the following command:

#bunzip2 filename.txt.bz2 (where filename.txt.bz2 is the name of the file you wish to uncompress)

The result of this operation is a file called filename.txt. By default, bunzip2 will delete the filename.txt.bz2 file.

Compressing a File Using bzip2

To compress a file using bzip2, execute the following command:

#bzip2 filename.txt (where filename.txt is the name of the file you wish to compress)

The result of this operation is a file called filename.txt.bz2. By default, bzip2 will delete the filename.txt file.

Available Options

#bzip2 --help

bzip2, a block-sorting file compressor. Version 1.0.2, 30-Dec-2001.

usage: bzip2 [flags and input files in any order]

-h –help print this message
-d –decompress force decompression
-z –compress force compression
-k –keep keep (don’t delete) input files
-f –force overwrite existing output files
-t –test test compressed file integrity
-c –stdout output to standard out
-q –quiet suppress noncritical error messages
-v –verbose be verbose (a 2nd -v gives more)
-L –license display software version & license
-V –version display software version & license
-s –small use less memory (at most 2500k)
-1 .. -9 set block size to 100k .. 900k
–fast alias for -1
–best alias for -9

If invoked as `bzip2′, default action is to compress.
as `bunzip2′, default action is to decompress.
as `bzcat’, default action is to decompress to stdout.

If no file names are given, bzip2 compresses or decompresses
from standard input to standard output. You can combine
short flags, so `-v -4′ means the same as -v4 or -4v, &c.

If you want more option you need to check bzip2 man page using the following command

#man bzip2

Create and Extract .gz Files
gzip and gunzip are GNU file compression and decompression utilities. Usually, files that have been compressed by gzip will have a .gz extension. However, sometimes you may see a file that has a .tgz extension. This is a TAR file that has been compressed by gzip. The .tgz extension is a shorthand version for the .tar.gz extension. This type of file must be uncompressed with gunzip before it can be untarred. However, there is a way to use the tar command to uncompress the file and untar it at the same time. For more information, see the tar: Tape Archive Files guide.

Installing gzip in Debian

#apt-get install gzip

Uncompressing a gzip File Using gunzip

To uncompress a gzip file, execute the following command:

#gunzip filename.txt.gz (where filename.txt.gz is the name of the file you wish to uncompress)

The result of this operation is a file called filename.txt. By default, gunzip will delete the filename.txt.gz file.

Compressing a File Using gzip

To compress a file using gzip, execute the following command:

#gzip filename.txt (where filename.txt is the name of the file you wish to compress)

The result of this operation is a file called filename.txt.gz. By default, gzip will delete the filename.txt file.

Available Options

#gzip -h
gzip 1.3.5
(2002-09-30)
usage: gzip [-cdfhlLnNrtvV19] [-S suffix] [file …]
-c –stdout write on standard output, keep original files unchanged
-d –decompress decompress
-f –force force overwrite of output file and compress links
-h –help give this help
-l –list list compressed file contents
-L –license display software license
-n –no-name do not save or restore the original name and time stamp
-N –name save or restore the original name and time stamp
-q –quiet suppress all warnings
-r –recursive operate recursively on directories
-S .suf –suffix .suf use suffix .suf on compressed files
-t –test test compressed file integrity
-v –verbose verbose mode
-V –version display version number
-1 –fast compress faster
-9 –best compress better
–rsyncable Make rsync-friendly archive
file… files to (de)compress. If none given, use standard input.

If you want more option you need to check gzip man page using the following command

#man gzip

Tags: , , , , , , , ,

Debian: Debian Admin Step By Step Tutorials and articles with screenshots

How to View Hidden Files and Folders in Ubuntu File Browser

The Ubuntu file browser does not show hidden files or folders by default.Here is the solution how to view Hidden Files and Folders in Ubuntu File Browser.
Here’s what file browser looks like when browsing the root file system normally

As you can see, all of the hidden/system folders are not shown. If you hit Ctrl+H at this screen, you will immediately see all the hidden files.

If you would just prefer to make this be the default setting when using file browser, go to the Edit menu and select Preferences

Check the “Show hidden and backup files” checkbox, and you should now see the hidden files all of the time.

Tags: , , , , , ,

Debian: Debian Admin Step By Step Tutorials and articles with screenshots

Apache Web server Useful Tips

Hide PHP Version in Apache from remote users requests

In order to prevent PHP from exposing the fact that it is installed on the server, by adding its signature to the web server header we need to locate in php.ini the variable expose_php and turn it off.
By default expose_php is set to On.

In your php.ini (based on your Linux distribution this can be found in various places, like /etc/php.ini, /etc/php5/apache2/php.ini, etc.) locate the line containing “expose_php On” and set it to Off:

expose_php = Off

After making this change PHP will no longer add it’s signature to the web server header. Doing this, will not make your server more secure… it will just prevent remote hosts to easily see that you have PHP installed on the system and what version you are running.

How to get web server software and version of a remote server

This can be achieved in many ways, but the simplest one in my opinion is to use a basic telnet connection on port 80 to the remote server and issue a regular request like “HEAD / HTTP/1.0” (I will use HEAD because we don’t care about the content):

telnet remote_server.com 80
Trying remote_server.com…
Connected to remote_server.com.
Escape character is ‘^]’.
HEAD / HTTP/1.0

HTTP/1.1 200 OK
Date: Fri, 19 Jun 2006 08:18:06 BST
Server: Apache/2.0.55 (Debian) PHP/5.1.2-1+b1 mod_ssl/2.0.55 OpenSSL/0.9.8b
Connection: close
Content-Type: text/html; charset=UTF-8

Connection closed by foreign host.

or

Another tip about GET , HEAD….
lwp-request, GET, HEAD, POST - Simple WWW user agent

HEAD remote_server.com
200 OK
Connection: close
Date: Fri, 09 Jun 2006 11:17:33 GMT
Server: Apache/2.0.55 (Debian) PHP/5.1.2-1+b1 mod_ssl/2.0.55 OpenSSL/0.9.8b
Content-Type: text/html; charset=UTF-8
Client-Date: Fri, 09 Jun 2006 15:13:39 GMT
Client-Peer: 192.23.0.12:80
Client-Response-Num: 1
X-Powered-By: PHP/5.1.2-1+b1

So as you can see, it is so simple to find out that this server is using: Debian as OS (from the other versions we can assume it is Etch version), Apache 2.0.55 as web server, PHP 5.1.2, and OpenSSL 0.9.8b.

How to hide some files from appearing in directory indexes

to prevent certain files from appearing in directory indexes, in case this needs to remain enabled. This is particularly useful for non html files (or raw files not parsed by apache and returned as a html to the browser), for example: php include files, libraries (that will not have the extension php), or log files, or any other file that you might want to prevent the users to easily see in the browser.

Normally I will disable directory indexes, and this will not be needed, but in case you have to keep directory indexes ON for some reason, then it is a good idea to hide some files from showing in the directory indexes.
This will not prevent peoples to download the files as long as they know (or guess) the file name/location, it will just hide the files from the index generation. Some good examples of what files to hide like this:

.htaccess (for obvious reasons)
*.bak *~ (this can lead to download the source of some parsed web files that are saved as backup files)
RCS CVS *,v *,t (hide cvs related files)
*.inc (or whatever files extensions you might use to include in regular php files)

These are just examples and you should use this directive based on your particular need.

IndexIgnore

We will use the apache directive IndexIgnore to hide the list of files. Since this can be used in global configuration and also in virtual host configuration, per directory or in .htaccess it is useful to know that any new IndexIgnore line will actually add the files to the list of hidden files and not overwrite a previous definition. So you can choose this as you see it fit (add them all in one place in a single line, or have more ignore list defined, etc.). To achieve our sample here is how we will hide the file types from above to appear in directory indexes:

IndexIgnore .htaccess
IndexIgnore .??* *~ *# HEADER* README* RCS CVS *,v *,t
IndexIgnore *.incOr the same thing in one single line:

IndexIgnore .htaccess .??* *~ *# HEADER* README* RCS CVS *,v *,t *.incSome Linux distributions will include some defaults for this directive, but in case you have directory indexes ON you should really look into this directive and add the files you don’t want the users to see in a browser in a directory index

Hide apache software version

If you want to hide apache software version for security reasons you need to use ServerTokens and ServerSignature directives. Basically to provide only a minimal amount of information we will set this in the main config to:

ServerTokens ProductOnly
ServerSignature Off

Tags: , , , , , , , ,

Debian: Debian Admin Step By Step Tutorials and articles with screenshots

Remove unnecessary Files in Debian and Ubuntu Using localepurge

This is just a simple script to recover diskspace wasted for unneeded locale files and localized man pages. It will automagically be invoked upon completion of any apt installation run. Please note, that this tool is a hack which is *not* integrated with Debian’s package management system and therefore is not for the faint of heart. This program [...]

Debian: Debian Admin Step By Step Tutorials and articles with screenshots

MySQL Database Server Installation and configuration in Debian

MySQL is a fast, stable and true multi-user, multi-threaded SQL database server. SQL (Structured Query Language) is the most popular database query language in the world. The main goals of MySQL are speed, robustness and ease of use. Mysql Database Installation in Debian If you want to install the Mysql base system as well as a textual [...]

Debian: Debian Admin Step By Step Tutorials and articles with screenshots