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
#!/bin/bash | |
rm -rf /var/repo-s9s-tools.new | |
mkdir /var/repo-s9s-tools.new | |
cd /var/repo-s9s-tools.new | |
rm -rf /var/repo-s9s-tools.old | |
cp -fa /var/repo-s9s-tools /var/repo-s9s-tools.old | |
IFS=' | |
' |
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
#!/bin/bash | |
cd /var/repo-s9s-tools/ | |
IFS=' | |
' | |
URL=http://download.opensuse.org/repositories/home:/kedazo/ | |
echo "********************************************" | |
echo "* MIRRORING IN PROGRESS " | |
echo "********************************************" |
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
#!/bin/bash | |
if [[ $EUID != 0 ]]; then | |
echo "Please run this script as root (sudo)." | |
exit 1 | |
fi | |
for config in /etc/cmon.d/*.cnf; do | |
cat $config | egrep "^(hostname|mysql_port|mysql_hostname|mysql_password)" | |
if [[ $0 == 0 ]]; then | |
break |
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
Windows Registry Editor Version 5.00 | |
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Group Policy Objects\{E2F13B98-650F-47DB-845A-420A1ED34EC7}User\Software\Microsoft\Windows\CurrentVersion\Policies\Associations] | |
"LowRiskFileTypes"=".exe;.bat;.cmd;.vbs" | |
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Associations] | |
"LowRiskFileTypes"=".exe;.bat;.cmd;.vbs" | |
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
ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA6V8fXTuQWDmL/GQ4OBjdaF1QY5Esv9xEPg5Asd6Yo7cEXb3YEatB4VOqg04bgNsowa6LN3H9EUpnBoJfZCkct8n12WCjJHnzvfHfBDYlQVa5ersPKG2kTAr2TdfHJPIMNBY6jTMhBqs+Zr0zMhsf9D0p52rz/i3CQDkAbwCoGa6sRS3K4bnWEHrsjPUGPj7pjMyUhX7WEGuzCVIi1tbbVDmW6vgZ6epCyPzwcnOrrt/br6S8Yq7jiNAqhdYJkh59WtrtpbDu6mwvj1yndiOdJtP6Pm8zi2asDZy/am2MYumNu+9IvmtTNAkSvUX9E3GniGQKr1B6rkfff6/HpqYocw== kedz@kedz-PC |
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
root@ubuntu-xenial:~# apt-get install percona-xtrabackup | |
Reading package lists... Done | |
Building dependency tree | |
Reading state information... Done | |
The following packages were automatically installed and are no longer required: | |
libio-socket-ssl-perl libnet-libidn-perl libnet-ssleay-perl libterm-readkey-perl | |
Use 'sudo apt autoremove' to remove them. | |
The following additional packages will be installed: | |
libdbd-mysql-perl libmysqlclient20 mysql-common | |
The following NEW packages will be installed: |
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
libmysqlclient18 |
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
/* | |
* ESP8266 CheckFlashConfig by Markus Sattler | |
* | |
* This sketch tests if the EEPROM settings of the IDE match to the Hardware | |
* | |
* https://github.com/esp8266/Arduino/blob/master/libraries/esp8266/examples/CheckFlashConfig/CheckFlashConfig.ino | |
*/ | |
#include <ESP8266WiFi.h> | |
#include <WiFiClient.h> |
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 ft_install_suite.sh | |
#!/bin/bash | |
OSES="centos66 centos70 debian7 debian8 ubuntu1204 ubuntu1404" | |
for os in $OSES; do | |
ft_install/ft_install --mysql-version=5.6 --vendor=percona --os=$os | |
ft_install/ft_install --mysql-version=10.1 --vendor=mariadb --os=$os | |
ft_install/ft_install --mysql-version=5.6 --vendor=codership --os=$os | |
done |
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
# create a new directory chroot: | |
rinse --distribution centos-6 --arch amd64 --directory /mnt/data/rootstraps/centos6/ | |
# schroot configuration up, put this to /etc/schroot/schroot.conf : | |
[centos6] | |
description=CentOS6 chroot | |
type=directory | |
directory=/mnt/data/rootstraps/centos6 |