These examples use CommonMark syntax. Tables appear in the GitHub extensions section below.
A paragraph with italic text, bold text, bold italic text, and inline code.
These examples use CommonMark syntax. Tables appear in the GitHub extensions section below.
A paragraph with italic text, bold text, bold italic text, and inline code.
| ///usr/bin/env jbang --jdk-providers=mise "$0" "$@" ; exit $? | |
| //JAVA 27 | |
| //PREVIEW | |
| /* | |
| * This Source Code Form is subject to the terms of the Mozilla Public | |
| * License, v. 2.0. If a copy of the MPL was not distributed with this | |
| * file, You can obtain one at https://mozilla.org/MPL/2.0/. | |
| */ |
| /** | |
| * Print the plugin id or its class when plugin is added to the project. | |
| * | |
| * Example usage: | |
| * | |
| * ```kotlin | |
| * subprojects { | |
| * logPluginWhenApplied(this) | |
| * } | |
| * ``` |
| import java.io.*; | |
| import java.nio.*; | |
| import java.nio.channels.*; | |
| import java.nio.charset.StandardCharsets; | |
| /** | |
| * ELF64 Program Interpreter Reader. | |
| * <p> | |
| * Reads the PT_INTERP (program interpreter) section from a 64-bit ELF file. | |
| * This assumes the ELF file is little endian, but ELF file can be either, see |
The default credential is admin:admin.
sudo synopkg start transmission/var/packages/transmission/var/settings.json to change the username and password, make sure authentication is required, pssibly requires sudo.{
"rpc-authentication-required": true,
"rpc-username": "...",| // Use https://finicky-kickstart.now.sh to generate basic configuration | |
| // Learn more about configuration options: https://github.com/johnste/finicky/wiki/Configuration | |
| // Get bundle id with: mdls /Applications/Firefox.app | grep kMDItemCF | |
| const browsers = { | |
| personal: { | |
| name: 'org.mozilla.firefox', // or Firefox | |
| openInBackground: false, | |
| }, |
| import java.io.StringWriter | |
| import javax.xml.namespace.QName | |
| import javax.xml.stream.XMLEventFactory | |
| import javax.xml.stream.XMLInputFactory | |
| import javax.xml.stream.XMLOutputFactory | |
| import javax.xml.stream.events.Attribute | |
| import javax.xml.stream.events.StartElement | |
| tasks.register<GenerateDarkIconVariant>("patchSVG") | |
| abstract class GenerateDarkIconVariant @Inject constructor(project: Project) : DefaultTask() { |
| import com.intellij.lang.Language | |
| import com.intellij.lang.documentation.DocumentationSettings | |
| import com.intellij.lang.documentation.DocumentationSettings.InlineCodeHighlightingMode.NO_HIGHLIGHTING | |
| import com.intellij.lang.documentation.DocumentationSettings.InlineCodeHighlightingMode.SEMANTIC_HIGHLIGHTING | |
| import com.intellij.openapi.editor.HighlighterColors | |
| import com.intellij.openapi.editor.colors.EditorColorsManager | |
| import com.intellij.openapi.editor.richcopy.HtmlSyntaxInfoUtil | |
| import com.intellij.openapi.fileTypes.PlainTextLanguage | |
| import com.intellij.openapi.project.Project | |
| import com.intellij.openapi.util.text.StringUtil |
| /* | |
| * DiscusToGiscus.java | |
| * | |
| * Copyright (c) 2021,today - Brice Dutheil <brice.dutheil@gmail.com> | |
| * | |
| * This Source Code Form is subject to the terms of the Mozilla Public | |
| * License, v. 2.0. If a copy of the MPL was not distributed with this | |
| * file, You can obtain one at https://mozilla.org/MPL/2.0/. | |
| */ | |
| ///usr/bin/env jbang "$0" ; exit $? |
| /* | |
| * Stonks.java | |
| * | |
| * Copyright (c) 2021,today - Brice Dutheil <brice.dutheil@gmail.com> | |
| * | |
| * This Source Code Form is subject to the terms of the Mozilla Public | |
| * License, v. 2.0. If a copy of the MPL was not distributed with this | |
| * file, You can obtain one at https://mozilla.org/MPL/2.0/. | |
| */ | |
| ///usr/bin/env jbang "$0" ; exit $? |