This file contains hidden or 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 time | |
| import datetime | |
| import visa | |
| import numpy as np | |
| class YokogawaWT1600(visa.GpibInstrument): | |
| __GPIB_ADDRESS = 2 | |
| def __init__(self, reset=True): | |
| visa.GpibInstrument.__init__(self, self.__GPIB_ADDRESS, timeout=3) |
This file contains hidden or 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
| # To build vim against homebrew Python 2.7.3. | |
| # You'll also need to adjust the symbolic link of the current | |
| # system Python framework (cf. http://goo.gl/b66fs): | |
| # | |
| # cd /System/Library/Frameworks/Python.framework/Versions | |
| # sudo rm Current | |
| # sudo ln -sf /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/Current Current | |
| require 'formula' |
This file contains hidden or 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
| require 'formula' | |
| class Vim < Formula | |
| homepage 'http://www.vim.org/' | |
| url 'https://vim.googlecode.com/hg/', :tag => 'v7-3-672' | |
| version '7.3.672' | |
| def features; %w(tiny small normal big huge) end | |
| def interp; %w(lua mzscheme perl python python3 tcl ruby) end |