LATEST TRANSMISSIONS
ENCRYPTED // PUBLIC KEY DETECTED
Pull All Git Repositories with a Simple Bash Script
Learn how to pull updates from all Git repositories within a directory using a Bash script.
Comprehensive Guide to Setting Up a Swap File on Ubuntu: A Step-by-Step Approach
Introduction: Exhausting memory on your Ubuntu system can result in sluggish applications or even unexpected crashes. To maintain optimal performance, particularly on systems with limited RAM, setting…
Watermark Your Images from Command-line Interface
I wrote a bash script that can be run as a command to watermark image or images within the given directory using ImageMagick. #!/usr/bin/env bash # Check if source directory or image file and waterma…
Pull GitLab Remote Backup Bash Script
GitLab's backup files are generated locally on the server by default, though there are a lot of remote backup provider, I still want to pull backup files to local machine and not rely on any third par…
Run Multiple Bash Tasks Asynchronously to Save Time
I happen to have a ci job consisting of multiple tasks that requires a lot of time. If I run all the tasks synchronously, it will absolutely take a long time. So I am thinking of running them in multi…
Merge Text Files Into A Single File
find /path/to/source -type f -name '*.txt' -exec cat {} + > merged.txt …
cnpm 与 npm registry 管理
长途跋涉去西方取 package 总是路途艰难,淘宝技术部开发了 cnpmjs.org 和 cnpm 这两个项目来克服这些人为的困难。 cnpmjs.org cnpmjs.org是一个基于nodejs开发、供企业/团队使用的私有npm registry,它同时也可以中继缓存npmjs.org的上的packge,让用户可以在困难的网域顺利地获取npm package。 它功能完善也易于部署和维护…
Print Commands in Bash Script
We can transcript and run multiple commands in one single bash script file, but it won't print the command you wrote in script by default. Whereas, printing commands in script is supported, it just n…
终端命令行如何穿越?
开发的时候经常遇到在命令行里访问GitHub和者某些篱笆外的资源不太方便的情况,于是写了一个简单的脚本来快捷实现命令行翻篱笆,原理很简单,就是套娃。 创建一个可执行文件作为命令使用 创建一个文件,保存到/usr/local/bin,这样之后它会被添加到path中,便可以在bash 中当作命令使用 vim /usr/local/bin/proxy 编写翻篱笆脚本 #!/usr/bin/env…