Skip to content

Instantly share code, notes, and snippets.

@scdoshi
scdoshi / responsive.sass
Last active December 18, 2015 10:39
Responsive setup for sass
// Responsive ----------------------------------------------------------------
$break-small: 320px;
$break-large: 786px;
@mixin respond-to($media) {
@each $type in $media {
@if $type == narrow {
@media only screen and (max-width: $break-small) { @content; }
}
@else if $type == medium {
@scdoshi
scdoshi / timestamp.py
Created July 24, 2012 22:38 — forked from robcowie/timestamp.py
Insert date and time stamps in Sublime Text 2
# -*- coding: utf-8 -*-
from datetime import datetime
import sublime_plugin
class TimestampCommand(sublime_plugin.EventListener):
"""Expand `isoD`, `now`, `datetime`, `utcnow`, `utcdatetime`,
`date` and `time`
"""