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
// SetCookies handles the receipt of the cookies in a reply for the | |
// given URL. It may or may not choose to save the cookies, depending | |
// on the jar's policy and implementation. | |
func (jar *Jar) SetCookies(u *url.URL, cookies []*http.Cookie) { | |
jar.lk.Lock() | |
jar.cookies[u.Host] = cookies | |
jar.lk.Unlock() | |
} | |
// Cookies returns the cookies to send in a request for the given URL. |
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
sudo apt-get install python-software-properties # 12.04 | |
sudo add-apt-repository ppa:duh/golang | |
sudo apt-get update | |
sudo apt-get install golang | |
To confirm: | |
go version | |
which outputs in my case (Ubuntu precise) | |
go version go1.1.1 linux/amd64 |
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
# -*- Encoding: utf-8 -*- | |
import urllib | |
from httplib2 import Http | |
LOGIN_URL = 'http://www.renren.com/PLogin.do' | |
FRIENDS_URL = 'http://friend.renren.com/myfriendlistx.do' | |
h = Http() | |
h.follow_redirects = False |
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
http://www.cppblog.com/weiym/archive/2012/06/07/177958.aspx |
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
adb shell getprop | findstr "ril.subscription.types" | |
[ril.subscription.types]: [NV,RUIM] | |
you can find this information in android source codes. | |
It is com/android/phone/CdmaOptions.java | |
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
http://codertoyz.blogspot.com/2006/01/view-ipod-nano-songs-witho_113730805983488867.html |
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
http://msdn.microsoft.com/en-us/library/bb513638(VS.85).aspx |
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
https://github.com/kovidgoyal/calibre/blob/master/setup/installer/windows/libimobiledevice_notes.rst |
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
https://code.google.com/p/jphonewin/ | |
iDevice file system. Tomorrow test |
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
Visual Studio Ultimate 2013 KEY:BWG7X-J98B3-W34RT-33B3R-JVYW9 | |
Visual Studio Premium 2013 KEY:FBJVC-3CMTX-D8DVP-RTQCT-92494 | |
Visual Studio Professional 2013 KEY:XDM3T-W3T3V-MGJWK-8BFVD-GVPKY | |
Team Foundation Server 2013 KEY:MHG9J-HHHX9-WWPQP-D8T7H-7KCQG |
OlderNewer