Author Archives: Febronei

How to Add Custom Fonts to NextJS and Tailwind CSS Application

Add Custom Fonts to NextJS and Tailwind CSS Application

Tailwind CSS offers powerful capabilities to build visually appealing websites in a short time frame. To give your website a unique look and feel, you can choose to add custom fonts to NextJS project using Tailwind configuration.

Setting up a custom font in Next.js using Tailwind CSS is fairly easy. It needs 3 easy steps.

  • Installation and setting up _document.js
  • Declaring custom font family in tailwind.config.js
  • Using it in your components and pages.

For this tutorial, we will use Montserrat, a free Google Font. So let us begin installation process.

Create Your NextJs Project

The quickest way to start using Tailwind CSS in your Next.js project is to use the Next.js + Tailwind CSS Example. This will automatically configure your Tailwind setup based on the official Next.js example. If you’d like to configure Tailwind manually, continue with the rest of this guide.

Create your project

Start by creating a new Next.js project if you don’t have one set up already. The most common approach is to use Create Next App.

npx create-next-app nextjs-tailwind-tips
cd nextjs-tailwind-tips

If everything has goes well, you will see something like this on your terminal.

Install Tailwind CSS

Install tailwindcss and its peer dependencies via npm, and then run the init command to generate both tailwind.config.js and postcss.config.js.

npm install -D tailwindcss postcss autoprefixer
npx tailwindcss init -p

Configure your template paths

Add the paths to all of your template files in your tailwind.config.js file.

module.exports = {
  content: [
    "./pages/**/*.{js,ts,jsx,tsx}",
    "./components/**/*.{js,ts,jsx,tsx}",
  ],
  theme: {
    extend: {},
  },
  plugins: [],
}

Add the Tailwind directives to your CSS

Add the @tailwind directives for each of Tailwind’s layers to your ./styles/globals.css file.

@tailwind base;
@tailwind components;
@tailwind utilities;

Add Google Font to _document.js File

A custom Document can update the <html> and <body> tags used to render a Page. This file is only rendered on the server, so event handlers like onClick cannot be used in _document.

To override the default Document create a new custom document file _document.js in your pages folder next-project/pages/ and set it up with the following code:

Go to Google Fonts and search for the specific font you like. For this tutorial, we will use Montserrat, a free Google Font. Select the style variants from thin (100) to bold (900). Copy the link provided by Google and past in between the Head tags.

import Document, { Html, Head, Main, NextScript } from "next/document";

function MyDocument() {
  return (
    <Html>
      <Head>
        <link
          href="https://fonts.googleapis.com/css2?family=Montserrat:wght@100;200&display=swap"
          rel="stylesheet"
        />
      </Head>
      <body>
        <Main />
        <NextScript />
      </body>
    </Html>
  );
}

export default MyDocument;

Now, it’s time to configure the tailwind.config.js file. Go to Add tailwind.config.js and add Montserrat as the font family for your app. Also remember to add defaulTheme for the app as shown below.

/** @type {import('tailwindcss').Config} */
const defaultTheme = require("tailwindcss/defaultTheme");

module.exports = {
  mode: "jit",
  purge: ["./pages/**/*.{js,ts,jsx,tsx}", "./components/**/*.{js,ts,jsx,tsx}"],
  darkMode: false, // or 'media' or 'class'
  theme: {
    extend: {
      fontFamily: {
        Montserrat: ["Montserrat", ...defaultTheme.fontFamily.sans],
      },
    },
  },
  variants: {
    extend: {},
  },
  plugins: [],
};

Start Using Custom Font

Go to your Components or Pages, in this case for simplicity we are using _app.js file to custom font. Add className=”font-fontname” to the element. The fontName here refers to the name we gave to the font family in the previous step in this case Montserrat.

import Head from "next/head";
import Image from "next/image";

export default function Home() {
  return (
    <div>
      <Head>
        <title>Create Next App</title>
        <meta name="description" content="Generated by create next app" />
        <link rel="icon" href="/favicon.ico" />
      </Head>

      <main>
        <h1 className="w-full text-center py-12 font-Montserrat text-3xl font-bold">
          Hello world! Im Montserrat Font
        </h1>
      </main>
    </div>
  );
}

Now you will be able to see the custom font you just added to your app.

Code is available on GitHub repo.

How to Build a Multiselect Dropdown Component Using React-select

React select dropdown tutorial using react-select. (1)

In this tutorial, you will learn how to use react-select library to create a dropdown selection in your React app. Before that, let’s first understand what React-select is and why should you use this library in your React.js project.

React-select

React-select is an easy to use dropdown library create by Jed Watson and few other awesome contributors. It is a powerful library, offers various features such as multi-select, autocomplete and many more. This is a perfect choice for your next Reactjs project, providing numerous dynamic functionalities to the dropdown components including search and filter functionality, animation, easy accessibility and faster loading time.

Features provided by React-select package include:

  • Flexible approach to data with customizable functions.
  • It handle large number of dataset.
  • Simple customization with API support.
  • Controllable state props and modular architecture.
  • Manage component state easily.
  • CSS styling with emotion support. Provide CSS animation support for components.
  • Long-requested features like option groups, portal support, animation, and more

Step 1: Install React and other libraries

Dependencies used for this project.

  • React-Select Library
  • TailwindCSS for CSS and styling (optional- you can use any styling library)

Run the following command to install a brand new React project. You can either use yarn or npm, but for this tutorial, npx is used. This will create a React app for us.

npx create-react-app react-select

Change the directory and get inside to the project folder. You can always clean the project just a little bit. Remove the files you do not required for this project.

cd react-select

Install Tailwind CSS

Install TailwindCSS and its peer dependencies via npm, and then run the init command to generate both tailwind.config.jsand postcss.config.js.

npm install -D tailwindcss postcss autoprefixer
npx tailwindcss init -p

Configure your template paths

Add the paths to all of your template files in your tailwind.config.jsfile.

module.exports = {
  content: [
    "./src/**/*.{js,jsx,ts,tsx}",
  ],
  theme: {
    extend: {},
  },
  plugins: [],
}

Add the Tailwind directives to your CSS

Add the @tailwinddirectives for each of Tailwind’s layers to your ./src/index.cssfile.

@tailwind base;
@tailwind components;
@tailwind utilities;

Start using Tailwind in your project

Start using Tailwind’s utility classes to style your content and it will reflects the changes you make to the app.

Install React-Select Library

Now, this is important step. We need to install React-select package. For that simply run the following command.

npm i react-select

Once it is installed, you can now import the react-select module any where in our project. For simplicity it is imported in src/App.js file.

Now create a function that will handle our selected value. Name it setHandle and call it on the component. It will change the current value once user click to the dropdown.

import "./App.css";
import React, { useState, Component } from "react";
import Select from "react-select";

const Hotels = [
  { value: 1, label: "Coral Beach Maldives" },
  { value: 2, label: "Ilaa Beach Maldives" },
  { value: 3, label: "Finolhu" },
  { value: 4, label: "Arena" },
  { value: 5, label: "Kaani Beach Hotel" },
];

function App() {
  const [selectedOptions, setSelectedOptions] = useState(null);

  const setHandle = (e) => {
    setSelectedOptions(Array.isArray(e) ? e.map((hotel) => hotel.label) : []);
  };

  return (
    <div className="mx-auto container py-8">
      <h1 className="text-sm">Select Hotels</h1>
      <div className="flex flex-wrap items-center lg:justify-between justify-center">
        <div className=" px-2	">
          <Select options={Hotels} onChange={setHandle} isMulti />
        </div>
        <div>{selectedOptions}</div>
      </div>
    </div>
  );
}

export default App;

An array named Hotels is created, it then pass the hotel list to the dropdown. Hotel names is displayed when a user clicks on the dropdown and select element with the help of the react-select library.

There are many other properties available and common props you may want to specify include:

  • autoFocus – focus the control when it mounts
  • isDisabled – disable the control
  • isMulti – allow the user to select multiple values
  • isSearchable – allow the user to search for matching options
  • name – generate an HTML input with this name, containing the current value
  • onChange – subscribe to change events
  • options – specify the options the user can select from
  • placeholder – change the text displayed when no option is selected

React Multi Select Dropdown

Multi select option is one of the popular properties provided by this library. let us understand how this is used in a React project. It is actually very easy, simply you need to add isMulti prop to select various value in a select dropdown.

<Select options={Hotels} onChange={selHandle} isMulti />

Thats all for now! You can find code for this tutorial in this GitHub repo

How to Add Tailwind CSS to Your Reactjs Project

Tailwind CSS to ReactJS project

Tailwind CSS is a utility-first CSS framework which is used to make your website more responsive and beautiful. It is well known modern CSS frameworks which helps to speed up the development and styling process significantly. If you’re new to Tailwind CSS please follow the official documentation of Tailwind CSS and find a good starting point at the project’s homepage at TailwindCSS.

Setting up your React project with Tailwind CSS is so simple and comprises only very few steps. In this tutorial you will learn step-by-step approach of installing Tailwind CSS into your React project and get started using Tailwind’s CSS classes for styling.

Step 1: Creating Your React Project

Creating your new React.js project is the very first step. The easiest way to create a new project is to use the create-react-app script on the command line.

npx create-react-app react-app-with-tailwind

Now, cd into the working directory.

cd react-app-with-tailwind

If everything goes well, you should be able to see your react project on the web browser when you run the following command.  

npm run start

Step 2: Install Tailwind CSS

Now install tailwindcss and its peer dependencies via npm, and then run the init command to generate both tailwind.config.js and postcss.config.js.

npm install -D tailwindcss postcss autoprefixer
npx tailwindcss init -p

Tailwind will create two files. You need to make small changes so it will works well for our Reactjs project.

  • tailwind.config.js
  • postcss.config.js

Step 4: Configuring Template Files

You need to specify the path to our Reactjs project files by adding the following configuration setting inside tailwind.config.js. Make sure to add the paths to all of your template files in your tailwind.config.js file.

module.exports = {
   content: [
     "./src/**/*.{js,jsx,ts,tsx}",
   ],
   theme: {
     extend: {},
   },
   plugins: [],
 }

Step 5: Add the Tailwind directives to your CSS

Now add the @tailwinddirectives for each of Tailwind’s layers to your ./src/index.css file.

@tailwind base;
@tailwind components;
@tailwind utilities;

That’s all. You’re good to go! Let’s make use of Tailwind’s CSS classes within our main React component in App.js.

Step 6: Use Tailwind CSS In Your React App

Add the following code to App.js. Start the development web server by using the following command. Now you should be able to see the following result in the browser.

<div className="container mx-auto bg-gray-200 rounded-xl shadow border p-8 m-10">
      <p className="text-3xl text-gray-700 font-bold mb-5">
        Welcome!
      </p>
      <p className="text-gray-500 text-lg">
        React and Tailwind CSS in action
      </p>
    </div>
npm run start

You can find code for this tutorial in this GitHub repo

The Power of Your Subconscious Mind – Chapter 20

The Power of Your Subconscious Mind

This book explain how your own subconscious thoughts shape your life and your surroundings.

If you want to be successful at something then just start doing it. You will reach to your goals at some point as long as you keep the right mindset and learn the tasks.

Dr Murphy explains each and everything with real life examples making it simple for the reader to relate and develop. This book offers some really great skills to learn with numerous examples. You can read some of the stories below.

I would recommend this book to anyone.

Check more reviews and details on Amazon.

Chapter 20: How to Stay Young in Spirit Forever

He Had Grown Old in His Thought Life

A few years ago I called on an old friend in London, England. He had recently turned eighty. For many people, this is a cause for rejoicing, but unfortunately not for him. I was deeply shocked when I saw him. He looked and felt weak, even ill, although he admitted that his doctor had not found any particular medical problem.

“Doctors are idiots,” he proclaimed. “I know very well what my disease is. It is life itself!”

I asked him what he meant.

“No one wants or needs me,” he cried. “And why should they? I’m of no use to anyone. We are born, we grow up. We get old and we die, and that’s the end of the story.”

I saw that, in a way, he was right in his understanding of his illness. He was sick, not because of life, but because of the way he viewed life. His mental attitude of futility and worthlessness had brought about his sickness. He was looking forward only to senescence, and after that – nothing. Indeed, he had grown old in his thought life, and his subconscious mind made manifest everything he was expecting and dreading.

Life is

A woman once asked Thomas Edison, the electrical wizard, “Mr. Edison, what is electricity?”

He replied, “Madame, electricity is. Use it.”

Electricity is the name we give an invisible power that we do not fully comprehend. Yet we learn all we can about the principles of electricity and its uses. We use it in countless ways.

Scientists cannot see an electron with their eyes, yet they accept it as a scientific fact, because it is the only valid conclusion that coincides with other experimental evidence. We cannot see life. However, we know we are alive. Life is, and we are here to express it in all its beauty and glory.

You Are As Young As You Think You Are

I give public lectures in Caxton Hall in London, England, every few years. Following one of these lectures, a surgeon came up to speak to me. “I am eighty-four years of age,” he told me.

“I operate every morning, visit patients in the afternoons, and I write for medical and other scientific journals in the evening.”

His attitude was that he was as useful as he believed himself to be and as young as his thoughts. He said to me, “It’s true what you said just now. A person is as strong as he thinks he is, and as valuable as he thinks he is.”

This surgeon has not surrendered to advancing years. He knows that he is immortal. His final comment to me was “If I should pass on tomorrow, I will find myself helping and curing people in the next dimension, not with a surgeon’s scalpel, but with mental and spiritual surgery.”

Be Your Age

“I’ve had it with this business!” a Hollywood scriptwriter told me. “I’ve done first-rate work for years. I know my craft as well as anyone in town. I’ve won awards at festivals around the world.”

Puzzled, I asked, “Then what’s wrong?”

He threw up his hands. “The last story conference I went to, this thirty-year-old studio executive told me I couldn’t relate to today’s audiences. When I tried to argue, he informed me that he didn’t want any scripts that weren’t geared to the minds and tastes of boys twelve to eighteen! I walked out.”

This is a tragic state of affairs. How are the great masses of people expected to become emotionally and spiritually mature if they are fed such a diet? They are being blinded to the potential they have within them for personal growth. They are told that they must glorify youth, even though in reality youth stands for inexperience, lack of discernment, and hasty judgment.

He Graduated To a Better Job

Frank W. is an executive who lives near me. He was forced out of his job a few months ago. The company told him it was because of a new restructuring plan, but he believed his age of sixty-five lay behind the decision.

“Do you feel bitter about being the victim of discrimination?” I asked him. “Are you going to sue?” He laughed ruefully. “I could, I suppose. And I guess I might very well win in court. But why should I spend my time and energy that way? I haven’t lost my job, the company has lost my services.” He paused, then added, “The way I look at it, I just got I my promotion from kindergarten to the first grade.”

“How do you mean?”

“Well, for instance,” he replied, “when I graduated from high school, I climbed to the next rung of the ladder by going to college. I took a step forward in my education and understanding of life in general. My career was another step, or maybe a few steps. Now I’ve been liberated to do things I’ve always wanted to do. In other words, being let go is still another step upward on the ladder of life.”

Frank came to the wise conclusion that he was no longer going to concentrate on making a living. Now he was going to give all his attention to living life. He had been a passionate amateur photographer for years. He made a commitment to take courses in photographic technique at a nearby art institute. Later he went on a voyage around the world. At each place he visited, he took dozens of rolls of film. He now lectures before various groups, lodges, and clubs and is in constant demand.

There are countless ways of taking an interest in something worthwhile outside yourself. Become enthusiastic over new creative ideas, make spiritual progress, and continue to learn and to grow. In this manner you remain young in heart, because you are hungering and thirsting after new truths, and your body will reflect your thinking at all times.

Your Mind Does Not Grow Old

The pioneering heart surgeon Michael DeBakey developed the first roller pump for blood in 1932. His pump is still used for heart bypass surgery. At the age of ninety, Dr. DeBakey got permission to start clinical trials on a new invention, a tiny pump that can be implanted in the chests of those with severe heart disease. Not content with research, DeBakey pursued an active surgical schedule as well. A colleague said, “It would take other people five or six lifetimes to do what he’s done.”

DeBakey summed up his philosophy at ninety this way: “As long as you have challenges and are physically and mentally able, life is stimulating and invigorating.”

His Mind Active At Ninety-Nine

My father learned the French language at sixty-five years of age and became an authority on it at seventy. He began the study of Gaelic when he was over sixty and became an acknowledged and famous teacher of the subject. He assisted my sister at an institute of higher education until he passed away at ninety-nine. His mind was as clear at ninety-nine as it had been when he was twenty. In fact, his reasoning powers became even sharper with age. Truly, you are as old as you think and feel.

We Need Our Senior Citizens

Marcus Porcius Cato, the Roman patriot, learned Greek at eighty. Madame Ernestine Schumann-Heink, the great German-American contralto, reached the pinnacle of her musical success after she became a grandmother.

The Greek philosopher Socrates learned to play musical instruments when he was eighty years old. Michelangelo was painting his greatest canvases at eighty. At eighty, Cios Simonides won the prize for poetry, Johann von Goethe finished Faust, and Leopold von Ranke commenced his History of the World, which he finished at ninety-two.

Alfred, Lord Tennyson wrote a magnificent poem, “Crossing the Bar,” at eighty-three. Isaac Newton was hard at work close to eightyfive. At eighty-eight John Wesley was directing, preaching, and guiding Methodism.

Jeanne Louise Calment of Arles, France, was not famous as these people were famous. In her youth, she once met a famous man, the painter Vincent van Gogh, but that did not bring her any particular notice. It was not until after her one-hundredth birthday that those around her began to pay attention. For her, it was the occasion to give up riding her bicycle every day!

On Calment’s one-hundred-tenth birthday, she received greetings and good wishes from around the world. Her one-hundred-eighteenth birthday made her the oldest documented human in history. When asked how she had done it, she said, “I took pleasure when I could. I acted clearly and morally and without regret. I’m very lucky.” At one hundred twenty-two, her smile was as radiant and contagious as ever.

Let us place our senior citizens in high places and give them every opportunity to bring forth the flowers of Paradise.

If you are retired, get interested in the laws of life and the wonders of your subconscious mind. Do something you have always wanted to do. Study new subjects and investigate new ideas.

lessons

Patience, kindness, love, goodwill, joy, happiness, wisdom, and understanding are qualities that never grow old. Cultivate them and express them and remain young in mind and body.

Age is not the flight of years; it is the dawn of wisdom in the mind of humans.

The most productive years of your life can be from sixty-five to ninety-five.

We do not count a man’s years until he has nothing else to count. Your faith and convictions are not subject to decay.

You are as young as you think you are. You are as strong as you think you are. You are as useful as you think you are. You are as young as your thoughts.

Your gray hairs are an asset. You are not selling your gray hairs. You are selling your talent, abilities, and wisdom that you have garnered through the years.

Fad diets and expensive pills won’t keep you young. As a man thinketh, so is he.

Fear of old age can bring about physical and mental deterioration. The thing I greatly feared has come upon me.

You grow old when you cease to dream and when you lose interest in life. You grow old if you are irritable, crotchety, petulant, and cantankerous. Fill your mind with the truths of God and radiate the sunshine of his love – this is youth.

The Power of Your Subconscious Mind – Chapter 19

The Power of Your Subconscious Mind

This book explain how your own subconscious thoughts shape your life and your surroundings.

If you want to be successful at something then just start doing it. You will reach to your goals at some point as long as you keep the right mindset and learn the tasks.

Dr Murphy explains each and everything with real life examples making it simple for the reader to relate and develop. This book offers some really great skills to learn with numerous examples. You can read some of the stories below.

I would recommend this book to anyone.

Check more reviews and details on Amazon.

Chapter 19: How to Use, Your Subconscious Mind to Remove Fear

Do The Thing Your Fear

Ralph Waldo Emerson, the great nineteenth-century philosopher and poet, said, “Do the thing you are afraid to do, and the death of fear is certain.”

There was a time when I was filled with unutterable fear at the thought of standing before an audience and speaking. If I had given way to this fear, terrible as it was, I am sure you would not now be reading this book. I would never have been able to share with others what I have learned about the workings of the subconscious mind.

The way I overcame this fear was to follow Emerson’s advice. Quaking inside, I went before audiences and spoke. Gradually I became less fearful, until at last I was comfortable enough to enjoy what I was doing. I even grew to look forward to speaking engagements. I did the thing I was afraid to do, and the death of fear was certain.

Fear of Failure

I often get visits from students at a nearby university. One complaint many of them share is what we can call suggestive amnesia during examinations. They all tell me the same thing: “I know the material cold before the exam, and I remember all the answers after the exam. But when I’m in the classroom staring down at a blank exam booklet, my mind goes totally blank!”

A great many of us have had similar experiences. The explanation lies in one of the major laws of the subconscious mind. The idea that realizes itself is the one to which we give the most concentrated attention. In talking with these students, I find that they are most attentive to the idea of failure. As a result, it is failure that the subconscious mind brings into reality. The fear of failure itself creates the experience of failure, by way of a temporary amnesia.

A medical student named Sheila A. was one of the most brilliant students in her class. Yet when she faced a written or oral examination, she found herself going blank at even simple questions. I explained the reason to her. She had been worrying and brooding over the chances of failure for several days before the exam. These negative thoughts became charged with fear.

Thoughts enveloped in the powerful emotion of fear are realized in the subconscious mind. In other words, this young student was requesting her subconscious mind to see to it that she failed, and that is exactly what it did. On the day of the examination she found herself stricken with suggestive amnesia.

How She Overcame Here Fear

As Sheila studied the working of her subconscious mind, she learned that it is the storehouse of memory. It had a perfect record of everything she had heard and read during her medical training. Moreover, she learned that the subconscious mind is responsive and reciprocal. The way to be in deep rapport with it is to be relaxed, peaceful, and confident.

Every night and morning, she began to imagine her parents congratulating her on her wonderful record. She would hold an imaginary letter from them in her hand. As she began to contemplate this happy result, she called forth a corresponding or reciprocal response or reaction in herself.

Under this consistent stimulation, the all-wise and omnipotent power of the subconscious took over. It dictated and directed her conscious mind accordingly. She imagined the end, thereby willing the means to the realization of the end. After following this procedure, she had no trouble passing her subsequent exams. The subjective wisdom of her subconscious mind took over and compelled her to give an excellent account of herself.

Fear of Water

When I was about ten years old, I accidentally fell into a swimming pool. I had never learned to swim. I flailed my arms, but it did no good. I felt myself sinking. I can still remember the terror as the dark water surrounded me. I tried to gasp for air, but my mouth filled with water. At the last moment, another boy noticed my plight. He jumped in and pulled me out. This experience sank into my subconscious mind. The result was that for years I feared the water. Then one day I mentioned this irrational fear of mine to a wise elderly psychologist.

“Go down to the swimming pool,” he told me. “Look at the water. It is simply a chemical compound, made up of two atoms of hydrogen and one of oxygen. It has no will, no awareness. But you have both.”

I nodded, wondering where this was leading.

“Once you understand that the water is essentially passive,” he continued, “say out loud in a strong voice, ‘I am going to master you. By the powers of mind, I will dominate you.’ Then go into the water. Take swimming lessons. Use your inner powers to overcome the water.”

I did as I was told. Once I assumed a new attitude of mind, the omnipotent power of the subconscious responded, giving me strength, faith, and confidence. It enabled me to overcome my fear, and I mastered the water. Today I swim every morning for both health and pleasure. Do not permit water to master you. Remember, you are the master of the water.

He Blessed The Elevator

Jonathan M. is an executive with a large corporation. For many years he was terrified to ride in an elevator. He would walk up seven flights of stairs to his office every morning to avoid the elevator ride. When he had to meet with people from other companies whose offices were on high floors, he always found some excuse to meet them at his own office or at a restaurant. Business trips out of town were torture for him. He had to call ahead, to make sure his hotel room was on a low floor and that he would be able to use the stairs.

This fear was the product of his subconscious mind, perhaps in response to some experience that he had long since forgotten on a conscious level. Once he learned this, he set about to change it. He began to bless the elevator every night and several times a day. In a calm, confident mood, he repeated to himself:

The elevator in our building is a wonderful idea. It came out of the universal mind. It is a boon and a blessing to all our employees. It gives wonderful service. It operates in divine order. I ride in it in peace and joy. I remain silent now while the currents of life, love, and understanding flow through the patterns of my thought.

In my imagination I am now in the elevator, and I step out into my office. The elevator is full of our employees. I talk to them, and they are friendly, joyous, and free. It is a wonderful experience of freedom, faith, and confidence. I give thanks.

He continued this prayer for ten days. On the eleventh day, he walked into the elevator with other members of his company and felt completely free.

He Landed in The Jungle

A former U.S. Army chaplain named John N. told me that during World War II, the plane he was in was hit and damaged by antiaircraft fire. He had to bail out over the jungle clad mountains of New Guinea. Of course he was frightened, but he knew that fear came in two varieties, normal and abnormal. The abnormal kind, which was trying to take control of him, was a close relative of panic.

He decided to do something about his fear immediately. He began to talk to himself, saying, “John, you can’t surrender to your fear. Your fear is a desire for safety and security, and a way out.”

He stood in the center of a small clearing and calmed his breathing. He pushed away the first symptoms of panic. As soon as he felt more relaxed, he began to claim, “Infinite intelligence, which guides the planets in their courses, is now leading and guiding me out of this jungle to safety.” He kept saying this out loud to himself for ten minutes or more.

“Suddenly,” John told me, “I felt something start to stir inside me. It was a mood of confidence and faith. I was drawn to one side of the clearing. There I found the faint trace of a path, and I began to walk. Two days later, I miraculously came upon a small village where the people were friendly. They fed me, then took me to the edge of the jungle, where a rescue plane picked me up.”

John’s changed mental attitude saved him. His confidence and trust in the subjective wisdom and power within him gave him the solution to his problem.

He added, “If I had started to bemoan my fate and indulge my fears, the monster fear would have conquered me. I probably would have died of fear and starvation.”

He Dismissed Himself

Rafael S. was an executive in a major foundation. He admitted to me that for three years he had been terrified he would lose his position. He was always imagining failure. He kept expecting his subordinates to be promoted over his head. The thing he feared did not exist, save as a morbid anxious thought in his own mind. His vivid imagination dramatized the loss of his job until he became increasingly nervous and inefficient. Finally he was asked to resign.

In reality, Rafael dismissed himself His constant negative imagery, the flood of fear suggestions he sent to his subconscious mind, caused the subconscious mind to respond and react accordingly. It led him to make mistakes and foolish decisions. These in turn created his failure. He might never have been fired if he had immediately moved to the opposite in his mind.

They Plotted Against Him

During a world lecture tour, I had a two-hour conversation with a prominent government official in one of the countries I visited. I found that this man had a deep sense of inner peace and serenity. He said that although he is constantly showered with abuse by newspapers that support the opposition party, he never allows it to disturb him. His practice is to sit still for fifteen minutes in the morning and realize that in the center of himself is a deep, still ocean of peace. Meditating in this way, he generates tremendous power, which overcomes all manner of difficulties and fears.

A few months earlier, he had received a midnight call from a panicky colleague. According to his coworker, a group of people were plotting against him. They intended to overthrow his administration by force, with help from dissident elements of the country’s armed forces.

In reply, the official told his colleague, “I am going to sleep now in perfect peace. We can discuss this tomorrow at 10:00 A.M.”

As he explained to me, “I know that no negative thought can ever manifest itself unless I emotionalize the thought and accept it mentally. I refuse to entertain their suggestion of fear. Therefore, no harm can come to me unless I allow it.” Notice how calm he was, how cool, how serene! He did not get overwrought and start tearing his hair or wringing his hands. At his center he found the still water, an inner peace, and there was a great calm.

lessons

Do the thing you are afraid to do, and the death of fear is certain. If you say to yourself with perfect confidence and faith, “I am going to master this fear,” you will.

Fear is a negative thought in your mind. Supplant it with a constructive thought. Fear has killed millions. Confidence is greater than fear. Nothing is more powerful than faith in God and the good.

Fear is person’s greatest enemy. It is behind failure, sickness, and bad human relations. Love casts out fear. Love is an emotional attachment to the good things of life. Fall in love with honesty, integrity, justice, goodwill, and success. Live in the joyous expectancy of the best, and invariably the best will come to you.

You were born with only two fears, the fear of falling and the fear of noise. All your other fears were acquired. Get rid of them.

Normal fear is good. Abnormal fear is very bad and destructive. To constantly indulge in fear thoughts results in abnormal fear, obsessions, and complexes. To fear something persistently causes a sense of panic and terror.

You can overcome abnormal fear when you know the power of your subconscious mind can change conditions and bring to pass the cherished desires of your heart. Give your immediate attention and devotion to your desire, which is the opposite of your fear. This is the love that casts out fear.

If you are afraid of failure, give attention to success. If you are afraid of sickness, dwell on perfect health. If you are afraid of an accident, dwell on the guidance and protection of God. If you are afraid of death, dwell on eternal life. God is life, and that is your life now.

The things you fear do not really exist except as thoughts in your mind. Thoughts are creative. This is why Job said, The thing I feared has come upon me. Think good and good follows.

Best Free VS Code Themes 2022🤩

Best Free VS Code Themes 2022

It is already halfway through 2022 and if you are still looking for any VSCode themes, then here is the list of some of the most popular VS Code themes for 2022 so far.

List of the top 5 VSCode themes – My choice:

  1. Atom One Dark Theme
  2. GitHub Theme
  3. Night Owl Theme
  4. JellyFish Theme
  5. Sublime Material Theme

Atom One Dark Theme

One of the best dark theme port in the marketplace. Atom’s iconic One Dark theme for Visual Studio Code is so popular among developers who loves dark mode.

It has visually pleasing styles and well-blended color schemes, therefore it is considered as one of the most used themes, nearly 3.3 million download in the market place as of today.

Here are some of the stats:

  • No. of Installs:  3,279,542 installs
  • Rating:  4.81/5 (102)
  • Current version: v2.2.3 | 1/4/2021| Free

GitHub Theme

It is popular theme for developers who prefer GitHub’s classic themes. It comes with various new styles, simply you need to select any available theme during installation process. You can choose one of these themes.

  • GitHub Light Default
  • GitHub Light High Contrast ✨ new ✨
  • GitHub Light Colorblind ✨ new ✨
  • GitHub Dark Default
  • GitHub Dark High Contrast
  • GitHub Dark Colorblind ✨ new ✨
  • GitHub Dark Dimmed

There are also two older themes. Note: They might not get updated frequently and are kept for legacy reasons:

  • GitHub Light (legacy)
  • GitHub Dark (legacy)

Here are some of the stats:

  • No. of Installs:  4,349,035 installs
  • Rating: – (120)
  • Current version: v6.0.0 | 2/11/2022 | Free

Night Owl Theme

This theme is fine-tuned for those of us who really like to code late at night. It comes with both dark (Night Owl) and light theme (Light Owl). The color choices, background, and styling are perfectly suitable for developers who are having difficulties in low-light circumstances. ✨

Night Owl

Light Owl

Here are some of the stats:

  • No. of Installs:  1,463,301 installs
  • Rating: – (119)
  • Current version: v2.0.1 | 7/4/2021 | Free

JellyFish Theme

It is also a beautiful theme. The font (Hermit) and colors used by the theme is easy on the eyes. The colors used by this theme for highlighting code are Aqua Blue, Purple, Dark Yellow, and Pinkish-Red.

Here are some of the stats:

  • No. of Installs: 75,788 installs
  • Rating: – (5)
  • Current version: v0.0.4 | 2/8/2022 | Free

Sublime Material Theme

This is simply a port to align the style of the theme with the default VSCode chrome that cannot be changed atm. It has both dark and light theme options, however it was last update long time ago, in 2016.

Dark Theme

Light Theme

Here are some of the stats:

  • No. of Installs: 568,813 installs
  • Rating: – (25)
  • Current version: v1.0.1 | 11/27/2016 | Free

There are lots of amazing themes in the marketplace and these are just few. Must have themes at least in my opinion. Maybe you have a better choice and if you have any let us know your favorite theme that make you more productive.

If you want to know about best VSCode extensions for 2022 then please read this article.

Top 11 Best VS Code Extensions you Need in 2022!

The Power of Your Subconscious Mind – Chapter 18

The Power of Your Subconscious Mind

This book explain how your own subconscious thoughts shape your life and your surroundings.

If you want to be successful at something then just start doing it. You will reach to your goals at some point as long as you keep the right mindset and learn the tasks.

Dr Murphy explains each and everything with real life examples making it simple for the reader to relate and develop. This book offers some really great skills to learn with numerous examples. You can read some of the stories below.

I would recommend this book to anyone.

Check more reviews and details on Amazon.

Chapter 18: How Your Subconscious Removes Mental Blocks

How He Broke a Bad Habit

When Bob J. came to me, he was dose to despair. “I’ve lost my job, my wife, and my family to drink,” he told me. “My wife wont even speak to me on the phone. She wont let me see our daughter. I don’t know where to turn.”

“Have you tried to stop drinking?” I asked.

“Of course I have,” he said. “Lots of times. And I have stopped, too, for a little while. Then I get an uncontrollable urge, and the next thing I know, I’m coming off a two-week bender. It’s terrible!”

Time and again these experiences had occurred to this unfortunate man. He realized that binge drinking had become a habit, and he saw that he had to change the habit and establish a new one. However, his continued efforts to suppress his cravings made matters only worse. His repeated failures convinced him that he was hopeless and powerless to control his urge or obsession. This idea of being powerless operated as a tremendous suggestion to his subconscious mind and aggravated his weakness, making his life a succession of failures.

I taught him to harmonize the functions of the conscious and subconscious mind. When these two cooperate, the idea or desire implanted in the subconscious mind is realized. His reasoning mind agreed that if the old habit path or track had carried him into trouble, he could consciously form a new path to freedom, sobriety, and peace of mind.

He knew that while his destructive habit had become automatic, he had acquired it through his conscious choice. He realized that if he had been conditioned negatively, he also could be conditioned positively. As a result, he stopped thinking that he was powerless to overcome the habit. He achieved a clear understanding that there was no obstacle to his healing other than his own thought. Therefore, there was no occasion for great mental effort or mental coercion.

The Power of His Mental Picture

Bob began to make a practice of relaxing his body and getting into a drowsy, meditative state. Then he filled his mind with the picture of the desired end knowing his subconscious mind could bring it about the easiest way. He imagined his daughter giving him a welcoming hug and saying, “Oh. Daddy, it’s so wonderful to have you home again!”

Regularly, systematically, he sat down and meditated in this way. When his attention wandered, he made it a habit to immediately recall the mental picture of his daughter with her smile and the scene of his home enlivened by her cheerful voice. All this brought about a reconditioning of his mind. It was a gradual process. He kept it up. He persevered, knowing that sooner or later he would establish a new habit pattern in his subconscious mind.

I told him that he could liken his conscious mind to a camera, that his subconscious mind was the sensitive plate on which he registered and impressed the picture. This made a profound impression on him. His whole aim became to firmly impress the picture on his mind and develop it there. Films are developed in the dark; likewise, mental pictures are developed in the darkroom of the subconscious mind.

Focused Attention

Bob understood that his conscious mind was like a camera, so he used no effort. There was no mental struggle. He quietly adjusted his thoughts and focused his attention on the scene before him until he gradually identified with the picture. He became absorbed in the mental atmosphere, repeating the mental movie frequently.

There was no room for doubt that a healing would follow. When there was any temptation to drink, he would switch his imagination from any thoughts of drinking bouts to the feeling of being at home with his family. He was successful because he confidently expected to experience the picture he was developing in his mind. Today he is sober, reunited with his family, successful in his career, and radiantly happy.

Why He Could Not Be Healed

Allan S. was a field representative for a major textbook distributor. He was married, with four children, but he was also involved in a secret relationship with another woman during his business trips. When he came to see me, he was nervous and irritable. He could not get to sleep without pills. He had high blood pressure and an assortment of internal pains that his doctor could not diagnose or relieve. To make matters worse, he was drinking heavily.

As we quickly discovered, the cause of all this was a deep unconscious sense of guilt. The religious creed he had been brought up in was deeply lodged in his subconscious mind. It placed great stress on the sanctity of the marriage vows, yet he was violating them flagrantly and constantly. He drank to excess in a vain attempt to heal the wound of guilt. Just as an invalid might take morphine and codeine for severe pains, he was taking alcohol for the pain or wound in his mind. It was the old story of adding fuel to the fire.

The Explanation and the Cure

He listened to my explanation of how his mind worked. He faced his problem, considered it carefully, and made a decision to give up his illicit relationship. He also realized that his drinking was an unconscious attempt to escape. The hidden cause lodged in his subconscious mind had to be eradicated. Only then would healing follow.

He began to impress his subconscious mind three times a day, and he was fully aware of what he was doing and why he was doing it. Knowing what he was doing gave him necessary faith and confidence. I explained to him that as he spoke these statements out loud, slowly, lovingly, and meaningfully, they would gradually sink into his subconscious mind. Like seeds, they would grow after their kind. His ears heard the sound, and the healing vibrations of the words reached his subconscious mind and obliterated all the negative mental patterns that had caused his problems. Light dispels darkness. The constructive thought destroys the negative thought. He became a transformed man within a month.

lessons

The solution lies within the problem. The answer is in every question. Infinite intelligence responds to you as you call upon it with faith and confidence.

You have freedom to choose. You can choose a good habit or a bad habit. Prayer is a good habit.

The only obstacle to your success and achievement is your own thought or mental image.

When your attention wanders, bring it back to the contemplation of your good or goal. Make a habit of this. This is called disciplining the mind.

When fear knocks at the door of your mind, let faith in God and all things good open the door.

The Power of Your Subconscious Mind – Chapter 17

The Power of Your Subconscious Mind

This book explain how your own subconscious thoughts shape your life and your surroundings.

If you want to be successful at something then just start doing it. You will reach to your goals at some point as long as you keep the right mindset and learn the tasks.

Dr Murphy explains each and everything with real life examples making it simple for the reader to relate and develop. This book offers some really great skills to learn with numerous examples. You can read some of the stories below.

I would recommend this book to anyone.

Check more reviews and details on Amazon.

Chapter 17: How to Use Your Subconscious Mind for Forgiveness

How She Banished That Feeling of Guilt

Harriet G. worked late at the office every day. She often did not go home until after midnight. She expected that her superiors and coworkers would pat her on the back because she worked so hard. They didn’t. Since she was usually the only one who stayed so late, the others didn’t even know about her unusual devotion. Meanwhile, her family life was in serious trouble. Her husband and two sons hardly knew what she looked like. When her younger son’s Little League team made the local playoffs, Harriet not only missed the game, she even forgot to ask who won. To top it off, Harriet’s doctor warned her that she was developing dangerously high blood pressure.

Harriet carne to talk to me after her husband told her he wanted a separation. I asked her why she shut her husband out of her life and showed so little interest in her boys. At first she tried to say that she had to work so hard just to keep up with her job. I asked if her coworkers put in as much time as she did. No, she admitted, the others in her company kept pretty normal hours, and they were not any better at the job than she was.

I suggested to her why she was working so arduously. “There is something eating you inside,” I told her. “If there weren’t, you would not act this way. You are punishing yourself for something.”

For a while, she resisted this suggestion. She kept trying to say that her working habits were normal, that other people were lazy. Finally, however, she admitted that she had a deep sense of guilt. Fifteen years earlier, after her father died, she had served as executor of the estate. She had deliberately kept from turning over a large sum of money to her younger brother.

“Why did you do that?” I asked. “Was it a question of greed?” “Of course not!” she replied. “My brother. ..well, he had a terrible drug problem. I knew what would happen to the money if I turned it over to him. I told myself I was saving it for him, for when he got himself straightened out.” “And. ..?” I probed.

Harriet took a deep breath. “It never happened. He killed himself. Maybe he didn’t do it on purpose, but it came to the same thing. He was only twenty-six. I keep thinking …what if I hadn’t kept the money? Maybe he would have used it to go into some kind of rehab program. He might still be with us. It’s my fault he’s dead.” I asked her, “If you had it to do over again, what would you do?” “I don’t know,” she said, shaking her head. “But I know I’d try harder to help my brother, instead of being down on him because he had a problem.”

“But at the time, did you feel you were justified?” I asked. “Did you feel you were doing the right thing?” “Sure,” she told me. “But now I’m sure it was wrong. That money wasn’t mine.”

“So you would not do it now?” “No, I wouldn’t,” she replied. Her face grew stem. “But that doesn’t matter. I can never be forgiven for what I did. I stole from my only brother, and he died. It’s only right that God should punish me. I deserve it.”

I explained to her that God was not punishing her. She was punishing herself. If you misuse the laws of life, you will suffer accordingly. If you put your hand on a naked charged wire, you will get a shock. The forces of nature are not evil; it is your use of them that determines whether they have a good or evil effect. Electricity is not evil; it depends on whether you use it to light up your home or give someone a fatal shock. The only sin is ignorance of the law, and the only punishment is the automatic reaction of people’s misuse of the law.

If you misuse the principles of chemistry, you may blow up your workplace. If you strike your hand against a board, you may cause your hand to bleed. The board is not at fault. The fault lies with your misuse of it.

Eventually I helped Harriet realize that God does not condemn or punish anyone. All her suffering was due to the reaction of her subconscious mind to her own negative and destructive thinking. What she needed was forgiveness, but the true meaning of forgiveness is to forgive yourself. Forgiveness is getting your thoughts in line with the divine law of harmony. Self-condemnation is called hell (bondage and restriction) ; forgiveness is called heaven (harmony and peace).

The burden of guilt and self-condemnation was lifted from her mind, and she had a complete healing. The next time she had a checkup, her blood pressure had become normal. The explanation was the cure.

A murderer Learned to Forgive Himself

Arthur O. murdered a man in Europe many years ago. When he carne to me, he was suffering from great mental anguish and torture. He believed that God must punish him for his terrible deed. I asked him what had happened. He explained that he had found out that the other man was having an affair with his wife. He had come upon them unexpectedly, as he returned from hunting, and shot the man in a moment of mad rage. The legal system did not take a very harsh view of his deed; he had to serve only a few months in prison.

When he was released from jail, Arthur divorced his wife and emigrated to the United States. After several years, he met and married an American woman. He and his wife have been blessed with three lovely children. He has made a successful career in a field where he is in a position to help many people. His colleagues like and respect him. None of this seems to help. All this time later, he still blames himself for what he did.

After hearing Arthur’s story, I explained to him that scientists tell us every cell of our bodies is replaced every eleven months. Both physically and psychologically, he was no longer the same man who had committed murder, and he had not been for many years. Moreover, he had clearly transformed himself both mentally and spiritually. He was now full of love and goodwill for humanity. The person who committed the crime years before was long since mentally and spiritually dead. In refusing to forgive himself, Arthur was condemning an innocent man. This explanation had a profound effect upon him. He said it was as if a great weight had been lifted from his mind.

Criticism Cannot Hurt You Without Your Consent

A schoolteacher named Ramona K. came to me after a lecture. She told me that recently she had had to give a speech. Afterward, one of her fellow teachers sent her a note full of criticism. She said that Ramona spoke too fast, swallowed some of her words, and couldn’t be heard. Her diction was poor and her text rambled.

Ramona was hurt and angry. She felt deep resentment toward her critic and tried to avoid any contact with her at school.

When I questioned her, Ramona eventually admitted that she deserved many of the criticisms. She was not experienced at speaking to an adult audience. She had been nervous beforehand, and afterward she was simply glad that she had gotten through it. That was the reason she had been so wounded by her coworker’s criticisms. It was as if somebody had blasted a toddler for not running fast enough, when simply managing to walk was an amazing feat.

Ramona was hurt and angry. She felt deep resentment toward her critic and tried to avoid any contact with her at school. When I questioned her, Ramona eventually admitted that she deserved many of the criticisms. She was not experienced at speaking to an adult audience. She had been nervous beforehand, and afterward she was simply glad that she had gotten through it. That was the reason she had been so wounded by her coworker’s criticisms. It was as if somebody had blasted a toddler for not running fast enough, when simply managing to walk was an amazing feat.

How To Be Compassionate

What if the letter Ramona received was totally incorrect? What if she had good reason to think that the criticisms it made of her speech were simply wrong? In that case, Ramona would have had to realize that something about her speech, whether its manner or its content, had upset the prejudices, superstitions, or narrow sectarian beliefs of the note’s writer. The problem would lie not with her but with the writer.

To understand this is to take an essential first step toward compassion. The next logical step would be to pray for the other persons peace, harmony, and understanding. You cannot be hurt when you know that you are master of your thoughts, reactions, and emotions. Emotions follow thoughts, and you have the power to reject all thoughts that may disturb or upset you.

Left At The Altar

Some years ago I was asked to perform a marriage ceremony at a nearby church. The young man did not appear. At the end of two hours, the would-be bride shed a few tears. She then said to me, “I prayed for divine guidance. This may be the answer to my prayer, for He never faileth.”

Her reaction was to restate her faith in God and all things good. She had no bitterness in her heart, because, as she said, “Much as I longed for it, I think this marriage must not have been right action, because my prayer was for right action, not just for me, but for both of us.” This young woman sailed serenely through an experience that might have sent another person into an emotional tailspin.

Tune in with the infinite intelligence within your subconscious depths. Trust the answer as unquestioningly as you trusted your mother and father when they held you in their arms. This is the high road to poise and mental and emotional health.

It is Wrong to Marry; Sex is Evil and I am Evil

A young woman who heard me speak came up to me afterward. She told me her name was Carol. I was struck by her appearance. She wore a very plain black dress and black stockings. Her face was pale and bland, without a single touch of lipstick or other makeup. Her manner, too, was subdued yet somehow watchful, as if she imagined that those around her might suddenly start acting in an outrageous way.

Soon Carol was telling me about her upbringing. She was raised by her mother, who taught her to believe that it was a sin to dance, to play cards, to swim, or to go out with men. According to her mother, all men were evil. Sex was nothing but debauchery, inspired by the devil. If she disobeyed these commandments, if she failed to follow them exactly and to the letter, she would burn eternally in hell.

When Carol went out with young men in the office where she worked, she felt a deep sense of guilt. She was convinced that God would punish her. A young man she felt close to asked her to marry him, but she refused. As she said to me, “It is wrong to marry; sex is evil and I am evil.” This was her early conditioning speaking.

Of course this young woman felt full of guilt. How could she not? It was impossible for her to live up to her mother’s beliefs. It was impossible to avoid the thought that there was something wrong with those beliefs. The life-principle that flows through all of us was struggling for recognition and expression.

I suggested to Carol that she try to learn how to forgive herself. To forgive means to give for. She had to give up all these false beliefs for the truths of life and a new estimate of herself.

Carol came to me once weekly for about ten weeks. I taught her what I have learned about the workings of the conscious and subconscious mind, just as I have set it forth in this book. As she gradually came to see that she had been brainwashed, mesmerized, and conditioned by an ignorant, superstitious, bigoted, and frustrated mother, she started to live a wonderful life.

At my suggestion, Carol began to wear more attractive clothes. She visited the cosmetics department store for a free comprehensive “makeover.” She took dancing lessons and learned to drive. She also learned to play cards, and to talk with young men. She broke away completely from her family and began to love and value life.

As Carol discovered her inner nature, she began to pray for a companion by claiming that infinite spirit would attract to her a man who harmonized with her thoroughly. One evening as she left my office, a man was waiting to see me. I casually introduced them. Six months later, they were married. They are still married and happy with one another.

lessons

Your concept of God is the most important thing in your life. If you really believe in a God of Love, your subconscious mind will respond by bringing countless blessings to you. Believe in a God of Love.

You can use electricity to kill someone or to light the house. You can use water to drown a child or quench his thirst. Good and evil come right back to the thought and purpose in a person’s own mind.

God, or life, never punishes. People punish themselves by their false concepts of God, life, and the universe. Their thoughts are creative, and they create their own misery.

If another criticizes you, and these faults are within you, rejoice, give thanks, and appreciate the comments. This gives you the opportunity to correct the particular fault.

You cannot be hurt by criticism when you know that you are master of your thoughts, reactions, and emotions. This gives you the opportunity to pray for and bless the other, thereby blessing yourself.

When you pray for guidance and right action, take what comes. Realize it is good and very good. Then there is no cause for self-pity, criticism, or hatred.

There is nothing good or bad, but thinking makes it so. There is no evil in the desire for food, sex, wealth, or true expression. It depends on how you use these urges, desires, or aspirations. Your desire for food can be met without killing someone for a loaf of bread.

The Power of Your Subconscious Mind – Chapter 16

The Power of Your Subconscious Mind

This book explain how your own subconscious thoughts shape your life and your surroundings.

If you want to be successful at something then just start doing it. You will reach to your goals at some point as long as you keep the right mindset and learn the tasks.

Dr Murphy explains each and everything with real life examples making it simple for the reader to relate and develop. This book offers some really great skills to learn with numerous examples. You can read some of the stories below.

I would recommend this book to anyone.

Check more reviews and details on Amazon.

Chapter 16: Your Subconscious Mind and Harmonious Human Relations

The Daily Headlines Made Him Sick

A woman wrote me to ask for help with her husband. She explained that he went into a rage every time he read what certain columnists wrote in the newspaper. She added that this constant reaction of anger and suppressed rage on his part was very bad for his high blood pressure. His doctor had told him that he had to find some way to reduce his stress through emotional reconditioning.

I invited this man to come see me. I explained to him the way his mind functions. He understood that it was emotionally immature to get angry over an article in the newspaper, but he had not known the damage his anger was causing to his own mind and body.

He began to realize that he should give the columnist the freedom to express himself even if he disagreed with him politically, religiously, or in any other way. In the same manner, the columnist ought to give him the freedom to write a letter to the newspaper disagreeing with his published statements. He learned that he could disagree without being disagreeable. He awakened to the simple truth that it is never what some other person says or does that affects him. Rather, it is his own reaction to what is said or done that matters.

This explanation helped this man achieve a cure. He realized that with a little practice he could master his morning tantrums. His wife later told me that he eventually learned to laugh at what the columnists he so disliked had to say. He also learned to laugh at himself for reacting so strongly. The newspaper articles no longer have power to disturb, annoy, and irritate him. His hypertension is more under control as a result of his increased emotional poise and serenity.

I Hate Women, But I Like Men

Cynthia R. was an executive secretary with a large corporation. She came to me because she felt very bitter toward some of the women in her office. She believed they were gossiping and, as she said, spreading vicious lies about her. When I asked, she admitted that she had many problems in her relationships with other women. She said, “I hate women, but I like men.”

As I continued to talk with her, I discovered that Cynthia spoke to the people she supervised in a very haughty, imperious, and irritable tone of voice. There was a certain pomposity in her way of speaking, and I could see where her tone of voice would affect some people unpleasantly. She did not realize this. For her, the important point was that her coworkers took delight in making things difficult for her.

If all the people in your office or factory annoy you, isn’t it possible that this annoyance and turmoil may be due to some subconscious pattern or mental projection that is coming from you? We all know that a dog will react ferociously if you hate or fear dogs. Animals pick up your subconscious vibrations and react accordingly. Is it so outrageous to say that human beings are just as sensitive as dogs, cats, and other animals in this regard?

To this woman who hated women, I suggested a process of prayer. I explained to her that when she began to identify herself with spiritual values and commenced to affirm the truths of life, her hatred of women would completely disappear, along with the vocal patterns and mannerisms that communicated that hatred to others. She was surprised to learn that our emotions show up in our speech, actions, writings, and in all phases of our life.

As a result of our conversation, Cynthia stopped behaving in her typical resentful and angry way. She established a pattern that she practiced regularly, systematically, and conscientiously in the office.

The practice transformed her life. She found that the atmosphere of criticism and annoyance in her workplace gradually disappeared. Her coworkers became friends and companions in life’s journey. She discovered the truth, that we have no one to blame and no one to change but ourselves.

His Inner Speech Held back His Promotion

One day Jim S., a sales representative, came to see me. He was deeply upset by the difficulties he had working with the sales manager of his organization. Jim had been with the company ten years without receiving any promotion or recognition of any kind. He showed me his sales figures. I could easily see that they were higher proportionately than those of the other sales representatives in the territory. His explanation was that the sales manager did not like him. He claimed that he was unjustly treated. At conferences the manager ridiculed his suggestions and at times was actively rude to him.

After discussing his situation in greater detail, I suggested to Jim that the cause was to a great degree within himself. His concept and belief about his superior bore witness to the reaction of this man. The measure we mete shall be measured to us again. Jim’s mental measure or concept of the sales manager was that he was mean, prejudiced, and cantankerous. Jim was filled with bitterness and hostility toward the executive. On his way to work he conducted a vigorous conversation with himself filled with criticism, mental arguments, recriminations, and denunciations of his sales manager.

What Jim gave out mentally, he was inevitably bound to get back. By the end of our conversation, Jim realized that his inner speech was highly destructive. The intensity and force of his silent thoughts and emotions, the mental condemnation and vilification of the sales manager that he rehearsed entered into his own subconscious mind. This brought about the negative response from his boss, as well as creating other personal, physical, and emotional disorders.

He repeated this out loud slowly, quietly, and feelingly, knowing that his mind is like a garden and that whatever he plants in the garden will come forth like seeds after their kind.

I also taught him to practice visualization or mental imagery prior to sleep. He created a scenario in which his superior congratulated him on his fine work, praised his zeal and enthusiasm, and remarked on the wonderful response he obtained from customers. He felt the reality of all this. He felt his boss’s handshake, heard the tone of his voice, and saw him smile. He made a real mental movie, dramatizing it to the best of his ability. Night after night he replayed this mental movie, knowing that his subconscious mind was the receptive medium on which his conscious imagery would be impressed.

Gradually, by a process of what we can think of as mental and spiritual osmosis, the impression was made on his subconscious mind. The expression automatically came forth. Jim’s sales manager subsequently called him up to San Francisco, congratulated him, and gave him a promotion to division sales manager, with greatly increased responsibilities and a substantial raise in salary. Once Jim changed his concept and estimate of his boss, his subconscious mind saw to it that his boss responded accordingly.

She Hated Her Audiences

Marie C. had always dreamed of being an actress. She studied theater in college, then had the good fortune to be hired by an important regional theater company in a part of the country she did not know at all. The first time she performed with the company, the audience booed her. Dismayed and angry, she decided that the people of that region were stupid, ignorant, and backward. She hated them all. After a miserable time, she was dropped from the company. She moved back to the area where she had grown up, and left the stage to work as a waitress.

One day a friend invited her to go to a lecture in Town Hall in New York City. The topic was “How to Get Along with Ourselves.” This lecture changed her life. She began to see that she had overreacted to her early experience with the regional company. She admitted to herself that the play she had been in that first time was not good and that, as a new member of the company, she had probably not been at her best. The fault did not lie with the people in the audience, but with the way she accepted their reaction, then turned it back on them in the form of negative energy.

Marie decided to return to the stage and to her lifelong dream of being an actress. She began to pray sincerely for the audience and for herself. She poured out love and goodwill every night before stepping onto the stage. She made it a habit to claim that the peace of God filled the hearts of all present and that all present were lifted up and inspired. During each performance she sent out love vibrations to the audience. Today, she has an important career in theater. She transmits her goodwill and esteem to others, and they return it in kind.

Misery Loves Company

A man named Bruce T. who attended my lectures in London told me of his experience with this process. He had become active in a volunteer organization that was concerned with beautifying the community where he lived. Most of the volunteers were genuinely interested in working on planting gardens, sprucing up rundown areas, and repairing dilapidated buildings. One member, however, opposed every measure that anyone suggested. More than that, he constantly attacked the motives of the others. He made the meetings of the group so unpleasant that attendance began to decline.

Some of the other members came to Bruce. They suggested that they band together and expel the grouch from the organization. He was about to go along with this plan when he realized that to do so would be to perpetuate the man’s twisted attitudes within himself. Instead, he began to visualize the man changing into a pleasant, cooperative member of the group. Before each meeting, Bruce went into a quiet corner and repeated, I think, speak, and act in true accord with the principle of harmony and peace within myself. All who bind themselves to the goals of our organization do so with kindness and purpose in divine order. There is no discord, no unpleasantness. Creative intelligence leads, rules, and guides us in all we do.

After several weeks, the man who had caused so much trouble proposed a new initiative. He presented it in such an agreeable and cooperative manner that he won the approval of everyone else in the organization, including those who had wanted to kick him out.

The Practice of Empathy in Human Relations

A young woman named Alice O. visited me recently. She told me that she had long hated another young woman in the office where she worked. Her reason was that the other woman was prettier, happier, and more prosperous than she. The crowning blow came when the other woman became engaged to marry the CEO of the company, whom Alice had long admired.

One day after the marriage took place, the woman she so disliked came into work with her daughter from a previous marriage. Alice had not known her coworker had a child or even that she had been married before. Because of a congenital problem, the woman’s daughter wore a steel leg brace. Alice overheard her say to her mother, “Mommy, is this where my new daddy works too? I love this place, because it is so full of people I love.”

“My heart suddenly went out to that little girl,” Alice told me. “I knew how happy she must feel. I got a vision of how happy this woman was, against odds I had not even known about. All of a sudden I felt love for her. I went into her office and wished her all the happiness in the world. And I meant it.”

In that moment, Alice experienced what psychologists call empathy. This is not the same thing as sympathy, in which we understand the feelings of others. It is more. It means imaginatively projecting yourself into the mental attitudes and states of the other person. When Alice projected her mental mood or the feeling of her heart into that of the other woman, it was as if she began to think through the other woman’s experience. She was thinking and feeling as the other woman, and also as the child, because she had also projected herself into the mind of the child.

lessons

Your subconscious mind is a recording machine that reproduces your habitual thinking. Think good of the other, and you are actually thinking good about yourself.

Your mind is a creative medium; therefore, what you think and fed about the other, you are bringing to pass in your own experience. This is the psychological meaning of the Golden Rule. As you would that others should think about you, think you about them in the same manner.

You are responsible for the way you think about the other. Remember, the other person is not responsible for the way you think about him or her. Your thoughts are reproduced. What are you thinking now about the other person?

Wish for the other what you wish for yourself. This is the key to harmonious human relations.

Rejoice in the success, promotion, and good fortune of others. In doing so, you attract good fortune to yourself.

Never yield to another’s emotional scenes and tantrums. Appeasement never wins. Do not be a doormat. Adhere to that which is right. Stick to your ideal, knowing that the mental outlook that gives you peace, happiness, and joy is right, good, and true. What blesses you, blesses all.

All you owe any person in the world is love, and love is wishing for everyone what you wish for yourself – health, happiness, and all the blessings of life.

The Power of Your Subconscious Mind – Chapter 15

The Power of Your Subconscious Mind

This book explain how your own subconscious thoughts shape your life and your surroundings.

If you want to be successful at something then just start doing it. You will reach to your goals at some point as long as you keep the right mindset and learn the tasks.

Dr Murphy explains each and everything with real life examples making it simple for the reader to relate and develop. This book offers some really great skills to learn with numerous examples. You can read some of the stories below.

I would recommend this book to anyone.

Check more reviews and details on Amazon.

Chapter 15: Your Subconscious Mind and Your Happiness

He Made it a Habit to be Happy

A number of years ago, I stayed for about a week in a farmer’s house in Connemarra on the west coast of Ireland. My host seemed always to be singing and whistling and was full of good humor. I asked him the secret of his happiness.

“Sure, it’s a habit with me,” he replied. “Every morning when I awaken and every night before I go to sleep, I bless my family, the crops, the cattle, and I thank God for the wonderful harvest.” This farmer had made a practice of this for over forty years. As you know, thoughts repeated regularly and systematically sink into the subconscious mind and become habitual. He discovered that happiness is a habit.

You Must Desire to be Happy

I knew an elderly woman in England who had arthritis for many years. She would pat herself on the knee and say, “My arthritis is bad today. I can’t possibly go out. My arthritis keeps me miserable.” As a result of her condition, this woman got a lot of attention from her son, daughter, and neighbors. She really wanted her arthritis. She enjoyed her “misery,” as she called it. On the level of her subconscious mind, she did not really want to be happy.

I suggested a curative procedure to her and she gave attention to these truths, her mental attitude would undoubtedly change.

Her faith and confidence would be restored to health. She was not interested. Like many people, she suffered from a peculiar mental, morbid streak. She enjoyed being miserable and sad, or at least she enjoyed the benefits her misery brought her.

He Found Happiness to be The Harvest of a Quit Mind

When I was lecturing in San Francisco some years ago, I was approached by a man who was very unhappy and dejected over the way his business was going. He was the general manager of a corporation. His heart was filled with resentment toward the vice president and the president of the company. He felt that their opposition to his ideas was leading the company in a terrible direction. Profits were declining, as was market share. The company’s share price was also going down, which concerned him greatly because much of his compensation was in the form of stock options.

This is how he solved his business problem: The first thing each morning he affirmed quietly as follows:

All those working in our corporation are honest, sincere, cooperative, faithful, and full of goodwill to all. They are mental and spiritual links in the chain of this corporation’s growth, welfare, and prosperity. I radiate love, peace, and goodwill in my thoughts, words, and deeds to my two associates and to all those in the company. The president and the vice president of our company are divinely guided in all their undertakings. The infinite intelligence of my subconscious mind makes all decisions through me. There is only right action in all our business transactions and in our relationship with each other.

I send the messengers of peace, love, and goodwill before me to the office. Peace and harmony reign supreme in the minds and hearts of all those in the company, including myself. I now go forth into a new day, full of faith, confidence, and trust.

This business executive repeated the preceding meditation slowly three times in the morning. feeling the truth of what he affirmed. When fearful or angry thoughts came into his mind during the day, he would say to himself, “Peace, harmony, and poise govern my mind at all times.”

As he continued disciplining his mind in this manner, all the harmful thoughts ceased to come, and peace came into his mind. He reaped the harvest.

Subsequently, he wrote me to the effect that at the end of about two weeks of reordering his mind, the president and the vice president called him into the office, praised his operations and his new constructive ideas, and remarked how fortunate they were in having him as general manager. He was very happy in discovering that man finds happiness within himself.

lessons

There is tremendous power within you. Happiness will come to you when you acquire a sublime confidence in this power. Then you will make your dreams come true.

You can rise victorious over any defeat and realize the cherished desires of your heart through the marvelous power of your subconscious mind.

Give thanks for all your blessings several times a day. Furthermore, pray for the peace, happiness, and prosperity of the members of your family, your associates, and all people everywhere.

You cannot buy happiness with all the money in the world. Some millionaires are happy, some are unhappy. Many people with little worldly wealth are happy, and some are unhappy. Some married people are happy, and some unhappy. Some single people are happy, and some are unhappy. The kingdom of happiness is in your thought and feeling.