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
# run_multiple_commands.py | |
import sublime, sublime_plugin | |
# Takes an array of commands (same as those you'd provide to a key binding) with | |
# an optional context (defaults to view commands) & runs each command in order. | |
# Valid contexts are 'text', 'window', and 'app' for running a TextCommand, | |
# WindowCommands, or ApplicationCommand respectively. | |
class RunMultipleCommandsCommand(sublime_plugin.TextCommand): | |
def exec_command(self, command): | |
if not 'command' in command: | |
raise Exception('No command name provided.') |
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
# | |
# Alfred Script Filter JSON format | |
# | |
# This example demonstrates all fields available for populating results. | |
# | |
# For an in-depth explanation, use the (?) help button to the bottom left. | |
# | |
cat << EOB | |
{"items": [ |
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
package com.example | |
import com.example.testutils.junit5.testFactory | |
import com.example.testutils.springTest.BootWebMockMvcTest | |
import mu.KLogging | |
import org.amshove.kluent.shouldEqual | |
import org.junit.jupiter.api.Test | |
import org.junit.jupiter.api.TestFactory | |
import org.springframework.beans.factory.annotation.Autowired | |
import java.math.BigDecimal |