Skip to content

Instantly share code, notes, and snippets.

View tzuntar's full-sized avatar

Tobija Žuntar tzuntar

  • Europe / Slovenia
View GitHub Profile
@tzuntar
tzuntar / gopher2html.pl
Created January 1, 2022 15:34
Simple gophermap to HTML converter
#!/usr/bin/env perl
# Gopher2Html - Gophermap parser
# v1.0 (c) 2021 by Tobija Žuntar
use warnings;
use strict;
use feature qw(switch);
no warnings qw(experimental::smartmatch);
sub parse_line {
my ($line) = @_;
@tzuntar
tzuntar / ICommand.cs
Last active March 1, 2021 14:20
A simple command line interface
namespace TestApp
{
public interface ICommand
{
void Execute();
}
}
@tzuntar
tzuntar / ToDoList-LangDef.xml
Created August 9, 2020 13:30
A simple text-based ToDo list format for Notepad++
<NotepadPlus>
<UserLang name="TODO List" ext="todo" udlVersion="2.1">
<Settings>
<Global caseIgnored="no" allowFoldOfComments="no" foldCompact="no" forcePureLC="0" decimalSeparator="0" />
<Prefix Keywords1="no" Keywords2="no" Keywords3="no" Keywords4="no" Keywords5="no" Keywords6="no" Keywords7="no" Keywords8="no" />
</Settings>
<KeywordLists>
<Keywords name="Comments">00// 01 02 03/* 04*/</Keywords>
<Keywords name="Numbers, prefix1"></Keywords>
<Keywords name="Numbers, prefix2"></Keywords>