Skip to content

Instantly share code, notes, and snippets.

View portfola's full-sized avatar

Rindy Portfolio portfola

View GitHub Profile
@portfola
portfola / ralph
Last active July 14, 2026 22:16
ralph loop
#!/bin/bash
n=1; while :; do
echo "=== Task loop #$n starting at $(date) ==="
output=$(claude --dangerously-skip-permissions --print --verbose < PROMPT.md 2>&1 | tee /dev/tty)
if echo "$output" | grep -qE "You.ve hit your ([[:alnum:]-]+ )?limit"; then
echo "=== Rate limited. Stopping loop #$n at $(date) ==="
break
fi
if echo "$output" | grep -q "ALL TASKS COMPLETE"; then
echo "=== All tasks complete. Stopping loop #$n at $(date) ==="
<div class="site-branding">
<div class="site-branding-container">
<?php get_template_part( 'components/site-logo/site-logo' ); ?>
<?php do_action ( 'anp_network_main_site_description' );?>
<h1 class="site-title"><a href="<?php bloginfo( 'url' ); ?>"><?php bloginfo( 'title' ); ?></a></h1>
<h2 class="site-description"><?php bloginfo( 'description' ); ?></h2>
<?php get_template_part( 'components/social-menu/social-menu' ); ?>
@portfola
portfola / author.php
Last active May 6, 2023 18:15
Custom User Taxonomies in WordPress
<?php
/**
* The template for displaying Profile pages.
*
* Used for Artist and Cultural Org "mini" pages.
*
* @package ArtsWestchester
* @since ArtsWestchester 1.0
*/