- Truss structure mode of vibration calculator and visualizer
- Should take inputs definiting structure geometry and material properties, should animate the associated mode of vibration
- Coalition grouping in killmails
- Safe route generation
import xml.etree.ElementTree as ET | |
import sys | |
try: | |
input_file = sys.argv[1] | |
tree = ET.parse(input_file) | |
except: | |
raise 'Provide xml filename to convert' | |
root = tree.getroot() |
def gauss(A): | |
m = len(A) | |
assert all([len(row) == m + 1 for row in A[1:]]), "Matrix rows have non-uniform length" | |
n = m + 1 | |
for k in range(m): | |
pivots = [abs(A[i][k]) for i in range(k, m)] | |
i_max = pivots.index(max(pivots)) + k | |
# Check for singular matrix |
<!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" /> |
#!/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 |
#!/usr/bin/env python | |
""" | |
Pandoc filter to process code blocks with class "graphviz" into | |
graphviz-generated images. | |
Needs pygraphviz | |
""" | |
import os |
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": |
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' |