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 win_config.bat
:: curl -o "%UserProfile%\win_config.bat" && "%UserProfile%\win_config.bat"
curl -o "%AppData%\Sublime Text 3\Packages\User\Witness.sublime-color-scheme"
curl -o "%AppData%\Sublime Text 3\Packages\User\Default.sublime-keymap"
curl -o "%AppData%\Sublime Text 3\Packages\User\Default.sublime-mousemap"
curl -o "%AppData%\Sublime Text 3\Packages\User\Preferences.sublime-settings"
curl -o "%AppData%\.emacs"
ryanpcmcquen /
Last active Jun 5, 2019
The McQuen fish prompt.
function fish_prompt
# Show entire directory string:
set -g fish_prompt_pwd_dir_length 0
# - green lines if the last return command is OK, red otherwise
# - your user name, in red if root or yellow otherwise
# - your hostname, in cyan if ssh or blue otherwise
# - the current path (with prompt_pwd)
# - date +%X
# - the current virtual environment, if any
# - the current git status, if any, with __fish_git_prompt
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout]
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 /
Created May 10, 2019
Disable `smartparens` on Emacs Prelude.

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 / 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
standard = '/usr/local/bin/node /usr/local/bin/standard --fix '
-- Format JavaScript with the 'Compile' command. = standard .. ' "%f"'
-- Format JavaScript before save:

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
ryanpcmcquen /
Created Jan 31, 2019
Reset file permissions to sane defaults.
find . -type d -exec chmod 755 {} \;
find . -type f -exec chmod 644 {} \;
You can’t perform that action at this time.