# Insert master key
gpg --list-keys
#This will be the key id listed under the pub section, not the subkey
gpg --edit-key <your fingerprint>
#Inside the gpg prompt now...
#List the keys
list
#select the subkey you want to renew (need to cound from the top), first key in the list is 1
key <subkey number>
#once selected a * will appear next to the selected key
#renew the key
expire #comand to renew
2y #prompts for renew period, say 2 years or whatever value you wish
y #confirm with y
# unse/**
* @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 rimport 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.Produchttps://drivemadfree.comread 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 < 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/**
* @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 .claude
commands
code.review.md
"Perform an in-depth code review of our codebase - focus on security an logical bugs."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/add subagents to
.claude
agents
agentName
Add specific information about what and when to use wenn executing promts in CLAUDE.md file.Use web search or context7 mcp to find relevant documentation for... > promt to read some specific documentationon 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."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>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# using pngquant package
https://github.com/kornelski/pngquant# 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]