works in tumblr with markdown editor enabled
requires multimarkdown
input:
sentence with footnote[^1]
.
required_fields = $('[required="required"], .required') | |
$('.validate').click () -> | |
validate_form() | |
if $('.input-error').length == 0 | |
$('form').submit() | |
false | |
required_fields.blur () -> | |
validate_input(@) |
library form; | |
import 'dart:html'; | |
class Form { | |
static String formType = window.location.hash.replaceFirst('#', ''); | |
Form(){ | |
importForm(formType); | |
} |
package com.company; | |
import java.util.Arrays; | |
public class Main extends TestCase { | |
static public void main(String[] args) { | |
// Assessment 0: Multiples of 3 and 5 in n | |
assertEqual(multiplesOf3And5(1000), 233168); | |
assertEqual(multiplesOf3And5(500), 0); |
(function(){ | |
function multiply_by_two(num){ | |
if (typeof num === 'number'){ | |
return num * 2; | |
} else { | |
return num + ' is not a valid number'; | |
} | |
} | |
// If the value is equal write '.' to the page if not write 'F' |
#!/bin/bash | |
echo Provisioning Evergreen... | |
echo - Installing dependencies | |
sudo apt-get update -y -qq > /dev/null | |
sudo apt-get install curl -y -qq > /dev/null | |
echo - Installing other software | |
sudo apt-get -y install libxslt-dev libxml2-dev | |
sudo apt-get -y install nodejs |
#!/bin/bash | |
echo Provisioning Evergreen... | |
echo - Installing dependencies | |
sudo apt-get update -y -qq > /dev/null | |
sudo apt-get install curl -y -qq > /dev/null | |
echo - Installing other software | |
sudo apt-get -y install libxslt-dev libxml2-dev | |
sudo apt-get -y install nodejs |