- 博客(11)
- 资源 (3)
- 收藏
- 关注
原创 Cannot find module 'hexo-util'
最近研究用Hexo来搭博客。再换了个next theme后,执行任何hexo命令后都会得到一个Error提示: Error: Cannot find module 'hexo-util' at Function.Module._resolveFilename (module.js:338:15) at Function.Module._load (module.js:...
2018-04-10 17:09:28
3458
原创 Run hexo command gives error "/usr/bin/env: node: No such file or directory"
最近在搭hexo时遇到这个一个错:“/usr/bin/env: node: No such file or directory” 首先我已经装上Node.js了,但是没装node,我试着apt-get install node好像也没解决,然后翻到了github的这样一个issue:https://github.com/nodejs/node-v0.x-archive/issues/3...
2017-11-24 09:45:47
676
原创 Could not find or load main class org.codehaus.groovy.grails.cli.support
答案转载自:http://stackoverflow.com/questions/24577480/org-codehaus-groovy-grails-cli-support-grailsstarter-not-found-error 最近升级了Ubuntu系统,可是后来在运行grails项目时出现了:“Could not find or load main class org.co...
2016-10-26 15:23:59
626
原创 When add the new GPG key for docker faced proxy problem
今天在Ubuntu 14.04上安装docker时遇到一个代理的问题 ,出错如下:sudo apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609DExecuting: gpg --ignore-time-confli...
2016-09-27 15:55:33
223
原创 Postgresql连接失败和设置系统shmmax的方法
昨天我在远程连接postgres数据库时遇到这样的错误:psql: could not connect to server: Connection refused Is the server running on host "my host name" (IP) and accepting TCP/IP connections on port 5432? 于是我修改了po...
2015-05-14 10:19:21
983
原创 PHP 访问LDAP
/** * @file ldap_util.php * * @author Li Yongfeng */function getUserEmail($userId) { $ldap_host = "ldap://***/"; $ldap_user = "***"; $ldap_pwd = "***"; $ldap_co...
2015-04-21 15:25:45
163
原创 安装PHP的LDAP的扩展(ubuntu)
之前用PHP的一个项目用到了LDAP,度娘,谷歌了一直没有配好,所以记录一下我自己的配置(我的机子是ubuntu): //有人说安装这个就好,我自己用到反正是不行,查的说ldap会用到lasso,所以还得安装下php5-lasso的命令。sudo apt-get install php5-ldap;sudo apt-get install php5-lasso;...
2014-06-04 11:31:54
942
Could not connect to SMTP host: smtp.exmail.qq.com, port: 25;解决方法
Could not connect to SMTP host: smtp.exmail.qq.com, port: 25;解决方法:记得setSsl(true);我把端口号设置成了587[code="java"]email.setHostName(hostName); email.setSSL(true); email.setSslSmtpPort(sslSm...
2012-09-05 17:17:41
10862
简易Oracle客户端配置
之前开发我们用的是Oracle数据库,客户端安装太大,所以就在网上找了一个简易的客户端,自己试了,并改了一些终于可以用了,分享给大家~http://115.com/file/e7yti3eh...
2012-08-27 10:26:51
146
Oracle中function的递归
之前在测试一个FUNCTION的时候都是用pl/sql提供的test,但我今天写一个函数需要递归的时候就不知道怎么做了,还好见别人用sql测了我写的函数,所以这个递归就好写多了,废话少说测试FUNCTION的sql如下:SELECT FUNCTIONNAME('参数') FROM DUAL;有递归的sql如下:[code="java"]create or replace funct...
2011-08-31 14:35:09
442
简易Oracle数据库客户端
2012-08-27
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人