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 […]

Bididxuek rota ffmpeg eta mencoder erabilitze

Bueno gaur okindxot buroko miñe zelan rota bididxo bat (video para los de la logse), baie kalidade bardiñe okindxe (gutxi gora behera) :) Lehenengo gauzie dakun bididxuen informaziñue lortu: $ ffmpeg -i input.ogg eta holako zeuzek urten biherko lekidau: Input #0, ogg, from ‘input.ogg’: Duration: 00:00:21.24, start: 0.000000, bitrate: 21100 kb/s Stream #0.0: Video: theora, […]

usb/cd/dvd monta root ezan barik archlinux-en

Bueno oin ikasku zelan monta haunek aparatuek root ezan barik: usb/cd/dvd … $ yaourt -S hal dbus /etc/fstab artxibuen komenta usb/cd/dvd-ri dagoikidxien sarrerari #-gaz, adibidez #… #/dev/cdrom /media/cd auto ro,user,noauto,unhide 0 0 #/dev/dvd /media/dvd auto ro,user,noauto,unhide 0 0 #/dev/fd0 /media/fl auto user,noauto 0 0 #… /etc/rc.conf dbus eta hal sartun demoniñuetan: DAEMONS=(… hal dbus …) […]