- 博客(26)
- 收藏
- 关注
原创 用Pages打开word弹出警告
用Pages打开word老是弹出警告(看下图), 找了半天没找到禁止的方法. 因为文档不需要再windows上使用,所以直接保存成pages文件,再打开时就没有警告了.
2017-03-07 22:17:30
1544
原创 MacBook频繁掉线
路由器在客厅, MacBook在卧室用, 手机和ipad网络都没问题,但是MacBook老是断线, 比如隔几分钟qq掉线, 网页打不开, 我需要点击一下右上角的无线图标才能连上网络.在网上也找了一些方法, 比如这个: http://www.macgg.com/archives/11898.html, 不过问题没有解决, 依然掉线.Mac上安装了win7的虚拟机, 我查看网络发现居然是共享而
2017-03-02 13:28:21
1595
原创 Scala学习
1. scala定义字符串数组:val dwnloadString=new Array[String](8); 或者 val dwnloadString[String]=new Array(8); 或者 val dwnloadString[String]=Array("aa‘,"bb","cc");
2013-01-10 16:09:12
196
转载 SAMBA: Map windows to Linux
1、安装: Centos 5.5下安装samba,具体步骤如下: [root@bogon ~]# rpm -q samba Package samba is not installed [root@bogon ~]# yum -y install samba [root@bogon ~]# yum install samba-mount [root
2012-12-24 17:36:34
399
原创 Redhat 5 安装Syslog-ng
参考:http://xjsunjie.blog.51cto.com/999372/585252 (安装流程)http://lostme.org/?p=698 (解决出错问题,有很多拼写错误,注意不要直接copy里面的命令。坑爹啊)自己流程总结:1. 安装syslog-ng需要先安装eventlog, glib, liboleventlog:[root@s
2012-12-20 12:19:47
1124
转载 JAVA
Java中的我们可以利用split把字符串按照指定的分割符进行分割,然后返回字符串数组,下面是string.split的用法实例及注意事项:java.lang.string.splitsplit 方法将一个字符串分割为子字符串,然后将结果作为字符串数组返回。stringObj.split([separator,[limit]]) stringObj必选项。要被分解的 Str
2012-12-13 23:48:36
259
原创 启动ssh
Enable ssh on windows using openssh and cygwin (could ssh other machine and also allow other machine ssh to this windows computer):1. download openssh for windows and install.2. install cygwin t
2012-12-06 14:31:31
232
原创 cmd命令
1. write print result to a file:cmd command >1.txt2. don't close the cmd window after running a cmd file:add cmd.ext to the end of the cmd file.3.
2012-12-06 14:25:18
215
原创 linux基本操作:删除,添加,编辑, 安装, 查看版本, top/ps
rmdir:删除空目录rm -rf:删除非空目录rm:删除文件touch:创建文件mv:修改文件名称或移动文件cp:copy解压文件: tar -zxvf xxx.tar.gz 如果在solaris,则用: 安装: gunzip -c file_name.tar.gz |tar xvf -压缩文件: tar czvf usr.tar.gz /home
2012-10-26 16:12:10
298
原创 Debian安装
1.下载:64-bit: http://cdimage.debian.org/debian-cd/6.0.6/amd64/iso-cd/debian-6.0.6-amd64-netinst.iso32-bit: http://cdimage.debian.org/debian-cd/6.0.6/i386/iso-cd/debian-6.0.6-i386-netinst.isoNote:
2012-10-25 15:28:34
490
原创 Linux启动rsync服务
Reference: http://sexywp.com/use-launchd-and-rsync-source-sync.htm在Linux上启动安装并启动rsync服务1. Install rsync: sudo apt-get install rsync xinetd 2. Create and config /etc/rsyncd.conf: sudo gedit
2012-10-16 19:37:31
1861
原创 链接保存
Linux相关系统和工具下载地址:http://mirrors.sohu.com/note: isos表示iso镜像文件下载URL Decoder/Encoder:http://meyerweb.com/eric/tools/dencoder/Date/Epoch Converterhttp://www.esqsoft.com/javascript_
2012-10-15 18:40:14
185
转载 vma - Virtual Management Assistant VM
http://kangyang.blog.51cto.com/471772/5808711. Enable remote ssh connection:vMA默认情况下无法使用SSH客户端连接,LINUX系统下默认使用hosts.allow 和 hosts.deny来控制TCP访问连接。在hosts.deny文件中,注释掉all:all ,e.g.#all:all
2012-08-22 19:30:59
356
原创 VMware VCenter Server Appliance (vCSA)
Reference: http://www.squishnet.com/?p=3351. Download vcsa from https://my.vmware.com/group/vmware/evalcenter?p=vmware-vsphere5-ent&lp=default&source=evap?eval_ossrc=WWW_12Q3_VMW_EVAL_vSphere||e
2012-08-22 16:39:02
1297
转载 Bloom Filter, Hash
介绍bloom如何工作: http://www.chinaunix.net/old_jh/25/601028.html英文原文: http://www.perl.com/pub/2004/04/08/bloom_filters.html?page=1Bloom Filter: 布隆过滤器通过一系列的hash算法判断元素是否存在于集合中。有一定的误差性。是一种比较快速的算法。
2012-08-15 10:05:26
226
原创 ESXi安装
Install:1. 下载ESX和vSphere client: https://my.vmware.com/web/vmware/evalcenter?p=free-esxi5&lp=defaultVMware-VMvisor-Installer-5.0.0.update01-623860.x86_64.isoVMware-viclient-all-5.0.0-623373.ex
2012-08-10 17:52:18
813
转载 rpm使用详解
今天一个网友问了一个问题,没有想到,自己忘记知识的能力倒很强.....把一些常用的放在这里,大家需要也可以拷贝过去,基础的东西还 是不要丢,唉....三天不练手生啊 1.如何安装rpm软件包 rmp软件包的安装可以使用程序rpm来完成。执行下面的命令 rpm -i your-package.rpm 其中your-package.rpm是你要安装的rpm包的文
2012-08-07 12:30:03
238
原创 Selenuim & Webdriver - Web UI 测试
参考资料:webdriver api: http://shijincheng0223.iteye.com/blog/1481446http://17test.info/?cat=20selenium webdriver 发展史: http://blog.csdn.net/waybook/article/details/6766238selenium中文论坛:http://sel
2012-06-06 17:44:57
1381
转载 bash基本语法
http://www.aka.org.cn/Lectures/002/Lecture-2.1.2/bash-syntax.html#!/bin/bash 指定文件类型sh 运行bash文件 or just ./echo 输出字符if :if [ condition ] 注意空格thenactionfiexample:判断用户
2012-06-06 17:31:21
295
转载 Syslog? syslog服务器配置
http://jackiechen.blog.51cto.com/196075/149860顾名思义Syslog就是Sys Log - 系统日志。在RFC 3164中定义了syslog是一种日志协议,syslog数据包的大小为1024字节,包含Facility, Severity, Hostname, Timestamp和Message信息。syslog服务器默认使用UDP 514号端
2012-05-07 15:21:25
977
原创 检测正则表达式是否匹配
import java.lang.String;public class regex { public static void main(String[] args) throws Exception { String message = args[0]; String regexString = args[1];
2012-04-18 16:06:00
497
转载 创建桌面快捷方式
使用记事本等文本编辑器,重新用以下内容建立一个显示桌面.scf文件。内容如下: [Shell] Command=2 IconFile=explorer.exe,3 [Taskbar] Command=ToggleDesktop 保存时把文件名设为“显示桌面.scf”,再将其拖到快速启动栏上,显示桌面图标就找回来了。 第三行代表的是图标的位置,把数字“3”换成“4”,刷新,图标会变化;
2012-04-18 11:27:10
190
原创 How to config domain server and add computer to domain?
Domain server: windows server 2008 R2Domain client: win71. Install AD (Active Directory) to windows server 2008 (as domain server) and created a domain (To use the command, click on Start > Run
2012-04-17 20:14:49
430
原创 Solaris安装与ip配置
1. 在VMware Fusion上安装VMware Fusion version: 3.0.3Solaris version: 11 64 bit1. Download "Download for x86 - Text Install" from http://www.oracle.com/technetwork/server-storage/solaris11/download
2012-04-17 20:13:06
358
原创 Git
git add -A //将修改的文件添加到git本地库中git commit -m "liujia-2012-04-17" //将修改的文件正式提交到本地库中mvn clean //清理整个运行工程
2012-04-16 22:52:21
186
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人