-
Install podman. https://podman.io/getting-started/installation
-
Install podman-compose:
pip install podman-compose
-
Clone or copy
docker-compose.yml
andconfig.yml
from this gist into a directory.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import tomllib | |
import argparse | |
import sys | |
import subprocess | |
parser = argparse.ArgumentParser() | |
parser.add_argument( |
conda activate sandbox
pip install --pre tiled[all] databroker[all] ipython
Note for Mac: Mac uses zsh
by default and it requires single quotes like 'databroker[all]'
. On the other hand, Windows requires that you not have quotes.
mkdir sandbox
cd sandbox/
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- # | |
from __future__ import unicode_literals | |
# -------------------------------------- | |
# Now compatible with Pelican 4.0.x! | |
# -------------------------------------- | |
# Added by me | |
import time |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Author: Christopher J. Wright | |
# Modified by Shuyue | |
# Hashing out "bad keys" that generare errors. Checked that they are not functional and that they don't exist in rcParams. There are also many other keys here that aren't doing anything in the test figures so far. We need to check the newst rcParam sheet. The figure.dpi setting is useful. | |
lines.linestyle : - | |
lines.marker : None | |
# lines.linewidth : 2.0 | |
# lines.markersize : 5 | |
lines.linewidth : 1.5 # manuscripture | |
lines.markersize : 5.3 # manuscripture |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// A simple quickref for Eigen. Add anything that's missing. | |
// Main author: Keir Mierle | |
#include <Eigen/Dense> | |
Matrix<double, 3, 3> A; // Fixed rows and cols. Same as Matrix3d. | |
Matrix<double, 3, Dynamic> B; // Fixed rows, dynamic cols. | |
Matrix<double, Dynamic, Dynamic> C; // Full dynamic. Same as MatrixXd. | |
Matrix<double, 3, 3, RowMajor> E; // Row major; default is column-major. | |
Matrix3f P, Q, R; // 3x3 float matrix. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# The entries in this file are checked regularly for validity via the Github Action | |
# sited at github.com/bskinn/intersphinx-gist. | |
# Please feel free to post an issue at that repo if any of these mappings don't work for you, | |
# or if you're having trouble constructing a mapping for a project not listed here. | |
Python 3 [latest]: ('https://docs.python.org/3/', None) | |
Python 3 [3.x]: ('https://docs.python.org/3.9/', None) | |
attrs [stable]: ('https://www.attrs.org/en/stable/', None) | |
Django [dev]: ('https://docs.djangoproject.com/en/dev/', 'https://docs.djangoproject.com/en/dev/_objects/') | |
Flask [2.2.x]: ('https://flask.palletsprojects.com/en/2.2.x/', None) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ### Interface cuSOLVER PyCUDA | |
from __future__ import print_function | |
import pycuda.gpuarray as gpuarray | |
import pycuda.driver as cuda | |
import pycuda.autoinit | |
import numpy as np | |
import scipy.sparse as sp | |
import ctypes |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CB_color_cycle = ['#377eb8', '#ff7f00', '#4daf4a', | |
'#f781bf', '#a65628', '#984ea3', | |
'#999999', '#e41a1c', '#dede00'] |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
NewerOlder