Posts

This is a SAMPLE TESTING MESSAGE sent through Cell Broadcasting System by Department of Telecommunication

Image
  This is a SAMPLE TESTING MESSAGE sent through Cell Broadcasting System by Department of Telecommunication, Government of India. Please ignore this message as no action is required from your end. This message has been sent to test Pan-India Emergency Alert System being implemented by National Disaster Management Authority. It aims to enhance public safety and provide timely alerts during emergencies. Timestamp: 12-10-2023 12:13 PM 21

Image resize lambda function using ffmpeg command

Image
Using the ffmpeg command, we can resize the images using the specified pixels. Below are the lambda functions used to convert images using the lambda function. ============= import os import subprocess import shlex import boto3 import json import urllib.parse from time import sleep S3_DESTINATION_BUCKET = "s3-bucket-name" SIGNED_URL_TIMEOUT = 600 def lambda_handler ( event , context ): os.chdir( '/tmp' ) s3_source_bucket = event[ 'Records' ][ 0 ][ 's3' ][ 'bucket' ][ 'name' ] s3_source_key = urllib.parse.unquote_plus(event[ 'Records' ][ 0 ][ 's3' ][ 'object' ][ 'key' ], encoding = 'utf-8' ) s3_source_basename = os.path.splitext(os.path.basename(s3_source_key))[ 0 ] s3_source_key_new = os.path.basename(s3_source_key) s3_destination_filename_xlarge = "xlarge" +s3_source_key_new s3_destination_filename_large = "large" +s3_source_key_new s3_

Reliance Capital auction : Torrent Group emerges highest bidder in phase-1

Image
Torrent Group is an Indian multinational conglomerate, based in Ahmedabad. Torrent Group emerged as the highest bidder with Rs 8,640 crore bid for Reliance Capital in the e-auction held on Wednesday.Hinduja Group was at a close number two

Nginx How to redirect all http and https requests to another site.

Image
We can redirect all http and https requests to another domain using the below script in the nginx configuration. 1. For HTTP redirection ------- server {        listen         80;        server_name    domain.com;        return         301 https://domain.com$request_uri; } 2. For HTTPS redirection ------ server {        listen         443 ssl;        server_name    domain.com;        return         301 https://domain.com$request_uri;        sl_certificate    /etc/ssl/domain.com.pem; ssl_certificate_key    /etc/ssl/domain.com.key; }

Eatclub 200 rs voucher

Image
Please enter coupon code and get 200 RS offer  ARUN57NB

How to upgrade from mysql 5.5 to mysql 8.0

Image
1 2 3

Neha Kakkar Concert Video

Image