Skip to content

Instantly share code, notes, and snippets.

View reznor244's full-sized avatar

Brandon reznor244

View GitHub Profile
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
<DebugType>pdbonly</DebugType>
<DebugSymbols>true</DebugSymbols>
</PropertyGroup>
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{8278AB61-FD59-4300-9925-C04F50864A2B}</ProjectGuid>
<ProjectTypeGuids>{EFBA0AD7-5A72-4C68-AF49-83D382785DCF};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<TemplateGuid>{c9e5eea5-ca05-42a1-839b-61506e0a37df}</TemplateGuid>
<OutputType>Library</OutputType>
<RootNamespace>TestSignalRClient.Droid</RootNamespace>
{
"version": 3,
"targets": {
"MonoAndroid,Version=v8.1": {
"Microsoft.AspNetCore.Connections.Abstractions/2.1.1": {
"type": "package",
"dependencies": {
"Microsoft.AspNetCore.Http.Features": "2.1.1",
"System.IO.Pipelines": "4.5.0"
},

Disable KFX support in Kindle for PC/Mac

As an alternative, a method is available to prevent versions 1.19 through 1.23.1 from making use of KFX format. Exit the Kindle program. Open a command window (PC) or terminal window (Mac). Cut and paste the appropriate command for your operating system to disable the renderer-test program.

PC:

ren %localappdata%\Amazon\Kindle\application\renderer-test.exe renderer-test.xxx
@reznor244
reznor244 / playlist-stitch.sh
Last active January 30, 2024 15:06
playlist-stitch: Downloads all files in an m3u playlist and stitches them together into a single .mpg file
#!/bin/bash
declare -a req=("wget" "basename" "rm" "cat" "echo")
for cmd in "${req[@]}"
do
command -v $cmd >/dev/null 2>&1 || { echo "Required command not found: $cmd"; exit 1; }
done
[ $1 ] || { echo "Usage: $0 file1 [file2] [file3...]"; }
@reznor244
reznor244 / audio-extractor.sh
Created March 31, 2019 23:28
audio-extractor: Uses ffmpeg to extract the audio from a video file.
#!/bin/bash
assert_is_numeric()
{
re='^[0-9]+$'
if ! [[ $1 =~ $re ]] ; then
echo "Error: Value '$1' is not a number" >&2; exit 1
fi
}