摘要:
美国的 中科大的源 这个是源生成器的页面地址:http://debgen.simplylinux.ch/ 官方cd列表 具体可以参考 阅读全文
摘要:
package mainimport ( "fmt")type TestStruct struct { aa string name string}type Object interface{}func main() { array := []Object{} a := TestStruct{} a.aa = "aaaa" a.name = "name" array = append(array, 1) array = append(array, a) for index, value := range array { ... 阅读全文
摘要:
www.foxitsoftware.cn下载deb包或者sudo apt-get install evince 阅读全文
摘要:
仅作演示用from bs4 import BeautifulSoupimport urllib.requestwebfile = urllib.request.urlopen('http://www.baidu.com')webcontext = webfile.read().decode("UTF... 阅读全文
摘要:
http://bbs.pediy.com/showthread.php?t=157419 阅读全文
摘要:
1 package main 2 3 import ( 4 "fmt" 5 "net" 6 ) 7 8 func main() { 9 addrs, err := net.InterfaceAddrs()10 if err != nil {11 panic(err)12 }13 for _, addr := range addrs {14 fmt.Println(addr.String())15 }16 } 阅读全文
摘要:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/ 阅读全文
摘要:
百度vld和windbg安装配置symbol路径配置环境变量_NT_SYMBOL_PATHSRV*E:\symbols*http://msdl.microsoft.com/download/symbols在测试工程里面添加include目录,%VLD_PATH%\include添加lib目录,%VLD_PATH%\lib\Win32工程添加#include "vld.h"即可 阅读全文
摘要:
大概这样,笔记一下,防止忘记1 - (void)applicationDidFinishLaunching:(NSNotification *)aNotification2 {3 MyViewController* ctller = [[MyViewController alloc] initWithNibName:@"MyViewController" bundle:nil];4 [self.window setContentView:ctller.view];5 [ctller release];6 } 阅读全文
摘要:
cd /etc/postxxxx/版本号/mainvim postgresql.conf修改#listen_addresses ='localhost'为listen_addresses ='*'vim pg_hba.conf添加一行host all all 0.0.0.0/0 ... 阅读全文