Skip to content

Instantly share code, notes, and snippets.

View CX330Blake's full-sized avatar
🧛
Craving for blood…

CX330 CX330Blake

🧛
Craving for blood…
View GitHub Profile
@xheisenbugx
xheisenbugx / keymap.json
Last active July 26, 2026 18:10
zed keymap.json with same lazyvim keymaps
[
{
"context": "Editor && (edit_prediction && showing_completions)",
"bindings": {
"tab": "editor::AcceptEditPrediction"
}
},
// Terminal
{
"context": "Workspace",
@kofta999
kofta999 / keymap.json
Created April 3, 2025 22:46
Zed config files
[
{
"context": "Editor && (vim_mode == normal || vim_mode == visual) && !VimWaiting && !menu",
"bindings": {
// put key-bindings here if you want them to work in normal & visual mode
// Git
"space g h d": "editor::ToggleSelectedDiffHunks",
"space g h r": "git::Restore",
// Toggle inlay hints
@jetfir3
jetfir3 / download_fusion.sh
Last active August 11, 2026 16:13
Download VMware Fusion Pro Without a Broadcom Account
#!/usr/bin/env bash
# Download VMware Fusion for macOS without a Broadcom account.
#
# This script allows you to download various versions of VMware Fusion
# from Broadcom's Cloudflare CDN (versions 8.0.0 to 13.6.3)
# or from the archive.org VMware Workstation archive (versions 8.x.x+).
#
# Options:
# -k: Keep the downloaded file compressed (Cloudflare only; ignored for archive.org).
@0xdevalias
0xdevalias / reverse-engineering-macos.md
Last active August 18, 2026 15:25
Some notes, tools, and techniques for reverse engineering macOS binaries
@kostysh
kostysh / promt.unit-tests.md
Last active February 3, 2026 23:10
ChatGPT prompt for unit tests writing

I want you to act as a Senior full stack Typescript developer. Once I provide the TypeScript code, your task is to develop a comprehensive suite of unit tests for a provided TypeScript codebase. Follow these guidelines for an effective testing process:

  1. Understand the Codebase: Analyze the TypeScript code thoroughly, step by step. Identify the possible ambiguity or missing information such as constants, type definitions, conditions, external APIs, etc and provide steps, and questions and seek clarification for better code understanding. Only proceed to the next step once you have analyzed the codebase fully.

  2. Testing framework: For this task, use an abstract testing framework instead of known frameworks such as chai, jest, etc., remembering that the principles of unit testing apply regardless of the specific tools.

  3. Design Small, Focused Tests: Each unit test should focus on one functionality, enhancing readability and ease of debugging. Ensure each test is isolated and does not depe

@HsuChiChen
HsuChiChen / course.md
Last active May 13, 2026 17:39
成大融合通識->通識教育生活實踐->學術倫理講座積點

成大融合通識學術倫理講座積點

撰寫時間 : 2021/09/01

規定

  1. 細項
    根據通識課程選修要點融合通識課程至少應修習1學分,而當中內容包括通識教育生活實踐,就是透過自主學習累積9點積分就可以換1學分,需於通識教育生活實踐積點認證系統申請。
    而在這個通識教育生活實踐積點認證系統中除了通識教育生活實踐規定的4個選項中居然多了專案學習,而未於通識教育生活實踐中明文規定,校務人員回答是說系統和規定是死的,有些東西還是多打電話詢問比較沒問題。
    在這專案學習中的學術倫理講座與環安衛教育訓練檢測,校務人員建議我暑假可以先聽,之後再開學後再申請。

  2. 總結
    層級就是通識課程選修要點 -> 通識教育生活實踐(通識教育生活實踐積點認證系統線上申請) -> 專案學習 -> 學術倫理講座與環安衛教育訓練檢測

@x0nu11byt3
x0nu11byt3 / elf_format_cheatsheet.md
Created February 27, 2021 05:26
ELF Format Cheatsheet

ELF Format Cheatsheet

Introduction

Executable and Linkable Format (ELF), is the default binary format on Linux-based systems.

ELF

Compilation

@aagontuk
aagontuk / x86_64.md
Last active July 19, 2026 08:43
Resources on x86_64 ISA

x86_64 Assembly Resources