A Pen by Evan Lovely on CodePen.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ---- | |
// Sass (v3.3.6) | |
// Compass (v1.0.0.alpha.18) | |
// ---- | |
body.product { | |
.select { | |
color: blue; | |
.product--special & {// I want this to be body.product.product--special .select | |
color: red; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set _name to "name" | |
set _note to "note" | |
tell application "Reminders" | |
make new reminder with properties {name:_name, body:_note, due date:((current date) + 3 * days)} | |
end tell |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set _name to "name" | |
set _note to "note" | |
tell application "Reminders" | |
make new reminder with properties {name:_name, body:_note} | |
end tell |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--Script for setting Reminders for LaunchBar and Alfred | |
--For Alfred, Applescript must NOT be set to run in Background otherwise date parsing does not work | |
--For LaunchBar, place the script in ~/Library/Scripts/LaunchBar | |
--by Michelle L. Gill, 10/07/2012 | |
--Inspired by https://gist.github.com/3187630 | |
--A related Alfred version 2 workflow can be found here: https://github.com/mlgill/alfred-workflow-create-reminder | |
--Changes | |
--02/01/2013 * Fixed an issue with setting the time when the hour is 12 and AM/PM (12-hour clock) is used | |
-- * Removed the ability to set seconds for the time since Reminders doesn't recognize them |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Grab a URL from Chrome, Safari, Mail, Contacts, Finder, TextEdit, Omnifocus, Chrome Canary, or FoldingText | |
# Borrowed from: http://www.alfredforum.com/topic/917-reminders/?hl=reminders | |
tell application (path to frontmost application as text) | |
set theApplication to get name | |
end tell | |
set theText to "" | |
set theBody to "" | |
if theApplication is "Google Chrome" then | |
tell application id "com.google.chrome" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@mixin retina-inline-image($img, $fallback) { | |
background-image: inline-image($img); | |
background-size: (image-width($img) / 2) (image-height($img) / 2); | |
.no-backgroundsize & { | |
background-image: image-url($fallback); | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ---- | |
// Sass (v3.3.7) | |
// Compass (v1.0.0.alpha.18) | |
// ---- | |
@mixin estee-extender($extendable, $mq:false) { | |
@if $mq { | |
background: green; | |
} @else { | |
@extend %#{$extendable}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ---- | |
// Sass (v3.3.7) | |
// Compass (v1.0.0.alpha.18) | |
// ---- | |
@mixin estee-extender($extendable, $mq:false) { | |
@if $mq { | |
@extend %#{$extendable}-#{$mq}; | |
} @else { | |
@extend %#{$extendable}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |