Skip to content

Instantly share code, notes, and snippets.

Arty2 / vscode_settings.json
Last active Oct 24, 2021
Visual Studio Code Markdown styles inspired from iAWriter
View vscode_settings.json
"editor.tokenColorCustomizations": {
"[Material Theme Darker]": { // replace with your dark theme
"scope": [
Arty2 / objkt-capture-frames.js
Last active May 30, 2021
Browser console script to render frames from a rotating OBJKT on and save as PNGs
View objkt-capture-frames.js
Description: Browser console script to render frames from a rotating OBJKT on and save as PNGs
Version: 0.2
Author: Heracles Papatheodorou / @Arty2
License: MIT License
// styles for the new elements
Arty2 / fixedsearch.js
Last active Oct 3, 2021 — forked from cmod/
Super fast, client side search for with
View fixedsearch.js
// static/scripts/fixedsearch/fixedsearch.js
fixedsearch — Super fast, client side search for with
based on
if (typeof variable !== 'undefined') {
console.log('fixedsearch.js already loaded');
} else {
fixedsearch = function(){
Arty2 / jpg-to-page-bundle.bat
Last active Dec 27, 2020
Loop through every .jpg file in the same directory and make a Hugo page bundle out of each.
View jpg-to-page-bundle.bat
@echo OFF
rem loop through all JPG files
for %%f IN (*.jpg) DO (
rem make a new directory with the same filename
mkdir %%~nf
rem move file the new directory
move %%f %%~nf/%%f
rem go inside the new directory
cd %%~nf
Arty2 / logitech-craft.ahk
Created May 23, 2020
Hide popup for Logitech Craft's crown.
View logitech-craft.ahk
; make Logitech craft windows transparent, restart the script and use the crown to hide it
; see
; ← everything after this character is a comment
SetTimer, LogiOverlay, -5000 ; this timer runs once, after 5 seconds
If WinExist("ahk_EXE LogiOverlay.exe") {
WinClose, ahk_EXE LogiOverlay.exe ; close the window, comment to disable
; WinSet, Transparent, 20, ahk_EXE LogiOverlay.exe ; uncomment this line to change its opacity instead
Arty2 / mic-toggle.ahk
Created Apr 16, 2020
An AutoHotKey script to mute/unmute all microphones on a system level. Works with Windows 10.
View mic-toggle.ahk
; An AutoHotKey script to mute/unmute all microphones on a system level. Toggle with Caps Lock.
; Emits a single beep on mute, double on unmute. Tray icon changes accordingly.
; Requires
; Note: SoundSet doesn't work as intented
; TODO: detect tap and hold to speak, based on
; also
Arty2 / dropbox-paper-focus.css
Created Apr 6, 2020
View dropbox-paper-focus.css
A set of styles that turns the sideba and menus partialy transparent when the cursor is not over them.
Includes some stylistic changes over the display of text, eg. — instead of bullet points, Anonymous Pro font (if exists on the system).
::-moz-selection { background: #000; }
::selection { background: #000; }
Arty2 / custom-accent.css
Last active Apr 7, 2020
Firefox CSS to change the accent color on top of tabs. Use with userChrome.css
View custom-accent.css
1. Navigate to `%APPDATA%\Mozilla\Firefox\Profiles ...` or locate the exact directory at `about:profiles`
2. Create a folder named `chrome` then create a file named userChrome.css inside it and paste this code
3. If userChrome.css doesn’t seem to work, open `about:config` and set `toolkit.legacyUserProfileCustomizations.stylesheets=true`
@namespace url(;
.tab-line[selected="true"] {
background-color : #841ebe;
Arty2 / thin-scrollbars.css
Last active Sep 10, 2019
User Style for Firefox that replaces all scrollbards with their thin equivalent. To be used with Stylus or similar extention.
View thin-scrollbars.css
* {
scrollbar-color: rebeccapurple transparent; /* ← use a color that matches your Firefox of Windows 10 color-scheme */
scrollbar-width: thin;
Arty2 / airtable-dark-theme.css
Created Aug 29, 2019
User Style for that introduces a Dark theme and other visual tweaks. To be used with Stylus or similar extention
View airtable-dark-theme.css
Makes text a bit blurry due to ClearType being disabled when CSS Filters are used. Should probably use a less *naive* way.
#hyperbaseContainer {
filter: invert(100%);
#hyperbaseContainer img,
#hyperbaseContainer button { /* revert images back to normal */