Skip to content

Instantly share code, notes, and snippets.

View anxkhn's full-sized avatar
🚀

Anas Khan anxkhn

🚀
View GitHub Profile

Quickstart: GLM-4.6V-Flash with mlx-vlm on macOS (Apple Silicon)

This guide walks you through setting up a minimal project that uses mlx-vlm to run the

mlx-community/GLM-4.6V-Flash-4bit vision model on a sample image.

1. Install uv (if not installed)

@PrinceSinghhub
PrinceSinghhub / 22 Key DSA Patterns with Must-Solve Problems! 💡.md
Last active November 2, 2025 17:28
After solving and observing many interview problems, I’ve identified key patterns that will help you solve them.

Problem-Solving Techniques and Patterns

1. Fast and Slow Pointer

Description: This technique uses two pointers moving at different speeds to solve problems involving cycles, such as finding the middle of a list, detecting loops, or checking for palindromes.

  • Linked List Cycle II
  • Remove nth Node from the End of List
  • Find the Duplicate Number
  • Palindrome Linked List
@OrionReed
OrionReed / dom3d.js
Last active December 25, 2025 23:58
3D DOM viewer, copy-paste this into your console to visualise the DOM topographically.
// 3D Dom viewer, copy-paste this into your console to visualise the DOM as a stack of solid blocks.
// You can also minify and save it as a bookmarklet (https://www.freecodecamp.org/news/what-are-bookmarklets/)
(() => {
const SHOW_SIDES = false; // color sides of DOM nodes?
const COLOR_SURFACE = true; // color tops of DOM nodes?
const COLOR_RANDOM = false; // randomise color?
const COLOR_HUE = 190; // hue in HSL (https://hslpicker.com)
const MAX_ROTATION = 180; // set to 360 to rotate all the way round
const THICKNESS = 20; // thickness of layers
const DISTANCE = 10000; // ¯\\_(ツ)_/¯
@0xdevalias
0xdevalias / _deobfuscating-unminifying-obfuscated-web-app-code.md
Last active December 28, 2025 19:12
Some notes and tools for reverse engineering / deobfuscating / unminifying obfuscated web app code

I've recently joined Amazon Dublin from India and got opportunities to interview with Meta London, Zalando Berlin & some other companies. I extensively researched about companies hiring internationally which support visa & relocation for Tech roles. So sharing list of companies:

Do consider to STAR, if it helped you.

London

@fnky
fnky / ANSI.md
Last active December 30, 2025 08:36
ANSI Escape Codes

ANSI Escape Sequences

Standard escape codes are prefixed with Escape:

  • Ctrl-Key: ^[
  • Octal: \033
  • Unicode: \u001b
  • Hexadecimal: \x1B
  • Decimal: 27
@vasanthk
vasanthk / System Design.md
Last active December 29, 2025 16:05
System Design Cheatsheet

System Design Cheatsheet

Picking the right architecture = Picking the right battles + Managing trade-offs

Basic Steps

  1. Clarify and agree on the scope of the system
  • User cases (description of sequences of events that, taken together, lead to a system doing something useful)
    • Who is going to use it?
    • How are they going to use it?