Skip to content

Instantly share code, notes, and snippets.

Ryan P. C. McQuen ryanpcmcquen

Block or report user

Report or block ryanpcmcquen

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View clear_out_firefox_devices.js
window.setInterval(() => {
;[
...document.querySelectorAll(
'button.settings-button.warning-button.client-disconnect'
)
]
.pop()
.click()
window.setTimeout(() => document.querySelector('#submit-btn').click(), 300)
}, 600)
View user-ConEmu.xml
<?xml version="1.0" encoding="utf-8"?>
<key name="Software">
<key name="ConEmu">
<key name=".Vanilla" modified="2019-07-25 06:42:32" build="180626">
<value name="ColorTable00" type="dword" data="00222827"/>
<value name="ColorTable01" type="dword" data="009e5401"/>
<value name="ColorTable02" type="dword" data="0004aa74"/>
<value name="ColorTable03" type="dword" data="00a6831a"/>
<value name="ColorTable04" type="dword" data="003403a7"/>
<value name="ColorTable05" type="dword" data="009c5689"/>
@ryanpcmcquen
ryanpcmcquen / config.fish
Last active Sep 17, 2019
The McQuen fish prompt.
View config.fish
test -e {$HOME}/.iterm2_shell_integration.fish ; and source {$HOME}/.iterm2_shell_integration.fish
export PATH="/usr/local/opt/ruby/bin:/usr/local/opt/gnu-tar/libexec/gnubin:/usr/local/sbin:$PATH"
export LDFLAGS="-L/usr/local/opt/ruby/lib"
export CPPFLAGS="-I/usr/local/opt/ruby/include"
export PKG_CONFIG_PATH="/usr/local/opt/ruby/lib/pkgconfig"
export HTTP_PROXY=http://awsbastion.funko.com:3128
export HTTPS_PROXY=http://awsbastion.funko.com:3128
View UNDO_CTRL_AND_CAPS_LOCK_SWAP.reg
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout]
@ryanpcmcquen
ryanpcmcquen / McQuen.el
Created May 10, 2019
Emacs Prelude customizations.
View McQuen.el
(add-hook 'prelude-prog-mode-hook (lambda () (smartparens-mode -1)) t)
(set-face-attribute 'default nil :height 150)
@ryanpcmcquen
ryanpcmcquen / HOW_DO_I_DO_IT.md
Created May 10, 2019
Disable `smartparens` on Emacs Prelude.
View HOW_DO_I_DO_IT.md

Add this to ~/.emacs.d/personal/custom.el (or some other file in ~/.emacs.d/personal/):

(add-hook 'prelude-prog-mode-hook (lambda () (smartparens-mode -1)) t)
@ryanpcmcquen
ryanpcmcquen / typewriter.css
Last active May 10, 2019
Old school typing with new school code.
View typewriter.css
.input {
display: none;
}
.output {
display: flex;
align-items: center;
justify-content: center;
color: #000000;
font-family: monospace;
View textadept_run_standard_before_save.lua
--[[
JavaScript:
--]]
standard = '/usr/local/bin/node /usr/local/bin/standard --fix '
-- Format JavaScript with the 'Compile' command.
textadept.run.compile_commands.javascript = standard .. ' "%f"'
-- Format JavaScript before save:
events.connect(
View fix_steam_lubuntu_19.04.md

If you are receiving an error like this in Steam:

libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
Steam: An X Error occurred
X Error of failed request:  GLXBadContext
Major opcode of failed request:  152
Serial number of failed request:  50
xerror_handler: X failed, continuing
Steam: An X Error occurred
You can’t perform that action at this time.