BIOS: EC-ARB20A-1.15-T01
Proxmox VE: 7.3-1
BIOS: EC-ARB20A-1.15-T01
Proxmox VE: 7.3-1
| #!/usr/bin/python | |
| """ | |
| msysGit to Unix socket proxy | |
| ============================ | |
| This small script is intended to help use msysGit sockets with the new Windows Linux Subsystem (aka Bash for Windows). | |
| It was specifically designed to pass SSH keys from the KeeAgent module of KeePass secret management application to the | |
| ssh utility running in the WSL (it only works with Linux sockets). However, my guess is that it will have uses for other | 
| #!/bin/bash | |
| echo "*** SVG 2 ICNS ***" | |
| if [ $# -ne 1 ]; then | |
| echo "Usage: svg2icns filename.svg" | |
| exit 100 | |
| fi | |
| filename="$1" | |
| name=${filename%.*} | |
| ext=${filename##*.} | |
| echo "processing: $name" | 
This is a basic collection of things I do when setting up a new headless ubuntu machine as a webserver. Following the steps below should give you a reasonable secure server with HTTP/2 support (including ALPN in chrome) and the fast NGINX server. I am happy to add things so leave a comment.
After creating the server (droplet on DigitalOcean) log in with
| // ==UserScript== | |
| // @name nospm | |
| // @version 1.6.3 | |
| // @run-at document-start | |
| // @updateURL https://gist.github.com/ambar/9706385/raw/nospm.user.js | |
| // @downloadURL https://gist.github.com/ambar/9706385/raw/nospm.user.js | |
| // @description 移除 Bilibili、淘宝、天猫、优酷等网址中的 spm 参数(包括地址栏和页面中的链接) | |
| // @include https://*.bilibili.com/* | |
| // @include https://*.taobao.com/* | |
| // @include https://*.tmall.com/* | 
| #!/usr/bin/env python3 | |
| ''' | |
| Layout of buka manga archives | |
| Whole archive | |
| | b"buka" | unknown (16 bytes) | manga title (c string) | entry table | file 1 | file 2 | ... | |
| Entry table | |
| | table size (uint32) | entry 1 | entry 2 | ... | |