sudo dpkg-divert --local --divert /usr/bin/ack --rename --add /usr/bin/ack-grep
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
import groovy.json.JsonGenerator | |
import groovy.json.JsonOutput | |
/** | |
* Inspects big objects | |
* Usage: | |
* println Inspect.unwrapAsJsonWithProperties(sourceSets, 3) | |
* println Inspect.unwrapAsJsonWithProperties(sourceSets.main.allSource, 2, 150) | |
* println Inspect.unwrapAsJson(sourceSets.main, 2, 120) | |
*/ |
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
plugins { | |
id 'groovy' | |
} | |
sourceSets { | |
// ... | |
} |
When contributing to this repository, please first discuss the change you wish to make via issue, email, or any other method with the owners of this repository before making a change.
Please note we have a code of conduct, please follow it in all your interactions with the project.
- Ensure any install or build dependencies are removed before the end of the layer when doing a
Wrap operations related to creation of accounts in nested Lastpass folders (groups
). Those operations have always been tricky in lpass
because of cumbersome path separator (\
) and shell escaping rules
Creates item with complex path eg. Folder1\Folder2/item.name
. Creates parent folder objects if required.
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
#!/usr/bin/env python3 | |
# $ python write_page.py -h | |
# usage: write_page.py [-h] [-u USER] [-t TITLE] [-f FILE] pageid [html] | |
# positional arguments: | |
# pageid Specify the Conflunce page id to overwrite | |
# html Write the immediate html string to confluence page | |
# optional arguments: | |
# -h, --help show this help message and exit | |
# -u USER, --user USER Specify the username to log into Confluence |
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
// taken from https://groups.google.com/g/job-dsl-plugin/c/eJvX7G7OwQU?pli=1 | |
def aParam = { | |
stringParam('aa') | |
} | |
def moreParams = { | |
stringParam('bb') | |
stringParam('cc') | |
} |