轮播图也称为焦点图,是网页中比较常见的网页特效。 功能需求: 1.鼠标经过轮播图模块,左右按钮显示;鼠标离开时隐藏; 2.点击右侧按钮一次,图片往左播放一张,以此类推,左侧按钮同理; 3.图片播放的同时,下面小圆圈模块跟随一起变化; 4.点击小圆圈,可以播放相应图片; 5.鼠标不经过轮播图,轮播图也 ...
分类:
Web程序 时间:
2020-06-26 12:38:39
阅读次数:
63
不考虑内存浪费的fastIO 1 #include<bits/stdc++.h> 2 using namespace std; 3 namespace IO 4 { 5 const int len=1<<25; 6 bool flag; 7 char ch,ibuf[len],wbuf[len]; ...
分类:
其他好文 时间:
2020-06-26 10:53:18
阅读次数:
49
题目如下: 思路: 1.数据很小 可以开数组解决 代码如下: #include<cstdio> #include<iostream> using namespace std; int a[1010][1010]; int ans=0,n; bool flag=false; int f(int i,i ...
分类:
其他好文 时间:
2020-06-26 10:41:13
阅读次数:
89
拿到一个reverse_1.exe,直接拖进ida查看 搜索文本"flag",结果如下: 看到"This is right flag..",进去看看 我们可以看到关键部分在第二个for循环和if ( !strncmp(&Str1, Str2, v3) )这里。111和48对应到ASCII值,其作用是 ...
分类:
其他好文 时间:
2020-06-26 00:58:29
阅读次数:
97
攻防世界 bug 发现有Register界面,先去注册 登录以后发现以下界面,点击Manage显示you are not admin,并且在注册界面用admin为注册名时显示用户名已存在。初步推测是设法改变admin的密码取得权限。 在主界面一通操作并没有什么发现,去findpwd页面试试 输入自己 ...
分类:
其他好文 时间:
2020-06-25 17:53:06
阅读次数:
90
Nginx Rewrite使用场景 1.URL地址跳转,例如用户访问pm.com将其跳转到baidu.com或者当用户通过http的方式访问时,将其跳转至https的方式访问。 2.URL伪静态,将动态页面显示为静态页面方式的一种技术,减少动态URL地址对外暴露过多的参数,提升更高的安全性。 3.搜 ...
分类:
系统相关 时间:
2020-06-25 16:00:25
阅读次数:
61
package com.ymw.sqlite.view;import android.content.Context;import android.graphics.Canvas;import android.graphics.Color;import android.graphics.Paint; ...
分类:
其他好文 时间:
2020-06-25 15:52:51
阅读次数:
153
struct msghdr 结构体 struct iovec { /* Scatter/gather arrayitems */ void *iov_base; /*Starting address */ size_t iov_len; /* Number of bytes to transfer* ...
分类:
其他好文 时间:
2020-06-24 23:25:42
阅读次数:
75
前言 正式工作已经一年了,也想对这一年来的经历做一些总结,立下未来一年的flag,希望能给自己一些激励和更多的思考,对看到这篇博客的朋友尤其是刚毕业的同学一些启发,因为最近看到其他年度总结的博客,会情不自禁的做一些参展与学习,思考如何才能在这条路上走得更顺利一些。 工作 工作包括实习期在内共1年6个 ...
分类:
其他好文 时间:
2020-06-24 20:15:57
阅读次数:
49
#include <string> #include <iostream> #include <thread> #include <atomic> class spin_lock{ private: std::atomic<bool> flag = ATOMIC_VAR_INIT(false); p ...
分类:
其他好文 时间:
2020-06-24 20:00:25
阅读次数:
50