Skip to content

Instantly share code, notes, and snippets.

View rande's full-sized avatar
🖖
hello!

Thomas rande

🖖
hello!
View GitHub Profile
location = /favicon.ico {
log_not_found off;
access_log off;
}
location ~* \.(js|css|png|jpg|jpeg|gif|ico)$ {
expires max;
log_not_found off;
}
@naderman
naderman / symfony.info
Created March 5, 2011 13:20
Drupal 7.0 Symfony2 Integration (Proof of Concept)
name = Symfony
description = Symfony Integration
core = 7.x
@rande
rande / gist:509720
Created August 5, 2010 13:19
Create cache from a files containing url (multi-threaded python script)
import threading, time, urllib
import fileinput, io
class UrlDownloadThread ( threading.Thread ):
def __init__(self, url):
self.url = url
threading.Thread.__init__(self)
def run(self):