Skip to content

Instantly share code, notes, and snippets.

View caycefischer's full-sized avatar

Cayce caycefischer

  • Toronto
View GitHub Profile
@caycefischer
caycefischer / mq.scss
Created September 26, 2012 02:56 — forked from antsa/mq.scss
Media Query mixin - @MQ
// A mixin for media queries: @mq
//
// Use with keywords in $medias array:
// @include mq($media: wide) {
// ...
// }
//
// Or use with manual queries:
// @include mq("all and (min-width:33em)") {
// ...
@caycefischer
caycefischer / index.html
Created September 23, 2012 20:01
Just Harry Roberts' nav abstraction, robust-ified with code to eliminate the whitespace between inline-block elements. I have to do this every time anyway, so now it's built into the snippet. Monospace font is set to ensure the amount of space is as cons
<div class="nav">
<li class="box"><a href="">One</a></li>
<li class="box"><a href="">Two</a></li>
<li class="box"><a href="">Three</a></li>
</div>
@caycefischer
caycefischer / lemonPoppyseedMuffins.md
Created September 7, 2012 00:02
Lemon-Poppyseed Muffins

Lemon Poppy-seed Muffins

  • 2 eggs
  • ¼ cup canola oil + ½ cup plain yogourt (can substitute with ¾ cup canola oil)
  • ¾ cup milk
  • ½ tsp vanilla
  • ¼ cup poppy seeds

Combine all that in one bowl, then in another bowl mix the following:

@caycefischer
caycefischer / html5-hnews.html
Created September 6, 2012 16:21
HTML5 Article Structure with hNews
<!-- via CSS Tricks
http://css-tricks.com/snippets/html/html5-article-structure-with-hnews/
-->
<article class="hentry">
<header>
<h1 class="entry-title">But Will It Make You Happy?</h1>
<time class="updated" datetime="2010-08-07 11:11:03-0400" pubdate>08-07-2010</time>
<p class="byline author vcard">
By <span class="fn">Stephanie Rosenbloom</span>
@caycefischer
caycefischer / jekyllSyntaxHighlighting.md
Created July 30, 2012 02:19
Various Methods of Syntax Highlighting w/ Jekyll

1. Highlighting the Jekyll way.

This method uses Liquid tags and works when published to Github Pages. It doesn't work in Github's viewer when browsing the repo.

{{ "{% highlight html linenos "}}%}
<div>this is some preformatted code</div>
{{ "{% endhighlight "}}%}

2. Highlighting the Markdown way

@caycefischer
caycefischer / better-gist-styles.css
Created July 30, 2012 01:08 — forked from jnrbsn/better-gist-styles.css
Better styles for embedding GitHub Gists
/* Better styles for embedding GitHub Gists */
.gist{font-size:13px;line-height:18px;margin-bottom:20px;width:100%}
.gist pre{font-family:Menlo,Monaco,'Bitstream Vera Sans Mono','Courier New',monospace !important}
.gist-meta{font-family:Helvetica,Arial,sans-serif;font-size:13px !important}
.gist-meta a{color:#26a !important;text-decoration:none}
.gist-meta a:hover{color:#0e4071 !important}
@caycefischer
caycefischer / GitHub 2.css
Created July 29, 2012 16:49 — forked from ngs/GitHub 2.css
New GitHub CSS for Mou.app
body {
font-size: 14px;
line-height: 1.6;
background-color: white;
font: 13.34px helvetica,arial,freesans,clean,sans-serif;
*font-size: small;
color: black;
}
table {
@caycefischer
caycefischer / webdev-candyland.md
Last active July 26, 2020 04:23
setting up my web development environment on Mountain Lion

Setting up Mac OSX Lion for Web Development

These are the steps I take to set up a new install of OSX Mountain Lion for web development.


1. Tweak some OS X "hacker defaults"

Run my fork of Mathias Bynens' legendary script:

@caycefischer
caycefischer / apacheSetup
Created July 26, 2012 07:53
Apache Setup (Mountain Lion)
# a script following this guide:
# http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion
# for enabling apache on OS X Mountain Lion
# ---
#start up apache
sudo apachectl start
# create ~/Sites
@caycefischer
caycefischer / dabblet.css
Created July 22, 2012 14:02
css inline svg by Tunghsiao Liu
/**
* Cash icon (c) Tunghsiao Liu
*/
.store {
margin: 0 0 1.1em;
line-height: 1.6;
font-size: 28px;
font-family: 'Helvetica Neue', sans-serif;