Skip to content

Instantly share code, notes, and snippets.

View danielballan's full-sized avatar

Dan Allan danielballan

View GitHub Profile
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
/* confdefs.h */
#define PACKAGE_NAME "GNU M4"
#define PACKAGE_TARNAME "m4"
#define PACKAGE_VERSION "1.4.17"
#define PACKAGE_STRING "GNU M4 1.4.17"
#define PACKAGE_BUGREPORT "bug-m4@gnu.org"
#define PACKAGE_URL "http://www.gnu.org/software/m4/"
#define PACKAGE "m4"
#define VERSION "1.4.17"
/* end confdefs.h. */
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@danielballan
danielballan / gist:a25ce8b9a9b8ffcc4518
Created May 19, 2015 00:30
key section of epics compilation error on OSX
rm -f parse.c y.tab.c
rm -f parse.h y.tab.h
/Users/dallan/miniconda/envs/_build/lib/epics/bin/darwin-x86/antelope -l -d ../parse.y
dyld: Symbol not found: _BC
Referenced from: /Users/dallan/miniconda/envs/_build/lib/epics/lib/darwin-x86/libCom.3.14.12.dylib
Expected in: flat namespace
in /Users/dallan/miniconda/envs/_build/lib/epics/lib/darwin-x86/libCom.3.14.12.dylib
1 warning generated.
c++ -c -DUNIX -Ddarwin -O3 -g -Wall -arch x86_64 -fno-common -fPIC -MMD -I. -I../O.Common -I. -I.. -I/Users/dallan/miniconda/envs/_build/lib/epics/include/os/Darwin -I/Users/dallan/miniconda/envs/_build/lib/epics/include -I/Users/dallan/miniconda/envs/_build/include ../netiiu.cpp
c++ -c -DUNIX -Ddarwin -O3 -g -Wall -arch x86_64 -fno-common -fPIC -MMD -I. -I../O.Common -I. -I.. -I/Users/dallan/miniconda/envs/_build/lib/epics/include/os/Darwin -I/Users/dallan/miniconda/envs/_build/lib/epics/include -I/Users/dallan/miniconda/envs/_build/include ../udpiiu.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@danielballan
danielballan / gist:ff2c756274f6332416d3
Last active August 29, 2015 14:22
bluesky config
default_detector_plot = ['sclr_chan2', 'sclr_chan5']
R = RE
class SelfRunningScan:
def __init__(self, RE, scan_class, *args, **kwargs):
self._scan = scan_class(*args, **kwargs)
self.RE = RE
#!/usr/bin/env python
""" Script to scrape images from a flickr account.
Author: Ralph Bean <rbean@redhat.com>
"""
import ConfigParser
import urllib
import requests