会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
smile_tina
博客园
首页
新随笔
联系
管理
订阅
上一页
1
···
3
4
5
6
7
8
9
10
11
···
14
下一页
2015年3月24日
Ubuntu 查找命令
摘要: Ubuntu 查找文件夹使用find命令查找find / -name 文件夹名称 -type d找到结果中含有路径查找命令从根目录开始查找所有扩展名为.log的文本文件,并找出包含”ERROR”的行find / -type f -name "*.log" | xargs grep "ERROR"系统...
阅读全文
posted @ 2015-03-24 10:50 smile_tina
阅读(429)
评论(0)
推荐(0)
2015年2月10日
mysql root@::1 意义
摘要: root@::1::1是IPv6格式的127.0.0.1
阅读全文
posted @ 2015-02-10 10:59 smile_tina
阅读(3140)
评论(0)
推荐(0)
2015年2月4日
shell
摘要: script 的执行方式区别sh 执行方式 当子进程完成后,子进程内的各项变量或者操作将会结束而不会传回到父进程中。source 在父进程中进行。source ~/.bashrc 在不注销系统的情况下让写入bashrc的设置生效
阅读全文
posted @ 2015-02-04 14:59 smile_tina
阅读(149)
评论(0)
推荐(0)
2015年1月31日
Ubuntu 常用命令
摘要: 查看cpu信息cat /proc/cpuinfo查看ubuntu版本:cat /etc/issue 或者是lsb_release -a查看系统是32位还是64位方法1:#查看long的位数,返回32或64 getconf LONG_BIT方法2:#查看文件信息,包含32-bit就是32位,包含64-...
阅读全文
posted @ 2015-01-31 13:51 smile_tina
阅读(178)
评论(0)
推荐(0)
2015年1月26日
java 获取特定天数的时间戳
摘要: 1 public Timestamp strToDate(int type){ 2 Timestamp time = null; 3 DateFormat format2= new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"...
阅读全文
posted @ 2015-01-26 14:14 smile_tina
阅读(3133)
评论(0)
推荐(0)
2015年1月7日
myeclipse 2013 git
摘要: 1.2、添加site http://download.eclipse.org/egit/updates-2.33.安装 完成后,查看windows->preference的team下面有git 说明安装成功
阅读全文
posted @ 2015-01-07 19:23 smile_tina
阅读(568)
评论(0)
推荐(0)
2014年12月31日
ajax 请求
摘要: jquery的async:false,这个属性默认是true:异步,false:同步。一早上就耗在这个上面了,真真是醉了,开始试图使用回调函数解决,最终发现根本没用,变量值还是跳来跳去啊啊啊啊~~回调函数上例子function fn(arg1, arg2, callback){ var num...
阅读全文
posted @ 2014-12-31 11:48 smile_tina
阅读(175)
评论(0)
推荐(0)
2014年12月30日
php float 转int
摘要: round(x,prec)参数描述x可选。规定要舍入的数字。prec可选。规定小数点后的位数。输出:110-4-5
阅读全文
posted @ 2014-12-30 15:48 smile_tina
阅读(1016)
评论(0)
推荐(0)
2014年12月29日
php IP string与整型互换
摘要: PHP中有内置函数ip2long可以将ip地址转换整型。使用long2ip把整型转换回ip地址例子:$ip = '58.6.207.207';$ip_int = ip2long($ip);echo $ip."";echo $ip_int."";echo long2ip($ip_int);转换原理:第...
阅读全文
posted @ 2014-12-29 09:54 smile_tina
阅读(336)
评论(0)
推荐(0)
2014年12月24日
thinkphp 表名注意
摘要: $db = "DomainInfo";//查找相关任务的结果表 $result = M($db); $rescc = $result->select(); var_dump($rescc);一直运行不出结果,经修改将第一句话改成$d...
阅读全文
posted @ 2014-12-24 19:59 smile_tina
阅读(300)
评论(0)
推荐(0)
上一页
1
···
3
4
5
6
7
8
9
10
11
···
14
下一页
公告