Skip to content

Instantly share code, notes, and snippets.

View jfryman's full-sized avatar

James Fryman jfryman

View GitHub Profile
@jfryman
jfryman / 0_Voron-CAN.md
Last active January 5, 2024 14:08
Setting up EBB36 + U2C on Klipper for Voron

Here's what's worked for me. As always, YMMV.

Writing this down for my own history just as much as it might help someone else. I've done two nine machines so far this way. Hope this helps someone!

  • Hardware used: EBB36 v1.1 + U2C v1.2
  • CAN wiring: Get FEP Wire. Used to recommend 18 Gauge for Power, reclaimed twisted pair from CAT-5 or CAT-6 cable for CAN-H, CAN-L, but I've also received failures eventually from my CAT-6 cable. It's not rated for the movement. Get better cables.

Ensure wiring is setup properly.

Easy way to remember: Ensure power is correctly wired on each end (it's different) and then pair CAN-L with GROUND below, and CAN-H with 24V below in each of the connectors. Image references below.

@jfryman
jfryman / check-graphite.rb
Created August 21, 2013 19:46
Nagios/Graphite Integration
#!/usr/bin/env ruby
require 'pathname'
ENV['BUNDLE_GEMFILE'] ||= File.expand_path("../../Gemfile",
Pathname.new(__FILE__).realpath)
$LOAD_PATH << File.expand_path("../../lib",
Pathname.new(__FILE__).realpath)
require 'rubygems'
require 'bundler'
require 'bundler/setup'
@jfryman
jfryman / printer.cfg
Created January 27, 2023 22:30
AM8 Klipper Config
########################################
# Printer Configuration
########################################
[mcu]
serial: /dev/serial/by-id/usb-Klipper_stm32f429xx_3C001E000250315637383220-if00
#[mcu rpi]
#serial: /tmp/klipper_host_mcu
#[adxl345]

EDIT: Since this original post, the BikeShed has become a separate entity completely separate from GitHub and any other sponsors. The charter is to continue to provide community support and involvement in technology wherever and whenever we can.

This just also happens to be a co-working space. 😄

In October of 2013, the Nashville team was told that the building where we occupied a co-working space had been sold. Since that time, we have been working to find ourselves a new home. The upside/downside is that Nashville has exploded over the last 3 years, and this effort turned out to be much harder than expected. But, the time has come where we have finally 🚢ed our new space, and we'd love to have you over and see!

Our new office location is at 530 Church St, Suite 400a, Nashville, TN, 37219. 530_church_street__nashville__tn_-_google_search

#
# Local settings can be configured without being overwritten by package upgrades, for example
# if you want to increase puppet open-files-limit to 10000,
# you need to increase systemd's LimitNOFILE setting, so create a file named
# "/etc/systemd/system/puppet.service.d/limits.conf" containing:
# [Service]
# LimitNOFILE=10000
# You can confirm it worked by running systemctl daemon-reload
# then running systemctl show puppet | grep LimitNOFILE
#
@jfryman
jfryman / gist:4744a01fd68b6336377a
Last active May 22, 2020 17:48
DO Post Mortem - Mark Imbriaco
Hi, I would like to take a moment to apologize for the problems you may have experienced accessing your droplets in the NYC2 region July 21st, starting around 6PM Eastern time. Providing a stable infrastructure for all customers is our number one priority, and whenever we fall short we work to understand the problem and take steps to reduce the chance of it happening again.
In this case, we’ve determined what were a few related events which contributed to the outage:
First, we had a problematic optical module in one of our switches that was sending malformed packets to one of the core switches in our network. Under normal circumstances, losing connectivity to a single core switch should not be problematic since each cabinet in our datacenter is connected to multiple upstream switches. In this case, however, the invalid data caused problems with the upstream core switch.
When the core switch received the invalid packet, it triggered a bug in the software on the core switch which caused some internal process
@jfryman
jfryman / personal_boxen_manifest.pp
Last active November 30, 2019 05:05
Personal Boxen Manifest
class people::jfryman {
# Applications
include chrome::stable
include onepassword
include dropbox
include alfred
include macvim
include zsh
include homebrew
include fitbit
@jfryman
jfryman / Gemfile
Last active June 5, 2019 13:30
Control your Geekdesk with an Arduino via MQTT
source 'https://rubygems.org'
gem 'em-cron', '~> 0.2.0'
gem 'em-mqtt', '~> 0.0.5'
gem 'em-rubyserial', '~> 0.0.2'
gem 'scrolls'
gem 'foreman'
gem 'pry'
Hey Marc,
Thanks for reaching out. One thing still really sticks out to me, and honestly that’s the age of most of the folks involved I can see with Globalie. I saw in the LOI a gentlemen by the name of Evan Wesselman, and did my internet search to see if I could learn something about him. What I found was a profile that largely mirrored your own.
And then, I saw this…. https://www.quora.com/What-is-Globalie-Foundation-Is-it-legit
I’m still very unclear about this program as a whole, and I’d be surprised if you hadn’t received other feedback like this before, so I certainly would love to get your thoughts. In addition, do you have some references of folks that I can talk to about you and the company as a whole?
Thanks!
@jfryman
jfryman / environment.rake
Last active November 14, 2017 20:20
Puppet Env Magic
$stdout.sync = true
namespace :environments do
desc "Update one or more branches "
task :update, :branch do |_, args|
branch = args[:branch] || 'all'
log "Pruning origin"
git(:remote, :prune, :origin)