Skip to content

Instantly share code, notes, and snippets.

@muks999
muks999 / vsCode.config
Created July 5, 2019 06:34
Частые полезные настройки VS Code
// Перезапишите параметры, поместив их в файл параметров.
// Наиболее часто используемые настройки см. по адресу http://go.microsoft.com/fwlink/?LinkId=808995.
{
// Редактор
// Определяет семейство шрифтов.
"editor.fontFamily": "Consolas, 'Courier New', monospace",
// Управляет насыщенностью шрифта.
@diegopacheco
diegopacheco / having-fun-with-zig.md
Last active July 2, 2025 10:03
Having Fun with Zig

Tiny Zig Essay

created: 12.FEB.2024

I love to learn new programing languages, it help to open the mind to new possibilities and compare different approaches. For instance, I learned Ruby and Scala in 2010, Clojure and Haskell in 2011, Go in 2015, Kotlin 2016, Rust in 2018 and Idris, TypeScript in 2019, 2020 Pandemic strike did a bunch of pocs but not with new langs(crazy year), Zig in 2021, 2022(coding in lots of langs but nothing new) - in 2023 I'm learning Nim and V. Learn at least one lang per year. This post is not complain, it's just to share some toughts, notes and impressions.

Why Zig

  • Lightning Fast, really!
  • No Hidden control flows
@Pagliacii
Pagliacii / neovim-as-merge-tool.md
Last active July 2, 2025 10:03
Using Neovim as a merge tool

git

Using diffview.nvim

# ~/.gitconfig
[merge]
  tool = diffview
[mergetool]
  prompt = false
@pedrosancao
pedrosancao / CharsetConversion.php
Last active July 2, 2025 10:03
Code Page 850 to UTF8 conversion, Code Page 850 to Unicode conversion, CP-850 to UTF8 conversion, CP-850 to Unicode conversion, ASCII Latin 1 to UTF8 conversion, ASCII Latin 1 to Unicode conversion
<?php
/**
* Usage: <code>CharsetConversion::CP850toUTF8('your_string');</code>
*
* @author Pedro Sanção <pedro at sancao do co>
* @license MIT Licence
*/
class CharsetConversion {
@greatSumini
greatSumini / cursor-step-by-step-rule.mdc
Last active July 2, 2025 10:02
Cursor - step by step rule
---
description:
globs:
alwaysApply: true
---
## Core Directive
You are a senior software engineer AI assistant. For EVERY task request, you MUST follow the three-phase process below in exact order. Each phase must be completed with expert-level precision and detail.
## Guiding Principles
@burkeholland
burkeholland / 4.1.chatmode.md
Created June 30, 2025 02:15
4.1 Beast Mode v2
description
4.1 Beast Mode

You are an agent - please keep going until the user’s query is completely resolved, before ending your turn and yielding back to the user.

Your thinking should be thorough and so it's fine if it's very long. However, avoid unnecessary repetition and verbosity. You should be concise, but thorough.

You MUST iterate and keep going until the problem is solved.

@harrypm
harrypm / FFmpeg_ProRes_Gist.md
Last active July 2, 2025 09:59
FFmpeg ProRes Encoding - Definitive Guide 2023 - Harry Munday

If you appreciate my work on guides and breakdown docs you can donate via PayPal here.

Crypto donations are also available.

Monero: 456SebQn3oHg1ME7UNBmfxH4NMNTQje1eTCC9JqBWPrADekH9dvZgfGFdkED4awCdHHJkZcxxcRhUan6FhXNmB3nBNh49iv

Etherem: 0x6c978f6545623218fd86b9c3077288eb6f8d086b

Bitcoin: bc1qgyscsdfv5us6m5yn3386h7hjesf0z6zwmr4xfg

@dvf
dvf / change-codec.md
Last active July 2, 2025 09:58
Enable High Quality mode on your headphones (Updated for macOS Catalina)

If you're using a high-end bluetooth headset on your Macbook Pro it's likely your mac is using an audio codec which favors battery efficiency over high quality. This results in a drastic degradation of sound, the SBC codec is the likely culprit, read more about it here.

Find out what codec you're using

  1. Play a song on your headphones
  2. Option (⌥) click the Bluetooth button at the top of your screen Inspect the Bluetooth Coded
  3. If you're using AAC or aptX, you can stop here—those are the highest quality codecs.

Change your codec to AAC or aptX

@Dexwell
Dexwell / LocalCommunicationNotification.swift
Last active July 2, 2025 09:54
iOS 15 Local Communication Notification
var content = UNMutableNotificationContent()
content.title = "Title"
content.subtitle = "Subtitle"
content.body = "Text"
content.sound = nil
content.categoryIdentifier = "categoryName"
var personNameComponents = PersonNameComponents()
personNameComponents.nickname = "Sender Name"