This file contains hidden or 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
| import os | |
| import itertools | |
| import csv | |
| MOVIES = '/media/elijah/Big Dipper/Videos/Movies' | |
| TV_SHOWS = '/media/elijah/Big Dipper/Videos/TV Shows' | |
| SELECTION = MOVIES | |
This file contains hidden or 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
| using Microsoft.UI.Xaml; | |
| using System; | |
| using System.Runtime.InteropServices; | |
| internal partial class Win32WindowHelper | |
| { | |
| private static WinProc? newWndProc = null; | |
| private static nint oldWndProc = nint.Zero; | |
| private POINT? minWindowSize = null; |
This file contains hidden or 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
| using Microsoft.UI.Xaml; | |
| using System; | |
| using System.Runtime.InteropServices; | |
| internal partial class Win32WindowHelper | |
| { | |
| private static WinProc? newWndProc = null; | |
| private static nint oldWndProc = nint.Zero; | |
| private POINT? minWindowSize = null; |
This file contains hidden or 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
| - name: NAME | |
| hosts: HOSTS | |
| become: yes | |
| tasks: | |
| - name: Install copr | |
| ansible.builtin.dnf: | |
| name: | |
| - 'dnf-command(copr)' | |
| - 'dnf-plugins-core' | |
| state: present |
This file contains hidden or 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/env python3 | |
| """ | |
| Parse CaseFolding.txt and generate a TypeScript file with case folding mappings. | |
| https://www.unicode.org/Public/UCD/latest/ucd/CaseFolding.txt | |
| This script reads the Unicode CaseFolding.txt file and creates a TypeScript | |
| module with mappings for case-insensitive string comparison. | |
| """ |
This file contains hidden or 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
| # LICENSE: public domain | |
| import warnings | |
| from openpyxl.cell import Cell | |
| from openpyxl.worksheet.worksheet import Worksheet | |
| from openpyxl.styles.stylesheet import Stylesheet, BUILTIN_FORMATS_MAX_SIZE, BUILTIN_FORMATS | |
| from openpyxl.drawing.text import Font as DrawingFont | |
| from openpyxl.descriptors import MinMax | |
| from copy import copy | |
| from contextlib import suppress |
This file contains hidden or 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
| { | |
| "af": { | |
| "currencyName": "Afghan afghani", | |
| "currencyIso": "AFN", | |
| "countryName": "Afghanistan", | |
| "symbol": "\u060b", | |
| "decimalPoint": ".", | |
| "thousandsSeparator": ",", | |
| "decimalPlaces": 2 | |
| }, |
This file contains hidden or 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
| function isNewerVersion(oldVer, newVer) { | |
| const oldParts = oldVer.split('.'); | |
| const newParts = newVer.split('.'); | |
| for (var i = 0; i < newParts.length; i++) { | |
| const a = ~~newParts[i]; // parse int | |
| const b = ~~oldParts[i]; // parse int | |
| if (a > b) return 1; | |
| if (a < b) return -1; | |
| } | |
| return 0 |
This file contains hidden or 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
| [target.'cfg(target_os = "linux")'.dependencies] | |
| dbus = "0.9" |
This file contains hidden or 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/python3 | |
| import argparse | |
| import subprocess | |
| from subprocess import DEVNULL | |
| import os | |
| import glob | |
| from pathlib import Path | |
| import time | |
| import shutil | |
| import sys |
NewerOlder