Key binding | Action |
---|---|
M n | next-window |
M p | previous-window |
M j | move down a pane |
M k | move up a pane |
M h | move left a pane |
M-l | move right a pane |
M ↑ | move the pane divide up (resize) |
M ↓ | move the pane divide down (resize) |
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
http.Handle("/yolo2", http.HandlerFunc(Yolo)) |
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
http.Handle("/yolo2", http.HandlerFunc(Yolo)) |
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
package main | |
import ( | |
"fmt" | |
"net/http" | |
) | |
type Lol struct{} | |
func (l *Lol) ServeHTTP(w http.ResponseWriter, r *http.Request) { |
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
package main | |
import ( | |
"fmt" | |
"net/http" | |
) | |
func Yolo(w http.ResponseWriter, r *http.Request) { | |
fmt.Fprintln(w, "YOLO") | |
} |
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
package main | |
import ( | |
"fmt" | |
"net/http" | |
) | |
func Rofl(w http.ResponseWriter, r *http.Request) { | |
fmt.Fprintln(w, "ROFL") | |
} |
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
#!/usr/bin/env ruby | |
### make sure you `brew install chromedriver` and `gem install selenium-webdriver` before running this! | |
require 'rubygems' | |
require 'selenium-webdriver' | |
hangout_url = ENV['hangout_url'] | |
hangout_email = ENV['hangout_email'] | |
hangout_password = ENV['hangout_password'] |
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
describe 'simple object' do | |
class A | |
def initialize | |
@c = 'ccc' | |
@d = 'ddd' | |
end | |
def default | |
'aaa' |
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 Boston < Town | |
LAT = "30°4′E" | |
LNG = "29°41′S" | |
REFERENCE = "http://en.wikipedia.org/wiki/Boston,_KwaZulu-Natal" | |
end |