Примечания
-
Под клиентами подразумеваются программные сущности, использующие другие программные сущности.
-
Этот файл является переводом статьи с сайта medium.com пользователя DeeKey, ссылка в завершении файла.
def radix_sort(arr): | |
""" | |
Radix sort starting from the least significant digit(LSD) | |
:param arr: The list needs to be sorted | |
:return: A sorted list | |
""" | |
# Find the maximum number of digits in the list | |
max_digits = max([len(str(x)) for x in arr]) | |
# Set the base (radix) to 10 |
#!/usr/bin/env python | |
# vim: set fileencoding=utf-8 | |
# | |
# USAGE: | |
# Back up your tmux old config, run the script and redirect stdout to your conf | |
# file. Example: | |
# | |
# $ cp ~/.tmux.conf ~/.tmux.conf.orig | |
# $ python ./tmux-migrate-options.py ~/.tmux.conf.orig > ~/.tmux.conf | |
# |
Create file /etc/systemd/system/[email protected]
. SystemD calling binaries using an absolute path. In my case is prefixed by /usr/local/bin
, you should use paths specific for your environment.
[Unit]
Description=%i service with docker compose
PartOf=docker.service
After=docker.service
Unfinished draft; do not use until this notice is removed.
We were seeing some unexpected behavior in the processes that Jenkins launches when the Jenkins user clicks "cancel" on their job. Unexpected behaviors like:
sudo add-apt-repository ppa:webupd8team/java; | |
sudo apt-get update; | |
sudo apt-get install oracle-java8-installer; | |
sudo update-alternatives --config java; | |
java -version; |