Skip to content

Instantly share code, notes, and snippets.

View werebus's full-sized avatar

Matt Moretti werebus

  • UMass Transportation Services (@umts)
  • Greenfield, MA
View GitHub Profile
@werebus
werebus / 00README.md
Last active November 10, 2023 21:38
Script for making our Novatel 551L connect to Verizon

The following are instructions for setting up a Verizon-provided [NovaTel 551L][1] on a Debian-based Linux system. Our target system was an embedded ARM [TS-7800][2], which left us somewhat handicapped when it came to the version of Linux that we were able to use. We were able to install Debian Wheezy (7.7) on this device, but limited to the kernel sources that were provided by the manufacture (2.6.34).

If you have a more modern kernel available to you (>=3.4), look into [libqmi][3] and [ModemManager][4], which use the native QMI protocol to communicate with the modem instead of the AT command hacks featured

@werebus
werebus / config_defaults.rb
Last active August 29, 2015 14:19
Getting knife configuration into chef-dk generator
#<chef_repo>/code_generator/libraries/config_defaults.rb
#Pull in all of the values defined in the `chefdk` context in knife.rb
Chef::Config[:chefdk].configuration.each do |config_key, value|
ChefDK::Generator.context.send("#{config_key}=", value)
end
@werebus
werebus / favicon.ico
Last active February 28, 2018 15:08
Masstraveler.com decom splash
#!/usr/bin/env ruby
require 'json'
require 'net/http'
require 'nokogiri'
require 'pry'
module Avail
def self.url(*path_components)
uri_array = ['https://bustracker.pvta.com/InfoPoint'] + path_components