Skip to content

Instantly share code, notes, and snippets.

@xenago
xenago / list_bitbucket_repos.md
Last active March 25, 2026 18:52
Retrieve list of Bitbucket repos, including which have wiki/issues enabled

Atlassian is sunsetting the Wiki and Issues features of Bitbucket on very short notice, without providing a ui for users to see which repositories of theirs are affected.

This PowerShell snippet will iterate through accessible repositories in the provided namespace, and produce a file in the running user's home directory called repos.csv with information about the repositories, including their URL and if they're using the deprecated Wiki or Issues features.

Replace ORGNAMEHERE in the $url variable with your namespace, and email@domain.com:apikey in the $creds variable with your credentials.

& {
  $creds = "email@domain.com:apikey"
  $url = "https://api.bitbucket.org/2.0/repositories/ORGNAMEHERE?pagelen=100"
@xenago
xenago / plex_poster_fix.py
Last active September 15, 2024 22:40 — forked from JonnyWong16/select_tmdb_poster.py
Sets the TMDB poster as the default for any movies in a Plex library. Applies to any titles with unlocked posters from Gracenote (or if the poster is unset).
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# plex_poster_fix.py
#
# Swaps out posters provided by Gracenote with ones from TMDB.
# Adapted from JonnyWong16's [`select_tmdb_poster.py`](https://gist.github.com/JonnyWong16/b0e6b2761f8649d811f51866e682464b).
# With large libraries, it may take a few seconds up to a minute for the script to start producing output.
# Usage Instructions
<?php
/*
CertSage (support@griffin.software)
Copyright 2022 Griffin Software (https://griffin.software)
PHP 7.0+ required
Permission is granted to distribute this software in its original form.
Permission is denied to distribute any works derived from this software.
@xenago
xenago / FullScreenGrabKeyboard.user.js
Last active January 6, 2026 00:14 — forked from toff/FullScreenGrabKeyboard.user.js
Grant webapps full keyboard access to enable use of additional shortcuts; useful with Apache Guacamole remote sessions.
// ==UserScript==
// @name Full-screen Grab Keyboard
// @version 0.1
// @description Lock the keyboard in full-screen mode, granting webapps access to additional key shortcuts
// @match https://SITE_URL_HERE/*
// @grant none
// @noframes
// @author xenago
// ==/UserScript==