Easter79 Easter79
2年前
sql server用户密码批量MD5加密
nodejs自带加密模块md5加密:varcryptorequire('crypto');functioncryptoMD5(content){varmd5crypto.createHash('md5');md5.update(content);retur
Wesley13 Wesley13
2年前
java多线程加锁的简单处理办法
    当对数据修改时,如果两个线程同时去修改同一条数据,这样产生的结果就不是我们预期的结果。这时候就需要对修改操作进行加锁,让jvm里同一时刻只能有一个线程能够执行修改方法。    下面是一个未加锁的修改方法:   public void update(Entry entry){    dao.update(entry);
Wesley13 Wesley13
2年前
MySQL ON DUPLICATE KEY UPDATE 傻瓜应用教程
背景:最近有一个算数据的脚本几天都没出数据,而且手动跑起来的时候服务器立马卡机。目标是优化!\work(2)@dm0219:02:21~\$nohuppythontwitter\_click\_stat.py201211021/tmp/click.log2&1&\3\25862\work(3)@dm02
Wesley13 Wesley13
2年前
Java爬虫之JSoup使用教程
title:Java爬虫之JSoup使用教程date:201812248:00:000800update:201812248:00:000800author:mecover:https://imgblog.csdnimg.cn/20181224144920712(https://www.oschin
Stella981 Stella981
2年前
Click4nb Update for NetBeans 7.3
Ijustupdatedtheclick4nbandrebuiltthesourcecodeagainstNetBeansIDE7.3.Nonewfeaturesadded.FollowtheinstallationguidetoinstallitintoyourIDE.Installation
Wesley13 Wesley13
2年前
oracle游标的例子
declare    cursor ca is select id_no, name from user where ym201401;begin    for cb in ca loop        update path set enamecb.name where id_nocb.id
Wesley13 Wesley13
2年前
Java 一个简单的回调模式
我们需要定义一个接口:packagelinving.test;publicinterfaceMyTestInterface{   publicintgetUpdate(inti);}接下来给这个接口的实现更新packagelinving.test.update;impor
Wesley13 Wesley13
2年前
UPDATE 时主键冲突引发的思考
作/译者:叶金荣(Email:!(https://static.oschina.net/uploads/img/201704/13132456_ZIg8.gif)),来源:http://imysql.cn(https://www.oschina.net/action/GoToLink?urlhttp%3A%2F%2Fimysql.cn%2F),转