Skip to content

Instantly share code, notes, and snippets.

@pluto-atom-4
pluto-atom-4 / readme.md
Last active January 23, 2026 07:03
To configure my repository's .github and .claude directories

1. Configure Project-Level Settings (.claude)

The .claude folder stores project-specific context and "skills" that guide AI agents in their reviews.

  • Create Project Memory: Place a CLAUDE.md file at your project root to act as a coordinator.
  • Define Skills: Create the directory .claude/skills/. For each review area, create a subdirectory containing a SKILL.md file:
    • Backend Review: .claude/skills/backend-review/SKILL.md
      • Instruction: Focus on PEP 8 standards, FastAPI/Flask patterns, and Pydantic validation in /backend.
    • Frontend Review: .claude/skills/frontend-review/SKILL.md
  • Instruction: Focus on Next.js 15+ App Router patterns, TypeScript safety, and Tailwind CSS efficiency in /frontend.
@pluto-atom-4
pluto-atom-4 / galton-board.html
Created December 23, 2025 16:43
css visualization
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Dynamic Galton Board 2025</title>
<style>
:root {
--bg: #0f172a;
--peg: #94a3b8;
--ball-color: #38bdf8;

Jupyter Notebook notes

ssh -L 8888:localhost:8888 your_server_username@your_server_ip

Tips for json 2 POJO

  • Lombok

  • Jackson

  • Use ** @JsonDesrialize ** @Value ** @Builder

@pluto-atom-4
pluto-atom-4 / CSVtoDynamoDB.json
Last active January 30, 2019 14:09
AWS Data Pipeline sample CSV on S3 to DynamoDB
{
"objects": [
{
"myComment" : "Activity used to run the hive script to import CSV data",
"output": {
"ref": "DataNodeId_cnlSW"
},
"input": {
"ref": "DataNodeId_1ERqq"
},
@pluto-atom-4
pluto-atom-4 / NioTest.java
Created December 14, 2018 14:05
Exercising Java NIO2
import org.junit.Test;
import java.io.IOException;
import java.nio.charset.Charset;
import java.nio.charset.StandardCharsets;
import java.nio.file.Files;
import java.nio.file.OpenOption;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.nio.file.attribute.FileAttribute;
import java.io.*;
import java.util.*;
class BracketMatch {
static int bracketMatch(String text) {
if (text == null || text.isEmpty()) {
throw new IllegalArgumentException("Provide a text");
}
if (!text.replaceAll("[()]", "").isEmpty()) {
package pramp.string;
import java.util.*;
public class WordCountEngine {
static String[][] count(String document) {
Map<String, Integer> map = new HashMap<>();
String[] tokens = document.toLowerCase().replaceAll("[^a-z ]", "").split("\\s+");
@pluto-atom-4
pluto-atom-4 / AwaitilityDSLTest.java
Last active May 27, 2025 13:47
Example Awaitility + AssertJ + Rest Assured
package internal.example.awaitility;
import org.awaitility.Awaitility;
import org.junit.Before;
import org.junit.Test;
import static io.restassured.RestAssured.get;
import static java.util.concurrent.TimeUnit.MILLISECONDS;
import static java.util.concurrent.TimeUnit.SECONDS;
import static org.assertj.core.api.Assertions.assertThat;