http://www.shaunfreeman.co.uk/install-fail2ban-on-centos-6-with-plesk/
http://forum.parallels.com/showthread.php?72464-Shell-script-for-checking-mail-queue
http://www.devcu.com/forums/topic/274-locking-down-postfix-against-spam/
| DROP TABLE IF EXISTS `cities`; | |
| CREATE TABLE `cities` ( | |
| `id` int(2) NOT NULL, | |
| `title` varchar(255) NOT NULL, | |
| `lat` double(11,8) DEFAULT NULL, | |
| `lng` double(11,8) DEFAULT NULL, | |
| `northeast_lat` double(11,8) DEFAULT NULL, | |
| `northeast_lng` double(11,8) DEFAULT NULL, | |
| `southwest_lat` double(11,8) DEFAULT NULL, | |
| `southwest_lng` double(11,8) DEFAULT NULL, |
| CARD TYPE NUMBER | |
| -------------------------------------------------- | |
| Master Card (16 Digits) 5105105105105100 | |
| Master Card (16 Digits) 5555555555554444 | |
| Visa (13 Digits) 4222222222222 | |
| Visa (16 Digits) 4111111111111111 | |
| Visa (16 Digits) 4012888888881881 | |
| American Express (15 Digits) 378282246310005 | |
| American Express (15 Digits) 371449635398431 | |
| Amex Corporate (15 Digits) 378734493671000 |
| <?php | |
| if (!function_exists('mb_ucwords')) | |
| { | |
| function mb_ucwords($str) | |
| { | |
| return mb_convert_case($str, MB_CASE_TITLE, "UTF-8"); | |
| } | |
| } |
| curl -O http://ftp.gnu.org/gnu/wget/wget-1.17.tar.gz | |
| tar -xzf wget-1.17.tar.gz | |
| cd wget-1.17 | |
| ./configure --with-ssl=openssl | |
| ./configure --with-ssl=openssl --with-libssl-prefix=/usr/local/ssl | |
| make | |
| sudo make install | |
| wget --help | |
| cd .. && rm -rf wget* |
| url_title('CodeIgniter ile Wordpress Benzeri Adresler Oluşturmak'); |
| <?php | |
| file_put_contents('progress.txt', ''); | |
| if (is_file('progress.txt')) { | |
| unlink('progress.txt'); | |
| } | |
| if (is_file('testfile.iso')) { | |
| unlink('testfile.iso'); | |
| } |
| ABBR CODE COUNTRY | |
| ----------------------- | |
| US 1 ABD | |
| VI 1 ABD Virjin Adaları | |
| AF 93 Afganistan | |
| AX 358 Åland Adaları | |
| DE 49 Almanya | |
| AS 1 Amerikan Samoası | |
| AD 376 Andorra | |
| AO 244 Angola |
| // http://forums.laravel.io/viewtopic.php?id=1943#p12005 | |
| Route::get('settings/(account|notifications|profile)', array( | |
| 'as' => 'settings', | |
| 'uses' => 'account.settings@(:1)' | |
| )); | |
| URL::to_route('settings', 'profile'); |
| App::before(function($request) | |
| { | |
| // default browser language | |
| $language = substr($request->server->get('HTTP_ACCEPT_LANGUAGE'), 0, 2); | |
| // language set from route | |
| if (null !== $request->segment(1)) { | |
| $routeLanguage = $request->segment(1); | |
| if (! in_array($routeLanguage, Config::get('site.languages'))) { |