# Forked from https://gist.github.com/gguerini
# Syntax edits by Sick Codes (GPLv3+)
# Disable menu bar transparency
defaults write NSGlobalDomain AppleEnableMenuBarTransparency -bool false
# Show remaining battery time; hide percentage
defaults write com.apple.menuextra.battery ShowPercent -string "NO"
defaults write com.apple.menuextra.battery ShowTime -string "YES"
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
| <!doctype html> | |
| <!-- Adapted from https://gist.github.com/tfausak/2222823 --> | |
| <html> | |
| <head> | |
| <title>Mobile-ready web app</title> | |
| <!-- CONFIGURATION --> |
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
| type Words<S extends string> = S extends S ? string extends S ? string[] : WordsAgg<S, []> : never; | |
| type WordsAgg<S extends string, L extends string[]> = S extends "" | |
| ? L | |
| : S extends `${AsciiUpper}${AsciiLower}${string}` | |
| ? PascalWord<S, L> | |
| : S extends `${AsciiUpper}${string}` | |
| ? UpperWord<S, L> | |
| : S extends `${AsciiLower}${string}` | |
| ? CharsetWord<S, L, AsciiLower> | |
| : S extends `${AsciiDigit}${string}` |
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
| extends Node2D | |
| class_name MovementController | |
| var player : CharacterBody2D = null | |
| func _ready(): | |
| var parent = self.get_parent() | |
| if parent: | |
| if parent.get_class() == "CharacterBody2D": player = parent |
Install WinGet (https://www.microsoft.com/p/app-installer/9nblggh4nns1#activetab=pivot:overviewtab) via store
- Search for Developer and choose
Use Developer features. - Inside System / For Developers
- Ensure Developer Mode is turned on.
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
| { | |
| // open json editor for settings | |
| "workbench.settings.editor": "json", | |
| // Theme | |
| "workbench.colorTheme": "Aura Dark", | |
| "workbench.iconTheme": "moxer-icons", | |
| // Change font | |
| "editor.fontFamily": "Geist Mono", |
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
| " packadd quickscope | |
| " execute 'luafile ' . stdpath('config') . '/lua/settings.lua' | |
| function! s:manageEditorSize(...) | |
| let count = a:1 | |
| let to = a:2 | |
| for i in range(1, count ? count : 1) | |
| call VSCodeNotify(to == 'increase' ? 'workbench.action.increaseViewSize' : 'workbench.action.decreaseViewSize') | |
| endfor | |
| endfunction |
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
| [ | |
| { | |
| "command": "vscode-neovim.compositeEscape1", | |
| "key": "j", | |
| "when": "neovim.mode == insert && editorTextFocus", | |
| "args": "j" | |
| }, | |
| { | |
| "command": "vscode-neovim.compositeEscape2", | |
| "key": "k", |
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
| // 3D Dom viewer, copy-paste this into your console to visualise the DOM as a stack of solid blocks. | |
| // You can also minify and save it as a bookmarklet (https://www.freecodecamp.org/news/what-are-bookmarklets/) | |
| (() => { | |
| const SHOW_SIDES = false; // color sides of DOM nodes? | |
| const COLOR_SURFACE = true; // color tops of DOM nodes? | |
| const COLOR_RANDOM = false; // randomise color? | |
| const COLOR_HUE = 190; // hue in HSL (https://hslpicker.com) | |
| const MAX_ROTATION = 180; // set to 360 to rotate all the way round | |
| const THICKNESS = 20; // thickness of layers | |
| const DISTANCE = 10000; // ¯\\_(ツ)_/¯ |
Note
This does not works in browser for quests which require you to play a game! Use the desktop app to complete those.
How to use this script:
- Accept a quest under the Quests tab
- Press Ctrl+Shift+I to open DevTools
- Go to the
Consoletab - Paste the following code and hit enter:
OlderNewer