Skip to content

Instantly share code, notes, and snippets.

View aubreypwd's full-sized avatar
💻

Aubrey Portwood aubreypwd

💻
View GitHub Profile
@slaFFik
slaFFik / bulk-transfer-gh-issues.sh
Created October 14, 2023 20:32
Open local repo to bulk transfer all its issues to a new repo: https://jloh.co/posts/bulk-migrate-issues-github-cli/
gh issue list -s all -L 500 --json number | \
jq -r '.[] | .number' | \
xargs -I% gh issue transfer % https://github.com/<destination repo>
@ChristopherA
ChristopherA / macOS-Preferences-Defaults.sh
Last active May 27, 2024 13:35
macOS Preferences Defaults
#!/usr/bin/env zsh
#===========================================================================
# * INFO
#
# macOS Preferences Defaults
# By Christopher Allen @ChristopherA https://github.com/christophera/
# My most basic macOS preferences, in this gist to make it easy to load on
# multiple machines and VMs. Ideally runs on all macOS versions since Yosemite,
@ahmadawais
ahmadawais / flywheel-local-xdebug-vscode.md
Last active June 3, 2024 13:28
Debug WordPress with Visual Studio Code | VSCode WordPress Debug Setup | WordPress xDebug Setup for Local by FlyWheel with VSCode | Part of the VSCode Learning Course → https://VSCode.pro

VSCode WordPress Debugging Setup: WordPress Xdebug Setup for Local by FlyWheel with VSCode


Consider supporting my work by purchasing the course this tutorial is a part of i.e. VSCode Power User

🚅 TL;DR

  • Make sure your Local by FlyWheel WordPress install is a custom install
@tterb
tterb / userChrome.css
Created January 31, 2018 05:21
A monokai-pro inspired theme for Firefox devtools
:root.theme-dark {
/* --theme-body-background: var(--grey-80); */
--theme-body-background: #2c292e !important;
--theme-body-background: hsl(270,4%,17%) !important;
--theme-sidebar-background: #202020 !important;
--theme-contrast-background: #efb35b !important;
/* Toolbar */
--theme-tab-toolbar-background: #202020 !important;
--theme-toolbar-background: #202020 !important;
@rickdaalhuizen90
rickdaalhuizen90 / cheatsheet.md
Created November 6, 2017 13:40
Sublime Text Vintage mode cheatsheet

Vintage mode

Command Action
:w save file
j move cursor up one line
k move cursor down one line
h move cursor one position right
l move cursor one position left
e move cursor to the end of word
0 move cursor to beginning of line
@a7madgamal
a7madgamal / dark.md
Last active July 14, 2023 04:00
Dark mode for Slack on MacOS
@rogeriopradoj
rogeriopradoj / composer.json
Created July 2, 2017 17:07
mail.php - phpmailer + mailhog - send mail via smtp
{
"require": {
"phpmailer/phpmailer": "^5.2"
}
}
@justsml
justsml / INSTALL.md
Last active August 8, 2023 17:31
Add Page Up and Page Down Keyboard Bindings to Sublime Text 3 (and 2)

Add PageUp PageDown (Keyboard Shortcut Scrolling) to Sublime Text 3 (and 2)

  • Save ScrollLinesFixedCommand.py to ~/Library/Application Support/Sublime Text 3/Packages/User/ folder
  • Copy the suggested usage from sublime-keymap.json into your ~/Library/Application Support/Sublime Text 3/Packages/User/Default (OSX).sublime-keymap

Hey Sublime, why the hell this isn't an available keybinding by default? Seriously, I'm tired of looking up how to do this every so often. For most of my work I've switched to Visual Studio Code, the Open Source IDE from Microsoft (still sounds wierd)... But it's genuinely amazing.

@victor-torres
victor-torres / uninstall_shell_integration.sh
Created March 1, 2016 12:51
Uninstalling shell integration from iTerm 2
#!/bin/bash
function die() {
echo "${1}"
exit 1
}
which printf > /dev/null 2>&1 || die "Shell integration requires the printf binary to be in your path."
which sed > /dev/null 2>&1 || die "Shell integration requires the sed binary to be in your path."
@erichrobinson
erichrobinson / README.md
Last active June 23, 2024 18:44
SwitchResX Configuration

#SwitchResX Settings for LG 21:9 UltraWide

SwitchResX is a utility that allows users to override the default resolution settings in OSX. For more information, including download links, vist http://www.madrau.com/ .

##Disabling System Integrity Protection (SIP)

If you are running OSX 10.11 or higher, SIP must be disabled. To disable SIP do the following:

  • Boot into the recovery partition by pressing CMD + R when starting up your Mac.
  • Once in recovery mode, open a terminal window.
  • Type the command csrutil disable