Skip to content

Instantly share code, notes, and snippets.

@bahadiraraz
bahadiraraz / Git_Commit_Freeze_Solution.md
Last active September 12, 2026 07:45
Git Commit Freeze Due to GPG Lock Issues (Solution)

Git Commit Freeze Due to GPG Lock Issues

If you encounter a problem where you cannot commit changes in Git – neither through the terminal nor via the GitHub Desktop application – the issue might be a freeze during the Git commit process. This is often caused by GPG lock issues. Below is a concise and step-by-step guide to resolve this problem.

Solution Steps

1. Check for GPG Lock Messages

Open your terminal and try to perform a GPG operation (like signing a test message). If you see repeated messages like gpg: waiting for lock (held by [process_id]) ..., it indicates a lock issue.

@qiqiandfei
qiqiandfei / 免费影视资源汇总.md
Last active September 12, 2026 07:41
免费影视资源汇总

🎬 免费影视资源汇总v1.0

📅 最后更新:2025年7月22日
🔗 收录优质免费影视资源站点,持续更新中...


🌟 观影(无名小站)

  • 推荐指数: ⭐⭐⭐⭐⭐
  • 特色: 海量资源全部免费,更新快
@Chubek
Chubek / README.md
Created March 29, 2024 14:29
This is, hands-down, the best way to convert PDFs to EPUB (or any other format)

This document describes several shell pipelines for converting PDF files to any format.

I'm not sure if it's true for all people, but my e-reader sucks at displaying PDF --- which is, in all reality, a giant executable file (we'll discuss this soon). Also, there's dozens of other reasons one may wish to convert a PDF to a better 'text format'. Let's say, you wanna put it up on your website, feed it to a mathematical optimization model, feed it to an script, etc.

Before you read this document, yes, I know there is a utility, nay, dozens that converty PDFs directly to text (like pdftotext). I ALSO know that. there are millions, if not BILLIONS of crappy web services that serve you a malware on the platter alongisde converting the files. So let's not talk about them! It's about "owning" your software, read this!

What are PDF Files?

This is not meant to be a description or history of PDF files, you can consult Sahih Al-Bukhari f

@YourAKShaw
YourAKShaw / chatgpt_slash_commands_ultimate_handbook_2026.md
Created May 29, 2026 00:19
🤖 A complete handbook detailing ChatGPT slash commands, UI shortcuts, workspace Canvas triggers, custom command engines, productivity shortcuts, and advanced prompt chaining systems.

The Ultimate ChatGPT Slash Commands Handbook (2026 Edition)

Follow AK Shaw on Linktree

The most comprehensive community and platform reference for ChatGPT slash commands, pseudo-commands, workflow triggers, and power-user prompting systems.

@j-thepac
j-thepac / ai_ide_setup.md
Created September 12, 2026 07:18
AI IDE Setup

IDE Setup Checklist

  • Add Global Instructions
  • Add Copilot Skills: Senior Data Engineer, Azure Data Engineer, AWS Data Engineer
  • Install MCP Servers: Azure, Hugging Face, Git, Terraform, Playwright, MongoDB, Microsoft Fabric
  • Install Copilot Plugins: Spark, Fabric Skills, AI Ready, Awesome Copilot, AWS Cloud Development
  • Validate IDE Setup
@wxingheng
wxingheng / mac os下vscode快捷键
Created October 7, 2018 15:03
mac os下vscode快捷键
[mac os下vscode快捷键](https://www.cnblogs.com/informatics/p/8315339.html)
全局
Command + Shift + P / F1 显示命令面板
Command + P 快速打开
Command + Shift + N 打开新窗口
Command + W 关闭窗口
基本
Command + X 剪切(未选中文本的情况下,剪切光标所在行)
Command + C 复制(未选中文本的情况下,复制光标所在行)

LLM Wiki

A pattern for building personal knowledge bases using LLMs.

This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.

The core idea

Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.

@jimmychu0807
jimmychu0807 / string-conversion.rs
Created November 21, 2019 10:20
Conversion between String, str, Vec<u8>, Vec<char> in Rust
use std::str;
fn main() {
// -- FROM: vec of chars --
let src1: Vec<char> = vec!['j','{','"','i','m','m','y','"','}'];
// to String
let string1: String = src1.iter().collect::<String>();
// to str
let str1: &str = &src1.iter().collect::<String>();
// to vec of byte
<!DOCTYPE html>
<html>
<head>
<title></title>
<meta charset="utf-8" />
<script src="Scripts/jquery-1.9.1.min.js"></script>
<link href="Content/bootstrap.min.css" rel="stylesheet" />
<script src="Scripts/isRockFx.js"></script>
<script>
$(function () {

Tutorial - Creating Quests (Basic)

This tutorial should give an understanting about how to create new quests with AAEmu

We are going to create a repetitive quest (the player can do multiple times) that gives you exp when you kill a number of mobs, and ends automatically once completing

To start, you should download the items below:

DB Browser for SQL Lite