Skip to content

Instantly share code, notes, and snippets.

Avatar

Ogi Moore j9ac9k

View GitHub Profile
View presentation.slides.html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="chrome=1" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
View presentation.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@j9ac9k
j9ac9k / tikz.py
Created Oct 21, 2017
tikz pandoc-filter
View tikz.py
#!/usr/bin/env python
"""
Pandoc filter to process raw latex tikz environments into images.
Assumes that pdflatex is in the path, and that the standalone
package is available. Also assumes that ImageMagick's convert
is in the path. Images are put in the tikz-images directory.
"""
import os
@j9ac9k
j9ac9k / graphviz.py
Created Oct 21, 2017
graphviz pandoc filter
View graphviz.py
#!/usr/bin/env python
"""
Pandoc filter to process code blocks with class "graphviz" into
graphviz-generated images.
Needs pygraphviz
"""
import os
@j9ac9k
j9ac9k / gitlab_markdown_math_filter.py
Created Oct 22, 2017
pandoc filter to convert gitlab flavor markdown math to pandoc compatible markdown
View gitlab_markdown_math_filter.py
from pandocfilters import toJSONFilter, Math, Para
"""
Pandoc filter to convert gitlab flavored markdown to pandoc flavored markdown
"""
def gitlab_markdown(key, value, format, meta):
if key == "CodeBlock":
[[identification, classes, keyvals], code] = value
if classes[0] == "math":
@j9ac9k
j9ac9k / project_ideas.md
Created May 16, 2018
Running list of projects I would like to tackle at some point
View project_ideas.md

Mechanical Engineering Related

  • Truss structure mode of vibration calculator and visualizer
    • Should take inputs definiting structure geometry and material properties, should animate the associated mode of vibration

Eve Online Related

  • Coalition grouping in killmails
  • Safe route generation
@j9ac9k
j9ac9k / vibration_example.ipynb
Last active May 24, 2018
Notebook showing how to calculate the modal vibration of a structure
View vibration_example.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View Python Lecture.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@j9ac9k
j9ac9k / IR_reddit.ipynb
Created Sep 5, 2018
Homework Submission For Distributed Computing Class
View IR_reddit.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View Brewfile
tap 'homebrew/fuse'
tap 'homebrew/dupes'
tap 'homebrew/cask'
tap 'homebrew/cask-fonts'
tap 'homebrew/cask-versions'
tap 'homebrew/cask-drivers'
cask_args appdir: '/Applications'
brew 'ack'