Skip to content

Instantly share code, notes, and snippets.

View hiddentao's full-sized avatar
🌱
I may be slow to respond.

Ram hiddentao

🌱
I may be slow to respond.
View GitHub Profile
@hiddentao
hiddentao / planner.md
Created October 15, 2025 07:26
Claude code agent: planner

name: planner description: Use this agent when you need to plan a piece of work by gathering requirements, documenting them, and clarifying any ambiguities before implementation. This agent will iteratively collect requirements, write them to a markdown file, and ask clarifying questions until the plan is complete. Examples:\n\n\nContext: User wants to plan a new feature or project before implementation.\nuser: "I need to plan out a new authentication system"\nassistant: "I'll use the planner agent to help you plan this work"\n\nSince the user wants to plan work, use the Task tool to launch the planner agent to gather requirements and create a comprehensive plan.\n\n\n\n\nContext: User has complex requirements that need documentation and clarification.\nuser: "Let's plan the refactoring of our database layer"\nassistant: "I'll launch the planner agent to help document and clarify the requirements for this refactoring"\n\nThe user needs to pl

@hiddentao
hiddentao / documentation-generator.md
Last active September 8, 2025 10:21
Claude code agent: documentation-generator
name description tools model color
documentation-generator
Expert documentation generator for software projects. Use proactively when documentation is needed, including API docs, user guides, README files, or comprehensive project documentation. Specializes in project-type aware documentation with retype.com integration.
Read, Write, Edit, MultiEdit, Glob, Grep, Bash
opus
green

You are an expert documentation generator specializing in creating comprehensive, user-friendly documentation for software projects. You excel at analyzing codebases and generating documentation that balances practical usability with thorough coverage.

@hiddentao
hiddentao / code-quality-auditor.md
Last active October 9, 2025 09:37
Claude code agent: code-quality-auditor

name: code-quality-auditor description: Use this agent when you need a comprehensive code quality review focusing on security, performance, maintainability, and best practices. This agent performs deep analysis of recently written or modified code to identify issues across multiple dimensions including security vulnerabilities, performance bottlenecks, code smells, test coverage gaps, and documentation deficiencies. Context: The user wants to review code that was just written or modified for quality issues. user: "I just finished implementing the authentication module" assistant: "Let me use the code-quality-auditor agent to perform a comprehensive review of the recent changes" Since the user has completed work on a module, use the Task tool to launch the code-quality-auditor agent to review the recently written code for various quality issues. Context: The user explicitly asks for a code review. user: "Can you review the database access layer I just wr

@hiddentao
hiddentao / instructions.md
Last active July 21, 2020 07:27
Securing your Elrond validator + Netdata service behind nginx with self-signed SSL certificate on Ubuntu

Securing your Elrond validator + Netdata service behind nginx with self-signed SSL certificate on Ubuntu

Doing the following will ensure access to your node server is protected behind the firewall with the following URLs available:

  • https://<server ip>/node/* - you should see JSON output showing node stats (replace * with status, statistics, etc, see full list)
  • https://<server ip>/netdata - you will be prompted for the username and password you setup below, following which you should see your netdata dashboard

How to do it

Setup the firewall:

@hiddentao
hiddentao / docker-cheatsheat.md
Created July 7, 2020 16:07
Docker CLI cheatsheat (OS X)

Other docker commands

To delete the container:

docker rm --force <container name>

To delete the image:

@hiddentao
hiddentao / script.sql
Last active June 14, 2020 20:50
Create read-only user for specific Postgres db
create user user_name with encrypted password '...';
grant connect on database "db-name" TO user_name;
grant usage on schema public to user_name;
grant select on all tables in schema public to user_name;
alter default privileges in schema public grant select on tables to user_name;
Verifying my identity on Peepeth.com 0xb1b6e377aa6ec6928a1d499ae58483b2b99658ec
@hiddentao
hiddentao / RoleBasedAcl.sol
Last active March 10, 2020 03:27
Ethereum solidity contract for role-based access control
pragma solidity ^0.4.10;
contract RoleBasedAcl {
address creator;
mapping(address => mapping(string => bool)) roles;
function RoleBasedAcl () {
creator = msg.sender;
}
@hiddentao
hiddentao / JustGive.sol
Created June 13, 2017 15:38
A crowd-funded donation wallet with a minimum cap. All ETH is returned to contributors if minimum cap not reached. All funding passed onto payee. Multiple authorizers allowed.
pragma solidity ^0.4.10;
contract SimpleAccessControl {
address public creator;
mapping authorized(address => bool);
function AccessControl () {
creator = msg.sender;
}
@hiddentao
hiddentao / LinkedInPYMKBulkInvite.js
Last active February 14, 2017 10:44
Linked-In Auto-send all People You May Know invites
/*
For use on: "My Network" page
This will first load full list of invite suggestions by auto-scrolling to bottom of page.
Once no more suggestions are left to load it will auto-connect to all by clicking all
Connect buttons (with 100ms interval between each click).
How to run: Run the below code in your browser's Javascript console (see
Developer Tools in chrome). DO NOT close or change the browser tab whilst this is running.