背景:
在本机(Win7 64位 旗舰版)安装Oracle 11g的客户端(安装的32位的ORACLE客户端),并设置相应的本地服务后,用PL/SQL Developer提示下面的错误:
“Could not load "……\bin\oci.dll"”这个错误,64位win7上装PL/SQL,经常会遇见“Could not load "……\bin\oci.dll"”这个错...
分类:
数据库 时间:
2014-06-28 08:46:15
阅读次数:
278
为何写脚本每次用新的机器,都要把python的环境给安装一遍~so,这是一件很操蛋的问题,就shell练手写了一个code,嘿嘿,渣渣技术~测试环境我爱vagrant,一条命令直接还原成干净的测试环境,大爱啊~脚本如下:#!/bin/bash
#Auther:zhuima
#Date:2014-06-26
#Function:createpython..
分类:
编程语言 时间:
2014-06-28 06:37:27
阅读次数:
375
这篇总结一下Inventory,变量,目标匹配,及/usr/bin/ansible命令行常用的模块上一篇也说过Inventory的默认路径是在/etc/ansible/hosts,当然这个东西可以说是静态的,为啥是静态呢,你要手工的把你的要管理的主机写进去。当然还有一种动态的Inventory,这个其实也简单,就是如..
分类:
其他好文 时间:
2014-06-28 06:27:02
阅读次数:
342
我勒个去,上午刚搞好MySQL的编译安装,玛德一重启计算机然后重启服务又报错:[root@localhostmysql-5.5.13]#/usr/local/mysql/scripts/mysql_install_db--user=mysqlFATALERROR:Couldnotfind./bin/my_print_defaultsIfyoucompiledfromsource,youneedtorun‘makeinstall‘tocopyt..
分类:
其他好文 时间:
2014-06-28 06:21:53
阅读次数:
313
Gem::Ext::BuildError:ERROR:Failedtobuildgemnativeextension./home/chenwei/.rvm/rubies/ruby-1.9.3-p547/bin/rubyextconf.rbcheckingforruby/thread.h...nocheckingforrb_thread_blocking_region()...yescheckingforrb_wait_for_single_fd()...yescheckingforrb_hash_dup()...
分类:
其他好文 时间:
2014-06-28 00:32:22
阅读次数:
296
遍历目录中所有文件,并且统计文件类型。#!/bin/bash
#filename:filestat.sh
#set-x
if[$#-ne1];
then
echo$0basepath;
echo
fi
path=$1
declare-Astatarray;
whilereadline;
do
ftype=`file-b"$line"`
letstatarray["$ftype"]++;
done<<(find$path-typef-print)
ech..
分类:
其他好文 时间:
2014-06-28 00:16:08
阅读次数:
224
本篇博文详细告诉你如何安装Storm的本地开发环境,总体分为两步,具体如下:
1、从官网上下载Storm的发布包,下载完成后将其解压,并将解压后的bin目录添加到环境变量(PATH)中,以方便后续执行Storm的相关命令
2、修改Storm的配置文件(storm.yaml),主要是按照实际情况更新配置文件中的集群信息,然后将修改后的配置文件添加到目录(~/.storm/)中,目的是为了后续能够远程启动和停止集群上的计算任务(即topology)...
分类:
其他好文 时间:
2014-06-27 23:44:13
阅读次数:
505
/*
本文章由 莫灰灰 编写,转载请注明出处。
作者:莫灰灰 邮箱: minzhenfei@163.com
*/
1. KeyStore Service
在Android中,/system/bin/keystore进程提供了一个安全存储的服务。在过去的版本中,其他程序主要用过UNIX socket的守护进程/dev/socket/keystore去访问这个服务。然而...
分类:
移动开发 时间:
2014-06-27 23:25:30
阅读次数:
476
Maximum Depth of Binary TreeGiven a binary tree, find its maximum depth.The maximum depth is the number of nodes along the longest path from the root ...
分类:
其他好文 时间:
2014-06-27 23:13:24
阅读次数:
218
Given a m x n grid filled with non-negative numbers, find a path from top left to bottom right which minimizes the sum of all numbers along its path.
分类:
其他好文 时间:
2014-06-27 23:02:33
阅读次数:
258