1.?基础概念篇 1.1 介绍 ? HTTP是Hyper Text Transfer Protocol(超文本传输协议)的缩写。它的发展是万维网协会(World Wide Web Consortium)和Internet工作小组IETF(Internet Engineering Task Force)合作...
分类:
其他好文 时间:
2014-08-07 15:59:30
阅读次数:
568
1、HelloWorld篇 1.1 环境 下载:angular-1.2.5min.js 1.2 源代码 hello {{'world'}}! Your name: ...
分类:
Web程序 时间:
2014-08-07 12:49:20
阅读次数:
196
作用
重新启动一个单独窗口,在新窗口中执行命令
格式
start [/w] FileName
demo
bat:
@echo off
echo 在新窗口中打开txt文件,并等待新窗口正常退出(exit)再往下执行
start /wait type hello.txt
pause
hello.txt
hello world!!!
结果...
1、Perl
Practical Extraction and Report Language:实用摘录与报表语言
2、多行注释
(1) =需要顶格写
= description
statement;
=cut
(2)末尾的description需要顶格写
description;
print "Hello,world!\n";
description
3、数字:...
分类:
其他好文 时间:
2014-08-07 00:51:37
阅读次数:
238
题意:使用最小的复制/黏贴次数,使得语句的条数恰好为n
思路:贪心思想,因为复制是所有条数翻倍,所以每次都取最大的条数*2
PS:天真的认为是n = -1时退出,所以WA了好几次。
#include
#include
#include
#include
using namespace std;
int main() {
int n, t = 1;
...
分类:
其他好文 时间:
2014-08-06 23:07:12
阅读次数:
272
Context.MODE_PRIVATE:为默认操作模式,代表该文件是私有数据,只能被应用本身访问,在该模式下,写入的内容会覆盖原文件的内容,如果想把新写入的内容追加到原文件中。可以使用Context.MODE_APPEND
Context.MODE_APPEND:模式会检查文件是否存在,存在就往文件追加内容,否则就创建新文件。
Context.MODE_WORLD_READABLE和Cont...
分类:
移动开发 时间:
2014-08-06 18:59:02
阅读次数:
302
The first wealth is health.健康是最大的财富。1.瑜伽已成为全人类的财富。Yoga has become the treasure of all haman beings.Yoga has become the treasure of the world.2.你听说过瑜伽吗...
分类:
其他好文 时间:
2014-08-06 18:32:32
阅读次数:
228
Android APK 签名比对 - To build a better world ! - BlogJava To build a better world ! Android APK 签名比对 转载请注明出处:http://www.blogjava.net/zh-weir/archiv...
分类:
其他好文 时间:
2014-08-06 17:51:21
阅读次数:
587
如果部署的phpmyadmin权限为所有人可写,即权限为777,就会报”Wrong permissions on configuration file, should not be world writable!” 这个错误。可以通过修改文件夹权限解决:#chmod -R 755 phpmyadmi...
分类:
Web程序 时间:
2014-08-06 14:12:51
阅读次数:
213
Python要想调用C语言写的动态连接库,不仅要兼容C接口的调用习惯,还需要兼容C语言的数据类型。幸运的是ctypes库已经做了这两方面的工作,以便调用动态连接库是非常方便的。在Hello World的程序里,这行代码编写如下:MessageBox = windll.user32.MessageBoxW从这行代码的简洁程度来看,是非常优美的。这种优美是由于ctypes库在背后做了非常多的工作,比如...