Type two integers per line in the text area, and a line will be drawn on the right.
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
let orthographyInput = document.querySelector('#conversion-table') | |
let transcriptionInput = document.querySelector('#tokenize-input') | |
let transcriptionOutput = document.querySelector('#transcription-output') | |
let tokenize = transcription => { | |
return transcription | |
.trim() | |
.normalize("NFD") | |
.split(" ") | |
} |
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
function amplifyMedia(mediaElem, multiplier) { | |
var context = new (window.AudioContext || window.webkitAudioContext), | |
result = { | |
context: context, | |
source: context.createMediaElementSource(mediaElem), | |
gain: context.createGain(), | |
media: mediaElem, | |
amplify: function(multiplier) { result.gain.gain.value = multiplier; }, | |
getAmpLevel: function() { return result.gain.gain.value; } | |
}; |
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
<div class="media"> | |
<div class="img"> | |
<img src="http://placehold.it/250x250" alt="Placeholder"> | |
</div> | |
<h2 class="title">This is my title</h2> | |
<div class="content"> | |
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis vehicula vitae ligula sit amet maximus. Nunc auctor neque ipsum, ac porttitor elit lobortis ac. Vivamus ultrices sodales tellus et aliquam. Pellentesque porta sit amet nulla vitae luctus. | |
Praesent quis risus id dolor venenatis condimentum.</p> | |
</div> |
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
<div class="paper"> | |
<div class="paper-content"> | |
<textarea autofocus>Hello there ! Here's a paper text area, feel free to type something ...</textarea> | |
</div> | |
</div> | |
<footer> | |
Orginal pen by <a href="https://codepen.io/MarcMalignan/" target="_blank">Marc Malignan</a> inspired by by Allan Peters | |
</footer> |
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>tiny slides</title> | |
</head> | |
<body> | |
<main> |
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
// Trie.js - super simple JS implementation | |
// https://en.wikipedia.org/wiki/Trie | |
// ----------------------------------------- | |
// we start with the TrieNode | |
function TrieNode(key) { | |
// the "key" value will be the character in sequence | |
this.key = key; | |
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></title> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<meta name="description" content=""> | |
<meta name="author" content=""> | |
<!-- Le styles --> |
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
name | voicing | place | manner | letter | sampa | cv | |
---|---|---|---|---|---|---|---|
aspirated voiceless alveolar plosive | voiceless | alveolar | aspirated plosive | tʰ | t_h | consonant | |
alveolar ejective | voiceless | alveolar | ejective | tʼ | t_> | consonant | |
alveolar ejective fricative | voiceless | alveolar | ejective fricative | sʼ | s_> | consonant | |
voiceless alveolar fricative | voiceless | alveolar | fricative | s | s | consonant | |
voiced alveolar fricative | voiced | alveolar | fricative | z | z | consonant | |
voiced alveolar implosive | voiced | alveolar | implosive | ɗ | d_< | consonant | |
labialized voiceless alveolar plosive | voiced | alveolar | labialized plosive | dʷ | d_h | consonant | |
labialized voiceless alveolar plosive | voiceless | alveolar | labialized plosive | tʷ | t_h | consonant | |
alveolar palatalized lateral approximant | voiced | alveolar | palatalized lateral approximant | lʲ | l_j | consonant |
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
/* Cranium MVC | |
* A minimalist MVC implementation written for | |
* demonstration purposes at my workshops | |
* http://addyosmani.com | |
* Copyright (c) 2012 Addy Osmani; Licensed MIT */ | |
var Cranium = Cranium || {}; | |
// Set DOM selection utility |