- the combine.* attributes belong to the configuration elements child elements but in the child not the parent pom
- let's say we have a prepared configuration for some plugin build::pluginmanagement in the parent pom and the combine rules are applied
to some more specific configuration of this plugin inside a profile in the child pom then we need to specify this profile in the mvn call
to convince us:
mvn -Ptheprofile -f thesubmodule/pom.xml help:effective-pom| less
(use the search functionality/
andn
/SHIFT-n
to navigate to the right occurrences) - IMHO the
combine.children=append
rule doesn't really make sense for configuration elements that have children of heterogeneous names, i. e.systemPropertyVariables
, here the effect in case some entry already existed in the default configuration another one of the same name would be added i. e. you had<someEntrySays>this</someEntrySays>
(from parent pom) and[...]combine...="append"[...]that
(from child po
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
local pressedKeyTable = {} | |
-- TODO: Consider about consumed per keys is necessary or not. | |
local consumed = false | |
local keyCodeTable = {} | |
keyCodeTable[0x66] = true -- EISUU | |
keyCodeTable[0x68] = true -- KANA | |
eventtap = hs.eventtap.new({ hs.eventtap.event.types.keyDown, hs.eventtap.event.types.keyUp }, function(event) | |
local keyCode = event:getKeyCode() | |
if keyCodeTable[keyCode] == true then |
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
.git | |
.gitignore | |
README.md | |
# | |
# OS X | |
# | |
.DS_Store | |
.AppleDouble | |
.LSOverride |
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
require 'aws-sdk' | |
s3 = Aws::S3::Resource.new( | |
region: 'us-east-1', | |
credentials: Aws::InstanceProfileCredentials.new() | |
) | |
bucket = s3.bucket('my-daily-backups') | |
file = (DateTime.now).strftime("%Y.%m.%d-backup") | |
if bucket.object(file).exists? |
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
Install HAProxy from Homebre: | |
`brew install haproxy` | |
For full reference: | |
https://serversforhackers.com/load-balancing-with-haproxy |
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
-- A global variable for the Hyper Mode | |
k = hs.hotkey.modal.new({}, "F17") | |
-- Trigger existing hyper key shortcuts | |
k:bind({}, 'm', nil, function() hs.eventtap.keyStroke({"cmd","alt","shift","ctrl"}, 'm') end) | |
-- OR build your own | |
launch = function(appname) |
Here are my attempts to script an IntelliJ-based IDE.
IDE Scripting Console is backed by JSR-223 (javax.script.*) API.
Groovy, Clojure, JavaScript and other scripting languages may be used.
Open IDE Scripting Console, type a statement, hit Ctrl-Enter to execute the current line or selection.
.profile.language-extension file in the same directory will be executed along with it if present.
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": [ |