sudo apt update
sudo apt install libimage-exiftool-perl
#automatically creates backup
exiftool -Title="New Title" -Author="New Author" -Subject="New Subject" birlawhite-warranty-card.pdf
#overwrites original
exiftool -overwrite_original -Title="New Title" -Author="New Author" -Subject="New Subject" file.pdf
This file has been truncated, but you can view the full file.
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
$json = '[[{"lat":17.00537379223758,"lng":75.03474028272734},{"lat":16.906448552227882,"lng":74.93134923444453}],[{"lat":17.10429903224728,"lng":75.03474028272734},{"lat":17.00537379223758,"lng":74.93134923444453}],[{"lat":17.20322427225698,"lng":75.03474028272734},{"lat":17.10429903224728,"lng":74.93134923444453}],[{"lat":17.302149512266677,"lng":75.03474028272734},{"lat":17.20322427225698,"lng":74.93134923444453}],[{"lat":17.401074752276376,"lng":75.03474028272734},{"lat":17.302149512266677,"lng":74.93134923444453}],[{"lat":17.499999992286075,"lng":75.03474028272734},{"lat":17.401074752276376,"lng":74.93134923444453}],[{"lat":17.598925232295773,"lng":75.03474028272734},{"lat":17.499999992286075,"lng":74.93134923444453}],[{"lat":17.697850472305472,"lng":75.03474028272734},{"lat":17.598925232295773,"lng":74.93134923444453}],[{"lat":17.79677571231517,"lng":75.03474028272734},{"lat":17.697850472305472,"lng":74.93134923444453}],[{"lat":17.89570095232487,"lng":75.03474028272734},{"lat":17.79677571231517,"lng":74. |
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 | |
// Tested in WP Version - 5.9.3 | |
// This file is part of functions.php | |
// Manipulate robots based on post status. | |
add_filter( 'wpseo_robots', 'yoast_seo_update_archive_robots_meta' ); | |
function yoast_seo_update_archive_robots_meta( $robots ) { | |
if ( get_post_status() == 'archived') { | |
return 'noindex,nofollow'; | |
} else { |
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
<style> | |
div,p{ | |
display:inline; /*Added to avoid confusion in outpu*/ | |
} | |
</style> | |
<form method="POST"> | |
<textarea name="html_input" required ><?php echo !empty($_POST['html_input'])?$_POST['html_input']:'';?></textarea> | |
<input type="submit"> | |
</form> | |
<?php |
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
// Simple steps to execute this | |
// 1. Login to rediffmail | |
// 2. Goto Inbox | |
// 3. Copy Below code and paste in console | |
``` | |
function deleteAllMailsFromRediffMailInbox() | |
{ | |
$('.rd_mail_sel_all').click(); |
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
var english = { | |
errorTitle: 'Form submission failed!', | |
requiredFields: 'You have not answered all required fields', | |
requiredField: 'This field is required', | |
// badTime: 'You have not given a correct time', | |
badEmail: 'You have not given a correct e-mail address', | |
badTelephone: 'You have not given a correct phone number', | |
// badSecurityAnswer: 'You have not given a correct answer to the security question', | |
// badDate: 'You have not given a correct date', | |
lengthBadStart: 'The input value must be between ', |
- Before cloning project on server run below command. ref
$ umask 0022
- Then clone your project
- Run composer update ```$ composer update`
- Give required permissions
$ chmod 0777 -R storage/
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
{"AN":["Bombuflat","Garacharma","Port Blair","Rangat"],"AP":["Addanki","Adivivaram","Adoni","Aganampudi","Ajjaram","Akividu","Akkarampalle","Akkayapalle","Akkireddipalem","Alampur","Amalapuram","Amudalavalasa","Amur","Anakapalle","Anantapur","Andole","Atmakur","Attili","Avanigadda","Badepalli","Badvel","Balapur","Bandarulanka","Banganapalle","Bapatla","Bapulapadu","Belampalli","Bestavaripeta","Betamcherla","Bhattiprolu","Bhimavaram","Bhimunipatnam","Bobbili","Bombuflat","Bommuru","Bugganipalle","Challapalle","Chandur","Chatakonda","Chemmumiahpet","Chidiga","Chilakaluripet","Chimakurthy","Chinagadila","Chinagantyada","Chinnachawk","Chintalavalasa","Chipurupalle","Chirala","Chittoor","Chodavaram","Choutuppal","Chunchupalle","Cuddapah","Cumbum","Darnakal","Dasnapur","Dauleshwaram","Dharmavaram","Dhone","Dommara Nandyal","Dowlaiswaram","East Godavari Dist.","Eddumailaram","Edulapuram","Ekambara kuppam","Eluru","Enikapadu","Fakirtakya","Farrukhnagar","Gaddiannaram","Gajapathinagaram","Gajularega","Gajuvaka","Ganna |
NewerOlder