Showing posts from January, 2023

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

  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

Google doodle celebrates India Republic Day

India achieved independence from the British Raj on 15 August 1947 following the Indian independence movement. The independence came through the Indian Independence Act 1947 (10 & 11 Geo 6 c 30), an Act of the Parliament of the United Kingdom that partitioned British India into the two new independent Dominions of the British Commonwealth (later Commonwealth of Nations India obtained its independence on 15 August 1947 as a constitutional monarchy with George VI as head of state and the Earl Mountbatten as governor-general. Google addded a doodle to celebrate this India Republic Day 2023.

Delete all branches except master or main branch

To delete all branches in your Git repository except master, simply issue the following command: $ git branch | grep -v "master" | xargs git branch -D If you want to delete branches such as master-prod, master-test or master-ui, you can adjust the RegEx used by the grep as follows: $ git branch | grep -v " master$" | xargs git branch -D Remove all Git branches but main ======= To delete all branches in Git except main, simply replace the grep for master with a grep for main: $ git branch | grep -v "main" | xargs git branch -D $ git branch | grep -v " main$" | xargs git branch -D

Codeigniter cache folder requires permission 777

You should use the chown command to create the correct ownership of the cache folder instead of making it writable/readable to all users with chmod. sudo groupadd www sudo useradd -g <your username> www sudo chown -R :www /var/www sudo chmod -R g+rwX /var/www This will give the group "www" read and write access to the /var/www folder.