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
#!/bin/bash | |
set -euo pipefail | |
GIT_DIR="$HOME/git-pulls" | |
update_repo() { | |
echo "Updating $1..." | |
cd "$1" | |
current_branch=$(git rev-parse --abbrev-ref 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
package dynamic_programming; | |
import java.util.AbstractMap; | |
import java.util.HashMap; | |
import java.util.Map; | |
public class EditDistance { | |
public static void main(String[] args) { | |
if (args.length < 2) { |
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
❯ ./karmor recommend | |
INFO[0000] Found outdated version of policy-templates Current Version=v0.0.1 | |
INFO[0000] Downloading latest version [v0.1.9] | |
INFO[0002] policy-templates updated Updated Version=v0.1.9 | |
INFO[0002] pulling image image="accuknox/knoxautopolicy:stable" | |
stable: Pulling from accuknox/knoxautopolicy | |
Digest: sha256:f0faa8950563e09f8a6880774bf8e9b2a9c25e2d4d380d61c052dbb15be5d975 | |
Status: Image is up to date for accuknox/knoxautopolicy:stable | |
INFO[0007] dumped image to tar tar=/tmp/karmor249792473/YSqOziIe.tar | |
Distribution ubuntu |
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
[INFO] Error stacktraces are turned on. | |
[INFO] Scanning for projects... | |
[INFO] Inspecting build with total of 1 modules... | |
[INFO] Installing Nexus Staging features: | |
[INFO] ... total of 1 executions of maven-deploy-plugin replaced with nexus-staging-maven-plugin | |
[INFO] | |
[INFO] ------------------< com.puppycrawl.tools:checkstyle >------------------- | |
[INFO] Building checkstyle 10.7.1-SNAPSHOT | |
[INFO] --------------------------------[ jar ]--------------------------------- | |
[INFO] |
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
[INFO] Error stacktraces are turned on. | |
[INFO] Scanning for projects... | |
[INFO] Inspecting build with total of 1 modules... | |
[INFO] Installing Nexus Staging features: | |
[INFO] ... total of 1 executions of maven-deploy-plugin replaced with nexus-staging-maven-plugin | |
[INFO] | |
[INFO] ------------------< com.puppycrawl.tools:checkstyle >------------------- | |
[INFO] Building checkstyle 10.7.1-SNAPSHOT | |
[INFO] --------------------------------[ jar ]--------------------------------- | |
[INFO] |
Student - Vyom Yadav
Organisation - Checkstyle
Mentors - Nick Mancuso, Roman Ivanov, Richard Veach, Baratali Izmailov, Pavel Bludov
NewerOlder