Skip to content

Instantly share code, notes, and snippets.

@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;
/**
@vil
vil / brave_debloat.md
Last active December 2, 2026 22:27
Brave Debloating Guide

Brave Browser Debloating Guide

Brave is an excellent, privacy-focused browser, but its default configuration comes packed with extra features that many users consider bloat. This guide will walk you through how to get rid of the bloat, hide the ads, and disable background services for a clean, minimal browsing experience.

Part 1: Clearing the Visual Bloat

The default start page and toolbars are crowded with Brave "cards," news feeds, and native crypto shortcuts. Fortunately, the surface-level clutter is easy to hide directly from the UI.

  • Clean the Start Page: Open a new tab, click the Customize button in the bottom right corner, and toggle off Brave News, Cards, and any unwanted background images or stats.
  • Clean the Toolbar: Right-click on the Brave Rewards, Brave Wallet, Brave VPN, and Leo AI icons located next to the URL bar, and select Hide.
@2569658930
2569658930 / gist:1764e58e8ac093ab654797638d08be20
Last active December 2, 2026 22:20
10 Free Suno AI Prompts
# 🎵 10 Free Suno AI Prompts That Actually Work
> From the [Suno Funnel Prompt Pack](https://github.com/2569658930/tan) — 100 curated prompts.
## Chinese Cover
1. **周杰伦风格·钢琴抒情**
`Mandarin pop ballad, melancholic piano, slightly nasal male tenor, 75 BPM, Chinese pentatonic melody, rain sounds intro, emotional crescendo in bridge, warm string quartet backing`
2. **邓紫棋风格·摇滚女声**
`Mandarin pop rock, female belting vocal, gritty texture, 95 BPM, distorted guitar riff, driving drums, wide vocal range, stadium reverb`