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
sudo mysql -u root | |
[mysql] use mysql; | |
[mysql] update user set plugin='' where User='root'; | |
[mysql] flush privileges; | |
[mysql] \q |
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
<!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
#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
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
<?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 %{REQUEST_FILENAME} !-f | |
RewriteCond %{REQUEST_FILENAME} !-d | |
RewriteRule ^(.*)$ /index.php?ParaMeter=$1 [NC,L,QSA] |
NewerOlder