Skip to content

Instantly share code, notes, and snippets.

View ktemkin's full-sized avatar

Kate Temkin ktemkin

View GitHub Profile
@ktemkin
ktemkin / update_ids.rb
Created September 24, 2014 02:09
Simple Watir script for mass updating ID cards.
#!/usr/bin/env ruby
#
# Script to mass override assignment due dates for a given user.
#
#
require 'highline/import'
require 'watir-webdriver'
MAPPINGS = {
#!/usr/bin/env python
#
# Quick script which "captures" a single waveform from the Agilent scopes in the LNG 709/711 labs.
import ivi
import plac
def main(channel: ("The channel to sample on", 'option', 'c') = 1):
""" A simple tool for reading data from the LNG709/711 oscilloscopes."""
@ktemkin
ktemkin / udev_enumerator.rb
Created April 17, 2014 02:31
finding beacon boards using udev
# The MIT License (MIT)
#
# Copyright (c) 2014 Kyle J. Temkin <[email protected]>
# Copyright (c) 2014 Binghamton University
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
@ktemkin
ktemkin / colorize-dump.rb
Created July 18, 2013 20:41
Quick script to colorize the output of avr-objdump. Install smart_colored first: gem install smart_colored
#!/usr/bin/env ruby
require 'smart_colored/extend'
module Rules
extend self
Rules = []