原创 Android studio 導入 Slidingmenu的問題

Android studio 導入 Slidingmenu的問題:        網上的坑爹教程很多,自己摸索一天終於解決,在這裏堅決鄙視那些所謂技術羣,自認爲是大牛,不屑於回答這樣的基礎問題,試問哪個大牛是這樣裝B的,真的大牛都很謙虛的

原创 ionic系列:$state.go()傳遞對象參數

1.在目標頁的路由中設置需要接收對象key值:.state('tab.myView', { url: '/main/myView?jsonObj', cache:'false', views: { 'tab-ma

原创 mysql死鎖導致的java報錯Lock wait timeout exceeded; try restarting transaction

1.mysql死鎖導致的java報錯Lock wait timeout exceeded; try restarting transaction 解決步驟如下: select * from information_schema.

原创 msi安裝出現2503、2502錯誤解決方法(win8.1、win10)

發生此類問題主要是權限問題,這就需要使用命令行解決。 我的方法(臨時方法):以管理員身份開啓命令行(我這使用的win自帶的windows pwoershell)輸入:msiexec /package +‘msi文件路徑’(輸入的時候注意半

原创 oschina @ git git面輸入賬號密碼命令

git config credential.https://git.oschina.net/xx.git username git config credential.helper store --file=~/.git-credenti

原创 (轉載借鑑) input[file]標籤的accept=”image/*”屬性在google瀏覽器上響應很慢的解決辦法

input[file]標籤的accept屬性可用於指定上傳文件的MIME類型。 例如,想要實現默認上傳圖片文件的代碼,代碼可如下: <input type="file" name="file" class="element" accept

原创 計算機開放電子書

https://phphub.org/topics/1863 開放書是指協議爲Public Domain、Creative Common,以及一些開源軟件協議(MIT、Apache、GPL等等)的圖書。我在平時逛論壇或者刷github

原创 自定義進度條方式

1.首先定義屬性文件: 《attr》,此文件定義的屬性可在xml中定義相關屬性,以及代碼中定義屬性 <declare-styleable name="RoundProgressBar"> <!-- 設置最外層圓環或扇

原创 linux輸入子系統分析

  struct input_dev {          const char *name;          const char *phys;          const char *uniq;          struct

原创 不四捨五入,保留指定小數位數

numer及需要保留的位數 Number(v.toString().substring(0,v.toString().indexOf('.')+numnber))

原创 Viewpager用法

原文地址http://blog.csdn.net/wangjinyu501/article/details/8169924 原文地址:http://blog.csdn.net/alangdangjia/article/details/9