2014-11-18 22:15:01 +01:00
<!doctype html>
< html >
< head >
2014-11-19 00:02:19 +01:00
< title > Programming Fonts - Test Drive App< / title >
2014-11-20 20:54:20 +01:00
< meta charset = "utf-8" / >
2014-11-20 20:50:03 +01:00
< meta name = "viewport" content = "width=device-width" / >
2014-11-18 22:15:01 +01:00
2014-11-19 09:41:29 +01:00
<!-- Favicons -->
< link rel = "apple-touch-icon" sizes = "57x57" href = "favicons/apple-touch-icon-57x57.png" >
< link rel = "apple-touch-icon" sizes = "114x114" href = "favicons/apple-touch-icon-114x114.png" >
< link rel = "apple-touch-icon" sizes = "72x72" href = "favicons/apple-touch-icon-72x72.png" >
< link rel = "apple-touch-icon" sizes = "144x144" href = "favicons/apple-touch-icon-144x144.png" >
< link rel = "apple-touch-icon" sizes = "60x60" href = "favicons/apple-touch-icon-60x60.png" >
< link rel = "apple-touch-icon" sizes = "120x120" href = "favicons/apple-touch-icon-120x120.png" >
< link rel = "apple-touch-icon" sizes = "76x76" href = "favicons/apple-touch-icon-76x76.png" >
< link rel = "apple-touch-icon" sizes = "152x152" href = "favicons/apple-touch-icon-152x152.png" >
< link rel = "apple-touch-icon" sizes = "180x180" href = "favicons/apple-touch-icon-180x180.png" >
< link rel = "icon" type = "image/png" href = "favicons/favicon-192x192.png" sizes = "192x192" >
< link rel = "icon" type = "image/png" href = "favicons/favicon-160x160.png" sizes = "160x160" >
< link rel = "icon" type = "image/png" href = "favicons/favicon-96x96.png" sizes = "96x96" >
< link rel = "icon" type = "image/png" href = "favicons/favicon-16x16.png" sizes = "16x16" >
< link rel = "icon" type = "image/png" href = "favicons/favicon-32x32.png" sizes = "32x32" >
< meta name = "msapplication-TileColor" content = "#5b6268" >
< meta name = "msapplication-TileImage" content = "favicons/mstile-144x144.png" >
2014-11-18 22:15:01 +01:00
<!-- YUI reset -->
< link rel = "stylesheet" type = "text/css" href = "http://yui.yahooapis.com/3.18.1/build/cssreset/cssreset-min.css" >
2014-11-19 09:41:29 +01:00
<!-- CodeMirror -->
2014-11-18 22:19:59 +01:00
< link rel = "stylesheet" href = "//cdnjs.cloudflare.com/ajax/libs/codemirror/4.7.0/codemirror.min.css" >
2014-11-19 09:41:29 +01:00
<!-- CodeMirror Themes -->
2014-11-18 22:15:01 +01:00
< link rel = "stylesheet" href = "//cdnjs.cloudflare.com/ajax/libs/codemirror/4.7.0/theme/3024-day.min.css" >
< link rel = "stylesheet" href = "//cdnjs.cloudflare.com/ajax/libs/codemirror/4.7.0/theme/3024-night.min.css" >
< link rel = "stylesheet" href = "//cdnjs.cloudflare.com/ajax/libs/codemirror/4.7.0/theme/ambiance.min.css" >
< link rel = "stylesheet" href = "//cdnjs.cloudflare.com/ajax/libs/codemirror/4.7.0/theme/base16-dark.min.css" >
< link rel = "stylesheet" href = "//cdnjs.cloudflare.com/ajax/libs/codemirror/4.7.0/theme/base16-light.min.css" >
< link rel = "stylesheet" href = "//cdnjs.cloudflare.com/ajax/libs/codemirror/4.7.0/theme/blackboard.min.css" >
< link rel = "stylesheet" href = "//cdnjs.cloudflare.com/ajax/libs/codemirror/4.7.0/theme/cobalt.min.css" >
< link rel = "stylesheet" href = "//cdnjs.cloudflare.com/ajax/libs/codemirror/4.7.0/theme/eclipse.min.css" >
< link rel = "stylesheet" href = "//cdnjs.cloudflare.com/ajax/libs/codemirror/4.7.0/theme/elegant.min.css" >
< link rel = "stylesheet" href = "//cdnjs.cloudflare.com/ajax/libs/codemirror/4.7.0/theme/erlang-dark.min.css" >
< link rel = "stylesheet" href = "//cdnjs.cloudflare.com/ajax/libs/codemirror/4.7.0/theme/lesser-dark.min.css" >
< link rel = "stylesheet" href = "//cdnjs.cloudflare.com/ajax/libs/codemirror/4.7.0/theme/mbo.min.css" >
< link rel = "stylesheet" href = "//cdnjs.cloudflare.com/ajax/libs/codemirror/4.7.0/theme/mdn-like.min.css" >
< link rel = "stylesheet" href = "//cdnjs.cloudflare.com/ajax/libs/codemirror/4.7.0/theme/midnight.min.css" >
< link rel = "stylesheet" href = "//cdnjs.cloudflare.com/ajax/libs/codemirror/4.7.0/theme/monokai.min.css" >
< link rel = "stylesheet" href = "//cdnjs.cloudflare.com/ajax/libs/codemirror/4.7.0/theme/neat.min.css" >
< link rel = "stylesheet" href = "//cdnjs.cloudflare.com/ajax/libs/codemirror/4.7.0/theme/neo.min.css" >
< link rel = "stylesheet" href = "//cdnjs.cloudflare.com/ajax/libs/codemirror/4.7.0/theme/night.min.css" >
< link rel = "stylesheet" href = "//cdnjs.cloudflare.com/ajax/libs/codemirror/4.7.0/theme/paraiso-dark.min.css" >
< link rel = "stylesheet" href = "//cdnjs.cloudflare.com/ajax/libs/codemirror/4.7.0/theme/paraiso-light.min.css" >
< link rel = "stylesheet" href = "//cdnjs.cloudflare.com/ajax/libs/codemirror/4.7.0/theme/pastel-on-dark.min.css" >
< link rel = "stylesheet" href = "//cdnjs.cloudflare.com/ajax/libs/codemirror/4.7.0/theme/rubyblue.min.css" >
< link rel = "stylesheet" href = "//cdnjs.cloudflare.com/ajax/libs/codemirror/4.7.0/theme/solarized.min.css" >
< link rel = "stylesheet" href = "//cdnjs.cloudflare.com/ajax/libs/codemirror/4.7.0/theme/the-matrix.min.css" >
< link rel = "stylesheet" href = "//cdnjs.cloudflare.com/ajax/libs/codemirror/4.7.0/theme/tomorrow-night-eighties.min.css" >
< link rel = "stylesheet" href = "//cdnjs.cloudflare.com/ajax/libs/codemirror/4.7.0/theme/twilight.min.css" >
< link rel = "stylesheet" href = "//cdnjs.cloudflare.com/ajax/libs/codemirror/4.7.0/theme/vibrant-ink.min.css" >
< link rel = "stylesheet" href = "//cdnjs.cloudflare.com/ajax/libs/codemirror/4.7.0/theme/xq-dark.min.css" >
< link rel = "stylesheet" href = "//cdnjs.cloudflare.com/ajax/libs/codemirror/4.7.0/theme/xq-light.min.css" >
<!-- CodeMirror JS -->
< script src = "//cdnjs.cloudflare.com/ajax/libs/codemirror/4.7.0/codemirror.min.js" > < / script >
< script src = "//cdnjs.cloudflare.com/ajax/libs/codemirror/4.7.0/mode/javascript/javascript.min.js" > < / script >
< script src = "//cdnjs.cloudflare.com/ajax/libs/codemirror/4.7.0/addon/selection/active-line.min.js" > < / script >
< script src = "//cdnjs.cloudflare.com/ajax/libs/codemirror/4.7.0/addon/edit/matchbrackets.min.js" > < / script >
<!-- ProgrammingFonts @font - faces -->
<!-- Compiled (using less on node) with "lessc fonts.less > stylesheet.css" -->
2014-11-18 23:28:58 +01:00
< link rel = "stylesheet" href = "fonts/stylesheets/stylesheet.css" >
2014-11-18 22:15:01 +01:00
2014-11-18 22:37:57 +01:00
< link href = 'http://fonts.googleapis.com/css?family=Patua+One' rel = 'stylesheet' type = 'text/css' >
2014-11-18 23:23:15 +01:00
< link href = 'http://fonts.googleapis.com/css?family=Karla:400,700' rel = 'stylesheet' type = 'text/css' >
2014-11-18 22:37:57 +01:00
2014-11-18 22:15:01 +01:00
<!-- Google/Typekit Web Font Loader: https://github.com/typekit/webfontloader -->
< script src = "//ajax.googleapis.com/ajax/libs/webfont/1.5.6/webfont.js" > < / script >
< style type = "text/css" >
2014-11-18 23:23:15 +01:00
body {
color:#eee;
font-family: "Karla", sans-serif;
font-size: 16px;
line-height: 2;
}
2014-11-18 22:15:01 +01:00
.background {
2014-11-20 20:42:48 +01:00
background: url('http://static.tumblr.com/5c5a2b58eb02d73886b75e948c4231aa/ythva06/cCenfcrzk/tumblr_static_e2e836q1c88owkc00sos0444o.jpg') no-repeat center center fixed;
2014-11-18 22:15:01 +01:00
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
height:100%;
width:100%;
position: fixed;
2014-11-18 23:23:15 +01:00
z-index: -1;
2014-11-18 22:15:01 +01:00
}
2014-11-18 22:37:57 +01:00
h1 {
font-family: 'Patua One', serif;
2014-11-18 23:23:15 +01:00
font-weight: normal;
2014-11-20 20:42:48 +01:00
color: #444;
2014-11-19 08:47:06 +01:00
font-size: 64px;
line-height: 64px;
margin: 0 0 64px 0;
2014-11-18 23:23:15 +01:00
text-align: center;
2014-11-19 08:47:06 +01:00
padding-top: 64px;
2014-11-23 22:25:35 +01:00
text-shadow: 0 0 2px rgba(0,0,0,.2);
2014-11-18 23:23:15 +01:00
}
.description {
color:#eee; text-align: center;
margin: 0 0 30px 0;
2014-11-19 08:47:06 +01:00
font-size: 20px;
2014-11-18 23:23:15 +01:00
font-weight: bold;
2014-11-23 22:25:35 +01:00
text-shadow: 0 0 2px rgba(0,0,0,.2);
2014-11-18 22:37:57 +01:00
}
article {
max-width: 90%;
2014-11-18 23:23:15 +01:00
width: 800px;
margin: 0 auto;
2014-11-19 08:47:06 +01:00
margin-bottom: 64px;
2014-11-18 23:23:15 +01:00
background: white;
border: 0;
border-radius: 3px;
box-shadow: 0 0 4px rgba(0,0,0,.4);
color: #505050;
}
2014-11-20 20:50:03 +01:00
article p {
text-align: center;
padding: 0 32px 16px 32px;
2014-11-18 23:23:15 +01:00
}
2014-11-20 20:50:03 +01:00
article p:last-child {
padding-bottom: 32px;
}
article form {
margin-bottom: 32px;
2014-11-20 20:53:12 +01:00
}
2014-11-18 23:23:15 +01:00
select {
2014-11-19 08:47:06 +01:00
margin-right: 32px;
2014-11-18 23:23:15 +01:00
}
footer {
max-width: 90%;
width: 800px;
text-align: center;
2014-11-19 08:47:06 +01:00
margin: 64px auto;
2014-11-23 22:25:35 +01:00
text-shadow: 0 0 2px rgba(0,0,0,.2);
}
footer form {
margin-top: 8px;
2014-11-18 23:23:15 +01:00
}
a,
a:link,
a:visited,
a:hover {
color: #44cc9a;
text-decoration: none;
}
a:hover {
opacity: .8;
transition: opacity .5s;
2014-11-18 22:37:57 +01:00
}
2014-11-18 22:15:01 +01:00
pre,
textarea,
2014-11-18 23:23:15 +01:00
.CodeMirror {
2014-11-19 08:55:26 +01:00
font-family: "gnu-freefont";
}
.CodeMirror {
border: none;
font-size:16px;
border-top-left-radius: 3px;
border-top-right-radius: 3px;
background: transparent;
box-shadow: none !important;
2014-11-18 23:23:15 +01:00
}
.CodeMirror-gutters {
background: transparent;
}
@media screen and (max-width:800px) {
.select {
display: block;
text-align: right;
2014-11-20 20:50:03 +01:00
margin: 0;
2014-11-20 18:48:30 +01:00
}
}
2014-11-20 20:50:03 +01:00
@media screen and (max-width:640px) {
h1 {
font-size: 48px;
line-height: 48px;
padding-top: 48px;
margin-bottom: 48px;
}
}
2014-11-18 22:15:01 +01:00
< / style >
< / head >
< body >
< div class = "background" > < / div >
2014-11-20 20:52:30 +01:00
< h1 > Test Drive Programming Fonts< / h1 >
2014-11-18 23:23:15 +01:00
2014-11-20 20:52:30 +01:00
< p class = "description" > What font looks best with code? Try over 40 free programming fonts and find out!< / p >
2014-11-18 23:23:15 +01:00
2014-11-18 22:15:01 +01:00
< article >
< form >
< textarea id = "code" name = "code" >
2014-11-19 08:49:20 +01:00
# Type some code:
2014-11-18 22:15:01 +01:00
function findSequence(goal) {
function find(start, history) {
if (start == goal)
return history;
else if (start > goal)
return null;
else
return find(start + 5, "(" + history + " + 5)") ||
find(start * 3, "(" + history + " * 3)");
}
return find(1, "1");
2014-11-23 21:02:38 +01:00
}
< / textarea >
2014-11-18 22:15:01 +01:00
< / form >
2014-11-18 23:23:15 +01:00
< p > < span class = "select" > Select a theme
2014-11-18 22:15:01 +01:00
< select onchange = "selectTheme()" id = "select" >
< option > 3024-day< / option >
< option > 3024-night< / option >
< option > ambiance< / option >
< option > base16-dark< / option >
< option > base16-light< / option >
< option > blackboard< / option >
< option > cobalt< / option >
< option > eclipse< / option >
< option > elegant< / option >
< option > erlang-dark< / option >
< option > lesser-dark< / option >
< option > mbo< / option >
< option > mdn-like< / option >
< option > midnight< / option >
2014-11-18 23:23:15 +01:00
< option selected > monokai< / option >
2014-11-18 22:15:01 +01:00
< option > neat< / option >
< option > neo< / option >
< option > night< / option >
< option > paraiso-dark< / option >
< option > paraiso-light< / option >
< option > pastel-on-dark< / option >
< option > rubyblue< / option >
< option > solarized dark< / option >
< option > solarized light< / option >
< option > the-matrix< / option >
< option > tomorrow-night-eighties< / option >
< option > twilight< / option >
< option > vibrant-ink< / option >
< option > xq-dark< / option >
< option > xq-light< / option >
2014-11-18 23:23:15 +01:00
< / select > < / span >
< span class = "select" > Select a font < select onchange = "selectFont()" id = "select-font" >
2014-11-18 22:15:01 +01:00
< option value = "anka-coder" > Anka/Coder< / option > ,
< option value = "anonymous-pro" > Anonymous Pro< / option > ,
2014-11-23 21:02:38 +01:00
< option value = "aurulent" > Aurulent Sans Mono< / option > ,
2014-11-18 22:15:01 +01:00
< option value = "average" > Average Mono< / option > ,
< option value = "bitstream-vera" > Bitstream Vera Sans Mono< / option > ,
2014-11-19 21:43:17 +01:00
< option value = "bpmono" > BPmono< / option > ,
< option value = "consolamono" > Consolamono< / option > ,
< option value = "cousine" > Cousine< / option > ,
< option value = "cutive" > Cutive Mono< / option > ,
< option value = "dejavu" > DejaVu Mono< / option > ,
< option value = "droid-sans" > Droid Sans Mono< / option > ,
< option value = "effects-eighty" > Effects Eighty< / option > ,
< option value = "fantasque-sans" > Fantasque Sans Mono< / option > ,
< option value = "fifteen" > Fifteen< / option > ,
< option value = "fira" > Fira Mono< / option > ,
2014-11-19 08:37:11 +01:00
< option value = "fixedsys" > Fixedsys< / option > ,
2014-11-19 21:43:17 +01:00
< option value = "generic" > Generic Mono< / option > ,
2014-11-23 21:02:38 +01:00
< option selected value = "gnu-freefont" > GNU Freefont< / option > ,
2014-11-19 21:43:17 +01:00
< option value = "unifont" > GNU Unifont< / option > ,
< option value = "hermit" > Hermit< / option > ,
< option value = "inconsolata" > Inconsolata< / option > ,
< option value = "inconsolata-g" > Inconsolata-G< / option > ,
< option value = "latin-modern" > Latin Modern Mono< / option > ,
< option value = "lekton" > Lekton< / option > ,
< option value = "liberation" > Liberation Mono< / option > ,
< option value = "luxi" > Luxi Mono< / option > ,
< option value = "meslo" > Meslo< / option > ,
< option value = "monofur" > Monofur< / option > ,
< option value = "mplus" > Mplus-1m< / option > ,
< option value = "notcouriersans" > NotCourierSans< / option > ,
< option value = "nova" > Nova Mono< / option > ,
< option value = "oxygen" > Oxygen Mono< / option > ,
< option value = "profont" > Profont< / option > ,
< option value = "proggy-clean" > Proggy Clean< / option > ,
< option value = "pt" > PT Mono< / option > ,
< option value = "quinze" > Quinze< / option > ,
< option value = "sax" > saxMono< / option > ,
< option value = "share-tech" > Share Tech Mono< / option > ,
< option value = "source-code-pro" > Source Code Pro< / option > ,
< option value = "sudo" > Sudo< / option > ,
2014-12-12 23:37:30 +01:00
< option value = "tex-gyre-cursor" > TeX Gyre Cursor< / option > ,
2014-11-19 21:43:17 +01:00
< option value = "ubuntu" > Ubuntu Mono< / option > ,
2014-11-23 21:02:38 +01:00
< option value = "verily" > Verily Serif Mono< / option >
2014-11-19 21:43:17 +01:00
< option value = "vt323" > VT323< / option >
2014-11-19 08:37:11 +01:00
<!-- In need of testing -->
<!-- <option value="gohu">gohu</option>, -->
2014-11-18 23:23:15 +01:00
< / select > < / span >
2014-11-18 22:15:01 +01:00
< / p >
2014-11-20 20:52:30 +01:00
< p > < a href = "http://programmingfonts.org/list" rel = "external" > Download your favourite fonts< / a > , or use < a href = "http://atom.io/packages/fonts" rel = "external" > this package< / a > in < a href = "http://atom.io" > Atom< / a > < / p >
2014-11-18 22:15:01 +01:00
2014-11-20 20:42:48 +01:00
< / article >
< footer >
< p >
2014-11-20 20:50:03 +01:00
Built with < a href = "http://codemirror.net/" rel = "external" > CodeMirror< / a > , < a href = "https://github.com/typekit/webfontloader" rel = "external" > Google/Typekit Web Font Loader< / a > , < a href = "http://cdnjs.com/" rel = "external" > CDNJS< / a > , < a href = "https://github.com/braver/programmingfonts" > Github< / a > , Photography from < a href = "http://unsplash.com" > Unsplash< / a >
2014-11-20 20:42:48 +01:00
< / p >
< p >
< a href = "http://programmingfonts.org" > Back to the blog< / a > - © 2014 < a href = "http://koenlageveen.nl" style = "color: #eee;" > Koen Lageveen< / a >
< p >
2014-11-18 23:23:15 +01:00
2014-11-23 22:25:35 +01:00
<!-- Paypal donate button -->
< form action = "https://www.paypal.com/cgi-bin/webscr" method = "post" target = "_top" >
< input type = "hidden" name = "cmd" value = "_s-xclick" >
< input type = "hidden" name = "encrypted" value = "-----BEGIN PKCS7-----MIIHRwYJKoZIhvcNAQcEoIIHODCCBzQCAQExggEwMIIBLAIBADCBlDCBjjELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtQYXlQYWwgSW5jLjETMBEGA1UECxQKbGl2ZV9jZXJ0czERMA8GA1UEAxQIbGl2ZV9hcGkxHDAaBgkqhkiG9w0BCQEWDXJlQHBheXBhbC5jb20CAQAwDQYJKoZIhvcNAQEBBQAEgYAWDsEoGpaeh20kpK4QBGwNg0nEjBW0mMP2MORDyi75yZ4Crv6PUUH + OXHbvWFEFmuCPfw / YxTc6UsQnWL28leZRqry / e7Eeo2NYPdgYpyyUG7dDLnxW5WoCNu64 + 3cCOlHbUsuy90eyOLS0RuTuQxj1w5lbc + 4ISjUDpDvYf2JYzELMAkGBSsOAwIaBQAwgcQGCSqGSIb3DQEHATAUBggqhkiG9w0DBwQIt3w9aWGvAh + AgaD8hiZ35tmACDIc5tAJuhPJYSYrc1LJlVzeXNMJI + lO8PzFecUp0Akhiz9edyzY6m68fBrO5xHC8UghZ40tw + / dqR0nkZhFunoZBqWR / J1qoodyViPf8sfK9Zo6pgBCmx7a9hP1ZNpfRrtOLoiZn + 58AwQMPehc71lijybxBjxzD302PMkc7nADhMeupS6uWs4bEt5u5xUtjs / 6kTTZ2BwPoIIDhzCCA4MwggLsoAMCAQICAQAwDQYJKoZIhvcNAQEFBQAwgY4xCzAJBgNVBAYTAlVTMQswCQYDVQQIEwJDQTEWMBQGA1UEBxMNTW91bnRhaW4gVmlldzEUMBIGA1UEChMLUGF5UGFsIEluYy4xEzARBgNVBAsUCmxpdmVfY2VydHMxETAPBgNVBAMUCGxpdmVfYXBpMRwwGgYJKoZIhvcNAQkBFg1yZUBwYXlwYWwuY29tMB4XDTA0MDIxMzEwMTMxNVoXDTM1MDIxMzEwMTMxNVowgY4xCzAJBgNVBAYTAlVTMQswCQYDVQQIEwJDQTEWMBQGA1UEBxMNTW91bnRhaW4gVmlldzEUMBIGA1UEChMLUGF5UGFsIEluYy4xEzARBgNVBAsUCmxpdmVfY2VydHMxETAPBgNVBAMUCGxpdmVfYXBpMRwwGgYJKoZIhvcNAQkBFg1yZUBwYXlwYWwuY29tMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDBR07d / ETMS1ycjtkpkvjXZe9k + 6CieLuLsPumsJ7QC1odNz3sJiCbs2wC0nLE0uLGaEtXynIgRqIddYCHx88pb5HTXv4SZeuv0Rqq4 + axW9PLAAATU8w04qqjaSXgbGLP3NmohqM6bV9kZZwZLR / klDaQGo1u9uDb9lr4Yn + rBQIDAQABo4HuMIHrMB0GA1UdDgQWBBSWn3y7xm8XvVk / UtcKG + wQ1mSUazCBuwYDVR0jBIGzMIGwgBSWn3y7xm8XvVk / UtcKG + wQ1mSUa6GBlKSBkTCBjjELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtQYXlQYWwgSW5jLjETMBEGA1UECxQKbGl2ZV9jZXJ0czERMA8GA1UEAxQIbGl2ZV9hcGkxHDAaBgkqhkiG9w0BCQEWDXJlQHBheXBhbC5jb22CAQAwDAYDVR0TBAUwAwEB / zANBgkqhkiG9w0BAQUFAAOBgQCBXzpWmoBa5e9fo6ujionW1hUhPkOBakTr3YCDjbYfvJEiv / 2P + IobhOGJr85 + XHhN0v4gUkEDI8r2 / rNk1m0GA8HKddvTjyGw / XqXa + LSTlDYkqI8OwR8GEYj4efEtcRpRYBxV8KxAW93YDWzFGvruKnnLbDAF6VR5w / cCMn5hzGCAZowggGWAgEBMIGUMIGOMQswCQYDVQQGEwJVUzELMAkGA1UECBMCQ0ExFjAUBgNVBAcTDU1vdW50YWluIFZpZXcxFDASBgNVBAoTC1BheVBhbCBJbmMuMRMwEQYDVQQLFApsaXZlX2NlcnRzMREwDwYDVQQDFAhsaXZlX2FwaTEcMBoGCSqGSIb3DQEJARYNcmVAcGF5cGFsLmNvbQIBADAJBgUrDgMCGgUAoF0wGAYJKoZIhvcNAQkDMQsGCSqGSIb3DQEHATAcBgkqhkiG9w0BCQUxDxcNMTQxMTIzMjExNTQwWjAjBgkqhkiG9w0BCQQxFgQUW3CgG6TLGz7 + Gc778QsuK2JfWzUwDQYJKoZIhvcNAQEBBQAEgYCMKo / o + qdOqAqSEn + vFFxi8fz7 / 6EimXGNEwaJqgYfUde7hvNSMGIFsxJp16c8rhELl2YylbLUw2iFneYPf8VR2yJt + Hg8VuoN4gjgD8BA8rq9vD + UCnYGkm7zoR / IOLL / ERsB0vaoYb8rdvqtEQULACvcMbM3IXmfRIXmbZGA + g = =-----END PKCS7-----
">
< input type = "image" src = "https://www.paypalobjects.com/en_US/i/btn/btn_donate_SM.gif" border = "0" name = "submit" alt = "PayPal - The safer, easier way to pay online!" >
< img alt = "" border = "0" src = "https://www.paypalobjects.com/nl_NL/i/scr/pixel.gif" width = "1" height = "1" >
< / form >
2014-11-20 20:42:48 +01:00
< / footer >
2014-11-18 22:15:01 +01:00
2014-11-20 20:42:48 +01:00
<!-- Some jquery to make live easier -->
< script src = "http://code.jquery.com/jquery-2.1.1.min.js" > < / script >
2014-11-18 22:15:01 +01:00
<!-- The business -->
< script >
// configure the webfont loader
WebFont.load({
custom: {
families: [
'anka-coder',
'anonymous-pro',
2014-11-23 21:02:38 +01:00
'aurulent',
2014-11-18 22:15:01 +01:00
'average',
'bitstream-vera',
'bpmono',
'consolamono',
'cousine',
'cutive',
'dejavu',
'droid-sans',
'effects-eighty',
'fantasque-sans',
'fifteen',
'fira',
2014-11-19 08:50:48 +01:00
'fixedsys',
2014-11-18 22:15:01 +01:00
'generic',
'gnu-freefont',
'gnutypewriter',
2014-11-19 08:39:52 +01:00
// 'gohu',
2014-11-18 22:15:01 +01:00
'hermit',
'inconsolata',
'inconsolata-g',
'lekton',
'latin-modern',
'liberation',
'luxi',
'meslo',
'monofur',
2014-11-19 08:39:52 +01:00
'mplus',
2014-11-18 22:15:01 +01:00
'notcouriersans',
'nova',
'oxygen',
'profont',
'proggy-clean',
'pt',
'quinze',
'sax',
'share-tech',
'source-code-pro',
'sudo',
'tex-gyre-cursor',
'ubuntu',
'unifont',
2014-11-23 21:02:38 +01:00
'verily',
2014-11-18 22:15:01 +01:00
'vt323'
]
}
});
// CodeMirror
var editor = CodeMirror.fromTextArea(document.getElementById("code"), {
lineNumbers: true,
styleActiveLine: true,
2014-11-18 23:23:15 +01:00
matchBrackets: true,
theme: "monokai"
2014-11-18 22:15:01 +01:00
});
// CodeMirror theme selector
var input = document.getElementById("select");
function selectTheme() {
var theme = input.options[input.selectedIndex].innerHTML;
editor.setOption("theme", theme);
}
var choice = document.location.search & &
decodeURIComponent(document.location.search.slice(1));
if (choice) {
input.value = choice;
editor.setOption("theme", choice);
}
// ProgrammingFonts font selector
function selectFont() {
var font = $("#select-font").val();
$("pre").css({
fontFamily: font
});
$("textarea").css({
fontFamily: font
});
$(".CodeMirror").css({
fontFamily: font
});
}
$(document).ready(function(){
selectFont();
});
2014-11-19 09:41:29 +01:00
// Google Analytics
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-56825926-1', 'auto');
ga('send', 'pageview');
2014-11-19 23:01:41 +01:00
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-56825926-1']);
2014-11-20 20:42:48 +01:00
_gaq.push(['_setDomainName', 'programmingfonts.org']);
2014-11-19 23:01:41 +01:00
_gaq.push(['_trackPageview']);
2014-11-18 22:15:01 +01:00
< / script >
2014-11-19 09:41:29 +01:00
2014-11-18 22:15:01 +01:00
< / body >
2014-11-18 22:04:07 +01:00
< / html >