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
apt update | |
apt-get install postgresql-12 | |
update /etc/postgresql/12/main/postgresql.conf: "listen_addresses = '*'" | |
update /etc/postgresql/12/main/pg_hba.conf: "host all all 0.0.0.0/0 md5" | |
service postgresql restart | |
su - postgres |
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 -u # prevent unbound variables | |
set -e # terminate on error | |
set -o nounset | |
WORKING_DIR=$(pwd) | |
boot2docker ssh " | |
echo 'Checking rsync on boot2docker VM' |
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 | |
# Sony VAIO VPCEB2E1E/WI drivers downloader script | |
# | |
# I wanted to download a driver for laptop of my wife. | |
# Download the driver from the sony.com it is extremely tedious. | |
# You need to open each page, set the checkbox and click download. | |
# This script will download all drivers. | |
drivers=("http://www.sony.ru/support/ru/product/VPCEB2E1E_WI/downloads/Ethernet_Driver_Marvell_11_22_TF_11_22_4_3_6080" |
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
- abbr: AK | |
name: Alaska | |
lat: 61.3850 | |
lng: -152.2683 | |
- abbr: AL | |
name: Alabama | |
lat: 32.7990 | |
lng: -86.8073 | |
- abbr: AR | |
name: Arkansas |