Skip to content

Instantly share code, notes, and snippets.

View acebytes's full-sized avatar
🤙

Bonanza acebytes

🤙
  • 20:01 (UTC -07:00)
View GitHub Profile
@acebytes
acebytes / README.md
Created July 24, 2026 23:52
How to Install Swift for Jules Autonomous Agent

Install Swift 5.10 for Jules Autonomous Agent

This script automates the installation of the Swift 5.10.1 toolchain within the Jules Google autonomous agent environment. It resolves required system dependencies, downloads the appropriate Ubuntu 22.04 release, and configures the agent's execution path for immediate use.

Requirements

  • Jules autonomous agent environment (Ubuntu 22.04 base system)
  • sudo privileges within the agent environment

Usage

@acebytes
acebytes / night-vision.js
Created March 19, 2026 03:51
Universal Dark Mode Bookmarklet -- Save entire snippet as a bookmark in your web browser. Click to inverse colors, and click again to revert!
javascript:(function(){var id='__invert_css';var existing=document.getElementById(id);if(existing){existing.remove();return;}var css='html{-webkit-filter:invert(100%);-moz-filter:invert(100%);-o-filter:invert(100%);-ms-filter:invert(100%);filter:invert(100%);background:#1a1a1a;}img,video,iframe{filter:invert(100%);-webkit-filter:invert(100%);}';var style=document.createElement('style');style.id=id;style.type='text/css';style.appendChild(document.createTextNode(css));(document.head||document.getElementsByTagName('head')[0]).appendChild(style);}());
@acebytes
acebytes / *claude.md
Created June 28, 2025 11:46 — forked from ruvnet/*claude.md
The Claude-SPARC Automated Development System is a comprehensive, agentic workflow for automated software development using the SPARC methodology with the Claude Code CLI

Claude-SPARC Automated Development System For Claude Code

This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.

Overview

The SPARC Automated Development System (claude-sparc.sh) is a comprehensive, agentic workflow for automated software development using the SPARC methodology (Specification, Pseudocode, Architecture, Refinement, Completion). This system leverages Claude Code's built-in tools for parallel task orchestration, comprehensive research, and Test-Driven Development.

Features

@acebytes
acebytes / README.md
Created June 18, 2025 10:08
Simple way for Claude Code to know the correct date/time

Claude Code Custom Commands

A simple example showing how to create custom slash commands for Claude Code without needing MCP servers.

What are Custom Commands?

Claude Code automatically recognizes any markdown file in your .claude/commands/ directory as a slash command. This provides a simple way to create reusable prompts and workflows without any complex setup.

Directory Structure

On Mac or Linux:

<?php
$html =<<<HTML
<script type="text/javascript">
<!--
piCId = '{$campaign}';
{$tracking_code_template}
-->
</script>
HTML;
@acebytes
acebytes / frm-skip-action.php
Last active December 5, 2021 00:40
Skip Formidable Forms User Registration Action
<?php
add_filter( 'frm_skip_form_action', 'form_action_conditions', 10, 2 );
/**
* @param $skip_this_action
* @param $args
* @return bool
*
* Skips user registration actiom if
* email address is already registered
<?php
function _wgt_scripts() {
// styles and scripts code...
$form_html = array(
'trip_signup_form' => _wgt_get_trip_signup_form_html(),
'request_trip_quote' => _wgt_request_trip_quote_form_html()
);
wp_localize_script(
@acebytes
acebytes / heroku-node-cache.txt
Created October 8, 2018 08:58
Disable Heroku Node modules cache
$ heroku config:set NODE_MODULES_CACHE=false
$ git commit -am 'disable node_modules cache' --allow-empty
$ git push heroku master
@acebytes
acebytes / heroku-build-cache.txt
Last active October 8, 2018 08:58
Clear Heroku build cache
$ heroku plugins:install heroku-repo
$ heroku repo:purge_cache -a appname
$ git commit --allow-empty -m "Purge cache"
$ git push heroku master
@acebytes
acebytes / email-widget.js
Created February 12, 2018 06:16 — forked from nozzlegear/email-widget.js
This is an example email capturing widget, used to demonstrate the power of Shopify's script tags to add dynamic functionality to a Shopify store front. Learn more about using Shopify script tags with The Shopify Development Handbook at https://nozzlegear.com/shopify-development-handbook.
(function ()
{
//Build a pseudo-class to prevent polluting our own scope.
var api = {
Settings: {},
Vox: {},
Start: function ()
{
//Get the *.myshopify.com domain
var shop = Shopify.shop;