These commands are good as of 2011-07-27.
App store http://itunes.apple.com/us/app/xcode/id448457090?mt=12) The download/install takes awhile so start it first. When it finishes downloading you will still need to run it to complete installation.
// ---------------------------------------------------------------------------- | |
// markItUp! | |
// ---------------------------------------------------------------------------- | |
// Copyright (C) 2008 Jay Salvat | |
// http://markitup.jaysalvat.com/ | |
// ---------------------------------------------------------------------------- | |
// Html tags | |
// http://en.wikipedia.org/wiki/html | |
// ---------------------------------------------------------------------------- | |
// Basic set. Feel free to add more tags |
#!/bin/bash | |
mkdir /tmp/chromedownload && cd /tmp/chromedownload | |
curl http://build.chromium.org/f/chromium/snapshots/chromium-rel-mac/LATEST -o /tmp/chromedownload/LATEST --silent && LATEST=`cat /tmp/chromedownload/LATEST` | |
curl http://build.chromium.org/f/chromium/snapshots/chromium-rel-mac/$LATEST/chrome-mac.zip -o /tmp/chromedownload/chrome-mac.zip --silent | |
unzip -qq /tmp/chromedownload/chrome-mac.zip | |
cp -R /tmp/chromedownload/chrome-mac/Chromium.app /Applications | |
rm -rf /tmp/chromedownload |
// Test for nth-child(...n) support | |
Modernizr.testStyles(" #modernizr div:nth-child(3n){width:10px;} ", function(elem, rule){ | |
var bool = false, divs = elem.getElementsByTagName("div"); | |
if (divs.length == 7){ | |
var test = window.getComputedStyle ? function(i){ | |
return getComputedStyle(divs[i], null)["width"] == "10px"; | |
} : function(i){ | |
return divs[i].currentStyle["width"] == "10px"; | |
}; | |
bool = !test(0) && !test(1) && test(2) && !test(3) && !test(4) && test(5) && !test(6); |
public function search() | |
{ | |
Console::log($this->input->get_post('search_feeds')); | |
$data = array( | |
'search_feeds' => $this->input->get_post('search_feeds') | |
); | |
Console::log($data); | |
$this->form_validation->set_data($data); |
{ | |
"cmd": ["grunt", "develop"], | |
"selector": ["source.js", "source.less", "source.json"], | |
"path": "/usr/bin" | |
} |
--- | |
layout: post | |
title: "Post with images from Flickr" | |
date: 2012-07-19 15:19 | |
comments: true | |
categories: art | |
--- | |
A big image: |
===Install Octopress=== | |
git clone git://github.com/imathis/octopress.git | |
cd octopress | |
gem install bundler rake --no-rdoc --no-ri | |
bundle install | |
rake install | |
===Start Blogging=== |
These commands are good as of 2011-07-27.
App store http://itunes.apple.com/us/app/xcode/id448457090?mt=12) The download/install takes awhile so start it first. When it finishes downloading you will still need to run it to complete installation.
These commands are good as of 2011-07-27.
App store http://itunes.apple.com/us/app/xcode/id448457090?mt=12) The download/install takes awhile so start it first. When it finishes downloading you will still need to run it to complete installation.
$(document).ready(function() { | |
// Support for AJAX loaded modal window. | |
// Focuses on first input textbox after it loads the window. | |
$('[data-toggle="modal"]').click(function(e) { | |
e.preventDefault(); | |
var href = $(this).attr('href'); | |
if (href.indexOf('#') == 0) { | |
$(href).modal('open'); | |
} else { |