A complete reference for the ~/.claude/themes/*.json schema, including all 69 reachable tokens. Pairs with theme.schema.json for editor validation and autocomplete.
Custom themes require Claude Code v2.1.118 or later.
A complete reference for the ~/.claude/themes/*.json schema, including all 69 reachable tokens. Pairs with theme.schema.json for editor validation and autocomplete.
Custom themes require Claude Code v2.1.118 or later.
Only needs two external libraries
https://github.com/saghul/aiodns
https://github.com/secynic/ipwhois
| <?php | |
| $finder = PhpCsFixer\Finder::create() | |
| ->exclude('libs') | |
| ->exclude('utils') | |
| ->name('*.phtml') | |
| ->in(__DIR__) | |
| //->append([ | |
| //__DIR__.'/dev-tools/doc.php', | |
| // __DIR__.'/php-cs-fixer', disabled, as we want to be able to run bootstrap file even on lower PHP version, to show nice message |
I hereby claim:
To claim this, I am signing this object:
Note: this assumes you are using ZSH shell.
Install asdf:
$ git clone https://github.com/asdf-vm/asdf.git ~/.asdf --branch v0.4.0
$ echo -e '\n. $HOME/.asdf/asdf.sh' >> ~/.zshrc
$ echo -e '\n. $HOME/.asdf/completions/asdf.bash' >> ~/.zshrc
Here's my setup:
Complete up to the "Generate the cert" section in this gist
#Steps to install latest Laravel, LEMP on AWS Ubuntu 16.4 version. This tutorial is the improvised verision of this tutorial on Digitalocean based on my experience.
Run the following commands in sequence.
sudo apt-get install -y language-pack-en-base
sudo LC_ALL=en_US.UTF-8 add-apt-repository ppa:ondrej/php
sudo apt-get update
sudo apt-get install zip unzip
| # In order for gpg to find gpg-agent, gpg-agent must be running, and there must be an env | |
| # variable pointing GPG to the gpg-agent socket. This little script, which must be sourced | |
| # in your shell's init script (ie, .bash_profile, .zshrc, whatever), will either start | |
| # gpg-agent or set up the GPG_AGENT_INFO variable if it's already running. | |
| # Add the following to your shell init to set up gpg-agent automatically for every shell | |
| if [ -f ~/.gnupg/.gpg-agent-info ] && [ -n "$(pgrep gpg-agent)" ]; then | |
| source ~/.gnupg/.gpg-agent-info | |
| export GPG_AGENT_INFO | |
| else |
| <?php | |
| /** | |
| * Run with `wp --require=import-cache.php import ... | |
| */ | |
| WP_CLI::add_hook( 'after_wp_load', function(){ | |
| // Only intercept HTTP requests when the importer is running | |
| if ( ! defined( 'WP_IMPORTING') || ! WP_IMPORTING ) { | |
| return; |
// ~/.claude/themes/my-theme.json