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
namespace :gem | |
task :spec => :version do | |
file = File.new(__DIR__ + "fold.gemspec", 'w+') | |
spec = %{ | |
Gem::Specification.new do |s| | |
s.name = "fold" | |
s.version = "#{@version}" | |
s.platform = Gem::Platform::RUBY | |
s.has_rdoc = false | |
s.summary = "Toolkit for creating whitespace active mini-languages. Inspired by Haml. Feature light." |
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
Cache-Control:3600 | |
Connection:keep-alive | |
Content-Encoding:gzip | |
Content-Type:application/javascript | |
Date:Thu, 04 Sep 2014 20:49:28 GMT | |
etag:"da61b0fbe99dd7a95220af00ffe17231" | |
last-modified:Wed, 03 Sep 2014 21:00:27 GMT | |
Server:NetDNA-cache/2.2 | |
Transfer-Encoding:chunked | |
Vary:Accept-Encoding |
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
form.ajaxForm().ajaxSubmit({ | |
// target: "#divToUpdate", | |
url: that._options.uploadUrl, | |
// dataType: "json", | |
method: "POST", | |
iframe: true, | |
success: function(response) { | |
that.insertImage(response, | |
form.find(that._options.titleSelector).val(), | |
form.find(that._options.altSelector).val()); |
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
$.password | |
:blur | |
if @value === "" | |
.hide() | |
var faux = $this.prev() | |
faux.show().val(faux.attr('default_value')) | |
.blur() | |
$.faux-password |
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
Strangly, this breaks with Mongrel when uploading a matching "*.mp3" (possibly others) |
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
$.password | |
:blur | |
if @value === "" | |
.hide() | |
// Eventually, indenting beneath something will set it as the context | |
.prev() | |
.show().val(@default_value) | |
.blur() | |
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
module Johnson | |
module Nodes | |
attr_accessor :value | |
class FallThrough < Node | |
def initialize(_row, _column, value) | |
@value = value | |
end | |
end | |
end | |
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
require 'rubygems' | |
require 'pathname' | |
__DIR__ = Pathname.new(__FILE__).dirname.expand_path | |
eval (__DIR__+".irbrc").read if (__DIR__+".irbrc").exist? |
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>About | Janet Ferguson Full Stack Web Developer</title> | |
<!--[if lt IE 9]> | |
<script src="dist/html5shiv.js"></script> | |
<![endif]--> | |
</head> | |
<body> |
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
1) "before each" hook: | |
Error: timeout of 2000ms exceeded. Ensure the done() callback is being called in this test. | |
at null.<anonymous> (/bin/v0.10.35/lib/node_modules/mocha/lib/runnable.js:170:19) | |
at Timer.listOnTimeout [as ontimeout] (timers.js:112:15) |
OlderNewer