|
116 |
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 .de b 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/ Flas h Player überprüfen.
How to install Adobe Flash Plugin 64 Bit for Ubuntu 9.04
--------------------------------------------------------
Download it from :-http://labs.adobe.com/downloads/flashplay er10.html
Unpack the archive and copy the only file (libflashplayer.so ) to the Firefox plugins folder in ‘/usr/lib/firefox-addon s/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/libflas hplayer.so
# ln -s /usr/lib/mozilla/plugins/libflashplayer.so /usr/lib/ mozilla-firefox/plugins/
|
computer |
|
114 |
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 l ibx11-dev libxpm-dev libxft-dev libxext-dev
----------------------------
sudo ln -s /usr/lib/x86_64-linux-gnu/libX11.so.6.3.0 /usr/li b/libX11.so
sudo ln -s /usr/lib/x86_64-linux-gnu/libXft.so.2.2.0 /usr/li b/libXft.so
sudo ln -s /usr/lib/x86_64-linux-gnu/libXext.so.6.4.0 /usr/l ib/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
" |
computer |
|
113 |
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
|
|
|
112 |
Fedora play MP3s |
su -
Configuring Package Installation available from rpmfusion:
----------------------------------------------------------
rpm -Uvh http://rpm.livna.org/livna-release.rpm http://down load1.rpmfusion.org/free/fedora/rpmfusion-free-release-stabl e.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 |
computer |
|
111 |
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} pulse audio-libs.i386 alsa-plugins-pulseaudio.i386 libcurl.i386
Configure your browser to see the plugin:
-----------------------------------------
mozilla-plugin-config -i -g -v
|
computer |
|
110 |
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 |
computer |
|
109 |
JOOMLA loadObjectList |
database->loadObjectList
Returns an array of database objects using the current SQL q uery. 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 th e records returned by the database query. If $key is not emp ty or null then the array returned will be indexed by the va lue of the database key. This parameter is optional and if o mitted 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
";
}
}
getCategories();
might produce:
Latest: The latest news from the Joomla Team
Joomla: A selection of links that are all related to the Joo mla project.
Newsflash:
Contacts: Contact Details for this web site
|
computer |
|
108 |
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] =>
)
|
computer |
|
107 |
JOOMLA loadRowList |
Returns an array of database rows with numeric column indexi ng. 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 fr om the Joomla categories table. Note that in this example t he 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] =>
)
}
|
computer |
|
106 |
thunderbird command line |
$ thunderbird -compose attachment=file:///home/martinez/.Bes tellung/output.pdf |
computer |