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
A pattern for building personal knowledge bases using LLMs.
This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.
Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.
| --Copyright (C) 2022 DvdKhl | |
| --Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), | |
| --to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, | |
| --and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: | |
| --The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. | |
| --THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | |
| --FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, | |
| --WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE |
| #!/bin/bash | |
| ### | |
| # This script is used to remove offline gitlab runners for every projects | |
| ### | |
| set -o nounset | |
| set -o errexit | |
| die () { | |
| echo >&2 "$@" |
| import boto3 | |
| ''' | |
| This gist is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. | |
| This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. | |
| You should have received a copy of the GNU General Public License along with this program. If not, see <https://www.gnu.org/licenses/>. | |
| ''' |
| CREATE EXTERNAL TABLE `cf_logs`( | |
| `cachecachestatus` string COMMENT 'from deserializer', | |
| `cacheresponsebytes` int COMMENT 'from deserializer', | |
| `cacheresponsestatus` int COMMENT 'from deserializer', | |
| `cachetieredfill` boolean COMMENT 'from deserializer', | |
| `clientasn` int COMMENT 'from deserializer', | |
| `clientcountry` string COMMENT 'from deserializer', | |
| `clientdevicetype` string COMMENT 'from deserializer', | |
| `clientip` string COMMENT 'from deserializer', | |
| `clientipclass` string COMMENT 'from deserializer', |
| # Create a pod containing the PHP-FPM application (my-php-app) | |
| # and nginx, each mounting the `shared-files` volume to their | |
| # respective /var/www/html directories. | |
| kind: Pod | |
| apiVersion: v1 | |
| metadata: | |
| name: phpfpm-nginx-example | |
| spec: | |
| volumes: |
| <?php | |
| function dedent($str) | |
| { | |
| $parts = array_filter(explode("\n", $str), function($part) { | |
| return trim($part); | |
| }); | |
| $spaces = min(array_map(function($part) { | |
| preg_match('#^ *#', $part, $matches); | |
| return strlen($matches[0]); |