This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
# coding=utf-8 | |
"""Configures and maintain PipeWire links between sets of queries for input/output ports""" | |
# The following example configures links between output ports whose application | |
# name starts with "Firefox" and channel is "Front-Right", and input ports whose | |
# application name is "ardour" and port name starts with "Track name" and ends | |
# with "2". Links are automatically created whenver a new port appears for | |
# either of these queries. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | |
<script type="text/javascript" src="/script/jquery-3.4.0.min.js"></script> | |
<link type="text/css" rel="stylesheet" href="./script/mediaelement/mediaelementplayer.min.css" /> | |
<script type="text/javascript" src="./script/mediaelement/mediaelement-and-player.min.js"></script> | |
</head> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
# coding=utf-8 | |
"""Tool to analyze and display the contents of /proc/<pid>/maps""" | |
import re | |
import itertools | |
import argparse | |
from dataclasses import dataclass |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Usage: adbsync <remote path> <local path> | |
# <remote path> defaults to /sdcard/DCIM | |
# <local path> defaults to . | |
REMOTE_PATH=${1:-/sdcard/DCIM} | |
LOCAL_PATH=${2:-.} | |
REMOTE_PORT=1873 | |
LOCAL_PORT=6010 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# coding: utf-8 | |
from subprocess import Popen | |
import subprocess | |
import win32job | |
import win32process | |
import win32api | |
class JobPopen(Popen): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
# coding=utf-8 | |
"""Python Script for bootstrapping a MusicBrainz release using a VGMDB album. | |
This script uses the unofficial VGMDB.info JSON API to prefill the MusicBrainz | |
"Add Release" form with data from VGMDB. | |
It is only meant as a first step to make adding a new MB release easier; please | |
check for missing/erroneous data and make sure the imported release follows the |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0"> | |
<PropertyGroup> | |
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | |
<SchemaVersion>2.0</SchemaVersion> | |
<ProjectGuid>xxxx</ProjectGuid> | |
<ProjectHome>.</ProjectHome> | |
<StartupFile>setup.py</StartupFile> | |
<SearchPath>lib\</SearchPath> | |
<WorkingDirectory>.</WorkingDirectory> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
# coding=utf-8 | |
# Base Python File (snapper-backup.py) | |
# Created: Fri 19 Aug 2016 09:18:51 PM CEST | |
# Version: 1.0 | |
# | |
# This Python script was developped by François-Xavier Thomas. | |
# You are free to copy, adapt or modify it. | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Note: Doesn't work anymore (at least for Gnome 3.34, possibly later; see Python script instead) | |
# Usage: gnome-inhibit <command-line> | |
# Example: gnome-inhibit mpv video.mp4 | |
cookie=$(dbus-send \ | |
--session \ | |
--dest=org.freedesktop.ScreenSaver \ | |
--type=method_call \ | |
--print-reply=literal \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> mvn clean package install -DbuildNumber=$(git describe --tags) develop [81730fe] untracked | |
[INFO] Scanning for projects... | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] Reactor Build Order: | |
[INFO] | |
[INFO] Libresonic | |
[INFO] Libresonic REST API | |
[INFO] Sonos API | |
[INFO] Libresonic Main | |
[INFO] |
NewerOlder