Skip to content

Instantly share code, notes, and snippets.

@simonespa
simonespa / ffmpeg.sh
Created March 2, 2024 21:07
Compress JPEG with ffmpeg
ffmpeg -hide_banner -i image.jpeg -compression_level 100 out/image.jpeg
@kojjii
kojjii / free-tiles.txt
Created January 13, 2025 09:11 — forked from Yago/free-tiles.txt
GIS - Free tiles
Nokia :
http://{s}.maptile.maps.svc.ovi.com/maptiler/v2/maptile/newest/normal.day/{z}/{x}/{y}/256/png8
MapQuest :
http://a.tile.openstreetmap.org/{z}/{x}/{y}.jpg
http://otile1.mqcdn.com/tiles/1.0.0/map/{z}/{x}/{y}.jpg
http://otile1.mqcdn.com/tiles/1.0.0/sat/{z}/{x}/{y}.jpg
@Yago
Yago / free-tiles.txt
Created January 29, 2014 11:01
GIS - Free tiles
Nokia :
http://{s}.maptile.maps.svc.ovi.com/maptiler/v2/maptile/newest/normal.day/{z}/{x}/{y}/256/png8
MapQuest :
http://a.tile.openstreetmap.org/{z}/{x}/{y}.jpg
http://otile1.mqcdn.com/tiles/1.0.0/map/{z}/{x}/{y}.jpg
http://otile1.mqcdn.com/tiles/1.0.0/sat/{z}/{x}/{y}.jpg
@YourAKShaw
YourAKShaw / chatgpt_slash_commands_ultimate_handbook_2026.md
Created May 29, 2026 00:19
🤖 A complete handbook detailing ChatGPT slash commands, UI shortcuts, workspace Canvas triggers, custom command engines, productivity shortcuts, and advanced prompt chaining systems.

The Ultimate ChatGPT Slash Commands Handbook (2026 Edition)

Follow AK Shaw on Linktree

The most comprehensive community and platform reference for ChatGPT slash commands, pseudo-commands, workflow triggers, and power-user prompting systems.

@MarkDana
MarkDana / mbti-16personalities.py
Created November 3, 2022 03:53
Get the result of MBTI personalities from questionnaire answers (by web scrapping or fitted linear sum)
#!/usr/bin/python3
# -*- coding: utf-8 -*-
import json, random, requests, math
from bs4 import BeautifulSoup
import numpy as np
header={
'User-Agent':'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 Safari/537.36',
"Content-Type": "application/json; charset=utf-8",
}
@qoomon
qoomon / conventional-commits-cheatsheet.md
Last active September 30, 2026 03:39
Conventional Commits Cheatsheet

LLM Wiki

A pattern for building personal knowledge bases using LLMs.

This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.

The core idea

Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.

@gabrielmaialva33
gabrielmaialva33 / README.md
Last active September 30, 2026 03:44
The Witcher 3 5.0 on Proton/Linux: re-enable DLSS, DLSS-G and ray tracing (wine_get_version check patch)

The Witcher 3 5.0 on Proton: re-enable DLSS, DLSS-G (and ray tracing)

What this is: an unofficial workaround until CD PROJEKT RED or Valve fix this properly.

Supports only: bin/x64_dx12/witcher3.exe 5.0.0.1041720 (the 2026-09-29 "Remastered" update, Steam build 25575366, sha256 c272b2c2…c7e25). The script refuses any other file. The GOG exe passed the same hash check in one report, so it looks identical.

NVIDIA only.

  • DLSS and DLSS-G need only this script. Building vkd3d-proton is only for ray tracing (--rt).
  • On AMD, don't apply it. The DLSS patches do nothing useful there (with OptiScaler/fakenvapi they made the game exit in one report), and --rt crashes RADV while creating the RT pipelines. Details in #607.
@real-jiakai
real-jiakai / ssh-snippets.md
Last active September 30, 2026 03:21
ssh工具代码脚本片段

1、debian、ubuntu更新并升级软件包

apt update && apt upgrade -y

2、docker compose重新部署

docker compose down && docker compose up -d