profile
viewpoint
Tom Meyer tom-meyer Freelance Software Consultant

tom-meyer/pairist 1

A tool for developer pairing

spacecookies1868/frc2019-gradle 0

gradle files for spacecookies1868

tom-meyer/automatic-chainsaw 0

Experiment with Jenkins Pipelines

tom-meyer/gpdb 0

Greenplum Database

tom-meyer/halp 0

Notes to remind me what I know

tom-meyer/ici-bug-free-engine 0

Do stuff with thingies

tom-meyer/ici-fictional-giggle 0

Oh, to be Prince Caspian afloat upon the waves

tom-meyer/ici-literate-chainsaw 0

Make some Pythonic creatures

tom-meyer/ici-probable-bassoon 0

Absurd in the (ab)?sen[cs]e

issue commentjgm/gitit

Static files should be served respecting the base-url

I may have found a workaround (gitit nginx remote proxy to subfolder). With the subfolder as 'gitit' , rewrite to the subfolder via try_files before failing (see below). This assumes a gitit process is serving on localhost:5001. Not pretty but works so far for me.

location @rewrite {
   rewrite ^/(.*) $scheme://$host:$server_port/gitit/$1 redirect;
}
location / {
  if ($http_referer = "$scheme://$host/gitit/") {
    rewrite ^/(.*) $scheme://$host:$server_port/gitit/$1 redirect;
  }

 # for gitit: redirect to subfolder before failing
 try_files $uri $uri/ @rewrite;

}
location /gitit/ {

    proxy_set_header HOST $http_host/gitit;
    proxy_set_header X-Real-IP $remote_addr;
    proxy_set_header X-Scheme $scheme;
    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
    proxy_set_header X-Forwarded-Proto $scheme;
    proxy_set_header Referer $http_referer;
    add_header Pragma "no-cache";
    add_header Cache-Control "no-cache";

    proxy_pass http://localhost:5001/;
    sub_filter 'action="/'  'action="/gitit/';
    sub_filter 'href="/'  'href="/gitit/';
    sub_filter 'src="/'  'src="/gitit/';
    sub_filter_once off;
    sub_filter_types *;
    sub_filter_last_modified on;
    proxy_redirect    off;
   }
CounterPillow

comment created time in 10 days

startedmjhea0/awesome-fastapi

started time in 21 days

startedgo-training/training

started time in a month

startedremoteintech/remote-jobs

started time in a month

startedtuvtran/project-based-learning

started time in a month

fork addisonhuddy/demo-scene

Scripts and samples to support Confluent Platform talks. May be rough around the edges. For automated tutorials and QA'd code, see https://github.com/confluentinc/examples/

fork in 2 months

fork addisonhuddy/demo-scene

Scripts and samples to support Confluent Platform talks. May be rough around the edges. For automated tutorials and QA'd code, see https://github.com/confluentinc/examples/

fork in 2 months

startedgrafana/github-datasource

started time in 2 months

issue commentjgm/gitit

Support for reCAPTCHA alternative(s)?

Not everyone knows about those privacy concerns so it might be better to provide more background on the motivation behind this.

e.g. https://blog.cloudflare.com/moving-from-recaptcha-to-hcaptcha/

onlyjob

comment created time in 2 months

issue openedjgm/gitit

Support for reCAPTCHA alternative(s)?

reCAPTCHA is not trustworthy due to privacy concerns...

It would be awesome if https://www.hcaptcha.com/ could be used as an alternative to reCAPTCHA.

Maybe there are better alternatives?

Thanks.

created time in 2 months

pull request commentjgm/gitit

Created a workflow for building binaries on release

One approach would be to add these to the MediaBag before calling the writer in the export. The MediaBag in pandoc is a container for named resources which will be available to fetchItem in the writer. See insertMedia in Text.Pandoc.Class.

JustusAdam

comment created time in 2 months

pull request commentjgm/gitit

Created a workflow for building binaries on release

I have been working on embedding default files into the binary and an issues cropped up that I am not sure how to solve:

When exporting to ODT, the images etc are embedded as absolute URL's. When we embed these in the binary, they no longer have a path on the system. The question is, how should we link them with the export? Should we dump them somewhere on the system?

JustusAdam

comment created time in 2 months

fork addisonhuddy/ultimate-python

Ultimate Python study guide for newcomers and professionals alike. :snake: :snake: :snake:

fork in 3 months

more