Skip to content

Instantly share code, notes, and snippets.

Nikita Fedyashev nfedyashev

Block or report user

Report or block nfedyashev

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 update-spacemacs.txt
cd ~/.emacs.d
git pull origin develop
M-x configuration-layer/update-packages
nfedyashev /
Created Jan 5, 2020 — forked from yetanotherchris/
RabbitMQ on Docker with admin UI
# AWS specific install of Docker
sudo yum update -y
sudo yum install -y docker
sudo service docker start
sudo usermod -a -G docker ec2-user
# exit the SSH session, login again
# Docker
docker run -d --hostname my-rabbit --name some-rabbit -p 4369:4369 -p 5671:5671 -p 5672:5672 -p 15672:15672 rabbitmq
nfedyashev /
Created Dec 7, 2019
burn manjaro iso to flash drive
diskutil list
diskutil partitionDisk /dev/disk1 1 "Free Space" "unused" "100%"
sudo dd bs=1m of=/dev/rdisk1 if=manjaro-kde-17.0-stable-x86_64.iso
View youtube rss
nfedyashev / elisp
Created Nov 7, 2019
loop through all outline headings in the current file and add an ID if there's not already one there:
View elisp
(require 'org-id)
(goto-char (point-max))
(while (outline-previous-heading)
View gist:b24ba8ebe165d582c32e8e05515a643a
cd ~/.emacs.d/elpa/
cd develop
find org*/*.elc -print0 | xargs -0 rm
View tmux.conf
setw -g mode-keys vi
#bind h select-pane -L
#bind j select-pane -D
#bind k select-pane -U
#bind l select-pane -R
bind-key -r C-h select-window -t :-
bind-key -r C-l select-window -t :+
# act like GNU screen
unbind C-b
View spacemacs projectile bugfix
cd ~/.emacs.d
git checkout -b fix-org-projectile
git cherry-pick 6063466
rm CHANGELOG.develop
git add -A .
git cherry-pick --continue
alias whitespace='find . -not \( -name .svn -prune -o -name .git -prune \) -type f -print0 | xargs -0 file -In | grep -v binary | cut -d ":" -f1 | xargs -0 sed -i '' -E "s/[[:space:]]*$//"'
View A4.txt
SPC v v - expand selection region
dump jump
You can’t perform that action at this time.