Skip to content

Instantly share code, notes, and snippets.

@wildintellect
wildintellect / cli.sh
Last active August 29, 2015 14:19
Bash Magic
# Make a list of all fonts in the layout mapserver wants for a font file
find /usr/share/fonts -name "*.ttf" | xargs -i sh -c 'echo $(basename {}) {}' > fonts.list
@wildintellect
wildintellect / spyder3.desktop
Created October 10, 2019 17:17
Anaconda Spyder3 Desktop Launcher Linux
[Desktop Entry]
Name=Spyder3
Exec=/home/<username>/anaconda3/bin/spyder
Icon=/usr/share/app-install/icons/spyder3.png
Type=Application
Terminal=false
Categories=Office;Development;
MimeType=text/plain
@wildintellect
wildintellect / Dockerfile
Created January 7, 2022 00:32
Untwine Docker Image VS Code
# See here for image contents: https://github.com/microsoft/vscode-dev-containers/tree/v0.209.6/containers/python-3-miniconda/.devcontainer/base.Dockerfile
FROM mcr.microsoft.com/vscode/devcontainers/miniconda:0-3
# [Choice] Node.js version: none, lts/*, 16, 14, 12, 10
ARG NODE_VERSION="none"
RUN if [ "${NODE_VERSION}" != "none" ]; then su vscode -c "umask 0002 && . /usr/local/share/nvm/nvm.sh && nvm install ${NODE_VERSION} 2>&1"; fi
# Copy environment.yml (if found) to a temp location so we update the environment. Also
# copy "noop.txt" so the COPY instruction does not fail if no environment.yml exists.
@wildintellect
wildintellect / xarray2gpq.ipynb
Created August 9, 2023 00:34
ATL03 to Geoparquet
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.