Below are all the possible fixes/workarounds I found for potential issues that might arise when attempting to apply the nerd-font patch to InputMono:
- clone the nerd-fonts repo
- install fontforge via brew
| # NOTE - THIS SCRIPT IS NOW OBSOLETE - SEE MY OTHER REPO FOR A MUCH MORE COMPREHENSIVE TOOL: https://github.com/ThioJoe/Windows-Super-God-Mode | |
| # Get All Shell Folder Shortcuts Script (Updated 8/10/2024) | |
| # Original source: https://gist.github.com/ThioJoe/16eac0ea7d586c4edba41b454b58b225 | |
| # This PowerShell script is designed to find and create shortcuts for all special shell folders in Windows. | |
| # These folders can be identified through their unique Class Identifiers (CLSIDs) or by their names. | |
| # The script also generates CSV files listing these folders and associated tasks/links. | |
| # How to Use: | |
| # 1. Open PowerShell and navigate to the path containing this script using the 'cd' command. |
| Windows Components -> News and interests | |
| - Enable news and interests on the taskbar: Enabled | |
| Windows Components -> Search | |
| - Allow Cortana: Disabled | |
| - Do not allow web search: Enabled | |
| - Don't search the web or disable web results in Search: Enabled | |
| Network -> DNS Client | |
| - Turn off smart multi-homed name resolution: Enabled |
| using namespace System.Collections.Generic | |
| # Say you want one table that has all results, with fixed columns | |
| [list[Object]]$Summary = @() | |
| # and a second array that's just errors with extra info | |
| [list[Object]]$ErrorSummary = @() | |
| foreach( $user in $UserCsv ) { | |
| $result = [pscustomobject]@{ |
| function Wait-TranscriptEnd { | |
| <## | |
| .SYNOPSIS | |
| Waits for the creation and completion of a PowerShell transcript file (helpful in race conditions). | |
| .DESCRIPTION | |
| This function polls for the existence of a transcript file and then monitors its content until a specific end pattern is detected. | |
| .PARAMETER transcriptPath | |
| The path to the transcript file. Required. | |
| .PARAMETER pollSeconds | |
| The polling interval in seconds. Default is 10 seconds. |
| // ==UserScript== | |
| // @name SuperUser Copy Code | |
| // @namespace http://tampermonkey.net/ | |
| // @version 0.1 | |
| // @description Adds a clipboard icon to code elements for easy copying | |
| // @author rf5860 | |
| // @match *://superuser.com/* | |
| // @downloadURL https://gist.github.com/rf5860/cd139a501ac057b8bba283d0b48f5bac/raw/SuperUser_CopyCode.user.js | |
| // @updateURL https://gist.github.com/rf5860/cd139a501ac057b8bba283d0b48f5bac/raw/SuperUser_CopyCode.user.js | |
| // @grant GM_setClipboard |
Create Github access token: https://github.com/settings/tokens
Setup backup tool:
pip3 install github-backup
export GITHUB_BACKUP_TOKEN=ghp_bananabananabananabananabananabanana
export GITHUB_BACKUP_USER=dreikanter
export GITHUB_BACKUP_PATH=~/github-backup/$GITHUB_BACKUP_USER| # Copyright: (c) 2024, Jordan Borean (@jborean93) <[email protected]> | |
| # MIT License (see LICENSE or https://opensource.org/licenses/MIT) | |
| #Requires -Module Ctypes | |
| Function Split-ExeArgument { | |
| [OutputType([string])] | |
| [CmdletBinding()] | |
| param ( | |
| [Parameter(Mandatory, ValueFromPipeline)] |
All your notes, scripts, config files and snippets deserve version control and tagging!
gist is a simple bash script for gist management.
It is lightweight(~700LOC) and dependency-free! Helps you to boost coding workflow.
| using System; | |
| using System.IO; | |
| using System.Linq; | |
| using System.Runtime.CompilerServices; | |
| // input format is hex with 0x prefix; one per line: | |
| // 0x5DF | |
| // 0x123 | |
| // etc. | |
| CHM3PerfectHashGenerator hasher = new(File.ReadAllLines(args[0]) |