Add any links you want in this to the comments and I'll add them.
Generates styleguides from Markdown comments in CSS, SASS and LESS files using Handlebars
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE | |
Version 2, December 2004 | |
Copyright (C) 2011 YOUR_NAME_HERE <YOUR_URL_HERE> | |
Everyone is permitted to copy and distribute verbatim or modified | |
copies of this license document, and changing it is allowed as long | |
as the name is changed. | |
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE |
{ | |
"C0": 16.35, | |
"C#0": 17.32, | |
"Db0": 17.32, | |
"D0": 18.35, | |
"D#0": 19.45, | |
"Eb0": 19.45, | |
"E0": 20.60, | |
"F0": 21.83, | |
"F#0": 23.12, |
A design rationale.
For the past fews years, the Web has been shifting control to the client. Given the limitations of remote services, developers are now looking for ways to "unhost" static applications – that is, break the dependency on remote servers while still using the Web platform.
One untapped technology for client-side control is the Web Worker Sandbox. This API lets the Page load, execute, and destroy separate Worker threads which use their own Virtual Machines. By using Worker Sandboxes to drive behavior, the Web can give users the choice of which software they run together, shifting development from a centralized SaaS model into a distributed and free (as in freedom) script-sharing model.
Worker Sandboxes can Execute Arbitrary Code
// http://nikhilm.github.io/uvbook/threads.html | |
#include <string> | |
#include <map> | |
#include <node.h> | |
#include <v8.h> | |
#include <uv.h> | |
#include <sys/syscall.h> | |
#include <stdlib.h> |
MATLAB code to demonstrate [Fourier series][1] representation of periodic signals (as a sum of sinusoidal functions).
The animation shows an approximation of a square wave signal using the first 4-terms of its Fourier series. (Change the parameters near the top of the code to manipulate the animations and explore other variations).
![animation1][6] ![animation2][7]
This was inspired by the following similar animations:
For development it may be useful to be able to replay TCP traffic (e.g. HTTP). The dump can be created using WireShark or tcpdump: | |
$ tcpdump -s 0 port http -i en0 -w dump.pcap | |
To generate data files that can be replayed through netcat we use tcptrace: | |
$ tcptrace -e input.pcapng | |
Finally replay the HTTP traffic using netcat to host 192.168.1.1 port 80 | |
$ cat a2b_contents.dat | nc -v 192.168.1.1 80 | |
If you need to replay the raw network traffic, we need to do some massaging using tcpprep and tcprewrite before using tcpreplay to replay the raw packages. Note that due to limitation of tcprewrite this will not replay any traffic to the network: http://tcpreplay.synfin.net/wiki/FAQ#Doestcpreplaysupportsendingtraffictoaserver. |
All of the below properties or methods, when requested/called in JavaScript, will trigger the browser to synchronously calculate the style and layout*. This is also called reflow or layout thrashing, and is common performance bottleneck.
Generally, all APIs that synchronously provide layout metrics will trigger forced reflow / layout. Read on for additional cases and details.
elem.offsetLeft
, elem.offsetTop
, elem.offsetWidth
, elem.offsetHeight
, elem.offsetParent
-- HUMAN RESOURCE MACHINE PROGRAM -- | |
a: | |
INBOX | |
COPYTO 5 | |
COPYFROM 9 | |
COPYTO 0 | |
COPYTO 1 | |
BUMPUP 1 | |
b: |
-- HUMAN RESOURCE MACHINE PROGRAM -- | |
BUMPUP 9 | |
BUMPUP 9 | |
ADD 9 | |
COPYTO 8 | |
ADD 8 | |
JUMP k | |
a: | |
b: |