- Mac OS X 10.8.4+
- Install the latest version of Xcode 5 (currently 5.0.2) from Downloads for Apple Developers or,
#!/bin/bash | |
# works with a file called VERSION in the current directory, | |
# the contents of which should be a semantic version number | |
# such as "1.2.3" | |
# this script will display the current version, automatically | |
# suggest a "minor" version update, and ask for input to use | |
# the suggestion, or a newly entered value. |
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
-- A nice applescript for displaying what's playing in iTunes as follows: | |
-- Song by Artist on Album | |
-- 00:00/00:00 | |
-- Original by Andrew Harrison • [email protected] • http://andrew.harrison.org | |
-- Modified slightly by Chris Montgomery <[email protected]> | |
-- Some parts from Doug's Applescript for iTunes. see below. | |
-- First things first, we're going to check if iTunes is running: |
<?php | |
$list = array("foo", "bar", "baz"); | |
?> | |
<div class="grid"> | |
<!-- | |
<?php foreach ($list as $item) { ?> | |
--><span class="grid__item one-third"><?php echo $item; ?></span><!-- | |
<?php } ?> | |
--> |