{
// mysql_set_charset() requires PHP >= 5.2.3 and MySQL >= 5.0.7, use SET NAMES as fallback
- $this->... {
// mysql_set_charset() requires PHP >= 5.2.3 and MySQL >= 5.0.7, use SET NAMES as fallback
- $this->use_set_names = (version_compare(PHP_VERSION, '5.2.3', '>... FALSE : TRUE;
+ $this->use_set_names = (version_compare(PHP_VERSION, '5.2.3', '>
al/sbin/setkey"
ipsec_file="/usr/local/etc/racoon/setkey.conf" # allows setting up spd policies on boot
racoon_flags="-l /var... e-shared key file
log notify; #log verbosity setting: set to 'notify' when testing and debugging is complet... al/sbin/setkey"
ipsec_file="/usr/local/etc/racoon/setkey.conf" # allows setting up spd policies on boot
racoon_flags="-l /var... e-shared key file
log notify; #log verbosity setting: set to 'notify' when testing and debugging is complet
====== MySQL Tips&Tricks ======
===== set root password =====
<code sql>
shell> mysql -u root
mysql> SET PASSWORD FOR 'root'@'localhost' = PASSWORD('password');
mysql> SET PASSWORD FOR 'root'@'host_name' = PASSWORD('passw... 0, the query cache is not working.
enable it by setting the cache size in my.cnf:
<code>
query-cache
ectives
# from the server.
client
# Use the same setting as you are using on
# the server.
# On most s... onnecting to a TCP or
# UDP server? Use the same setting as
# on the server.
;proto tcp
proto udp
# T... orks often produce a lot
# of duplicate packets. Set this flag
# to silence duplicate packet warnings.... g
# that the certicate has the nsCertType
# field set to "server". This is an
# important precaution t
ms.
===== Server Part =====
For a basic OpenVPN setup, you should have a look [[public:openvpn|here]]... eed to bypass only allows web protocols; so we'll setup our openvpn to listen on TCP-443 port:
<code>
=
Bash can use Emacs or VI shortcuts, using the "set" command.
Like all GNU tools, "Emacs" is the default mode.
===== Emacs =====
<code>
set -o emacs
ctrl-a Move cursor to beginning of line... e cut
ctrl-_ Undo
</code>
===== VI =====
<code>
set -o vi
h Move cursor left
l Move cursor right
A ... h-forward
</code>
===== Completion =====
set show-all-if-ambiguous on
set visible-stats on
www.google.com or simply www.google.com - You can set the link text as well: [[http://www.google.com|Th... www.google.com or simply www.google.com - You can set
link text as well: [[http://www.google.com|This... ng }}
{{ wiki:dokuwiki-128.png }}
You can also set the alignment explicitly with a ''?left'', ''?rig
HISTFILE=~/.history
HISTSIZE=9999
SAVEHIST=9999
setopt extendedhistory
alias history='history -i -d ... this:
* Adding the autoload stuff allows you to set explicit color-names.
* The $terminfo[bold] st
de>
===== Usage =====
vger's vhost parameter is set (-v), so we'll have to create one or more directo... ni's home directory, -i (directory index) is also set, so creating an index.gmi is not mandatory.
====
ts/35769-auto-disable-youtube-autoplay-next-video-setting|Auto Disable YouTube AutoPlay Next Video Setting]]: same as above, but for next video (unfortu