Skip to content

Instantly share code, notes, and snippets.

View waldyrious's full-sized avatar

Waldir Pimenta waldyrious

View GitHub Profile
@waldyrious
waldyrious / xhtml5.xhtml
Last active November 17, 2024 02:20
Minimal XHTML5 document
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width" />
<title>Minimal XHTML5 document</title>
<link rel="stylesheet" href="mystyle.css" />
<script src="myscript.js"></script>
</head>
<body>
@waldyrious
waldyrious / Unicode pangram.md
Last active April 14, 2021 12:49
Rough Unicode coverage test for fonts

Unicode pangrams

This is a text consisting of a list of pangrams, sourced from the Wikipedia article, including characters from many common languages featuring true alphabets (mostly Latin-extended, Cyrillic and Greek). This is useful as an informal Unicode coverage tests for fonts, as well as a general generic prose test for fonts.

The quick brown fox jumps over the lazy dog.

@waldyrious
waldyrious / youtube_play.html
Last active December 16, 2015 03:39
Youtube play button in html5
<!-- Demo here: http://jsfiddle.net/5qqgW/
-- Image version here: http://www.iconfinder.com/icondetails/87936/128/youtube_icon
-->
<style>
.play {
background-color: rgba(0,0,0,0.75);
color: white;
font-size: 40px;
border-radius: 15px/40px;
height: 50px;
@waldyrious
waldyrious / flexbox-center.css
Created December 8, 2012 22:30
Center the contents of a html page
html, body { height: 100% /* html also needs height:100% */ }
body {
display: -moz-box;
-moz-box-pack: center;
-moz-box-align: center;
-moz-box-orient: vertical;
display: -webkit-box;
-webkit-box-pack: center;