Skip to content

Instantly share code, notes, and snippets.

Copyright (c) 2011 ZURB, http://www.zurb.com/
@geedmo
geedmo / carousel-fade.less
Last active December 15, 2015 17:39
Bootstrap Carousel Fade
@geedmo
geedmo / flush.less
Last active December 15, 2015 18:49
Kickstrap Flush Grid - with fluid grid support
// FLUSH GRIDS
// -------------------------
.row-fluid [class*="span"].flush, // increase specifity
[class*="span"].flush, {
margin-left: 0;
}
.spanXflush (@index) when (@index > 0) {
(~".span@{index}.flush") {
@geedmo
geedmo / lorem.jade
Last active July 10, 2019 03:36
Lorem Ipsum generator mixin for Jade (single paragraph)
//- ----------------------------------
//- Usage:
//- include lorem
//- p
//- mixin lorem(25)
//- ----------------------------------
//- new sentece after N words
- var colonEvery = 10
@geedmo
geedmo / gist:6893318
Created October 8, 2013 23:03
snippet to chain sync methods to an initial async
// snippet to chain sync methods to an initial async
_then: function(f) {
this._q = this._q || [];
this._q.push(f);
return this;
},
// continue execution
_done: function() {
var m;
while( (m = this._q.shift()) )
@geedmo
geedmo / coop.ledger
Created December 6, 2020 12:46 — forked from lackac/coop.ledger
C 1.0000d = 8h ; 8-hour work days
D £1,000.00 ; default currency and formatting
; First approach: automatically set value for work delivered by person at their
; current rate
; Issue: since time is seconds-based the day rate needs to be divided by 1 day
; to arrive at the 'second rate'. This somehow is rounded to two decimals which
; means that the below is incorrect when being used. It will result in a
; multiplier that's either `0.01` or `0.02`.
= /^Work:Client:Project:Alice/
@geedmo
geedmo / mbsync-notify.sh
Created November 19, 2023 04:31 — forked from jt0in3e/mbsync-notify.sh
Sync emails with mbsync and get notifications on new emails
#!/usr/bin/bash
#
# Script to notify user for new mails.
# Crontab ex:
# */3 * * * * $HOME/.local/scripts/mbsync-notify.sh [acc_name]
#
# do not duplicate
killall mbsync &>/dev/null