Skip to content

Instantly share code, notes, and snippets.

@LuisEGR
LuisEGR / install_rsync.ps1
Created May 6, 2024 06:10
Install rsync in Windows 11, easy
# Download and install Git for Windows if not already installed
if (-not (Test-Path "C:\Program Files\Git\bin\git.exe")) {
Write-Host "Git for Windows not found. Downloading installer..."
Invoke-WebRequest -Uri "https://github.com/git-for-windows/git/releases/download/v2.31.1.windows.1/Git-2.31.1-64-bit.exe" -OutFile "git-installer.exe"
Write-Host "Installing Git for Windows..."
Start-Process -FilePath ".\git-installer.exe" -ArgumentList "/VERYSILENT" -Wait
Remove-Item ".\git-installer.exe"
}
# Create a temporary directory for downloads
@inkss
inkss / #readme.md
Last active May 28, 2025 07:48
IPV6 直播源

个人向直播源

精简了上游直播源内容,仅保留个人所需的。

一、订阅地址

TVM3U

https://gist.githubusercontent.com/inkss/0cf33e9f52fbb1f91bc5eb0144e504cf/raw/ipv6.m3u
@crystoneme
crystoneme / README.org
Created May 4, 2023 01:31 — forked from douo/README.org
Inoreader to Miniflux/v2

Backup

Preferences -> API access

复制 App ID 和 App Key 填入 backup.py 的 client_idclient_secret

rye pin 3.11
rye add requests
rye sync
@douo
douo / README.org
Last active June 11, 2023 12:22
Inoreader to Miniflux/v2

Backup

Preferences -> API access

复制 App ID 和 App Key 填入 backup.py 的 client_idclient_secret

rye pin 3.11
rye add requests
rye sync
@ninehills
ninehills / chatglm-openai-api.ipynb
Last active April 16, 2024 01:15
chatglm-openai-api.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@rain-1
rain-1 / LLM.md
Last active June 3, 2025 16:35
LLM Introduction: Learn Language Models

Purpose

Bootstrap knowledge of LLMs ASAP. With a bias/focus to GPT.

Avoid being a link dump. Try to provide only valuable well tuned information.

Prelude

Neural network links before starting with transformers.

@jinjier
jinjier / javdb-top250.md
Last active June 4, 2025 02:34
JavDB top 250 movies list. [Updated on 2025/05]
@sidkang
sidkang / resize-pdf.py
Last active May 13, 2025 10:52
Resize PDF Files to Same Page Size Using Python
from PyPDF2 import PdfFileReader, PdfFileWriter
from PyPDF2.pdf import PageObject
from pathlib import Path
pdf_file = Path.home() / 'Downloads' / 'General harmony - practical, analysis and principle.pdf'
pdf_reader = PdfFileReader(str(pdf_file))
writer = PdfFileWriter()
# assume page 0 is the desired size
page0 = pdf_reader.getPage(0)
@kepano
kepano / obsidian-web-clipper.js
Last active May 29, 2025 16:45
Obsidian Web Clipper Bookmarklet to save articles and pages from the web (for Safari, Chrome, Firefox, and mobile browsers)
javascript: Promise.all([import('https://unpkg.com/[email protected]?module'), import('https://unpkg.com/@tehshrike/[email protected]'), ]).then(async ([{
default: Turndown
}, {
default: Readability
}]) => {
/* Optional vault name */
const vault = "";
/* Optional folder name such as "Clippings/" */
@naveenkrdy
naveenkrdy / AdobeAMDFix.md
Last active May 6, 2025 06:28
To fix adobe products crashes on AMD hackintosh

Adobe Crash Fix XLNC

Instructions

  1. Install needed adobe apps from adobe creative cloud.

  2. Open Terminal.

  3. Copy-paste the below command to your terminal and run it (enter password when asked).