Skip to content

Instantly share code, notes, and snippets.

View mishazawa's full-sized avatar
🎩
because white is boring

mishazawa

🎩
because white is boring
View GitHub Profile
@mishazawa
mishazawa / ThanksAI.md
Created August 27, 2026 19:21 — forked from richhickey/ThanksAI.md
Thanks AI!

Thanks AI!

I got this email:

Rich,

Your creation of Clojure ...

sycophantic blather worthy of a third grader's homework assignment to write a letter to a public figure you don't know, using sources you don't understand, to express an emotion unfelt, with no intention whatsoever >

Prompt: Setting backyard territory 15m; slope; 2 bee hives(bee houses) on upper side and 2 on lower. beautiful girl doing honey mining stuff(extracting honey from bee houses). we need to showcase this honey mining activity and that girl is beatiful.

Input analysis:

  • Core message: A beautiful woman harvesting raw honey on a sun-drenched sloped backyard — nature, craft, and femininity together
  • Format: B-roll + Music — this is pure aesthetic/lifestyle content, no voiceover needed
  • Tone: Warm, golden, earthy, slightly cinematic. "Cottagecore meets artisan."
  • The slope is a secret weapon — 2 hives high, 2 low = you can shoot across elevation for dramatic angles most beekeeping content never has
@mishazawa
mishazawa / install.md
Last active May 4, 2026 08:08
Reinstall

Homebrew

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

zsh

sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
@mishazawa
mishazawa / monokai.md
Created June 29, 2024 07:55 — forked from brayevalerien/monokai.md
Monokai theme color codes

Monokai theme color codes

Intro

This document lists the colors used in the Monokai Pro theme with the Classic filter. Please check the Monokai Pro website for more informations.

Colors

Monokai Pro with Classic filter colors:

Preview Hexadecimal RGB
Activity Bar Background activity bar background preview #272822 (39, 40, 34)
Activity Bar Foreground activity bar foreground preview #f8f8f2 (248, 248, 242)
@mishazawa
mishazawa / keybindings.json
Last active April 17, 2026 18:00
VSCodium settings
// Place your key bindings in this file to override the defaultsauto[]
[
{
"key": "ctrl+cmd+down",
"command": "-editor.action.moveLinesDownAction",
"when": "editorTextFocus"
},
{
"key": "ctrl+cmd+up",
"command": "-editor.action.moveLinesUpAction",
@mishazawa
mishazawa / payload.py
Last active April 10, 2024 21:56
buffer overflow example with parameters
junk_l = 22
# can be different when compiled
function_addr = b"\x56\x55\x61\xad"
arg_a = b"\xde\xad\xbe\xef"
arg_b = b"\xc0\xde\xd0\x0d"
with open("./data", "wb") as f:
junk = b"A" * junk_l
@mishazawa
mishazawa / monokai.md
Created March 7, 2024 10:03 — forked from r-malon/monokai.md
Monokai colors in RGB and HEX format, taken from Sublime Text 3

Monokai Colors in RGB and HEX format


  • Background: (46, 46, 46); #2e2e2e
  • Comments: (121, 121, 121); #797979
  • White: (214, 214, 214); #d6d6d6
  • Yellow: (229, 181, 103); #e5b567
  • Green: (180, 210, 115); #b4d273
  • Orange: (232, 125, 62); #e87d3e
  • Purple: (158, 134, 200); #9e86c8
# Usage:
# python3 convert_base64_to_fbx.py ./out.fbx ./base64_file
import io
import base64
import sys
BASE_CONTENT = sys.argv[2]
OUT_FILE_PATH = sys.argv[1]
@mishazawa
mishazawa / Blender checklist.md
Last active August 9, 2023 11:23
How to export GLTF scene from Blender to the Three.js environment.

How to export GLTF scene from Blender to the Three.js environment.

Geometry

  • Convert non-mesh geometry to mesh (curves, fonts, etc) Object > Convert > Mesh .
  • Apply transforms.
  • Reduce polygons as much as possible (decimate, remove invisible).
  • Use simple primitives. Don't use subdiv workflow (Or optimize after).

Shaders

  • Bake procedural shaders into textures.
@mishazawa
mishazawa / wat.js
Created June 8, 2023 17:40 — forked from AVGP/wat.js
ffmpeg.js converting webm from a media recorder into mp4
var ffmpeg = require('ffmpeg.js/ffmpeg-mp4.js')
document.querySelector('button').addEventListener('click', (evt) => {
document.querySelector('[camera]').setAttribute('animation', {
property: 'rotation',
to: '0 360 0',
dur: 10000,
easing: 'linear'
})