Skip to content

Instantly share code, notes, and snippets.

View tomByrer's full-sized avatar
🎦
researching video players

Tom Byrer tomByrer

🎦
researching video players
View GitHub Profile
@enricomgian
enricomgian / ipex-llm-arc-140v-lunar-lake-windows-fix.md
Last active July 29, 2026 14:36
[Windows + Lunar Lake] Working solution: IPEX-LLM + Ollama v0.9.3 + modern models (qwen3:8b, gemma4) on Intel Arc 140V — undocumented fix

Clarifications (based on community feedback)

  • This uses IPEX-LLM as an optimization layer over SYCL not the same as vanilla SYCL llama.cpp
  • Ollama handles all model loading (GGUF format, standard registry)
    IPEX-LLM provides GPU acceleration underneath
  • The archived intel/ipex-llm repo is irrelevant the pip package ipex-llm[cpp]==2.3.0b20251029 ships Ollama v0.9.3, updated October 2025
  • This is experimental treat it as "sharing what worked on my hardware" not an officially supported setup
@karpathy
karpathy / microgpt.py
Last active August 13, 2026 12:02
microgpt
"""
The most atomic way to train and run inference for a GPT in pure, dependency-free Python.
This file is the complete algorithm.
Everything else is just efficiency.
@karpathy
"""
import os # os.path.exists
import math # math.log, math.exp
@bagder
bagder / slop.md
Last active July 26, 2026 07:21
AI slop security reports submitted to curl

Slop

This collection is limited to only include the reports that were submitted as security vulnerabilities to the curl bug-bounty program on Hackerone.

Several other issues not included here are highly suspcious as well.

Reports

  1. [Critical] Curl CVE-2023-38545 vulnerability code changes are disclosed on the internet. #2199174
@jamiephan
jamiephan / README.md
Last active June 13, 2026 08:45
A script to automatically add ALL items to your account in quixel

Script to add all items from quixel

As quixel is being removed, all items are free to aquire. This script is to automate the process to add items to your account (As of writing, a total of 18874 items)

Note: This script only tested in the latest version of Chrome.

How to use

  1. Copy the script from below (run.js)
  2. Login into https://quixel.com
@sapphi-red
sapphi-red / vite-4.3-perf.md
Last active February 12, 2024 13:33
Vite 4.3 performance (2)

Terms

  • times
    • start up time: the time from "the command is executed" to the time "load event is triggered in browser".
    • root HMR time: the time from "the root file is changed" to the time "that file is executed in browser".
    • leaf HMR time: the time from "the leaf file is changed" to the time "that file is executed in browser".
  • cold/hot start
    • cold start: the dependency optimization cache is deleted before each run
    • hot start: the dependency optimization cache exists by each run

Summary

@rodrigoborgesdeoliveira
rodrigoborgesdeoliveira / product-code-registry-locations.md
Created January 26, 2023 14:30
Possible registry locations to find an installed program and get the product code from
  • HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall
  • HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall
  • HKCU\Software\Microsoft\Windows\CurrentVersion\Uninstall
@DoctorDerek
DoctorDerek / Top 10 Advanced VS Code Settings for Senior Developers 1.json
Created November 1, 2021 05:14
Top 10 Advanced VS Code Settings for Senior Developers by Dr. Derek Austin 🥳 https://medium.com/p/46e348351bd6
"workbench.activityBar.visible": false,
"github.copilot.enable": {
"*": true,
"yaml": false,
"plaintext": false,
"markdown": false,
"env": false
},
@swyxio
swyxio / useLocalStorage.js
Last active March 14, 2023 18:27
SSR friendly version of useLocalStorage hook. you can also use this in a library https://github.com/astoilkov/use-local-storage-state
// usage
function Comp() {
const [language, setLanguage] = useLocalStorage('mykey', 'typescript')
}
// definition
function useLocalStorage(key, initialValue) {
const [storedValue, setStoredValue] = React.useState(initialValue);
React.useEffect(() => {
// Get from local storage by key
@prof3ssorSt3v3
prof3ssorSt3v3 / reflect.js
Created September 27, 2020 19:01
How to use the Reflect object in JavaScript to intercept JS object operations
// Reflect Object - built-in object that provides methods for interceptable JavaScript operations
// All methods are static
// has no constructor cannot use `new`
// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Reflect
const log = console.log;
let alex = {
name: 'Alex',
id: 93,
hello: function (a, b) {
@marvinhagemeister
marvinhagemeister / little-vdom-decompiled.js
Created March 8, 2020 14:13
Jason little-vdom decompiled
/* eslint-disable no-unused-vars */
/* eslint-disable no-else-return */
// JSX constructor, similar to createElement()
export const h = (type, props, ...children) => {
return {
type,
// Props will be an object for components and DOM nodes, but a string for
// text nodes
props,