POP3
mail.domainadresi.com
110
@media screen and (max-width:320px) {} | |
@media screen and (min-width:321px) and (max-width:639px) {} | |
@media screen and (min-width:640px) and (max-width:959px) {} | |
@media screen and (min-width:960px) and (max-width:1279px) {} | |
@media screen and (min-width:1280px) and (max-width:1599px) {} | |
@media screen and (min-width:1600px) {} | |
@media screen and (min-width:1920px) {} | |
@media print {} |
function clean( $str ) { | |
return preg_replace("/[^a-z0-9\.]/", "", strtolower($str)); | |
} |
if( $_SERVER['SERVER_ADDR'] == '127.0.0.1' ) { | |
define('ENVIRONMENT', 'development'); | |
} else { | |
define('ENVIRONMENT', 'production'); | |
} |
<IfModule mod_expires.c> | |
ExpiresActive On | |
ExpiresByType image/jpg "access 1 year" | |
ExpiresByType image/jpeg "access 1 year" | |
ExpiresByType image/gif "access 1 year" | |
ExpiresByType image/png "access 1 year" | |
ExpiresByType text/css "access 1 month" | |
ExpiresByType application/pdf "access 1 month" | |
ExpiresByType text/x-javascript "access plus 1 month" |
RewriteEngine on | |
RewriteCond $1 !^(index\\.php|resources|robots\\.txt) | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteCond %{REQUEST_FILENAME} !-d | |
RewriteRule ^(.*)$ index.php/$1 [L,QSA] |
UPDATE table SET row = REPLACE(row, 'old value', 'new value'); |
img.size-auto, | |
img.size-full, | |
img.size-large, | |
img.size-medium, | |
.attachment img { | |
max-width: 100%; /* When images are too wide for containing element, force them to fit. */ | |
height: auto; /* Override height to match resized width for correct aspect ratio. */ | |
} | |
.alignleft, | |
img.alignleft { |
<?php | |
$now = time(); // or your date as well | |
$your_date = strtotime("2010-01-01"); | |
$datediff = $now - $your_date; | |
echo floor($datediff/(60*60*24)); | |
?> |
li + li:before{ | |
content: " | "; | |
padding: 0 10px; | |
color: darken(@eflatun, 40%); | |
} |