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
require 'fileutils' | |
class Jekyll < Thor | |
include FileUtils | |
method_options :format => :optional | |
def draft(name) | |
format = options[:format] || "markdown" | |
slug = name.downcase.gsub(/ +/,'-').gsub(/[^-\w]/,'').sub(/-+$/,'') | |
filename = slug + ".#{format}" |
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
// forked from sakef's "マウスから逃げる (JS ver.)" http://jsdo.it/sakef/uVU9 | |
var MARGIN = 100; | |
var NUM_CIRCLE = 130; | |
var RADIUS = 30; | |
var PADDING = 50; | |
var width; | |
var height; | |
var context; | |
var mouxeX; |
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 text-align: centaur; polyfill | |
// by paul irish | |
// it will find any styles that use `text-align: centaur` and instantly centaurize that text! | |
// uses the JSCSSP parser by Daniel Glazman | |
// thx to cameron daigle for march 2011's best javascript. | |
// http://textaligncentaur.com/ |
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
--- | |
layout: nil | |
--- | |
CACHE MANIFEST | |
# rev {{ site.time | date_to_xmlschema }} | |
/index.html | |
/css/main.css | |
/css/syntax.css | |
/favicon.ico | |
{% for post in site.posts %}{{ post.id }}/ |
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
@media only screen and (min-device-width: 320px) and (max-device-width: 1024px) | |
html | |
-webkit-text-size-adjust: none |
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
{% for post in site.posts limit:5 %} | |
<div class="box"> | |
<h3>{{post.title}}</h3> | |
<div class="clearfix"></div> | |
<div class="right big"> | |
{% assign breakIndex = -1 %} | |
{% for element in post.content %} | |
{% if element contains '<!--more-->' %} | |
{% assign breakIndex = forloop.index %} | |
{% endif %} |
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
bootstrap-tooltip.js | |
bootstrap-popover.js | |
bootstrap-alert.js | |
bootstrap-button.js | |
bootstrap-carousel.js | |
bootstrap-collapse.js | |
bootstrap-dropdown.js | |
bootstrap-modal.js | |
bootstrap-scrollspy.js | |
bootstrap-tab.js |
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
#!/bin/bash | |
LINES=$(tput lines) | |
COLUMNS=$(tput cols) | |
declare -A snowflakes | |
declare -A lastflakes | |
clear |
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
/** | |
* CSS3 Border-Radius with Border - Circle Avatars | |
*/ | |
/* General Styles */ | |
body { background: url(http://subtlepatterns.com/patterns/white_texture.png); | |
font: 100 14px sans-serif; | |
color: #444555; text-shadow: 0 2px white; | |
text-align: center; |
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
/* | |
* Mosaic - jQuery Version | |
* | |
* Released on 21th December 2011. | |
* | |
* Copyright (c) 2010-2011 René Kersten, http://pixel-webarts.de | |
* | |
* Licensed under the terms of MIT License. | |
* | |
*/ |
OlderNewer