Skip to content

Instantly share code, notes, and snippets.

@rutcreate
rutcreate / README.md
Last active June 11, 2025 13:02
Install Python 3.10.x on Ubuntu 20.04

Prerequisite

sudo apt update
sudo apt install software-properties-common -y

Add custom APT repository

@ant1fact
ant1fact / install.sh
Created February 20, 2022 12:33
Install python3.10 as python on ubuntu 20.04
# Setup
sudo apt update && sudo apt upgrade -y
sudo apt install software-properties-common -y
sudo add-apt-repository ppa:deadsnakes/ppa -y
# Python 3.10
sudo apt install python3.10
sudo apt install python3.10-dev
sudo apt install python3.10-distutils
sudo apt install python3.10-venv
@muendelezaji
muendelezaji / bash-to-zsh-hist.py
Created October 5, 2016 14:18 — forked from op/bash-history-to-zsh-history.py
Convert Bash history to Zsh history
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# This is how I used it:
# $ cat ~/.bash_history | python bash-to-zsh-hist.py >> ~/.zsh_history
import sys
import time
@walkerjeffd
walkerjeffd / Synology-Diskstation-Git.md
Last active May 12, 2025 21:32
Instructions for setting up git server on Synology Diskstation

Configure Synology NAS as Git Server

Instructions for setting up a git server on a Synology NAS with Diskstation. Specifically, I am using a DS414 with DSM 5.0.

Set Up User and Folder

  • Create user gituser via Diskstation interface (with File Station and WebDAV privilages)
  • Add new shared folder called git (located at /volume1/git) with read/write access for gituser and admin. This folder will hold all the repos.
  • Install Git Server package via Diskstation