Skip to content

Instantly share code, notes, and snippets.

@quipu
quipu / gist:1139aae048ec3f3dc7d6
Last active August 29, 2015 14:06 — forked from edasque/gist:bd8aa4087c843e31e38d
Cordova Android Logcat filter
logcat-color CordovaActivity:V CordovaWebView:V CordovaWebViewClient:V IceCreamCordovaWebViewClient:V CordovaLog:V *:S
@quipu
quipu / bootstrap.js
Created August 17, 2014 00:19 — forked from chrisjhoughton/bootstrap.js
GeoJSON queries using Mongo and SailsJS
module.exports.bootstrap = function (cb) {
// Ensure we have 2dsphere index on Property so GeoSpatial queries can work!
sails.models.YOURMODEL.native(function (err, collection) {
collection.ensureIndex({ coordinates: '2dsphere' }, function () {
// It's very important to trigger this callack method when you are finished
// with the bootstrap! (otherwise your server will never lift, since it's waiting on the bootstrap)
cb();
@quipu
quipu / dabblet.css
Created June 6, 2012 01:04 — forked from LeaVerou/dabblet.css
drop-shadow filter vs box-shadow
/**
* drop-shadow filter vs box-shadow
*/
html {
background: url('http://subtlepatterns.com/patterns/purty_wood.png')
}
.speech-bubble {
position: relative;