gradle安裝使用方法https://www.jianshu.com/p/8c5a88079beb
http://www.cnblogs.com/chenpi/p/5872313.html#_label5css
模板引擎詳解
http://www.cnblogs.com/dojo-lzz/p/5518474.htmlhtml
網站生成須要的字符
http://patorjk.com/software/taag前端
SpringBoot框架詳解
http://blog.csdn.net/u012702547/article/details/53740047jquery
SpringBoot數據交互
http://blog.csdn.net/chinrui/article/details/70832310git
簡易代碼生成器C#
http://www.cnblogs.com/shanlin/p/3856179.htmlsql
thymeleaf教程
http://blog.csdn.net/u012706811/article/details/52185345bootstrap
分頁
http://bbs.csdn.net/topics/360010907promise
Sping Boot 項目建立及運行
http://www.cnblogs.com/zheting/p/6707036.html框架
git使用方法
http://www.cnblogs.com/cspku/articles/Git_cmds.html
git clone git@192.168.1.155:cityWater2017.git異步
git pull
git log
git status
git add filename
git commit -m "The change is for .... reviewed by ..... test done."
git push
git diff xxxxxx xxxxxx
git reset --hard
gitk --all
git checkout
git branch -a
git checkout --track origin/branchname // 取得遠程分支
git branch branchname //在當前分支上建立一個新的本地分支
git push --set-upstream origin localbranchname //推送本地分支到遠程
查看分支:git branch
建立分支:git branch <name>
切換分支:git checkout <name>
建立+切換分支:git checkout -b <name>
合併某分支到當前分支:git merge <name>
刪除分支:git branch -d <name>
查看刪除版本$ git reflog -> $git reset --hard 版本號 / $git reset --HEAD 版本號 / $git reset --HEAD^
查找jar路徑
http://mvnrepository.com
jq同步異步
var task1 = function(){
var $d = $.Deferred();
setTimeout(function(){
console.log('t1');
$d.resolve();
},1000);
return $d.promise();
}
//2
var task2 = function(){
var $d = $.Deferred();
setTimeout(function(){
console.log('t2');
$d.resolve();
},1200);
return $d.promise();
}
//3
var task3 = function(){
var $d = $.Deferred();
setTimeout(function(){
console.log('t3');
$d.resolve();
},1200);
return $d.promise();
}
//4
var task4 = function(){
var $d = $.Deferred();
setTimeout(function(){
console.log('t4');
$d.resolve();
},1200);
return $d.promise();
}
task1().then(function(){
return task2()
}).then(function(){
return task3()
}).then(function(){
return task4()
}).then(function(){
console.log('ok');
})
jquery學習網站:http://www.jq22.com/jquery-plugins%E4%B8%8A%E4%BC%A0-1-jq
大公司開發及部署前端代碼:https://www.zhihu.com/question/20790576
thymeleaf教程:http://www.thymeleaf.org/doc/tutorials/3.0/usingthymeleaf.html
//jquery聲明對象並添加方法
(function ($) {
//聲明Load對象
$.JLoad = function () { };
$.extend($.JLoad,
{ LoadHtm: function (containerID, htmPath, callBack) {
$("#" + containerID).load(htmPath + getSysDateUrl(), callBack);
}
},
{ Jump: function (htmPath) {
window.location.href = htmPath + getSysDateUrl();
}
},
{ SysUrl: function () {
return getSysDateUrl();
}
}
);
//獲取Url地址使用的系統時間字符串
function getSysDateUrl() {
var sysDate = new Date();
return "?v=" + sysDate.getYear() + sysDate.getMonth() + sysDate.getDay() + sysDate.getHours() + sysDate.getMinutes() + sysDate.getSeconds();
}
})(jQuery);
jq插件合集:
http://www.bootcss.com
http://www.jq22.com
不錯的項目講解:https://www.cnblogs.com/wuhuacong/p/4777720.html
postgresql把列轉換成int類型,設爲主鍵自增
CREATE SEQUENCE water_resources_id_seq
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
alter table water_resources alter column uid set default nextval('water_resources_id_seq'::regclass);
ALTER TABLE water_resources ALTER COLUMN uid
SET DATA TYPE int4 USING uid :: int4
建立主鍵自增
CREATE TABLE "public"."riparian" (
"id" int4 DEFAULT nextval('riparian_uid_seq'::regclass) NOT NULL
)
bootsytrap-table參數文檔:http://blog.csdn.net/rickiyeat/article/details/56483577
bootsytrap-table API:http://blog.csdn.net/S_clifftop/article/details/77937356?locationNum=3&fps=1
/// <summary>
/// 導出文件,使用文件流。該方法使用的數據源爲DataTable,導出的Excel文件沒有具體的樣式。
/// </summary>
/// <param name="dt"></param>
public static string ExportToExcel(DataTable dt, String path,String rows)
{
KillSpecialExcel();
string result = string.Empty;
try
{
// 實例化流對象,以特定的編碼向流中寫入字符。
StreamWriter sw = new StreamWriter(path, true, Encoding.GetEncoding("gb2312"));
StringBuilder sb = new StringBuilder();
for (int k = 0; k < dt.Columns.Count; k++)
{
// 添加列名稱
sb.Append(dt.Columns[k].ColumnName.ToString() + "\t");
}
sb.Append(Environment.NewLine);
// 添加行數據
for (int i = 0; i < dt.Rows.Count; i++)
{
DataRow row = dt.Rows[i];
for (int j = 0; j < dt.Columns.Count; j++)
{
// 根據列數追加行數據
sb.Append(row[j].ToString() + "\t");
}
sb.Append(Environment.NewLine);
}
sw.Write(sb.ToString());
sw.Flush();
sw.Close();
sw.Dispose();
// 導出成功後打開
//System.Diagnostics.Process.Start(path);
}
catch (Exception)
{
result = "請保存或關閉可能已打開的Excel文件";
}
finally
{
dt.Dispose();
}
return result;
}
/// <summary>
/// 結束進程
/// </summary>
private static void KillSpecialExcel()
{
foreach (System.Diagnostics.Process theProc in System.Diagnostics.Process.GetProcessesByName("EXCEL"))
{
if (!theProc.HasExited)
{
bool b = theProc.CloseMainWindow();
if (b == false)
{
theProc.Kill();
}
theProc.Close();
}
}
}
//ui網站
http://layer.layui.com/
//bootstrap上傳控件
http://plugins.krajee.com/
//C# linq教程 https://www.cnblogs.com/liulun/archive/2013/02/26/2909985.html