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
#!/usr/bin/env bash | |
# This script clones all repos in a GitHub org and pushes to the upstream | |
# It requires the GH CLI: https://cli.github.com | |
# It can be re-run to collect new repos and pull the latest changes | |
set -euo pipefail | |
USAGE="Usage: gh-clone-org <user|org> <target>" |
rm srv1.xlsx -ErrorAction Ignore | |
[xml](gc .\srv1.mbsa) | % secscan | | |
Export-Excel srv1.xlsx -AutoSize -TableName table -Show | |
# Read the new spreadsheet | |
# Import-Excel .\srv1.xlsx | |
# read, export to csv | |
# Import-Excel .\srv1.xlsx | Export-Csv -NotType srv1.csv |
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 |
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
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.
const fetch = require("node-fetch"); | |
const qs = require("querystring"); | |
const nodemailer = require("nodemailer"); | |
const cron = require("node-cron"); | |
const EMAIL = ""; | |
const PASSWORD = ""; | |
const searchWord = "canon eos rp"; |
# [put in ~/.bashrc (open with vim or nano)] | |
alias ghrmr='gh repo delete' | |
# create repo then push it automatically | |
alias ghmkr='gh repo create && git push;' | |
# use this command run custom sub-commands on the backup repo | |
bkup() { | |
orig_dir=$(pwd) | |
if cd $(pwd).bak; then | |
"$@" |
@echo off | |
if "%~1"=="" goto :USAGE | |
where /q curl.exe || ( | |
echo Error: curl command not found. | |
exit /b 1 | |
) | |
setlocal enabledelayedexpansion |
function New.CompletionResult { | |
[Alias('New.CR')] | |
param( | |
# original base text | |
[Alias('Item', 'Text')] | |
[Parameter(Mandatory)] | |
[ValidateNotNullOrEmpty()] | |
[ValidateNotNullOrWhiteSpace()] | |
[string]$ListItemText, |