Karaktere kodifikaziñue: apache2.2 + oracle + UTF8

1.- Jakin ze kodifikaziñotan dauen oracle: SELECT * FROM NLS_DATABASE_PARAMETERS; eta NLS_LANGUAGE, NLS_TERRITORY, NLS_CHARACTERSET balidxuek hartun, adibidez: AMERICAN, AMERICA, AL32UTF8 2.- apache-n dagokidxon karaktere kodifikaziñue imiñi: echo “export NLS_LANG=’AMERICAN_AMERICA.AL32UTF8′” >> /etc/apache2/envvars /etc/init.d/apache restart Eskerrak: http://www.errcode.net/blogs/?p=6

debian: KDE-n saguen temie GTK-ko aplikaziñueri imiñi

Ba hauri, KDE-n GTK aplikaziñuek kargata saguen “defektuzko” temie kargaten da, orduen in bi’dune da, geuk gudun temie “defektozkue” egin, guzan ba: Adibidez oxy-white gu’du erabili: su cd /usr/share/icons mv oxy-black oxy-black.bak ln -s oxy-white oxy-black ba oin barriro gure’du kanbidxe, eta gudu oxy-red: su cd /usr/share/icons rm -rf oxy-black ln -s oxy-red oxy-black

random wallpaper bash script

Hau script-e okurridu dast “wallpaper”-a aldatuteko sartzien zaran bakotzan #! /bin/bash FOLDER=”${HOME}/wallpaper” COMMAND=`ls -1 ${FOLDER}` i=0 for C in ${COMMAND} do let “i += 1” array[$i]=$C done R=0 while [ $R -gt $i ] || [ $R -lt 1 ] do R=$RANDOM done # fluxbox fbsetbg -f ${FOLDER}/${array[R]} # gnome #gconftool-2 –set –type=string /desktop/gnome/background/picture_filename {FOLDER}/${array[R]} […]

tora oracle-gaz konpile archlinux-en

Tora bajateko: wget http://downloads.sourceforge.net/project/tora/tora/2.1.3/tora-2.1.3.tar.gz?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Ftora%2Ffiles%2Ftora%2F2.1.3%2F&ts=1301064772&use_mirror=kent Izen raro bategaz bajaten batzuien neuri pasa daztelez: mv tora-2.1.3.tar.gz\?r\=http\:%2F%2Fsourceforge.net%2Fprojects%2Ftora%2Ffiles%2Ftora%2F2.1.3%2F tora-2.1.3.tar.gz tar -zxvf tora-2.1.3.tar.gz cd tora-2.1.3 ./configure –with-oracle=/opt/oracle-instantclient-11-2 \ –with-oracle-libraries=/opt/oracle-instantclient-11-2 \ –with-instant-client=/opt/oracle-instantclient-11-2 \ –with-oracle-libraries=/opt/oracle-instantclient-11-2 \ –with-oci-version=11G \ –with-qt-dir=/usr/share/qt \ –libdir=/usr/lib make clean make Nire kasuen “/opt/oracle-instantclient-11-2” karpetan dakot dana :) 1go errorie: /src/toawr.h:57: undefined reference to `toAWR::staticMetaObject’ Konponduteko: tora-2.1.3/src/Makefile.am topa: BUILT_SOURCES […]

phpize: php -ko moduloren bat konpilekeran errorie

Bueno atzokue errezeidxe ezan da gauze honerako eta oci8 konpilekeran errorie emon dost: pecl install oci8 cp: cannot stat `shtool’: No such file or directory cp: cannot stat `libtool.m4′: No such file or directory Konponduteko aptitude install shtool libtool cp /usr/lib/php5/build/libtool.m4 /usr/lib/php5/build/libtool.m4.bak ln -s /usr/share/aclocal/libtool.m4 /usr/lib/php5/build/libtool.m4 Da haur guez ostabe: pecl install oci8 configure.in:144: warning: […]

identi.ca -gaz SSL arazuek choqok, gwibber etc

Bueno ba gaur arazuek okin’juz choqok edota gwibber programak martxan imintzeko identi.ca -gaz, soluziñue? Ez ezta PELLIKADIE. debianentzako: su wget http://crt.comodoca.com/COMODOHigh-AssuranceSecureServerCA.crt openssl x509 -inform DER -in COMODOHigh-AssuranceSecureServerCA.crt -out outcert.crt -text cp COMODOHigh-AssuranceSecureServerCA.crt /usr/share/ca-certificates dpkg-reconfigure ca-certificates archlinux-entzako: su wget http://crt.comodoca.com/COMODOHigh-AssuranceSecureServerCA.crt openssl x509 -inform DER -in COMODOHigh-AssuranceSecureServerCA.crt -out outcert.crt -text cp COMODOHigh-AssuranceSecureServerCA.crt /usr/share/ca-certificates pacman -S ca-certificates https://bugs.launchpad.net/ubuntu/+source/ca-certificates/+bug/696445/comments/4 […]

bideo bat sortu argazki 1 eta audio bategaz ffmpeg erabilitze

Bueno ba bididxo bat sortuku argazki 1 eta audio bategaz ffmpeg-gaz: Argazkidxen informaziñue atara ffmpeg -i argazkidxe.jpg hau agertuko da: Input #0, image2, from ‘1.jpg’: Duration: 00:00:00.04, start: 0.000000, bitrate: N/A Stream #0.0: Video: mjpeg, yuvj420p, 400×387 [PAR 100:100 DAR 400:387], 25 tbr, 25 tbn, 25 tbc ffmpeg-ra traduzite: -loop_input -f image2 -s 400×387 -r […]

archlinux: postfix +gmail

Aupa oingutan archlinux-eko postfix-e konfigurekue gmail-egaz ibiltzeko, debian-elez idxe bardiñe da baie gauze batzuk kanbidxe bidiez :) $ su # pacman -S postfix openssl # mv /etc/postfix/main.cf /etc/postfix/main.cf.bak /etc/postfix/main.cf # SMTP relayhost relayhost = [smtp.gmail.com]:587 ## TLS Settings smtp_tls_loglevel = 1 smtp_tls_CAfile = /etc/postfix/certs/CAcert.pem smtp_tls_cert_file = /etc/postfix/certs/mycert.pem smtp_tls_key_file = /etc/postfix/certs/mykey.pem smtp_use_tls = yes smtpd_tls_CAfile = […]

php + oci8 Oracle bezero (kliente) moduen imintzeko gnu/linux-en

Aupatxo bueno ba debian-en eta gero archlinux-en inbizandoten oracle klientie instala baie edozein gnu/linux distribuziñuentzako balidxo dauela pentsaten dot: 1.- yaourt instala: Edite: /etc/pacman.d/mirrorlist eta hurrengo textue sartun x86-ntzako [archlinuxfr] Server = http://repo.archlinux.fr/i686 x86_64-ntzako [archlinuxfr] Server = http://repo.archlinux.fr/x86_64 eta gorde, oin: $ su # pacman -Syy # pacman -S yaourt # exit 2.- libaio instala: […]