Skip to content

Instantly share code, notes, and snippets.

@oyale
oyale / stable.output
Created April 17, 2023 13:24
Output from pcu (regular vs `--include_unstable`) for a given requirements.txt
odoo12-addon-account-asset-management 12.0.2.3.0 → 12.0.3.2.0
odoo12-addon-account-banking-mandate 12.0.2.0.0.99.dev8 → 12.0.2.0.3
odoo12-addon-account-banking-pain-base 12.0.1.0.2 → 12.0.1.0.5
odoo12-addon-account-banking-sepa-credit-transfer 12.0.1.0.0.99.dev5 → 12.0.1.0.0.99.dev19
odoo12-addon-account-banking-sepa-direct-debit 12.0.1.2.0 → 12.0.1.3.0
odoo12-addon-account-due-list 12.0.1.0.0.99.dev7 → 12.0.1.0.0.99.dev13
odoo12-addon-account-financial-report 12.0.1.2.2.99.dev7 → 12.0.1.5.2
odoo12-addon-account-payment-mode 12.0.1.0.1.99.dev1 → 12.0.1.0.1
odoo12-addon-account-payment-order 12.0.1.3.0 → 12.0.1.6.3
odoo12-addon-account-payment-partner 12.0.1.0.0.99.dev13 → 12.0.1.0.3
@oyale
oyale / export-subscriptions.js
Last active December 29, 2022 15:27
You can get an OPML file with your YouTube subscriptions by running this script on the console while you are logged in at YouTube's main page. The downloaded file can be imported at any invidious instance.
function downloadOPML(opml) {
// Create a new anchor element
const anchor = document.createElement('a');
// Set the anchor's download attribute
anchor.download = 'subscriptions.opml';
// Set the anchor's href attribute to the OPML data
anchor.href = `data:text/xml;charset=utf-8,${encodeURIComponent(opml)}`;
@oyale
oyale / allpyenv.py
Created December 19, 2022 19:07
A dead-simple script to perform bulk operations in all python virtualenvs installed
#! /bin/python
"""
A dead-simple script to perform bulk operations in all python virtualenvs installed
"""
import argparse
import os
import subprocess
import glob