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 OR REPLACE FUNCTION rd256_decode(text, text, text) | |
RETURNS text AS | |
$BODY$ | |
use Mcrypt; | |
use MIME::Base64; | |
use utf8; | |
use Encode qw(encode decode); | |
my ($encoded, $key, $iv) = @_; |
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/sh | |
CONFIG_FILE="/etc/httpd/conf/httpd.conf" | |
DATE=`date '+%Y%m%d'` | |
if [ -f "${CONFIG_FILE}.orig.${DATE}" ]; then | |
echo '(maybe)apache config file is already converted. :-P' | |
exit | |
fi |
OlderNewer