- Ensure the package directory is setup properly. Use the following structure:
README.rst
LICENSE
setup.py
requirements.txt
sample/__init__.py
sample/core.py
sample/helpers.py
docs/conf.py
function gitInfo=getGitInfo() | |
% Matlab script to get information about the Git repository in the current directory, including: | |
% - branch name of the current Git Repo | |
% -Git SHA1 HASH of the most recent commit | |
% -url of corresponding remote repository, if one exists | |
% | |
% The function first checks to see if a .git/ directory is present. If so it | |
% reads the .git/HEAD file to identify the branch name and then it looks up | |
% the corresponding commit. | |
% |
Log into the site first and export the cookie | |
# HTTP Cookie File for domains related to xcdsystem.com. | |
# Downloaded with cookies.txt Chrome Extension (https://chrome.google.com/webstore/detail/njabckikapfpffapmjgojcnbfjonfjfg) | |
# Example: wget -x --load-cookies cookies.txt https://www.xcdsystem.com/aas/papers/index.cfm | |
# | |
www.xcdsystem.com FALSE / TRUE 0 JSESSIONID 40BA2E3B73B9C344A288EA59CA41DC4F.cfusion | |
First command I haven't tried yet |
# packages in environment at /home/shankar/anaconda3: | |
# | |
_license 1.1 py36_1 | |
alabaster 0.7.9 py36_0 | |
anaconda custom py36_0 | |
anaconda-client 1.6.0 py36_0 | |
anaconda-navigator 1.4.3 py36_0 | |
astroid 1.4.9 py36_0 | |
astropy 1.3 np111py36_0 | |
asyncio 3.4.3 <pip> |
README.rst
LICENSE
setup.py
requirements.txt
sample/__init__.py
sample/core.py
sample/helpers.py
docs/conf.py
conda-env
environment.yml
in the project directory and run anaconda-project init
anconda-project add-command command_name "python main.py"
anaconda-project run command_name
anaconda-project lock
anaconda-project archive filename.zip
anaconda-project upload
"""Plot the SpaceX Roadster in the Heliocentric frame | |
The ephemerides for the Roadster can be found at the following locations: | |
-143205 : JPL Horizons | |
https://www.projectpluto.com/temp/spacex.htm | |
""" | |
import numpy as np | |
import matplotlib.pyplot as plt |
PRODUCT := ex6-10 | |
# directories | |
BINDIR := bin | |
INCDIR := include | |
SRCDIR := src | |
BUILDDIR := build | |
# compiler flags | |
CXX := g++ |
Make a video
ffmpeg -framerate 20 -i %07d.jpg -c:v libx264 -profile:v high -crf 20 -pix_fmt yuv420p -vf "scale=trunc(iw/2)*2:trunc(ih/2)*2" output.mp4
sudo: false | |
language: generic | |
matrix: | |
include: | |
- os: linux | |
git: | |
depth: false | |
cache: | |
directories: | |
- "/tmp/texlive" |