This script converts CODEOWNERS file to IDEA Scopes.
How to use:
-
Download the script
-
Place it in the same directory as
CODEOWNERSfile (or edit theCODEOWNERS_FILE_PATHvariable in the script)
| // ==UserScript== | |
| // @name JSON Formatter | |
| // @description Formats JSON if it's application/json | |
| // @match *://*/* | |
| // ==/UserScript== | |
| const isObject = (value) => | |
| typeof value === "object" && !Array.isArray(value) && value !== null; | |
| const sortObjectKeys = (value) => { |
This script converts CODEOWNERS file to IDEA Scopes.
How to use:
Download the script
Place it in the same directory as CODEOWNERS file (or edit the CODEOWNERS_FILE_PATH variable in the script)
Юзерскрипт совместим с Userscripts, Tampermonkey, и может быть совместим с другими аналогичными приложениями, которые поддерживают такой формат юзерскриптов.
Откройте "Redirect from m.vk.com to vk.com.user.js" в браузере. Ваше расширение для юзерскриптов поймет, что это юзерскрипт, и предложит его установить. Либо скопируйте содержимое файла и создайте юзерскрипт самостоятельно.
Юзерскрипт будет обновляться автоматически, если я решу его доработать. Если вам не нужно автообновление, то удалите строки @updateURL и @version.
Documentation of the Needle dependency injection framework sucks, and most of articles teaching you how to use it are outdated. That's the reason why it's really hard to write even a minimal-working version of the code that compiles.
This is a simple example of RootComponent that compiles successfully. Based on a code from an article "Dependency Injection with Needle", but modified to make it work.
| import SwiftUI | |
| struct HeroImageSlider: View { | |
| public let coverHeight: CGFloat | |
| public let imageUrls: [URL] | |
| @State private var pageIndex = 0 | |
| private let screenWidth: CGFloat = UIScreen.main.bounds.width | |
| private let cornerRadius: CGFloat = 12 |
This Python scripts allows you to move your passwords from BitWarden to Apple iCloud.
You need to know:
http:// or https://.wskg vtqa h5kl bhb4 v4v2 ybyo woc6 qme2 will be converted to otpauth://totp/example.com:[email protected]?secret=WSKGVTQAH5KLBHB4V4V2YBYOWOC6QME2&issuer=example.com&algorithm=SHA1&digits=6&period=30.