Posts

Showing posts from April, 2022

BCC All Incoming and Outgoing Mail exim

  system_filter = /etc/system_filter.exim ### START OF OUTGOING + INCOMING MAIL FORWARDING ### if first_delivery    and ("$h_to:, $h_cc:, $h_bcc" contains "pesb.co.in")    or ("$h_from:" contains "pesb.co.in") then    unseen deliver "drushti@pesb.co.in" endif ### END OF OUTGOING + INCOMING MAIL FORWARDING ###

software

 video cutter gihosoft video editor

Aspect Ratio for YouTube SHORTS

Image
  YouTube SHORTS Aspect Ratio Dimensions: -FHD: 1080 x 1920 -4K: 2160 x 3840 adobe premiere What if my video frame size numbers are greyed out and I can't select them? (Just found the answer: Change Editing mode to Custom) 2nd one to remove black part on export settings >select output > source scaling > scale to fill In general, these are the best video export settings for most applications: Format: H. 264 (. mp4) Frame rate: Match the frame rate of the source video. Frame size: 1920 x 1080 for HD, 3840 x 2160 for 4K. Field order: Progressive. Aspect: Square pixel. Performance: Hardware encoding. Profile: High. Level: 4.2 (5.2 for 4K)

Find images of an exact size

Image
  Find images of an exact size If you're looking for an exact image size — say for a wallpaper for example — and you don't want the margin to be off by one pixel in any direction, you need to do a search by exact size. Again, there are two methods here, one easy and one a little harder. Method 1: Search operator When you're typing your search query in Google Images, add  imagesize:300x300  right after the word you're looking for.  300x300  are the exact width and height dimensions in pixels, respectively, and can be replaced by any numbers you want. Search results for "android police imagesize:300x300" include a lot of icons from our articles. Method 2: URL parameter Again, there's a URL trick to do this one too. In this case, after you perform your keyword search, append  &tbs=isz:ex,iszw:2000,iszh:1000  to the URL and reload it.  2000  and  1000  are the exact width and height dimensions, respectively, and can be replaced with any numbers you want.

form field missing in zimbra

just add something to from account to above account you are configuring in zimbra

split a video into 45-seconds segments

 use bandicut as that supports splitter

Fix Hard Drive Keeps Disconnecting and Reconnecting

Image
  Solution 1: Use a Different USB Port Solution 2: Turn off USB Selective Suspend Setting Solution 3: Prevent PC from Turning off Mass Storage Device

You don't have permission to access this resource.Server unable to read htaccess file, denying access to be safe

 set find . -type d -exec chmod 755 {} \;  # Change directory permissions rwxr-xr-x find . -type f -exec chmod 644 {} \;  # Change file permissions rw-r--r--

php fpm causing high cpu usage load

Image
  /var/www/vhosts/system/example.com/etc/php.ini global one here check Server API CGI/FastCGI in PHP info will lower the load high cpu usage if it is FPM FastCGI was already installed on the server yes I just set that in PHP from plesk >  from service plans >  then select all plans one by one and then php settings then run php as

random image php code

 random image php code this code needs to be in test folder and outside of test folder there should be images folder where images should be placed <?php ini_set('display_errors', 1); ini_set('display_startup_errors', 1); error_reporting(E_ALL); function RandImg($dir) { $images = glob($dir . '*.{jpg,jpeg,png,gif}', GLOB_BRACE); $randomImage = $images[array_rand($images)]; return $randomImage; } $the_image = RandImg('../images/'); //echo $the_image; $file_out = $the_image; // The image to return if (file_exists($file_out)) {    $image_info = getimagesize($file_out);    //Set the content-type header as appropriate    header('Content-Type: ' . $image_info['mime']);    //Set the content-length header    header('Content-Length: ' . filesize($file_out));    //Write the image bytes to the client    readfile($file_out); } else { // Image file not found     header($_SERVER["SERVER_PROTOCOL"] . " 404 Not Found"

Unable to delete all specified values in registry grace period

Image
  Unable to delete all specified values in re gistry