Skip to content

Instantly share code, notes, and snippets.

View antonpetrovmain's full-sized avatar

Anton Petrov antonpetrovmain

View GitHub Profile
@antonpetrovmain
antonpetrovmain / Japanese SFX.md
Created July 8, 2026 02:34 — forked from hdk5/Japanese SFX.md
Japanese game and manga text sound effect (SFX) database

Introduction

This is compiled collection of common Japanese SFXes (sound effects or onomatopoeia).

This collection mostly uses Romaji transliterations. The original version was compiled for general public use but modified later for project-use. Some SFXs may be used in combination with other SFXs; some SFXs, or combinations thereof, may be written separately for emphasis within the same panel (example: do- ki-, ドッキッ ), but can be considered as part of the same action; some use repeated sub-elements or prolongation characters (ー) within them. Because of this, many SFXs can have multiple meanings and are dependent on the action drawn, as well as one's interpretation of that action.

A

a: general interjection: oh, uh, ah

@antonpetrovmain
antonpetrovmain / Japanese SFX.md
Created July 8, 2026 02:32 — forked from UserUnknownFactor/Japanese SFX.md
Japanese game and manga text sound effect (SFX) database

Japanese SFX

Introduction

This is a compiled collection of common Japanese SFXs (sound effects or onomatopoeia).

This collection uses mostly Romaji transliterations. Some of them can be used in combination with other SFXs; some of them, or combinations thereof, can be written separately for emphasis within the same panel (example: do-ki-, ドッ キッ ), but can be considered part of the same action; some use repeated sub-elements or prolongation characters (ー) within them. All interjections can be written differently, usually to indicate particularly strong or repeated stimulation. For example, a cho in isolation is almost certainly a truncated version of chotto, where the speaker was distracted from finishing the word. A prolongation of a character, on the other hand, often implies lazy, harsh, or sloppy pronunciation, or possibly even a scream. Because of this, many SFXs can have multiple meanings, depending on the action drawn, as well as one's interpretation of that action.

@antonpetrovmain
antonpetrovmain / oc.md
Created February 17, 2026 20:03 — forked from mberman84/oc.md
OpenClaw Prompts

OpenClaw Prompts - Build Your Own AI Assistant

Prompts to recreate each piece of the OpenClaw system. Use these with any AI coding assistant.


1. Personal CRM "Build a personal CRM that automatically scans my Gmail and Google Calendar to discover contacts from the past year. Store them in a SQLite database with vector embeddings so I can query in natural language ('who do I know at NVIDIA?' or 'who haven't I talked to in a while?'). Auto-filter noise senders like marketing emails and newsletters. Build profiles for each contact with their company, role, how I know them, and our interaction history. Add relationship health scores that flag stale relationships, follow-up reminders I can create, snooze, or mark done, and duplicate contact detection with merge suggestions. Link relevant documents from Box to contacts so when I look up a person, I also see related docs."

2. Meeting Action Items (Fathom)

@antonpetrovmain
antonpetrovmain / mlx_memory.sh
Created April 2, 2025 13:28 — forked from ivanfioravanti/mlx_memory.sh
Script to set MLX memory limits
#!/usr/bin/env bash
# Default values for percentages
DEFAULT_WIRED_LIMIT_PERCENT=85
DEFAULT_WIRED_LWM_PERCENT=75
# Read input parameters or use default values
WIRED_LIMIT_PERCENT=${1:-$DEFAULT_WIRED_LIMIT_PERCENT}
WIRED_LWM_PERCENT=${2:-$DEFAULT_WIRED_LWM_PERCENT}
@antonpetrovmain
antonpetrovmain / minikube_ssl.sh
Created September 3, 2024 14:37 — forked from tommysdk/minikube_ssl.sh
minikube ssl: add certificate to pull docker images from private docker registry
minikube ssh
docker pull internal.docker.registry/my-image # Error response from daemon: Get https://internal.docker.registry/v2/: x509: certificate signed by unknown authority
sudo mkdir -p /etc/docker/certs.d/internal.docker.registry
sudo cp /etc/ssl/my-cert.crt /etc/docker/certs.d/internal.docker.registry/
docker pull internal.docker.registry/my-image # Status: Downloaded newer image for internal.docker.registry/my-image
<#
.SYNOPSIS
Create a GPU-P Guest driver package.
.DESCRIPTION
Gathers the necessary files for a GPU-P enabled Windows guest to run.
.EXAMPLE
New-GPUPDriverPackage -DestinationPath '.'
.EXAMPLE
New-GPUPDriverPackage -Filter 'nvidia' -DestinationPath '.'
.INPUTS
@antonpetrovmain
antonpetrovmain / Hyper-V GPU-PV with Linux guest.md
Created July 7, 2024 10:15 — forked from krzys-h/Hyper-V GPU-PV with Linux guest.md
Ubuntu 21.04 VM with GPU acceleration under Hyper-V...?

Ubuntu 21.04 VM with GPU acceleration under Hyper-V...?

Modern versions of Windows support GPU paravirtualization in Hyper-V with normal consumer graphics cards. This is used e.g. for graphics acceleration in Windows Sandbox, as well as WSLg. In some cases, it may be useful to create a normal VM with GPU acceleration using this feature, but this is not officially supported. People already figured out how to do it with Windows guests though, so why not do the same with Linux? It should be easy given that WSLg is open source and reasonably well documented, right?

Well... not quite. I managed to get it to run... but not well.

How to do it?

  1. Verify driver support
@antonpetrovmain
antonpetrovmain / path.md
Created June 22, 2024 03:17 — forked from romainl/path.md
Off the beaten path

Off the beaten path

What is &path used for?

Vim uses :help 'path' to define the root directories from where to search non-recursively for files.

It is used for:

  • gf, gF, <C-w>f, <C-w>F, <C-w>gf, <C-w>gF,
  • :find, :sfind, :tabfind,
@antonpetrovmain
antonpetrovmain / TermuxArchSetup2020.md
Created April 12, 2024 06:06 — forked from RebelLion420/TermuxArchSetup2024.md
How to set up Arch Linux in Termux on Android

So, to get started you need to get the base OS installed using the instructions from the official docs .

$ pkg update

$ pkg install bsdtar wget proot tergent tmux openssh

Tmux is a multiplexer that lets you run multiple persistent windows and sessions on a single terminal. I had trouble getting it working in the Arch proot, so a workaround is configuring tmux from your host Termux and then creating a tmux session and starting the chroot from there. For more information on using tmux read this article, and to learn how to customize the appearance and behaviors more try this one as well as looking at the tmux-plugins Github organization for community-built add-ons.

$ termux-setup-storage