4
Oct
Posted in qwerty | No Comments »
a really nice and easy way to copy or download large files.
using this method you will not need to use wget or other system calls – and you will not hit your servers memory limit
<?php
$src = fopen($in, 'r');
$dest = fopen($out, 'wb+');
stream_copy_to_stream($src, $dest);
?>
Tags: download, php, tip
25
May
Posted in qwerty | No Comments »
no need to say much, this cheatsheet is great – hopefully html5 will soon be a reality, but….
Tags: cheatsheet, html5, security
11
Mar
Posted in qwerty | No Comments »
it’s not new, but it’s great http://diveintohtml5.org/
Tags: books, html5
30
Dec
Posted in qwerty | No Comments »
this is a nice little article we all could learn a lot from
Tags: browser, security, theft
22
Sep
Posted in qwerty | No Comments »
most of you needing this feature already know of it, but hey it’s cool, easy and maintainable
resources: one, two and tree
Tags: memcached, php, sessions
15
Sep
Posted in qwerty | No Comments »
igen en post om ting jeg aldrig kan huske.
preg_match_all('~(?:/xyz/)?(.+)~', $subject, $matches);
her er du kun interesseret i at få sidste matchgruppe med i $matches, så derfor er første matchgruppe prefixet med “?:” – hvilket gør at det bliver ignoreret i selve resultatsættet.
Tags: php, regex
1
Sep
Posted in qwerty | No Comments »
it is not a new article, but it still holds true – and is really insightful
Tags: article, google, performance
31
Aug
Posted in qwerty | No Comments »
gustavo has created a really nice jquery-cheatsheet-wallpaper in various sizes
Tags: cheatsheet, wallpaper
8
Aug
Posted in qwerty | No Comments »
smashing magazine have published another article on beginning html5 – it is a rather good one actually.
it tries to deal with the transition from html 4 to 5, and describes the new tags and the meaning behind
- go read
Tags: article, guide, html5