svn instalación
instalar en ubuntu Instalación en ubuntu 8.04instalar paquetes: subversion libapache2-svn apache2 Creo el repositorio sudo mkdir /var/svnsudo svnadmin create /var/svn/$REPOSsudo chown -R www-data:www-data /var/svn/$REPOSsudo chmod -R g+ws /var/svn/$REPOS Configuro el modulo svn de apachesudo gedit /etc/apache2/mods-available/dav_svn.confcreo el location: <Location /Repository>DAV svnSVNPath /var/svn/repo1AuthType BasicAuthName “Subversion Repository”AuthUserFile /etc/apache2/dav_svn.passwdAuthzSVNAccessFile /etc/apache2/dav_svn.authzRequire valid-user</Location> Genero los archivos: AuthUserFile /etc/apache2/dav_svn.passwdAuthzSVNAccessFile /etc/apache2/dav_svn.authz Agregar […]
Proxy Pattern
Combining the above knowledge gives you as a JavaScript developer quite a lot of power. One way to combine that is to implement a proxy pattern in JavaScript, enabling the basics of aspect-oriented programming (AOP): (function() { // log all calls to setArray var proxied = jQuery.fn.setArray; jQuery.fn.setArray = function() { console.log(this, arguments); return proxied.apply(this, […]
javascript function scope
Context, Call and Apply In JavaScript, the variable “this” always refers to the current context. By default, “this” refers to the window object. Within a function this context can change, depending on how the function is called. All event handlers in jQuery are called with the handling element as the context. $(document).ready(function() {// this refers […]
ATI
http://www.guia-ubuntu.org/index.php?title=Aceleraci%C3%B3n_gr%C3%A1fica_ATI
mensajes del sisterma
• dmesg
kernel version
uname -a
yuuguu
usar rar de verion windows y descomprimirla. la queme en “datos4” Create a file named ‘yuuguu’ in the YuuGuu directory. Put the following code in it (ignoring my separator bars):====================#! /bin/bashjava -jar /home/Applications/yuuguu/YuuguuLauncher.jar;==================== Make the file executable by changing its properties or using:====================chmod +x yuuguu====================
INSTALL JAVA
usar synaptic: buscar jresun-java6-jre automaticamente lo puso como por defectojava -version
AUDIO DEVICE ALSA recompile
[email protected]:~/Downloads$ lspci | grep udio00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 02) Buena guia oficial – usar estahttp://www.guia-ubuntu.org/index.php?title=Alsa ********************************************************************Controles de sonido… Playback-Master: baja todo-Surround: altavoces Recording:-Capture: mitad-Digital: mitad-Mux: mitad Options-Digital Input Source: Analog Inputs (mic enchufable) – Digital Mic 1 (mic externo) NOTA: El mic exterior anda muuuuy bajito con […]
CakePHP templates en Eclipse
Dos de los motivos para usar un IDE son el coloreo de sintaxis y el auto-completado de codigo, sin embargo es comun que los frameworks para desarrollo como Ruby On Rails, Smarty y en este caso CakePHP se inventen alguna extension para sus archivos de template. CakePHP los llama .thtml, empezar a trabajar en un […]
TOMCAT
Automatic Starting http://www.bartbusschots.ie/blog/?p=240 http://www.howtogeek.com/howto/linux/installing-tomcat-6-on-ubuntu/
SKYPE
1. Descargar el paquete skype para Ubuntu Feisty desde la página del desarrollador.2. Instalar los paquetes libqt4-core y libqt4-gui, con sudo apt-get install libqt4-core libqt4-gui3. Forzar la instalación del paquete skype*.deb con sudo dpkg -i –force-architecture skype*deb4. Descargar el script GetLibs para resolver las dependencias de 32 bits.http://www.boundlesssupremacy.com/Cappy/getlibs/getlibs-all.deb5. Ejecutar sudo getlibs /usr/bin/skype en consola.
SAMBA
The default installation of SAMBA will be set to use “user-level security” which means that each time a Windows machine wants to access data on the Ubuntu smb share it must supply a username and a password. However, the SAMBA password is not the same password as your normal Ubuntu password. Instead, you must explicitly […]
XGL + COMPIZ
Instalo xglsudo apt-get install xserver-xgl sudo apt-get install compizconfig-settings-manager Verifico$ glxinfo | grep direct skydomhttp://tuxpepino.wordpress.com/2007/11/14/configurar-el-skydome/
apache2
Instalar mysql en php sudo apt-get install php5-mysqlsudo /etc/init.d/apache2 restart ************************************Instalar mod_rewrite sudo a2enmod rewrite/etc/init.d/apache2 force-reloa
Cambiar dueño de var/www
you might not be running as root and root is most likely owner – which disallows you the right to change permissions. execute the following cd /varsu“enter password for root”chown -R john www or /wwwnow maybe after successfulchmod -R 775 www or /www A little info:chown allows for changing the owner – you must be […]
Evitar que pida password de SUDO
en /etc/sudoers cambiar%admin ALL=(ALL) ALLpor%admin ALL=(ALL) NOPASSWD: ALL
Startup bash files
3 different types of shells in bash: login shell, normal shell interactive shell Login shells read ~/.profileinteractive shells read ~/.bashrc
VNC password file, connects automaticaly
sudo apt-get install vncserver (capaz alcance con otro paquetito pa conseguir el vncpasswd) 3. Set the VNC Passwordvncpasswd /home/gonzo/.vnc/passwd how to launch it: vncviewer -passwd /home/gonzo/.vnc/passwd hostxxx.com.ar creo link en barra superior con ese comando
Compartir Archivos entre Ubuntus
terminé usando samba. ubuntu te lo instala la primera vez que vas aSystem>Admin>Shared Folders el cliente lo ve directamente en entorno de red
SVN
crear usuario:sudo htpasswd2 -cm /etc/apache2/dav_svn.passwd usuario. Recordemos que al ejecutar htpasswd2, el parámetro -c solo se utiliza la primera vez con la finalidad de crear el fichero donde se guardan las contraseñas. el archivo /etc/apache2/mods-enabled/dav_svn.confcontiene configuraciones del modulo svn de Apache2 el archivo /etc/apache2/dav_svn.passwdcontiene los usuarios y claves que pueden acceder el archivo /etc/apache2/dav_svn.autzcontiene configuracion […]
MULA aMule
aMulehttp://www.guia-ubuntu.org/index.php?title=AMule#Versi.C3.B3n_estable getting startedhttp://www.amule.org/wiki/index.php/Getting_Started Servershttp://ed2k.2x4u.de/xsusmcl1/max/server.met En Opciones => Servidor – Eliminar servidores caídos tras [9] reintentos– Actualizar automáticamente lista de servidores al iniciar [Desmarcado]– Actualizar la lista de servidores al conectar a un servidor [Desmarcado]– Actualizar lista de servidores al conectar a un cliente [Desmarcado] Ahora en la pestaña de los servidores, los borramos TODOS. Por […]
login screen resolution problem FIX
sudo dpkg-reconfigure -phigh xserver-xorg ojo que reinicia la config de xorg.conf
desactivar Xgl server setup changed
The Xgl server will now be started automatically next time you login. It is no longer necessary to use any special X session to start Xgl, and such sessions will likely fail to work properly. Please select a regular session from your session manager next time you log in. To disable Xgl autostart for this […]
instalacion de DBDESIGNER 64 bits
bajar: DBDesignerFork-1.4-bin-i386-linux.tar.gz de: http://sourceforge.net/project/showfiles.php?group_id=177293 descomrimir con: tar xzvf DBDesignerFork-1.4-bin-i386-linux.tar.gz renombrar startdbd_usingAMD64, ponerle la extencion “sh” ejecutar si da error que no puede cargar una librerira: libmysqlclient.so , bajar este paquete y reemplazar en /usr/libbajar: http://www.wesmo.com/rpm2html/contributed/RPMS/MySQL-shared-compat-4.1.9-0.i386.html acá tuve que instalar alien pa poder abrir el rpmsudo apt-get install alienme pidio el cd de ubuntuabrí el archivo […]
BOOT loading resolution problem
http://www.namanb.com/2007/11/ubuntu-710-bootup-resolution-problem.html sudo nano /etc/usplash.conf en acer funcionó, en dell no Otra opcion:I have the same problem. I’m running Gusty on Acer Aspire 5050, ATI x1100. To get around it, install startup manager (sudo apt-get install startupmanager), disable the splash screen and choose show text. That way by default you see whatever is being done during […]
cambiar Idioma de teclado
Agregar el teclado español,agregar al toolbar superior el Keyboard Indicatorpara switchear apretar ambos ALT keys.
.dmrc BUG
sudo chmod 644 /home/gonzo/.dmrcsudo chown gonzo /home/gonzo/.dmrcsudo chmod -R 700 /home/gonzosudo chown -R gonzo /home/gonzo
instalar VMWare workstation
• bajé el archivo VMware-workstation-6.0.2-59824.x86_64.tar.gz del site vmware• baje una version de vmware workstation linux de la mula que venía con un keygen para ejecutar en linux por consola. pero instalé la versión bajada del site oficial de vmware. 1) instalar dependencias del instaladorsudo apt-get install kernel-package xinetdsudo apt-get install build-essential linux-headers-`uname -r` xinetd2) Instalar […]
Canon
-cuando enchufo la camara en modo Ver fotos detecta y ofrece descargar Instalé con synaptics una aplicación gtkam(no se si es necesario instalar algo) paquetes de synaptics:-gphoto2-GPhotoFS-gtkam