Easter Eggs & Hidden Features in Claude Code
A collection of easter eggs, undocumented behaviors, internal codenames, and surprising details found in the Claude Code source code. Organized by category.
A collection of easter eggs, undocumented behaviors, internal codenames, and surprising details found in the Claude Code source code. Organized by category.
| # Run in terminal | |
| defaults write com.apple.LaunchServices/com.apple.launchservices.secure LSHandlers -array-add '{LSHandlerContentType=public.plain-text;LSHandlerRoleAll=com.sublimetext.4;}' | |
| defaults write com.apple.LaunchServices/com.apple.launchservices.secure LSHandlers -array-add '{LSHandlerContentType=public.data;LSHandlerRoleAll=com.sublimetext.4;}' | |
| # IMPORTANT: You must restart your Mac for the changes to take effect. |
| defaults write com.apple.LaunchServices/com.apple.launchservices.secure LSHandlers -array-add '{LSHandlerContentType=public.plain-text;LSHandlerRoleAll=com.sublimetext.4;}' | |
| defaults write com.apple.LaunchServices/com.apple.launchservices.secure LSHandlers -array-add '{LSHandlerContentType=public.data;LSHandlerRoleAll=com.sublimetext.4;}' |
| // If you have installed PHP 8.0 on your MBP from brew you can simply build the Imagick from source: | |
| git clone https://github.com/Imagick/imagick | |
| cd imagick | |
| phpize && ./configure | |
| make | |
| make install | |
| // Builded extension should land in similarly directory: |
| # If you want to use different keys depending on the repository you are working | |
| # on, you can issue the following command while inside your repository: | |
| git config core.sshCommand "ssh -o IdentitiesOnly=yes -i ~/.ssh/private-key-filename-for-this-repository -F /dev/null" |
| #!/bin/bash | |
| # Colors | |
| RED='\033[0;31m' | |
| BLACK='\033[0;30m' | |
| DARK_GRAY='\033[1;30m' | |
| LIGHT_RED='\033[1;31m' | |
| GREEN='\033[0;32m' | |
| LIGHT_GREEN='\033[1;32m' | |
| BROWN_ORANGE='\033[0;33m' |
| # Populate the Time Zone Tables from your system into the MySQL: | |
| # @see https://dev.mysql.com/doc/refman/5.7/en/time-zone-support.html#time-zone-installation | |
| mysql_tzinfo_to_sql /usr/share/zoneinfo | mysql -u root mysql | |
| # In `/etc/mysql/my.cnf` add following line under [mysqld] config group: | |
| [mysqld] |
| // For performance reasons we're only matching one level down: | |
| // 'test/spec/{,*/}*.js' | |
| // If you want to recursively match all sub-folders, use: | |
| // 'test/spec/**/*.js' | |
| 'use strict'; | |
| module.exports = function (grunt) { | |
| var autoprefixer = require('autoprefixer')({ |
| #!/bin/bash | |
| # Removedomain command | |
| # --- | |
| # script can run with the domain as a command line input | |
| # `sudo ./nginx_domain.sh my_domain.com` or without and | |
| # the script will prompt the user for input | |
| # | |
| # BTW: You can make it global e.g. by: | |
| # sudo ln -s /opt/delagics/removedomain.sh /usr/bin/removedomain |
| #!/bin/bash | |
| # Makedomain command | |
| # --- | |
| # script can run with the domain as a command line input | |
| # `sudo ./nginx_domain.sh my_domain.com` or without and | |
| # the script will prompt the user for input | |
| # | |
| # BTW: You can make it global e.g. by: | |
| # sudo ln -s /opt/delagics/makedomain.sh /usr/bin/makedomain |