上一页 1 ··· 37 38 39 40 41 42 43 44 45 ··· 66 下一页
摘要: /** * httpcomponents-client-4.3.6 * @author y */public class HttpUtil { public static String httpPost( List formparams,final String url){ ... 阅读全文
posted @ 2014-12-16 12:29 yshy 阅读(1070) 评论(0) 推荐(0)
摘要: 1:修改my.cnf配置文件$sudo vim /etc/mysql/my.cnf修改为:bind-address = 0.0.0.02:进行授权操作mysql> grant all privileges on *.* to 'root'@'%' with grant option;Query OK... 阅读全文
posted @ 2014-12-09 09:58 yshy 阅读(210) 评论(0) 推荐(0)
摘要: 1:从官网下载node.js源码http://nodejs.org/download/当前最新版为node-v0.10.332:安装$ tar zxvf node-v0.10.33.tar.gz$ cd node-v0.10.33/$ ./configure$ make(需要稍等一会)$ make ... 阅读全文
posted @ 2014-12-05 15:37 yshy 阅读(791) 评论(0) 推荐(0)
摘要: 导入包:commons-fileupload-1.3.1.jarcommons-io-2.4.jarcommons-fileupload依赖于commons-io,commons-io-2.4必须是JDK6+;下载地址:http://commons.apache.org/proper/commons... 阅读全文
posted @ 2014-12-03 20:03 yshy 阅读(385) 评论(0) 推荐(0)
摘要: public class MainActivity extends Activity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceS... 阅读全文
posted @ 2014-11-22 18:13 yshy 阅读(1102) 评论(0) 推荐(0)
摘要: public class RMB { //返回转换好的大写形式 public static String numberToRMB(String money) { return cleanZero(splitNum(roundString(money))); } ... 阅读全文
posted @ 2014-11-20 08:57 yshy 阅读(310) 评论(0) 推荐(0)
摘要: 主要通过Java反射机制实现。例如:public class NewClass { private static final NewClass newClass = new NewClass(); public void doTest(String methodName){ ... 阅读全文
posted @ 2014-11-18 09:01 yshy 阅读(1604) 评论(0) 推荐(0)
摘要: y@y:~$ sqlplus Error 46 initializing SQL*PlusHTTP proxy setting has incorrect valueSP2-1502: The HTTP proxy server specified by http_proxy is not acce... 阅读全文
posted @ 2014-11-17 17:57 yshy 阅读(2540) 评论(0) 推荐(0)
摘要: 包由两个分离的部分组成:包头(PACKAGE)和包体(PACKAGEBODY)。包头是包的说明部分,是对外的操作接口,对应用是可见的;包体是包的代码和实现部分,对应用来说是不可见的黑盒。 出现在包头中的称为公有元素,出现在包体中的称为私有元素,出现在包体的过程(或函数)中的称为局部变量。创... 阅读全文
posted @ 2014-11-15 15:52 yshy 阅读(461) 评论(0) 推荐(0)
摘要: Ubuntu14.04下Scala开发环境搭建。1:安装JDK,jdk-6u45-linux-x64.bin 将其安装到/usr/lib/jvm/jdk1.6.0_45/。2:安装Scala,下载scala-2.11.4.tgz 将其解压到/usr/lib/jvm/scala-2.11.4/。3:配... 阅读全文
posted @ 2014-11-14 17:10 yshy 阅读(451) 评论(0) 推荐(0)
上一页 1 ··· 37 38 39 40 41 42 43 44 45 ··· 66 下一页