Skip to content

Instantly share code, notes, and snippets.

View foodtooth's full-sized avatar
🎯
Focusing

foodtooth

🎯
Focusing
View GitHub Profile
@foodtooth
foodtooth / youtube-dl.md
Last active May 2, 2019 18:26
YouTube dl best practice example
youtube-dl -f 'bestvideo+bestaudio' --merge-output-format mp4 --all-subs --write-thumbnail --embed-subs --embed-thumbnail 'https://www.youtube.com/watch?v=qaAkvzLSg0s'
@foodtooth
foodtooth / response_manager.h
Created August 8, 2019 06:44
Singleton example, and Interface basic concept
#ifndef RESPONSE_MANAGER_H
#define RESPONSE_MANAGER_H
#include <unordered_map>
#include <string>
#include <memory>
class ResponseInterface {
public:
ResponseInterface(const ResponseInterface&) = default;