background preloader

Static web

Facebook Twitter

Site44 - absurdly simple web hosting. Webscript - scripting on the web. HTML5 Boilerplate: The web's most popular front-end template. Reveal.js - The HTML Presentation Framework. Dug.js — A JSONP to HTML Script — Rog.ie. So you want to display your Dribbble shots, recent pins on Pinterest, 500px or Instagram photos, Github commits, or recently listened to music on your blog or site? Then this chunk of javascript is for you. It was designed to be a lightweight, simple, library-independent script to pull in feeds of content available on the web as JSONP (there's lots of em!)

To display on your site. I wrote this script because I wanted a dead-simple way to show my dribbble shots on my site. I wanted to be able to customize the markup with a custom template and have the content client side cache. I wanted to do the same with Pinterest inspiration that I was finding for illustrations that I love. Dug.js Setup Enough windbaggery, let me show you how to use it. Rad! An api endpoint (jsonp callbacks supported)An HTML template to display the data With that in mind, let's setup dug.js to pull dribbble shots from an awesome illustrator's account: Here's an actual demo of the above code, running: That's it! Download. Introducing Sheetdown.

A New Command Line Node.js Module for Turning a Google Spreadsheet into a Markdown Table Sheetdown is a command line Node.js module for turning a Google Spreadsheet into a Markdown (well, actually, a GitHub Flavored Markdown) table. Sheetdown started with a tweet: As of late I’ve been honing my node-module-making skills and when I saw the tweet, and realized I knew how it could be done, I was so excited that I stopped what I was doing and wrote it. Getting the Raw CSV The first snag was that I knew there was a query string for viewing a Google Spreadsheet as a raw CSV but I couldn’t remember it and Google, the search engine, was failing me. @takempf to the rescue with output=csv.

(Maybe I’m doing it wrong, but I still can’t come up with a search that gives this answer.) So first things first, sheetdown makes a request to Google and returns with the raw CSV. Var base = ' Turns out, it only worked if you didn’t have commas within your spreadsheet cells. Cytoscape.js. This is how easy it is to get started with Cytoscape.js (this code creates the instance you see on the bottom-right: About Cytoscape.js is an open-source graph theory library written in JavaScript. You can use Cytoscape.js for graph analysis and visualisation. Cytoscape.js allows you to easily display and manipulate rich, interactive graphs. Because Cytoscape.js allows the user to interact with the graph and the library allows the client to hook into user events, Cytoscape.js is easily integrated into your webapp, especially since Cytoscape.js supports both desktop browsers, like Chrome, and mobile browsers, like on the iPad.

Cytoscape.js also has graph analysis in mind: The library contains a slew of useful functions in graph theory. Cytoscape.js is an open-source project, and anyone is free to contribute. The library was developed at the Donnelly Centre at the University of Toronto. Cytoscape.js & Cytoscape Funding Funding for Cytoscape.js and Cytoscape is provided by NRNB (U.S. Notation. Jlord/sheetdown. Mozilla Labs : TogetherJS.