Made for CGMatter/Default Cube vide: https://youtu.be/emPZiWmGsmg
This file contains hidden or 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
| function selectiveCalendarSync() { | |
| const startTime = Date.now(); | |
| // Number of days to include in the sync: | |
| const NUM_DAYS = 14; | |
| // Lower case exclude trigger strings to keep matching events from being synced: | |
| const EXCLUDE = ["focus time", "home", "bob ooo", "alice pto"]; | |
| // Universal name for synced events? Make it empty to use original event name: | |
| const NEW_NAME = ""; | |
| // Also sync whole day events without start and end time?: | |
| const FULL_DAY_EVENTS = false; |
This file contains hidden or 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
| <?xml version="1.0" encoding="UTF-8"?> | |
| <inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension"> | |
| <name>Open File Browser</name> | |
| <id>org.inkscape.effect.open_filebrowser</id> | |
| <effect> | |
| <object-type>all</object-type> | |
| <effects-menu> | |
| <submenu name="Document"/> | |
| </effects-menu> |
This file contains hidden or 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
| // ==UserScript== | |
| // @name Li-Hide-Puzzles | |
| // @namespace Violentmonkey Scripts | |
| // @match https://www.linkedin.com/* | |
| // @icon data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGlkPSJMYXllcl8xIiBkYXRhLW5hbWU9IkxheWVyIDEiIHdpZHRoPSI2NCIgaGVpZ2h0PSI2NCIgdmlld0JveD0iMCAwIDY0IDY0Ij4KICA8c3R5bGU+CiAgICAuZmF2aWNvbi1iYWNrZ3JvdW5kIHsgZmlsbDogIzBhNjZjMjsgfQogICAgLmZhdmljb24tdGV4dCB7IGZpbGw6ICNmZmY7IH0KICA8L3N0eWxlPgogIDxwYXRoIGNsYXNzPSJmYXZpY29uLWJhY2tncm91bmQiIGQ9Ik01NS45Miw0SDguMDhBNC4wOCw0LjA4LDAsMCwwLDQsOC4wOFY1NS45MkE0LjA4LDQuMDgsMCwwLDAsOC4wOCw2MEg1NS45MkE0LjA4LDQuMDgsMCwwLDAsNjAsNTUuOTJWOC4wOEE0LjA4LDQuMDgsMCwwLDAsNTUuOTIsNFpNMjAsNTJIMTJWMjVoOFpNMTYsMjAuN2E0LjcsNC43LDAsMCwxLDAtOS40aDBhNC43LDQuNywwLDAsMSwwLDkuNFpNNTIsNTJINDRWMzcuODFjMC00LjMxLTIuNzMtNi4xMS01LTYuMTFhNS44Miw1LjgyLDAsMCwwLTYsNi4yMVY1MkgyNVYyNWg3LjUzdjMuNzloLjExYy44LTEuNjQsNC40NC00LjM3LDkuMTMtNC4zN1M1MiwyNy41OSw1MiwzNS43NloiLz4KICA8cGF0aCBjbGFzcz0iZmF2aWNvbi10ZXh0IiBkPSJNNTIsMzUuNzZWNTJINDRWMzcuODFjMC0 |
This file contains hidden or 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
| // ==UserScript== | |
| // @name Bandcamp Player Tweaks | |
| // @namespace https://github.com/ewerybody/ | |
| // @version 1.14.9 | |
| // @description Inline player layout fix, waveform seek, settings panel. | |
| // @author ewerybody | |
| // @match https://*.bandcamp.com/* | |
| // @match https://bandcamp.com/* | |
| // @grant none | |
| // @run-at document-end |
This file contains hidden or 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
| #HotIf WinActive("Signal ahk_class Chrome_WidgetWin_1 ahk_exe Signal.exe") | |
| Enter::Send("+{Enter}") | |
| ^Enter::Send("{Enter}") |
This file contains hidden or 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
| """ | |
| TestCase for directly showing off which __operation__ function name | |
| connects to what runtime operator like `__add__` is called on `+` | |
| more : https://docs.python.org/3/reference/datamodel.html#emulating-numeric-types | |
| """ | |
| class TestClass: | |
| def __add__(self, arg): |
This file contains hidden or 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
| import os | |
| import time | |
| import requests | |
| NAME = 'thispersondoesnotexist' | |
| URL = f'https://{NAME}.com/image' | |
| IMG_DIR = os.path.abspath(os.path.join(os.path.dirname(__file__), NAME)) | |
| # The file name pattern. `nr` will be replaced with the index of the file to write. | |
| IMG_NAME = 'face_{nr}.jpg' | |
| # How many face images you want to download. |
This file contains hidden or 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
| #py3 - find emojis under 100000/hex 186A0 | |
| import os | |
| MAX_NR = 100000 | |
| URL = 'https://unicode.org/Public/emoji/13.1/emoji-test.txt' | |
| TXT_NAME = 'emoji-test.txt' | |
| TXT_PATH = os.path.abspath(os.path.join(__file__, '..', TXT_NAME)) | |
| emojis = {} | |
| content = '' |
This file contains hidden or 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
| # built-in imports should be at the top | |
| # but sys is not even needed! See last block. | |
| # import sys | |
| # Module imports are preferred! Unneeded items should not be imported | |
| from PySide2 import QtCore, QtWidgets | |
| # numbers that are used multiple times or are key to the functionality | |
| # should be in 1 place so one doesn't need to dig for the settings. | |
| SIZE_SMALL = 70 |
NewerOlder