Skip to content

Instantly share code, notes, and snippets.

@kevinlekiller
kevinlekiller / interpolate.lua
Last active December 2, 2026 23:30
Mpv script to enable interpolation or force vrr.
--[[
Copyright (C) 2023 kevincs
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
@g-berthiaume
g-berthiaume / Useful GCC Compiler Options.md
Created December 31, 2018 18:27
A useful list of gcc compiler options

Useful GCC Compiler Options

A non exhaustive list of gcc compiler options.

$ gcc myprog.c -o myprog -Wall -Wextra -pedantic -std=c11 [...]

Optimization:

@GravenilvecTV
GravenilvecTV / main.py
Created November 24, 2018 19:19
APPRENDRE LE PYTHON #2 ? LES VARIABLES
# recolter une valeur porte monnaie
wallet = int(input("Entrer le nombre d'€ que vous possedez"))
print("Vous avez actuellement", wallet, "euros")
# creer un produit qui aura pour valeur 50
produit = 50
print("Le Produit vaut ", produit, "euros")
# enleve au "wallet" le prix du produit
@heroheman
heroheman / ranger-cheatsheet.md
Last active December 2, 2026 23:12
Ranger Cheatsheet

Ranger Cheatsheet

General

Shortcut Description
ranger Start Ranger
Q Quit Ranger
R Reload current directory
? Ranger Manpages / Shortcuts
@lukewilson2002
lukewilson2002 / repo-local-documentation-system.md
Last active December 2, 2026 23:09
A repo-local Markdown documentation system that helps humans and AI agents understand a codebase, find the right context, and make safer changes. Ask your agent to help you set it up.
@zhuhuilin
zhuhuilin / README.md
Created November 25, 2025 14:15
Enable macOS Internet Sharing without an actual internet connection. Three bash scripts using only native macOS commands - no installations required. Perfect for creating local WiFi networks for development, testing, and device-to-device communication.

macOS Internet Sharing Without Internet Connection

Three bash scripts to enable macOS Internet Sharing (Personal Hotspot) without requiring an actual internet connection. Perfect for creating local WiFi networks for development, testing, or device-to-device communication.

✨ Features

  • Zero dependencies - Uses only native macOS commands
  • Smart & safe - Preserves existing configurations
  • Reversible - Easy setup and teardown
  • State tracking - Remembers what was changed

Mod List

Chapter 1: Essentials

GTA 3 Downgrader

  • Download: https://downgraders.rockstarvision.com/
  • Installation: Extract to your GTA III directory and run install.bat.
  • ⚠️ Note: Required only if you are using the Rockstar Games Launcher version. Skip this step if you are using Steam.
{
"sidebarBg":"#382974",
"sidebarText":"#ffffff",
"sidebarUnreadText":"#ffffff",
"sidebarTextHoverBg":"#22194a",
"sidebarTextActiveBorder":"#ffffff",
"sidebarTextActiveColor":"#ffffff",
"sidebarHeaderBg":"#382974",
"sidebarHeaderTextColor":"#ffffff",
"onlineIndicator":"#7dbe00",
@cauesooouza
cauesooouza / Character-Input.py
Created October 13, 2021 19:33
Practice Python - Exercise 01 - Character Input
#Create a program that asks the user to enter their name and their age. Print out a message addressed to them that tells them the year that they will turn 100 years old.
#Extras:
#Add on to the previous program by asking the user for another number and printing out that many copies of the previous message. (Hint: order of operations exists in Python)
#Print out that many copies of the previous message on separate lines. (Hint: the string "\n is the same as pressing the ENTER button)
#first import 'datetime' to discover the current year
import datetime
def reaching_hundred():
#we will took the name from user
@kiding
kiding / ☔️.js
Created June 16, 2025 04:43
기상청 초단기예측 Scriptable 스크립트
// Variables used by Scriptable.
// These must be at the very top of the file. Do not edit.
// icon-color: deep-gray; icon-glyph: magic;
/**
* 그래프 Y축 최대. 단위: mm/h
* @see https://youtu.be/WnWCoLJKvCU
*/
const MAX_blnd = 2;
/**