Base URL: https://plug.dj/_
| Field | Type | Description |
|---|---|---|
| data | array | endpoint-specific return data |
| meta | object | unknown |
| status | string | unknown - success of the request? |
| time | float | unknown - time to process request? |
| [buildPlans.iosevka] | |
| family = "Iosevka" | |
| spacing = "normal" | |
| serifs = "sans" | |
| no-cv-ss = true | |
| export-glyph-names = false | |
| [buildPlans.iosevka.variants.design] | |
| capital-a = "straight-serifless" | |
| capital-b = "standard-serifless" |
| .fandom-sticky-header { | |
| /* Make the thin header always visible. */ | |
| transform: translateY(100%) !important; | |
| /* Remove space left by hiding global navigation. */ | |
| left: 0px !important; | |
| } | |
| /* Make space for the sticky header including the original page margin. */ | |
| .page { |
| #!/usr/bin/env bash | |
| # | |
| # Convert SVGs into PNGs using Inkscape. | |
| # | |
| # PNGs are saved to the same location as their corresponding SVG files. | |
| # If sizes are specified, they are appended to the names of the PNGs. | |
| # | |
| # The env var INKSCAPE_BIN can be set to configure the path to Inkscape. | |
| # | |
| # Usage: ./export_svgs.sh <input_path> [size [size]...] |
| import shutil | |
| import subprocess | |
| from pathlib import Path | |
| from tempfile import NamedTemporaryFile, TemporaryDirectory | |
| import requests | |
| UNRAR_PATH = r"C:\Program Files\WinRAR\UnRAR.exe" | |
| param( | |
| [Parameter(Position=0, mandatory=$true)] | |
| # [ValidateScript({$regions.ContainsKey($_)})] | |
| [ValidateSet("NA", "LA1")] | |
| [string]$Region, | |
| [Parameter(Position=1, mandatory=$true)] | |
| [ValidateScript({Test-Path $_})] | |
| [string]$GameDir | |
| ) |
| async def on_command_error( | |
| self, | |
| ctx: commands.Context, | |
| error: commands.CommandError | |
| ): | |
| # Skips errors that were already handled locally. | |
| if getattr(ctx, 'handled', False): | |
| return | |
| if isinstance(error, commands.NoPrivateMessage): |
| #!/bin/bash | |
| # | |
| # Uses ffmpeg to convert ShadowPlay recordings for uploading to Discord. | |
| # Usage: ./8mib.sh <video_path> [seek_eof] | |
| if [ ! -f "$1" ]; then | |
| (>&2 echo "The video file could not be found.") | |
| exit | |
| fi |
| """ | |
| Time to execute: 0.002147326900568627 seconds | |
| Lines of code: 31 | |
| """ | |
| from collections import defaultdict | |
| with open('input.txt') as f: | |
| log = f.read().splitlines() | |
| log.sort(key=lambda e: e[:17]) |
| #define WIN32_LEAN_AND_MEAN | |
| #include <Windows.h> | |
| #include <mmsystem.h> | |
| #include <iostream> | |
| int main() | |
| { | |
| MCI_OPEN_PARMS open_params; | |
| ::ZeroMemory(&open_params, sizeof(MCI_OPEN_PARMS)); |