Refer this pdf for best practices.
We had a need to integrate APM to php project. I have tried many ways and debug a lot but couldn’t get success.
My system using docker and container to setup a php, nginx server. We are using php 8.2, ubuntu 22.04 and required libraries.
We have added below solutions into my docker file.
So there are three ways we can integrate as I know.
dpkg -i <package-file>.deb
Error : PHP Startup: Unable to load dynamic library ‘/opt/elastic/apm-agent-php/
RUN mkdir -p /home/apm-agent && \
cd /home/apm-agent && \
git clone https://github.com/elastic/
ls -la apm && ls -la apm/agent/native/ext && \
cd apm/agent/native/ext && \
phpize && ./configure –enable-elastic_apm && \
make clean && make && make install
RUN COPY ./elastic_apm.ini /etc/php/8.2/cli/conf.d/
Error : No rule to make target ‘/home/apm-agent/apm/agent/
Error :/bin/bash: line 1: docker: command not found,
Solution : Install docker but couldn’t get success
Conclusion : couldn’t get success.
A Failure …
– My focus determines my reality.
This is essentially that mindfulness is -noticing what my mind id full of: what we are thinking, feeling and perceiving at any given moment. Mindfulness ads another important dimension to the mix: not judging what we are thinking about. When we become aware of what is occupying in our mind, it realize it can come up with some crazy stuff mix of negative and positive.
Generally three combinations of tasks that fit withing our attentional space.
Busyness
Being busy doesnot make us productive. It doesnot matter how busy we are if that this busyness doesnot lead us to accomplish anything of importance. Productivity is not about cramming more into our days but about doing the right thing in each moment.
The costs add up
A child becomes angry for several reasons, it can be:
If your child is currently throwing tantrums a lot, call the parents together and try to understand the root causes of his tantrums.
You can always get him professional mental health help.
Translated version :
બાળક કેમ ગુસ્સે થાય છે?
સંતાન કેટલાક કારણો થી ક્રોધી થાય છે એટલે હોય શકે છે:
1. નિરાશા: બાળકો કોઈ કામ કરી શકતા નથી અથવા તેમની ભાવનાઓને વ્યક્ત કરી શકતા નથી તેથી તેઓ ક્રોધી થઈ શકે છે.
2. તણાવ: બાળકો તણાવ હોય તો તેઓ ક્રોધી થઈ શકે છે, જેમ કે તેમને શિક્ષણની દબાણમાં છે, સામાજિક મુદ્દાઓને સામે લીધે અથવા કુટુંબના સમસ્યાઓથી જુદી થઇ રહ્યા છે.
3. કંટ્રોલ ના હોનાર: બાળકો ક્રોધી થઈ શકે છે જ્યારે તેઓ લાગે છે કે તેઓ સ્થિતિમાં કંટ્રોલ નથી રાખી રહ્યા, જેમ કે તેની પરિપાટી કરવાની જગ્યા પર કે તેમની પસંદને મેળવવા માટે.
4. શારીરિક અસંતોષ: બાળકો ક્રોધી થઈ શકે છે જ્યારે તેઓ ભૂખ્યાં, થક્ક અથવા દુખે છે.
5. માનસિક સ્વાસ્થ્ય મુદ્દો: કેટલાક બાળકોમાં હજી જ માનસિક સ્વાસ્થ્ય મુદ્દો હોઈ શકે છે જેમ કે ચિંતા અથવા ઉદાસીનતા જેની વજહે તેઓ ક્રોધી થઈ શકે છે.
જો તમારો સંતાન હાલમાં ઘણા વખત ક્રોધી થઈ રહ્યો છે, તો તેને સાથે માતા પિતા ને બોલાવી અને તેના ક્રોધની મૂળ કારણો સમજવા માટે પ્રયાસ કરો. તમે તેને માનસિક સ્વાસ્થ્ય માટે પ્રોફેશનલ સહાય હંમેશા મેળવી શકો છો.
EVERYDAY – Balanced
An autopilot mode and Better to switch off.
There are two main criteria to consider when categorizing what to focus on:
Four types of tasks:
Non Attractive | Attractive | |
Productive | Necessory work | Purposefull work |
UnProductive | UnNecessory work | Distracting work |
Necessory Work : includes tasks that are unattractive yet productive. Ex. Team meetings and calls. we usually have to push ourselves to do such task.
Unnecessory work : includes tasks that are both unproductive and unattractive. Ex. rearranging papers on desk or files on the computers. Spending time on such tasks keeps us busy but such busyness is just an active form of the laziness where it doesn’t lead to accomplishing anything.
Distracting Work: includes stimulating, unproductive task and this is black hole of productivity. Ex. Social media, news websites, water-cooler chats, whats-app chats, and every other form of low return distractions. These are fun but generally be indulged in small doses. Better you managing your attention.
Purposeful Work: the productive sweet spot. These are where we put on earth to do, the task with which we make the largest impact. These depends on what is your profession, like for researcher this might be a designing and running studies, for an actor this would be a rehase and perform. My important task in this categories are focus on current project deadline and completion, reading books, preparing certificate exams. In personal life , my task are: giving time to my kids, playing with them.
Actions:
Davide up your work tasks based on the four categories in the above grid.
This will give you incredible awareness of what is actually important in your work.
Some of the tactics:
ccavenue payment gateway for magento
1.
The first step is to establish a CCAvenue merchant account.
Merchant Id/User Id
32 Bit Working Key
2.magento admin (http://go.magento.com/support/kb/entry/name/payment-methods-ccavenue/)
-From the Admin panel, select System > Configuration.
From the Configuration panel on the left, under Sales, select the Payment Method tab.
Click to expand the CCAvenue section. Then, do the following:
To activate this payment method, set Enabled to Yes.
Enter the following information from your CCAvenue merchant account:
Merchant Id/User Id
32 Bit Working Key
In the Payment from Applicable Countries list, select the countries where this payment method can be used:
All Allowed Countries: Customers from all countries in the default countries list can use this payment method.
NOTE: You can define which countries are listed in the default list by modifying the Allowed Countries field in System > Configuration > General > Countries Options.
Specific Countries: Customers from only those countries selected in the Payment from Specific Countries list can use this payment method. (The list appears when you select this option.)
To set the position of CCAvenue in the list of payment methods that is displayed during checkout, enter a numeric value in the Sort Order field.
When finished, click the Save Config button.
For further instruction let me know here.
ref: old website.
Welcome to my knowledge bank. This is your first view. Start learning.