Skip to content

Instantly share code, notes, and snippets.

View lucasmartins's full-sized avatar
🤘

Lucas Neves Martins lucasmartins

🤘
View GitHub Profile
@lucasmartins
lucasmartins / SKILL.md
Last active September 23, 2026 21:07
Hermes skill: pr-visual-documentation — visual evidence (screenshots + videos) for PRs
name pr-visual-documentation
description Document PRs with visual evidence (screenshots, videos) for UI/flow changes. Captures before/after comparisons and interactive flow recordings, uploads to Forgejo, and updates PR descriptions.
version 1.0.0
author Hermes Agent
license MIT
metadata
hermes
tags
code-review
documentation
ui-testing
forgejo
playwright
@lucasmartins
lucasmartins / README.md
Last active September 13, 2026 20:56
Bot Screen PR #108914 Linux integration-test screenshots at d947fc83

Bot Screen PR #108914 — integration-test screenshots

Public screenshot evidence for a community Linux-to-Linux integration test of NousResearch/hermes-agent PR #108914.

  • Tested source revision: d947fc83a461f098066c71ee6e28161736b87f53
  • Test window: September 12–13, 2026
  • Client Host: Omarchy 4.0.3 / Hyprland / Hermes Desktop
  • Server Host: Fedora Silverblue 43.20260912.0 with a rootless Ubuntu 24.04.4 LTS backend container

Files:

@lucasmartins
lucasmartins / keybase.md
Created January 22, 2021 17:03
keybase.md

Keybase proof

I hereby claim:

  • I am lucasmartins on github.
  • I am lucasmartins (https://keybase.io/lucasmartins) on keybase.
  • I have a public key ASAOeBskd1j4f62M6RN7UEFPJkoHlHy7w4gPgdzAsYl6Bwo

To claim this, I am signing this object:

#!/bin/sh
# Sublime Text 3 Install (last update: Monday 13 March 2017)
#
# No need to download this script, just run it on your terminal:
#
# curl -L git.io/sublimetext | sh
# Detect the architecture
@lucasmartins
lucasmartins / cache.rb
Created June 13, 2016 12:55
Ruby in memory processing "cache", used to replace Redis.
require 'thread_safe'
# A process wide cache for in memory computing
class MX::Core::Cache
def self.init!
@data = ThreadSafe::Cache.new unless @data
end
def self.truncate!
@lucasmartins
lucasmartins / private.xml
Created July 28, 2015 22:47
Karabiner Private KeyMapping
<?xml version="1.0"?>
<root>
<item>
<name>Homerow Arrow Keys (Dvorak)</name>
<appendix>Change Fn+C to Move Up</appendix>
<appendix>Change Fn+T to Move Down</appendix>
<appendix>Change Fn+H to Move Left</appendix>
<appendix>Change Fn+S to Move Right</appendix>
<identifier>private.homerow_arrowkeys_dvorak</identifier>
<modifier_only>
@lucasmartins
lucasmartins / parser.rb
Last active August 29, 2015 14:25
Through the Roof with Safety
# ... code that builds the calls_hashes Array
# THIS CODE SPAWNS NEW MONGO CONNECTIONS
unless Rails.env.production?
line.calls.with(safe: true).create!(calls_hashes)
else
line.calls.with(write: {w: 'majority'}, safe: true).create!(calls_hashes)
end
# ... code that schedules map&reduce jobs.
@lucasmartins
lucasmartins / ruby_test_config.json
Created March 30, 2015 19:33
RubyTest (SublimeText) config for chruby
{
"erb_verify_command": "erb -xT - {file_name} | ruby -c",
"ruby_verify_command": "ruby -c {file_name}",
"run_ruby_unit_command": "ruby -Itest {relative_path}",
"run_single_ruby_unit_command": "ruby -Itest {relative_path} -n '{test_name}'",
"run_cucumber_command": "cucumber {relative_path}",
"run_single_cucumber_command": "cucumber {relative_path} -l{line_number}",
@lucasmartins
lucasmartins / hash_reducer.rb
Last active August 29, 2015 14:10
Recursive Hash Reducer
module HashReducer
# use the block to transform the addition/reduce result for each value
def self.reduce!(base: nil, add: nil, &block)
base = {} unless base
add = {} unless add
fail 'base: must be a hash!' unless base.is_a?(Hash)
fail 'add: must be a hash!' unless add.is_a?(Hash)
add.each do |k,v|
if v.is_a?(Hash)
base[k] = {} unless base[k]
/var/folders/q8/p7npkjgn17d5m_7f1rdhnkww0000gn/T/ruby-build.20141121115309.41710 /usr/local/Cellar/ruby-build/20141113/share/ruby-build
/var/folders/q8/p7npkjgn17d5m_7f1rdhnkww0000gn/T/ruby-build.20141121115309.41710/rubinius-2.3.0 /var/folders/q8/p7npkjgn17d5m_7f1rdhnkww0000gn/T/ruby-build.20141121115309.41710 /usr/local/Cellar/ruby-build/20141113/share/ruby-build
Fetching gem metadata from https://rubygems.org/..
Installing rake 10.3.2
Installing daedalus-core 0.1.0
Installing redcard 1.1.0
Installing rubinius-ast 2.2.5
Installing rubinius-bridge 1.1.0
Installing rubinius-compiler 2.2.1
Installing rubinius-melbourne 2.2.2.0