Skip to content

Instantly share code, notes, and snippets.

@flada-auxv
Last active January 26, 2016 02:58
Show Gist options
  • Save flada-auxv/b54aecf295bf94bb63df to your computer and use it in GitHub Desktop.
Save flada-auxv/b54aecf295bf94bb63df to your computer and use it in GitHub Desktop.
tegaki-jan sample
require 'sinatra'
get '/' do
erb :index
end
__END__
@@ index
<html>
<head>
<style type="text/css">
@font-face {
font-family: "tegaki-jan";
src: url("http://rawgit.com/mtsmfm/tegaki-jan/master/tegaki-jan.woff");
}
body { font-family: tegaki-jan }
</style>
</head>
<body>
&#x1F000;
&#126976;
</body>
</html>
source "https://rubygems.org"
gem "sinatra"
GEM
remote: https://rubygems.org/
specs:
rack (1.6.4)
rack-protection (1.5.3)
rack
sinatra (1.4.7)
rack (~> 1.5)
rack-protection (~> 1.4)
tilt (>= 1.3, < 3)
tilt (2.0.2)
PLATFORMS
ruby
DEPENDENCIES
sinatra
BUNDLED WITH
1.11.2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment