DIP Diet (Discipline & Intelligent People’s Diet)

The DIP Diet stands for Discipline & Intelligent People’s Diet. It is a lifestyle-based diet concept promoted by Dr. Biswaroop Roy Chowdhury

Here’s a breakdown of the DIP Diet:

Core Principles of the DIP Diet:

Raw & Plant-Based Foods:

  • Focuses heavily on consuming raw fruits and vegetables.
  • Emphasizes whole, unprocessed plant foods without oil, sugar, or salt.

No Cooked Food Until Lunch:

  • The first meal (breakfast) should be raw — fruits only.
  • Cooked food is allowed only once per day (usually at lunch).

No Animal Products or Dairy:

  • 100% plant-based — no milk, meat, eggs, fish, or dairy products.

No Refined Foods:

  • Completely avoids refined sugar, refined flour (maida), and processed foods.

Hydration Through Fruits:

  • Promotes hydration through water-rich fruits rather than plain water.

Meal Timing:

  • Encourages early dinners and no late-night eating.
  • Recommends eating only when hungry and avoiding snacks.

Food Combining Rules:

  • Avoid mixing fruits with cooked food.
  • Don’t mix acidic and sweet fruits in the same meal.
DIP Diet (Discipline & Intelligent People’s Diet)

Typical Daily Routine in DIP Diet:

  • Morning (Empty Stomach): 3-4 seasonal fruits (e.g., papaya, watermelon, mango, banana).
  • Midday: More fruits if hungry.
  • Lunch (Main Meal): Steamed or lightly cooked vegetables with whole grains (like brown rice, millets, or chapati) and raw salads.
  • Evening: Coconut water or fruit if hungry.
  • Dinner: Ideally raw again or a light meal before 7 PM.

To learn more about Diet Plans, follow Our Blog

Object Oriented Programming (OOP) Concepts

What is Object Oriented Programming?

Object: An object is an entity. A thing from the real world. A thing that you want to store and process data about.

Class: A class is a blueprint or template for creating objects. It defines the structure and behavior of objects. In a class, variables are called properties and functions are methods.

OOP: A programming paradigm that structures software development around classes and objects, rather than functions and logic.

Object Oriented Programming (OOP)

4 Pillars of Object Oriented Programming (OOP)

Encapsulation: Hiding data and complexity. bundles data and methods into a single unit restricting access to internal details and providing controlled access.


Inheritance: Hierarchy of classes. allows a class to inherit properties and behaviors from a parent class promoting code reuse and creating a natural hierarchy of classes.

PHP is a single inheritance programming language.


Polymorphism: Many forms of an object. Enables a single method to behave differently based on the object calling it, allowing for dynamic and flexible code.

Different forms of the same type of object with the same interface can behave in different ways.


Abstraction: Simplify reality. Hides complex implementation details exposing only the essential features of an object making the system easier to use and manage.

Learn more about WordPress development on Our Blog

How to Install VNC on Raspberry Pi

Can you control Raspberry Pi remotely?

With RealVNC Connect, you can securely access and control your Raspberry Pi remotely, whether you’re using it with a display or as a headless device.

This is perfect for situations where you may wish to have your Raspberry Pi constantly performing tasks, but don’t necessarily need visual access to it all the time.

Install VNC on Raspberry Pi

Install VNC on Raspberry Pi

To install it, simply run the following command on your Raspberry Pi

sudo apt-get update
sudo apt-get install x11vnc

Once installed you can start the vnc server using:

x11vnc -noxrecord -forever

If you want to run it with the password, first set a password using the following command

x11vnc -storepasswd

Now you can run the x11vnc with the password, run the command

x11vnc -noxrecord -forever -usepw

Now, on the mac if you want to connect to the Raspberry Pi in the terminal type:

open vnc://ip_address_of_raspberry_pi:5900

This is how you can install VNC on Raspberry Pi and run it remotely.

Learn more about installing VNC on Tinkerboard on our blog.

How to add user meta on JetFormBuilder Registration Form Submission

If you’re using JetFormBuilder to handle user registration, you might want to add user meta on JetFormBuilder Registration when a user registers — that is not possible with default submit action. Many time you want to change/modify the form submission date and add it to user meta or somewhere else in the database.

In this blog post, we’ll walk through how to add custom user meta after a JetFormBuilder register form is submitted, using a simple and effective PHP snippet.

How to add user meta on JetFormBuilder Registration Form

We need to enable “Add User ID to form data:” option in the Register User Post Submit Action.

add user meta on JetFormBuilder Registration

We need to use “Call Hook Post Submit Actions”.

Need to add code according to the custom hook we just created earlier.

add_action( 'jet-form-builder/custom-action/update-registered-user-role', function () {
	$data = jet_fb_context()->get_request();
	
	if ( isset( $data['role'] ) && isset( $data['user_id'] ) ) {
		// Get WP_User object
		$user = new WP_User( $data['user_id'] );
		
		// Optional: Validate role exists before assigning
		$allowed_roles = array( 'supplier', 'factory', 'buyer' );
		
		// Ensure role is valid and allowed
		if ( in_array( $data['role'], $allowed_roles ) ) {
			// Remove existing roles
			$user->set_role( '' );
			
			// Add new role
			$user->add_role( $data['role'] );
		}
	}
}, 99 );

Learn more about WordPress Customization on our blog.

Live Server with NodeJS

The NodeJS live-server package runs a temporary server displaying any HTML/CSS/JS resources in the current folder. It automatically reloads the page in your browser when any of these files change.

  • Verify that Node.js is installed. If you see anything when you run which npm in a terminal, it is. If not, follow the instructions at nodejs.org to install.
  • Install live-server: npm install -g live-server
  • Move your terminal to where your pages live: cd <path-to-content>
  • Start the server: live-server .
  • Open localhost:8080 in a browser.

MacOS Dock Auto Hiding Delay

How to speed up MacOS Dock Auto Hiding Animations

Use Terminal to speed up your Dock animations

You can accelerate the speed of animations used in your Dock by running a simple command in Terminal; here’s how:

  1. Open Terminal from Finder > Applications > Utilities.
  2. Insert the below commands, depending on what you want to achieve. Once you insert a command, press Return to run it:
  • To speed up Dock animations
defaults write com.apple.dock autohide-time-modifier -float 0.15;killall Dock
  • To disable Dock animations
defaults write com.apple.dock autohide-time-modifier -int 0;killall Dock
  1. You can always reinstate your original Dock settings  with the below command:
defaults delete com.apple.dock autohide-time-modifier;killall Dock
Auto hide delay tweaking
Enter this into Terminal to make the Dock show without a delay :
`defaults write com.apple.dock autohide-delay -float 0; killall Dock;`

Maybe you want to have a long delay (5 seconds) so that you never accidentally trigger the Dock:
defaults write com.apple.dock autohide-delay -float 5; killall Dock;

To restore defaults:
defaults delete com.apple.dock autohide-delay; killall Dock;

Animation speed tweaking
Enter this into Terminal to make the Dock show without animations :
defaults write com.apple.dock autohide-time-modifier -float 0; killall Dock;

It's still nice to have a short animation (0.2 seconds) and this line makes it possible:
defaults write com.apple.dock autohide-time-modifier -float 0.2; killall Dock;

To restore defaults:
defaults delete com.apple.dock autohide-time-modifier; killall Dock;

রাজশাহীর কালাভুনা

ভোজন রসিকদের পছন্দের শীর্ষে এখন রাজশাহীর কালাভুনা

রাজশাহীর কালাভুনা এ অঞ্চলের একটি বিশেষ আকর্ষণীয় খাবার। এটি প্রধানত গরুর মাংস দিয়ে তৈরি করা হয়। কালাভুনা তৈরির প্রক্রিয়ায় মাংসকে বিভিন্ন মসলা দিয়ে মেরিনেট করে নিয়ে খুব ধীরে ধীরে রান্না করা হয়, যাতে মাংস সম্পূর্ণরূপে মসলা শুষে নিতে পারে এবং একটি গভীর, সমৃদ্ধ স্বাদ অর্জন করে।

রাজশাহীর কালাভুনা

এই প্রক্রিয়ার ফলে কালাভুনা তার বিশেষ গাঢ় রঙ এবং স্বাদের জন্য পরিচিত হয়। এটি সাধারণত পোলাও, ভাত বা রুটি সহ পরিবেশন করা হয় এবং বাঙালি রাঁধুনিদের মধ্যে একটি প্রিয় খাবার হিসাবে জনপ্রিয়। কালাভুনার অনন্য স্বাদ এবং ঘ্রাণ রাজশাহী অঞ্চলের খাদ্য সংস্কৃতির একটি গুরুত্বপূর্ণ অংশ। এটি শুধুমাত্র স্থানীয় নয়, যারা একবার এই খাবারটির স্বাদ গ্রহণ করে, তাদের স্মৃতিতে চিরকাল থেকে যায়। কেউ প্রথম বার রাজশাহী ঘুরতে এসেছে আর কালাভুনা না খেয়ে ফেরত গেছে এমনটা হয়না। তাই সপ্তাহের প্রতি দিনেই কালাভুনার দোকান গুলোতে কম বেশি ভিড় দেকতে পাওয়া যাই। এছাড়া যে সকল দিনে গরু-ছাগলের হাট বসে সে সকল দিনে এ ভিড় আরও কয়েক গুন বেড়ে যাই, দুর দূরান্ত থেকে গরু-ছাগল কেনা বেচা শেষ করে কালাভুনা দিয়ে ভাত খেয়ে সবাই বাড়ি ফিরে। তাই সাধারণের জন্য হাটের দিন গুলো এড়িয়ে চলাই ভাল।

রাজশাহীর কালাভুনা সাধারণত দুপুরে পরিবেশন করা হয়।

সিটিহাট

হানিফ কালাভুনা খোলা – শনিবার, রবিবার, মঙ্গলবার, বুধবার (01726258103)
রিপন কালাভুনা খোলা – রবিবার ও বুধবার (01763107011)

নওহাটা

হানিফ কালাভুনা খোলা – সোমবার, বৃহস্পতিবার (01726258103)
রিপন কালাভুনা খোলা – পুরো সপ্তাহ (01763107011)

আরও মজার মজার রাজশাহীর খাবার সম্পর্কে জানতে আমাদের ব্লগ ঘুরে আস্তে পারেন।

Last updated at

Unpack wpress file using Node.Js

We’ll be using Node.js in this way. Node.js has the benefit of being able to open WordPress files on Windows, MacOS, and Linux. However, Method 1, which only works with Mac and Windows, requires the usage of wpress-extractor.

We need NodeJS for this method. Now let us move on to the steps required to extract wpress file.

Step 1: Download NodeJS installer from the official website.

Step 2: Run the installer and install as any normal software. Restart computer.

Step 3: Open command prompt and test whether Node JS has been installed successfully and working.

For this type Node -v in command prompt. It will print version of NodeJS file.

Step 4: Now open the folder where you exported your wpress file then in command prompt type this:

npx wpress-extract your_backup_file.wpress

It will create a new folder named your_backup_file where all the content will be extracted.