Skip to content

Instantly share code, notes, and snippets.

@qoomon
qoomon / conventional-commits-cheatsheet.md
Last active June 13, 2025 03:52
Conventional Commits Cheatsheet
@rafa-thayto
rafa-thayto / keybindings.json
Last active June 13, 2025 03:51
My Cursor/VSCode/Windsurf settings with VIM
// Place your key bindings in this file to override the defaults
[
{
"key": "cmd+i",
"command": "composerMode.agent"
},
{
"key": "y",
"command": "filesExplorer.copy",
"when": "explorerViewletFocus && !inputFocus"
@iamwildtuna
iamwildtuna / gist:7772b7c84a11bf6e1385f23096a73a15
Last active June 13, 2025 03:44
VPN IP Addresses (IP адреса ChatGPT, Copilot, Meta, Facebook, Instagram, YouTube, Medium, X ex. Twitter, Discord)
Meta (Instagram, Facebook)
// Узлы
157.240.253.174, 157.240.253.172, 157.240.253.167, 157.240.253.63, 157.240.253.32
157.240.252.174, 157.240.252.172, 157.240.252.167, 157.240.252.63, 157.240.252.38
57.144.112.34, 57.144.110.1, 157.240.205.174
// Подсети
213.102.128.0/24
204.15.20.0/22
199.201.0.0/16
@mitchelfalcon
mitchelfalcon / index.pug
Created June 13, 2025 03:39
Sitio en Construccion
<html lang="en" >
<head>
<meta charset="UTF-8">
<title>CodePen - Sitio en Construccion</title>
<link href="https://fonts.googleapis.com/css?family=Open+Sans:400,800" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.min.css">
<link rel="stylesheet" href="./style.css">
</head>
<body>
@trilliwon
trilliwon / swiftui.mdc
Last active June 13, 2025 03:38
cursor rules for swift
# SwiftUI Best Practices for iOS App Development
When generating code, finding bugs, or optimizing SwiftUI projects, follow these guidelines:
Never modify files without my consent.
Only work on the exact feature I request.
Don't duplicate files or functionalities.
## General Guidelines
@ryokamoi
ryokamoi / llm.bib
Last active June 13, 2025 03:36
BibTex file for LLMs
comment = {Proprietary Models}
comment = {GPT-4}
@article{openai2023gpt4,
title={GPT-4 Technical Report},
author={OpenAI},
journal={arXiv preprint arXiv:2303.08774},
year={2023}
}
@AnatomicJC
AnatomicJC / android-backup-apk-and-datas.md
Last active June 13, 2025 03:34
Backup android app, data included, no root needed, with adb

Backup android app, data included, no root needed, with adb

Note: This gist may be outdated, thanks to all contributors in comments.

adb is the Android CLI tool with which you can interact with your android device, from your PC

You must enable developer mode (tap 7 times on the build version in parameters) and install adb on your PC.

Don't hesitate to read comments, there is useful tips, thanks guys for this !

@kaushikgopal
kaushikgopal / karabiner.edn
Last active June 13, 2025 03:29
My source Karabiner file in Goku's edn format - Now lives @ https://github.com/kaushikgopal/dotfiles/blob/master/.karabiner.edn
;; File has moved over to https://github.com/kaushikgopal/dotfiles/blob/master/.karabiner.edn
;; Feel free to raise github issues in that repo, if you have questions/comments/edits
@robotdad
robotdad / vs_cpp_winget.md
Last active June 13, 2025 03:25
Installing VS C++ workloads with winget

This is a short outline of how to install the C++ workload with Visual Studio or the build tools using winget.

To find VS releases with winget use search. winget search buildtools

The install command will install the VS installer with the core of the selected product installed. That isn't much. So if you use either of these commands to insll VS or the build tools you will need to launch the VS installer afterwards and select the relevant C++ workloads you need.

winget install Microsoft.VisualStudio.2022.BuildTools

winget install Microsoft.VisualStudio.2022.Community
import os
from tqdm import tqdm
import ollama
directory = 'C:\\tools\\training\\illustration_pending'
model_name = 'llama3:8b-instruct-q6_K'
def rewrite_description(description):
"""