This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div id="calc-app" class="loading">Loading</div> | |
<div class="clear"></div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# TODO: Cap db:push should support rollback or backup in some way | |
# TODO: Better handling of database creation - perhaps make the deploy user a database admin? | |
load 'deploy' if respond_to?(:namespace) # cap2 differentiator | |
Dir['vendor/plugins/*/recipes/*.rb'].each { |plugin| load(plugin) } | |
load 'config/deploy.rb' | |
require 'capistrano/ext/multistage' | |
namespace :deploy do |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# The project repo name. (one word: no spaces, dashes, or underscores) | |
set :application, "wp_capistrano_martian" #FIXME | |
# Legacy from porting from drupal, best to just leave this as "default" | |
set :domains, ["default"] | |
# Set the repository type and location to deploy from. | |
set :scm, :git | |
set :repository, "git@github.com:faddah/wp_capistrano_martian.git" #FIXME | |
# set :scm, :subversion |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ps ax | grep ssh | |
1817 ? Ss 0:00 /usr/bin/sshd -D | |
1886 ? Ss 0:00 /usr/bin/ssh-agent -s | |
3074 pts/0 S+ 0:00 sudo vim /etc/ssh/sshd_config | |
3075 pts/0 S+ 0:00 vim /etc/ssh/sshd_config | |
3165 pts/1 S+ 0:00 grep ssh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ npm ls -g --depth=0 | |
/Users/yuetsu/.npm-packages/lib | |
├── angular@1.5.0 | |
├── angular-animate@1.5.0 | |
├── angular2@2.0.0-beta.1 | |
├── bower@1.7.2 | |
├── browser-sync@2.11.1 | |
├── browserify@13.0.0 | |
├── coffee-script@1.10.0 | |
├── connect@3.4.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Musical Playlist</title> | |
<link rel="stylesheet" href="css/styles.css"> | |
</head> | |
<body> | |
<h1>My Music Playlist</h1> | |
<script src="js/playlist.js"></script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// my answer to step three in code academy module on recursion in JavaScript | |
var stack = []; | |
function countDown(int) { | |
stack.push(int); | |
if (int === 1) { | |
return 1; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Process: Finder [2877] | |
Path: /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder | |
Identifier: com.apple.finder | |
Version: 10.9 (10.9) | |
Build Info: Finder_FE-885000002000000~2 | |
Code Type: X86-64 (Native) | |
Parent Process: launchd [379] | |
Responsible: Finder [2877] | |
User ID: 502 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rename : .subl782.tmp | |
rename : .subled8.tmp | |
rename : .sublf43.tmp | |
rename : .subl898.tmp |