Quantcast
Channel: Recent Gists from banyudu
Browsing all 30 articles
Browse latest View live

公有云中的信任危机

the-crisis-of-trust-in-public-cloud-service.blog.md公有云中的信任危机相信大多数人都经历过一次或多次的离职,每次离职时都会涉及到一些权限的收回、账号的关闭等事项。在公司资源全部在内网时,这个问题比较简单,容易处理,基本上把员工连接内网的权限收回,就可以掩盖很多漏洞了,即使个别系统中的账号没有关闭,也无伤大雅。但是在公有云时代,很多事情变得不同了。常见...

View Article



OSX Dictionary Lookup History Service

LookUp.APPLESCRIPT This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden...

View Article

Image may be NSFW.
Clik here to view.

记一次Git仓库同步时大小超限问题的解决

fix-git-pack-exceeds-maximum-allowed-size-problem.blog.md记一次Git仓库同步时大小超限问题的解决最近我尝试了将一个Git仓库上传到另一个Git服务器,本来是挺简单的一个步骤,但是遇到了一个大小超限的问题,搞得很麻烦:remote: fatal: pack exceeds maximum allowed size error: remote...

View Article

Git忽略已在仓库中的文件的改动

git-ignore-file-changes-in-existing-files.blog.mdGit忽略已在仓库中的文件的改动在git中当我们想忽略一个文件的时候,只需要修改.gitignore文件,将要忽略的目录包含在内就可以了。典型的如node_modules等。但是有些情况下我们会既需要将文件提交到代码仓库中,又忽略它的后续改动。这种情况就不能使用.gitignore来解决了。什么情况下会...

View Article

Serverless跳过腾讯云的方法

bypass-tencent-cloud-in-serverless-cli.blog.mdServerless跳过腾讯云的方法自从腾讯云和Serverless...

View Article


Image may be NSFW.
Clik here to view.

软解公司监控

soft-crack-company-os-sensor.blog.md软解公司监控今年公司强制要求所有人在工作电脑中安装了监控软件,不安装的话就会锁定账号。最可恨的是这个软件居然还要求开录屏权限,打算监控屏幕吗?想一想它可能会监控所有键盘输入,所有网络请求,就会浑身不自在。那有没有什么方式可以破解监控呢?监控原理(猜测)具体流程:有专门的进程采集行为数据,如键盘操作、屏幕显示。并上报有专门的进程采...

View Article

企业微信发送图片

qywx-bot-post-image.js This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden...

View Article

Node.js中spawn子进程继承Shell中的颜色等信息

spwan-inherit-stdio.js This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden...

View Article


Image may be NSFW.
Clik here to view.

React测试驱动开发 - 理论篇

react-test-driven-development-part1-theory.blog.mdReact测试驱动开发 -...

View Article


React测试驱动开发 - 实践篇(总纲)

react-test-driven-development-part2-practice-pandect.blog.mdReact测试驱动开发 - 实践篇(总纲)上篇React测试驱动开发 -...

View Article

Image may be NSFW.
Clik here to view.

React测试驱动开发 - 环境搭建

react-test-driven-development-part3-setup-environment.blog.mdReact测试驱动开发 -...

View Article

Typescript中的类型联动

typescript-related-type.blog.mdTypescript中的类型联动问题说明类型联动,指的是一个对象中,A属性的值变化,会引起B属性的类型变化。假设有这样一个类型:typeComponent={type: 'button'|'input'|'select'|'textarea';payload: {onChange: Function;onClick:...

View Article

Image may be NSFW.
Clik here to view.

前端AST处理实践指南(基于ts-morph)

frontend-ast-parse-practice.blog.md前端AST处理实践指南(基于ts-morph)背景最近在工作中遇到了一些重复性的任务,为了提升效率,使用了AST进行了批量处理。ts-morph是一个适用于Javascript、Typescript的AST处理工具库,基于typescript实现。虽然之前就有用过ts-morph,并进行过介绍:使用ts-morph批量修改代码,但...

View Article


React自定义hooks useOutdatedEffect 介绍

react-use-outdated-effect.blog.mdReact自定义hooks useOutdatedEffect 介绍前言React中有一个常见的问题,数据获取之后,组件已经销毁,此时会有这样一段警告:Can't perform a React state update on an unmounted...

View Article

nodejs ipv6 ipv4 test

ipv4.js This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode...

View Article


Image may be NSFW.
Clik here to view.

浅谈ipv4和ipv6中的端口占用

ipv4-ipv6-port-listen.blog.md浅谈ipv4和ipv6中的端口占用前两天在调试一个本地应用的时候,偶然发现一个奇怪的问题:nginx和spring boot应用竟然同时监听了8080端口,且能正常工作!这实在是太震惊了,我一向认为只有父子进程才可以共用端口,而nginx和调试中的spring...

View Article

rust-hello-wasm-nodejs

Cargo.toml This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode...

View Article


Image may be NSFW.
Clik here to view.

使用Rust构建wasm包并发布到npm

hello-wasm-with-rust-and-npm.blog.md使用Rust构建wasm包并发布到npmWebAssembly既拥有大量的前端输入(Rust、C++、Go、AssemblyScript),又拥有大量的运行时支持,可以内嵌在大量的语言中运行,也可以独立运行,可以说是编程界的(未来)最佳配角了,结合npm使用自然不在话下。考虑到WebAssembly目前的发展度还不够成熟,为了避...

View Article

Image may be NSFW.
Clik here to view.

Figma插件开发浅浅谈

figma-plugin-development-intro.blog.mdFigma插件开发浅浅谈Figma是一款优秀的设计工具,不仅可以便捷地实现协作开发,同时还提供了丰富的扩展能力,使得我们可以通过编写插件实现自定义的功能。Figma官方是有提供开发者文档的,资料也比较齐全。推荐同时读一下...

View Article

多套Git全局配置并存方案

setup-multiple-global-config-for-git.blog.md多套Git全局配置并存方案背景相信很多人经历过与我类似的困扰,工作和业余项目的作者信息相互干扰。具体来说,就是希望工作项目都使用工作邮箱作为...

View Article
Browsing all 30 articles
Browse latest View live




Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>
<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596344.js" async> </script>