Skip to content

Instantly share code, notes, and snippets.

View ndzn's full-sized avatar
😺
:3ing rn

Arcan ndzn

😺
:3ing rn
  • null
  • null
  • 09:15 (UTC -04:00)
View GitHub Profile

Keybase proof

I hereby claim:

  • I am ndzn on github.
  • I am arcan (https://keybase.io/arcan) on keybase.
  • I have a public key whose fingerprint is C532 7304 C232 9CD8 811B 72B0 723C 5131 D3FF C8FC

To claim this, I am signing this object:

@ndzn
ndzn / sort.py
Created July 13, 2023 01:17
Screenshot Sorting Mac
import os
import shutil
# Path to the desktop folder
desktop_path = os.path.expanduser('~/Desktop')
# Path to the screenshots folder on the desktop
screenshots_path = os.path.join(desktop_path, 'screenshots')
# Create the screenshots folder if it doesn't exist
@ndzn
ndzn / docker-compose.yml
Created November 16, 2022 15:10
cloudflared docker compose
version: "3.9"
services:
tunnel:
container_name: cloudflared-tunnel
image: cloudflare/cloudflared
restart: unless-stopped
command: tunnel run
environment:
- TUNNEL_TOKEN=mytokengoeshere
@ndzn
ndzn / init.sh
Created August 31, 2022 03:14
Oracle Cloud firewall initial iptables traffic routing
iptables -P INPUT ACCEPT
iptables -P OUTPUT ACCEPT
iptables -P FORWARD ACCEPT
iptables -F
@ndzn
ndzn / install.sh
Created July 28, 2022 01:31 — forked from wdullaer/install.sh
Install Latest Docker and Docker-compose on Ubuntu
# Ask for the user password
# Script only works if sudo caches the password for a few minutes
sudo true
# Install kernel extra's to enable docker aufs support
# sudo apt-get -y install linux-image-extra-$(uname -r)
# Add Docker PPA and install latest version
# sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 36A1D7869245C8950F966E92D8576A8BA88D21E9
# sudo sh -c "echo deb https://get.docker.io/ubuntu docker main > /etc/apt/sources.list.d/docker.list"

Keybase proof

I hereby claim:

  • I am ndzn on github.
  • I am ndzn (https://keybase.io/ndzn) on keybase.
  • I have a public key whose fingerprint is 9468 0EAC 693E 84D1 6C48 7E03 3623 34FC D199 CC9E

To claim this, I am signing this object: