Skip to content

Instantly share code, notes, and snippets.

//---------------------------------------------------------------------------
// DAQX.H
//
// Header for the Enhanced API Data Acquisition Library.
///
//---------------------------------------------------------------------------
#ifndef DAQ_H
#define DAQ_H
@threadhead
threadhead / gist:659862
Created November 2, 2010 16:13
DaqRoutines.h
// DAQROUTINES.H
//
//Header file for DaqRoutines.cpp
#ifndef DAQROUTINESH
#define DAQROUTINESH
#define daqbook100 0x00000001
#define daqbook112 0x00000002
#define daqbook120 0x00000004
@threadhead
threadhead / Another Report from CrashReporter
Created May 20, 2011 00:51
Ruby Crash Report - Ruby 1.9.2-p180
Process: ruby [68562]
Path: /Users/karl/.rvm/rubies/ruby-1.9.2-p180/bin/ruby
Identifier: ruby
Version: ??? (???)
Code Type: X86-64 (Native)
Parent Process: bash [68198]
Date/Time: 2011-06-02 21:58:01.229 -0700
OS Version: Mac OS X 10.6.7 (10J869)
Report Version: 6
@threadhead
threadhead / gist:9491295
Last active August 29, 2015 13:57
Celluloid IO Looper
require 'celluloid'
require 'celluloid/io'
class MyPoll
include Celluloid::IO
finalizer :shutdown
def initialize
@socket = TCPSocket.open('192.168.0.55', 2222)
end
➜ nemo git:(master) ✗ git pull origin master
From github.secureserver.net:PC/nemo
* branch master -> FETCH_HEAD
warning: fetch updated the current branch head.
fast-forwarding your working tree from
commit caeff76c17960adf7fc123a27b9e8a9f2d7205b7.
error: Your local changes to the following files would be overwritten by merge:
nemo/Gemfile
nemo/Gemfile.lock
nemo/app/themes/001/V1/assets/images/thumb_large.png