This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Automatic configuration of environment for the students. | |
# | |
function mkerr() { | |
echo | |
echo "ERROR: $1" 1>&2 | |
echo "See your local admins or email anf-admins@ucsd.edu for further assistance." | |
echo | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PF= | |
MAN1= | |
BIN=test | |
include $(ANTELOPEMAKE) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Read local GreensFunction file | |
# and plot the traces. | |
# | |
# Original: Matthew Koessler | |
# Updated 2/1/12: Juan Reyes jreyes1108 _ at _ gmail.com | |
# | |
# To run: % python gfplot.py ~/path_to_file/GreensFunctionFile.gn [GFF2.gn] [GFF3.gn] | |
from string import * | |
import os |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
>>> import antelope.datascope | |
import antelope # directory /System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/antelope | |
# /System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/antelope/__init__.pyc matches /System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/antelope/__init__.py | |
import antelope # precompiled from /System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/antelope/__init__.pyc | |
# /System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/antelope/datascope.pyc matches /System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/antelope/datascope.py | |
import antelope.datascope # precompiled from /System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/antelope/datascope.pyc | |
dlopen("/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/antelope/_datascope.so", 2); | |
invalid license code |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" VIMRC | |
" | |
" To use: copy to ~/.vimrc | |
" | |
" | |
" Last updated: 6/2009 | |
" Author: Juan C. Reyes | |
" reyes@ucsd.edu | |
" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
: # use perl | |
eval 'exec $ANTELOPE/bin/perl -S $0 "$@"' | |
if 0; | |
# | |
# Script to test elog fucntions | |
# in Antelope's Perl interface to Datascope. | |
# Juan C. Reyes | |
# reyes@ucsd.edu | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% Plot SQLstream detections | |
% Juan C. Reyes | |
% reyes@ucsd.edu | |
% | |
% Load data exported by SQLstream signal detector | |
% into local variables and plot. | |
% To Run: plot.m file.data |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
""" | |
Read messages from the AMQP server using py-amqplib | |
2009-09-15 Juan Reyes <reyes@ucsd.edu> | |
""" | |
from amqplib import client_0_8 as amqp |