Hello you stupid little world.
I find that offensive.
Here is emphasis and different emphasis.
@env = { :label => proc { |(name,val), _| @env[name] = eval(val, @env) }, | |
:car => lambda { |(list), _| list[0] }, | |
:cdr => lambda { |(list), _| list.drop 1 }, | |
:cons => lambda { |(e,cell), _| [e] + cell }, | |
:eq => lambda { |(l,r), ctx| eval(l, ctx) == eval(r, ctx) }, | |
:if => proc { |(cond, thn, els), ctx| eval(cond, ctx) ? eval(thn, ctx) : eval(els, ctx) }, | |
:atom => lambda { |(sexpr), _| (sexpr.is_a? Symbol) or (sexpr.is_a? Numeric) }, | |
:quote => proc { |sexpr, _| sexpr[0] } }.merge(ext) |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>static.</title> | |
<link rel="stylesheet" href="static.css"> | |
<script src="static.js"></script> | |
</head> | |
<body> |
require 'minitest/autorun' | |
require 'minitest/pride' | |
require 'pry' | |
require_relative './nucleotide' | |
class DNATest < MiniTest::Test | |
def test_empty_dna_string_has_no_adenosine | |
# skip | |
assert_equal 0, DNA.new('').count('A') | |
end |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>United Document</title> | |
<link rel="stylesheet" href="plasma.css"> | |
</head> | |
<body> | |
<canvas id="plasma" width="255" height="160"></canvas> | |
<script src="plasma.js"></script> |
var x = 10; // This is a comment
if (x > 5) {
console.log('hello world');
}
var x = 10; // This is a comment if (x > 5) { console.log('hello world');
Some random first paragraph
Gypsies are awesome Second paragraph
// Increase/decrease progress bar on button click | |
$(document).ready(function() { | |
$('.appbutton').on('click', function(){ | |
var currentVal = $('#signup-progress').val(); | |
currentVal += 10; | |
$('#signup-progress').val(currentVal); // Actually update the input? | |
console.log(currentVal) | |
}); | |
}); |