I've collected all the links related to Backbone.js that I find useful. Most of these are well-built projects and epic guides (not ephemeral blog posts.) Please feel free to fork and even contribute.
| var docElm = document.documentElement; | |
| if (docElm.requestFullscreen) { | |
| docElm.requestFullscreen(); | |
| } | |
| else if (docElm.mozRequestFullScreen) { | |
| docElm.mozRequestFullScreen(); | |
| } | |
| else if (docElm.webkitRequestFullScreen) { | |
| docElm.webkitRequestFullScreen(); | |
| } |
- http://tutsplus.com/tutorial/writing-modular-javascript/
- https://github.com/aranm/scalable-javascript-architecture
- https://github.com/patrick99e99/scalable-js-architecture-app
- http://scaleapp.org/
- http://addyosmani.com/largescalejavascript/
- https://github.com/tcorral/Hydra.js/
- http://alanlindsay.me/kerneljs/
- http://terrifically.org/
| meteor create --example wordplay | |
| meteor bundle myapp.tgz | |
| tar xzf myapp.tgz | |
| cd bundle | |
| (create package json with settings below) | |
| jitsu databases create mongo <dbname> | |
| (grab dbstring) | |
| jitsu env set PORT 3000 | |
| jitsu env set MONGO_URL <dbstring> | |
| jitsu deploy |
| meteor create --example todos | |
| meteor bundle myapp.tgz | |
| tar xzf myapp.tgz | |
| cd bundle | |
| (create package json with settings below) | |
| jitsu databases create mongo <dbname> | |
| (grab dbstring) | |
| jitsu env set PORT 3000 | |
| jitsu env set MONGO_URL <dbstring> | |
| jitsu deploy |
| meteor create --example leaderboard | |
| meteor bundle myapp.tgz | |
| tar xzf myapp.tgz | |
| cd bundle | |
| (create package json with settings below) | |
| jitsu databases create mongo <dbname> | |
| (grab dbstring) | |
| jitsu env set PORT 3000 | |
| jitsu env set MONGO_URL <dbstring> | |
| jitsu deploy |
The range sliders at the top change the values for the force-directed algorithm and the buttons load new graphs and apply various techniques. This will hopefully serve as a tool for teaching network analysis and visualization principles during my Gephi courses and general Networks in the Humanities presentations.
Notice this includes a pretty straightforward way to load CSV node and edge lists as exported from Gephi.
It also includes a pathfinding algorithm built for the standard data structure of force-directed networks in D3. This requires the addition of .id attributes for the nodes, however.
Now with Clustering Coefficients!
Also, it loads images for nodes but the images are not in the gist. The code also refers to different network types but the data files on Gist only refer to the transportation network.
| #[no_uv]; | |
| extern mod native; | |
| #[start] | |
| fn start(argc: int, argv: **u8) -> int { | |
| do native::start(argc, argv) { | |
| main(); | |
| } | |
| } |
| #[no_uv]; | |
| extern mod green; | |
| extern mod rustuv; // pull in I/O support | |
| #[start] | |
| fn start(argc: int, argv: **u8) -> int { | |
| do green::start(argc, argv) { | |
| main(); | |
| } | |
| } |
| #[no_uv]; | |
| extern mod native; | |
| extern mod green; | |
| extern mod rustuv; // pull in I/O support for libgreen | |
| use std::task::TaskOpts; | |
| #[start] | |
| fn start(argc: int, argv: **u8) -> int { | |
| do native::start(argc, argv) { |