- always use plan mode (shift-tab) first
- always generate a CLAUDE.md file (like cursor rules)
- call /init (this will generate the file)
- make sure is up-to-date
- commit often and use git as a checkpoint
- yes, claude IDE has a "Restore Checpoint" feature and it will go to that point in time
- but I use git on Claude Code (this doesn't have "Restore" feature)
- i often git commit if everything looks good
- or discard it!
- NEED TO TRY: seem this can interact with git (maybe we can instruct to commit after each feature is added)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // minimize the view and run in console | |
| document.querySelectorAll('div[aria-label*="Select all photos"]').forEach(div => { | |
| // Only click if not already selected (check for common selection indicators) | |
| const isSelected = div.getAttribute('aria-checked') === 'true' || | |
| div.classList.contains('selected') || | |
| div.classList.contains('active') || | |
| div.classList.contains('checked'); | |
| if (!isSelected) { | |
| div.click(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| #============================================================================== | |
| # Claude Code Quick Start Setup Script | |
| #============================================================================== | |
| # | |
| # DESCRIPTION: | |
| # This script automates the setup of Claude Code on macOS, including all | |
| # required dependencies and configuration. It installs Homebrew, Node.js, | |
| # AWS CLI, Claude Code, and configures AWS SSO integration. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # 🚀 Refined "Delete First, Code Last" Rules - Practical Edition | |
| > **Core Philosophy: Question every line of code. Prefer simplicity over cleverness, but don't sacrifice clarity for brevity.** | |
| ## 🎯 **The Golden Question** | |
| Before writing any code: **"What's the simplest way to solve this that I can still understand in 6 months?"** | |
| --- | |
| ## 🏆 **6 Practical Principles** (Guidelines, Not Laws) |
- is
- the highest testing technical authority on test automation side
- a senior test role with a wide strategic scope
- an influencer among engineers, a good ambasador to the business
- is a leader (not a manager with other responsabilities)
- someone who build business casess around how implementing automation will benefit the customer and improve business process
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/python3 | |
| import requests, string | |
| def login(char): | |
| response = requests.post( | |
| "http://natas15.natas.labs.overthewire.org/index.php", | |
| auth=("natas15", "AwWj0w5cvxrZiONgZ9J5stNVkmxdk39J"), | |
| headers={ | |
| "Content-Type": "application/x-www-form-urlencoded", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # based on https://docs.docker.com/engine/install/ubuntu/ | |
| sudo apt-get update | |
| sudo apt-get install apt-transport-https ca-certificates curl software-properties-common | |
| curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - | |
| sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | |
| sudo apt-get update | |
| sudo apt-get install docker-ce | |
| # call this as: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| apiVersion: v1 | |
| kind: Template | |
| metadata: | |
| creationTimestamp: null | |
| name: test | |
| objects: | |
| - apiVersion: v1 | |
| kind: Pod | |
| metadata: | |
| annotations: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| apiVersion: v1 | |
| kind: DeploymentConfig | |
| metadata: | |
| name: hello-world-app | |
| spec: | |
| replicas: 1 | |
| selector: | |
| deploymentconfig: hello-world-app | |
| strategy: | |
| type: Recreate |
NewerOlder