丙午🐎年

acc8226 的博客

开始

JQuery 是一个快速、小型和功能丰富的 JavaScript 库。它使 HTML 文档遍历和操作、事件处理、动画和 Ajax 之类的事情变得更加简单,并且提供了一个跨多种浏览器的易于使用的 API。通过多功能性和可扩展性的结合,jQuery 改变了数百万人编写 JavaScript 的方式。

ready 方法

当 DOM(文档对象模型) 已经加载,并且页面(包括图像)已经完全呈现时,会发生 ready 事件。

由于该事件在文档就绪后发生,因此把所有其他的 jQuery 事件和函数置于该事件中是非常好的做法。正如上面的例子中那样。

简写:

1
2
3
$(document).ready(function(){});
$().ready(function(){});
$(function(){});
阅读全文 »

新建流水线。

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
version: '1.0'
name: pipeline-20220806
displayName: pipeline-20220806
triggers:
trigger: auto
push:
branches:
prefix:
- ''
variables:
global:
- accessToken
- hostName
- repoPath
- userName
stages:
- name: stage-a8ac94d3
displayName: 未命名
strategy: naturally
trigger: auto
executor: []
steps:
- step: build@nodejs
name: build_nodejs
displayName: Nodejs 构建
nodeVersion: 17.8.0
commands:
- '# 设置NPM源,提升安装速度'
- npm config set registry https://registry.npmmirror.com
- '# 执行编译命令'
- npm install hexo-cli -g
- npm install
- hexo clean
- hexo g
- git config --global user.name "giteego"
- git config --global user.email "giteego@feipig.fun"
- git clone "https://$userName:$accessToken@$hostName/$userName/$repoPath"
- cd $userName/
- git rm -rf .
- cp -r ../public/* ./
- cp ./404/index.html ./404.html
- git add .
- git commit -m "committed by gitee go"
- git push origin master
caches:
- ~/.npm
- ~/.yarn
notify: []
strategy:
retry: '0'
阅读全文 »

反射工具包 reflections

1
2
3
4
5
<dependency>
<groupId>org.reflections</groupId>
<artifactId>reflections</artifactId>
<version>0.9.11</version>
</dependency>
阅读全文 »

java 编译过程中出现了 Exception in thread “main” java.lang.UnsupportedClassVersionError

原因:这个问题确实是由较高版本的 JDK 编译的 java class 文件试图在较低版本的 JVM 上运行产生的错误。

java.lang.UnsatisfiedLinkError: no XXX in java.library.path 问题解决

一般这是引入 dll 或者 so 的文件出现的,设置好 java.library.path 就好。

在 IDEA 中设置:右上角 Edit Configurations→Configuration→VM options,输入下面内容:

-Djava.library.path=F:\EFile\rebuild\lib

后边跟的是 dll 文件的绝对路径。

阅读全文 »

什么是 Quartz 作业调度库?
Quartz是一个功能丰富的开源作业调度库,几乎可以集成到任何Java应用程序中——从最小的独立应用程序到最大的电子商务系统。Quartz可以用于创建简单或复杂的调度,以执行数十个、数百个甚至数万个作业;作业的任务被定义为标准的Java组件,这些组件几乎可以执行您为它们编写的任何任务。Quartz Scheduler包含许多企业级特性,比如对JTA事务和集群的支持。

Downloads
http://www.quartz-scheduler.org/downloads/

0%