Skip to content

Instantly share code, notes, and snippets.

@nicdaCosta
nicdaCosta / gridBuilder.css
Created August 6, 2012 09:38
This was something i quickly created in "response" to Mootool's JavaScript weekly challenge ( # 1 ) [ http://mootools.net/blog/2012/07/25/javascript-challenge-1/ ] to build a spiraling grid. A live examaple can be seen here - http://jsfiddle.net/TpfCL/
.block{
position:fixed;
display:inline-block;
width:3em;
height:3em;
padding:1em;
margin:0;
background:pink;
border:0.1em solid black;
text-align:center;
@nicdaCosta
nicdaCosta / Accordion CSS
Created August 15, 2012 20:34
Here is a basic accordion I wrote for use with jQuery. It is responsive and preforms quite nicely on touch devices due to its very simple nature. JS Bin Link - http://jsbin.com/ikeyef/2/edit
/* ==========================================================================
Basic Global Styles Header
========================================================================== */
* {
box-sizing:border-box;
}
@nicdaCosta
nicdaCosta / Grep.js
Last active March 9, 2024 13:39
Basic function that searches / filters any object or function and returns matched properties.
/*
Grep.js
Author : Nic da Costa ( @nic_daCosta )
Created : 2012/11/14
Version : 0.2
(c) Nic da Costa
License : MIT, GPL licenses
Overview:
Basic function that searches / filters any object or function and returns matched properties.
@nicdaCosta
nicdaCosta / DevToolsAPI.js
Created November 27, 2012 20:46
A basic interface for Developer Tools so that developers can register useful "snippets" that will thus be available for future use.
/*
* DevToolsAPI.js
* Author : Nic da Costa ( @nic_daCosta )
* Created : 2012/11/27
* Version : 0.1
* License : MIT, GPL licenses.
*
* Overview:
* script to possibly be included in DevTools.js ( Chrome Dev Tools ) to give a
* basic "interface" for developers to register scripts / functions for repeated use.