This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
/usr/libexec/PlistBuddy -c "Add :LSEnvironment dict" `brew --prefix --installed emacs-plus@29`/Emacs.app/Contents/Info.plist | |
/usr/libexec/PlistBuddy -c "Add :LSEnvironment:PATH string" `brew --prefix --installed emacs-plus@29`/Emacs.app/Contents/Info.plist | |
/usr/libexec/PlistBuddy -c "Set :LSEnvironment:PATH $(echo "$PATH")" `brew --prefix --installed emacs-plus@29`/Emacs.app/Contents/Info.plist | |
/usr/libexec/PlistBuddy -c "Print :LSEnvironment" `brew --prefix --installed emacs-plus@29`/Emacs.app/Contents/Info.plist | |
touch `brew --prefix --installed emacs-plus@29`/Emacs.app | |
I hereby claim:
- I am jsmestad on github.
- I am jstad (https://keybase.io/jstad) on keybase.
- I have a public key ASBO_saBFticZhgeKvYiOJDU4NnS-kUqcj4Y1USPbKShCgo
To claim this, I am signing this object:
An animated cheatsheet for smartparens using the example configuration specified here by the smartparens author. Inspired by this tutorial for paredit.
C-M-f | sp-forward-sexp |
C-M-b | sp-backward-sexp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
AllCops: | |
TargetRubyVersion: 2.4 | |
#################### Lint ################################## | |
### Warnings | |
Lint/AmbiguousBlockAssociation: | |
Description: >- | |
Checks for ambiguous block association with method when param passed without | |
parentheses. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"workbench.colorTheme": "Spacemacs - light", | |
"vim.disableAnnoyingNeovimMessage": true, | |
"editor.fontFamily": "Hack, Menlo, Monaco, 'Courier New', monospace", | |
"editor.fontSize": 14, | |
"editor.tabSize": 2, | |
"[json]": { | |
}, | |
"[javascript]": { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- ruby-mode.el 2017-04-23 19:47:09.000000000 -0600 | |
+++ ruby-mode-revised.el 2017-04-23 19:47:27.000000000 -0600 | |
@@ -349,6 +349,18 @@ | |
"Use `ruby-encoding-map' to set encoding magic comment if this is non-nil." | |
:type 'boolean :group 'ruby) | |
+(defvar ruby-symbol-face 'ruby-symbol-face) | |
+(defface ruby-symbol-face | |
+ '((t (:inherit ruby-constant-face))) | |
+ "Syntax highlighting for Ruby symbol." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local return_code="%(?..%{$fg[red]%}%? ↵%{$reset_color%})" | |
local user_host='%{$terminfo[bold]$fg[green]%}%n@%m%{$reset_color%}' | |
local current_dir='%{$terminfo[bold]$fg[blue]%}%~%{$reset_color%}' | |
local ruby_version='%{$fg[red]%}$(rbenv_prompt_info)%{$reset_color%}' | |
local git_branch='%{$fg[blue]%}$(git_prompt_info)%{$reset_color%}' | |
PROMPT="${user_host}:${current_dir} ${ruby_version} | |
${git_branch} %B$%b " | |
RPS1="${return_code}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
user: { | |
# .. existing stuff from update | |
permissions: { | |
'dns_manager': [], | |
'ctms': [], | |
'registrar': [] | |
} | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def current_user=(val) | |
session[:signed_token] = @user | |
@user = User.find(....) | |
@user.signing_token = session[:signed_token] | |
end | |
class User | |
#... |
NewerOlder