This file contains hidden or 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
package main | |
import ( | |
"encoding/json" | |
"errors" | |
"fmt" | |
"io/ioutil" | |
"log" | |
"net/http" | |
_ "net/http/pprof" |
This file contains hidden or 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
# Feed URLs need to be explict passed as options because there is no request object | |
atom_feed( | |
id: "tag:weblog.rubyonrails.org,2005:/feed/atom", | |
root_url: "http://weblog.rubyonrails.org/", | |
url: "http://weblog.rubyonrails.org/feed/atom.xml" | |
) do |feed| | |
feed.title("Riding Rails") | |
feed.updated(@posts.first.updated_at) | |
@posts.each do |post| |
This file contains hidden or 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
g_LastCtrlKeyDownTime := 0 | |
g_AbortSendEsc := false | |
g_ControlRepeatDetected := false | |
*CapsLock:: | |
if (g_ControlRepeatDetected) | |
{ | |
return | |
} |