Skip to content

Instantly share code, notes, and snippets.

View animaone's full-sized avatar

Anima C13L animaone

View GitHub Profile
@animaone
animaone / gist:b039a48f0bad8284d3a043f01aca211c
Created May 10, 2026 16:07
userChrome.css auto-hide sidebery with 5s delay (allows dragging)
#TabsToolbar { visibility: collapse; }
#titlebar { appearance: none }
#sidebar-box {
position: fixed !important;
top: 40px !important;
left: 0 !important;
min-width: 4px !important;
max-width: 4px !important;
width: 4px !important;
@animaone
animaone / gist:6f0dbbcb0329ee70c98a2c3aee7f7365
Created May 9, 2026 14:15
userChrome.css for waterfox + sidebery auto-sidebar hide
#TabsToolbar { visibility: collapse; }
#titlebar { appearance: none }
#sidebar-box {
position: fixed;
top: 40px;
bottom: 0;
left: 0;
width: 4px !important;
min-width: 4px !important;
@animaone
animaone / jscadColors.js
Created April 23, 2024 00:21
change jscad online editor colors and size
// ==UserScript==
// @name Change jscad online editor colors and size
// @namespace http://tampermonkey.net/
// @version 0.1
// @description this change the text editor a bit to allow focusing in the code editor
// @author github.com/animaone
// @match https://openjscad.xyz/
// @grant GM_addStyle
// ==/UserScript==
@animaone
animaone / linux find
Created January 11, 2020 16:19
linux find printf % format
-printf format
True; print format on the standard output, interpreting `\'
escapes and `%' directives. Field widths and precisions can
be specified as with the `printf' C function. Please note
that many of the fields are printed as %s rather than %d, and
this may mean that flags don't work as you might expect. This
also means that the `-' flag does work (it forces fields to be
left-aligned). Unlike -print, -printf does not add a newline
at the end of the string. The escapes and directives are:
@animaone
animaone / test.html
Created December 14, 2019 12:33
test
<html>
<head>
<title>test</title>
</head>
<body>
<script type="javascript">
alert("test");
</script>
</body>
@animaone
animaone / userChrome.css
Last active December 30, 2018 20:34 — forked from hallettj/userChrome.css
Customize Firefox Quantum to hide tabs (static toolbar modification(use alt +f to view menu))
/* Frank edited file - you are good to go...*/
/*
* Do not remove the @namespace line -- it's required for correct functioning
*/
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* set default namespace to XUL */
/* hide horizontal tabs at the top of the window */
#TabsToolbar > * {
visibility: collapse;