Wesley13 Wesley13
2年前
thinkphp3.2.3模板渲染支持三元表达式
thinkphp3.2.3模板渲染支持三元表达式{$status?'正常':'错误'}{$info'status'?$info'msg':$info'error'}注意:三元运算符中暂时不支持点语法。如下:           <divclass"modalhidefade"id'myModa
Wesley13 Wesley13
2年前
log4J配置
log4j.properties的使用详解1\.输出级别的种类ERROR、WARN、INFO、DEBUGERROR为严重错误主要是程序的错误WARN为一般警告,比如session丢失INFO为一般要显示的信息,比如登录登出DEBUG为程序的调试信息
Wesley13 Wesley13
2年前
mysql show processlist分析
mysqlshowprocesslist;—–——————————–|Id|User|Host|db|Command|Time|State|Info—–——————————–|207|root|192.168.0.2:51621|mytest|Sleep|5||N
Wesley13 Wesley13
2年前
usdt钱包开发,比特币协议 Omni 层协议 USDT
usdt钱包开发比特币协议Omni层协议USDTUSDT是基于比特币omni协议的一种代币: https://omniexplorer.info/asset/31(https://www.oschina.net/action/GoToLink?urlhttps%3A%2F%2Fomniexplorer.info%2Fasset
Wesley13 Wesley13
2年前
INFO
场景一小明一如往常打开Chrome浏览器逛着论坛,贴吧,一不小心点开了网页上的广告,跳转到了京东商城,下意识去关闭窗口时发现(OS:咦?京东怎么知道我最近心心念念的宝贝呢?刚好我正需要呢!),既然打开了那就看看商品详情吧(OS:哎哟不错哦),那就下单试试吧!场景二小白听着网易云音乐的每日推荐歌单无法自拔(
Wesley13 Wesley13
2年前
Python使用TestLoader、TestSuite、HTMLTestRunner组织测试用例实例
HTMLTestRunner.py:http://tungwaiyip.info/software/HTMLTestRunner.html(https://www.oschina.net/action/GoToLink?urlhttp%3A%2F%2Ftungwaiyip.info%2Fsoftware%2FHTMLTestRunner.html)
Stella981 Stella981
2年前
Mnesia判断数据库和表是否存在
1\.判断数据库是否存在casemnesia:system\_info(use\_dir)of    true        alread\_created;    \_        mnesia:create\_schema(\node()\)    end.2\.判断
Stella981 Stella981
2年前
ACMer博客瀑布流分析
ACMer博客瀑布流是一个专门收集ACMer博客并展示的站点。地址http://blog.acmicpc.info/(https://www.oschina.net/action/GoToLink?urlhttp%3A%2F%2Fblog.acmicpc.info%2F)打开网页之后直接查看源代码发现functionentry2htm
Stella981 Stella981
2年前
Play Framework 1.2.3 (登录)
 public static void companyLogin(String username,String password){    log.info("start companyLogin method parameter username:"  username  "password:"  password);    String m
Wesley13 Wesley13
2年前
JS监听手机物理返回键,返回到指定页面
             pushHistory();window.addEventListener("popstate",function(e){window.locationdata.info.advert.link