原创 Android Adapter以及getView()方法的理解
Android Adapter基本理解: 我的理解是: 1、一個有許多getter的類(就是getView(),getCount()....這些方法) 2、有多少個get方法?都是什麼? 這些getter是特定的,你可以複寫他們,全
原创 error: Your local changes to the following files would be overwritten by merge:
http://blog.csdn.net/zwhfyy/article/details/8625228 Your local changes to the following files would be overwritten by m
原创 git的基本用法_隨記
一、現有的Git 項目,要爲其貢獻代碼,怎麼關聯。 1、用git clone <url> 方式(比方式2,要好,都自動關聯好了) git clone <url> git remote#一般可以看到origin,自動關聯好遠程主機了,方式2
原创 Linux殺死指定名字線程
#!/bin/sh result=`ps -ef|grep 'python **updatelaw.py'|grep -v 'grep'|awk '{print $2}'` if [ -z "$result" ] then ech
原创 css 忽略 省略號 縮略 一行
效果:超出的用...表示 1、在chrome可以,IE、火狐不行 .my-mutil-line { overflow: hidden; text-overflow: ellipsis; display: -webkit-box;
原创 oracle日期英文
select TO_DATE('19-JUN-01','dd-mon-yy','NLS_DATE_LANGUAGE = American') from dual; 遇到英文日期格式
原创 mybatis獲得新增記錄的id值
有時候我們會遇到要獲得新增記錄的主鍵。如下。 1、在xxxMapper.xml中,如下位置加入藍框裏的語句 2、直接getter獲得。 附上代碼: <selectKey resultType="java.lang.Integer
原创 Parameter 'id' not found. Available parameters are [0, 1, param1, param2]
報錯: org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.binding.BindingException: Paramet
原创 MySQL腳本insert中文失敗
環境: win7 cmd sql腳本中的語句: create table catalog( catalogid int auto_increment not null, catalogname varchar(30) not n
原创 安裝pip到指定python版本下(linux下多Python版本)
wget --no-check-certificate https://pypi.python.org/packages/source/p/pip/pip-8.0.2.tar.gz#md5=3a73c4188f8dbad6a1e6f6d4
原创 oracle 自增 字段
1、創建序列 create sequence my_seq start with 10000000 increment by 1 nomaxvalue start with #開始數 increment by #步長
原创 SpringMVC_MyBatis處理一對多數據組
假設情景,要更新一個元組,數據爲(1,1),(1,2),(1,3) ,用一次合理的請求完成持久化。基於SSM。 URL localhost:8080/ProjectName/bindPoleType?pid=1&poleid=1&pol
原创 CardView間距問題
表現: 開發的時候在4.0+的版本,後來在5.0版本的時候CardView之間的間距沒了。 解決方法: card_view:cardUseCompatPadding="true" 在CardView配置添加以上語句,如下:
原创 Bootstrap返回數據格式
以下有疑問:http://bootstrap-table.wenzhixin.net.cn/zh-cn/documentation/ Bootstrap數據格式的返回規則,不然bootstrapTable讀不出來 下行數據格式: sid
原创 git 更改-單個項目-提交時顯示的名字
git 更改-單個項目-提交時顯示的名字-跟登錄賬號名那些沒有關係 更改項目下面的.git\config文件 [user]name = pandaXiang