自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(23)
  • 收藏
  • 关注

转载 1.8以后版本svn: E170000: Unrecognized URL scheme for解决办法

1.8版本之前的需要加neon。 1 --with-neno={PATH} 1.8版本之后弃用neon而改使用serf: 1 --with-serf={PATH} 转载于:https://www.cnblogs.com/-Rik/p/3732364.html...

2014-05-16 15:56:00 567

转载 svn安装笔记

每次安装都少不了查来查去的麻烦 apr-1.5.1 apr-util-1.5.3 以上个安装好 sqlite-amalgamation-3.6.13.tar.gz 解压到subversion-xx.xx.xx/sqlite-amalgamation目录下 然后./configure --with-apr={apr-path} --with-apr-util={apr-util-...

2014-05-15 15:48:00 95

转载 shell随机输出某文件中的n行

awk 'BEGIN{FS="\n";RS=""}{srand();while(t++<100){print $(int(『from_file.path』*rand())+1);}}' from_file> outfile.txt 转载于:https://www.cnblogs.com/-Rik/p/3592548.html

2014-03-10 19:55:00 242

转载 [nodejs] 模块概念 学习中,笔记ing

require()可以引用一个模块或者一个文件,可以接受相对路径或者绝对路径; 模块:   1. 核心模块,都放置在lib文件夹内;   2. 文件模块,就是任意文件,当'/'开头的时候是绝对路径;   3. 如果不是1、2情况,那么就是载入node_modules目录的内容;   4. 如果想制定目录作为模块,那么需要在目录根目录添加package.json,内容如下:  ...

2012-10-25 19:55:00 105

转载 基于html5 css跨移动平台解决办法

titanium-mobile:一个不错的跨平台工具 ,不过在测试中android会有各种问题 phoneGap http://www.lis186.com/?tag=titanium-mobile 转载于:https://www.cnblogs.com/-Rik/archive/2012/10/22/2734302.html...

2012-10-22 17:47:00 92

转载 CSS静态代码检查常用工具集

helium:可以检查未被使用的css内容 https://github.com/geuis/helium-css csshint http://www.csshint.com 暂时尚不知与jshint||jslint之间的关系 转载于:https://www.cnblogs.com/-Rik/archive/2012/09/26/2704283.html...

2012-09-26 16:48:00 88

转载 [Webapp]国内移动端浏览器占比

1. 国内移动端浏览器占比 Source: StatCounter Global Stats - Mobile Browser Market Share US及IOS、Android自带浏览器占据90%的市场份额 中国各手机浏览器的用户渗透率 2. 源自2012年中国手机浏览器市场集中度较高。源自《中国手机浏览器用户行为研究报告》 根据调查UC浏览器为54...

2012-09-26 14:22:00 328

转载 [HTML5] webapp 手机端 本地存储 方式支持调研结果

存储方式 System UC QQ Storage(local、session)  OK   OK   OK  web storage Database  OK   NG  OK  Files API  NG  NG  NG ApplicationCache  OK   OK   OK  ...

2012-09-21 14:31:00 129

转载 [HTML5][LocalStorage]一个好网站

http://html5-demos.appspot.com/static/html5storage/index.html 介绍的非常全面,讲述了当前html5所有客户端存储方式,使用方式、支持的浏览器等方方面面 转载于:https://www.cnblogs.com/-Rik/archive/2012/09/20/2695522.html...

2012-09-20 17:09:00 86

转载 浏览器内核简介

  现在浏览器的内核引擎,基本上是三分天下: Trident: IE 以Trident 作为内核引擎。 Gecko: Firefox 是基于 Gecko 开发。 WebKit: Safari, Google Chrome 基于 Webkit 开发。   WebKit 内核在手机上的应用十分广泛,例如 Google 的手机 Gphone、 Apple 的 iPhone, N...

2012-09-20 17:07:00 90

转载 [HTML5][LocalStorage]初探

http://www.cnblogs.com/softlover/archive/2012/09/07/2675110.html 写的很好,当你多个chrome同时使用一个demo的时候,依然可用,表示同浏览器之间是通信ok的,而ff与chrome之间是不共享的 http://caniuse.com/#feat=namevalue-storage 这里有stroage支...

2012-09-20 16:11:00 88

转载 [SublimeText]随记

SublimeText:安装package control方法 ctrl+` import urllib2,os; pf='Package Control.sublime-package'; ipp=sublime.installed_packages_path(); os.makedirs(ipp) if not os.path.exists(ipp) else None; urll...

2012-09-20 12:21:00 85

转载 [PHP] curl post json & array 时,传递对象问题

当使用curlpost一个请求的话,一般代码如下: $ch = curl_init();curl_setopt($ch, CURLOPT_URL, $url);curl_setopt($ch, CURLOPT_POST, 1);curl_setopt($ch, CURLOPT_POSTFIELDS, $data);curl_setopt($ch, CURLOPT_RETURNTRANS...

2012-09-19 11:01:00 343

转载 awk 简单用法及-F参数

#!/bin/bashadb devices 2>&1|grep '-'|awk '{print $1}'|awk -F- '{print $2}' 简单的shell将所有android devices列出来,寻找所有端口 List of devices attached 10.32.11.77-5554 device10.32.11.77-5556 device...

2012-09-13 14:04:00 885

转载 [Mysql]创建表、使用表

进入mysql ---------- cd mysql/bin ./mysql -uroot -p 输入密码 使用表格 ---------- use [table name]; show tables; 查看所有的表格 查看表格名称 ---------- desc 表名;show columns from 表名;describe 表名;show create ta...

2012-08-31 13:03:00 134

转载 [Linux].netrc或者_netrc使用可以

当hudson链接svn或者git的时候,如果git按照http形式需要输入密码,那么可以在 ~目录下建立.netrc文件在文件内写入 machine 172.22.1.100 username xxx password xxx 则可以正常使用 可以man netrc 转载于:https://www.cnblogs.com/-Rik/archive/2012/08/31/266521...

2012-08-31 13:02:00 424

转载 grep查找文件内容

Linux今天跟师傅又学了一招 grep -R "你想要找的东西" * 然后就会遍历整个文件夹了 转载于:https://www.cnblogs.com/-Rik/archive/2012/08/31/2665214.html

2012-08-31 13:01:00 120

转载 [GIT] tag添加和删除方式

git建立tag方式 在当前文件下git tag xxxxxx 删除tag方式 git push origin :refs/tags/xxxxxx 转载于:https://www.cnblogs.com/-Rik/archive/2012/08/31/2665216.html

2012-08-31 13:01:00 110

转载 svn帮助

svn document 地址:http://svnbook.red-bean.com/ svn add [--depth=empty] dir/ 只添加dir,不递归 svn revert -R dir/ 再commit之前 递归回滚 转载于:https://www.cnblogs.com/-Rik/archive/2012/08/29/2662340.html...

2012-08-29 16:47:00 80

转载 [Linux]下查看ip的方法

1. 老办法 ifconfig 肉眼 2.hostname -i 这个有时候有问题,得到的ip居然是127.0.0.1 3.ifconfig eth0|grep 'inet addr'|awk -F ":" '{print $2}'|awk '{print $1}' 第三个不错 参考blog http://oldboy.blog.51cto.com/2561410/7916...

2012-08-29 13:24:00 99

转载 今天犯了个小错误

svn安装,如果只是安装svn client是不需要安装svn2个包的 只需要如下即可 #! /bin/bashcd $1wget xxx/subversion-1.6.5_with_dep.tar.gztar zxf subversion-1.6.5_with_dep.tar.gzcd subversion-1.6.5./configure --with-ssl --prefix=$...

2012-08-28 20:52:00 69

转载 [php] socket例子

<?php// 设置一些基本的变量// $host = "localhost";// $port = 1234;// var_dump($argv);$host = $argv[1];$port = $argv[2];echo "-------host=$host,port=$port-------";// 设置超时时间set_time_limit(3);// 创建一个Socket...

2012-08-28 15:05:00 70

转载 [php]子进程

<?php if (! function_exists('pcntl_fork')) die('PCNTL functions not available on this PHP installation');$pid = pcntl_fork();var_dump("aaaaaaa");if ($pid == -1) { die('could not fork')...

2012-08-28 15:04:00 97

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除