php_value short_open_tag 1
Soy un programador freelance de Argentina que se dedica al desarrollo de aplicaciones web y móviles con más de 7 años de experiencia. Principalmente trabajo con PHP, Drupal, jQuery, jQuery Mobile, Android y Objective C.
Como habilitar short open php desde el archivo .htaccess
Para poder usar <?
Cómo convertir una base de datos MySQL a UTF8
Para convertir una base de datos cuyo encoding es latin1 (o cualquier otro) a UTF8 hay que:
1. Convertir la base de datos a UTF 8.
ALTER DATABASE database_name CHARACTER SET utf8 COLLATE utf8_general_ci;
2. Convertir cada tabla a UTF8.
ALTER TABLE table_1_name CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci; ALTER TABLE table_2_name CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci;
Cómo saber si una UIView está visible
Si necesitás saber si podés liberar una view podés chequear si tiene una superview:
if (myView.superview){ // podés hacer algo con la vista porque se supone que está en la jerarquía } else { // myView no está en la jerarquía de vistas }
You have new mail | Mac Terminal
Seguramente puede ser que haya mails por algún que tengas corriendo.
Para ver los mails por consola podés lanzar el comando:
La documentación sobre este comando la podés ver acá.
Si querés eliminar todos los mails de una sóla vez podés lanzar el siguiente comando que lo que hace es limpiar el archivo en el cual los mails son guardados:
Para ver los mails por consola podés lanzar el comando:
La documentación sobre este comando la podés ver acá.
Si querés eliminar todos los mails de una sóla vez podés lanzar el siguiente comando que lo que hace es limpiar el archivo en el cual los mails son guardados:
$ : > /var/mail/$USER
Cómo redirigir un sitio a sin www
Se puede hacer editando el .htaccess del sitio y metiendo la siguiente regla:
RewriteEngine On RewriteBase / RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC] RewriteRule ^(.*)$ http://%1/$1 [R=301,L]
Snow Leopard on Asus 1000he eee PC without usb drive
I've followed this instructions at Gizmodo.
At 8 minutes the install stopped. Seeing the installer logs I've seen that one file was missing.
The bug is related to NetbookInstaller and here is the bug: https://code.google.com/p/netbook-installer/issues/detail?id=249
It was fixed in this file: http://dl.dropbox.com/u/863180/NetbookInstaller%2020101127091350.app.zip
But you can restart your netbook. You should need to keep the USB plugged in other to boot.
Once you are in your Snow Leopard, you can download the NetbookInstaller version posted before and then run it in other to make your hard drive bootable.
After a few minutes it's done.
Other fixes that I've have to do:
At 8 minutes the install stopped. Seeing the installer logs I've seen that one file was missing.
The bug is related to NetbookInstaller and here is the bug: https://code.google.com/p/netbook-installer/issues/detail?id=249
It was fixed in this file: http://dl.dropbox.com/u/863180/NetbookInstaller%2020101127091350.app.zip
But you can restart your netbook. You should need to keep the USB plugged in other to boot.
Once you are in your Snow Leopard, you can download the NetbookInstaller version posted before and then run it in other to make your hard drive bootable.
After a few minutes it's done.
Other fixes that I've have to do:
- Install voodoohda.kext and voodoohda.prefpane to get the speakers and mic running.
Suscribirse a:
Entradas (Atom)