Skip to content

Instantly share code, notes, and snippets.

View waldyrious's full-sized avatar

Waldir Pimenta waldyrious

View GitHub Profile
@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;
@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 / 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 / xhtml5.xhtml
Last active March 17, 2024 10:00
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>
deps/openlibm/src/s_sin.c.o: file format elf32-i386
Disassembly of section .text:
00000000 <sin>:
0: 55 push %ebp
1: 89 e5 mov %esp,%ebp
3: 53 push %ebx
4: 83 ec 44 sub $0x44,%esp
@waldyrious
waldyrious / elementary-answers-gradient.svg
Created May 17, 2014 17:59
elementary answers gradient for firefox
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

Keybase proof

I hereby claim:

  • I am waldyrious on github.
  • I am waldyrious (https://keybase.io/waldyrious) on keybase.
  • I have a public key whose fingerprint is 0259 AB69 5C76 1474 B813 F3D0 983C BDC4 A57E 1723

To claim this, I am signing this object:

@waldyrious
waldyrious / categorize.cfg
Created October 14, 2014 13:21
My arbtt configuration file
--Convert program executable names to recognizable names
aliases (
"Navigator" -> "Firefox",
"gnome-terminal" -> "Terminal",
"xfce4-terminal" -> "Terminal",
"evince" -> "PDF reader",
"google-chrome" -> "Google Chrome",
"gedit" -> "Text editor",
"leafpad" -> "Text editor",
"totem" -> "Video player",
@waldyrious
waldyrious / typefaces.md
Last active May 19, 2018 16:49
History & classification of typefaces

Notes

  • 1450: Blackletter (Johannes Gutenberg)
  • Roman / Serif (Nicloas Jenson)
    • italics (Aldus Manutius)
    • 1530s: Old Style (William Caslon): thick serifs, low contrast between thick & theen strokes
    • 1750s: Transitional (John Baskerville)
    • 1784: Modern (Didot, 1767 "Bodoni", Giambattista Bodoni)
    • 1815: Slab Serif (advertising)
  • 1816: Sans Serif (William Caslon IV)
  • Geometric Sans (1927 "Futura", Paul Renner): simple geometric shapes