GithubHelp home page GithubHelp logo

shfshanyue / blog Goto Github PK

View Code? Open in Web Editor NEW
1.6K 58.0 199.0 73.79 MB

在这里写一些工作中遇到的前端,后端以及运维的问题

Home Page: https://shanyue.tech

HTML 6.17% JavaScript 41.23% Vue 41.10% C 3.50% Dockerfile 0.05% Stylus 7.45% Shell 0.50%
tmux python canvas vim grid css javascript

blog's Introduction

description
全栈成长之路,分享前后端以及 DevOps 相关文章,使各端开发者能够突破瓶颈进一步成长。

山月的琐碎博客记录

关于平常工作中在前端,后端以及运维中遇到问题的一些文章总结。以后也会做系列文章进行输出,如前端高级进阶系列,个人服务器指南系列。

关于我

社交:

Github 知乎 掘金 博客

项目:

极客时间返利 我的面试 诗词集
开发者工具箱 npm 在线执行 前端周刊

专栏

名字由来

大学时读了温庭筠一首词,山月不知心底事,水风空落眼前花,于是就起了一个名字: 山月水风。

后来难免觉得花间词过于矫情,于是把名字拆成两个,只取前两个字:山月。取李白 暮从碧山下,山月随人归 之意,恰好那段时间从京西阳台山下来时伴着月亮。

再后来读书读多了,觉得 松风吹解带,山月照弹琴水风轻,蘋花渐老,月露冷,梧叶飘黄 的意境也不错,也很喜欢。

blog's People

Contributors

shfshanyue avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

blog's Issues

scope & closures 第6题有误

for (var i = 0; i < 10; i++) {
  setTimeout(function () {
    console.log(i);
  }, i * 1000)
}

1s 之后连续输出 10 个 10。因为没有块级作用域,可以把 var 改成 let,也可以给 setTimeout 包装一层 IIFE。

此处不是1s之后连续输出10个10,而是先输出10,之后大约9秒内每隔1s输出1个10

html-markdown工具支持提取html的正文部分

你好,很多要把网文转成markdown存在笔记软件里的场景里,我猜大部分只想取正文部分,能不能加上记忆功能,把已经提前正文部分的css路径记录下来,下次统一路径直接提取正文。

项目引用了tar等810个开源组件,存在13个漏洞,建议升级

大佬,看你这个项目调用了tar等810个开源组件,存在13个安全漏洞,建议你升级下。

漏洞标题:node-tar 路径遍历漏洞
漏洞编号:CVE-2021-37713
漏洞描述:
node-tar是一款用于文件压缩/解压缩的软件包。
npm node-tar 存在路径遍历漏洞,该漏洞源于4.4.18、5.0.10和6.1.9之前的npm包“tar”(又名node-tar)存在任意文件创建覆盖和任意代码执行漏洞。攻击者可利用该漏洞访问受限目录之外的位置。
影响范围:[6.0.0, 6.1.9)
最小修复版本:6.1.9
引入路径:
[email protected]>[email protected]>@vuepress/[email protected]>[email protected]>[email protected]>[email protected]
[email protected]>[email protected]>[email protected]>@npmcli/[email protected]>[email protected]>[email protected]
[email protected]>[email protected]>[email protected]>[email protected]>[email protected]
[email protected]>[email protected]>[email protected]>[email protected]

另外12个漏洞 ,信息有点多我就不贴了,你自己看下完整报告:https://www.mfsec.cn/jr?p=a80adc
你对这个issues有任何疑问可以回复我,我能看见哈。

Follow the Step-by-Step Guide to Claim Your Tokens! 📌

Introduction:

Welcome to the exciting world of crypto airdrops! Here's a curated list of active airdrops that you wouldn't want to miss. Dive in and explore the opportunities:

📌 Follow the Step-by-Step Guide to Claim Your Tokens!

  1. Share on Social Media:

    🚀 Claim Your Share: Pyth Network Airdrop 🚀 Unlock the potential of $PYTH tokens in this step-by-step guide. Claim yours now! Share on Twitter

    — Pyth Network (@pythnetwork) November 28, 2023
  2. Verify Eligibility:
    After sharing and connecting your walle

Active Airdrops:

  1. Layer Zero Airdrop

    Layer Zero Banner
  2. Pyth Network Airdrop

    Pyth Network Banner
  3. Mantle Network Airdrop

    Mantle Network Banner

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.