码迷,mamicode.com
首页 >  
搜索关键字:make    ( 11169个结果
20170831 基于wsgi的web简易框架
20170831 基于wsgi的web简易框架 Request 翻译为请求 Response 翻译为响应 from wsgiref.simple_server import make_server def application(environ, start_response): # 通过envir ...
分类:Web程序   时间:2017-09-02 13:00:28    阅读次数:223
20170901 基于wsgi的web框架二
20170901 基于wsgi的web框架二 from wsgiref.simple_server import make_server import time def f1(environ): return [b"<h1>hello book</h1>"] def f2(environ): ret ...
分类:Web程序   时间:2017-09-02 13:00:17    阅读次数:272
Git提交出现错误1
Git提交出现: If no other git process is currently running, this probably means a git process crashed in this repository earlier. Make sure no other git pr ...
分类:其他好文   时间:2017-09-02 11:32:46    阅读次数:152
第12月第2天 uiscrollview _adjustContentOffsetIfNecessary
1. uiscrollview在调用setFrame,setBounds等方法的时候会默认调用稀有api: _adjustContentOffsetIfNecessary 这个方法会改变当前的contentOffset值 (CGPoint) contentOffset = (x = 0, y = - ...
分类:其他好文   时间:2017-09-02 11:24:08    阅读次数:242
saltstack常用命令
Salt通过公钥加密和认证minions。想要让minion从master端接受命令,minions的密钥需要被master接受 salt-key -L #列出master上的密钥; salt-key -a <证书名> #接收单个证书; salt-key -d <证书名> #删除单个证书; salt ...
分类:其他好文   时间:2017-09-02 09:43:36    阅读次数:129
大型项目使用Automake/Autoconf完成编译配置
使用过开源C/C++项目的同学们都知道,标准的编译过程已经变成了简单的三部曲:configure/make/make install, 使用起来很方便,不像平时自己写代码,要手写一堆复杂的Makefile,而且换个编译环境,Makefile还需要修改(Eclipse也是这样)。 这么好的东东当然要拿 ...
分类:其他好文   时间:2017-09-02 00:15:16    阅读次数:235
Spring boot 国际化自动加载资源文件问题
Spring boot 国际化自动加载资源文件问题 最近在做基于Spring boot配置的项目。中间遇到一个国际化资源加载的问题,正常来说只要在application.properties文件中定义正确的资源文件路径,Spring boot就启动时就会自动加载资源。 但是我的项目修改后获取消息时系 ...
分类:编程语言   时间:2017-09-01 23:07:22    阅读次数:300
GO之slice
切片-本身并不是数组,它指向底层的数组-作为变长数组的替代方案,可以关联底层数组的局部或全部-为引用类型-使用len()获取元素的个数,cap()获取容量-一般使用make()创建-如果多个slice指向相同底层数组,其中一个的值改变会影响全部-make([]T,len,cap)-其中cap可以省略,则和..
分类:其他好文   时间:2017-09-01 15:45:55    阅读次数:160
hausaufgabe--python 35 - easygui
00-- make use of easygui to recode the game of number guessing: ...
分类:编程语言   时间:2017-09-01 09:46:19    阅读次数:132
Linux下通过源码编译安装程序
ASK: Linux下通过源码编译安装程序(configure/make/make install的作用) configure Linux 平台有各种不同的配置,安装时需要通过 configure 来确定,如:编译器用的是 cc 还是 gcc、不同库文件所在目录等。执行 configure 后会生成 ...
分类:系统相关   时间:2017-08-31 19:16:35    阅读次数:293
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!