This file contains hidden or 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
# 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 \ |
This file contains hidden or 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
#!/usr/bin/env bash | |
exec notify-send \ | |
--hint="int:transient:1" \ | |
--icon="rss" \ | |
--app-name="newsbeuter" \ | |
"newsbeuter" "$@" |
This file contains hidden or 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
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" |
This file contains hidden or 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
# 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' |
This file contains hidden or 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
[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> |
This file contains hidden or 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
#!/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) |
This file contains hidden or 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
# 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` |
This file contains hidden or 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
# * 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 \ |
NewerOlder