- Download the ISO. Let's assume it's in
~/Downloads
. - Convert the ISO to DMG format:
hdiutil convert -format UDRW -o isis elementaryos-unstable-amd64.20140529.iso
. - Insert your >1GB USB drive into your Mac.
- Determine and make note of the mount point of your USB drive.
// Main containers | |
.container | |
@include outer-container | |
// Rows | |
.row | |
@include row() | |
// A basic column without a defined width or height |
diff --git a/lib/jekyll.rb b/lib/jekyll.rb | |
index b0401b9..26936e6 100644 | |
--- a/lib/jekyll.rb | |
+++ b/lib/jekyll.rb | |
@@ -66,7 +66,7 @@ module Jekyll | |
'future' => true, # remove and make true just default | |
'pygments' => true, # remove and make true just default | |
- 'markdown' => 'maruku', | |
+ 'markdown' => 'multimarkdown', |
#!/usr/bin/env ruby | |
# encoding: utf-8 | |
# nvAir: a First Class way to use nvALT/Notational Velocity with the worst documentation ever! | |
# Built by: Brett Terpstra, <http://brettterpstra.com> | |
# Destination: WikiLinks and [[wiki links]] to nvALT notes from anywhere on your system. | |
# This script is at your Service. (You can make it into a System Service with Automator, I mean). | |
# | |
# Security line is short today! Please have a photo id in hand. | | |
# I just need to see your ticket and the folder where you store your note files. o_________(_)________o | |
$notes_path = '~/Dropbox/nvALT2.2/' # o^o X \_/ X o^o |
Article by Faruk Ateş
One of the most commonly overlooked and under-refined elements of a website is its pagination controls. In many cases, these are treated as an afterthought. I rarely come across a website that has decent pagination, and it always makes me wonder why so few manage to get it right. After all, I'd say that pagination is pretty easy to get right. Alas, that doesn't seem the case, so after encouragement from Chris Messina on Flickr I decided to write my Pagination 101, hopefully it'll give you some clues as to what makes good pagination.
Before going into analyzing good and bad pagination, I want to explain just what I consider to be pagination: Pagination is any kind of control system that lets the user browse through pages of search results, archives, or any other kind of continued content. Search results are the obvious example, but it's good to realize that paginat
# Font Squirrel Font-face Generator Configuration File | |
# Upload this file to the generator to recreate the settings | |
# you used to create these fonts. | |
{"mode":"expert","formats":["ttf","woff","eot","svg"],"tt_instructor":"default","options_subset":"advanced","subset_custom":"","subset_custom_range":"f000-f073,f200-f273","filename_suffix":"-webfont","emsquare":"2048","spacing_adjustment":"0","rememberme":"Y"} |
<IfModule mod_expires.c> | |
ExpiresActive on | |
# Perhaps better to whitelist expires rules? Perhaps. | |
ExpiresDefault "access plus 1 month" | |
# Data | |
ExpiresByType text/xml "access plus 0 seconds" | |
ExpiresByType application/xml "access plus 0 seconds" | |
ExpiresByType application/json "access plus 0 seconds" |
This gist assumes:
- you have a local git repo
- with an online remote repository (github / bitbucket etc)
- and a cloud server (Rackspace cloud / Amazon EC2 etc)
- your (PHP) scripts are served from /var/www/html/
- your webpages are executed by apache
- apache's home directory is /var/www/
<nav class='paginator' role='toolbar'> | |
<ul class='goto-pages'> | |
<li class='goto-search'> | |
<a href="#search" class="search-pages" title="Toggle Advanced Search">⌕</a> | |
</li> | |
<li class='goto-page'> | |
<a href="/admin/users?page=1" aria-disabled="true" class="first-page disabled" data-page="1" rel="first" title="Go to the first page">⇤</a> | |
</li> | |
<li class='goto-page'> | |
<a href="/admin/users?page=1" aria-disabled="true" class="prev-page disabled" data-page="1" rel="prev" title="Go to page 1">⇠</a> |