ArrowBase and wmode transparent on Flash
package tools { /** * this class allows to bypass the wmode restriction for the @ character… Read More »ArrowBase and wmode transparent on Flash
package tools { /** * this class allows to bypass the wmode restriction for the @ character… Read More »ArrowBase and wmode transparent on Flash
Note Ça parait simple comme ça mais ça m’a pris du temps de trouver, donc pas la peine de le perdre 🙂 rand(0,1)*2-1
if ($request_uri ~* “\.(ico|css|js|gif|jpe?g|png)\?[0-9]+$”) { access_log off; expires 31d; break; } # Matching URLs http://domain.com/stylesheets/blog.css?1221178271 if ($request_uri ~* “\.(ico|gif|png|jpe?g|css|js|swf)(\?v\d\d?)?$”) { access_log off; expires 31d; break;… Read More »Cache static media files with nginx
/* pour parcourir une string (ou tout autre conteneur indicé) dans l’ordre inverse */ for (size_t ind = Str.size(); i–;);
DECLARE @Start datetime, @End datetime SELECT @Start = 11, @End = 20 SELECT objName, CrDate FROM (SELECT ROW_NUMBER() OVER (ORDER BY name) … Read More »Limit with MSSQL
Note pasos para crear una aplicación symfony #crear el proyecto symfony generate:project my_project #crear mis apps backend y/o frontend symfony generate:app backend|frontend #crear mis modulos… Read More »crear una aplicación usando symfony a través de la terminal – symfony
Add this line in /etc/lightdm/lightdm.conf: greeter-setup-script=/usr/bin/synergyc <OPTIONS> <SERVER HOSTNAME> session-setup-script=/usr/bin/killall -w synergyc ession-cleanup-script=/usr/bin/killall -w synergy display-stopped-script=/usr/bin/killall -w synergyc
Note quick tutorial # Enable ssl a2enmod ssl # Edit /etc/apache2/ports.conf and add “Listen 443” # Generate certs: use your domain as Common Name or… Read More »Enable SSL in apache2 on Debian Etch
# rename all .jpeg files to .jpg for file in *.jpeg; do mv $file ${file%.jpeg}.jpg; done # make all the files in the current directory… Read More »Renaming a set of files
Note a partir de mysql 5.0 SELECT TIMESTAMPDIFF(DAY,‘2005-01-02’,‘2006-01-08’);