This file contains 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://stackoverflow.com/a/72465195/2149240 | |
good when you want to run static analysis on only the change set during a code review. And/or limit the scope of your review to only what's changed. | |
ex: | |
git fetch origin pull/65/head:test-branch | |
git checkout test-branch | |
git log # press 'q' to exit | |
git reset --soft 7d7fe166cd878ed70c559c4e98faf2323532 |
This file contains 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 switch master | |
git pull | |
git fetch --tags | |
# see the list of tags | |
git tag -l | |
# delete tag locally | |
git tag -d v0.8.0 | |
# push change to remote | |
git push origin :refs/tags/v0.8.0 --no-verify | |
# recreate the tag at HEAD |
This file contains 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
<jaxws:client name="{http://tempuri.org/}WSHttpBinding_ISecureDirectorySearch" createdFromAPI="true"> | |
<jaxws:properties> | |
<entry key="ws-security.signature.properties.sct" value="http://${system.ecs.host}/ecs/properties/CDR-XDS-ADDRESSBOOK/${system.cdr.xds.environment}/1.0.0" /> | |
<entry key="ws-security.signature.username.sct" value="${org.apache.ws.security.crypto.merlin.keystore.alias}" /> | |
<entry key="ws-security.encryption.properties.sct" value="http://${system.ecs.host}/ecs/properties/CDR-XDS-ADDRESSBOOK/${system.cdr.xds.environment}/1.0.0" /> | |
<entry key="ws-security.encryption.username.sct" value="${org.apache.ws.security.crypto.merlin.keystore.alias}" /> | |
<entry key="ws-security.callback-handler.sct" value="org.bjc.cdr.xds.addressbook.ClientPasswordCallback" /> | |
</jaxws:properties> | |
</jaxws:client> |
This file contains 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
image.gallery <- function(url, ncol = 3L) { | |
## This function reformats the contents of a Craigslist search result URL | |
## into an image gallery, opened into the default browser | |
## | |
## Inputs: | |
## - url: a Craigslist search URL as created by search.url | |
## - ncol: the number of columns for the output image gallery | |
## | |
## Output: none. As a side effect, a browser is opened. |