user: root
passwd: gurugu
Rows: 154
idtitulocontenidotipo
145
chrome for all users
http://www.google.com/chrome/eula.html?system=true&hl=englis
h
computer
144
mount ufs (freeBSD) file system
mount -t ufs -o ufstype=ufs2 DEVICENAME MOUNTPOINT
computer
143
Add service in ubuntu
sudo update-rc.d defaults
computer
142
bash strings
Given:
foo=/tmp/my.dir/filename.tar.gz
We can use these expressions:
path = ${foo%/*}
To get: /tmp/my.dir (like dirname)
file = ${foo##*/}
To get: filename.tar.gz (like basename)
base = ${file%%.*}
To get: filename
ext = ${file#*.}
To get: tar.gz
Note that the last two depend on the assignment made in the
second one
Here we notice two different "operators" being used inside t
he parameters (curly braces). Those are the # and the % oper
ators. We also see them used as single characters and in pai
rs. This gives us four combinations for trimming patterns of
f the beginning or end of a string:
${variable%pattern}
Trim the shortest match from the end
${variable##pattern}
Trim the longest match from the beginning
${variable%%pattern}
Trim the longest match from the end
${variable#pattern}
Trim the shortest match from the beginning

computer
141
test
test
computer
140
JOOMLS hide frames in menu
In menu Extensions->module manager
Module edit:
Advanced parametres
clear
Module Class Suffix
_menu
and let it blanc
computer
139
ubuntu 10.10 remove daemon von rc.d
update-rc.d [-n] [-f] B name remove

ej.
$ sudo update-rc.d mediatomb remove
computer
138
Computername ändern
# hostname lheppc93

# vi /etc/hosts
127.0.1.1 lheppc93

#vi /etc/hostname
lheppc93

computer
137
Ubuntu install packages
# export http_proxy="http://proxy.unibe.ch:80"

# apt-get install flashplugin-installer
# apt-get install gimp
# apt-get install (k)ubuntu-restricted-extras
# apt-get install mysql-server
# apt-get install phpmyadmin
# apt-get install openssh-server
# apt-get install samba


computer
136
php5 error show
edit /etc/php5/apache2/php.ini

; E_USER_DEPRECATED - user-generated deprecation warnings
;
; Common Values:
; E_ALL & ~E_NOTICE (Show all errors, except for notices
and coding standards warnings.)
; E_ALL & ~E_NOTICE | E_STRICT (Show all errors, except f
or notices)
; E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR
(Show only errors)
; E_ALL | E_STRICT (Show all errors, warnings and notices
including coding standards.)
; Default Value: E_ALL & ~E_NOTICE
; Development Value: E_ALL | E_STRICT
; Production Value: E_ALL & ~E_DEPRECATED

coment:

;error_reporting = E_ALL & ~E_DEPRECATED

computer
Records: 154
Edit
id: 145
titulo: chrome for all users
contenido: http://www.google.com/chrome/eula.html?s
ystem=true&hl=english
tipo: computer
Edit
id: 144
titulo: mount ufs (freeBSD) file system
contenido: mount -t ufs -o ufstype=ufs2 DEVICENAME
MOUNTPOINT
tipo: computer
Edit
id: 143
titulo: Add service in ubuntu
contenido: sudo update-rc.d defaults
tipo: computer
Edit
id: 142
titulo: bash strings
contenido:



















Given:
foo=/tmp/my.dir/filename.tar.gz
We can use these expressions:
path = ${foo%/*}
To get: /tmp/my.dir (like dirname)
file = ${foo##*/}
To get: filename.tar.gz (like basename)
base = ${file%%.*}
To get: filename
ext = ${file#*.}
To get: tar.gz
Note that the last two depend on the ass
ignment made in the second one
Here we notice two different "operators"
being used inside the parameters (curly
braces). Those are the # and the % oper
ators. We also see them used as single c
haracters and in pairs. This gives us fo
ur combinations for trimming patterns of
f the beginning or end of a string:
${variable%pattern}
Trim the shortest match from the end
${variable##pattern}
Trim the longest match from the beginnin
g
${variable%%pattern}
Trim the longest match from the end
${variable#pattern}
Trim the shortest match from the beginni
ng

tipo: computer
Edit
id: 141
titulo: test
contenido: test
tipo: computer
Edit
id: 140
titulo: JOOMLS hide frames in menu
contenido:




In menu Extensions->module manager
Module edit:
Advanced parametres
clear
Module Class Suffix
_menu
and let it blanc
tipo: computer
Edit
id: 139
titulo: ubuntu 10.10 remove daemon von rc.d
contenido:

update-rc.d [-n] [-f] B name remove

ej.
$ sudo update-rc.d mediatomb remove
tipo: computer
Edit
id: 138
titulo: Computername ändern
contenido:





# hostname lheppc93

# vi /etc/hosts
127.0.1.1 lheppc93

#vi /etc/hostname
lheppc93

tipo: computer
Edit
id: 137
titulo: Ubuntu install packages
contenido:








# export http_proxy="http://proxy.unibe.
ch:80"

# apt-get install flashplugin-installer
# apt-get install gimp
# apt-get install (k)ubuntu-restricted-e
xtras
# apt-get install mysql-server
# apt-get install phpmyadmin
# apt-get install openssh-server
# apt-get install samba


tipo: computer
Edit
id: 136
titulo: php5 error show
contenido:














edit /etc/php5/apache2/php.ini

; E_USER_DEPRECATED - user-generated dep
recation warnings
;
; Common Values:
; E_ALL & ~E_NOTICE (Show all errors,
except for notices and coding standards
warnings.)
; E_ALL & ~E_NOTICE | E_STRICT (Show
all errors, except for notices)
; E_COMPILE_ERROR|E_RECOVERABLE_ERROR|
E_ERROR|E_CORE_ERROR (Show only errors)

; E_ALL | E_STRICT (Show all errors,
warnings and notices including coding st
andards.)
; Default Value: E_ALL & ~E_NOTICE
; Development Value: E_ALL | E_STRICT
; Production Value: E_ALL & ~E_DEPRECATE
D

coment:

;error_reporting = E_ALL & ~E_DEPRECATED


tipo: computer