Skip to content

Instantly share code, notes, and snippets.

@Foadsf
Foadsf / latex-windows-vscode-setup.md
Created May 11, 2025 13:18
Complete step-by-step guide for setting up LaTeX on Windows with MiKTeX, VS Code, and automatic formatting using latexindent

Complete LaTeX Setup Guide for Windows with VS Code

This guide will help you set up a complete LaTeX environment on Windows with MiKTeX, VS Code, and automatic formatting with latexindent.

Prerequisites

  • Windows 10/11
  • Package manager (Chocolatey, Winget, or Scoop)
  • VS Code (or install it during this process)
@ulitiy
ulitiy / fpf12h.ino
Last active October 22, 2025 10:15
FatPetFeeder every 12 hours
#include <Servo.h>
#define second 1000
#define minute 60000
#define hour 3600000
Servo servo;
const int servoPin = 9;
const int buttonDispensePin = 7;
const int buttonMinusPin = 6;
const int buttonPlusPin = 8;
@advixity
advixity / Create a MacOS installer USB (on Windows).md
Last active October 22, 2025 10:15
A (relatively) simple guide to create a Bootable MacOS installer USB on Windows

Create a Bootable MacOS installer USB on Windows

Note! Before proceeding, please make sure that you have a USB flash drive at least 8GB in size. All data will be destroyed on this drive, so please back up your files.


1. Obtaining the image

  • Go to this apple.com support article (10.7 Lion - 10.12 Sierra) and scroll down to "Use a web browser for older versions" Right click your desired OS and click "Save link as". Save the DMG to a folder.
- name: Overprovision like the pros'
hosts: all
tasks:
- name: Install early OOM killer and zram
ansible.builtin.apt:
pkg:
- earlyoom
- zram-tools
- name: Configure early OOM killer
ansible.builtin.lineinfile:
@Jian-Min-Huang
Jian-Min-Huang / buddha.txt
Created August 18, 2021 04:55
Buddha Ascii Art
// _oo0oo_
// o8888888o
// 88" . "88
// (| -_- |)
// 0\ = /0
// ___/`---'\___
// .' \\| |// '.
// / \\||| : |||// \
// / _||||| -:- |||||- \
// | | \\\ - /// | |
@sshh12
sshh12 / cursor-agent-system-prompt.txt
Last active October 22, 2025 10:05
Cursor Agent System Prompt (March 2025)
You are a powerful agentic AI coding assistant, powered by Claude 3.5 Sonnet. You operate exclusively in Cursor, the world's best IDE.
You are pair programming with a USER to solve their coding task.
The task may require creating a new codebase, modifying or debugging an existing codebase, or simply answering a question.
Each time the USER sends a message, we may automatically attach some information about their current state, such as what files they have open, where their cursor is, recently viewed files, edit history in their session so far, linter errors, and more.
This information may or may not be relevant to the coding task, it is up for you to decide.
Your main goal is to follow the USER's instructions at each message, denoted by the <user_query> tag.
<communication>
1. Be conversational but professional.
@flight505
flight505 / UV_Cheat_Sheet.md
Created December 14, 2024 21:45
Astral UV Cheat Sheet

UV Cheat Sheet incorporating the latest tips and tricks from the official UV documentation:

UV Cheat Sheet

Installation

Install UV using the official standalone installer:

macOS and Linux:

Beast Mode

Beast Mode is a custom chat mode for VS Code agent that adds an opinionated workflow to the agent, including use of a todo list, extensive internet research capabilities, planning, tool usage instructions and more. Designed to be used with 4.1, although it will work with any model.

Below you will find the Beast Mode prompt in various versions - starting with the most recent - 3.1

Installation Instructions

  • Go to the "agent" dropdown in VS Code chat sidebar and select "Configure Modes".
  • Select "Create new custom chat mode file"
@stackblogger
stackblogger / top 100+ social bookmarking sites list.md
Last active October 22, 2025 09:59
DoFollow Backlink Sites | High PR Free Backlink Sites

TOP 100+ Social Bookmarking Sites List

DoFollow Backlink Sites | High PR Free Backlink Sites

Detailed article is shared here- TOP 100+ Social Bookmarking Sites List

Get more High PR Social Bookmarking Sites list with details of Domain Authority (DA), Page Authority (PA), Page Rank (PR) and Spam Score (SS) updated on November 6th 2024.

A backlink is a type of link pointing out from a website to your website. It is also called inbound or incoming backlinks. Backlinks are used to generate traffic to your website. Search engines continuously crawls the web pages and if they find a link to your website at some page then they crawl your page too. So it increases the search engine visibility in the back end. Get top 100+ DoFollow High PR Backlink Sites list.

@Akiyamov
Akiyamov / text.md
Last active October 22, 2025 09:58
Установка Xray, VLESS + Reality со своим доменом с помощью Caddy. Steal oneself

Обновленный гайд

В данном гайде будет рассмотрена установка прокси-сервера XRay и Caddy для маскировки под свой сайт со своим доменом. Если вы попали на эту статью не из репозитория скрипта, то вы всегда можете перейти в него по этой ссылке.
Гайд сделан для Ubuntu и Debian.

Домен

Для установки потребуется свой домен, лучше покупать не .ru и .рф, так как для них требуется паспорт.
После покупки домена советую перенести его на Cloudflare ради удобства. Как это сделать можно посмотреть здесь.
Добавьте A-запись, которая указывает на ваш виртуальный сервер, выключив при этом проксирование от Cloudflare, CDN нам не нужен. Если вы не понимаете как это сделать, то можете посмотреть это здесь.
Если вы купили домен, который исползьует punycode, например, в зоне .рф, то стоит сразу перевести