Skip to content

Instantly share code, notes, and snippets.

@interregna
interregna / qtide.cfg
Last active August 12, 2023 21:26
J Qt IDE Config
# Qt IDE config
# This file is read and written by the Qt IDE.
# Make changes in the same format as the original.
#
# BoxForm=0 0=linedraw 1=ascii (overrides base cfg)
# ConfirmClose=false confirm session close
# ConfirmSave=false confirm script save
# CursorWidth=1 cursor width in session windows
# DebugDissect=true if Dissect included in Debug
# FileManager=explorer show in file manager
@interregna
interregna / style.cfg
Last active November 24, 2022 09:14
J jqt style
# Qt Styles config approximately based on Nordtheme (https://www.nordtheme.com)
# This file is read and written by the Qt IDE.
# Make changes in the same format as the original.
#
# Each style has rgb color values (0-255), optionally
# followed by bold or italic, e.g.
# verb=0 128 128 bold
#
# Edit/Term/View definitions are:
# back = default background color
@interregna
interregna / box-memory-usage.ijs
Last active May 17, 2022 22:21
comparison of boxed and unboxed memory usage in J
gen =. {{
nobox =: (40 + ? y # 30) { a.
box =: <"0 (40 + ? y # 30) { a.
''
}}
relative_size =. {{
gen y
%/ 7!:5 'box';'nobox'
}}"0