I hereby claim:
- I am adkron on github.
- I am adkron (https://keybase.io/adkron) on keybase.
- I have a public key whose fingerprint is 0EF4 94DC 4EAC 0DD9 6E85 D961 2586 3FCD DEAA 32F9
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| class Fifo | |
| EmptyError = Class.new(Exception) | |
| Node = Struct.new(:value, :next) | |
| attr_accessor :size, :top | |
| private :size=, :top= | |
| def initialize | |
| self.size = 0 |
| class Email::Mailer < ActionMailer::Base | |
| TIME_WITHOUT_ZONE_FORMAT = "%b %d, %Y at %I:%M %p" | |
| include SendGrid | |
| SendGrid::VALID_OPTIONS << :bcc | |
| BCC_ALL = 'WebAdMIT <webadmitemails@academicsoftwareplus.com>' | |
| include Email::Conversions | |
| def email email, preview_address=nil |
| module Scada | |
| class Connection | |
| attr_accessor :environment | |
| private :environment, :environment= | |
| def self.open(&block) | |
| env = new | |
| env.connect | |
| block.call(env) | |
| ensure |
| require "ffi" | |
| module Scada | |
| module ResultSet | |
| class Statuses | |
| include Enumerable | |
| class Status < Struct.new(:id, :value, :condition, :error) | |
| def to_s | |
| if to_i == 0 | |
| "open" |
| html | |
| head | |
| css: | |
| * {font-family:Verdana, Arial, Helvetica, sans-serif; font-size:11px; text-decoration:none;} | |
| span.running.off, span.manual_switch.manual, span.alarm_status.alarm, span.normally_closed_breaker.open {color:red;} | |
| span.running.on, span.manual_switch.auto, span.alarm_status.normal, span.normally_closed_breaker.closed {color:green;} | |
| a.tooltip:hover span{display:inline; position:absolute; border:1px solid #cccccc; background:#EEEE00; color:#6c6c6c;} | |
| meta content=("text/html; charset=iso-8859-1 KW") http-equiv="Content-Type" | |
| | <meta http-equiv="refresh" content="70";"gen.html" | |
| meta content=("Microsoft FrontPage Express 2.0") name="GENERATOR" |
| class TournamentsController < ApplicationController | |
| before_action :set_tournament, only: [:show, :edit, :update, :destroy] | |
| before_action :authenticate_user!, only: :new | |
| # GET /tournaments | |
| # GET /tournaments.json | |
| def index | |
| @tournaments = Tournament.all | |
| end |
| tessel = `require('tessel')` | |
| led1 = tessel.led[0].output(1); | |
| led2 = tessel.led[1].output(1); | |
| Window.every 100, -> { | |
| puts "I'm blinking! (Press CTRL + C to stop)" | |
| led1.toggle(); | |
| led2.toggle(); | |
| } |
| var tessel = require('tessel'); | |
| var rfidlib = require('rfid-pn532'); | |
| var http = require('http'); | |
| var querystring = require('querystring'); | |
| var rfid = rfidlib.use(tessel.port['A']); | |
| rfid.on('ready', function (version) { |