This is a story about someone switching to Linux because of a WTF: Windows screwup forces Ubuntu shift
md2perpe
@md2perpe
0
Reputation
3
Posts
46
Profile views
0
Followers
0
Following
Best posts made by md2perpe
This user hasn't posted anything yet.
Latest posts made by md2perpe
-
WTFy story
-
RE: Firefox, large tables and images
I used the Live HTTP headers extension to watch the traffic. It seems like the image is only downloaded once:
http://tdc.medieval-wars.de/test/test.html
GET /test/test.html HTTP/1.1
Host: tdc.medieval-wars.de
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; sv-SE; rv:1.8.0.2) Gecko/20060308 Firefox/1.5.0.2
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,/;q=0.5
Accept-Language: sv,en-us;q=0.7,en;q=0.3
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: http://thedailywtf.com/forums/71175/ShowPost.aspx
If-Modified-Since: Thu, 04 May 2006 15:56:14 GMT
If-None-Match: "9c31f-16f15-719ac380"
Cache-Control: max-age=0HTTP/1.x 304 Not Modified
Date: Thu, 04 May 2006 19:54:43 GMT
Server: Apache/2.0.55 (Debian) mod_jk/1.2.14 PHP/5.1.2-1+b1
Connection: Keep-Alive
Keep-Alive: timeout=15, max=100
Etag: "9c31f-16f15-719ac380"----------------------------------------------------------
http://tdc.medieval-wars.de/test/img.png
GET /test/img.png HTTP/1.1
Host: tdc.medieval-wars.de
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; sv-SE; rv:1.8.0.2) Gecko/20060308 Firefox/1.5.0.2
Accept: image/png,/;q=0.5
Accept-Language: sv,en-us;q=0.7,en;q=0.3
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: http://tdc.medieval-wars.de/test/test.html
If-Modified-Since: Thu, 04 May 2006 15:56:14 GMT
If-None-Match: "9c320-5e-719ac380"
Cache-Control: max-age=0HTTP/1.x 304 Not Modified
Therefore, please report this problem at https://bugzilla.mozilla.org/.
Date: Thu, 04 May 2006 19:54:43 GMT
Server: Apache/2.0.55 (Debian) mod_jk/1.2.14 PHP/5.1.2-1+b1
Connection: Keep-Alive
Keep-Alive: timeout=15, max=99
Etag: "9c320-5e-719ac380"
-
RE: Those who do not study regular expressions are doomed
Why even use regexps?
function isVowel($c)
{
return stripos('aeiouy', $c) !== false;
}
echo isVowel($category{0}) ? ' an ' : ' a ';