Skip to content

Instantly share code, notes, and snippets.

@jonniedie
jonniedie / mtk_optimal_control.jl
Last active March 15, 2021 16:23
Optimal Control
using DifferentialEquations
using ModelingToolkit
# Time and time derivative
@parameters t
D = Differential(t)
# Forced Duffing oscillator
function Duffing(; name)
@parameters α β
@AfroThundr3007730
AfroThundr3007730 / add-dod-certs.sh
Last active May 4, 2025 21:29
Import DoD root certificates into linux CA store
#!/bin/bash
# Imports DoD root certificates into Linux CA store
# Version 0.4.2 updated 20250425 by AfroThundr
# SPDX-License-Identifier: GPL-3.0-or-later
# For issues or updated versions of this script, browse to the following URL:
# https://gist.github.com/AfroThundr3007730/ba99753dda66fc4abaf30fb5c0e5d012
# Dependencies: curl gawk openssl unzip wget

Build tensorflow on OSX with NVIDIA CUDA support (GPU acceleration)

These instructions are based on Mistobaan's gist but expanded and updated to work with the latest tensorflow OSX CUDA PR.

Requirements

OS X 10.10 (Yosemite) or newer