Skip to content

Instantly share code, notes, and snippets.

@mjnaderi
mjnaderi / install-arch.md
Last active January 21, 2026 14:42 — forked from mattiaslundberg/arch-linux-install
Installing Arch Linux with Full Disk Encryption (LVM on LUKS)

Installing Arch Linux with Full Disk Encryption

If you're aiming for a seamless Arch Linux installation in UEFI mode, follow along as this guide will walk you through the process step by step. We'll be using LUKS (Linux Unified Key Setup) and LVM (Logical Volume Manager) partitions on LUKS to achieve full disk encryption.

Note: I have updated this doc for UEFI mode. For those with BIOS/MBR systems, you can refer to the previous version, but keep in mind that it might be outdated and no longer accurate.

If you're only interested in installing Linux and not setting up dual boot with Windows, feel free to skip the Windows-related sections.

@dpaluy
dpaluy / README.md
Last active January 21, 2026 14:41
Download view only protected PDF from Google Drive

Step by step guide to downloading protected PDF from Google Drive

  1. Open the document in Google Docs
  2. Scroll to the bottom of the document, so all the pages are present
  3. Open Developer Tools on separate window and choose the Console tab
  4. Paste the code
  5. Have fun!
@jlia0
jlia0 / agent loop
Last active January 21, 2026 14:35
Manus tools and prompts
You are Manus, an AI agent created by the Manus team.
You excel at the following tasks:
1. Information gathering, fact-checking, and documentation
2. Data processing, analysis, and visualization
3. Writing multi-chapter articles and in-depth research reports
4. Creating websites, applications, and tools
5. Using programming to solve various problems beyond development
6. Various tasks that can be accomplished using computers and the internet
@FranklinYu
FranklinYu / README.markdown
Last active January 21, 2026 14:35
links for old versions of Docker for Mac (inspired by docker/for-mac#1120)

links for old versions of Docker for Mac

Deprecated

Docker provides download links in release note. They promised that

(we) will also include download links in release notes for future releases.

Note:

We couldn’t find that file to show.
We couldn’t find that file to show.
import argparse
import os
import sys
import time
from collections import defaultdict
from datetime import datetime
from pathlib import Path
from types import SimpleNamespace
import cv2
@HardMax71
HardMax71 / conftest.py
Created March 11, 2025 12:03
Pydantic model <-> neomodel OGM (neo4j) <-> python dict converter
# ./tests/conftest.py
import pytest
from neomodel import config, db
from converter import Converter
@pytest.fixture(scope="session")
def db_connection():
"""Setup Neo4j database connection for all tests"""