Skip to content

Instantly share code, notes, and snippets.

Avatar
💭
Workin’

Eric Eggert yatil

💭
Workin’
View GitHub Profile
View gist:9932016
Process: Arq [75849]
Path: /Applications/Arq.app/Contents/MacOS/Arq
Identifier: com.haystacksoftware.Arq
Version: 4.1.3 (4.1.3)
Code Type: X86-64 (Native)
Parent Process: launchd [269]
Responsible: Arq [75849]
User ID: 501
Date/Time: 2014-04-02 13:03:28.906 +0200
View dabblet.css
body { font-family: sans-serif; font-size: 3em }
ul.inline li { display: inline; }
ul.inline li::before { content: '' ; }
ul.inline li::after { content: ', ' ; }
ul.inline li:nth-last-child(2)::after { content: ' &' ; }
ul.inline li:last-child::after { content: '.' ; }
View dabblet.css
body {
font-family: 'Helvetica';
font-size:20px;
}
section {
display:flex;
justify-content: center;
margin-bottom:30px;
}
View Gruntfile.js
/*global module:false*/
'use strict';
module.exports = function(grunt) {
// Project configuration.
grunt.initConfig({
pkg: '<json:package.json>',
compass: {
View jquery.flexslider.js
/*
* jQuery FlexSlider v1.8
* http://www.woothemes.com/flexslider/
*
* Copyright 2012 WooThemes
* Free to use under the MIT license.
* http://www.opensource.org/licenses/mit-license.php
*
* Contributing Author: Tyler Smith
*
View .htaccess
# HTTP(S) Stuff
# Redirect all users except IE 5-8 & Android < 4 to HTTPS
RewriteCond %{SERVER_PORT} !^443$
RewriteCond %{HTTP_USER_AGENT} !MSIE\ [5-8]
RewriteCond %{HTTP_USER_AGENT} !Android.*(Mobile)?\ [0-3]
RewriteRule (.*) https://%{HTTP_HOST}/$1 [L]
View dabblet.css
body {
font-family: Arial;
font-size: 3em;
}
a:after {
content: ' Link';
}
.first:after:hover {
View didntwork.scss
@function rem($property, $sizeValue: 1) {
@return #{$property} + ':' + ($sizeValue * $basefontsize) + 'px;' + #{$property} + ':' + $sizeValue + 'rem;';
}
@include rem(padding, .5);
// Expected output:
padding: 8px;
padding: 0.5rem;
View dabblet.css
#test {
margin: 0 auto;
width: 200px;
}
p:not(.expand) {
overflow: hidden;
text-overflow:ellipsis;
white-space: nowrap;
}
@yatil
yatil / config.rb
Created Jan 29, 2013
My default config.rb
View config.rb
# Require any additional compass plugins here.
# Set this to the root of your project when deployed:
http_path = "/"
css_dir = "css"
sass_dir = "sass"
images_dir = "img"
javascripts_dir = "js"
# You can select your preferred output style