上一页 1 ··· 45 46 47 48 49 50 51 52 53 ··· 202 下一页
摘要: 用Html5/Canvas绘制金波浪圈法兰西国旗。 阅读全文
posted @ 2021-12-26 19:52 逆火狂飙 阅读(42) 评论(0) 推荐(0)
摘要: 【代码】 package test; import java.math.BigInteger; import java.time.LocalDateTime; import java.time.format.DateTimeFormatter; public class Test3 { public 阅读全文
posted @ 2021-12-26 18:13 逆火狂飙 阅读(1409) 评论(0) 推荐(0)
摘要: 【需求】 有若干实质为SQL的变量,取值后生成文件下载,需要拟定一个不容易重复的初始名,本以时间戳命名,后发现过长且不好记忆。 【解决方案】 从天干中取一个随机值,从地支中取一个随机值,合成初始名。此名兼具简短、重复率低和易记的特点。 【JS代码】 // // 使用天干地支生成名字,有简短重名率低的 阅读全文
posted @ 2021-12-26 17:52 逆火狂飙 阅读(81) 评论(0) 推荐(0)
摘要: 【需求】 某应用有一耗时任务,目的是取出一批员工数据显示在页面上,但由于奇特的网络环境,每次调用都要数秒,客户要求在页面上动态显示耗时。 【坑】 动态显示耗时,多会用spanId,setInterval(funciton,mseconds),clearInterval(handler),startT 阅读全文
posted @ 2021-12-25 09:46 逆火狂飙 阅读(75) 评论(0) 推荐(0)
摘要: <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>计时器</title> <style type="text/css"> </style> </head> <body> <table border=1> <tr> <td widt 阅读全文
posted @ 2021-12-23 22:52 逆火狂飙 阅读(48) 评论(0) 推荐(0)
摘要: 1. <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>计时器</title> <style type="text/css"> </style> </head> <body> <table border=1> <tr> <td w 阅读全文
posted @ 2021-12-23 22:47 逆火狂飙 阅读(151) 评论(0) 推荐(0)
摘要: <!DOCTYPE html> <html lang="utf-8"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <head> <title>回调函数示例</title> <style type="tex 阅读全文
posted @ 2021-12-22 22:03 逆火狂飙 阅读(122) 评论(0) 推荐(0)
摘要: 需求: 输入sql,判断其是否查询语句,检查规则是:select开头,sql中不允许有insert、delete和update的出现。 程序: package test; public class SelectMatch { public static void main(String[] args 阅读全文
posted @ 2021-12-22 20:38 逆火狂飙 阅读(4950) 评论(9) 推荐(0)
摘要: 正则表达式常用来制作模式,然后看字符串是否符合这个模式,殊不知正则也可以进行不该出现的字符串的匹配,请看程序: package test; public class RegNotIn { public static void main(String[] args) { String[] arr= { 阅读全文
posted @ 2021-12-22 20:17 逆火狂飙 阅读(751) 评论(0) 推荐(0)
摘要: 效果: 实现一:绝对定位,精算师最爱。 <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>圆角Img示例</title> <style type="text/css"> .parentDiv{ width:200px; heigh 阅读全文
posted @ 2021-12-20 21:46 逆火狂飙 阅读(248) 评论(0) 推荐(0)
上一页 1 ··· 45 46 47 48 49 50 51 52 53 ··· 202 下一页
生当作人杰 死亦为鬼雄 至今思项羽 不肯过江东