Skip to content

Instantly share code, notes, and snippets.

View douglase's full-sized avatar
🔭

Ewan Douglas douglase

🔭
View GitHub Profile
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@douglase
douglase / download.tsv
Last active September 22, 2017 19:30 — forked from anonymous/download.tsv
NASA Outgassing Database source: http://outgassing.nasa.gov data last updated: 03/29/2017
We can't make this file beautiful and searchable because it's too large.
sample_id data_ref mfgr_code tml vcm wvr time1 temp1 atm1 time2 temp2 atm2 time3 temp3 atm3 time4 temp4 atm4 appl_code
--------- -------- --------- --- --- --- ----- ----- ---- ----- ----- ---- ----- ----- ---- ----- ----- ---- ---------
V MATERIAL IN CLICKBOND CB4023V, GLASS/PEI - 40% GLASS GSC33214 CLB 0.37 0.00 0.35 CLICKBOND
VC MATERIAL IN CLICKBOND CB9257VC, CARBON FILLED PEI GSC33217 CLB 0.52 0.00 0.28 CLICKBOND
0.5 MIL KAPTON KEVLAR, SHELDAHL 177544 GSC32950 SCH 2.48 0.05 1.97 BLANKET MATERIAL
0667 BLACK EPDM GSC34174 PRS 0.65 0.13 0.07 ORING
1 INCH COPPER TAPE GSC33829 MMM 0.24 0.08 0.01 TAPE
1.6 MIL GBK NOMEX, SHELDAHL 177541-001 GSC32947 SCH 1.81 0.03 1.76 BLANKET MATERIAL
100 DUN-LAM, GE COATED BLACK KAPTON XC GSC33397 DUN 0.89 0.01 0.67 COND BLANKET FILM
104-38 MLI GSC35301 BGF 0.22 0.02 0.12 MLI
@douglase
douglase / gist:dceabb36229a561a03ef8aa84c73dc85
Last active May 29, 2017 15:06
Cyverse Data Storage notes
sudo apt-get install apt-transport-https #not pre-installed on GCE Debian

Setup apt for packages from https://packages.irods.org/

wget -qO - https://packages.irods.org/irods-signing-key.asc | sudo apt-key add -
echo "deb [arch=amd64] https://packages.irods.org/apt/ $(lsb_release -sc) main" | sudo tee /etc/apt/sources.list.d/renci-irods.list
sudo apt-get update

(this failed).

procedure campspec (images, output)
string images {prompt="name of input image"}
string output {prompt="name of output spectrum"}
bool darksub {prompt="Perform dark-current subtraction?"}
string darkimg {prompt="Filename of dark-current image"}
bool displayvar {prompt="Display image frames while processing?"}
string linelist {"/home/ckulesa/scripts/HgNe.dat",prompt="Where's your Hg/Ne linelist?"}
struct *flist
@douglase
douglase / cudaFFTbenchmarking.ipynb
Created November 17, 2017 17:03
Benchmarking of common diffraction math with cuda and numexpr
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@douglase
douglase / issue-migrate-bitbucket-to-github.py
Created January 13, 2018 17:24 — forked from nidico/issue-migrate-bitbucket-to-github.py
Helper script for issue migration from Bitbucket to GitHub
#!/usr/bin/env python
"""
This script helps migrating issues from Bitbucket to GitHub.
It currently ignores milestones completly and doesn't care whether an issue is
open, new or on hold. As long as it's not closed it's considered open.
To use it, install python-bitbucket, PyGithub and ipdb.

Keybase proof

I hereby claim:

  • I am douglase on github.
  • I am edouglas (https://keybase.io/edouglas) on keybase.
  • I have a public key ASBi6s44pNMJHoTK6N6gObRUSE0sjSKYqj98BI1Ha0gL1go

To claim this, I am signing this object:

@douglase
douglase / LabTools.md
Last active August 12, 2018 15:56
LabTools.md

Communication

  • email management plan
    • protonmail.com for E2E encryption.
  • chat options:
    • Slack. Pros: plugins, widespread adoption, searchable, EDU discounts. Cons: lack of local backup, cost, security
    • Rocket.Chat Pros: Cons:.
  • Keybase.io: Pros: Cons:.
@douglase
douglase / ads_cahoy.bib
Created August 24, 2018 16:38
ads_cahoy.bib
@INPROCEEDINGS{2017SPIE10563E..0GK,
author = {{Kingsbury}, R.~W. and {Nguyen}, T. and {Riesing}, K. and {Cahoy}, K.},
title = "{Fast-steering solutions for cubesat-scale optical communications}",
booktitle = {Society of Photo-Optical Instrumentation Engineers (SPIE) Conference Series},
year = 2017,
volume = {10563},
month = Nov,
eid = {105630G},
pages = {105630G},
doi = {10.1117/12.2304229},