Swift delay utility function

Mi appunto una piccola funzione swift segnalata in questa risposta su Stack Overflow

È molto semplice ma allo stesso tempo molto utile.

Permette di eseguire un blocco di codice a seguito di un delay sul main thread.

Semplice e utile.

A gentle introduction to shaders in Unity3D : gamedev

Despite Unity3D attempts to make game development accessible, shader coding is still somehow hard to grasp.I’ve been working with shaders for few years now, and I decided to start a tutorial about it. This is the first part of a six-post tutorial.It is intended for users with little to no experience with shaders (read: #ELI5). It will be also covering some interesting and non documented features (such as passing arrays to shaders) and explaining the Maths behind lighting models.This is an overview of the tutorial:Part 1: A gentle introduction to shadersPart 2: Surface shadersPart 3: Surface shaders with custom lighting modelsPart 4: Vertex and fragment shaderPart 5: Passing arrays to a shader: heatmapsPart 6: Screen shaders and postprocessing effectsA new post will be uploaded every Wednesday. I’m also happy to provide clarifications if you have any question. via /r/gamedev



websocketd is the WebSocket daemon

It takes care of handling the WebSocket connections,
launching your programs to handle the WebSockets,
and passing messages between programs and web-browser.



Suplemon is a modern, slick and intuitive console text editor with multi cursor support. Suplemon replicates Sublime Text style functionality in the terminal with the ease of use of Nano.


Django navactive template tag

Questo è un semplice template tag che utilizzo nei miei progetti per evidenziare i menu attivi.

È molto semplice: basta passargli gli stessi parametri del tag url