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
nfedyashev / install-rabbitmq.sh
Created Jan 5, 2020 — forked from yetanotherchris/install-rabbitmq.sh
RabbitMQ on Docker with admin UI
View install-rabbitmq.sh
# 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
nfedyashev / burn.sh
Created Dec 7, 2019
burn manjaro iso to flash drive
View burn.sh
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
https://www.youtube.com/feeds/videos.xml?channel_id=CHANNELID
@nfedyashev
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)
(save-excursion
(goto-char (point-max))
(while (outline-previous-heading)
(org-id-get-create)))
View gist:b24ba8ebe165d582c32e8e05515a643a
cd ~/.emacs.d/elpa/
cd develop
find org*/*.elc -print0 | xargs -0 rm
#spacemacs/recompile-elpa
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
View aliases.sh
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
helm-ag-edit
avy-goto-char-timer
view-lossage
SPC v v - expand selection region
dump jump
You can’t perform that action at this time.