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
<?xml version="1.0" encoding="UTF-8" ?> | |
<Root> | |
<MouseXMode Value="" /> | |
<MouseYMode Value="" /> | |
<MouseDecay Value="1" /> | |
<MouseHeadlook Value="0" /> | |
<MouseSensitivity Value="0.89999998" /> | |
<MouseDeadzone Value="0.04742857" /> | |
<MouseLinearity Value="1.00000000" /> | |
<YawAxis> |
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" | |
"strings" | |
) | |
var distances = `26 Draconis,-39.000000,24.906250,-0.656250 | |
Acihaut,-18.500000,25.281250,-4.000000 | |
Aganippe,-11.562500,43.812500,11.625000 |
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 ( | |
"encoding/json" | |
"fmt" | |
"net" | |
"github.com/GoogleCloudPlatform/kubernetes/Godeps/_workspace/src/gopkg.in/v1/yaml" | |
) |
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
include $(GOROOT)/src/Make.$(GOARCH) | |
all : webirc | |
TARG=webirc | |
GOFILES=main.go | |
include $(GOROOT)/src/Make.cmd |
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
POST /accounts/OAuthGetRequestToken HTTP/1.1 | |
Host: www.google.com | |
User-Agent: Go http package | |
Connection: close | |
Transfer-Encoding: chunked | |
Authorization: OAuth oauth_callback="http%3A%2F%2Flocalhost%3A8080%2Fcallback%2Foauth", oauth_consumer_key="cetico.org", oauth_nonce="5577006791947779410", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1282521243", oauth_version="1.0", oauth_signature="pVrdPTu2u5nYy2x5UgJZCTeKF6w%3D" | |
Content-Type: application/x-www-form-urlencoded | |
0 |
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" | |
"rand" | |
"time" | |
) | |
func main() { | |
a := []int64{0, 1, 2, 3, 4, 5, 6} |
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
// You can edit this code! | |
// Click here and start typing. | |
package main | |
import "fmt" | |
func main() { | |
fmt.Println("Hello, 世界") | |
} |
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 ( | |
"bufio" | |
"bytes" | |
"encoding/base64" | |
"flag" | |
"fmt" | |
"io" | |
"os" |
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" | |
logpkg "log" | |
"log/syslog" | |
"net" | |
"net/http" | |
"os" | |
"os/exec" |
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
// this is not complete and doesn't compile, but hopefully it's a useful guideline. | |
randInfoHash := false | |
if infoHash != "" { | |
if infoHash == "rand" { | |
randInfoHash = true | |
// No need to insist in getting peers for a specific infohash, | |
// since we're probing the address space. | |
numTargetPeers = 1 |
OlderNewer