This file contains 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
@echo off | |
set curdir=%cd% | |
set VM_NAME="Ubuntu Server" | |
c: | |
cd\ | |
cd Program Files\Oracle\VirtualBox | |
:loop |
This file contains 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
#https://askubuntu.com/questions/145935/get-rid-of-0-5s-latency-when-playing-audio-over-bluetooth-with-a2dp | |
#!/bin/bash | |
BLUEZCARD=`pactl list cards short | egrep -o bluez.*[[:space:]]` | |
#pactl set-card-profile $BLUEZCARD a2dp_sink | |
#pactl set-card-profile $BLUEZCARD headset_head_unit | |
pactl set-card-profile $BLUEZCARD a2dp_sink |
This file contains 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
# Backup | |
docker exec CONTAINER /usr/bin/mysqldump -u root --password=root DATABASE > backup.sql | |
# Restore | |
cat backup.sql | docker exec -i CONTAINER /usr/bin/mysql -u root --password=root DATABASE | |
This file contains 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
docker build -t [REGISTRY_URL] . | |
docker push [REGISTRY_URL] |
This file contains 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
# Add the official rabbitmq source to your apt-get sources.list | |
sudo sh -c "echo 'deb http://www.rabbitmq.com/debian/ testing main' > /etc/apt/sources.list.d/rabbitmq.list"; | |
# Install the certificate | |
wget http://www.rabbitmq.com/rabbitmq-signing-key-public.asc | |
sudo apt-key add rabbitmq-signing-key-public.asc | |
rm rabbitmq-signing-key-public.asc | |
# Now install the latest rabbitmq | |
sudo apt-get update |
This file contains 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
cd /opt/f5/vpn/lib | |
sudo mv libssl.so.1.0.0 libssl.so.1.0.0_old | |
sudo mv libcrypto.so.1.0.0 libcrypto.so.1.0.0_old | |
sudo ln -s /usr/lib/x86_64-linux-gnu/libssl.so.1.1 libssl.so.1.0.0 | |
sudo ln -s /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 libcrypto.so.1.0.0 |
This file contains 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
[global_config] | |
inactive_color_offset = 0.807692307692 | |
suppress_multiple_term_dialog = True | |
title_hide_sizetext = True | |
[keybindings] | |
[layouts] | |
[[default]] | |
[[[child1]]] | |
command = "" | |
directory = "" |
This file contains 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
# cat /usr/local/bin/upgrade-all.sh | |
# chmod +x /usr/local/bin/upgrade-all.sh | |
sudo apt-get update | |
sudo apt-get -y upgrade | |
sudo apt-get -y dist-upgrade | |
sudo apt -y autoremove | |
sudo apt-get clean |
This file contains 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 | |
set -e | |
function help() { | |
local _FILE_NAME | |
_FILE_NAME=`basename ${BASH_SOURCE[0]}` | |
cat << HELP_USAGE |
This file contains 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 is Git's per-user configuration file. | |
[color] | |
ui = auto | |
status = auto | |
diff = auto | |
branch = auto | |
interactive = auto | |
[user] | |
name = Jefferson Follmann | |
email = jeff.follmann@gmail.com |
OlderNewer