http://songkun.me/2018/07/12/2018-07-12-adt-in-haskell-and-scala/ 函数式编程接触久了以后,我们会发现很多 FP 语言(这里指静态 FP 语言)具有不少类似的语言特性,这非常自然,因为语言特性就那么多,好用、实用的特性更少,这一方面造成 ...
分类:
其他好文 时间:
2020-04-12 16:54:27
阅读次数:
96
var check_value = []; $('input[class="sel"]:checked').each(function (){ check_value.push($(this).val()); }); if(check_value.length==0){ alert('请先勾选您要设 ...
分类:
其他好文 时间:
2020-04-12 12:20:59
阅读次数:
93
异常信息 异常解读 异常处理 nginx: [alert] could not open error log file: open() "/usr/local/nginx/logs/error.log" failed (13: Permission denied)2020/04/12 09:46:2 ...
分类:
Web程序 时间:
2020-04-12 10:32:17
阅读次数:
73
是否支持语句换行 JavaScript 语句结束标记 以“;”分号结束,例如: 正确的语句 var name = "小明哥"; window.alert(name); 错误的语句 var name = "小明哥" // 这是个完整的语句,所以应该加上“;”表示结束。 window.alert(nam ...
分类:
编程语言 时间:
2020-04-12 00:01:09
阅读次数:
118
``` $.messager.defaults = { ok: "是", cancel: "否", width: 300 }; $.messager.confirm('删除记录', 'Please enter your name:', function (r) { if (r) { alert('Y... ...
分类:
其他好文 时间:
2020-04-11 19:00:38
阅读次数:
399
js三种输出形式 <script type="text/javascript src="js/script.js"> // 控制浏览器弹出一个警告框 alert("这是我的第一行JS代码"); // 让计算机在页面中输出一个内容 // document.write()可以向body中输出内容 doc ...
分类:
编程语言 时间:
2020-04-11 12:43:16
阅读次数:
78
Component: BC-CTS-TMS 当装完系统,STMS第一次进入系统,就报错 The TMS configuration is inconsistent then check the TMS alert viewer:Message SET_CODEPAGE_FAILEDCould not ...
分类:
其他好文 时间:
2020-04-11 00:44:11
阅读次数:
96
WebView 用于展示一个打开的网页。 UIViewController 用于展示在 SwiftUI 中打开 UIKit 的 UIViewController ,并且在 UIViewController 中打开 SwiftUI View。 Alert 用于展示一个弹框提醒,需要与点击事件关联起来。 ...
分类:
编程语言 时间:
2020-04-11 00:23:30
阅读次数:
60
jQuery实现JSONP $.getJSON实现跨域 $.getJSON("http://localhost:8080/bean?callback=?", {id:2,name:'李四',sex:'男'}, function(data) { alert(data.id+data.name+data ...
分类:
Web程序 时间:
2020-04-11 00:15:03
阅读次数:
110
关注公众号 MageByte,有你想要的精彩内容。文中涉及的代码可访问 GitHub:https://github.com/UniqueDong/algorithms.git 上一篇《链表导论心法》讲解了链表的理论知识以及链表操作的实现原理。 talk is cheap, show me the c ...
分类:
其他好文 时间:
2020-04-10 13:27:55
阅读次数:
60