Skip to content

Instantly share code, notes, and snippets.

<?php
/**
* A utility class to clean up common problems with UTF-8 strings.
*/
class UnicodeUtils{
/**
* Maps double-encoded UTF-8 byte sequences back to single encoded UTF-8. The keys are byte sequences where a valid
* UTF-8 character has been interpreted as multiple characters in CP1252, and then re-converted
<!doctype html>
<html>
<head>
<meta charset="utf-8" />
<title>form upload test</title>
<meta name="viewport" content="user-scalable=no, width=device-width" />
<meta name="apple-mobile-web-app-capable" content="yes" />
</head>
<body>
<?php
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>JS Bin</title>
</head>
<body>
<script id="jsbin-javascript">
var animal = "";
var animal = "";
var articleOfClothing = "";
var locationOrEvent = "";
var madLib = "The " + animal + " wore the " + articleOfClothing + " to the " + locationOrEvent + ".";
console.log(madLib);
https://docs.google.com/presentation/d/1lohwRwdDNjtso4JoqNowwDCA8pl2bkwc0wvVDCDwsw4/edit?usp=sharing
https://docs.google.com/presentation/d/1tgoEGAt9juJVWU2labFJFG1IEE_8ZzIeAZULGvqRZMg/edit?usp=sharing
# 20150120 tour
https://drive.google.com/file/d/0B6fEpFx7UidsSFZ4a2pCRnp0TEk/view?usp=sharing
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>JS Bin</title>
</head>
<body>
<script id="jsbin-javascript">
function sayHello() {
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>My playlist</title>
</head>
<body>
<button onclick="addToPlaylist()">Add to playlist</button>
<h1>My playlist</h1>
<ol id="playlistElement"></ol>
@stormsweeper
stormsweeper / index.html
Created February 27, 2015 14:17
DAT DRESS THO // source http://jsbin.com/piyana
<!DOCTYPE html>
<html>
<head>
<script src="http://code.jquery.com/jquery.min.js"></script>
<link href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap.min.css" rel="stylesheet" type="text/css" />
<script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/js/bootstrap.min.js"></script>
<meta charset="utf-8">
<title>DAT DRESS THO</title>
<style id="jsbin-css">
#dressBox {
https://docs.google.com/presentation/d/14ZLUKWApnZ3xCU7p0UMYJUwpT-jvFrVfoD1ewuLEYS0/edit#slide=id.p17
http://www.mprat.org/Terminus/
<!DOCTYPE html>
<head>
<link href="/normalize.css" rel="stylesheet">
<style>
header {
text-align: center;
background: url('http://dash.ga.co/assets/jeff-bg.png');
background-size: cover;
color: white;
}