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
$ java -jar Resources/Java/NoteDup.jar | |
Exception in thread "Thread-13" java.lang.OutOfMemoryError: Java heap space | |
at java.util.Arrays.copyOf(Arrays.java:2786) | |
at java.io.ByteArrayOutputStream.write(ByteArrayOutputStream.java:94) | |
at com.evernote.thrift.transport.THttpClient.write(THttpClient.java:111) | |
at com.evernote.thrift.protocol.TBinaryProtocol.writeBinary(TBinaryProtocol.java:216) | |
at com.evernote.thrift.protocol.TProtocol.writeBinary(TProtocol.java:123) | |
at com.evernote.edam.type.Data.write(Data.java:306) | |
at com.evernote.edam.type.Resource.write(Resource.java:848) | |
at com.evernote.edam.type.Note.write(Note.java:1214) |
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
lidaobing@lis-macbook-pro deploy (issue_8164) $ curl -I http://www.ubuntu.com/ | |
HTTP/1.1 302 Found | |
Date: Sun, 20 Apr 2014 13:03:12 GMT | |
Server: Apache/2.2.22 (Ubuntu) | |
Location: http://www.ubuntu.com/index_kylin | |
Vary: Accept-Encoding | |
Content-Type: text/html; charset=iso-8859-1 | |
lidaobing@lis-macbook-pro deploy (issue_8164) $ tsocks curl -I http://www.ubuntu.com/ | |
HTTP/1.1 200 OK |
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
$ host tratao.qiniudn.com | |
tratao.qiniudn.com is an alias for wsall.qiniudn.com.wscdns.com. | |
wsall.qiniudn.com.wscdns.com is an alias for 08911.xdwscache.glb0.lxdns.com. | |
08911.xdwscache.glb0.lxdns.com has address 122.227.2.87 | |
08911.xdwscache.glb0.lxdns.com has address 58.216.21.99 | |
08911.xdwscache.glb0.lxdns.com has address 115.231.84.89 | |
08911.xdwscache.glb0.lxdns.com has address 122.226.185.94 | |
08911.xdwscache.glb0.lxdns.com has address 122.228.115.103 |
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
lidaobing@Lis-MacBook-Pro service (issue_7683) $ curl -I 'http://tratao.qiniudn.com/d895d2749ef24aee77e63cfb773b0c48.png?e=1396882179&token=CvR8Laj1amUwLtt25LbbYrUB4MhI2EKjbW9vqIwx:zH1Pj8OcLJ9eTj46LkJzmZoo3yc' | |
HTTP/1.1 200 OK | |
Date: Mon, 07 Apr 2014 13:50:43 GMT | |
Server: nginx/1.4.4 | |
Content-Type: image/png | |
Content-Length: 83886 | |
Accept-Ranges: bytes | |
Access-Control-Allow-Origin: * | |
Cache-Control: public, max-age=31536000 |
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
$ curl -I 'http://tratao.qiniudn.com/%E6%96%B0/%E8%B7%AF%E5%BE%84/%E6%B5%8B%E8%AF%95/b2ecdc1df1e8491e438f6b6d5461401c.png?token=CvR8Laj1amUwLtt25LbbYrUB4MhI2EKjbW9vqIwx:pvbLd5H4euFRAasZSqUn0EAgzmk=:eyJTIjoidHJhdGFvLnFpbml1ZG4uY29tL-aWsC_ot6_lvoQv5rWL6K-VL2IyZWNkYzFkZjFlODQ5MWU0MzhmNmI2ZDU0NjE0MDFjLnBuZyIsIkUiOjEzOTY5NjQ1OTJ9' | |
HTTP/1.1 200 OK | |
Date: Mon, 07 Apr 2014 13:43:57 GMT | |
Server: nginx/1.4.4 | |
Content-Type: image/png | |
Content-Length: 83886 | |
Accept-Ranges: bytes | |
Access-Control-Allow-Origin: * | |
Cache-Control: public, max-age=31536000 | |
Content-Disposition: inline; filename="b2ecdc1df1e8491e438f6b6d5461401c.png" |
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
escape('あ') | |
"%u3042" | |
encodeURI('あ') | |
"%E3%81%82" | |
encodeURIComponent('あ') | |
"%E3%81%82" |
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 | |
func main() { | |
str := "Hello, 世界 " | |
println(str) | |
} |
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
$ curl -v 'https://portal.qiniu.com' | |
* Adding handle: conn: 0x7fa0c1803a00 | |
* Adding handle: send: 0 | |
* Adding handle: recv: 0 | |
* Curl_addHandleToPipeline: length: 1 | |
* - Conn 0 (0x7fa0c1803a00) send_pipe: 1, recv_pipe: 0 | |
* About to connect() to portal.qiniu.com port 443 (#0) | |
* Trying 118.26.231.134... | |
* Connected to portal.qiniu.com (118.26.231.134) port 443 (#0) | |
* TLS 1.0 connection using TLS_DHE_RSA_WITH_AES_256_CBC_SHA |
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" | |
) | |
import ( | |
"labix.org/v2/mgo" | |
"labix.org/v2/mgo/bson" |
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" | |
) | |
type A struct { | |
I int | |
} |