I hereby claim:
- I am mvoropaiev on github.
- I am mvoropaiev (https://keybase.io/mvoropaiev) on keybase.
- I have a public key ASBwNxONp-LiS7_8Fd2xnBcZ2EXky6DlUoMMK0a4AjiK7Qo
To claim this, I am signing this object:
# * rpmfusion repository is required: | |
# http://rpmfusion.org/Configuration | |
# * install codecs: | |
sudo dnf install \ | |
gstreamer-ffmpeg \ | |
gstreamer-plugins-bad \ | |
gstreamer-plugins-bad-free \ | |
gstreamer-plugins-bad-nonfree \ | |
gstreamer-plugins-good \ | |
gstreamer-plugins-ugly \ |
# taken from: | |
# https://github.com/folkswithhats/fedy | |
# fix for double icon in dock | |
file="/usr/share/applications/google-chrome.desktop" | |
str_arr=("Desktop Entry" "NewWindow Shortcut Group" "NewIncognito Shortcut Group") | |
fix_str="StartupWMClass=Google-chrome-stable" | |
for i in "${str_arr[@]}" | |
do | |
line=`grep -n "\\[$i\\]" $file | cut -d : -f 1` |
#!/usr/bin/env bash | |
set -ex | |
## update system | |
sudo dnf upgrade --assumeyes --refresh | |
## fstrim (on luks, no lvm) | |
# 1. add 'rd.luks.options=discard' to /etc/default/grub (at the end of `GRUB_CMDLINE_LINUX="... rd.luks.options=discard"`) | |
# 2. run 'sudo grub2-mkconfig -o /boot/grub2/grub.cfg' | |
# 3. add `luks,allow-discards` too all encrypted volumes in /etc/crypttab (at the end of line) |
[mvoropaiev@voyageur muse-docker (feature/dev-env)]$ docker ps | grep frontend | |
93954c348d65 musedocker_frontend "/entrypoint.sh runse" 34 seconds ago Up 33 seconds 0.0.0.0:5000->5000/tcp musedocker_frontend_1 | |
[mvoropaiev@voyageur muse-docker (feature/dev-env)]$ curl localhost:5000 | |
curl: (56) Recv failure: Connection reset by peer | |
[mvoropaiev@voyageur muse-docker (feature/dev-env)]$ docker exec -it musedocker_frontend_1 curl localhost:5000 | |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<title>MUSE Network </title> |
# update system | |
zypper ref \ | |
&& zypper dup | |
# keepassx | |
zypper install keepassx | |
# google chrome | |
zypper install 'https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm' |
docker run \ | |
--rm \ | |
--volume "$PWD":/usr/src/app \ | |
--volume "$PWD/.bundle":/usr/local/bundle \ | |
-w /usr/src/app \ | |
ruby \ | |
bash -c "bundle check || bundle install" |
#!/usr/bin/env bash | |
exec notify-send \ | |
--hint="int:transient:1" \ | |
--icon="rss" \ | |
--app-name="newsbeuter" \ | |
"newsbeuter" "$@" |
# first draft | |
# app store: | |
# paws for trello ($): https://itunes.apple.com/us/app/paws-for-trello/id1124077199?mt=12 | |
# whatsapp desktop: https://itunes.apple.com/us/app/whatsapp-desktop/id1147396723?mt=12 | |
# amphetamine: https://itunes.apple.com/us/app/amphetamine/id937984704?mt=12 | |
# brew | |
brew install \ | |
bash-completion \ |
I hereby claim:
To claim this, I am signing this object:
# iterm2 shell integration is required | |
it2toucbar_status() { | |
msg="${PWD##*/}" | |
branch=$(git rev-parse --abbrev-ref HEAD 2> /dev/null) | |
[[ -n "$branch" ]] && msg+=": $branch" | |
echo "$msg" | |
} | |
[[ $PROMPT_COMMAND != *"it2toucbar_status"* ]] && PROMPT_COMMAND+='it2setkeylabel set status "$(it2toucbar_status)"' |