Skip to content

Instantly share code, notes, and snippets.

View nohal's full-sized avatar
🗺️

Pavel Kalian nohal

🗺️
View GitHub Profile
@nohal
nohal / opencpn_5.8_windows.md
Last active January 22, 2024 16:59
OpenCPN 5.8.0 build on Windows

OpenCPN 5.8 build on Windows

Core application

  • Download VS 2022 Community from https://visualstudio.microsoft.com
  • Run the installer and select (at least) Desktop development with C++, then install
  • Download Git from https://git-scm.com/download/win and install (all the defaults in the installer are OK to accept)
  • Install Chocolatey
    • Run Command Prompt as Administrator
    • Run powershell.exe
@nohal
nohal / keybase.md
Created May 13, 2019 00:30
Keybase proof

Keybase proof

I hereby claim:

  • I am nohal on github.
  • I am nohal (https://keybase.io/nohal) on keybase.
  • I have a public key ASBhJW8dAxToDfQnnUFNLIaZYxjNGpGP-PtCg0OE96OAOQo

To claim this, I am signing this object:

<?xml version="1.0"?>
<gpx version="1.1" creator="OpenCPN" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.topografix.com/GPX/1/1" xmlns:gpxx="http://www.garmin.com/xmlschemas/GpxExtensions/v3" xsi:schemaLocation="http://www.topografix.com/GPX/1/1 http://www.topografix.com/GPX/1/1/gpx.xsd" xmlns:opencpn="http://www.opencpn.org">
<trk>
<name>1e Werkhaven in de Botlek</name>
<extensions>
<opencpn:viz>1</opencpn:viz>
<opencpn:style width="3" style="101" />
<gpxx:TrackExtension>
<gpxx:DisplayColor>Blue</gpxx:DisplayColor>
</gpxx:TrackExtension>
@nohal
nohal / gist:e0e16b387fa3021d794bac847c7853a1
Created March 14, 2019 20:46
Convert OCPN Draw dataset to GPX layer
#!/usr/bin/python
"""
Converts OCPN Draw dataset to GPX layer
Copyright (c) 2019 Pavel Kalian
Licensed under GPLv2 or, at yoir will later version
"""
import sys
import xml.etree.ElementTree as ET
@nohal
nohal / gist:ea36fcd8dd26ed3a6cc6
Last active August 29, 2015 14:19
Chart catalog format
<RncProductCatalogChartCatalogs>
<!-- The header of the catalog, you just update the dates every time you make changes to this file -->
<Header>
<title>My Custom Charts</title> <!-- This is the name of the catalog -->
<date_created>2015-04-26</date_created> <!-- Date when it was crreated -->
<time_created>00:00:00</time_created> <!-- Time when it was crreated -->
<date_valid>2015-04-26</date_valid> <!-- Date when it was crreated, same as above -->
<time_valid>00:00:00</time_valid> <!-- Time when it was crreated, same as above -->
<dt_valid>2015-04-26T00:00:00Z</dt_valid> <!-- Date and Time when it was crreated in ISO format, same as above -->
<!-- You do not care about the rest of the header -->
@nohal
nohal / gist:69d6780ee7513d0fea52
Last active August 29, 2015 14:08
Building wxWidgets and OpenCPN on a Mac using Xcode 6.1, targeting OS X 10.7 and higher

Prerequisities

  • Xcode
  • Xcodelegacy script (https://github.com/devernay/xcodelegacy)
  • Legacy packages for Xcode (see above)
  • Homebrew (http://brew.sh)
  • brew install cmake
  • brew install gettext
  • symlinks to msgmerge and msgfmt from gettext's bin directory in /usr/local/bin
  • wxWidgets source
  • OpenCPN source
@nohal
nohal / gist:28f4aa0e7bf0b4106450
Created July 31, 2014 13:08
SignalK reference server prerequisities on Debian
apt-get install nodejs avahi-daemon avahi-discover libnss-mdns libavahi-compat-libdnssd-dev
npm install express
npm install memwatch
npm install colors
npm install ejson
npm install lodash
npm install socket.io
npm install mdns