How to create a volume and set local host mount point.
docker volume create --driver local \
--opt type=none \| :r !uuidgen|sed 's/.*/"uid": "&",/' |
| # 0 is too far from ` ;) | |
| set -g base-index 1 | |
| # Automatically set window title | |
| set-window-option -g automatic-rename on | |
| set-option -g set-titles on | |
| #set -g default-terminal screen-256color | |
| set -g status-keys vi | |
| set -g history-limit 10000 |
| # The command finds the most recent tag that is reachable from a commit. | |
| # If the tag points to the commit, then only the tag is shown. | |
| # Otherwise, it suffixes the tag name with the number of additional commits on top of the tagged object | |
| # and the abbreviated object name of the most recent commit. | |
| git describe | |
| # With --abbrev set to 0, the command can be used to find the closest tagname without any suffix: | |
| git describe --abbrev=0 | |
| # other examples |
A script collection for MSSql databases administration
| SELECT TOP (1000) q.[Id], q.[JobId], q.[Name], q.[Reason], q.[CreatedAt], q.[Data] | |
| FROM [SimplesNacional.Task].[HangFire].[State] q | |
| INNER JOIN | |
| ( | |
| SELECT | |
| MAX(x.id) stateid, | |
| x.jobid | |
| FROM [SimplesNacional.Task].[HangFire].[State] x | |
| WHERE x.name = 'Failed' | |
| AND x.jobid IN |
| sudo apt-get remove --purge vim vim-runtime vim-gnome vim-tiny vim-gui-common | |
| sudo apt-get install liblua5.1-dev luajit libluajit-5.1 python-dev ruby-dev libperl-dev libncurses5-dev libatk1.0-dev libx11-dev libxpm-dev libxt-dev | |
| #Optional: so vim can be uninstalled again via `dpkg -r vim` | |
| sudo apt-get install checkinstall | |
| sudo rm -rf /usr/local/share/vim /usr/bin/vim | |
| cd ~ |
| " Settings | |
| set nohud | |
| set nosmoothscroll | |
| set noautofocus " The opposite of autofocus; this setting stops | |
| " sites from focusing on an input box when they load | |
| set typelinkhints | |
| let searchlimit = 30 | |
| let scrollstep = 70 | |
| let barposition = "top" | |
| let blacklists = ["*://en.todoist.com/*","*://www.keyhero.com/*","*://localhost/*","*://mail.google.com/*","*://inbox.google.com/*","*://web.whatsapp.com/*","*://outlook.live.com/*", "*://www.youtube.com/*", "*://*.typingclub.com/*", "*://www.vimgenius.com/*"] |