This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$m1 = new Memcache; | |
$m1->addServer('memcache1', 11211); | |
$m1->addServer('memcache2', 11211); | |
var_dump($m1->set("testttt111", "blabla")); | |
$m2 = new Memcache; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dOZJeaGEbHDjiABKQMPGuZvqYSvXTPKVjk9xiWoPu7fTBQA)KI(jv0WuLFd1LLmuQqAWKsnCs6GqqpgsDmboNuSqiulfczXqulxKhkO6PGLPqpNIjkO0ufAYs10jUiPKRsfQNPixhs2iPY1ev2SQA7ubFMeNeImnP03jfgjvioSknAfmErvUKOQClrXPv68uPXPOwROQ61ckMbms4YifcgcJH8fYjcwe6e6msqjH1GGJ4eriLFN2regAc558)nLqD5c0NnOzkBq2XGGGPS8NrFocPszX(ORArO76VwlALegLkbdojeUg0LVVEfcUo)Ftju38BC81(Yn)gBdMBE8NPTLqLN613RormHTti8WA0u70D7em157O41lecTw6Ie0y7Ya1LtFtZS(55SnntbtVw(Z0MJGhLvmTkkvYq7acd1Qmiuxo9Jn5EJVS5cgFJZp(Z0QNWbF7msiHpfJeSqDKLrkuOqHaAgPDaJe(yVaBikAp2sOVg1Z1fKl6WyiKpvch8TZiHe(umsWc1rwgPqHcb0y8PJ1WtetW15)BkH2TpcPszX(ORAryrJ9e8OSIPvrPsgAhq46xRRSypJemYnjmsqCvlcQPYucb1uzkHG5S9czSiylke(RFndmsqCvlcQPYucb1uzkHG5S9czSiylkuiSDc9YbSSypbn2Umq75hbjTkkvIrcOrzeSfcg2ErqwRQtWFTkdJ0oGqylhWYI9AQncrLUuOq4J9cbToo4yK0uBDyVqipN)VPeQlZ8BQr)071O)n10mLL)mTTegQvzqO98JcThzKGRZ)3ucThFJeU(16kl2ZibJCtcJeex1IGAQmLqqnvMsiyoBVqglc2IcH)6xZaJeex1IGAQmLqqnvMsiyoBVqglc2IcfcsAvuQeJeqJYiylemS9IGSwvNG)AvggPDabeDph31ROP2HNCPqHWh7fcADCWXiPP26WEHWqTkdcTNFeo4BNrcj8PyKGfQJSmsHcfcFSxGnefThBj0xJ656cYfDymeYNkHuPSyF0vTi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
require 'rubygems' | |
require 'rubydns' | |
require 'rubydns/system' | |
INTERFACES = [ | |
[:udp, "0.0.0.0", 53], | |
[:tcp, "0.0.0.0", 53] | |
] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
30/03/2014 17:21:38.71117 PROPFIND /dav/aa.txt.sb-1a673763-TkCNhn | |
30/03/2014 17:21:38.71921 PROPFIND /dav/.TemporaryItems/folders.501/TemporaryItems/(A%20Document%20Being%20Saved%20By%20TextEdit) | |
30/03/2014 17:21:38.72311 MKCOL /dav/.TemporaryItems/folders.501/TemporaryItems/(A%20Document%20Being%20Saved%20By%20TextEdit) | |
30/03/2014 17:21:38.72653 PROPFIND /dav/.TemporaryItems/folders.501/TemporaryItems/._(A%20Document%20Being%20Saved%20By%20TextEdit) | |
30/03/2014 17:21:38.74736 PROPFIND /dav/.TemporaryItems/folders.501/TemporaryItems/(A%20Document%20Being%20Saved%20By%20TextEdit)/aa.txt | |
30/03/2014 17:21:38.75065 PUT /dav/.TemporaryItems/folders.501/TemporaryItems/(A%20Document%20Being%20Saved%20By%20TextEdit)/aa.txt | |
30/03/2014 17:21:38.75425 PROPFIND /dav/.TemporaryItems/folders.501/TemporaryItems/(A%20Document%20Being%20Saved%20By%20TextEdit)/._aa.txt | |
30/03/2014 17:21:38.75829 PROPFIND /dav/.TemporaryItems/folders.501/TemporaryItems/(A%20Document%20Being%20Saved%20By%20TextEdit)/._aa.txt | |
30/03/2014 17: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
davs://[email protected]/webdav/someFolder |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class CustomException extends Exception { | |
/* | |
$message puede ser el típico string, por lo tanto funcionará como hasta ahora. | |
Pero si pasamos otra Excepción haremos una especie de clonado, por ejemplo: | |
... | |
} catch (UnaExcepction $e) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Firma de libros en la Feria del Libro de Madrid | |
Día: Sábado 1 de JUNIO de 2013 | |
Horario mañana: La firma empezará a las 11:00 h y la autora firmará 200 ejemplares. | |
Lugar: Caseta de Casa del Libro (nº 170) | |
Observaciones: Una persona se ocupará de repartir 200 números, diseñados especialmente para la ocasión, para cada lector que esté en la correspondiente cola. Sólo se repartirá un número por lector. | |
Horario tarde: La firma empezará a las 17:00 h y la autora firmará 200 ejemplares. | |
Lugar: Caseta de Fnac (nº 41-42) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$('input[type=checkbox]').change(function() { | |
var dis = $(this); | |
if (dis.is(':checked')) { | |
$("#trololo-"+ dis.attr("id")).remove(); | |
} else { | |
dis.after('<input type="hidden" name="'+ dis.attr("name") +'" value="0" id="trololo-'+ dis.attr("id") +'" />'); | |
} | |
}); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
## | |
# Script to monitor the monthly bandwidth usage | |
# in an OVH VPS Classic | |
# | |
# Sergio Álvarez <[email protected]> | |
## | |
IF="venet0" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dqeTfaGiP0LOukJsv1PqKvPuKMLsLBHOyxQI6xkfLHjjogbTmvLEMsHPrP6AsOTPkPVrinokfNJaUNQuhKazHiQEOsr1ePuYfLu2OQIpQkXivf5KeIvQcVuPiMPQqDtcu7us6NQczOQc0sPuQEQIPkfxvs1xvfWEH(lHYGrDyPAXeQESsMmcxMQntjFwLA0QOtl41QcA2eDBjA3i9BHgUkz5K65KmDrxNITRu13ruQXRu68sW6ruY(bJcXgCkXHahcSbNcpYYs5j(HmIAFJkcyVIn2yZgciGnI(fTiJ9I4yfP5hz)wHZJQ38yrQwdhzStGn4yuUyuFVRrXXj7sNMydoLgzgWgmXeh1LVWgCub6T0XQcXehJYfBj7kfsoo6O0XgCknYmGnyIjogLlM6Yxi54SKDLcBWrfO3shhBvtqnpTjvf5LNAWehDF5ydoLgzgWgmXetC0(DisBkC540n6U4DnoPVnnAhNAY91fb4QrDjoPVn)ePjo1K7RlcWFI0eNmu66prAItn5(6Ia8NinXzzuzSSX3M4ahWboPVnNaz5yvHVItQd33UgBWzzuzSuSZaHJtgkDcCYcxoolJkJL4SmQmwkww4YXrL90OWrze3370CmwwHT4iMTeKGf0l1WXq99onXjdLobo(ENM4S5XsX7jWpoEJZYOYy5K91dv4yzORmePa)tcoagyGbwgxDjWQZGlja(nWkx6R8xyXDaxNgsYnww)TxYEbx3Ud42AQLHicmHdSQtV1Eljsah1axboagyGbwgxDjWxUE50e43a)RodUKa4nd460q(K3L5PG7B)BVK9cUULejG3uGfwPcCamWadS2tJMcCzppF2sgJ6)lxVCAscoCkbolJkJL2YO7zisXXYqxzisb(NeCamWadSmU6sGvNbxsa8BGvU0x5VWI7aUonKKBSS(BVK9cUUDhWT1uldreychyvNER9wsKaoQbUcCamWadSmU6sGpVa(nW1PH8jVlZtb33(3Ej7fCDlj4ayGbgyTNgnfy1zWLe7a( |