npm, nodeは事前に導入済み
$ npm install -g grunt-cli
$ mkdir hogehoge
| on work_folder(the_path) | |
| tell application "Finder" | |
| set the_files to every file of the_path | |
| repeat with afile in the_files | |
| peel_label(afile) of me | |
| end repeat | |
| set the_folders to every folder of the_path | |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta http-equiv="content-type" content="text/html; charset=UTF-8"> | |
| <title></title> | |
| <script type='text/javascript' src='http://code.jquery.com/jquery-git2.js'></script> | |
| <style type='text/css'> | |
| .selected { | |
| background: #f00; | |
| } |
| var App = { | |
| Views: {}, | |
| Models: {}, | |
| Collections: {} | |
| }; | |
| App.Models.Item = Backbone.Model.extend({ | |
| defaults: function() { | |
| return { | |
| viewtype: '', |
| module.exports = (grunt) -> | |
| grunt.loadNpmTasks 'grunt-contrib-watch' | |
| grunt.loadNpmTasks 'grunt-contrib-concat' | |
| grunt.initConfig | |
| pkg: grunt.file.readJSON 'package.json' | |
| watch: | |
| options: | |
| livereload: true |
| $(function() { | |
| var tag = document.createElement('script'); | |
| tag.src = "https://www.youtube.com/iframe_api"; | |
| var firstScriptTag = document.getElementsByTagName('script')[0]; | |
| firstScriptTag.parentNode.insertBefore(tag, firstScriptTag); | |
| }); | |
| var YTAPIReady = false; | |
| function onYouTubeIframeAPIReady() { |
| $ ruby -rwebrick -e "WEBrick::HTTPServer.new(:DocumentRoot => './', :Port => 8000).start" |
| " Swap ; and : | |
| nnoremap ; : | |
| nnoremap : ; |
Backbone.Marionette
findByCid
Sublime Text: The text editor you'll fall in love with http://www.sublimetext.com/ SublimeText2設定メモ #SublimeText2 - Qiita [キータ] http://qiita.com/items/bdaf54839dc12babefb4
Install the "Command Line Tools for Xcode
Homebrew — MacPorts driving you to drink? Try Homebrew! http://mxcl.github.io/homebrew/
$ ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)"