This file contains 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
%icon { | |
font-family: $icon-font; //set as a variable - it's whatever your icon font name is | |
speak: none; | |
font-weight: normal; | |
font-variant: normal; | |
text-transform: none; | |
line-height: 1; | |
-webkit-font-smoothing: antialiased; | |
} |
This file contains 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
# Author: Brandon Mathis | |
# Description: Provides plugins with a method for wrapping and unwrapping input to prevent Markdown and Textile from parsing it. | |
# Purpose: This is useful for preventing Markdown and Textile from being too aggressive and incorrectly parsing in-line HTML. | |
module TemplateWrapper | |
# Wrap input with a <div> | |
def safe_wrap(input) | |
"<div class='bogus-wrapper'><notextile>#{input}</notextile></div>" | |
end | |
# This must be applied after the | |
def unwrap(input) |
This file contains 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
## Prepare ################################################################### | |
# Remove RVM | |
rvm implode | |
# Ensure your homebrew is working properly and up to date | |
brew doctor | |
brew update | |
## Install ################################################################### |
This file contains 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
var locations = [ | |
['Bondi Beach', '850 Bay st 04 Toronto, Ont'], | |
['Coogee Beach', '932 Bay Street, Toronto, ON M5S 1B1'], | |
['Cronulla Beach', '61 Town Centre Court, Toronto, ON M1P'], | |
['Manly Beach', '832 Bay Street, Toronto, ON M5S 1B1'], | |
['Maroubra Beach', '606 New Toronto Street, Toronto, ON M8V 2E8'] | |
]; | |
var map = new google.maps.Map(document.getElementById('map'), { | |
zoom: 10, |
This file contains 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
/* global -$ */ | |
'use strict'; | |
var gulp = require('gulp'); | |
var $ = require('gulp-load-plugins')(); | |
var browserSync = require('browser-sync'); | |
var reload = browserSync.reload; | |
gulp.task('styles', function () { | |
return gulp.src('app/css/main.scss') |
This file contains 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
# --------------------------------------------------------------------------- | |
# | |
# Description: This file holds all my BASH configurations and aliases | |
# | |
# Sections: | |
# 1. Environment Configuration | |
# 2. Make Terminal Better (remapping defaults and adding functionality) | |
# 3. File and Folder Management | |
# 4. Searching | |
# 5. Process Management |
This file contains 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
/** | |
* A very simple, pragmatic Sass mixin for generating any property with an rgba() colour | |
* and its associated fallback (sourced from the original rgba() colour). | |
* | |
* Do not use if you require a fallback vastly different from the rgba(). | |
* | |
* 1. Strip the alpha value and write out a solid rgb() color. | |
* 2. Drop the red, green, blue, and alpha paramaters into the relevant places. | |
*/ | |
@mixin rgba($property, $red, $green, $blue, $alpha) { |
This file contains 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
<div class="container"> | |
<div class="flash"></div> | |
<div class="solid"></div> | |
<div> | |
<ul id="images"> | |
<li><img class="img1" src="" /></li> | |
<li><img class="img1" src="" /></li></ul> | |
</div> | |
</div> |
This file contains 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
/* From Sass for Web Designers by Dan Cederholm (A Book Apart No.10) */ | |
@mixin rounded($radius){ | |
-webkit-border-radius: $radius; | |
-moz-border-radius: $radius; | |
border-radius: $radius; | |
} | |
@mixin shadow($x, $y, $blur, $color){ | |
-webkit-box-shadow: $x $y $blur $color; | |
-moz-box-shadow: $x $y $blur $color; |
This file contains 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
<!-- the standard loop for all your posts --> | |
{% for post in site.posts %} | |
<!-- check if there is a portfolio thing set inside the Front Matter | |
Note: Do not set "portfolio: false" on normal posts - this is not needed | |
and could lead to problems | |
--> | |
{% if post.portfolio %} | |
<!-- do nothing here --> | |
{% endif %} |
OlderNewer