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
#!/bin/sh | |
# NOTE: | |
# Make sure that the value of Name, Type, TTL are the same with your DNS Record Set | |
HOSTED_ZONE_ID="ZCOKAAJ9UMS0T" | |
DNS_NAME="\\\\052.dev1.danwerspb.devops.rebrain.srwx.net" | |
RECORD_TYPE="A" | |
TTL=300 | |
RESOURCE_VALUE="92.53.91.116" |
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
# This file has been auto-generated by i3-config-wizard(1). | |
# It will not be overwritten, so edit it as you like. | |
# | |
# Should you change your keyboard layout some time, delete | |
# this file and re-run i3-config-wizard(1). | |
# | |
# i3 config file (v4) | |
# | |
# Please see https://i3wm.org/docs/userguide.html for a complete reference! |
This file has been truncated, but you can view the full file.
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/python3 | |
# -*- coding: utf-8 -*- | |
# В консоли браузера находим переменную "alsdj" | |
# Далее берем инфу из этой переменной: | |
# alsdj.PersonService.persons | |
# copy(alsdj.PersonService.persons) | |
# |
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
TIME="date +%Y%m%d_%H%M" | |
2 6 * * * rsync -av --delete ~/Code /home/backup/ > /home/backup/backup_log_$($TIME) 2>&1 | |
9 9 * * 1-6 cd /home/dp/Code/mashtab/veil-repo/devops/veil-vagrantfile; vagrant box update |
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
locale-gen en_US.UTF-8 | |
export LC_ALL="en_US.UTF-8" | |
sudo dpkg-reconfigure locales | |
sudo update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 LANGUAGE=en_US.UTF-8 |
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
#!/bin/bash | |
#set -x | |
COUNT_OLD_TAR=10 | |
# example name backup_20170404_1553.tar.gz | |
TIME=$(date +%Y%m%d_%H%M%S) | |
FILENAME=backup_$TIME.tar.gz | |
SRCDIR=/var/lib/jenkins | |
#DESTDIR=~/jenkins_backup | |
#cd $DESTDIR |