Lorem ipsum dolor sit amet, consectetur adipisicing elit. Nobis fugiat, accusamus aut tempora nam maiores totam. Dolorum unde, ipsum consectetur quas quia officiis, dolore, cum molestias magnam nobis voluptatem sequi?
echo 'foobar';
<?php | |
if ( preg_match('/^\d{3,3}-\d{3,3}-\d{4,4}$/', $value) || strlen($value) == 0 ) { | |
return true; | |
} else { | |
return false; | |
} | |
?> |
module.exports = { | |
semi: false, | |
tabWidth: 2, | |
singleQuote: true, | |
printWidth: 120, | |
trailingComma: 'es5', | |
parser: 'babylon', | |
files: ['*.html', '*.css', '*.js', '*.jsx', '*.md'], | |
} |
// Playground for testing simple probability | |
// more cycles more consistent the output | |
let cycles = 1000; | |
// how often do you want value to return true | |
// 0 === never, 1 === always | |
let truthAmount = 0.7; | |
// run the test |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>📝 Scatch Pad</title> | |
<!-- https://tailwindcss.com --> | |
<link href="https://unpkg.com/tailwindcss@^2/dist/tailwind.min.css" rel="stylesheet"> |
<h1 id="testtheme">Test Theme</h1> | |
<hr /> | |
<div class="pill">headers</div> | |
<h1 id="header1">Header 1</h1> | |
<h2 id="header2">Header 2</h2> |
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Nobis fugiat, accusamus aut tempora nam maiores totam. Dolorum unde, ipsum consectetur quas quia officiis, dolore, cum molestias magnam nobis voluptatem sequi?
echo 'foobar';
# Markdown Cheatsheet | |
``` | |
The purpose of markdown is to write text without extra, software specific formatting. | |
Be sure to leave an extra line returns between paragraphs. | |
``` | |
The purpose of markdown is to write text without extra, software specific formatting. |