Skip to content

Instantly share code, notes, and snippets.

View sbusso's full-sized avatar
🤖
Crafting with AI friends

Stéphane Busso sbusso

🤖
Crafting with AI friends
View GitHub Profile
@sbusso
sbusso / youtubemusicdownloader.py
Created August 19, 2023 22:46 — forked from un1tz3r0/youtubemusicdownloader.py
This script uses ytmusicapi and pytube together to download your playlists, history or 'liked' songs as high-quality audio-only streams from Youtube Music.
''' This script uses ytmusicapi and pytube together to download your playlists, history or 'liked' songs as
high-quality audio-only streams from Youtube Music, which are protected by a "signatureCipher" obfuscation scheme.
To use it, first install [ytmusicapi] and [pytube] using pip, then follow the instructions for creating the auth
file from the response in an authenticated session to a watch-page request as found in your browser's dev-tools.
The downloaded files are placed in ~/Music, named with the artist and track metadata, and will be skipped instead
of downloaded again next time it is run, based on the videoIds of the downloaded songs.
Merry Xmas - V.
@sbusso
sbusso / resume.json
Last active October 26, 2023 15:24
resume.json
{
"$schema": "https://raw.githubusercontent.com/jsonresume/resume-schema/v1.0.0/schema.json",
"basics": {
"name": "Stéphane BUSSO",
"label": "Tech Leader | Architect | Developer | Web3 | Blockchain | SaaS",
"image": "",
"email": "stephane.busso@gmail.com",
"phone": "+642108923834",
"summary": "As an experienced engineering manager and technical leader, I enjoy helping companies grow their teams, design and develop better software solutions, be agile, and deliver quality products and services faster.",
"location": {
@sbusso
sbusso / Readme.md
Created January 6, 2022 04:27 — forked from deathau/Readme.md
Obsidian scss

Obsidian SASS theme switching tools

I was building up a small library of css snippets, and mixing and matching via copy-paste was getting tiresome.
So, I knocked myself up a little solution using https://sass-lang.com/
To use this solution, you need to follow the instructions on the website to install the SASS command line utility.

Instructions

For my purposes, I created a subfolder in my Obsidian vault called ./.themes where my obsidian.scss file lives. I also created a subfolder for mixins (./.themes/mixins) containing small snippets like "Andy Matuschak" mode and collapsing sidebars (and my preferred custom colours for my Base2Tone theme)

const apiUrl = "http://api.quotable.io/random?tags=";
async function start() {
var quote;
var cite;
const response = await fetch(apiUrl);
const data = await response.json();
if (response.ok) {
// Update DOM elements
# Install some required packages first
sudo apt update
sudo apt install -y \
apt-transport-https \
ca-certificates \
curl \
gnupg2 \
software-properties-common
# Get the Docker signing key for packages
def hello():
print "hello"
@sbusso
sbusso / meltimagesslideshowbob.sh
Created June 28, 2020 06:23 — forked from bikubi/meltimagesslideshowbob.sh
Create a slideshow from images, with blending, using ffmpeg or MLT
#!/bin/bash
# create a slideshow from images, with nice blending
# using MLT or ffmpeg
# adapted from https://superuser.com/a/834035
#
# beware of the ffmpeg command, it eats memory quickly
# USAGE
# 1 pass images as arguments
@sbusso
sbusso / musical-arpeggio-pattern-generator.markdown
Created February 14, 2020 07:34
Musical Arpeggio Pattern Generator
@sbusso
sbusso / musical-scale-generator.markdown
Created February 14, 2020 07:34
Musical Scale Generator
@sbusso
sbusso / index.html
Created February 14, 2020 07:34
Musical Chord Progression Arpeggiator
<article>
<aside id="aside"></aside>
<main id="main"></main>
</article>