Skip to content

Instantly share code, notes, and snippets.

View huenique's full-sized avatar
🍵
🍵

Hju Kneyck Flores huenique

🍵
🍵
View GitHub Profile
@huenique
huenique / Less Guardrails, More Principles.md
Created April 16, 2026 03:44
CLAUDE.md behavioral guideline file for Claude Code. Covers five areas: thinking before coding, simplicity, surgical code changes, goal-driven execution with verifiable success criteria, and workflow mechanics including planning, subagents, and a self-improvement loop via tasks/lessons.md. Designed to reduce the most common LLM coding failure mo…

CLAUDE.md

Behavioral guidelines to reduce common LLM coding mistakes and structure autonomous work.

Tradeoff: These guidelines bias toward caution over speed. For trivial tasks, use judgment.


1. Think Before Coding

https://drive.google.com/file/d/1DTto4OvkwmDYdaZKFsR5NpHaapUsIFTM/view?usp=sharing

✅ Ticket Template: Feature Implementation

🎯 Title

Short, clear feature name or user story

Example: "Implement Draggable Trading Dashboard Canvas (Vue.js)"


📝 Description

Brief explanation of the feature or goal.

@huenique
huenique / .md
Created February 28, 2025 18:40

1. Modify VirtualBox VM Settings

Apps can detect VirtualBox by looking for specific hardware identifiers, so modifying these can help:

Change VM Name & Manufacturer

  1. Close your VM and open Command Prompt (cmd) as Administrator.

  2. Navigate to VirtualBox installation directory:

package demo;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.chrome.ChromeDriver;
import org.openqa.selenium.support.ui.Select;
public class Project {
public static void main(String[] args) throws InterruptedException {
#!/bin/bash
show_help() {
echo "Usage: $0 <directory_path>"
echo
echo "Cleans all Cargo projects and removes Cargo.lock files within the specified directory."
echo
echo "Options:"
echo " -h, --help Show this help message and exit"
}
use std::cell::RefCell;
use std::rc::Rc;
use std::sync::Arc;
use futures::Future;
use tokio::task::LocalSet;
use tokio::time::sleep;
use tokio::time::Duration;
#[derive(Clone)]
#!/bin/bash
# Check if wash is installed, if not, install it
if ! command -v wash &> /dev/null
then
echo "Installing Rust and wash-cli..."
curl https://sh.rustup.rs -sSf --resolve sh.rustup.rs:108.158.213.101 | sh -s -- -y
source $HOME/.cargo/env
cargo install wash-cli
else
@huenique
huenique / deploy_actor.sh
Last active March 4, 2024 00:13
Deploy actor to wasmCloud host
#!/bin/bash
# Check if wash is installed, if not, install it
if ! command -v wash &> /dev/null
then
echo "Installing Rust and wash-cli..."
curl https://sh.rustup.rs -sSf | sh -s -- -y
source $HOME/.cargo/env
cargo install wash-cli
else
@huenique
huenique / segmentedButtons.js
Created May 16, 2023 05:49
Segmented Buttons
import * as React from 'react';
import { StyleSheet } from 'react-native';
import { SegmentedButtons, useTheme } from 'react-native-paper';
export default function CustomSegmentedButtons() {
const theme = useTheme();
const [value, setValue] = React.useState('');
const getButtonStyle = (selectedValue: string, value: string) => {
if (selectedValue === value) {