HKEY_LOCAL_MACHINE > SOFTWARE > Microsoft > Windows > CurrentVersion > SideBySide.
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
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> | |
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0" xmlns:asmv3="urn:schemas-microsoft-com:asm.v3"> | |
<dependency> | |
<dependentAssembly> | |
<assemblyIdentity | |
type="win32" | |
name="Microsoft.Windows.Common-Controls" | |
version="6.0.0.0" processorArchitecture="*" |
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
RewriteEngine on | |
RewriteCond %{HTTP_HOST} ^antoniocampos.net [NC] | |
RewriteRule ^(.*)$ http://www.antoniocampos.net/$1 [L,R=301,NC] |
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
RewriteEngine on | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteCond %{REQUEST_FILENAME} !-d | |
RewriteRule ^(.*)$ /index.php?ParaMeter=$1 [NC,L,QSA] |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Javascript Play Sound</title> | |
<script src="playsound.js"></script> | |
</head> | |
<body> | |
<a href="#" onclick="PlaySound()">Play</a> | |
</body> | |
</html> |
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
# install apache | |
apt-get install apache2 | |
# install MariaDB | |
apt install mariadb-server | |
# configure MariaDb root Password | |
mysql_secure_installation | |
# install php and configure apache | |
apt install php libapache2-mod-php php-gd php-mysql php-pear libgd-tools |
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
#Depending on version one of the following files must exist | |
root@host:/ nano /etc/fail2ban/action.d/iptables-blocktype.conf | |
or | |
root@host:/ nano /etc/fail2ban/action.d/iptables-common.conf | |
comment the line |
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
#OpenVPN 2.4 no longer accepts CRLs who's nextUpdate field lies in the past. | |
# | |
# me@antoniocampos.net 2017 | |
# no need for any change at the client side | |
# you may want to increase the CRL EXPIRE period | |
# just increase the value default_crl_days = ?? in the openssl.cnf | |
# tested with Debian 9 and OpenVPN 2.4 | |
cd /etc/openvpn/2.0/ | |
export KEY_CN="My VPN Server" | |
export KEY_OU="IT Dep" |
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 this lines to your .ovpn | |
; replace x.x.x.x with your local dns servers (the server that "know" the domain) | |
dhcp-option DNS x.x.x.x | |
dhcp-option DNS x.x.x.x | |
; replace antoniocampos.net by your local domain | |
dhcp-option DOMAIN antoniocampos.net | |
dhcp-option ADAPTER_DOMAIN_SUFFIX antoniocampos.net | |
; more important!! | |
block-outside-dns |
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
apt install curl apt-transport-https gnupg | |
curl https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add - | |
curl https://packages.microsoft.com/config/debian/10/prod.list | tee /etc/apt/sources.list.d/msprod.list | |
curl https://packages.microsoft.com/config/ubuntu/20.04/prod.list | tee /etc/apt/sources.list.d/msprod.list | |
apt-get update | |
apt-get install -y mssql-server mssql-tools unixodbc-dev | |
echo 'export PATH="$PATH:/opt/mssql-tools/bin"' >> ~/.bash_profile | |
source ~/.bashrc | |
/opt/mssql/bin/mssql-conf setup | |
# follow the steps! |
OlderNewer