`
garyli
  • 浏览: 172936 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论
文章列表

log4j.xml 配置

    博客分类:
  • java
<?xml version="1.0" encoding="UTF-8"?>
For mysql version 5.5 config the character follow : sudo vi /etc/mysql/my.cnf     [client]default-character-set=utf8[mysqld]character-set-server=utf8

scp command

 
Copying file to host: scp SourceFile user@host:directory/TargetFile Copying file from host: scp user@host:directory/SourceFile TargetFile scp -r user@host:directory/SourceFolder TargetFolder Note that if the remote host uses a port other than the default of 22, you can specify it in the c ...
https://confluence.atlassian.com/display/CLOVERKB/Maven+2+plugin+fails+with+cannot+find+symbol+exception+when+defining+two+locations+for+source+files Maven 2 plugin fails with cannot find symbol exception when defining two locations for source files Skip to end of metadata Added by Atlass ...
errors running builder ‘javascript validator’ on project 如图: 解决办法: 右击项目名–Properties–Builders–将JavaScript Validator前面的勾去掉即可。   eclipse中加放jQuery.js文件报js语法错误解决办法  (2012-02-29 10:08:02)
  Linux 文件夹 压缩 命令 Linux压缩文件的读取 ·   *.Z       compress 程序压缩的档案;  ·   *.bz2     bzip2 程序压缩的档案;  ·   *.gz      gzip 程序压缩的档案;  ·   *.tar     tar 程序打包的数据,并 ...

Git: push 出错的解决

 
  [Linux] Git: push 出错的解决 master -> master (branch is curre... [Linux] Git: push 出错的解决 master -> master (branch is currently checked out)    在使用Git Push代码到数据仓库时,提示如下错误:    [remote rejected] master -> master (branch is currently checked out)remote: error: refusing to updat ...
Lian Hsueh about   github   twitter   weibo  
   在pom.mxl中增加以下内容       <build>        <plugins>            <plugin>                <
cmd命令行编码设置 cmd窗口情况下:windows下cmd默认的编码是GBK          想在windows下查看sqlite的utf-8中文需要先 执行chcp 65001把当前页换为utf-8编码       chcp 命令:       chcp 65001  就是换成UTF-8代码页,在命令行标题栏上点击右键,选择"属性"->"字体",将字体修改为True Type字体"Lucida                       Console",然后点击确定将属性应用到当前窗口     ...
  TelephonyManager.getSimState() SIM_STATE_UNKNOWN   0 SIM卡状态:未知。表示SIM卡的状态之间的转换。例如,当用户输入SIM卡的PIN码PIN_REQUIRED状态下,SIM卡状态查询返回此状态,然后转向SIM_STATE_READY。 SIM_STATE_ABSENT   1 SIM卡状态:无SIM卡提供的设备

GIT 常用命令总结

创建测试目录 $ mkdir demo $ cd demo 初始化git $ git init 创建测试文件 $ echo "Hello world" > hello $ echo "Silly example" > example 添加到索引 $ git-add hello example

eclipse plugin update

    博客分类:
  • java
eclipse plugin update site 总结 wtp 中增加jetty适配的地址 http://download.eclipse.org/jetty/updates/jetty-wtp
访问登记属性android.permission.ACCESS_CHECKIN_PROPERTIES ,读取或写入登记check-in数据库属性表的权限获取错略位置android.permission.ACCESS_COARSE_LOCATION,通过WiFi或移动基站的方式获取用户错略的经纬度信息,定位精度大概误差在30~1500米获取精确位置android.permission.ACCESS_FINE_LOCATION,通过GPS芯片接收卫星的定位信息,定位精度达10米以内访问定位额外命令android.permission.ACCESS_LOCATION_EXTRA_COMMANDS,允许 ...
所有的INTENT列表 android.intent.action.ALL_APPS android.intent.action.ANSWER android.intent.action.ATTACH_DATA android.intent.action.BUG_REPORT android.intent.action.CALL android.intent.action.CALL_BUTTON android.intent.action.CHOOSER 
Global site tag (gtag.js) - Google Analytics