An introduction to curl using GitHub's API
Makes a basic GET request to the specifed URI
curl https://api.github.com/users/caspyin
| #!/bin/bash | |
| # =============================================================================== | |
| # GDAL 2.2.2 build instructions with ECW on Ubuntu | |
| # =============================================================================== | |
| # Downloads: http://download.osgeo.org/gdal | |
| # - wget http://download.osgeo.org/gdal/2.2.2/gdal-2.2.2.tar.gz | |
| rm -r gdal-2.2.2 | |
| tar -xzvf gdal-2.2.2.tar.gz |
| #!/bin/bash | |
| # =============================================================================== | |
| # Building libecwj 3.3 library on Unix to /usr/local/libecwj2-3.3 | |
| # =============================================================================== | |
| # Unzip the ECW library to the current folder | |
| # - ftp://ftp.ii.net/pub/gentoo/distfiles/libecwj2-3.3-2006-09-06.zip | |
| unzip libecwj2-3.3-2006-09-06.zip |
| =============================================================================== | |
| Building libecwj 3.3 library on Unix to /usr/local/libecwj2-3.3 | |
| =============================================================================== | |
| See: https://trac.osgeo.org/gdal/wiki/ECW | |
| Download locations: | |
| - ftp://ftp.ii.net/pub/gentoo/distfiles/libecwj2-3.3-2006-09-06.zip | |
| $ unzip libecwj2-3.3-2006-09-06.zip | |
| Download cumulative patch from GDAL wiki: https://trac.osgeo.org/gdal/wiki/ECW |
| #!/bin/bash | |
| set +x | |
| # LandSat files | |
| for file in /nas/data/imagery/i3/*.tif; do | |
| input_file=${file} | |
| base_file=`basename ${file}` | |
| gtiff_file=gtif/${base_file%.*}.tif | |
| if [ -s $gtiff_file ] |
You must add worldwind.jar to the classpaths in WorldWindJava\nbproject\ide-file-targets.xml
<?xml version="1.0" encoding="UTF-8"?>
<project basedir=".." name="WorldWindJava-IDE">
<!-- TODO: edit the following target according to your needs -->
<!-- (more info: http://www.netbeans.org/kb/articles/freeform-config.html#runsingle) -->
<target name="run-selected-file-in-src">
<fail unless="run.class">Must set property 'run.class'</fail>
| # Fail2Ban configuration file | |
| # | |
| # NOTE | |
| # You should set up in the jail.conf file, the maxretry and findtime carefully in order to avoid false positives. | |
| # | |
| # Author: http://www.go2linux.org | |
| # Modified by: samnicholls.net | |
| # * Mon 6 Jun 2016 - Updated failregex to capture HOST group correctly | |
| [Definition] |
| #!/usr/bin/env bash | |
| # A best practices Bash script template with many useful functions. This file | |
| # combines the source.sh & script.sh files into a single script. If you want | |
| # your script to be entirely self-contained then this should be what you want! | |
| # A better class of script... | |
| set -o errexit # Exit on most errors (see the manual) | |
| set -o errtrace # Make sure any error trap is inherited | |
| set -o nounset # Disallow expansion of unset variables |
To install, please follow the latest instructions on the repo: https://files.worldwind.arc.nasa.gov/artifactory/list/debs/index.html WorldWind Debian Package Repository.htm
| #!/usr/bin/env bash | |
| # A best practices Bash script template with many useful functions. This file | |
| # combines the source.sh & script.sh files into a single script. If you want | |
| # your script to be entirely self-contained then this should be what you want! | |
| # A better class of script... | |
| set -o errexit # Exit on most errors (see the manual) | |
| set -o errtrace # Make sure any error trap is inherited | |
| set -o nounset # Disallow expansion of unset variables |