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

Google doodle celebrates India Republic Day

Image
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

Image
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

Image
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.

Meta's Reality Labs Division Loses Close to $3.7 Billion in Q3 2022

Image
  Meta in July reported a Q2 loss of $2.8 billion (roughly Rs. 23,050 crore) for its Reality Labs division. Ref Link: https://www.gadgets360.com/cryptocurrency/news/meta-metaverse-division-reality-labs-posts-usd-3-7-billion-loss-third-quarter-earnings-report-2022-3466029#rss-gadgets-all

God of War Ragnark Will Get Photo Mode Post Launch

Image
  Photo mode will be added as part of a post-launch update, just like with the 2018 version. Ref link :  https://www.gadgets360.com/games/news/god-war-ragnarok-photo-mode-post-launch-release-date-ps5-ps4-santa-monica-playstation-3466193#rss-gadgets-all

Most used programming languages in 2022

Image
 Position PYPL ranking September 2022 Stack Overflow ’s Developer Survey 2022 #1 Python JavaScript      #2 Java HTML/CSS      #3 JavaScript SQL    

How to remove index.php from url in CodeIgniter 3

Image
  Adding below code in htaccess file we can remove index.php from codeigniter URL 1. We have to make below changes in application/config/config.php $config['index_page'] = ''; 2. We have to add below code block in .htaccess file in root of the codeigniter project RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php/ $1 [ L ]