- Enter plan mode for ANY non-trivial task (3+ steps or architectural decisions).
- If something goes sideways, STOP and re-plan — don’t push through a flawed approach.
- Use plan mode for verification, not just implementation.
- Write clear specs upfront to reduce ambiguity.
- Planning lives in model context — do NOT create planning files in the repo.
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
| command_timeout = 5000 | |
| # Insert a blank line between shell prompts | |
| add_newline = true | |
| # Define the order and format of the information in our prompt | |
| format = """\ | |
| $directory\ | |
| ${custom.directory_separator_not_git}\ | |
| ${custom.directory_separator_git}\ |
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
| Hi All! | |
| I've recently launched a tool that wraps many of the commands here with a user interface. This desktop application is currently available for macOS. There's a roadmap outlining planned features for the near future. | |
| Feel free to request any features you'd like to see, and I'll prioritize them accordingly. | |
| One of the most important aspects of this application is that every command executed behind the scenes is displayed in a special log section. This allows you to see exactly what’s happening and learn from it. | |
| Here's the link to the repository: https://github.com/Pulimet/ADBugger | |
| App Description: | |
| ADBugger is a desktop tool designed for debugging and QA of Android devices and emulators. It simplifies testing, debugging, and performance analysis by offering device management, automated testing, log analysis, and remote control capabilities. This ensures smooth app performance across various setups. |
A collection of command-line interface (CLI) tools designed to enhance productivity and make terminal navigation and file management more efficient and visually appealing. Here's a brief overview of each tool, along with installation commands using Homebrew on macOS.
First, ensure you have Homebrew installed. If not, visit Homebrew's website for installation instructions. Then, you can install the following tools using Homebrew:
brew install lsd
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 | |
| #By Nate Flink | |
| #Invoke on the terminal like this | |
| #curl -s https://gist.github.com/nateflink/9056302/raw/findreplaceosx.sh | bash -s "find-a-url.com" "replace-a-url.com" | |
| if [ -z "$1" ] || [ -z "$2" ]; then | |
| echo "Usage: ./$0 [find string] [replace string]" | |
| exit 1 | |
| fi |
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
| /// HttpMethod: | |
| /// リクエストのメソッドを定義 | |
| /// Enum は Swift っぽくかける Util を使用 | |
| class HttpMethod extends Enum<String> { | |
| const HttpMethod(String val): super(val); | |
| static const HttpMethod GET = const HttpMethod('GET'); | |
| static const HttpMethod POST = const HttpMethod('POST'); | |
| static const HttpMethod PUT = const HttpMethod('PUT'); | |
| static const HttpMethod DELETE = const HttpMethod('DELETE'); |
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
| // function createUser(user) { | |
| // user.password = bcryptPassword(user.password) | |
| // const userSaved = db.insert(user); | |
| // generateConfirmationEmail(user) | |
| // } | |
| // | |
| // | |
| // function generateConfirmationEmail(user) { | |
| // const key = `${md5(user.email)}.${Random.UUID()}` | |
| // db.insertEmailConfirmation(user, key) |
Table of Contents
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
| git log --author="Linus Torvalds" --date=iso | perl -nalE 'if (/^Date:\s+[\d-]{10}\s(\d{2})/) { say $1+0 }' | sort | uniq -c|perl -MList::Util=max -nalE '$h{$F[1]} = $F[0]; }{ $m = max values %h; foreach (0..23) { $h{$_} = 0 if not exists $h{$_} } foreach (sort {$a <=> $b } keys %h) { say sprintf "%02d - %4d %s", $_, $h{$_}, "*"x ($h{$_} / $m * 50); }' | |
NewerOlder