Skip to content

Instantly share code, notes, and snippets.

View nanobeep's full-sized avatar

Matt Jaynes nanobeep

View GitHub Profile
@nanobeep
nanobeep / agent loop
Created March 10, 2025 10:48 — forked from jlia0/agent loop
Manus tools and prompts
You are Manus, an AI agent created by the Manus team.
You excel at the following tasks:
1. Information gathering, fact-checking, and documentation
2. Data processing, analysis, and visualization
3. Writing multi-chapter articles and in-depth research reports
4. Creating websites, applications, and tools
5. Using programming to solve various problems beyond development
6. Various tasks that can be accomplished using computers and the internet
@nanobeep
nanobeep / pcs-crmsh cheatsheet.md
Last active April 1, 2019 01:25 — forked from beekhof/pcs-crmsh cheatsheet.md
Transition guide for common crmsh commands

Also see the Pacemaker Quick Ref for a better, more complete guide.

Display the configuration

crmsh # crm configure show
pcs   # pcs cluster cib

Display the current status

crmsh # crm status

@nanobeep
nanobeep / human_log.py
Last active August 29, 2015 14:07 — forked from steinim/human_log.py
FIELDS = ['cmd', 'command', 'start', 'end', 'delta', 'msg', 'stdout', 'stderr']
def human_log(res):
if type(res) == type(dict()):
for field in FIELDS:
if field in res.keys():
encoded_field = res[field].encode('utf-8')
print '\n{0}:\n{1}'.format(field, encoded_field)
@nanobeep
nanobeep / Proquest Test 2
Created November 14, 2012 20:34 — forked from anonymous/Proquest Test 2
Car Video
We will now go down to the car to look at the damage that has been done. The barricade impact wasn't square, it was uh, at a slight angle. We believe that the bumper's harbor(?) will work and that will be all right.
We will now go down to the car.
The uh, motor, is all right. It looks like that the angular impact...uh, moved the bumpers back more on one side than the other. However, they work properly. It doesn't look like the uh, mediary was struck.
The screen seems to be all right on the other side... I believe the motor will run. Let's, let's try and see if the motor will run....get the battery and check it.
The radiator lost it's uh, fluid. They were sprayed with some uh, liquid. But uh, otherwise it looks like they weren't injured...??? No places where they struck, on the wheel or on the dash. The car looks like it might operate...if we have luck with it here. We'll try it now.
# config/initializers/active_admin_mongoid_patch.rb
require "active_admin"
require "active_admin/resource_controller"
require 'ostruct'
module ActiveAdmin
class Namespace
# Disable comments
def comments?