This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
objkt-capture-frames.js | |
Description: Browser console script to render frames from a rotating OBJKT on hicetnunc.xyz and save as PNGs | |
Version: 0.2 | |
Author: Heracles Papatheodorou / @Arty2 | |
Website: https://gist.github.com/Arty2/cc438cc516bfc443cf4f7756343188bc | |
License: MIT License | |
*/ | |
// styles for the new elements |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*-------------------------------------------------------------- | |
Draggable | |
alternative to jQuery UI’s draggable | |
based on comments from: http://css-tricks.com/snippets/jquery/draggable-without-jquery-ui/ | |
usage example: $('.post-thumbnail, article header').draggable(); | |
--------------------------------------------------------------*/ | |
(function($) { | |
if (!jQuery().draggable) { | |
$.fn.draggable = function() { | |
this |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Reading one Rotary Encoder from a Raspberry Pi | |
Translated from C to Processing by Heracles Papatheodorou | |
via http://theatticlight.net/posts/Reading-a-Rotary-Encoder-from-a-Raspberry-Pi/ | |
GND MIDDLE encoder leg | |
GPIO22 GPIO23 LEFT and RIGHT legs | |
3.3V LEFT and RIGHT, splits to two 10k resistors for pull-up |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; make Logitech craft windows transparent, restart the script and use the crown to hide it | |
; see https://github.com/Logitech/logi_craft_sdk/issues/31 | |
; ← everything after this character is a comment | |
SetTimer, LogiOverlay, -5000 ; this timer runs once, after 5 seconds | |
LogiOverlay(){ | |
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 | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
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(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul); | |
.tab-line[selected="true"] { | |
background-color : #841ebe; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
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; } | |
/*--------- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Obsolete since Dropbox Paper introduced a native Dark theme. | |
*/ | |
::-moz-selection { background: #000; } | |
::selection { background: #000; } | |
body, | |
.ace-editor, | |
.hp-sidebar-container, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* { | |
scrollbar-color: rebeccapurple transparent; /* ← use a color that matches your Firefox of Windows 10 color-scheme */ | |
scrollbar-width: thin; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
::-moz-selection { background: #000; } | |
::selection { background: #000; } | |
:not(.published-wrap) > .wrapper > .app { | |
background: #222; | |
} | |
.wrapper { | |
height: 100vh; | |
} |