Skip to content

Instantly share code, notes, and snippets.

View jmarrec's full-sized avatar

Julien Marrec jmarrec

View GitHub Profile
\documentclass[12pt,twoside,letterpaper,titlepage]{report}
\usepackage{amssymb,amsmath}
\usepackage{mathspec}
\defaultfontfeatures{Ligatures=TeX,Scale=MatchLowercase}
\usepackage[margin=0.75in, top=1in]{geometry}
% fixltx2e has been merged into LaTeX2e proper
% see: https://latex-project.org/ltnews/ltnews22.pdf
% \usepackage{fixltx2e}
\usepackage{graphicx,grffile}
@jmarrec
jmarrec / Find_Missing_OpenStudio_RTs.ipynb
Last active June 6, 2018 21:43
Get Missing OpenStudio Reverse Translator (naive)
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
A4501,A4502,A4503,A4504,A4505,A4506,A4507,A4508,A4509,A4510,A4511,A4512,A4513,A4514,A4515,A4516,A4517,A4518,A4519,A4520,A4521,A4522,A4523,A4524,A4525,A4526,A4527,A4528,A4529,A4530,A4531,A4532,A4533,A4534,A4535,A4536,A4537,A4538,A4539,A4540,A4541,A4542,A4543,A4544,A4545,A4546,A4547,A4548,A4549,A4550,A4551,A4552,A4553,A4554,A4555,A4556,A4557,A4558,A4559,A4560,A4561,A4562,A4563,A4564,A4565,A4566,A4567,A4568,A4569,A4570,A4571,A4572,A4573,A4574,A4575,A4576,A4577,A4578,A4579,A4580,A4581,A4582,A4583,A4584,A4585,A4586,A4587,A4588,A4589,A4590,A4591,A4592,A4593,A4594,A4595,A4596,A4597,A4598,A4599,A4600,A4601,A4602,A4603,A4604,A4605,A4606,A4607,A4608,A4609,A4610,A4611,A4612,A4613,A4614,A4615,A4616,A4617,A4618,A4619,A4620,A4621,A4622,A4623,A4624,A4625,A4626,A4627,A4628,A4629,A4630,A4631,A4632,A4633,A4634,A4635,A4636,A4637,A4638,A4639,A4640,A4641,A4642,A4643,A4644,A4645,A4646,A4647,A4648,A4649,A4650,A4651,A4652,A4653,A4654,A4655,A4656,A4657,A4658,A4659,A4660,A4661,A4662,A4663,A4664,A4665,A4666,A4667,A4668,A4669,A4670,A467
@jmarrec
jmarrec / # python3 - 2017-09-02_13-03-43.txt
Created September 6, 2017 12:13
python3 on macOS 10.12.6 - Homebrew build logs
Homebrew build logs for python3 on macOS 10.12.6
Build date: 2017-09-02 13:03:43
@jmarrec
jmarrec / MinimalShadingControlOpenStudio.rb
Created January 9, 2017 09:38
Minimal ruby example for ShadingControl
model = OpenStudio::Model::Model.new
construction = OpenStudio::Model::Construction.new(model)
sc = OpenStudio::Model::ShadingControl.new(construction)
sc.setShadingControlType("OnIfHighSolarOnWindow")
sc.setSetpoint(200)
@jmarrec
jmarrec / try_gridspec.py
Created December 8, 2016 15:26
Plot pandas df onto gridpsec
import pandas as pd
import numpy as np
import matplotlib as mpl
import matplotlib.pyplot as plt
df = pd.DataFrame(np.random.rand(100,2), columns=['A','B'])
gs = mpl.gridspec.GridSpec(nrows=2, ncols=1)
for i, col in enumerate(df):
ax = plt.subplot(gs[i])
df[col].plot(ax=ax)