老实说:第一个swift语句的ios不是代码敲出来的,我甚至还没来得急看代码,hello world 就出来了。。。。。本人开发环境:mac osx 10.10 dp1 + xcode6 beta + swift(更低xcode不支持swift语言)思路与大致过程: 1、建立工程,工程包含界面文.....
分类:
移动开发 时间:
2014-06-18 16:15:41
阅读次数:
382
helloword!http://www.ituring.com.cn/article/13471 Hello {{'World'}}!
分类:
Web程序 时间:
2014-06-18 14:51:28
阅读次数:
191
argv是在脚本内部使用,旨在接受命令传参比如,一个脚本argv.py,代码里面有,sys.argv[1],,sys.argv[2],那么运行这个脚本时,必须在后面跟两个参数,用空格隔开,如:python argv.py hello world 示例如下:首先编辑脚本 argv.py#coding:...
分类:
其他好文 时间:
2014-06-18 14:35:13
阅读次数:
191
一、逻辑地址转线性地址 机器语言指令中出现的内存地址,都是逻辑地址,需要转换成线性地址,再经过MMU(CPU中的内存管理单元)转换成物理地址才能够被访问到。 我们写个最简单的hello world程序,用gccs编译,再反编译后会看到以下指令: mov 0x80495b0, %eax 这里的内存地址...
分类:
系统相关 时间:
2014-06-18 13:50:43
阅读次数:
348
1,安装rabbitmq.我的是ubuntu14.04,在官网上面下载最新的安装文件http://www.rabbitmq.com/install-debian.html
2.安装完之后 启动rabbitmq, sudo rabbitmq-server
3.下载jar包
4.最简单的hello world的实现
Sender类
package com.lubby.test;
im...
分类:
编程语言 时间:
2014-06-18 06:57:13
阅读次数:
273
把 c 编译成 arm 指令的可执行文件
/usr/bin/arm-linux-gnueabi-g++ hello.cpp
cat hello.cpp
#include
void crash(){
char *a=0;
*a=0;
}
int main()
{
printf("hello world\n");
crash();...
分类:
数据库 时间:
2014-06-18 06:50:45
阅读次数:
424
我想大多数在学习vsftpd的同学都曾被anon_world_readable_only这个参数给困扰过吧?貌似不管将它设成YES还是NO,效果都一样,用户依旧能浏览目录和下载文件,但其实它是这样用的:大家都知道linux文件权限分成“属主”、“属组”和“其他人”这三种,如果“其他人”没有可读权..
分类:
其他好文 时间:
2014-06-18 00:36:47
阅读次数:
329
经过两天的努力,总于在ubuntu下面编译好classpath-0.98与jamvm1.5.4,并能成功的执行类文件:jamvm hellowold,当屏幕上打印出“hello world!”的时候,按捺不住一阵兴奋!在这两天中,执行jamvm hellowold始终被有三类异常:
1) Exceptionoccurred while VM initialising
java/lang/...
分类:
其他好文 时间:
2014-06-17 22:13:53
阅读次数:
394
我的第一个Nodejs程序:Hello World var http = require("http");http.createServer(function(request, response) { response.writeHead(200, {"Content-Type": "text/.....
分类:
Web程序 时间:
2014-06-17 19:59:52
阅读次数:
241
??
Common Divisions
In modeling object-oriented systems, the world often gets divided in several ways.
First, there is the division of class and object. A class is an abstraction; an object is one ...
分类:
其他好文 时间:
2014-06-17 16:25:38
阅读次数:
322