package main
import (
"fmt"
"math/rand"
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
= doctype html | |
html | |
head | |
title Ace Sample | |
body | |
= include inc Input "password" "password" "" "Password" "icon-lock" true true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
= doctype html | |
html | |
head | |
title Ace Sample | |
body | |
= yield main |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
html | |
head | |
= include inc "aaa" | |
= include inc "bbb" | |
= include inc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
doctype html | |
html | |
head | |
meta http-equiv=Content-Type content="text/html; charset=utf-8" | |
meta name=keywords content="web, vps, cloud, security" | |
meta name=description content=Maintenance | |
meta name=author content="Darius Clark" | |
title Under Maintenance | |
link rel=stylesheet href=css/maintenance.css | |
body |
- Create Ruri, HTML template engine
- Try Go web frameworks
- Inspect Ruby on Rails
- Create a Go web framework like Ruby on Rails
- next of gold
- gobench.io
- OSS group chat app
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class CreateFbConnections < ActiveRecord::Migration | |
def self.up | |
create_table :fb_connections do |t| | |
t.references :user | |
t.string :uid | |
t.string :access_token | |
t.timestamps | |
end | |
add_index :fb_connections, [:user_id] | |
add_index :fb_connections, [:uid] |