Centos7 安装与破解 Confluence 6.7.1
1.1硬件需求建议: CPU:32/64 bit 2.27GHz双核心以上之CPU; 内存:8GB以上; 硬盘:300GB,7200转以上; 建议数据库、Confluence等各自独立一台服务器(本测试环境都安装在1台VM)。 1.2软件环境 Centos 7.x mariadb 5.5.56 1.3. 安装包下载 链接: https://pan.baidu.com/s/1zfkTubVFXcPOZP2dHMIQrg 密码: vhn3 2. Confluence 安装 2.1 安装mariad
TokenUtil工具类
package com.ddtkj.common.util;
import java.util.UUID;
import javax.servlet.http.HttpServletRequest;
import org.apache.commons.lang3.StringUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFact...
BigDecimal数字计算
package com.ddtkj.common.util;
import java.math.BigDecimal;
/**
* 工具类-BigDecimal算法
*/
public class BigDecimalUtil {
private static int DEF_DIV_SCALE = 10; // 默认精确的小数位
/**
* 提供精确的加法运...
最大乘积(Maximum Product, UVa 11059)
m D - Maximum Product
Time Limit: 1 second
Given a sequence of integers S = {S1, S2, ..., Sn}, you should determine what is the value of the maximum positive product involving consecutive terms o...
H - A Stack or A Queue?
Do you know stack and queue? They're both important data structures. A stack is a "first in last out" (FILO) data structure and a queue is a "first in first out" (FIFO) one.
Here comes the problem: g...
18.8.17暑假集训有感
七夕快乐哈,今天发生了很多事,让我深深的发现,心态太太重要了,像今天的比赛本可以做很多题的呀,但我却为了一个暂时做不对的题头疼,心态蹦了,也就啥也干不了了,虽然过后心情很差,但你要知道,并不是你没有实力,别妄自菲薄,每个人都需要成长,你也比例外,把没做的题做了吧,每天进步一点点,加油!!!JUST DO IT!...
You can say 11
You can say 11
Time Limite: 1 second
Introduction to the problem
Your job is, given a positive number N, determine if it is a multiple of eleven.Description of the input
The input is a file such that...
前端学习(七十) DOM-事件模型(Dom)
事件模型
首先,先简单的看一下事件流
window -> document -> <html> -> <body> -> <div> -> <p> -> <a>
简单的说就是事件的处理过程,通常来说分为三个阶段,举例
假如,现在点击了a标签,触发了跳转的,那么实际上,这个事件分为
前端学习(七十一) DOM-事件操作(Dom)
事件操作
EventTarget
是一个可接收事件的对象接口,并且可以创建监听器,例如window,document等这些是最常见的监听目标
事件注册
EventTarger.addEventListener(type,listener,useCapture)
type:指的是创建事件的类型,例如,点击事件click,鼠标移动事件mouseover等
listener:回调函数,需要写...
前端学习(七十二) DOM-事件类型(Dom)
事件类型
事件分类
首先我们在DOM上有一个Event类,这个类包含了:load,unload,error,select,abort等事件
然后,这些父类首先会衍生出子类UIEvent,包含了:resize,scroll等
再然后,由UIEvent衍生出了FouseEvent,包含了:blur,focus,focusin,focusout等
再接着,UIEvent还衍生出了InputEv...
前端学习(七十三) DOM-样式操作(Dom)
样式操作
style属性
HTMLElement.style能够访问和修改元素的内联样式,可以直接通过内联样式获取到内联样式的属性
例如:
var a=document.getElementById('aaa');
console.log(a.style.width);
console.log(a.styl...
stm32f4工程组织形式
记住这17个文件,看到任何工程结构都不会乱!
启动
.s
外设
stm32f4xx.h
system_Init.c
system_Init.h
固件库.c
固件库.h
misc.c
misc.h
内核
cm4.c
其他三个内核.c
用户
main.c...
ucosiii问题解决——内嵌信号量task1无法运行
每解决一个问题之后,都有杀了自己的冲动,但想到还要为下一代避免长生、三鹿、红黄蓝、中学校长、大学教授的迫害而努力就放下了手里的鸿茅药酒。
OSTaskCreate((OS_TCB *)&task1_TCB,
(CPU_CHAR *)((void *)"Task1"),
(OS_TASK_PTR )ta...
c 语言验证码(不区分大小写)
#include <bits/stdc++.h>using namespace std;#define N 6void identifying_Code (char str[],int n){ int i,j,len; char pstr[] = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJLMNOPQRSTUVWXYZ";...
Java中for循环别名
public class Demo //tp和cc:相当于给当前的循环起了一个别名。主要作用:实现在内层循环结束外层循环。
{
public static void main(String []args)
{
int i = 0, j = 5;
tp: for (;;)
{
i++;
...
今日推荐
周排行