Skip to content

Instantly share code, notes, and snippets.

View lackdaz's full-sized avatar

Seth Loh lackdaz

View GitHub Profile
@lackdaz
lackdaz / README.md
Last active July 7, 2021 09:51
Removing __MACOSX and .DS_Store artefacts from zip files (MacOSX Only)

Be a better MacOSX Developer

The Problem .DS_Store and __MACOSX files have littered servers, codebases and your colleague's workstations since Apple Inc. decided that MacOSX browsing speeds was more important than the general hygiene of the internet. Here's a cheatsheet to help you clean up after yourself.

Zipping without artefacts

zip -r data.zip . -x ".DS_Store" -x "__MACOSX"

Removing injects from existing zip files

@lackdaz
lackdaz / INSTALL.md
Last active December 2, 2020 00:39
ML Installation steps for Linux
@lackdaz
lackdaz / settings.json
Created July 8, 2021 15:10
default vscode settings.json for python
{
"python.linting.flake8Enabled": true,
"python.linting.enabled": true,
"python.pythonPath": "/usr/bin/python3",
"python.testing.pytestEnabled": true,
"python.testing.pytestPath": "pytest",
"python.testing.pytestArgs": ["-xvs", "--cov=tb_troll", "--cov-report=html", "tests/"]
}
@lackdaz
lackdaz / wireguardvpn_installation.md
Created April 9, 2025 23:23 — forked from teja156/wireguardvpn_installation.md
Commands to install Wireguard VPN

Commands to install Wireguard VPN on Ubuntu

YouTube Video: https://youtu.be/SzSSll7nJnI

SERVER

Install Wireguard

sudo apt update
sudo apt install wireguard