Skip to content

Instantly share code, notes, and snippets.

View ashbeats's full-sized avatar
💭
Launch Mode Ready

Ash ashbeats

💭
Launch Mode Ready
  • AxiKey
View GitHub Profile
@ashbeats
ashbeats / all_files.md
Created March 1, 2026 05:22 — forked from mberman84/all_files.md
Matt's Markdown Files

OpenClaw: System Prompt File Templates

Generalized versions of all root .md files used by OpenClaw. These files are loaded into the agent's system prompt on every request (except MEMORY.md which is conditional).

Copy these as starting points and customize for your own setup. Replace <placeholders> with your values.


AGENTS.md

@ashbeats
ashbeats / ANDROID_HOME.sh Follow these instruction to install Android SDK on a AWS EC2
# Export the path to enviroment
export ANDROID_HOME=/home/ec2-user/environment/android-sdk
export PATH=$PATH:$ANDROID_HOME/cmdline-tools/platform-tools
export PATH=$PATH:$ANDROID_HOME/cmdline-tools/tools/bin
export PATH=$PATH:$ANDROID_HOME/cmdline-tools
<?php
/**
* Author: git@ashbeats
* Date: 6/12/2019
* Time: 10:46 PM
*/
$testCases = [
'123Adggaaabaaaaaaabbc' => 'a',
'aaabbb' => 'a', // a
<?php
/**
* Author: git@ashbeats
* Date: 12/2/2018
* Time: 2:45 AM
*/
/**
* Late night code after stumbling on https://youtu.be/IWvbPIYQPFM?t=537 and a ton of beers.
<?php
/***
This script runs a local image against the image labeler.
~/tensorflow/bazel-bin/tensorflow/examples/label_image/label_image \
--graph=$graph_model --labels=$labels \
--output_layer=final_result \
--image=$image_path
Make sure you build 'label_image' first and copy it + the models into this folder.
@ashbeats
ashbeats / Css2ImagikConverter.php
Last active June 22, 2018 22:04
// wrote this to create templates faster using psd's as guides.// this class helps me to convert psd css into imagik style positioning values// supports angle, top(y), left(x), fontsize (takes lineheight into consideration and adds the needed padding to the top)
<?php
/**
* Created by PhpStorm.
* User: Ash64bit
* Date: 29-Jul-16
* Time: 9:38 PM
*/
namespace App\CustomLibs\JohnChristos\Vidx;
<?php
/**
*
* @param array $paths_media_inputs
* @param string $paths_media_output
* @param int $default_video_stream_index
* @param int $default_audio_stream_index
* @return string
*/
<?php
/**
* Created by PhpStorm.
* User: Ash (ashbeats@gmail.com)
* Date: 23-Apr-16
* Time: 4:31 PM
*/
// வார்த்தைகள்
/* வார்த்தைகள் */
@ashbeats
ashbeats / tam-consonant.php
Last active June 22, 2018 22:00
Simple-unicode-zoom-test
<?php
function tamil_consonant()
{
$consonants = [
["Sound" => "AK", "hex" => "0B83", "text" => "ஃ"],
["Sound" => "KA", "hex" => "0B95", "text" => "க"],
["Sound" => "NGA", "hex" => "0B99", "text" => "ங"],
["Sound" => "CA", "hex" => "0B9A", "text" => "ச"],