Archive
friky.com
Aquí penso posar les anades de olla que em passin pel cap, no feu gaire cas. Tambe intentare posar les coses que m'agraden per si algu (no crec) té gustos semblants. Agusti 8{>
Explore
Search the archive
Entries
Page 2 of 17
-
El meu Primavera Sound 2017
2017-06-04
Resum dels concerts que he vist aquest 2017 al Primavera: 29/05 Apolo: Jeremy Jay The Wave pictures 31/05 la2 Apolo: Retirada! The Wedding Present 01/06 forum: Pinegrove Kokoshca Cymbals Eat Guitars Mishima Triangulo de amor bizarro Arcade...
-
Post resum 2016
2017-01-01
Com sempre ho pujo sense editar, aquest any inauguro una nova secció d'exits (sortides) amb les desinversions que hem fet, per diferents motius. Exits: Zeebe NiceTales Healthia Washrocks Gadgets of the year (comprats o regalats): ipad Air...
-
How to require autoload in vendor or outside vendor folder
2016-09-15
Sometimes when you create a package for composer and want to create some example code you need to execute those examples as an standalone package or once included in a vendor folder of another project. Use this simple trick in your example...
-
Post resum 2015
2016-01-01
Com sempre sense editar... Gadgets of the year (comprats o regalats): iPhone 6s Samarretes del any: Heisenberg Easypromos Friky coses guays: Sled Dogs Snowskates Emulador d'Amiga FE-UAE per Mac Ulo Jocs als que m'he viciat aquest any: Star...
-
How to send you an email with your mysql slave seconds behind master value
2015-07-14
It's dead simple, just schedule a crontab with this line: mysql -u root -p -e "show slave status \G"|grep Seconds | mail -s "Seconds behind master" This will query the slave status, grep the most important line and send you an email. Hope...
-
How to query a memcache top using shell script
2015-06-12
In case you want to watch the most important parameters of your memcache installation you can use this basic shell script: watch "echo stats | nc 127.0.0.1 11211 |grep -v conn_yields |grep -v time|grep -v cmd|grep -v threads \ |grep -v...
-
Resum de l'any 2014
2015-01-07
Com cada any publico un resum del que ha estat el 2014 en diferents categoríes, sobretot com a recordatori personal. No edito gaire perquè els nens estàn a punt de llevar-se :) Gadgets of the year (comprats o regalats): Xarxa PLC amb Wifi...
-
Patching poddle bug in Apache
2014-10-16
If you use HTTPS with Apache in Ubuntu or other Linux flavor it's very feasible that you have SSL v3 enabled, and then be vulnerable to the poddle bug. To prevent Apache to use SSL v3 you can add those lines (in bold) to your typical SSL...
-
Ultimate guide to patch ShellShock in old Ubuntus
2014-09-27
I've recently have to patch 28 ubuntu servers in our company, in theory it's an easy procedure but, you know, when you're dealing with old systems that have not been updated for years it can get a little more complicated. Looking for the...
-
Cómo modificar el tmpdir de mysql y no tener problemas de permisos al reiniciar el servicio #ubuntu #apparmor #mysql #tmpdir
2014-09-07
Estos días me he encontrado con problemas por falta de espacio en el /tmp al hacer consultas pesadas con ordenaciones o group-bys que generaban mucho espacio temporal, por defecto el servidor venía con 2Gbs en /tmp pero con una tabla de 2...
-
Com utilitzar les cues de missatges natives de UNIX amb PHP
2014-08-28
Si mai us heu trobat el problema de registrar visualitzacions a objectes que teniu en base de dades però no voleu penalitzar el rendiment fent un UPDATE cada vegada que un usuari entra al detall d'aquest objecte, una manera molt fàcil de...
-
Cómo hacer miniaturas de una web desde Ubuntu
2014-03-28
UPDATE: EN UBUNTU 14.04 HE TENIDO QUE HACER UN PAR DE CAMBIOS PARA QUE FUNCIONE: - En lugar de instalar libicu48 se debe instalar libicu52, o sea: apt-get install libicu52 - El make petará porque se tienen que incluir unas clases...
-
Playing with the Marvel API in PHP
2014-02-02
This sunday afternoon I've been trying the new marvel.com API. As a huge fan of the house of the ideas I think this can be a great tool for developers around the world. If you're new to the API you must connect to marvel developers...
-
Presentació de l'iPhone SDK (esdikey)
2014-01-01
(post del 2008 que se'm va quedar en drafts) Aquesta nit no podía dormir i com que sabía que hi havia la presentació d'Apple del nou SDK per l'iPhone, m'he decidit a veure el vídeo de presentació. JA NO PODRE DORMIR ! Increible, un SDK amb...
-
Historic handhelds en els últims 25 anys
2014-01-01
Tots els que em coneixeu sabeu que soc un friki dels gadgets tipus PDA o handheld des de fa un munt d'anys, en concret fa 25 anys que tinc dispositius d'aquest tipus. Com a registre personal documento les meves compres: Palm Personal -...
-
Post resum 2013
2014-01-01
Gadgets of the year (comprats o regalats): Bateria multi-dispositiu Aeroccino de Nespresso Deshuesador per cireres i olives iPhone 5C Samarretes del any: Evolucio acabant en robot #soytanfriky (amic invisible d'omatech) Friky coses guays:...
-
Problems with a rootkit
2013-11-16
During this week I've been struggling with a problem with one of our servers. The server started to collapse with no aparent reason, sometimes we see suspicious processes like this: ./m64 -o stratum+tcp://mine.pool-x.eu:9000 -u gvsall.64...
-
Como transformar tablas MyISAM a InnoDB masivamente en MySQL
2013-02-18
He encontrado este truco en StackOverflow funciona bien con tablas relativamente pequeñas, del orden de Megas, si pasamos a tablas de Gigas el tema empieza a tardar y ya tienes que hacer algun tipo de exportación e importación. El script:...
-
Post resum del 2012
2013-01-03
Gadgets of the year (comprats o regalats): Carregador solar iPhone iPad mini Samarretes del any: Twitter entre ocells El pingüi emperador El ciclop i les ulleres 3D El dinosaure jugant als asteroids Lobezno looney tunes La tassa "I was...
-
Update daily USD to EUR exchange rate in PHP using openexchangerates.org
2012-10-09
The process, loops for the last days and call the API of openexchangerates.org, storing in the database the daily conversion from USD to EUR. require_once('./conf/config.php'); require_once('./models/exchanges.php'); $exchanges=new...