在云那方

首页 新随笔 联系 订阅 管理
1 2 3 4 5 ··· 19 下一页

2016年10月19日 #

摘要: date.zip 阅读全文
posted @ 2016-10-19 00:29 Rich.T 阅读(156) 评论(0) 推荐(1) 编辑

2016年4月1日 #

摘要: #coding=utf-8 import random, time #随机生成中文 def user_name(length=3): str = u'' for i in range(length): val = random.randint(0x4E00, 0x9FBF) str += unichr(val) return str ... 阅读全文
posted @ 2016-04-01 14:12 Rich.T 阅读(452) 评论(1) 推荐(1) 编辑

2016年3月7日 #

摘要: http://www.cnblogs.com/xiaoMzjm/p/5223799.html 阅读全文
posted @ 2016-03-07 10:38 Rich.T 阅读(158) 评论(0) 推荐(1) 编辑

2016年3月2日 #

摘要: 批量导入文件 psql -h localhost -d dbname -U username -f filename 1. 创建用户 CREATE USER dbuser WITH PASSWORD 'password'; 2. 创建数据库 CREATE DATABASE dbname OWNER 阅读全文
posted @ 2016-03-02 14:25 Rich.T 阅读(368) 评论(0) 推荐(0) 编辑

摘要: pip install requests -i http://mirrors.cloud.aliyuncs.com/pypi/simple/ --trusted-host mirrors.cloud.aliyuncs.com 阅读全文
posted @ 2016-03-02 10:50 Rich.T 阅读(1258) 评论(0) 推荐(0) 编辑

2016年3月1日 #

摘要: yum install python-pip 阅读全文
posted @ 2016-03-01 17:22 Rich.T 阅读(147) 评论(0) 推荐(0) 编辑

2016年2月22日 #

摘要: 1. 安装 pip install supervisor 2.配置supervisord.conf [program:#自定义名称] command=#命令行 autostart=true autorestart=true stderr_logfile=/var/log/err.log stdout 阅读全文
posted @ 2016-02-22 15:32 Rich.T 阅读(205) 评论(0) 推荐(0) 编辑

2016年2月17日 #

摘要: #coding=utf-8 import datetime from datetime import timedelta now = datetime.datetime.now() #今天 today = now #昨天 yesterday = now - timedelta(days=1) #明天 tomorrow = now + timedelta(days=1)#当前季度 now... 阅读全文
posted @ 2016-02-17 15:38 Rich.T 阅读(4153) 评论(0) 推荐(0) 编辑

2016年1月20日 #

摘要: GRANT ALL PRIVILEGES ON 对象名 to 用户名; 阅读全文
posted @ 2016-01-20 16:43 Rich.T 阅读(411) 评论(0) 推荐(0) 编辑

摘要: GRANT ALL PRIVILEGES ON 数据库.* TO '用户名'@'%'IDENTIFIED BY '密码' WITH GRANT OPTION;FLUSH PRIVILEGES; 阅读全文
posted @ 2016-01-20 15:43 Rich.T 阅读(106) 评论(0) 推荐(0) 编辑

2016年1月5日 #

摘要: 注意: 本篇文章适用与 MySQL 5.6 版本的安装, 但已不再适用 5.7 的安装, 5.7 的安装方式请参见:《Mac OS X 下 TAR.GZ 方式安装 MySQL 5.7》在 Mac 系统上, 安装 MySQL Server 一般是用 DMG 包在图形化界面下按提示安装, 此外 MySQ... 阅读全文
posted @ 2016-01-05 17:54 Rich.T 阅读(1368) 评论(0) 推荐(0) 编辑

2015年12月29日 #

摘要: 在centos6.5 中 默认的Python版本是 2.6.6,我在使用Django最新版本的时候,发现出现语法错误!于是决定升级Python;步骤如下一.安装Python 2.7.101.下载wget http://www.python.org/ftp/python/2.7.10/Python-2... 阅读全文
posted @ 2015-12-29 15:33 Rich.T 阅读(321) 评论(0) 推荐(0) 编辑

2015年12月16日 #

摘要: http://www.ruanyifeng.com/blog/2013/12/getting_started_with_postgresql.html 阅读全文
posted @ 2015-12-16 11:20 Rich.T 阅读(116) 评论(0) 推荐(0) 编辑

2015年12月14日 #

摘要: http://blog.csdn.net/xshalk/article/details/47301339 阅读全文
posted @ 2015-12-14 19:17 Rich.T 阅读(184) 评论(0) 推荐(0) 编辑

2015年11月18日 #

摘要: http://redisdoc.com/ 阅读全文
posted @ 2015-11-18 14:43 Rich.T 阅读(262) 评论(0) 推荐(0) 编辑

2015年10月21日 #

摘要: http://www.cnblogs.com/vamei/archive/2012/09/13/2682778.html 阅读全文
posted @ 2015-10-21 14:28 Rich.T 阅读(696) 评论(0) 推荐(0) 编辑

2014年7月9日 #

摘要: 1.升级服务器,打上ubuntu 12的所有安全补丁apt-get update apt-get upgrade2.安装必要软件apt-get install git mysql-server python-mysqldb python-pip nginx supervisor3.在花屏界面设置my... 阅读全文
posted @ 2014-07-09 23:17 Rich.T 阅读(1509) 评论(0) 推荐(0) 编辑

2014年4月11日 #

摘要: node.js开发指南.pdf开篇:如果你还不知道Node.js是什么,那么你可以先看看这篇:Node.js 究竟是什么?或者任何关于它的介绍。第一步:安装Node.js 在Node官网下载安装包进行安装(这里使用的是Windows环境) 安装完成后进入cmd输入"node+ender"测试是否... 阅读全文
posted @ 2014-04-11 21:44 Rich.T 阅读(341) 评论(0) 推荐(0) 编辑

2013年12月12日 #

摘要: namespace Zeus.Cache.Redis.Demo{ public class Person { public int Id { get; set; } public string Name { get; set; } public string Surname { get; set; } public int Age { get; set; } public string Profession { get; set; } }}namespace Zeus.Cache.Redis.Demo{ ... 阅读全文
posted @ 2013-12-12 16:55 Rich.T 阅读(385) 评论(0) 推荐(0) 编辑

摘要: 这篇文章我将介绍如果用最简洁的方式配置Redis Server,以及如何使用C#和它交互编程一. 背景介绍Redis是最快的key-value分布式缓存之一缺点: 没有本地数据缓冲, 目前还没有完整的数据聚集化支持优点: 配置简单, 使用方便, 高性能,支持不同的数据类型(hashes, lists, sets, sorted sets) ASP.NET WebUI for viewing content of the cache二. 安装Redis1) 从github下载最新的32/64位安装https://github.com/dmajkic/redis/downloads解压到你自己的目 阅读全文
posted @ 2013-12-12 16:54 Rich.T 阅读(424) 评论(0) 推荐(0) 编辑

1 2 3 4 5 ··· 19 下一页