Skip to content

Instantly share code, notes, and snippets.

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

Arcan ndzn

😺
:3ing rn
  • null
  • null
  • 04:45 (UTC -05:00)
View GitHub Profile
View keybase.md

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
View sort.py
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
View docker-compose.yml
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
View init.sh
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
View install.sh
# 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"
View keybase.md

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:

View keybase.md

Keybase proof

I hereby claim:

  • I am frinned on github.
  • I am frinned (https://keybase.io/frinned) on keybase.
  • I have a public key ASAquO2gmDeiiITObxG5ZhjLpbgRHaX4Y4Lnadyna4o8UQo

To claim this, I am signing this object:

View keybase.md

Keybase proof

I hereby claim:

  • I am lucidwave on github.
  • I am frinned (https://keybase.io/frinned) on keybase.
  • I have a public key whose fingerprint is 7776 D835 60B6 9739 1C55 88B2 6E0F 4E9F 9A76 B32D

To claim this, I am signing this object: