Skip to content

Instantly share code, notes, and snippets.

@danrossi
danrossi / flac2wav.py
Last active January 14, 2025 16:26
Flac2Wav - Converter and preparation script for Rekordbox and Pioneer CDJ players that don't support Flac.
#!/usr/bin/python
# -*- coding: utf-8 -*-
# pip install sox
import json
from multiprocessing import Pool
import logging
import os
@dehsilvadeveloper
dehsilvadeveloper / 0_prerequisites.md
Last active January 14, 2025 16:26
Installing Docker on WSL 2 with Ubuntu 22.04

Installing Docker on WSL 2 with Ubuntu 22.04

Instalando Docker em um WSL 2 com Ubuntu 22.04

Prerequisites

Before start the installation process, make sure you meet the following prerequisites:

  • A Windows 10 operating system with WSL 2 support.
  • WSL 2 enabled.
  • Ubuntu 22.04 installed on WSL 2.
@jeffjohnson9046
jeffjohnson9046 / git-ignore.sh
Created August 11, 2015 21:02
Remove unwanted files from a git repo AFTER adding a .gitignore. The files will remain on disk.
## I just ran into this after initializing a Visual Studio project _before_ adding a .gitignore file (like an idiot).
## I felt real dumb commiting a bunch of files I didn't need to, so the commands below should do the trick. The first two commands
## came from the second answer on this post: http://stackoverflow.com/questions/7527982/applying-gitignore-to-committed-files
# See the unwanted files:
git ls-files -ci --exclude-standard
# Remove the unwanted files:
git ls-files -ci --exclude-standard -z | xargs -0 git rm --cached
@bradtraversy
bradtraversy / docker-help.md
Last active January 14, 2025 16:22
Docker Commands, Help & Tips

Docker Commands, Help & Tips

Show commands & management commands

$ docker

Docker version info

@vasanthk
vasanthk / System Design.md
Last active January 14, 2025 16:21
System Design Cheatsheet

System Design Cheatsheet

Picking the right architecture = Picking the right battles + Managing trade-offs

Basic Steps

  1. Clarify and agree on the scope of the system
  • User cases (description of sequences of events that, taken together, lead to a system doing something useful)
    • Who is going to use it?
    • How are they going to use it?
Чеклист для собеседования
Общее
[] SOLID, расшифровка каждой буквы + примеры из го
[] Паттерны из Gang of Four, мочь сказать какие виды + 3-4 запомнить и как их использовать
[] Что такое хеш таблица, сет, стек, очередь и для чего нужны
[] Что такое TPC/IP, в чем отличия с UDP?
[] Как работает http запрос? Коды ошибок, http методы.
[] Отличия http и https. Как работает https?
[] http/1 и http/2 в чем отличия?
@vladak
vladak / varmilo keyboard.md
Last active January 14, 2025 16:20
Varmilo keyboard details