avatar
Articles
10
Tags
11
Categories
0

首页
档案
标签
分类
记忆
  • Music
  • Movie
  • Images
SpringBoot
  • 基础
  • 运维
  • 开发
  • 原理
链接
关于
Litchenks
首页
档案
标签
分类
记忆
  • Music
  • Movie
  • Images
SpringBoot
  • 基础
  • 运维
  • 开发
  • 原理
链接
关于

Litchenks

云服务器被攻击及感受
Created2023-08-23
本着一个白嫖心理,阿里云免费的云服务器(三个月)不拿白不拿,想着用它再熟悉下环境搭建 结果被阿里云警报提醒就打开看看发现出现了一个严重警告,本以为是自己乱上传出现的误报,结果看见文件名: /etc/zzh和/etc/zzhs文件,果断上网查这个… 根据提示 12345678910111213[root@iZ2ze1spn04fghqv3rsefdZ ~]# lsattr /etc/zzh----ia-------------- /etc/zzh[root@iZ2ze1spn04fghqv3rsefdZ ~]# chattr ia /etc/zzh-bash: /usr/bin/chattr: Permission denied[root@iZ2ze1spn04fghqv3rsefdZ ~]# rm /etc/zzhrm: remove regular file '/etc/zzh'? yrm: cannot remove '/etc/zzh': Operation not permitted#处理/etc/zzhs[root@iZ2ze1sp ...
个人Quick reference(速查表)相关
Created2023-06-28
启动部署npm run build npm run
Vue实践(一)
Created2023-05-08
插件说起vue的插件就不得不提及vetur,vetur是对Vue2支持很友好的插件,用于为.vue单文件组件提供代码高亮以及语法支持。 但是它对于ts的支持,并不友好,而且Vue3是一整套从头到尾使用ts的新底层以及全新的composition-api,所以此时volar顺应而生。 volar不仅支持 Vue3 语言高亮、语法检测,还支持 TypeScript 和基于 vue-tsc 的类型检查功能。 需要注意的是:使用时需要禁用 Vetur 插件,Volar与它会有冲突 vue的HelloWorld123456789101112131415161718192021<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>Document</title></head><script type="text/javascript" src="j ...
误操作node导致hexo命令不可用
Created2023-05-08
原因:因为nodejs需要改动,删除node_modules导致博客的hexo modules及其命令失效不可用可以使用npm更新命令: 更新hexo,你可以按照以下步骤来操作: 全局升级hexo-cli,执行npm i hexo-cli -g命令,然后用hexo version命令查看是否升级成功²。 使用npm install -g npm-check和npm-check命令,检查系统中的插件是否有升级的²。 如果你的博客是部署在GitHub Pages上的,你还需要执行git add .、git commit -m 'back up hexo files'和git push命令来更新你的xxx分支¹。 最后执行hexo d -g命令来更新你的master分支¹。 注意事项:当前windows用户是否有权限访问及操作该文件夹…..
图解Java多线程设计模式笔记(一)
Created2023-04-20
Java线程基础知识 何谓线程 线程的启动 线程的暂停 线程的互斥处理 线程的协作 线程相关API区分”当前线程”和”本线程” 本线程:表示this(以及与this对应的线程) 当前线程:值调用对象方法的线程 java.lang.Object类123public final void notify()// 从在这个对象上wait着的线程中选择一个并唤醒它.
开发常用API汇总(一)
Created2023-04-19
多层json对象和json数组解析
Created2023-04-18
首先看看常见几种类型分类:“key”:”valuevalue为String “key”:2value为int “key”:{“k1”:”v1”}value为JSONObject “key”:[v]value为JSONArray 示例数据结构12345678910111213141516171819202122232425{ "error": 0, "status": "success", "results": [ { "currentCity": "青岛", "index": [ { "title": "穿衣", "zs": "较冷", ...
blog基本操作
Created2023-02-09
新建文件 12345# 操作目录-博客根目录进入Git Bash Here>hexo new <文件名># 例如 新建HelloWorld.md 在_posts目录下hexo new "HelloWorld" 图像存储设置 检查该md的偏好设置和格式下的图像–>设置图像根目录为source文件夹 12# 设置typora图像位置../img/生成静态文件 根目录的/img/会与模板/sources/下的/img/合并. 常用Bash命令 12345678910# 部署到本地默认端口 通过默认端口访问 例如:http://localhost:4000/访问hexo s# 生成静态页面hexo g# 清理缓存hexo clean# 部署到远程hexo d# 常用多命令操作hexo clean && hexo g && hexo d 根目录下 _config.butterfly.yml 123# 设置主页top图片# 设置默认页面横幅 default_top_img: img/system/ ...
Spring
Created2023-02-04
两大核心: IoC:控制反转 AOP:面向切面编程(一种编程思想) 体系结构 坐标 1234567<dependencies> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-context</artifactId> <version>5.1.9.RELEASE</version> </dependency></dependencies>
Hello World
Created2023-02-04
Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub. Quick StartCreate a new post1$ hexo new "My New Post" More info: Writing Run server1$ hexo server More info: Server Generate static files1$ hexo generate More info: Generating Deploy to remote sites1$ hexo deploy More info: Deployment
1
avatar
chenks
Articles
10
Tags
11
Categories
0
Follow Me
Announcement
This is my Blog
Recent Post
云服务器被攻击及感受2023-08-23
个人Quick reference(速查表)相关2023-06-28
Vue实践(一)2023-05-08
误操作node导致hexo命令不可用2023-05-08
图解Java多线程设计模式笔记(一)2023-04-20
Tags
Java线程 Vue blog配置 hexo java json解析 linux node.js 使用说明 安全防护 速查表
Archives
  • August 20231
  • June 20231
  • May 20232
  • April 20233
  • February 20233
Info
Article :
10
UV :
PV :
Last Push :
©2020 - 2024 By chenks
Framework Hexo|Theme Butterfly