Skip to content

Instantly share code, notes, and snippets.

@cornerot
cornerot / gist:0240488a9a497285f86480686083f59c
Created June 21, 2021 15:53 — forked from nadeemsyed/gist:c89d67fe5805788b7243
Create a sample shared library in golang 1.5.
nadeem@myznc:~/go/src$ ls -al dummy
total 12
drwxrwxr-x 2 nadeem nadeem 4096 Jul 20 18:46 .
drwxrwxr-x 6 nadeem nadeem 4096 Jul 20 18:45 ..
-rw-rw-r-- 1 nadeem nadeem 129 Jul 20 18:46 hello.go
nadeem@myznc:~/go/src/dummy$ cat hello.go
// Package dummy contains hello world library.
package dummy
@cornerot
cornerot / tag-wahoo.xml
Created October 13, 2021 14:27 — forked from Intyre/1 - wahoo-create-maps.md
Wahoo create maps
<?xml version="1.0" encoding="UTF-8"?>
<tag-mapping xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" default-zoom-appear="16"
profile-name="default-profile" xmlns="http://mapsforge.org/tag-mapping"
xsi:schemaLocation="http://mapsforge.org/tag-mapping https://raw.githubusercontent.com/mapsforge/mapsforge/master/resources/tag-mapping.xsd">
<!-- ************* POIS *************** -->
<!-- HIGHWAY TAGS -->
<pois>
<osm-tag key="highway" value="mini_roundabout" zoom-appear="17" />
@cornerot
cornerot / configuration.nix
Created July 25, 2022 10:54 — forked from kborling/configuration.nix
NixOS Configuration (Sway/Wayland Enabled)
# Edit this configuration file to define what should be installed on
# your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running ‘nixos-help’).
{ config, pkgs, ... }:
{
nix = {
package = pkgs.nixUnstable;
extraOptions = ''