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
diff -r ceb13960d05b src/pkg/net/http/server.go | |
--- a/src/pkg/net/http/server.go Thu Mar 13 13:25:59 2014 +0400 | |
+++ b/src/pkg/net/http/server.go Thu Jul 03 21:48:41 2014 +0530 | |
@@ -1615,6 +1615,8 @@ | |
ErrorLog *log.Logger | |
disableKeepAlives int32 // accessed atomically. | |
+ | |
+ DisableGoRoutines bool | |
} |
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 python | |
from path import path | |
from struct import unpack | |
from collections import namedtuple | |
import stat, os | |
USBDeviceDescriptor = namedtuple( | |
"USBDeviceDescriptor", " ".join( | |
[ |
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
from IPython.nbformat import current | |
import io | |
from os import remove, rename | |
from shutil import copyfile | |
from subprocess import Popen | |
from sys import argv | |
for filename in argv[1:]: | |
# Backup the current file | |
backup_filename = filename + ".backup" |
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
Verifying that +amitu is my openname (Bitcoin username). https://onename.io/amitu |
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
CURRENT=${shell git rev-parse HEAD} | |
sync: | |
./build.sh min | |
s3cmd sync proj/staticfiles/admin/ s3://static.proj.com/admin/ | |
s3cmd sync proj/staticfiles/latest/ s3://static.proj.com/${CURRENT}/ |
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" | |
"os" | |
"time" | |
) | |
func main() { | |
if len(os.Args) != 2 { |
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 bench is a package which contains | |
// programs of Go Benchmark Competition. | |
package bench | |
import ( | |
"bufio" | |
"errors" | |
"fmt" | |
"os" | |
"strings" |
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: Y UW1 => यू | |
I: AY1 => आय | |
to: T UW1 => टू | |
the: DH AH0 => दै | |
a: AH0 => ऐ | |
and: AH0 N D => ऐन्ड | |
that: DH AE1 T => दैट | |
it: IH1 T => इट | |
of: AH1 V => आव | |
me: M IY1 => मी |
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
var webrtc = require('..'); | |
var RTCPeerConnection = webrtc.RTCPeerConnection; | |
var RTCSessionDescription = webrtc.RTCSessionDescription; | |
var RTCIceCandidate = webrtc.RTCIceCandidate; | |
var pc1 = new RTCPeerConnection(); | |
var pc2 = new RTCPeerConnection(); | |
var d = ""; |
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
diff --git a/talk/app/webrtc/peerconnection.cc b/talk/app/webrtc/peerconnection.cc | |
index 5226041..4e5daea 100644 | |
--- a/talk/app/webrtc/peerconnection.cc | |
+++ b/talk/app/webrtc/peerconnection.cc | |
@@ -41,6 +41,8 @@ | |
#include "webrtc/base/stringencode.h" | |
#include "webrtc/system_wrappers/interface/field_trial.h" | |
+// extern void (*go_Println)(const char*); | |
+ |