当我们运行pod setup的命令的时候,有时候会碰到这个警告:/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.33.1/lib/cocoapods/executable.rb:55: warning: Insecure world writable dir /u...
分类:
移动开发 时间:
2014-06-25 21:25:14
阅读次数:
278
Strings and Characters (字符串和字符) 字符串是一组字符组成的序列,例如“hello, world" 或 "albatross”.在Swift中,字符串使用String类型进行声明,它代表一组由Character(字符)类型组成的值的序列. String类型和Charac.....
分类:
移动开发 时间:
2014-06-25 13:42:58
阅读次数:
186
#!/usr/bin/envpython#Filename:helloworld.py#Theuseof‘and"print‘hello,world!‘print"hello,world!"#Theuseof‘‘‘and"""print‘‘‘Thisisamulti-linestring.Thisisthefirstline.Thisisthesecondline."What‘syourname?"Iasked.Hesaid"Bond,JamesBond."‘‘‘print"""Thisisamulti-li..
分类:
编程语言 时间:
2014-06-24 17:05:23
阅读次数:
239
I won't forget Ki-kun until the day I forget Ki-kun — Mafuyu Shiina , Life is never too short to try again! — Kurimu Sakurano It's not that the world....
分类:
其他好文 时间:
2014-06-24 15:16:16
阅读次数:
210
The world is beautiful. Even if you’re full of tears and sadness, open your eyes. Do what you want to do. Be what you want to be. Find friends. Don’t....
分类:
其他好文 时间:
2014-06-24 14:47:06
阅读次数:
295
是吗hello爱发起#include<stdio.h>
intmain()
{
printf("helloworld!");
}num=521
(1)sed加正则表达式
[[-n"`echo$num|sed‘s/[0-9]//g‘`"]]&&echo"Itisnumber"
(2)变量的子串替换+正则表达式
[[-z"`echo"${num//[0-9]/}"`"]]&&echo"Itisnumber"
(3)变量..
分类:
其他好文 时间:
2014-06-22 11:55:10
阅读次数:
191
Python初级教程Python快速教程 (手册)Python基础01 Hello World!Python基础02 基本数据类型Python基础03 序列Python基础04 运算Python基础05 缩进和选择Python基础06 循环Python基础07 函数Python基础08 面向对象的基...
分类:
编程语言 时间:
2014-06-22 09:38:24
阅读次数:
229
在linux下写了一个非常简单的Hello world程序,编译运行竟然报错:Error: Could not find or load main class Hello
最后发现是CLASSPATH的问题。
首先需要检查jdk环境变量是否配置正确:参考这篇文章:ubuntu12.04 安装配置jdk1.7
主要在环境变量这块:
export JAVA_HOME=/usr/java/jdk...
分类:
系统相关 时间:
2014-06-22 08:58:51
阅读次数:
410
这书不错,链接-装载-库 我觉得是很底层的东西。比如很多人闭着眼睛都能写出来的hello world(当然不包括brianfuck,如果你会,你真的闹残了吗= =), 其实链接编译器做了很多,不然就哪来的printf,这IO初始化也是CRT(c runtime)库完成的。堆栈的初始化,还有系统装载让程序运行等等。涉及很多。
书里后面就讲了一个CRT库,自己写一个,感觉不错,学了很多。比如mall...
分类:
其他好文 时间:
2014-06-22 06:46:27
阅读次数:
337