Skip to content

Instantly share code, notes, and snippets.

Avatar

Erich L Foster erichlf

  • Seegrid
  • Pittsburgh, PA
View GitHub Profile
@Gavinok
Gavinok / chatgpt.el
Last active March 19, 2023 02:33
chatgpt client for emacs WIP (Now Async!)
View chatgpt.el
;;; chatgpt.el --- Simple ChatGPT frontend for Emacs -*- lexical-binding: t -*-
;; Copyright (C) Gavin Jaeger-Freeborn
;; This package is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation; either version 3, or (at your option)
;; any later version.
;; This package is distributed in the hope that it will be useful,
View tangential
from dolfin import *
import numpy as np
import mshr
from IPython import embed
from cbcpost.utils.mpi_utils import gather, broadcast
def vec(x): return as_backend_type(x).vec()
def mat(A): return as_backend_type(A).mat()
class NormalRotation(PETScMatrix):
@kylemanna
kylemanna / connmanctl.md
Last active March 13, 2023 00:45
Connmanctl Cheat Sheet
View connmanctl.md