Posted in Verse Explanation

Goodness

…You yourselves are full of goodness, filled with knowledge…
Romans 15:14

Goodness is another fruit that God expects us from. The world that we live is filled with evil and deceit. It is not necessary to teach bad character to babies; it comes to them itself. But the good character which God expects has to be taught seriously.

III John 1:11 says, “Dear friend, do not imitate what is evil but what is good. Anyone who does what is good is from God”. We, whom created by God in his own image, expects goodness from us. He loves if we follow it. The world that we live though has badness in it, we should be cautious that its dirt never falls on us.

Also, I John 4:13 says, “We know that we live in him and he in us: He has given us of his Spirit”. He gives us his spirit to live in him. Paul says, “You, however, are not in the realm of the flesh but are in the realm of the Spirit, if indeed the Spirit of God lives in you. And if anyone does not have the Spirit of Christ, they do not belong to Christ”.

God gives us the Spirit of Christ. You may wonder what Spirit of Christ actually is. Jesus when he was living among us, he was going around doing good (Acts 10:38) as testified by apostle. He did no evil to anyone; expressed goodness and taught goodness. The one who created us when has the spirit of Goodness, we, who hold his spirit should also exhibit the quality of goodness. Jesus says, “Love your enemies, do good to those who hate you” in Luke 6:27.

Do you crave that you can’t live with good character in this world? Ask God, he creates situation for that. He gives us what we long for. Psalmist cries out to God, You are good, and what you do is good; teach me your decrees.” in Psalm 119:68. Let’s plea to God in the same way and reveal the goodness which God expects.

Posted in Bootstrap, Code Snippets, Javascript

Quick Fix: Scrolling and Focus when multiple bootstrap modals are open

When more than one modal is opened you might have noticed that after the latter modal loses its focus, the former modal loses its scrolling option, rather page’s body scrolls (if exists, otherwise no scrollbar!). There is a quick fix for this:

Continue reading “Quick Fix: Scrolling and Focus when multiple bootstrap modals are open”

Posted in Laravel

Securely setting file permissions for Laravel Framework

After developing the application locally, when the application is moved to production, people find that web page fails to display the content. This may be due to proper file permissions. Some simply gives complete read, write and execute permission for files and directories like this:

sudo chmod -R 777 path/to/root

which is a serious security concern. Follow these steps to securely grant permissions to your files:

Continue reading “Securely setting file permissions for Laravel Framework”

Posted in Laravel

Add multiple contents to @yield from @section

Sometimes, we may extend/include more than one template inside a layout. When we need to define a section of content in a single yield, it perfectly does its job. But when there is a situation that needs to include multiple sections inside a single yield, the first section is overridden by the next section resulting in displaying only the last section in the yield directive.

Continue reading “Add multiple contents to @yield from @section”