原创地址:http://www.cnblogs.com/Alandre/
(泥沙砖瓦浆木匠),需要转载的,保留下! Thanks The reasonable man adapts himself to the world;the
unreasonable...
分类:
编程语言 时间:
2014-06-07 05:28:48
阅读次数:
349
一、if判断数字: $A=12 $B=15 if(("$A"<"$B"))
if(("$A"=="$B"))字符串: $A="HELLO" $B="WORLD" if [ "$A" = "FACT_LOGIN_USER" ] if [
"$A" = "$B" ]PS:字符串比较的时候...
分类:
其他好文 时间:
2014-05-28 09:32:44
阅读次数:
347
安装包下载:http://www.nodejs.org/download/Windows
操作系统安装方法:第一步:下载安装包:第二步:运行node-v0.10.28-x86.msi,选择要安装的地址。第三步:安装完后,运行cmd
,输入node,如图:说明安装成功。这样你就进入nodejs 世界。...
分类:
Web程序 时间:
2014-05-27 16:55:45
阅读次数:
364
We are the World词曲:Michael Jackson & Lionel
RichThere comes a time when we heed a certain call (Lionel Richie 莱昂纳尔.里奇)When
the world must come togethe...
分类:
其他好文 时间:
2014-05-26 17:07:17
阅读次数:
266
Problem Description
To see a World in a Grain of Sand
And a Heaven in a Wild Flower,
Hold Infinity in the palm of your hand
And Eternity in an hour.
—— William Blake
听说lcy帮大家预定了新马泰7日游,Wisk...
分类:
其他好文 时间:
2014-05-26 05:53:31
阅读次数:
238
前提条件是已经安装了g++要是没有安装,就yum install
g++1,编写Hello.cpp1>vim2>#include int main(){ printf("Hello,the world!");
return 0;}3>:w hello.cpp2,退出vim !q3,编译#g++ .....
分类:
编程语言 时间:
2014-05-25 22:19:17
阅读次数:
468
1. 变量赋值时 = 两边不能有空格.2. if比较时 = 两遍有空格.3. [ 的左右两边 和 ]
的左边有空格, 1 #!/bin/sh 2 # 字符串比较 3 aa= 4 bb="hello" 5 cc="world" 6 7 #
1.注意判断中的字符串变量用双引号括起来(不括起来在某些情况....
分类:
其他好文 时间:
2014-05-25 22:01:11
阅读次数:
298
package chapter1;public class Demo1 { public
static void main(String[] args) { System.out.println("Hello World!"); /*...
分类:
编程语言 时间:
2014-05-25 13:56:17
阅读次数:
229
V3 RC4 版本图片
显示一个飞船
将Chapter1中 SpaceCargoShip.png 文件 添加到项目里面。
代码在 init :
CCSprite *spaceCargoShip = [CCSprite spriteWithImageNamed:@"SpaceCargoShip.png"]; [spaceCargoShip set...
分类:
其他好文 时间:
2014-05-25 09:39:59
阅读次数:
195
点灯程序应该是每个入门者都经历过的第一个程序吧,当然“hello world”算是鼻祖了。看到板子上的LED小灯亮灭变化,心里应该充满了幸福感,对于新手来说额,大侠就更不用多说了,一天一小步,慢慢积累。
板载的LED使用了A13、A14、A15三个I/O引脚:
根据图示,当I/O输出高电平时,LED亮;反之,LED灭;此刻高电平为3.3V,低电平为0,因为是数字方式驱动。
这里要介绍一个函数digitalWrite(),函数原型如下:
描述:设置给定引脚的高低状态,无返回值...
分类:
其他好文 时间:
2014-05-25 06:22:53
阅读次数:
280