`
文章列表

幸运转盘js

    博客分类:
  • js
function luckWheel(wheelDiv,data) { var round = 5, divisor = data.length, partDegree = 360/divisor, offset = partDegree/2, random = Math.floor(Math.random() * data.length), target = partDegree*random; wheelDiv.stopRotate(); wheelDiv.rotate({ angle: 0, duration: round*1 ...

Session

select saddr,sid,serial#,paddr,username,status from v$session where machine = 'KelvinPC' -- kill session alter system kill session 'sid,serial#' ;
<dependency> <groupId>com.github.penggle</groupId> <artifactId>kaptcha</artifactId> <version>2.3.2</version> </dependency> import com.google.code.kaptcha.impl.DefaultKaptcha; import com.google.code.kaptcha.util.Config; import org.apache. ...
--第一步:在v$sqlarea 这视图里面找到你操作那条SQL的时间; SELECT T.FIRST_LOAD_TIME,T.* FROM v$sqlarea T ORDER BY T.FIRST_LOAD_TIME DESC ; --第二步: CREATE TABLE t_table_recove --新表 AS SELECT * FROM t_table--你操作的那张表 AS OF TIMESTAMP to_timestamp('2018-11-11 08:00:00','yyyy-mm-dd hh24:mi:ss'); --第三步:关联 t_table_recove ...
找到jetty的jar包,在web-app下copy出webdefault.xml文件到test/config/目录下,并修改useFileMappedBuffer初始化参数为false。 <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ...
http://www.cnblogs.com/wangcp-2014/p/6539035.html https://mp.weixin.qq.com/s/dQu1XYEfamv2sqaIIy_d0w

html2PDF

    博客分类:
  • js
https://github.com/eKoopmans/html2pdf npm install html2pdf.js -save--dev import html2pdf from 'html2pdf.js' genPdf () { let dom2Print = document.querySelector('.content') let originWidth = dom2Print.style.width dom2Print.style.width = '800px' this.printingPDF = ...
git tag -d [tag]; git push origin :[tag]
Can I use a GitHub project directly in Maven? https://jitpack.io/ 步骤如下: -------------------------------------------------------- 1 release a tag at github  (我的) 2 refer project at pom.xml <repositories> <repository> <id>jitpack.io</id> <url>https://jitpack. ...

AboveAverage 对象 (Excel)

    博客分类:
  • VBA
VBA 
AboveAverage 对象 (Excel) Sub AboveAverageCF() ' Building data for Melanie Range("A1").Value = "Name" Range("B1").Value = "Number" Range("A2").Value = "Melanie-1" Range("A2").AutoFill Destination:=Range("A2:A2 ...
微信带场景参数的二维码生成与使用

时间moment.js

    博客分类:
  • js
// 直接在控制台打入,进行测试,寻找需要的API document.write('<script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.22.2/moment.js"><\/script>'); moment().day(0).format('MMDD') // 星期日 moment().day(1).format('MMDD') // 星期一 .... moment().day(6).format('MMDD') // 星期六 // 上 星期一 mo ...

java基础

    博客分类:
  • java
https://www.cnblogs.com/think90/p/8615606.html

valid number

LeetCode-Valid Number - 有限状态机 class Solution { public: bool isNumber(const char *s) { enum InputType { INVALID, // 0 SPACE, // 1 SIGN, // 2 DIGIT, // 3 DOT, // 4 ...
import os, sys, codecs, re lib_path = 'E:\workspace\CC\CashCow\WebContent\WEB-INF\lib' target = 'D:\\temp\\target.txt' jars = os.listdir(lib_path) fo = codecs.open(target, "w", "GB2312") for jar in jars: jar = jar[:-4].replace('org.springframework.','') lastIndex = ja ...
Global site tag (gtag.js) - Google Analytics