- Scott Chacon on the Interwebs(リンク切れ)
- Scott Chacon on the Interwebs
- GitHub Flow - The best way to use Git and GitHub
31 Aug 2011
# Turn off MultiViews | |
Options -MultiViews | |
# Directive to ensure *.rdf files served as appropriate content type, | |
# if not present in main apache config | |
AddType application/rdf+xml .rdf | |
# Rewrite engine setup | |
RewriteEngine On | |
RewriteBase /irc/2008/09/25 |
namespace :minifier do | |
JAR = "/Users/blanders/MyDocs/Library/yuicompressor.jar" | |
def minify(files) | |
files.each do |file| | |
next if file =~ /\.min\.(js|css)/ | |
minfile = file.sub(/\.js$/, ".min.js").sub(/\.css$/, ".min.css") | |
cmd = "java -jar #{JAR} #{file} -o #{minfile}" |
Copyright (c) 2011 ZURB, http://www.zurb.com/ |
set listOfNames to {} | |
set theFolder to choose folder "Select the source folder" | |
tell application "Finder" | |
set filelist to every file of the folder theFolder | |
repeat with currentFile in filelist | |
set currentFileName to (the name of currentFile) | |
set nom to currentFileName | |
if text -4 of nom is "." then | |
set currentFileName to (text 1 thru -5 of nom) |
An ongoing project to catalogue all of these sneaky, hidden, bleeding edge selectors as I prepare my JSConf EU 2012 talk.
Everything is broken up by tag, but within each the selectors aren't particularly ordered.
I have not tested/verified all of these. Have I missed some or got it wrong? Let me know. - A
A friendly reminder that you may need to set this property on your target/selected element to get the styling results you want:
-webkit-appearance:none;
module Jekyll | |
class CategoryAwareNextGenerator < Generator | |
safe true | |
priority :high | |
def generate(site) | |
site.categories.each_pair do |category_name, posts| | |
posts.sort! { |a, b| b <=> a } |