Posts

Showing posts from May, 2025

Create Slack application

 WHATSSUPPPPPPPP GUYS! ✅ Step 1: Create a Slack Incoming Webhook Go to: https://api.slack.com/apps Create a new app or select an existing one. This part kene manage  Go to "Incoming Webhooks" on the left menu. Activate Incoming Webhooks . Click "Add New Webhook to Workspace" and choose the #pg-alert channel or any channel that you want. Copy the generated Webhook URL (e.g., https://hooks.slack.com/services/XXXXXXXXX/XXXXXXXXX/XXXXXXXXXXXXXXXXXXXX ). ✅ Step 2: Create a Helper or Function in CodeIgniter You can place this in a helper ( application/helpers/slack_helper.php ) or directly in a model/controller. // application/helpers/slack_helper.php if (!function_exists('send_slack_alert')) {     function send_slack_alert($message)     {         $webhook_url = 'https://hooks.slack.com/services/XXXXXXXXX/XXXXXXXXX/XXXXXXXXXXXXXXXXXXXX'; // replace with your URL         $payload = json_encode([  ...

Leadership for beginner

Handling underlings Being a leader is not a job but a responsibility. Underperformance Think what the root cause of the team's downfall Negative attitude Not being honest, for example, asking a friend to record your attendance This behavior can lead the person to do it repeatedly even if they are not working. Measure issue How do we measure the problem? Objective KPI Subjective Evaluate How to handle Communication Confront Some people must confront when someone always does the same thing repeatedly. Before you confront you must take action, for example, invite them for a drink, that way you can resolve the issue of that person. Slow talk We must understand the person we want to talk to, each person doesn't have the same attitude, some can soft some is hard. Their personalities are different, try to learn it. Sometimes not about underlings, your boss is also can be included. Second person When we try to communicate or ask them, they may feel uncomfortable, now is the time we nee...