My configs for vim
and i3wm
:
- vim:
- Using Vundle plugin manager
- i3wm (config file is ~/.config/i3/config):
- System San Fransisco Font files should be put in ~/.fonts (just drop there all the
.ttf
-files)
- System San Fransisco Font files should be put in ~/.fonts (just drop there all the
Oh My Zsh
framework: https://ohmyz.sh/
Current theme of choice: af-magic
Autosuggestions plugin: https ://github.com/zsh-users/zsh-autosuggestions
z plugin: https ://github.com/rupa/z
zsh-autocomplete: https ://github.com/marlonrichert/zsh-autocomplete
zsh-interactive-cd: https ://github.com/ohmyzsh/ohmyzsh/tree/master/plugins/zsh-interactive-cd
-
preparing system configuration
sudo apt-get update
(keeps your source list up-to-date)
sudo atp-get upgrade
(upgrades all installed packages)
sudo apt-get dist-upgrade
(upgrade with some smart conflist-resolution system) -
installing python:
sudo apt-get install python2.7
-
installing and upgrading
pip
:
sudo apt-get install python-pip python-dev build-essential
sudo -H python -m pip install --upgrade
-
installing
cryptography
package:
sudo apt-get install libssl-dev libffi-dev python-dev
sudo -H python -m pip install cryptography
-
list of packages:
- Beautiful soup:
sudo -H python -m pip install bs4
- dateutil.parser:
sudo apt-get install python-dateutil
- Crypto:
sudo -H python -m pip install pycrypto
- builtins:
sudo -H python -m pip install future
- lxml:
sudo -H python -m pip install lxml
(HTML-markup parser forbs4
)
-
Setting environment variables
SHELL=/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
-
timeout
for terminating hanging processes
/usr/bin/timeout 5m
// Environment variable
SHELL=/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/bin:/usr/sbin:/usr/bin
// -----------------------------------------------------
// ps axo pid,etime,args -- to see id of process and its execution time
// -----------------------------------------------------
// -----------------------------------------------------
// adding timeout command to terminate hanging processes
// -----------------------------------------------------
*/2 * * * * /usr/bin/timeout 3m /home/ubuntu/Steamdaemon/steamdaemon/usr/terol983/scripts/_buyorder_checker.sh
*/2 * * * * /usr/bin/timeout 3m /home/ubuntu/Steamdaemon/steamdaemon/usr/terol983/scripts/_sellorder_checker.sh
0,20,40 * * * * /usr/bin/timeout 9m /home/ubuntu/Steamdaemon/steamdaemon/usr/terol983/scripts/_buyorder_installer.sh