Skip to content

Instantly share code, notes, and snippets.

View kyleniemeyer's full-sized avatar
🚀

Kyle Niemeyer kyleniemeyer

🚀
View GitHub Profile
@kyleniemeyer
kyleniemeyer / compile
Created July 29, 2019 23:21
Compilation script for JOSS and JOSE papers
#!/usr/bin/env bash
# Stolen from https://github.com/connorourke/crystal_torture/blob/master/paper/compile
# Help text
description="A bash script for compiling JOSS and JOSE papers locally";
doc="compile [-j <journal>] [-d <doi>] [-v <volume>] [-i <issue>] [-p <page>]
[-s <submitted>] [-u <published>] [-r <review>] [-g <repository>] [-a <archive>] FILE
@kyleniemeyer
kyleniemeyer / compare_models.py
Created May 28, 2019 05:49
Compare Cantera models
import numpy as np
import cantera as ct
def compare_models(model1, model2):
"""Checks whether two Cantera models are equivalent.
Parameters
----------
model1 : ct.Solution
First Cantera model object
@kyleniemeyer
kyleniemeyer / log
Created April 5, 2019 23:13
Travis doctr log
travis_fold:start:worker_info
Worker information
hostname: 1acc961a-574b-41e0-beb2-3b500b531de4@1.production-1-worker-org-gce-d1rp
version: v6.2.0 https://github.com/travis-ci/worker/tree/5e5476e01646095f48eec13196fdb3faf8f5cbf7
instance: travis-job-c994d1fc-1bd1-4d6c-95d5-9b0ff9dab4aa travis-ci-garnet-trusty-1512502259-986baf0 (via amqp)
startup: 6.424396288s
travis_fold:end:worker_info
travis_fold:start:system_info
Build system information
Build language: ruby
@kyleniemeyer
kyleniemeyer / nbutanol-1atm-liu.yaml
Created December 11, 2017 19:47
Draft laminar flame speed ChemKED file
---
file-author:
name: Kyle E Niemeyer
ORCID: 0000-0003-4425-7097
file-version: 0
chemked-version: 1.0.0
reference:
doi: 10.1016/j.proci.2010.05.084
authors:
- name: Wei Liu
@kyleniemeyer
kyleniemeyer / JOSS-scipy-2017.md
Last active April 1, 2018 06:54
JOSS talk submission for SciPy 2017

Introducing JOSS: The Journal of Open Source Software

Abstract

This talk describes the motivation and progress of the Journal of Open Source Software (JOSS), a free, open-access journal designed to publish brief papers about research software. The primary purpose of JOSS is to enable developers of research software to receive citation credit equivalent to typical archival publications. Rather than a review of a lengthy software paper (including, e.g., methodology, validation, sample results), JOSS submissions undergo rigorous peer review of both the abstract and software itself, including documentation, tests, continuous integration, and licensing. The JOSS review process is modeled on the established approach of the rOpenSci collaboration. The entire submission and review process occurs openly on GitHub; papers not yet accepted remain visible and under review until the authors make appropriate changes for acceptance---unlike other journals, papers requiring major revision are not rejected. Since its pu

@kyleniemeyer
kyleniemeyer / Moss2008_nbutanol_phi=0.5_x=0.01.yaml
Created February 27, 2017 22:40
ChemKED file with accented author name
---
file-author:
name: Morgan Mayer
ORCID: 0000-0001-7137-5721
file-version: (0,1)
chemked-version: 0.0.1
reference:
doi: 10.1021/jp806464p
authors:
- name: Jeffrey T. Moss
@kyleniemeyer
kyleniemeyer / gpu_test.cu
Created October 25, 2016 06:40
Basic GPU/CUDA test code
#include "timer.h"
/** CUDA libraries */
#include <cuda.h>
#include <helper_cuda.h>
__global__ void kernel () {
}
@kyleniemeyer
kyleniemeyer / testfile_rcm.yaml
Last active May 27, 2016 01:41
YAML description of RCM experimental data
---
file-author:
name: Kyle E Niemeyer
ORCID: 0000-0003-4425-7097
file-version: (1, 0)
reference:
doi: 10.1002/kin.20180
authors:
- name: Gaurav Mittal
- name: Chih-Jen Sung
@kyleniemeyer
kyleniemeyer / testfile_st.yaml
Last active September 15, 2020 12:39
YAML shock tube example
---
file-author:
name: Kyle E Niemeyer
ORCID: 0000-0003-4425-7097
file-version: (1, 0)
reference:
doi: 10.1016/j.ijhydene.2007.04.008
authors:
- name: N. Chaumeix
- name: S. Pichon
@kyleniemeyer
kyleniemeyer / keybase.md
Created March 22, 2016 00:43
Keybase proof

Keybase proof

I hereby claim:

  • I am kyleniemeyer on github.
  • I am kyleniemeyer (https://keybase.io/kyleniemeyer) on keybase.
  • I have a public key ASCEECZJDyz2kv4AxvyVMZQJTTbdXNMtSAIbZ9MeNdDXggo

To claim this, I am signing this object: