3640. Trionic Array II

You are given an integer array nums of length n. A trionic subarray is a contiguous subarray nums[l...r] (with 0 <= l < r < n) for which there exist indices l < p < q < r such that: nums[l...p] is strictly increasing, nums[p...q] is strictly decreasing, nums[q...r] is strictly increasing. Return the maximum sum of any trionic subarray in nums.
/**
 * @param {number[]} nums
 * @return {number}
 *
 * This solution uses top‑down DP with memoization.
 * We track 4 phases (k = 0..3) of a trionic subarray:
 *
 *   0 → before starting the first increasing phase
 *   1 → strictly increasing
 *   2 → strictly decreasing
 *   3 → final strictly increasing (valid trionic)
 *
 * At each index i, we decide whether to:
 *   - skip nums[i] (only allowed in phase 0)
 *   - take nums[i] and transition to the next phase if allowed
 *
 * The recursion r

Ger product medias urls

import de.hybris.platform.core.model.product.ProductModel
import de.hybris.platform.servicelayer.internal.dao.GenericDao

GenericDao<ProductModel> productDao = spring.getBean('genericProductDao')

final products = productDao.find()
products.stream().filter {it.getGalleryImages() != null && !it.getGalleryImages().isEmpty()}.flatMap {it.getGalleryImages().stream()}.flatMap {it.getMedias().stream()}.forEach {
    println it.getDownloadURL()
}

OU

import de.hybris.platform.core.model.product.Produc

Get Behind the Wheel and Go Wild with Drive Mad!

Introduction Some games hook you with a big story, while others win you over with a simple idea executed really well. [Drive Mad](https://drivemadfree.com)s is a great example of the second kind: it’s a physics-based driving game that turns short levels into tiny experiments in balance, momentum, and patience. If you like games where you can laugh at your own mistakes and immediately try again, this one is easy to enjoy in short sessions or longer “just one more level” stretches. Gameplay At its core, Drive Mad is about getting a vehicle from the start of a level to the finish without flipping, smashing, or losing control. That sounds straightforward, but the fun comes from how the game uses physics and level design to constantly change what “driving carefully” means. Some stages feel like obstacle courses, with uneven platforms, ramps, gaps, or narrow bridges. Others challenge you with awkward vehicles that handle differently than you expect—maybe the front is heavy, the suspension is bouncy, or the wheelbase makes it easy to tip. The controls are usually simple (accelerate and brake), but the results aren’t: tap the gas too long and you launch into a roll; brake at the wrong time and the car nose-dives. Because levels are short, the rhythm is fast: attempt, fail, learn, retry. Each reset is part of the experience rather than a punishment. If you want to try it in your browser, you can find Drive Mad online and jump right into the early levels to get a feel for the physics. Tips 1. Use gentle throttle control The biggest improvement often comes from tapping acceleration instead of holding it down. Small bursts help keep traction and prevent the car from pitching backward. 2. Treat braking as a balancing tool In many levels, braking isn’t just for stopping—it’s for controlling your car’s tilt mid-air or on a slope. A light brake tap can bring the front down and reduce flips. 3. Watch the vehicle’s center of mass If your car keeps tipping, it’s usually because your weight shifts too quickly. Slow down before bumps, land flatter, and avoid climbing obstacles at steep angles. 4. Plan for the landing, not the jump Big ramps are tempting, but clearing a gap is only half the job. Aim for stable landings by reducing speed just before takeoff or adjusting the car’s angle in the air. 5. Learn one hazard at a time When a level has multiple tricky parts, focus on consistently passing the first obstacle before worrying about the rest. Progress becomes much smoother when you build reliable “checkpoints” in your mind. Conclusion [Drive Mad](https://drivemadfree.com) is a good reminder that a game doesn’t need complicated systems to be engaging. With simple controls, unpredictable physics, and clever level design, it creates satisfying little challenges that reward patience and experimentation. Whether you play for a few minutes or end up chasing the perfect run, it’s the kind of game where every failure teaches you something—and the next attempt is always just one click away.
https://drivemadfree.com

split LOV, IG

read and LOV and split
var region  = apex.region("EMP");
https://pothiarunmca.blogspot.com/2026/02/dynamic-interactive-grid-row-creation.html

Interactive Grid

var actions = region.call("getActions");

var view    = region.call("getCurrentView");

var model   = view.model;

var deptValues = $v("P4_DEPTNO");  // item name

if (!deptValues) return;

var deptArr = deptValues.split(":");

var targetCount = deptArr.length;

var currentCount = model.getTotalRecords();

for (var i = currentCount; i < 

set up shared mailbox

Instruction to Manually add the shared Mailbox are as below : 
1.	Click File:
o	In the top-left corner, click "File".
2.	Account Settings:
o	Click "Account Settings", then again "Account Settings" from the dropdown.
3.	Change:
o	Select your account and click "Change".
4.	More Settings:
o	Click "More Settings".
5.	Advanced Tab:
o	In the new window, go to the "Advanced" tab.
6.	Add:
o	Click "Add" under "Mailboxes".
7.	Enter the Mailbox Name:
o	Enter the name of the shared mailbox you

3637. Trionic Array I

You are given an integer array nums of length n. An array is trionic if there exist indices 0 < p < q < n − 1 such that: nums[0...p] is strictly increasing, nums[p...q] is strictly decreasing, nums[q...n − 1] is strictly increasing. Return true if nums is trionic, otherwise return false.
/**
 * @param {number[]} nums
 * @return {boolean}
 */
var isTrionic = function(nums) {
    const n = nums.length;

    // Need at least 4 elements to form inc → dec → inc
    if (n < 4) return false;

    let i = 0;

    // -------------------------------
    // Phase 1: strictly increasing
    // -------------------------------
    while (i + 1 < n && nums[i] < nums[i + 1]) {
        i++;
    }

    // If we never increased or we stopped at the last element,
    // we cannot form the required 

Commands

.claude
  commands
    code.review.md

"Perform an in-depth code review of our codebase - focus on security an logical bugs."

Skills

add skills to
.claude
  skills
    subfolder (open naming)
      SKILL.md (must be named like this)
      
Content:
---
name: name of the subfolder (must be the same)
description: ...
---

https://skills.sh/

Subagents

add subagents to
.claude
  agents
    agentName
    
Add specific information about what and when to use wenn executing promts in CLAUDE.md file.

MCP

Use web search or context7 mcp to find relevant documentation for... > promt to read some specific documentation

CLAUDE.MD

on top of the document add pointer to @SPECS.MD file. Also add some short description for the basic information about the app.

add note to "Keep your replies extremly concise and focus on conveying the key information. No unnecessary fluff, no long code snippets."

file pointing

We are bulding an app described in @SPEC.MD > this we point to a file in a promt

<better-auth-database-docs>
Use XML tags to wrap a certain pard of text in documentation
</better-auth-database-docs>

commands

claude init > initialise the project
claude -p "expalin this project" > hides the process and shows only result
/resume > shows previous sessions
claude -c > opens last session
claude --dangerously-skip-permissions > all permissions are granted, confirmation will not be assked again
/sandbox or docker sandbox run claude > will create a sandbox and limit claude access to computer outside of sandbox, important if using --dangeroulsy... settings
2x ESC btn clicks or /rewind rewinds the last changes

How to optimize png images using the terminal?

# using pngquant package
https://github.com/kornelski/pngquant

How to revert changes made in a commit from a branch ?

# git revert creates a new commit that undoes the changes from a specific commit. It doesn't remove commits from history or revert "until" a point.

# How git revert works:
#  Creates a new commit that reverses the changes
#  Doesn't delete or remove commits from history
#  Works on specific commits, not ranges

# Important: Order matters
# Revert in reverse chronological order (newest first) to avoid conflicts:

git revert [commit hash]

背景色付きテキスト 改行対応

.hoge {
	display: inline;
	line-height: 2.5;
	background-color: rgba($color: #fff, $alpha: 0.8);
	box-decoration-break: clone;
	-webkit-box-decoration-break: clone;
	padding: 6px 10px;
}