Skip to content

Instantly share code, notes, and snippets.

@dougswro
dougswro / whenever.sh
Created May 21, 2026 00:57 — forked from mpapi/whenever.sh
A simple shell script that uses inotify in Linux to run shell commands whenever files matching a pattern are changed.
#!/bin/sh
#
# Usage: whenever.sh [pattern] [command]
#
# Executes a command whenever files matching the pattern are closed in write
# mode. "{}" in the command is replaced with the matching filename (via xargs).
# Requires inotifywait from inotify-tools.
#
# For example,
@choco-bot
choco-bot / FilesSnapshot.xml
Created May 21, 2026 00:57
aqua v1.20.0-rc7-experimental - Passed - Package Tests Results
<?xml version="1.0" encoding="utf-8"?>
<fileSnapshot xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<files>
<file path="C:\ProgramData\chocolatey\lib\aqua\aqua.nupkg" checksum="F407CFFC6C33480B9AAE45DF2A492371" />
<file path="C:\ProgramData\chocolatey\lib\aqua\aqua.nuspec" checksum="DF95BFBAEFA6D2C8FF27638A62BB704D" />
<file path="C:\ProgramData\chocolatey\lib\aqua\legal\LICENSE.txt" checksum="C7666C9076B68A20F34708D6511D8A65" />
<file path="C:\ProgramData\chocolatey\lib\aqua\legal\VERIFICATION.txt" checksum="1C4DA0C541AB5EB6234B7AE8E77DF869" />
<file path="C:\ProgramData\chocolatey\lib\aqua\tools\arm64\aqua.exe" checksum="5F4AB3D1318228467CF82A9C534841AF" />
<file path="C:\ProgramData\chocolatey\lib\aqua\tools\x64\aqua.exe" checksum="EAFB9BFF19335F68AB15919823D01348" />
</files>
@choco-bot
choco-bot / Install.txt
Created May 21, 2026 00:57
SakuraEditor v2.3.2.0 - Passed - Package Tests Results
2026-05-21 00:55:22,134 444 [DEBUG] - XmlConfiguration is now operational
2026-05-21 00:55:22,402 444 [DEBUG] - Adding new type 'CygwinService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2026-05-21 00:55:22,415 444 [DEBUG] - Adding new type 'CygwinService' for type 'IInstallSourceRunner' from assembly 'choco'
2026-05-21 00:55:22,415 444 [DEBUG] - Adding new type 'PythonService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2026-05-21 00:55:22,415 444 [DEBUG] - Adding new type 'PythonService' for type 'IListSourceRunner' from assembly 'choco'
2026-05-21 00:55:22,429 444 [DEBUG] - Adding new type 'PythonService' for type 'IInstallSourceRunner' from assembly 'choco'
2026-05-21 00:55:22,429 444 [DEBUG] - Adding new type 'PythonService' for type 'IUninstallSourceRunner' from assembly 'choco'
2026-05-21 00:55:22,429 444 [DEBUG] - Adding new type 'RubyGemsService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2026-05-21 00:55:22,446 444 [DEBUG] - Adding new type 'RubyGe
@alhbtam-ops
alhbtam-ops / README_COLAB.txt
Created May 21, 2026 00:57
Zizman Colab generation script with notebook
خلاصة سريعة لتشغيل على Google Colab (سهل):
1) افتح https://colab.research.google.com/ ثم "Upload" -> اختر الملف colab_zizman.py (الموجود في D:\ZIZMAN_PROJECT)
2) اختر Runtime > Change runtime type > GPU (preferably T4/P100/V100). Save.
3) شغّل الخلايا أو افتح Terminal في Colab وادخل: python colab_zizman.py
4) عند الطلب أدخل HuggingFace token (يمكن الحصول منه من https://huggingface.co/settings/tokens)
5) انتظر انتهاء التوليد، بعدها حمل مجلد /content/zizman_outputs كـ ZIP.
ملاحظات:
- استخدم نماذج مختلفة أو عدّل steps/size داخل colab_zizman.py إذا احتجت جودة أعلى.
@rsm0128
rsm0128 / gist:fef68c9e6cab9355eecd2833a251c110
Created May 21, 2026 00:56
Open VPN Installation Guide
# VPS & Windows OpenVPN Setup Guide
## VPS Setting
### Step 1: Update your VPS
```bash
sudo apt update && sudo apt upgrade -y
```
@tisohjung
tisohjung / gist:758b7ed123ec7aebf1c27ddc10e96941
Created May 21, 2026 00:56
vscode, cursor, antigravity keybindings.json
[
{
"key": "shift+cmd+e",
"command": "-workbench.view.explorer",
"when": "viewContainer.workbench.view.explorer.enabled"
},
{
"key": "shift+cmd+e",
"command": "workbench.files.action.showActiveFileInExplorer"
},
[
{ "c": "int x = 5;\nint y = 2;\ndouble z = x / y;\n// What is the value of z?", "o": ["2.5", "2.0", "2", "Throws ArithmeticException"], "a": 1 },
{ "c": "String s = \"APCSA\";\n// What does s.substring(1, 3) return?", "o": ["PC", "PCS", "AP", "APC"], "a": 0 },
{ "c": "ArrayList<String> list = new ArrayList<String>();\nlist.add(\"A\");\nlist.add(\"B\");\nlist.add(\"C\");\nlist.remove(1);\nlist.add(1, \"D\");\n// What is at index 1?", "o": ["B", "C", "D", "A"], "a": 2 },
{ "c": "int[] arr = {1, 2, 3};\nfor (int n : arr) {\n n = n * 2;\n}\n// What is the value of arr[0]?", "o": ["1", "2", "6", "Compiler Error"], "a": 0 },
{ "c": "System.out.print(\"5\" + 2 + 3);\n// What is printed?", "o": ["10", "55", "523", "Compiler Error"], "a": 2 },
{ "c": "System.out.print(2 + 3 + \"5\");\n// What is printed?", "o": ["10", "235", "55", "Compiler Error"], "a": 2 },
{ "c": "int[][] mat = new int[4][5];\n// What is the value of mat[0].length?", "o": ["4", "5", "20", "0"], "a": 1 },
{ "c":
@shahabd1358
shahabd1358 / fleet-dispatch-hub-mvp-build.md
Created May 21, 2026 00:56
Fleet Dispatch Hub MVP build report — pack-paste, sm-tmux auto-paste, return bundle. PR #24
  • goal: make own data small enough to fit on small usb memory / micro sdhc
  • why: see below

  • looking after data unwieldy
    • total size too much
      • takes long to backup (transfer speeds too slow)
      • too expensive to pay for (ongoing storage media cost)
  • cumbersome to look after too many backups
@lionbarge3
lionbarge3 / 非凡 - index-games-feifan.com.md
Created May 21, 2026 00:55
非凡 - index-games-feifan.com

如果你在寻找一个内容丰富、体验顺畅的网站,不妨看看非凡。这里聚合了多种有趣内容与轻松玩法,整体体验相当非凡。界面简洁,上手很快,日常休闲时打开 https://index-games-feifan.com/ 逛一逛,总能发现新的惊喜。非凡 是一个值得关注的网站。