Install Qt on Windows with MSYS2

Launch MSYS2 UCRT64 from your Windows Start menu.

Note: MSYS2 recommends the UCRT64 environment for standard C++ Windows development. If you need the legacy MSVCRT runtime, open MINGW64 instead and replace ucrt-x86_64 with x86_64 in the package names below.

pacman -Syu
pacman -S --needed mingw-w64-ucrt-x86_64-toolchain mingw-w64-ucrt-x86_64-cmake mingw-w64-ucrt-x86_64-ninja
# Core Qt6 base libraries
pacman -S mingw-w64-ucrt-x86_64-qt6-base

# Additional Qt6 tools (Qt Designer, Assistant, Linguist)
pacman -S mingw-w64-ucrt-x86_64-qt6-tools
pacman -S mingw-w64-ucrt-x86_64-qt-creator

 

Integrate DeepSeek with Codex

macOS / Linux users, run in the terminal:

bash <(curl -fsSL https://cdn.deepseek.com/api-docs/codex-deepseek-setup-en.sh)

Windows users, run in PowerShell:

irm https://cdn.deepseek.com/api-docs/codex-deepseek-setup-en.ps1 | iex

 

Install PostgreSQL Command-line tools on Windows

EnterpriseDB (the official provider of Windows binaries) offers standalone ZIP files containing everything you need. This requires no installation wizard and leaves your Windows Registry clean.

1.Download the Binaries:Takes 1 min.

Go to the EnterpriseDB Windows Binaries Download Page. Choose your preferred PostgreSQL version and click the download link next to Windows x86-64.

2.Extract the Folder:Takes 1 min.

Extract the downloaded ZIP file. Inside, you will see a pgsql folder. Move this folder somewhere permanent, like C:\pgsql. Your CLI tools sit right inside C:\pgsql\bin.

3.Add to System PATH:Takes 2 min.

To run tools like psql from any command prompt, add it to your environment variables:

  1. Search for “Environment Variables” in the Windows Start menu.

  2. Click Environment Variables… at the bottom.

  3. Under System variables, select Path and click Edit….

  4. Click New and paste your bin path: C:\pgsql\bin.

  5. Click OK on all windows to save.

4.Verify Installation:Takes 30 seconds.

Open a completely new Command Prompt (cmd) or PowerShell terminal and verify it works by typing:

psql --version
pg_dump --version

 

Install codebase-memory-mcp

One-line install (macOS / Linux):

curl -fsSL https://raw.githubusercontent.com/DeusData/codebase-memory-mcp/main/install.sh | bash

With graph visualization UI:

curl -fsSL https://raw.githubusercontent.com/DeusData/codebase-memory-mcp/main/install.sh | bash -s -- --ui

Windows (PowerShell):

# 1. Download the installer
Invoke-WebRequest -Uri https://raw.githubusercontent.com/DeusData/codebase-memory-mcp/main/install.ps1 -OutFile install.ps1

# 2. (Optional but recommended) Inspect the script
notepad install.ps1

# 3. Run it
.\install.ps1

Options: --ui (graph visualization), --skip-config (binary only, no agent setup), --dir=<path> (custom location).

Restart your coding agent. Say “Index this project” — done.

Graph Visualization UI

If you downloaded the ui variant:

codebase-memory-mcp --ui=true --port=9749

Open http://localhost:9749 in your browser. The UI runs as a background thread alongside the MCP server — it’s available whenever your agent is connected.

Auto-Index

Enable automatic indexing on MCP session start:

codebase-memory-mcp config set auto_index true

When enabled, new projects are indexed automatically on first connection. Previously-indexed projects are registered with the background watcher for ongoing git-based change detection. Configurable file limit: config set auto_index_limit 50000.

Keeping Up to Date

codebase-memory-mcp update

The MCP server also checks for updates on startup and notifies on the first tool call if a newer release is available.

Uninstall

codebase-memory-mcp uninstall

Removes all agent configs, skills, hooks, and instructions. Does not remove the binary or SQLite databases.

Add “Open in Alacritty” right-click context menu option in KDE CachyOS

mkdir -p ~/.local/share/kio/servicemenus/
nano ~/.local/share/kio/servicemenus/alacritty_here.desktop
[Desktop Entry]
Type=Service
ServiceTypes=KonqPopupMenu/Plugin
MimeType=inode/directory;
Actions=openAlacrittyHere;
X-KDE-Priority=TopLevel
X-KDE-Protocols=file

[X-Action-Collection]
Name=AlacrittyActions

[Desktop Action openAlacrittyHere]
Name=Open Alacritty Here
Icon=Alacritty
Exec=alacritty --working-directory %f
chmod +x ~/.local/share/kio/servicemenus/alacritty_here.desktop
killall dolphin && dolphin & disown

 

One-time set date/time on Ubuntu without NTP, using proxychains

set-time-once.sh
#!/usr/bin/env bash

set -euo pipefail

# ============================================================
# One-time Ubuntu date/time setter without NTP
# Uses HTTP Date header through proxychains/proxychains4
# ============================================================

# Optional timezone.
# Change this if needed.
TIMEZONE="Asia/Tehran"

# HTTP URLs only. Avoid HTTPS because wrong system time can break TLS validation.
URLS=(
  "http://www.google.com/generate_204"
  "http://example.com"
  "http://neverssl.com"
  "http://cloudflare.com"
)

# ------------------------------------------------------------
# Check root
# ------------------------------------------------------------
if [[ "$EUID" -ne 0 ]]; then
  echo "Please run as root:"
  echo "sudo $0"
  exit 1
fi

# ------------------------------------------------------------
# Find proxychains command
# ------------------------------------------------------------
if command -v proxychains4 >/dev/null 2>&1; then
  PROXYCHAINS="proxychains4"
elif command -v proxychains >/dev/null 2>&1; then
  PROXYCHAINS="proxychains"
else
  echo "Error: proxychains or proxychains4 not found."
  echo "Install it first, for example:"
  echo "sudo apt install proxychains4"
  exit 1
fi

# ------------------------------------------------------------
# Find curl
# ------------------------------------------------------------
if ! command -v curl >/dev/null 2>&1; then
  echo "Error: curl is not installed."
  echo "Install it first:"
  echo "sudo apt install curl"
  exit 1
fi

echo "Using: $PROXYCHAINS"
echo "Disabling NTP..."
timedatectl set-ntp false || true

echo "Setting timezone to: $TIMEZONE"
timedatectl set-timezone "$TIMEZONE"

# ------------------------------------------------------------
# Fetch Date header
# ------------------------------------------------------------
HTTP_DATE=""

for URL in "${URLS[@]}"; do
  echo "Trying: $URL"

  HTTP_DATE="$(
    "$PROXYCHAINS" -q curl -sI --max-time 20 "$URL" \
      | awk -F': ' 'tolower($1)=="date"{print $2}' \
      | tr -d '\r' \
      | tail -n 1
  )"

  if [[ -n "$HTTP_DATE" ]]; then
    echo "Received internet time: $HTTP_DATE"
    break
  fi
done

if [[ -z "$HTTP_DATE" ]]; then
  echo "Error: could not get Date header from any server."
  echo "Check your proxychains config and internet access."
  exit 1
fi

# ------------------------------------------------------------
# Set system clock
# ------------------------------------------------------------
echo "Setting system clock..."
date -s "$HTTP_DATE"

# ------------------------------------------------------------
# Save system time to hardware clock
# Ubuntu normally expects RTC/hardware clock in UTC.
# ------------------------------------------------------------
echo "Writing system time to hardware clock as UTC..."
hwclock --systohc --utc

echo
echo "Done ✅"
echo
echo "Current system time:"
date

echo
echo "timedatectl status:"
timedatectl

echo
echo "Hardware clock:"
hwclock --show
chmod +x set-time-once.sh
sudo ./set-time-once.sh

For a different timezone

Edit this line:

TIMEZONE="Europe/Berlin"

For example:

TIMEZONE="Europe/Berlin"

or:

TIMEZONE="UTC"