Comprehensive stress testing on CPU, memory, system I/O and disk
stressjqlm-sensors
| // ==UserScript== | |
| // @name Souhu Hide Distractions | |
| // @version 0.1 | |
| // @description Remove Sohu pop-ups and slide-bar ads | |
| // @author ricky9w | |
| // @email me@rikko.top | |
| // @match https://www.sohu.com/a/* | |
| // @grant none | |
| // ==/UserScript== |
| // ==UserScript== | |
| // @name Long Screenshot Creator for Scrollable Container | |
| // @namespace https://rikko.top | |
| // @version 0.1 | |
| // @description Create a long screenshot of all elements in a scrollable container | |
| // @author ricky9w | |
| // @email me@rikko.top | |
| // @match https://*/* | |
| // @grant none | |
| // @require https://cdnjs.cloudflare.com/ajax/libs/html2canvas/1.4.1/html2canvas.min.js |
Make, Ninja, Ant, Gradle, MSVC are some of the build systems. They help us to drive the compiler and other build tools. You may need to write a ‘build file’ to tell them the dependency information for them to build a software.
While this is already very convenient, the building of C/C++ projects is not standard across the platforms. Then you may need a ‘meta-build system’ to help you generate ‘build’ files for different build systems.
CMake is such a ‘meta-build system’ that can generate platform based system files by setting some flags.
See this article about the details of a buildsystem: What Is a Build System? - Scott Dorman
It’s annoying on macOS that, if you have an app running in one desktop, and try to open another instance in a separate desktop by clicking on it or spotlight, the OS will jump to the original one, instead of opening a new instance.
This can be solved by Automator app. You can do some pre-build actions or run scripts with it, and Actions created with Automator can be indexed by spotlight.
You can open new instances of applications either with shell command or applescript.
open -na <app> to open a new instance of app. Note that this may mess up your dock since it will likely create separate icons for each instance.
Refer to the manual (man open) for more info.| # Rime alternative settings | |
| # encoding: utf-8 | |
| # | |
| # description: | |
| # | |
| # difference from default settings: | |
| # 1. ascii-style punctuation in half-shape mode | |
| # 2. [ ] as paging keys | |
| # | |
| # save this file as: |
| // ==UserScript== | |
| // @name 教学立方课件下载脚本 | |
| // @namespace http://tampermonkey.net/ | |
| // @version 0.6 | |
| // @description 在课件页点击导航栏"显示下载链接", 无论课件是否开放下载权限. 仅作学习研究之用, 敬请尊重版权! | |
| // @author Richard | |
| // @match https://teaching.applysquare.com/S/Course/index/cid/* | |
| // @grant none | |
| // ==/UserScript== |
| [Interface] | |
| PrivateKey = your-private-key-here | |
| ListenPort = 12345 | |
| Address = 172.16.0.2/32, fd01:5ca1:ab1e:819c:1099:903f:1f44:84e8/128 | |
| DNS = 1.1.1.1 | |
| MTU = 1280 | |
| [Peer] | |
| PublicKey = your-public-key-here | |
| AllowedIPs = 0.0.0.0/1, 128.0.0.0/1, ::/1, 8000::/1 |
| mixed-port: 7890 | |
| #---------------------------------------------------# | |
| ## 配置文件需要放置在 $HOME/.config/clash/*.yaml | |
| allow-lan: false | |
| mode: Rule | |
| log-level: silent | |
| external-controller: 127.0.0.1:60000 | |
| # 节点配置文件统一存放在 ./profiles/proxies/ 目录中 | |
| proxy-providers: |