Skip to content

Instantly share code, notes, and snippets.

@liuxk99
liuxk99 / cygwin-cd.alias.md
Last active August 5, 2025 10:23
Common aliases for the `cd` command in Cygwin to access Windows directories, such as Desktop, Downloads, and Documents. Paste these lines at end of `~/.bashrc`.

Aliases

USER_HOME="$(cygpath -u "$USERPROFILE")"
alias cd.home="cd $USER_HOME"
alias cd.desktop="cd $USER_HOME/Desktop"
alias cd.downloads="cd $USER_HOME/Downloads"
alias cd.documents="cd $USER_HOME/Documents"

Effects

@liuxk99
liuxk99 / ADB Instructions.md
Last active August 5, 2025 08:13 — forked from ifiokjr/ADB Instructions.md
Android Platform Tools
@liuxk99
liuxk99 / pomo_reminder.py
Created March 31, 2020 09:09 — forked from xgdgsc/pomo_reminder.py
pomotodo task switch reminder
import requests
import json
from datetime import datetime, timedelta
import os
if os.name == 'nt':
from win10toast import ToastNotifier
toaster = ToastNotifier()
//from config import *
POMO_URL='https://api.pomotodo.com/1/pomos'