x
Search Posts:

TXT BLOG: a pure txt weblog

Questo รจ un blog di puro testo dove gli utenti del sito possono condividere pubblicamente links, snippets di codice ed altre informazioni rigrosamente testuali.

Realtime Updates!

For a while I tried to figure out how to develop a system for streaming realtime updates on this web pages.

Maybe WebSocket could be the best choice, but at the moment I'm too lazy to install test and run Node.js in this production environment.

Finally, I opted for a jquery-apache-php long-polling method, which I was able to implement in one single sunday afternoon.

At the moment, new board posts [and edits] are streamed out in realtime (1s delay) to the website pages (see bottom left "Realtime Updates")

Realtime updates with HTML5 [resources summary]

https://encrypted.google.com/search?hl=it&q=Content-Type%3A+text%2Fevent-stream

http://www.w3schools.com/html5/html5_serversentevents.asp

https://developer.mozilla.org/en/Server-sent_events/Using_server-sent_events

http://www.html5rocks.com/en/tutorials/eventsource/basics/

http://hacks.mozilla.org/2011/06/a-wall-powered-by-eventsource-and-server-sent-events/

PSYC 2 WEB

http://www.psyced.org/jscript-export

XHTML5 [php] BOILERPLATE

References:
http://blog.whatwg.org/xhtml5-in-a-nutshell
http://www.whatwg.org/specs/web-apps/current-work/multipage/index.html

Code:
----------
<?php header('Content-Type:application/xhtml+xml'); ?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en" dir="ltr">
<head>
<title></title>
<meta charset="utf-8" />
<link rel="profile" href="http://gmpg.org/xfn/11" />
<script type="text/javascript">
//<![CDATA[

//]]>
</script>
</head>
<body>
</body>
</html>
----------

To add semantics use microdata:
http://www.whatwg.org/specs/web-apps/current-work/multipage/microdata.html#microdata

Interactive digital music market world map

click on countries on this map to check out worldwide digital music markets:

http://paidcontent.org/2012/05/14/musicmap/

Another Wobble Lovers Dance Hit!

Check our last awesome shuffle house remix of Ramona Rey for Cowshed Records

http://soundcloud.com/wobblelovers/ramona-rey-high-wobble-lovers

You should also visit a masterpiece web site 

http://www.wobblelovers.com/

php interactive shell for debian [senza dover ricompilare php]

il pacchetto php5 che troviamo nei repository debian stable è compilato senza l'opzione readlines: ciò impedisce di poter utilizzare il prompt interattivo con l'opzione -a

[ vedi questo bug: https://bugs.php.net/bug.php?id=51695 ]


Questa applicazione in Python ci permette di avere una console interattiva php senza bisogno di ricompilare dai sorgenti:

https://github.com/facebook/phpsh

Wobble Records 002 Out April 30th 2012

Title 
Me Duele

Artist 
Wobble Lovers

Remix
Woncka
Bruno Vestax
Sabbo
Disco Bangerz & Wobble Boy
Mr9 Carter

http://www.wobblelovers.com/2011/wobble/wobble-lovers-feat-mc-rayna-me-duele.html
Pages:
0 1 2 3 4 5 6 7 8 9 10 11 12