Skip to content

Instantly share code, notes, and snippets.

View JulesGM's full-sized avatar
🦁

Jules Gagnon-Marchand JulesGM

🦁
  • Altos Labs
  • San Francisco Bay Area, California
  • 00:49 (UTC -12:00)
  • LinkedIn in/julesgm
View GitHub Profile
import logging
import os
from pathlib import Path
from typing import Any, Dict, List, Sequence
from hydra.core.singleton import Singleton
from hydra.core.utils import JobReturn, filter_overrides
from hydra_plugins.hydra_submitit_launcher.config import BaseQueueConf
from omegaconf import OmegaConf
@wdullaer
wdullaer / a2dp.py
Last active March 24, 2023 07:58 — forked from pylover/a2dp.py
#! /usr/bin/env python3.5
"""
Fixing bluetooth stereo headphone/headset problem in ubuntu 16.04 and also debian jessie, with bluez5.
This version is adapted to work on ubuntu 16.10
Workaround for bug: https://bugs.launchpad.net/ubuntu/+source/indicator-sound/+bug/1577197
Run it with python3.5 or higher after pairing/connecting the bluetooth stereo headphone.
@igv
igv / KrigBilateral.glsl
Last active April 9, 2024 07:07
Good test pattern: https://www.rtings.com/images/test-materials/2017/chroma-444.png (Compress it with any lossy codec first, for example jpeg. You can do it with mpv, only add screenshot-jpeg-source-chroma=no to mpv.conf). Usage: glsl-shader="~~/KrigBilateral.glsl"
// KrigBilateral by Shiandow
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// version 3.0 of the License, or (at your option) any later version.
//
// This library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU