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
# POSTSCREEN OPTIONS v2017-03-18 | |
postscreen_access_list = permit_mynetworks, | |
cidr:/etc/postfix/postscreen_access.cidr, | |
cidr:/etc/postfix/postscreen_spf_whitelist.cidr, | |
hash:/etc/postfix/postscreen_whitelist | |
postscreen_blacklist_action = drop | |
postscreen_dnsbl_action = enforce | |
postscreen_greet_action = enforce | |
postscreen_dnsbl_threshold = 3 |
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
//+------------------------------------------------------------------+ | |
//| Period_Converter_Opt.mq4| | |
//| Copyright (c)2005, MetaQuotes Software Corp. | | |
//| http://www.metaquotes.net | | |
//| Ver.1.6 Modified by micclly| | |
//| Ver.1.5 Modified by fai | | |
//| Modified by wfy05@talkforex based on Period_Converter| | |
//| http://www.talkforex.com | | |
//+------------------------------------------------------------------+ | |
#property copyright "[email protected]" |
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
""" | |
Progress bar for rsync | |
======================== | |
Shows file progress and total progress as a progress bar. | |
Usage | |
--------- | |
Run rsync with -P and pipe into this program. Example:: |
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 port install php55 +fastcgi fcgi apache-ant php55-cgi php55-mbstring php55-curl php55-mcrypt php55-imagick php55-xdebug php55-iconv php55-mongo php55-oauth php55-openssl php55-esmtp php55-pop3 php55-tidy php55-uploadprogress php55-pcntl php55-sockets php55-soap php55-ssh2 php55-big_int php55-gd php55-svm php55-html_parse php55-http php55-mysql php55-pdflib php55-pear php55-peb php55-posix php55-pspell php55-rar php55-redis php55-snmp php55-stomp php55-svn php55-wddx php55-xmlrpc php55-yaml php55-zip php55-dbase php55-excel php55-gdchart php55-imap php55-xsl php55-redis | |
sudo port install postgresql92 postgresql92-server postgresql92-doc postgresql_autodoc php55-postgresql phppgadmin postgresql-jdbc mysql5-server phpmyadmin maven3 maven-ant-tasks | |
sudo port install nginx +flv +geoip +gzip_static +mail +mp4 +ssl +status +substitution +upload +upload_progress +xslt +zip | |
You may need to update your php.ini for any changes that have been made in this version of php55. Compare /opt/local/etc/php55/php.ini wit |
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
<?php | |
//Listing 3: Encrypting Data Using the mcrypt_ecb Function | |
// source http://stackoverflow.com/questions/16600708/php-string-encrypt-and-decrypt | |
echo("<h3> Symmetric Encryption </h3>"); | |
$key_value = "KEYVALUE"; | |
$plain_text = "PLAINTEXT"; | |
$encrypted_text = mcrypt_ecb(MCRYPT_DES, $key_value, $plain_text, MCRYPT_ENCRYPT); | |
echo ("<p><b> Text after encryption : </b>"); |
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
<?php | |
define("ENCRYPTION_KEY", "!@#$%^&*"); | |
$string = "This is the original data string!"; | |
echo $encrypted = encrypt($string, ENCRYPTION_KEY); | |
echo "<br />"; | |
echo $decrypted = decrypt($encrypted, ENCRYPTION_KEY); | |
/** | |
* Returns an encrypted & utf8-encoded |
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 | |
# inspiration [url]http://blog.rjmetrics.com/simple-deploy-script-for-php-applications/[/url] | |
# unzipping files [url]http://kb.winzip.com/kb/entry/124/[/url] | |
# todo: does current exist? does releases exist? | |
APP_NAME=clouddueling | |
DEPLOY_SERVER= | |
DEPLOY_PATH=/var/www/html | |
DEPLOY_USER= |
NewerOlder