2012-5-16 10:57:26 阅读10 评论0 162012/05 May16
import urllib2proxy_handler = urllib2.ProxyHandler({'http':'http://202.43.179.182:54321'})proxy_auth_handler = urllib2.ProxyBasicAuthHandler()opener = urllib2.build_opener(proxy_handler, proxy_auth_handler)urllib2.install_opener(opener)
2012-4-30 1:02:08 阅读26 评论0 302012/04 Apr30
2012-4-14 8:42:28 阅读46 评论1 142012/04 Apr14
#include <SDL2/SDL.h>
2012-4-13 13:27:14 阅读43 评论0 132012/04 Apr13
#include <SDL2/SDL.h>#include <stdlib.h>#include <assert.h>int main(){int result;SDL_Window *win1 = NULL;SDL_Window *win2 = NULL;SDL_Event event;result = SDL_Init(SDL_INIT_VIDEO);assert(result == 0);win1 = SDL_CreateWindow("#1", 100, 100, 100, 100, SDL_WINDOW_SHOWN | SDL_WINDOW_RESIZABLE);
2012-4-12 22:17:25 阅读41 评论0 122012/04 Apr12