Easily see your grid items, which order they are in, and what classes are applied to them.
A Pen by Evan Lovely on CodePen.
Easily see your grid items, which order they are in, and what classes are applied to them.
A Pen by Evan Lovely on CodePen.
.grid-container { | |
//debugger | |
counter-reset: grid-item; | |
[class*="grid-span-"] { | |
outline: dotted 1px red; | |
position: relative; | |
&:hover { | |
&:before, | |
&:after { | |
background: hsla(0,0%,0%,0.0); |
# Git Checkout Helper | |
gitch() { | |
git branch | |
echo "Branch to checkout? (Fuzzy searching from left to right with space support)" | |
read branch | |
branches=$(git branch | egrep -i "${branch// /.*}" | tr -d ' ') | |
count=$(echo "$branches" | egrep -c ".") | |
if [ "$count" = "1" ]; then | |
git checkout $(echo $branches | tr -d '\n' | tr -d '*') | |
elif [[ "$count" = "0" ]]; then |
# Git Commit Helper | |
gitco() { | |
git status --short --branch --untracked-file=all | |
echo -n "Commit Message: " | |
read msg | |
git add --all :/ | |
git commit -m "$msg" | |
} |
// ---- | |
// Sass (v3.3.8) | |
// Compass (v1.0.0.alpha.18) | |
// ---- | |
.sidebar { | |
@media only screen and (min-width: 641px) { | |
.alt & { | |
color: red; |
// ---- | |
// Sass (v3.3.7) | |
// Compass (v1.0.0.alpha.18) | |
// ---- | |
@mixin color() { | |
color: blue; | |
.ie & { | |
color: red; | |
} |
(* | |
OmniFocus to Sticky Notifications 2.0 | |
This script will take the selected tasks (or projects as well) in OmniFocus and create indiviual reminders in Sticky Notifications. Feel free to change the "title" part of the URL from "OmniFocus" to whatever you like. | |
Copyright 2012 -- [Brandon Pittman](http://brandonpittman.net) | |
Turn Omnifocus Tasks Into Sticky Notifications with AppleScript: | |
http://brandonpittman.net/2012/11/turn-omnifocus-tasks-into-sticky-notifications-with-applescript/ |
# Open the web page from which this git repo was cloned | |
opengiturl() { | |
i="$(git config --get remote.origin.url)" | |
if [[ "$(echo $?)" != "0" ]]; then | |
echo "Not a Git Repository" | |
return 1 | |
fi | |
if [[ "$i" == "git"* ]]; then | |
url="$(echo "$i" | sed 's,.git$,,' | sed 's,:,/,' | sed 's,^git@,http://,')" | |
else |
// ---- | |
// Sass (v3.3.7) | |
// Compass (v1.0.0.alpha.18) | |
// ---- | |
@mixin estee-extender($extendable, $mq:false) { | |
@if $mq { | |
@extend %#{$extendable}-#{$mq}; | |
} @else { | |
@extend %#{$extendable}; |
// ---- | |
// Sass (v3.3.7) | |
// Compass (v1.0.0.alpha.18) | |
// ---- | |
@mixin estee-extender($extendable, $mq:false) { | |
@if $mq { | |
background: green; | |
} @else { | |
@extend %#{$extendable}; |