Skip to content

Instantly share code, notes, and snippets.

@brito
brito / parsel.sql
Created December 1, 2021 01:09 — forked from molind/parsel.sql
Parallel select and Parallel query
-- since it uses dblink it should be enabled in the database.
-- CREATE EXTENSION dblink;
-- And you'll may need to grant permissions to use it to your user.
-- GRANT EXECUTE ON FUNCTION dblink_connect_u(text) TO user;
-- GRANT EXECUTE ON FUNCTION dblink_connect_u(text, text) TO user;
-- Usage example:
-- select g_parsel('insert into osm_polygon_extra select osm_id, st_pointonsurface( st_collect( geom ) ) from osm_polygons group by osm_id;', 'osm_polygons', 12);
@brito
brito / dabblet.css
Created February 9, 2013 01:38 — forked from jwdallas/dabblet.css
CSS Menu
/* CSS Menu */
@charset 'UTF-8';
@import url(http://fonts.googleapis.com/css?family=Source+Sans+Pro);
/* layout: [menu] menu */
[menu] { position:relative }
[menu]:before { content:'\2026' }
[menu] menu { position:absolute; top:100%; right:0 }
[menu] menu > * { display:block; white-space:nowrap }
@brito
brito / dabblet.css
Created August 7, 2012 23:25 — forked from jwdallas/dabblet.css
Dynamic UI states
/** Dynamic UI states */
/* Positioning */
.bubble { top:26px }
/* resets */
body { font:300 100%/1.4 helvetica,sans-serif; background:#eee }
a { text-decoration:none; color:#B7DE44 }
textarea, p, button { margin:0; padding:0; font:inherit }
/* Archetype CSS */
.bubble { padding:14px; position:absolute; border-radius:9px;
@brito
brito / dabblet.css
Created May 22, 2012 21:47
Bubble Orchestra
/**
* Bubble Orchestra
*/
/* demo */
.bubble { top:20px }
.quote { left:200px }
.autocomplete { left:600px }
/* resets */
@brito
brito / dabblet.css
Created May 16, 2012 23:00 — forked from anonymous/dabblet.css
Floating image
/**
* Floating image
*/
p { overflow:hidden }
img { float:left }