Skip to content

Instantly share code, notes, and snippets.

Thomas Guymer Guymer

Block or report user

Report or block Guymer

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@Guymer
Guymer / background-images-of-elevation-images.json
Created Jul 7, 2019
the database for background images of elevation
View background-images-of-elevation-images.json
{
"0000m-1000m": {
"0000m-1000m": "0000m-1000m.png",
"0000m-1000m0512px": "0000m-1000m0512px.png",
"0000m-1000m1024px": "0000m-1000m1024px.png",
"0000m-1000m2048px": "0000m-1000m2048px.png",
"0000m-1000m4096px": "0000m-1000m4096px.png",
"__comment__": "A 30-arc-second (1-km) gridded, quality-controlled global Digital Elevation Model (DEM)",
"__projection__": "PlateCarree",
"__source__": "https://www.ngdc.noaa.gov/mgg/topo/globe.html"
@Guymer
Guymer / background-images-of-elevation-process.py
Created Jul 7, 2019
a script to create background images of elevation
View background-images-of-elevation-process.py
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# Import modules ...
# NOTE: http://matplotlib.org/faq/howto_faq.html#matplotlib-in-a-web-application-server
import json
import matplotlib
matplotlib.use("Agg")
import matplotlib.pyplot
import numpy
@Guymer
Guymer / Doxyfile
Last active Feb 16, 2019
Doxygen Issue 3461
View Doxyfile
# Doxyfile 1.8.14
# This file describes the settings to be used by the documentation system
# doxygen (www.doxygen.org) for a project.
#
# All text after a double hash (##) is considered a comment and is placed in
# front of the TAG it is preceding.
#
# All text after a single hash (#) is considered a comment and will be ignored.
# The format is:
@Guymer
Guymer / func_overall_index.f90
Created Jan 9, 2019
a demonstration of linearizing nested do-loop indexes (for use with MPI)
View func_overall_index.f90
MODULE foo
USE ISO_FORTRAN_ENV
IMPLICIT NONE
INTERFACE func_overall_index
MODULE PROCEDURE func_overall_index_2loops
MODULE PROCEDURE func_overall_index_3loops
MODULE PROCEDURE func_overall_index_4loops
MODULE PROCEDURE func_overall_index_5loops
@Guymer
Guymer / skewnorm-mwe.csv
Created Dec 26, 2018
skewnorm MWE output
View skewnorm-mwe.csv
-5.000000e+00 0.000000e+00 0.000000e+00 0.000000e+00 0.000000e+00 0.000000e+00 0.000000e+00
-4.990000e+00 0.000000e+00 0.000000e+00 0.000000e+00 0.000000e+00 0.000000e+00 0.000000e+00
-4.980000e+00 0.000000e+00 0.000000e+00 0.000000e+00 0.000000e+00 0.000000e+00 0.000000e+00
-4.970000e+00 0.000000e+00 0.000000e+00 0.000000e+00 0.000000e+00 0.000000e+00 0.000000e+00
-4.960000e+00 0.000000e+00 0.000000e+00 0.000000e+00 0.000000e+00 0.000000e+00 0.000000e+00
-4.950000e+00 0.000000e+00 0.000000e+00 0.000000e+00 0.000000e+00 0.000000e+00 0.000000e+00
-4.940000e+00 0.000000e+00 0.000000e+00 0.000000e+00 0.000000e+00 0.000000e+00 0.000000e+00
-4.930000e+00 0.000000e+00 0.000000e+00 0.000000e+00 0.000000e+00 0.000000e+00 0.000000e+00
-4.920000e+00 0.000000e+00 0.000000e+00 0.000000e+00 0.000000e+00 0.000000e+00 0.000000e+00
-4.910000e+00 0.000000e+00 0.000000e+00 0.000000e+00 0.000000e+00 0.000000e+00 0.000000e+00
@Guymer
Guymer / skewnorm-mwe.py
Created Dec 26, 2018
skewnorm MWE script
View skewnorm-mwe.py
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# NOTE: This script was run with NumPy version 1.7.1 (and 1.15.3)
# NOTE: This script was run with SciPy version 0.12.1 (and 1.1.0)
# NOTE: SciPy reference: https://docs.scipy.org/doc/scipy/reference/generated/scipy.stats.skewnorm.html (retrieved 2018-11-29)
# NOTE: Wolfram reference: https://reference.wolfram.com/language/ref/SkewNormalDistribution.html (retrieved 2018-11-29)
# Import modules ...
import matplotlib
@Guymer
Guymer / rss_checker.json
Created Dec 26, 2018
the JSON database for rss_checker.py
View rss_checker.json
{
"feeds": {
"http://updating.kojevnikov.com/atom/ports": [
"http://updating.kojevnikov.com/entry/8e1ed6e2b38be47eab3e4d433073b80477fb9190d77192e6b62e411feb70d790",
"http://updating.kojevnikov.com/entry/9b3c43c14a569550fef365b746a01f38d6c93d7bf98adfd02514dfa2a04ab3cf",
"http://updating.kojevnikov.com/entry/75aaf4e5d7e7d88ebaa1786841cfda27f18c1e12517816f8b405ecbc07aa0d23",
"http://updating.kojevnikov.com/entry/847d0f9a75de85d2207b02963a701ebfa56dbd7bb9bd86c384a5caf94da3f760",
"http://updating.kojevnikov.com/entry/3c5d0cf2c3b838278980e3b1fbce4ac70171814e897211636ee273c59beb28ef",
"http://updating.kojevnikov.com/entry/be1f0245edfaf5a53c6c49d889584dd637426d4109e6e19c84f3864212dbb196",
"http://updating.kojevnikov.com/entry/9092af7b0b3ebe89eb374cef69debb511d6a3f6ff1e93bb6af98183275e1bdcc",
@Guymer
Guymer / rss_checker.py
Created Dec 26, 2018
a Python script to email me about about new RSS posts
View rss_checker.py
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# Import modules ...
import HTMLParser
import io
import json
import os
import pyguymer
import requests
@Guymer
Guymer / find_airfields.py
Last active Jul 6, 2019
plot the ranges from British airfields
View find_airfields.py
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# Load modules ...
# NOTE: http://matplotlib.org/faq/howto_faq.html#matplotlib-in-a-web-application-server
import cartopy
import matplotlib
matplotlib.use("Agg")
import matplotlib.lines
import matplotlib.pyplot
View blu-ray_ffprobe.out
ffprobe version 3.4 Copyright (c) 2007-2017 the FFmpeg developers
built with FreeBSD clang version 4.0.0 (tags/RELEASE_400/final 297347) (based on LLVM 4.0.0)
configuration: --prefix=/usr/local --mandir=/usr/local/man --datadir=/usr/local/share/ffmpeg --pkgconfigdir=/usr/local/libdata/pkgconfig --enable-shared --enable-pic --enable-gpl --enable-postproc --enable-avfilter --enable-avresample --enable-pthreads --cc=cc --disable-alsa --disable-libopencore-amrnb --disable-libopencore-amrwb --enable-libass --disable-libbs2b --disable-libcaca --disable-libcdio --disable-libcelt --disable-chromaprint --disable-libdc1394 --disable-debug --disable-htmlpages --disable-libdrm --enable-libfdk-aac --disable-ffserver --disable-libflite --enable-fontconfig --enable-libfreetype --enable-frei0r --disable-libfribidi --disable-libgme --disable-libgsm --enable-iconv --disable-libilbc --disable-jack --disable-libkvazaar --disable-ladspa --enable-libmp3lame --enable-libbluray --disable-librsvg --disable-libxml2 --enable-mmx --
You can’t perform that action at this time.