Skip to content

Instantly share code, notes, and snippets.

@mllvzeth
mllvzeth / 202501051557-aunt_ww-xpost.md
Last active January 6, 2025 00:10
@Aunt_ww's zerepy tweet

@Aunt_ww's x-post

Feature/Framework Swarms Eliza ZerePy Rig
Positioning Enterprise-level, modular framework supporting multi-agent collaboration and complex task management Ease of use prioritized, designed for beginners and social media interaction scenarios Lightweight deployment of lightweight agents, suitable for Web3 and social applications High-performance framework, suitable for fine-grained optimization and high-concurrency tasks
Technical Barrier High, requires strong technical background Low, very suitable for beginners Moderate, suitable for developers with basic AI understanding High, requires experience in Rust development
Application Scenarios Enterpri
(async function (workflow, context) {
const { get } = context.libs;
const PRODUCT_LINE_FIELDS = {
lineProductBucket: "product_field12", // Product Bucket
lineLineTotal: "product_field1", // Line Total
lineOwner: "product_field1027", // Owner
parentId: "parent_entity_reference_id", // Parent ID
parentMonth: "product_field1022", // Month
parentYear: "product_field1023", // Year
/****************************************************************
const createNewCommunity = async (communityName, indigenousAffiliation) => {
try {
const request_variables = {
entity: 'community',
field_values: {
community_field0: communityName,
community_field2: indigenousAffiliation,
},
"forceAsyncPostCreateProcessing": true
@mllvzeth
mllvzeth / freeAgentCRMFix.css
Last active June 17, 2022 19:52
FreeAgentCRM CSS
/*
Custom Styling to improve FreeAgentCRM
👉 Chrome Extension
https://chrome.google.com/webstore/detail/user-css/okpjlejfhacmgjkmknjhadmkdbcldfcb
*/
//Fix field entry containers & sub-containers
.form-container.entityForModalContainer, .form-container .form-gen-div, {
@mllvzeth
mllvzeth / divi-sass-skeleton.scss
Last active November 26, 2019 00:04
Divi Sass Skeleton
html{
body{
#page-contianer{
#et-boc{
header{
.et_builder_inner_content{
}//.et_builder_inner_content
}//header
#et-main-area{
#main-content{
@mllvzeth
mllvzeth / jurchiks101phpgenerateCallTrace
Created April 25, 2017 18:29
PHP Error Handling - @jurchiks101's generateCallTrace()
<?php
/**
* jurchiks101_at_gmail_dot_com
* Can be found at http://php.net/manual/en/function.debug-backtrace.php#112238
*/
function generateCallTrace()
{
$e = new Exception();
$trace = explode("\n", $e->getTraceAsString());
// reverse array to make steps line up chronologically
@mllvzeth
mllvzeth / OpenWithSublimeText2.bat
Created April 14, 2017 15:54 — forked from mrchief/LICENSE.md
Add "Open with Sublime Text 2" to Windows Explorer Context Menu (including folders)
@echo off
SET st2Path=C:\Program Files\Sublime Text 2\sublime_text.exe
rem add it for all file types
@reg add "HKEY_CLASSES_ROOT\*\shell\Open with Sublime Text 2" /t REG_SZ /v "" /d "Open with Sublime Text 2" /f
@reg add "HKEY_CLASSES_ROOT\*\shell\Open with Sublime Text 2" /t REG_EXPAND_SZ /v "Icon" /d "%st2Path%,0" /f
@reg add "HKEY_CLASSES_ROOT\*\shell\Open with Sublime Text 2\command" /t REG_SZ /v "" /d "%st2Path% \"%%1\"" /f
rem add it for folders
@reg add "HKEY_CLASSES_ROOT\Folder\shell\Open with Sublime Text 2" /t REG_SZ /v "" /d "Open with Sublime Text 2" /f
@mllvzeth
mllvzeth / load-html-as-utf-8-php-hack.php
Created April 6, 2017 20:58
load HTML as UTF-8 using simple hack:
<?php
/**
* @mdmitry at gmail dot com
*
*/
$doc = new DOMDocument();
$doc->loadHTML('<?xml encoding="UTF-8">' . $html);
// dirty fix
@mllvzeth
mllvzeth / shuffle_assoc
Created April 6, 2017 18:20 — forked from Quinten/shuffle_assoc
shuffle an array while preserving keys
<?php
function shuffle_assoc($list) {
if (!is_array($list)) return $list;
$keys = array_keys($list);
shuffle($keys);
$random = array();
foreach ($keys as $key)
$random[$key] = $list[$key];
return $random;