hcd DIR |
Go to DIR in your $HASHROCKET_DIR |
---|---|
ll |
List contents of directory in long format |
This file contains hidden or 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
#!/usr/bin/env ruby | |
require 'bundler' | |
Bundler.setup(:default, :development) | |
require 'rack-debug/debugger' | |
require 'pry-remote' | |
system('rm', '-fv', 'tmp/rack-debug.*') | |
fork { exec 'bundle', 'exec', 'passenger', 'start' } |
This file contains hidden or 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
window.Hackbone = (function () { | |
var hackbone, setupEvents; | |
hackbone = { | |
extend: function (prototype) { | |
var view = Backbone.View.extend(prototype), | |
selector = view.prototype.el; | |
if (typeof selector !== 'undefined') { |
This file contains hidden or 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
require 'active_support/all' | |
class FakeRegexp | |
def initialize(pattern) | |
@pattern = pattern | |
end | |
def matches?(str) | |
case | |
when pattern.empty? |
This file contains hidden or 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
http://mirrors.kernel.org/ubuntu/pool/main/i/icu/libicu48_4.8.1.1-3ubuntu0.5_amd64.deb | |
http://mirrors.kernel.org/ubuntu/pool/main/i/icu/libicu-dev_4.8.1.1-3ubuntu0.5_amd64.deb |
This file contains hidden or 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> | |
<head> | |
<title>ScriptEd Unit 10 Project: Facebook wall</title> | |
</head> | |
<body> | |
<div class="container"> | |
<h1>ScriptEd Unit 10 Project: Facebook wall</h1> | |
<hr/> | |
This file contains hidden or 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
>> base = Addressable::URI.parse('http://example.com/one/two') | |
=> #<Addressable::URI:0x8add0da8 URI:http://example.com/one/two> | |
>> base + 'some/path' | |
=> #<Addressable::URI:0x8adcc910 URI:http://example.com/one/some/path> | |
>> base + '/some/path' | |
=> #<Addressable::URI:0x8adcaafc URI:http://example.com/some/path> | |
>> base + 'http://different.domain.com/some/path' | |
=> #<Addressable::URI:0x8adbe16c URI:http://different.domain.com/some/path> |
This file contains hidden or 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
<genius-callout> | |
<genius-callout-intro> | |
Want to add your own comment? | |
</genius-callout-intro> | |
<genius-callout-highlight> | |
Highlight text | |
</genius-callout-highlight> | |
and click | |
<genius-callout-prompt></genius-callout-prompt> | |
to annotate using |
This file contains hidden or 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
<genius-callout>To see an annotation, click or tap the <genius-callout-highlight>highlighted part</genius-callout-highlight> of the transcript; if you would like to leave your own annotations, make sure you have a <a href="http://genius.com/">Genius account</a>. Post staff annotations will appear by default; others are in a menu that you can see in the upper right when you click or tap on an annotation.</genius-callout> |