Skip to content

Instantly share code, notes, and snippets.

@neoromantique
neoromantique / youtube_archiver.py
Created November 24, 2020 20:59
youtube_archiver.py
# Tiny Youtube Archival Helper Script
# David Aizenberg 2020
from __future__ import unicode_literals
import youtube_dl
storagePrefix = '/home/david/NAS/Videos/YouTube/'
downloadArchive = '/home/david/.youtube-dl-archive'
class bcolors:
@zekroTJA
zekroTJA / mc-modpack-semver.md
Last active February 19, 2025 11:16
Semantic Versioning of Minecraft Modpacks

Semantic Versioning of Minecraft Modpacks

v.1.0.0-rc.2
2020-07-09

Summary

The version number goes after follwoing format.

Simple: MAJOR.MINOR.PATCH

About

I came up with these exercises for someone learning to code. But I thought more people might want to do them.

I like functional programming, so the exercises asks you to make functions that are common in functional programming. If you have learned a language, but want to learn more about functional programming, these exercises are for you.

The exercises were originally meant for Python, but doing them in JavaScript, Ruby or any Lisp (Scheme, Clojure, …) should work just as well. It should also be possible to do them in Java and C#, but it will probably not be as easy.

Most of the functions you are asked to create already exist in functional languages, or libraries for most languages. But it can be educational to implement them yourself.

@jayluxferro
jayluxferro / Kali_Desktop_Environments_Installation_and_Removal.md
Last active October 10, 2025 16:13
Kali Desktop Environments Installation and Removal

XFCE Desktop


How to install XFCE Desktop Environment in Kali Linux:

Command:

apt-get install kali-defaults kali-root-login desktop-base xfce4 xfce4-places-plugin xfce4-goodies

How to remove XFCE in Kali Linux:

Command:

@jagrosh
jagrosh / Growing A Discord Server.md
Last active November 6, 2025 13:13
Tips for creating and growing a new Discord server

This guide is kept up-to-date as Discord and available resources change!
A basic server template is available here

Creating and Growing a Discord Server

logo

Introduction

Hello! I'm jagrosh#4824! I'm writing this guide to try to help new server owners set up and grow their servers, which is a commonly-requested topic. It's very easy to go about this the wrong way, so it's best to be prepared and make smart decisions so that your community can flourish!

Background

@wojteklu
wojteklu / clean_code.md
Last active November 6, 2025 03:20
Summary of 'Clean code' by Robert C. Martin

Code is clean if it can be understood easily – by everyone on the team. Clean code can be read and enhanced by a developer other than its original author. With understandability comes readability, changeability, extensibility and maintainability.


General rules

  1. Follow standard conventions.
  2. Keep it simple stupid. Simpler is always better. Reduce complexity as much as possible.
  3. Boy scout rule. Leave the campground cleaner than you found it.
  4. Always find root cause. Always look for the root cause of a problem.

Design rules