Detailed instructions on how to use these scripts coming soon!
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
<!DOCTYPE NETSCAPE-Bookmark-file-1> | |
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8"> | |
<!-- This is an automatically generated file. | |
It will be read and overwritten. | |
Do Not Edit! --> | |
<TITLE>Bookmarks</TITLE> | |
<H1>Bookmarks</H1> | |
<DL><p> | |
<DT><A HREF="https://developer.apple.com/library/mac/releasenotes/InterapplicationCommunication/RN-JavaScriptForAutomation/index.html#//apple_ref/doc/-%20uid/TP40014508" ADD_DATE="1414706885" PRIVATE="0" TAGS="javascript,mac,osx,yosemite">JavaScript for Automation Release Notes</A> | |
<DD>This article describes JavaScript for Automation, a new feature in OS X Yosemite. |
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
<li data-url="http://waterpigs.co.uk/notes/4WXEyS/" id="external_http_waterpigs_co_uk_notes_4WXEyS_" class="h-cite"> | |
<div class="inner"> | |
<div class="minicard h-card vcard author p-author"> | |
<div style="position: relative; width: 48px; height: 48px; float: left; margin-right: 6px;"> | |
<img width="48" alt="Barnaby Walters" src="http://waterpigs.co.uk/photo.jpg" class="photo logo u-photo"> | |
</div> | |
<a class="u-url" href="http://waterpigs.co.uk">waterpigs.co.uk</a> | |
<a href="http://waterpigs.co.uk" class="p-name fn value name">Barnaby Walters</a> | |
</div> | |
<div class="quote-text"> |
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
module Jekyll | |
class TagPage < Page | |
def initialize(site, base, dir, data = {}) | |
@site = site | |
@base = base | |
@dir = dir | |
@name = 'index.html' | |
data['layout'] = 'posts-list' | |
data['title'] = "Posts tagged “#{data['tag']}”" |
I hereby claim:
- I am jgarber623 on github.
- I am jgarber (https://keybase.io/jgarber) on keybase.
- I have a public key whose fingerprint is 35A3 1BAF B39E 1B75 7C44 AD51 9B42 99FC 6226 685E
To claim this, I am signing this object:
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
// Define those colors. | |
$profiles: ( | |
bandcamp: #4e9bac, | |
delicious: #248cff, | |
facebook: #3b5998, | |
ficly: #b51c2c, | |
flickr: #0063db, | |
github: #4183c4, | |
googleplus: #dd4b39, |
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
// display: block | |
@mixin block( $width: 0, $height: 0 ) { | |
display: block; | |
height: $height; | |
width: $width; | |
} | |
// CSS3: backface-visibility | |
@mixin backface-visibility( $style: visible ) { |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<title><?php echo $page_title; ?></title> | |
</head> | |
<body> | |
<?php echo $content_for_layout; ?> |
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
// RegExplanation: Match last occurrence of "_<string>_" and replace with "_<new_string>_" | |
some_string.replace( /^(.*)_.+_(.*?)$/, "$1_" + new_fields_index + "_$2" ), | |
// RegExplanation: Match last occurrence of "][<string>][" and replace with "][<new_string>][" | |
some_string.replace( /^(.*)\]\[.+\]\[(.*?)$/, "$1\]\[" + new_fields_index + "\]\[$2" ) |
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 date_utils = { | |
shift: function( date_obj, delta_in_days ) { | |
return new Date( date_obj.getTime() + ( delta_in_days * 86400000 ) ); | |
}, | |
epochTime: function( date_obj ) { | |
return date_obj.getTime(); | |
} | |
} |