Skip to content

Instantly share code, notes, and snippets.

View taiphan-fcs's full-sized avatar

Tai Phan taiphan-fcs

View GitHub Profile
@taiphan-fcs
taiphan-fcs / full_list_of_wp_globals.php
Created October 27, 2025 07:32 — forked from kagg-design/full_list_of_wp_globals.php
Full list of WordPress global variables, extracted from WP Coding Standards
<?php
/**
* List of global WP variables.
*
* @since 0.3.0
* @since 0.11.0 Changed visibility from public to protected.
* @since 0.12.0 Renamed from `$globals` to `$wp_globals` to be more descriptive.
* @since 0.12.0 Moved from WordPress_Sniffs_Variables_GlobalVariablesSniff to WordPress_Sniff
*
* @var array
@taiphan-fcs
taiphan-fcs / test.json
Created October 6, 2025 08:48 — forked from walkingtospace/test.json
Github push webhook event payload example
{
"event": "push",
"payload": {
"ref": "refs/heads/master",
"before": "1214900eca16aa54d97d062e7b72261616fd53aa",
"after": "40a717b3644e2ddec52cf6c8bfa436767bf0704e",
"repository": {
"id": 17892893,
"node_id": "MDEwOlJlcG9zaXRvcnkxNzg5Mjg5Mw==",
"name": "codecombat",
@taiphan-fcs
taiphan-fcs / Git Handbook.md
Last active September 11, 2025 06:12 — forked from xirixiz/Set up GitHub push with SSH keys.md
Set up GitHub push with SSH keys

Set up GitHub push with SSH keys.md

SSH keypair setup for GitHub (or GitHub/GitLab/BitBucket, etc, etc)

Create a repo.

Make sure there is at least one file in it (even just the README.md)

Generate a SSH key pair (private/public):