上一页 1 2 3 4 5 6 7 8 ··· 12 下一页
摘要: <?php/*其实这个问题很久之前遇到过, 应该是没解决, 当时的情况是openoffice打开正常而excel打开不正常, 后来也没解决了, 只能把编码转了.这次又遇到这个问题了, 在网上一番寻找, 在一篇java的文章里找到了原因, 是由于输出的CSV文件中没有BOM.什么是BOM?在UCS 编... 阅读全文
posted @ 2014-08-08 11:40 arvim 阅读(898) 评论(0) 推荐(0) 编辑
摘要: AWK Command: 一 : print print item1,item2,.......... 要点: 1.各项目之间使用逗号隔开,而输入时则以空白字符分隔 2.输出的item可以为字符串或树枝,当前记录的字段(如... 阅读全文
posted @ 2014-08-03 21:45 arvim 阅读(264) 评论(0) 推荐(0) 编辑
摘要: Python 类型转换 str(),repr()|format() : 将非字符类型转成子串 int() : 转为整形 float() : 转为浮点型 list(s) : 将字串s转成列表 tuple(s) : 将字串s转成元组 ... 阅读全文
posted @ 2014-07-30 23:53 arvim 阅读(297) 评论(0) 推荐(0) 编辑
摘要: Python 征程(用户输入名字进行密码验证)#!/usr/bin/env pythonaccount_file = file('account.txt')user_list = account_file.readlines();while True: lock_file = file('lo... 阅读全文
posted @ 2014-05-28 22:32 arvim 阅读(1064) 评论(0) 推荐(0) 编辑
摘要: 通常,通过ssh登录远程服务器时,使用密码认证,分别输入用户名和密码,两者满足一定规则就可以登录。但是密码认证有以下的缺点:用户无法设置空密码(即使系统允许空密码,也会十分危险)密码容易被人偷窥或猜到服务器上的一个帐户若要给多人使用,则必须让所有使用者都知道密码,导致密码容易泄露,而且修改密码时必须... 阅读全文
posted @ 2014-05-26 23:06 arvim 阅读(583) 评论(0) 推荐(0) 编辑
摘要: 1.更新源操作# cd /etc/yum.repos.d# wget http://mirrors.163.com/.help/fedora-163.repo(添加163源)# wget http://mirrors.163.com/.help/fedora-updates-163.repo# wg... 阅读全文
posted @ 2014-05-11 12:49 arvim 阅读(313) 评论(0) 推荐(0) 编辑
摘要: //js 词法分析以及执行流程function a(b){ alert(b); function b() { alert(b); } b();}a(1);/* 词法分析期0:形成Active Object AO={}; 1: 1.1: 分析参数... 阅读全文
posted @ 2014-04-26 15:13 arvim 阅读(199) 评论(0) 推荐(0) 编辑
摘要: //js继承function classA(msg){ this.age = 23; this.name = 'luowen'; if(typeof classA._initialed == 'undefined') classA.prototype.sayHi = ... 阅读全文
posted @ 2014-04-26 12:14 arvim 阅读(151) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2014-04-26 11:27 arvim 阅读(196) 评论(0) 推荐(0) 编辑
摘要: package com.luowen.test;public class DealLockTest { public static void main(String[] args) { Go g1 = new Go(true); Go g2 = new Go(false); Thread ... 阅读全文
posted @ 2014-04-20 10:22 arvim 阅读(184) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 12 下一页