Skip to content

Instantly share code, notes, and snippets.

View aisuhua's full-sized avatar
:octocat:
Flying

aisuhua aisuhua

:octocat:
Flying
  • 黑暗帝国
  • 广东深圳
View GitHub Profile
@aisuhua
aisuhua / vmware.md
Created March 11, 2025 03:05 — forked from ayebrian/vmware.md
VMware ESXi 8 / vCenter 8 / Workstation 17 license key 2024
@aisuhua
aisuhua / inotify_exec_on_file_change.sh
Created September 27, 2024 04:58 — forked from gwpl/inotify_exec_on_file_change.sh
inotifywait to exec specified command on each file change -> e.g. run "make", "pdflatex", or any other compile/upload or other command of choice! (Thanks https://superuser.com/a/181543/81861 ! )
#!/bin/bash
# Example usecase:
# inotify_exec_on_file_change.sh /path/phd paper.tex pdflatex paper.tex
dirn="$1"
filen="$2"
shift 2
echo "Watching directory $dirn for changes of file $filen . Watching directory insteaf of file to overcome behaviour of many text editors that replace file - Thanks to Giles and see his answer https://superuser.com/a/181543/81861 for more details. In case of matching even I execute:" $@
@tjumyk
tjumyk / Ubuntu_24.04_Install_Sogou_Pinyin.md
Last active February 9, 2026 15:58
Ubuntu 24.04 Install Sogou Pinyin
  • Remove ibus
sudo apt purge ibus
sudo apt autoremove
  • Install Sogou Pinyin and dependencies
# Download deb installer from https://shurufa.sogou.com/linux
sudo dpkg -i <sogou_xxx.deb>
sudo apt install -f
@aisuhua
aisuhua / auto_tags.py
Created April 10, 2024 11:14 — forked from rkrzr/auto_tags.py
Automatically generate ansible tags of the same name for each role in a playbook
"""
This module implements an Ansible plugin that is triggered at the start of a playbook.
The plugin dynamically generates a tag for each role. Each tag has the same name as its role.
The advantage of this is that it saves you some boilerplate, because you don't have to wrap
all tasks of a role in an additional block and assign a tag to that.
Additionally, it works automatically when you add new roles to your playbook.
Usage is exactly the same as without this plugin:
@ayebrian
ayebrian / vmware.md
Last active February 26, 2026 02:38
VMware ESXi / Workstation / ISO Downloads

Download VMware ISOs in this repo

Also I would happy if you visit my site with tech tips!: https://hausmer.com

All license keys and activation files have been removed in accordance with GitHub's Terms of Service.

Only official trial installers are available. Bring your own license (BYOL).

os_http_be.map and os_sni_passthrough.map are both just empty files
@joulgs
joulgs / terminal.txt
Last active February 3, 2026 16:13
How install libssl1.1 on ubuntu 22.04
wget http://archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.0g-2ubuntu4_amd64.deb
sudo dpkg -i libssl1.1_1.1.0g-2ubuntu4_amd64.deb
@nakamuraos
nakamuraos / reset-trial-navicat.sh
Last active February 23, 2026 08:26
Reset trial Navicat 15, Navicat 16, Navicat 17 on Linux
#!/bin/bash
set -euo pipefail
# Author: NakamuraOS <https://github.com/nakamuraos>
# Latest update: 03/19/2025
# Tested with Navicat 15.x, 16.x, and 17.x on Debian and Ubuntu.
BGRED="\e[1;97;41m"
ENDCOLOR="\e[0m"
@MinecraftPublisher
MinecraftPublisher / README.md
Created August 16, 2021 06:52
Reset Jetbrains product evaluation

Reset Jetbrains product evaluation

You could reset your Jetbrains product evaluation timer using this Gist.

How to use

reset_eval.vbs is for Windows devices

reset_eval.sh is for Linux and MacOS devices

@juliyvchirkov
juliyvchirkov / string.polyfill.php
Last active March 7, 2025 11:39
php: polyfills of string functions str_starts_with, str_contains and str_ends_with
<?php declare(strict_types = 1);
/**
* Provides polyfills of string functions str_starts_with, str_contains and str_ends_with,
* core functions since PHP 8, along with their multibyte implementations mb_str_starts_with,
* mb_str_contains and mb_str_ends_with
*
* Covers PHP 4 - PHP 7, safe to utilize with PHP 8
*/
/**