Skip to content

Instantly share code, notes, and snippets.

@sndao
sndao / dc.sh
Created October 29, 2025 03:03 — forked from GNOMES/dc.sh
cd backwards to named directoy in current path
# Add to ~/.bashrc
# jump backwards from cwd path
dc() {
cd "${PWD%/$1/*}/$1/" 2>/dev/null || echo "Directory not found: $1"
}
# Function to add tab completion to dc
_dc_complete() {
IFS='/' read -ra dirs <<<"$(pwd)"
local dir_names=("${dirs[@]:1}")
@sndao
sndao / ebay_listing_template.html
Created November 22, 2022 17:25
ebay_listing_template.html
<!--ITEM TITLE-->
<h1 style="font-size:24px; font-weight:bold; margin-bottom:0;">
<ITEM_TITLE_TEXT/>
</h1>
<!--DETAILS ABOUT THIS ITEM-->
<h2 style="font-size:20px; font-weight:bold; margin-top:32px; margin-bottom:3px;">
Details About This Item
</h2>