Cocoapods安装步骤1、升级Ruby环境终端输入:$gem update --system此时会出现ERROR: While executing gem ... (Gem::FilePermissionError)You don‘t have write permissions for the...
分类:
其他好文 时间:
2015-07-10 12:54:35
阅读次数:
132
之前在MyEclipse这个IDE中配置Maven,完成配置后启动Maven时出现-Dmaven.multiModuleProjectDirectory system propery is not set.错误提示!其原因是Maven的配置不完整,需要在IDE的Java虚拟机的Default VM ...
分类:
系统相关 时间:
2015-07-10 12:52:28
阅读次数:
136
线程的随机性class Demo extends Thread{ @Override public void run() { for(int i = 0;i<60;i++){ System.out.println(Thread.currentThread().getName()+"---...
分类:
编程语言 时间:
2015-07-10 12:46:34
阅读次数:
147
1. 修改root密码 sudo passwd root2. 安装ssh apt-get install openssh-server3. 连接securecrt 用户名:root 密码:pct4. 安装图形界面 apt-get install x-window-system-core apt-ge...
分类:
系统相关 时间:
2015-07-10 11:01:45
阅读次数:
161
using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Text;using System.Window...
静态代码块:
格式:
static
{
静态代码块中的执行语句。
}
特点:随着类的加载而执行,只执行一次。并优先于主函数;
用于给类进行初始化
class StaticCode
{
static
{
System.out.println("a");
}
}
class StaticCodeDemo
{
static
{
S...
分类:
其他好文 时间:
2015-07-10 09:38:04
阅读次数:
136
原文: [老老实实学WCF] 第二篇 配置WCF 老老实实学WCF 第二篇 配置WCF 在上一篇中,我们在一个控制台应用程序中编写了一个简单的WCF服务并承载了它。先回顾一下服务端的代码: using System; using System.Collections.Generic; using S...
分类:
其他好文 时间:
2015-07-10 09:22:10
阅读次数:
136
把 AVI 文件导入到 sdcard 时,报 Failed to push selection: Read-only file system 错误。解决办法:1、在命令行中输入:adbshellmount-oremountrw/ 2、adb push galleon.avi /sdcard/另外,....
分类:
其他好文 时间:
2015-07-10 09:16:34
阅读次数:
108
在Problems里报错Description Resource Path Location TypeUnbound classpath container: 'JRE System Library [jdk1.6.0_21]' in project 'EHMS' EHMS Build path B...
分类:
系统相关 时间:
2015-07-10 00:03:49
阅读次数:
1682
win7下解决iis启动报错依赖的组件http等未启动的解决方法开始-运行-regedit,找到HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\HTTP,将其“Start”的值改为3,结果如下
分类:
其他好文 时间:
2015-07-09 22:57:53
阅读次数:
209