Skip to content

Instantly share code, notes, and snippets.

View roxanneallard's full-sized avatar

Roxanne Allard roxanneallard

View GitHub Profile
@roxanneallard
roxanneallard / WP Premium plugins
Last active March 10, 2020 14:49
WP Premium plugins
Duplicator Pro
Supermakkelijk wordpress websites verplaatsen
Advanced Custom Fields Pro
Custom veld aanmaken in posts in de backend
Search & Filter Pro
Geavanceerd posts etc. zoeken en filteren.
WP Accessibility Helper Pro
@roxanneallard
roxanneallard / button.html
Created November 28, 2018 17:28
Floating Button
<div id="circularMenu" class="circular-menu">
<a class="floating-btn" onclick="document.getElementById('circularMenu').classList.toggle('active');">
<i class="fa fa-plus"></i>
</a>
<menu class="items-wrapper">
<a href="/zoeken" class="menu-item">Zoeken</a>
<p href="" id="show-explanation" class="menu-item">Uitleg Website</p>
</menu>
</div>
@roxanneallard
roxanneallard / wp-config.php
Created November 30, 2018 13:36
Wordpress Debug Mode
// Enable WP_DEBUG mode
define( 'WP_DEBUG', true );
define( 'WP_DEBUG_LOG', true );
define( 'WP_DEBUG_DISPLAY', true );
@ini_set( 'display_errors', 1 );
@roxanneallard
roxanneallard / collapse.css
Last active January 4, 2019 17:33
Collapse
button.btn.collapsed:before {
content:'Lees verder' ;
}
button.btn:before {
content:'Sluit' ;
}
@roxanneallard
roxanneallard / verticalalign.scss
Created January 31, 2019 18:02
Vertical Align
.element {
position: relative;
top: 50%;
transform: translateY(-50%);
}
/* Mixin */
@mixin vertical-align($position: relative) {
position: $position;
top: 50%;
@roxanneallard
roxanneallard / archive.php
Last active March 25, 2019 14:52
Display categories using get_the_terms();
// Get terms for post
$terms = get_the_terms( $event->ID , 'tribe_events_cat' );
// init counter
$i = 1;
// Loop over each item since it's an array
if ( $terms != null ){
foreach( $terms as $term ) {
// Print the name method from $term which is an OBJECT
PHP Templating with Twig: Installing (Part 1/5)
https://www.youtube.com/watch?v=SVb0whlghQY
PHP Templating with Twig: Creating Views (Part 2/5)
https://www.youtube.com/watch?v=lLweQpE59oU
Installeer composer in map
Installeer twig
@roxanneallard
roxanneallard / llm-wiki.md
Created October 26, 2026 15:45 — forked from karpathy/llm-wiki.md
llm-wiki

LLM Wiki

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.

The core idea

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.