Table: cnotas, rows: 158

Page 4 of 8
           
titulocontenido
screen settings $ xset -q
$ man xset
Trash in /idisk for delete files # mkdir /idisk/.Trash-1000
chown martinez:1000 /idisk/.Trash-1000/
JOOMLA Install Pach Copiar con rsync
-----------------

# cd /idisk/Joomla/Origins/
# rsync -alrv Pach_1.5.9_to_1.5.10/Joomla_1.5.9_to_1.5.10-Stable-Patch_Package/ /idisk/Joomla/joomlaCarmen
Adobe Flash plugin für Firefox unter Ubuntu 9.04 und 9.10 installieren cmdln:

1.) unter http://get.adobe.com/de/flashplayer/ das paket .deb für Ubuntu 8.04+ auf Desktop speichern
2.)sudo apt-get remove --purge flashplugin-nonfree
3.) cd /home/spegu/Desktop/
4.)sudo dpkg -i install_flash_player_10_linux.deb
5.) Firefox neu starten
6.) about:plugins in Adresszeile eingeben und Installation überprüfen
7.) Unter http://www.adobe.com/de/software/flash/about/ Flash Player überprüfen.

How to install Adobe Flash Plugin 64 Bit for Ubuntu 9.04
--------------------------------------------------------

Download it from :-http://labs.adobe.com/downloads/flashplayer10.html

Unpack the archive and copy the only file (libflashplayer.so) to the Firefox plugins folder in ‘/usr/lib/firefox-addons/plugins‘ :-

Für ubuntu 10.4

# export http_proxy="http://proxy.unibe.ch:80"
# apt-get install flashplugin-installer
Si esto no va

visit:
https://help.ubuntu.com/community/AMD64/FirefoxAndPlugins

# wget http://download.macromedia.com/pub/labs/flashplayer10/flashplayer_square_p1_64bit_linux_091510.tar.gz

# tar xvfz flashplayer_square_p1_64bit_linux_091510.tar.gz
# sudo mv libflashplayer.so /usr/lib/mozilla/plugins/libflashplayer.so
# ln -s /usr/lib/mozilla/plugins/libflashplayer.so /usr/lib/mozilla-firefox/plugins/






ROOT-Cern installation get the sources of the latest ROOT
----------------------------------
http://root.cern.ch/drupal/content/downloading-root
----------------------------------

see
http://root.cern.ch/drupal/content/build-prerequisites
----------------------------------
instal gcc und c++ compilers
----------------------------

instal:

subversion
dpkg-dev
make
g++
gcc
binutils
libx11-dev
libxpm-dev
libxft-dev
libxext-dev

apt-get install subversion dpkg-dev make g++ gcc binutils libx11-dev libxpm-dev libxft-dev libxext-dev
----------------------------

sudo ln -s /usr/lib/x86_64-linux-gnu/libX11.so.6.3.0 /usr/lib/libX11.so
sudo ln -s /usr/lib/x86_64-linux-gnu/libXft.so.2.2.0 /usr/lib/libXft.so
sudo ln -s /usr/lib/x86_64-linux-gnu/libXext.so.6.4.0 /usr/lib/libXext.so

----------------------------

$tar xvzf root._version.tar.gz
$cd root
./configure

Linux Mint 12 Lisa:

edit file configure

# enable_asimage \ disabled by L.Martinez

options=" \
enable_afdsmgrd \
enable_afs \
enable_alien \
enable_alloc \
enable_astiff \
enable_bonjour \

----------------------------

make


----------------------------
# mkdir /usr/local/bin/cern

# cp -r root /usr/local/bin/cern

set ROOTSYS to the `root' directory in /etc/profile:
-------------------------------------
export ROOTSYS=/usr/local/bin/cern/root
export PATH=$ROOTSYS/bin:$PATH
export LD_LIBRARY_PATH=$ROOTSYS/lib:$LD_LIBRARY_PATH
"
scanner Agfa e52 Down load driver scape52.bin
-----------------------------

copy it to /usr/share/sane/snapscan/
-----------------------------------

edit /etc/sane.d/snapscan.conf
------------------------------

firmware /usr/share/sane/snapscan/snape52.bin
/dev/usb/scanner0 bus=usb


make node for scanner
---------------------
mkdir /dev/usb (if not exists)
mknod /dev/usb/scanner0 c 180 48



Fedora play MP3s su -

Configuring Package Installation available from rpmfusion:
----------------------------------------------------------

rpm -Uvh http://rpm.livna.org/livna-release.rpm http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm

Using the GUI to Install/Update Software
-----------------------------------------

yum install PackageKit


install the correct plugin for which MP3 player you want to use:
----------------------------------------------------------------

yum install gstreamer-plugins-ugly
Fedora install Flash in web browser su -

Install the Adobe repository for yum:
-------------------------------------

rpm -Uvh http://linuxdownload.adobe.com/adobe-release/adobe-release-i386-1.0-1.noarch.rpm

yum install flash-plugin nspluginwrapper.{i386,x86_64} pulseaudio-libs.i386 alsa-plugins-pulseaudio.i386 libcurl.i386

Configure your browser to see the plugin:
-----------------------------------------

mozilla-plugin-config -i -g -v


Partition > 2 TB # parted /dev/sdx

Creates a new GPT disklabel i.e. partition table:
mklabel gpt

Create 7 TB partition size:
mkpart primary 0 7001G

Quit and save the changes:
quit

or

# mkfs.ext4 -F -L terabig -F -F /dev/sdb
JOOMLA loadObjectList database->loadObjectList

Returns an array of database objects using the current SQL query. Returns false if the query fails (prior to Joomla 1.1 returned null).
Syntax

array loadObjectList ( [ string $key ] )

$key
is the field name of a primary key. If $key is empty or null then loadObjectList will return a sequential list of the records returned by the database query. If $key is not empty or null then the array returned will be indexed by the value of the database key. This parameter is optional and if omitted will default to null (empty prior to Joomla 1.1).

Examples

Example:

function getCategories() {
global $database;

$sql = 'SELECT * FROM #__categories';
$database->setQuery( $sql );
$rows = $database->loadObjectList();
foreach ( $rows as $row ) {
echo "$row->title: $row->description\n";
}

}

getCategories();

might produce:

Latest: The latest news from the Joomla Team
Joomla: A selection of links that are all related to the Joomla project.
Newsflash:
Contacts: Contact Details for this web site
JOOMLA loadRow function getCategory( $title ) {
global $database;

$title = $database->Quote( $title );
$sql = "SELECT * FROM #__categories WHERE title=$title";
$database->setQuery( $sql );
$category = $database->loadRow();
print_r( $category );

}

getCategory( 'Latest' );

might produce:

Array
(
[0] => 1
[1] => 0
[2] => Latest
[3] => Latest News
[4] => taking_notes.jpg
[5] => 1
[6] => left
[7] => The latest news from the Joomla Team
[8] => 1
[9] => 0
[10] => 2000-00-00 00:00:00
[11] =>
[12] => 0
[13] => 0
[14] => 1
[15] =>
)
JOOMLA loadRowList Returns an array of database rows with numeric column indexing. Returns null if the query fails.
Syntax

array loadRowList ( [ string $key ] )

$key
is a field name. If $key is empty then loadRowList will return a sequential list of the database records returned by the current query. If $key is not empty then the array will be indexed by the value of the database key. This parameter is optional and if omitted will default to empty.

Examples

Example: This function prints an array containing records from the Joomla categories table. Note that in this example the array is indexed by the category title field.

function getCategories() {
global $database;

$sql = "SELECT * FROM #__categories";
$database->setQuery( $sql );
$categories = $database->loadRowList( 'title' );
print_r( $categories );

}

getCategories();

might produce:

Array
(
[Latest] => Array
(
[0] => 1
[id] => 1
[1] => 0
[parent_id] => 0
[2] => Latest
[title] => Latest
[3] => Latest News
[name] => Latest News
[4] => taking_notes.jpg
[image] => taking_notes.jpg
[5] => 1
[section] => 1
[6] => left
[image_position] => left
[7] => The latest news from the Joomla Team
[description] => The latest news from the Joomla Team
[8] => 1
[published] => 1
[9] => 0
[checked_out] => 0
[10] => 2000-00-00 00:00:00
[checked_out_time] => 2000-00-00 00:00:00
[11] =>
[editor] =>
[12] => 0
[ordering] => 0
[13] => 0
[access] => 0
[14] => 1
[count] => 1
[15] =>
[params] =>
)

[Joomla] => Array
(
[0] => 66
[id] => 66
[1] => 0
[parent_id] => 0
[2] => Joomla
[title] => Joomla
[3] => Joomla
[name] => Joomla
[4] =>
[image] =>
[5] => com_newsfeeds
[section] => com_newsfeeds
[6] => left
[image_position] => left
[7] =>
[description] =>
[8] => 1
[published] => 1
[9] => 0
[checked_out] => 0
[10] => 0000-00-00 00:00:00
[checked_out_time] => 0000-00-00 00:00:00
[11] =>
[editor] =>
[12] => 2
[ordering] => 2
[13] => 0
[access] => 0
[14] => 0
[count] => 0
[15] =>
[params] =>
)
}
thunderbird command line $ thunderbird -compose attachment=file:///home/martinez/.Bestellung/output.pdf
Gimp: Making Colors in a GIF Transparent 1. Open your image in the gimp.
2. Right click the image and go to LAYERS then ADD ALPHA CHANNEL
3. Right click on the image again and go to SELECT and then down to BY COLOR
4. Now click on the color in the image you want to be transparent. These colors will now show up outlined.
5. Right click on the image again and go to EDIT and then down to CLEAR. This should now erase the outlined color you just picked from the image
6. Right click on the image and choose SAVE AS and make sure to save as a GIF file
Hp Printers unter LINUX (hplip) Download hplip
http://hplipopensource.com/hplip-web/index.html

mit root Rechte ausfueren:

#sh hplipxxx.run

Nach der ausfuehrung mit user Rechte folgende Command ausfuehren:

martinez@lheppc24:~/hplip$ hp-setup


rsync windows
Firewall port 873 oeffnen
rsyncd.conf
===========

use chroot = false
strict modes = false
hosts allow = 130.92.139.51
log file = rsyncd.log
pid file = rsyncd.pid

# Module definitions
# Remember cygwin naming conventions : c:\work becomes /cygwin/c/work
#

[luis]
path = /cygdrive/c/users/martinez/Documents
read only = true
transfer logging = yes

rsync command with modname luis
================================
/usr/bin/rsync -arv root@lheppc72::luis /idisk/backups/lheppc72
unregister DeltaCopy Server Service 1. Stop the service if it is running in the background. This can be done either from DeltaCopy Server application or from Windows Control Panel.
2. Open a Console (DOS) window als administrator
3. Using the cd command, change the directory to location where DeltaCopy is installed:
C:\Program Files (x86)\Synametrics Technologies\DeltaCopy>
4. Type the following at the prompt:
DCServce /UNINSTALL
Vista aktivieren http://www.id.unibe.ch/content/support/instsup/win/betriebssysteme/vista/windows_vista_produktaktivierung

in command window:
------------------

slmgr.vbs -skms vistakms.unibe.ch

slmgr.vbs -ato
imageviewer bug deleting (A) If the trash directory .Trash-1000 exists at the top level of the volume, move the image to .Trash-1000
(B) If the trash directory .Trash-1000 does not exist at the top level of the volume, try and create it.
(C) If the user does not have permission to create it, then fail.
mp3 support
ubuntu-restricted-extras