This focuses on generating the certificates for loading local virtual hosts hosted on your computer, for development only.
Do not use self-signed certificates in production ! For online certificates, use Let's Encrypt instead (tutorial).
| npm remove @types/mocha mocha | |
| npm i --save-dev @types/jest jest | |
| npm i --save-dev ts-jest | |
| npx ts-jest config:init | |
| and provide testRegex entry in jest.config.js file. |
| # fonts are encoded by columns | |
| # first value is the first column from the left | |
| # now, we want to have them encode by rows (starting from the botton one) | |
| # { 0x00, 0xf8, 0x88, 0x88, 0x88, 0x88, 0x88, 0xf8 }, // 0 | |
| # see https://github.com/rm-hull/luma.led_matrix/blob/0.2.3/max7219/font.py#L84-L93 | |
| CP437_FONT = [ | |
| [0x3E, 0x7F, 0x71, 0x59, 0x4D, 0x7F, 0x3E, 0x00], # '0' | |
| [0x40, 0x42, 0x7F, 0x7F, 0x40, 0x40, 0x00, 0x00], # '1' |
| #!/bin/bash | |
| export TMPDIR="${HOME}/.tmp" | |
| mkdir -p $TMPDIR | |
| FILES=$(ls *.svg | egrep '[0-9]\.') | |
| DPI=400 | |
| # inkscape --file=12.svg --export-text-to-path --export-dpi=300 --export-pdf-version=1.5 --export-filename=pdf/12.pdf | |
| for file in $FILES | |
| do |
This focuses on generating the certificates for loading local virtual hosts hosted on your computer, for development only.
Do not use self-signed certificates in production ! For online certificates, use Let's Encrypt instead (tutorial).
| # | |
| # Name: nginx-tls.conf | |
| # Auth: Gavin Lloyd <[email protected]> | |
| # Desc: Nginx SSL/TLS configuration for "A+" Qualys SSL Labs rating | |
| # | |
| # Enables HTTP/2, PFS, HSTS and OCSP stapling. Configuration options not related | |
| # to SSL/TLS are omitted here. | |
| # | |
| # Example: https://www.ssllabs.com/ssltest/analyze.html?d=gavinhungry.io | |
| # |
| .idea/ | |
| *.swp | |
| env | |
| user-password.py | |
| apicache-py3/ | |
| harvest.log | |
| pywikibot.lwp | |
| throttle.ctrl |
| #!/usr/bin/env python | |
| """ | |
| N-Triples Parser | |
| Copyright 2004, Sean B. Palmer, inamidst.com | |
| Licensed under GPL 2, W3C, BSD, MIT, or EFL 2 | |
| Documentation: | |
| http://inamidst.com/proj/rdf/ntriples-doc | |
| Command line usage: | |
| ./ntriples.py <URI> - parses URI as N-Triples |
| $ curl -s 'https://gis.us.fo/arcgis/rest/services/stadarnovn/us_stadarnovn/MapServer/1/query?f=json&where=UPPER(name)%20LIKE%20%27%25FOSSUR%25%27&returnGeometry=false&spatialRel=esriSpatialRelIntersects&outFields=name%2Cobjectid&outSR=5316&resultRecordCount=200' | jq .features[].attributes.name -r | sort | |
| Áarstíggjafossur | |
| Ærgifossur | |
| Ærgisfossur | |
| Ærgisfossur | |
| Bjerndalsfossur | |
| Bláfossur | |
| Bláfossur | |
| Bláfossur | |
| Bláfossur |
| #!/bin/bash | |
| youtube-dl --extract-audio --audio-format mp3 -o "%(title)s.%(ext)s" "$1" |
| Jan Nalaskowski 2008-12-11 23:33:51 | |
| ========================================= | |
| http://web.archive.org/web/20120310203608/http://www.stosunkimiedzynarodowe.info/artykul,283,Kwestia_niepodleglosci_Wysp_Owczych | |
| Niedawne referendum przeprowadzone w Grenlandii ożywiło debatę na temat kwestii niepodległości Wysp Owczych. Sprawa ta powraca cyklicznie co pewien czas, jednak jej realność jest często podważana. | |
| Na archipelag składa się 18 wysp, z czego 17 jest zamieszkałych. Strategiczne położenie na północnowschodnim Atlantyku czyni z Wysp Owczych potencjalnie cennego sojusznika, ale i ważnego gracza w swoim regionie oraz w rejonie arktycznym. | |
| Prawdopodobnie już w VII i VIII wieku Wyspy służyły jako miejsce odosobnienia dla irlandzkich mnichów szukających samotności. Jednak coraz bardziej aktywni w tych rejonach Wikingowie doprowadzili do ustabilizowania się około IX wieku norweskiego osadnictwa. Wyspy Owcze włączone zostały do Królestwa Norwegii w roku 1035. Podobnie jak w przypadku Grenlandii, ziemie te uległy ro |