Skip to content

Instantly share code, notes, and snippets.

@rdipardo
rdipardo / textile.udl.xml
Created June 12, 2023 23:38
Notepad++ UDL for Textile
<?xml version="1.0" encoding="UTF-8" ?>
<!--//
Description: UDL for the Textile markup language <https://textile-lang.com>
Author: Robert Di Pardo <https://github.com/rdipardo>
Version: 2023-06-12
MIT License
(c) 2023- Robert Di Pardo
@rdipardo
rdipardo / Coral Reef (multi-caret).xml
Last active May 3, 2024 19:05
Coral Reef Notepad++ Theme
<?xml version="1.0" encoding="UTF-8" ?>
<!--//
Coral Reef
A vibrant dark theme adapted from clean-jsdoc
<https://clean-jsdoc.github.io/clean-jsdoc>
Revised: 2024-05-04
(c) 2022 Robert Di Pardo
@rdipardo
rdipardo / GAS.udl.xml
Last active January 27, 2024 15:08
Notepad++ UDL for GNU Assembler
<?xml version="1.0" encoding="UTF-8"?>
<!--
Description: UDL for GNU Assembler (GAS)
Author: Robert Di Pardo <https://github.com/rdipardo>
Version: 2022-12-14
Credits: Opcodes originally compiled by gwr <https://sourceforge.net/p/scintilla/feature-requests/1072/#5657>
MIT License
(c) 2021- Robert Di Pardo
name: lacinia (Ubuntu)
on: [push]
jobs:
native-image:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install Host Dependencies
run: |
sudo apt-get -qqy install \
@rdipardo
rdipardo / vimscript.udl.xml
Last active September 2, 2023 20:05
Notepad++ UDL for Vim script
<?xml version="1.0" encoding="UTF-8"?>
<!--
Description: User Defined Language for Vim script
Author: Robert Di Pardo <https://github.com/rdipardo>
-->
<NotepadPlus>
<UserLang name="Vim script" ext="vim vimrc gvimrc exrc" udlVersion="2.1">
<Settings>
<Global caseIgnored="no" allowFoldOfComments="yes" foldCompact="no" forcePureLC="0" decimalSeparator="0"/>
<Prefix Keywords1="no" Keywords2="no" Keywords3="no" Keywords4="no" Keywords5="no" Keywords6="no" Keywords7="yes" Keywords8="yes"/>
@rdipardo
rdipardo / vimscript.obsidian.udl.xml
Last active September 2, 2023 19:11
Notepad++ UDL for Vim script (Obsidian theme)
<?xml version="1.0" encoding="UTF-8"?>
<!--
Description: User Defined Language for Vim script (based on the Obsidian theme)
Author: Robert Di Pardo <https://github.com/rdipardo>
Credits: Style based on the Obsidian theme by Joni Eskelinen, inspired by the Oblivion theme for gedit
-->
<NotepadPlus>
<UserLang name="Vim script (Obsidian)" ext="vim vimrc gvimrc exrc" darkModeTheme="yes" udlVersion="2.1">
<Settings>
<Global caseIgnored="no" allowFoldOfComments="yes" foldCompact="no" forcePureLC="0" decimalSeparator="0"/>
@rdipardo
rdipardo / fsharp.udl.xml
Last active September 28, 2023 21:47
Notepad++ UDL for F#
<?xml version="1.0" encoding="UTF-8"?>
<!--//
Description: Syntax highlighting for F# 6.0+
Author: Robert Di Pardo <https://github.com/rdipardo>
Version: 2022-10-18
//-->
<NotepadPlus>
<UserLang name="F#" ext="fs fsi fsx fsscript" udlVersion="2.1">
<Settings>
<Global caseIgnored="no" allowFoldOfComments="yes" foldCompact="no" forcePureLC="0" decimalSeparator="0"/>
@rdipardo
rdipardo / fsharp.obsidian.udl.xml
Last active September 28, 2023 21:46
Notepad++ UDL for F# (Obsidian theme)
<?xml version="1.0" encoding="UTF-8"?>
<!--//
Description: Syntax highlighting for F# 6.0+
Author: Robert Di Pardo <https://github.com/rdipardo>
Version: 2022-10-18
Credits: Style based on the Obsidian theme by Joni Eskelinen, inspired by the Oblivion theme for gedit
//-->
<NotepadPlus>
<UserLang name="F# (Obsidian)" ext="fs fsi fsx fsscript" darkModeTheme="yes" udlVersion="2.1">
<Settings>
@rdipardo
rdipardo / itertools.js
Created November 11, 2020 10:54
itertools.js
/**
* @module itertools
* @description Functional transformers for object collections using ES6 features (e.g. computed property names)
* @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Object_initializer#Computed_property_names
*/
/**
* Sorts the given `list` of objects according to the given `key`
* @param {Array<Object>} list - An object collection
* @param {string} key - The property to sort by
@rdipardo
rdipardo / mingw-win-host.cmake
Last active August 1, 2023 20:56
Generating MinGW Makefiles on Windows with CMake
# USAGE
# =====
# > mkdir %USERPROFILE%\toolchains
# > copy mingw-win-host.cmake %USERPROFILE%\toolchains
# > mkdir build && cd build
# > cmake .. -G"MinGW Makefiles" -DCMAKE_TOOLCHAIN_FILE=%USERPROFILE%\toolchains\mingw-win-host.cmake
#
SET(CMAKE_SYSTEM_NAME Windows)
# !!!
# compiler toolchain must be on your PATH