Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
| #LiveCD on the commandline | |
| #https://help.ubuntu.com/community/LiveCDCustomization | |
| DIR=`dirname ${0}` | |
| VERSION=`cat "$DIR"/../VERSION.txt` | |
| PACKAGE_NAME="osgeo-live" | |
| ISO_NAME="${PACKAGE_NAME}-${VERSION}" | |
| sudo apt-get install squashfs-tools genisoimage | |
| #TODO add wget to grab a fresh image, optional |
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
| # 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. |
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
| [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 |
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
| #!/bin/bash | |
| # Alex Mandel 2011 | |
| # Apache 2.0 License | |
| #Script outline for updating awstats from historical logs | |
| #Take start number of oldest log via arguments | |
| # grass.osgeo.org | |
| configfile=$1 | |
| # grass-access.log | |
| apachelogbase=$2 |
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
| \lstset{language=SQL, | |
| numbers=left, | |
| frame=single, | |
| backgroundcolor=\color[RGB]{234,237,230}, | |
| numberstyle=\tiny, | |
| basicstyle={\footnotesize\ttfamily\bfseries}, | |
| frameround=tttt, | |
| breaklines=true, | |
| keywordstyle=\color[RGB]{32,74,135}, | |
| commentstyle=\color[RGB]{143,89,2}, |
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
| #!/bin/sh | |
| # | |
| # Corrections file for 5.0rc5 | |
| # Must be run as sudo | |
| # | |
| # Theoretically these should be solved in upstream tickets if building from scratch. | |
| # cd ~/gisvm/ | |
| # svn up | |
| # cd bin | |
| # wget https://gist.github.com/gists/1176202/download -O gist.tar.gz |
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
| Error: SiteDomain parameter not defined in your config/domain file. You | |
| must edit it for using this version of AWStats. | |
| Setup ('/etc/awstats/awstats.conf' file, web server or permissions) may | |
| be wrong. | |
| Check config file, permissions and AWStats documentation (in 'docs' | |
| 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
| # 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 |
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 -* | |
| # | |
| # Script to sort bracketed photos by exposure into bins. | |
| # Default assumes 3 photos per bracket set, into 3 folders | |
| # | |
| # Alex Mandel 2014 | |
| # tech@wildintellect.com | |
| # requires python |
NewerOlder