Skip to content

Instantly share code, notes, and snippets.

@vonHabsi
vonHabsi / mrulist.pas
Created January 31, 2024 02:08
mrulist.pas by bart at lazarus forum.
{ MruLists
Copyright (C) 2007, 2011 by Flying Sheep Inc.
Portions Copyright (C) by Lazarus development team http://www.lazarus.freepascal.org
This library is free software; you can redistribute it and/or modify it
under the terms of the GNU Library General Public License as published by
the Free Software Foundation; either version 2 of the License, or (at your
option) any later version with the following modification:
@vonHabsi
vonHabsi / inflist-built-in-forms-functions.txt
Created January 6, 2024 21:41
InfLisp built-in functions special forms
&optional &rest * *environment* *globalsymbollist* *speciallist*
*standard-input* *standard-output* + - / 1+ 1- :array :cons :file :float
:integer :string :symbol < <= <> = > >= ?A ?B ?C ?D ?E ?F ?G ?H ?I ?J ?K ?L ?M
?N ?O ?P ?Q ?R ?S ?T ?U ?V ?W ?X ?Y ?Z and append apply aref arrayp assert assoc
atom backquote boundp bubble-sort caadr caar cadar caddar cadddr caddr cadr car
cdar cdddr cddr cdr char clear-screen close closure comma comma-at cond cons
consp copy cursor-off cursor-on defmacro defmethod defun defvar dolist dos
dotimes end-of-file end-of-line eq eql equal error eval evaluated exit exp
file-pos filep flatc flatsize floatp forall funcall gc gensym get-first get-key
get-next get-variables gotoxy if integerp internal-error is-a is-variable
@vonHabsi
vonHabsi / transcript.001.lua
Last active January 30, 2022 17:11
VCLua Samples
-- Q
-- Hello! Beautiful project.
-- Would it be possible to display the output of my Lua script in a simple message box (without opening a form)? If it is possible, could you provide a code example?
-- Thank you in advance.
-- Roland
-- Hi! Thank you.
--
-- If you dont want to use forms you should initialize gui application manually.
-- Here is the example:
@vonHabsi
vonHabsi / TST : Emacs Related.adoc.
Created December 22, 2019 01:26
TST : Emacs Related
@vonHabsi
vonHabsi / sidebar_userChrome.js
Created February 14, 2019 02:36
JS for Hotkey Driven Sidebar Display (thepante)
// ==UserScript==
// @name userChrome.js
// @include main
// @version 0.8.1.vH
// @note u/thepante
// ==/UserScript==
document.getElementById("sidebar").src='chrome://browser/content/webext-panels.xul';
document.getElementById("sidebar-button").checked=false;
var alfs = document.getElementById("sidebar-box");
@vonHabsi
vonHabsi / sidebar_userChrome.css
Created February 14, 2019 02:35
CSS for Hotkey Driven Sidebar Display (thepante)
@namespace html url("http://www.w3.org/1999/xhtml");
@namespace svg url("http://www.w3.org/2000/svg");
@-moz-document url(chrome://browser/content/browser.xul),
url(chrome://browser/content/places/bookmarksSidebar.xul),
url(chrome://browser/content/places/historySidebar.xul) {
#alltabs-button {
-moz-binding: url(data:text/xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIj8+DQo8IS0tIENvcHlyaWdodCAoYykgMjAxNyBIYWdnYWkgTnVjaGkNCkF2YWlsYWJsZSBmb3IgdXNlIHVuZGVyIHRoZSBNSVQgTGljZW5zZToNCmh0dHBzOi8vb3BlbnNvdXJjZS5vcmcvbGljZW5zZXMvTUlUDQogLS0+DQoNCjwhLS0gUnVuIHVzZXJDaHJvbWUuanMvdXNlckNocm9tZS54dWwgYW5kIC51Yy5qcy8udWMueHVsLy5jc3MgZmlsZXMgIC0tPg0KPGJpbmRpbmdzIHhtbG5zPSJodHRwOi8vd3d3Lm1vemlsbGEub3JnL3hibCI+DQogICAgPGJpbmRpbmcgaWQ9ImpzIiBleHRlbmRzPSJjaHJvbWU6Ly9nbG9iYWwvY29udGVudC9iaW5kaW5ncy90b29sYmFyYnV0dG9uLnhtbCNtZW51Ij4NCiAgICAgICAgPGltcGxlbWVudGF0aW9uPg0KICAgICAgICAgICAgPGNvbnN0cnVjdG9yPjwhW0NEQVRBWw0KICAgICAgICAgICAgICAgIGlmKHdpbmRvdy51c2VyQ2hyb21lSnNNb2QpIHJldHVybjsNCiAgICAgICAgICAgICAgIC
@vonHabsi
vonHabsi / dl_ff_nightly.compact.sh
Created August 23, 2017 17:40
Download firefox nightly compact version.
#!/bin/bash
set -e
set -x
# firefox version
FFVER=57
STRIPDASHES=1
MAKEDEFAULT=1
while getopts b:d:s:v: OPTION
do