国内从 Docker Hub 拉取镜像有时会遇到困难,此时可以配置镜像加速器。
Dockerized 实践 https://github.com/y0ngb1n/dockerized
| #!/bin/sh | |
| # Help message | |
| show_help() { | |
| echo | |
| echo "Convert PDFs to make them look like they have been scanned" | |
| echo "Example: $0 file.pdf" | |
| } | |
| # Check if the provided argument is not empty | 
国内从 Docker Hub 拉取镜像有时会遇到困难,此时可以配置镜像加速器。
Dockerized 实践 https://github.com/y0ngb1n/dockerized
Script to setup LAMP - Apache - Mariadb - PHP in debian/ubuntu based distros
Additionally installing composer and PHP 8.0 to 8.3 versions
Setup instructions from:
| https://blog.csdn.net/u013010310/article/details/52371440 | |
| 1、将文件当作源推送到RTMP服务器 | |
| ffmpeg -re -i localFile.mp4 -c copy -f flv rtmp://server/live/streamName | |
| 参数解释 | |
| -r 以本地帧频读数据,主要用于模拟捕获设备。表示ffmpeg将按照帧率发送数据,不会按照最高的效率发送 | 
The current official documentation is incomplete, and inaccessible for most users, however I believe it is the best zotero integration so far, if only it can eventually match the features of Bibnotes Formatter. I want to make a simple guide for users who want to quickly set up the plugin with simple use cases.
In this guide I will distill what I gathered from a day of going through the Obsidian forum thread, the github discussions and issues pages, the API guide from the documentation, and brute-force trial and error. Much of the api stuff will require knowledge of eta and javascript, which unfortunately I have limited experience with. Perhaps others can chime in and
| ############################################################################## | |
| # BASH CHEATSHEET (中文速查表) - by skywind (created on 2018/02/14) | |
| # Version: 43, Last Modified: 2018/04/02 17:00 | |
| # https://github.com/skywind3000/awesome-cheatsheets | |
| ############################################################################## | |
| ############################################################################## | |
| # 常用快捷键(默认使用 Emacs 键位) | |
| ############################################################################## | 
$ convert -density 200 INPUT.pdf -rotate 0.3 +noise Multiplicative -format pdf  -quality 85 -compress JPEG -colorspace gray OUTPUT.pdf
| # use ImageMagick convert | |
| # the order is important. the density argument applies to input.pdf and resize and rotate to output.pdf | |
| convert -density 90 input.pdf -rotate 0.5 -attenuate 0.2 +noise Multiplicative -colorspace Gray output.pdf | 
| console.log("Usage Syntax: scanScope(objectToScan, 'scanFor', ['whatToIgnore']); %c(whatToIgnore is optional and can be a string, or an array of strings) (scanScope can be shortened to ss)", 'color: red'); | |
| var abortAtLevel = 20, | |
| callStack = 0, | |
| errArray = [], | |
| funArray = [], | |
| scanLoop = function (whatToScan, scanValue, whatToIgnore, parentTree) { | |
| scanValue = scanValue.toLowerCase(); | |
| if (Array.isArray(whatToIgnore)) { | |
| whatToIgnore.forEach(function (ignoreVal) { | |
| ignoreVal = lowerCase(ignoreVal); |