name: tufte-viz description: | Ideate and critique data visualizations using Edward Tufte's principles from "The Visual Display of Quantitative Information." Use this skill when: (1) Designing new data visualizations or charts (2) Critiquing or improving existing visualizations (3) Reviewing dashboards or reports for graphical integrity (4) Deciding between visualization approaches (5) Reducing chartjunk or improving data-ink ratio (6) Planning small multiples or high-density displays
Two weekends, 110 commits, an AI virtual team — How I collaborated with AI to build a local LLM knowledge management product from scratch, Agentic Local Brain. Works even better with QoderWork + XiaoQ. Details: https://github.com/agent-creativity/agentic-local-brain
Introduction: A ten-thousand-word deep dive. Feel free to skim through the section images and table of contents to get the gist, then dive into specific chapters when you have time.
In your desktop agent (OpenClaw / Hermes / Claude / Qoder / Codex / Trae, etc.), simply send the following message to start building your local brain:
| /** | |
| * Enqueue Google Analytics 4 script | |
| * | |
| */ | |
| /* Add Google Analytics 4 Site Tag as close to | |
| the opening <head> tag as possible | |
| =====================================================*/ | |
| define("GA4","G-XXXXXX", false); // Replace GA4 ID |
| <?php | |
| /** | |
| * Plugin Name: YOUR PLUGIN NAME | |
| */ | |
| include( dirname( __FILE__ ) . '/lib/requirements-check.php' ); | |
| $your_plugin_requirements_check = new YOUR_PREFIX_Requirements_Check( array( | |
| 'title' => 'YOUR PLUGIN NAME', | |
| 'php' => '5.4', |
| function rmcc_add_dashboard_widget() { | |
| wp_add_dashboard_widget( 'rmcc_dashboard_welcome', 'Welcome', 'rmcc_welcome_widget_callback' ); | |
| } | |
| add_action( 'wp_dashboard_setup', 'rmcc_add_dashboard_widget' ); |
| <?php | |
| // You need Vimeo API https://github.com/vimeo/vimeo.php | |
| require 'path-to-your-lib/vimeo/vimeo.php'; | |
| // Get this from your account | |
| $vimeo_client_id = 'xxxxx'; | |
| $vimeo_client_secret = 'xxxxxxxxxxx'; | |
| // This has to be generated on your site, plugin or theme | |
| $vimeo_token = 'xxxxxx'; |
| # wordpress-seo provides ability to edit meta information and provides sitemap. | |
| # w3-total-cache provides advanced caching no matter the server technology available. | |
| # better-wp-security provides brute force protection and a number of WordPress enhancements. | |
| # google-analytics-for-wordpress provides robust Google Analytics integration through the Google API. | |
| # redirection detects 404s and 301s and allows admins to set up redirects in the WP admin. | |
| # ewww-image-optimizer provides automatic optimization of uploaded images with local libraries instead of cloud-based services. | |
| # backupwordpress simple backup solution that can store backups above web root. | |
| # relevanssi provides better site search using a local index. | |
| # cloudflare is the best. Free automatic CDN and security solution. | |
| # jarvis is a quick search for the WordPress admin. Indespensible. |
| <?php | |
| /* | |
| * Plugin Name: Remove crazy counts slowing down my dashboard | |
| * Plugin URI: https://pmgarman.me | |
| * Description: Those comment counts are such a pain when you have a lot of comments | |
| * Author: Patrick Garman | |
| * Author URI: https://pmgarman.me | |
| * Version: 1.0.0 | |
| * License: GPLv2 | |
| */ |
MailChimp's default popup scripts can break on WordPress sites that use jQuery/jQuery UI unless you include their embed code as the final elements before the closing body tag.
Including them in this way isn't always possible or easy with WordPress.
The code below is an alternative implementation of the loader that forces MailChimp's popup scripts to appear below all other scripts upon page load.
To use it, modify the baseUrl, uuid, and lid attributes with the ones from the original popup script that MailChimp supplies.
| <?php | |
| /** | |
| * Disables repeat purchase for products / variations | |
| * | |
| * @param bool $purchasable true if product can be purchased | |
| * @param \WC_Product $product the WooCommerce product | |
| * @return bool $purchasable the updated is_purchasable check | |
| */ | |
| function sv_disable_repeat_purchase( $purchasable, $product ) { |