Skip to content

Instantly share code, notes, and snippets.

View Vyom-Yadav's full-sized avatar
💬
Focusing

Vyom Yadav Vyom-Yadav

💬
Focusing
View GitHub Profile
@Vyom-Yadav
Vyom-Yadav / update-git-repos.sh
Last active July 11, 2024 07:07
Update Git Repos
#!/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)
@Vyom-Yadav
Vyom-Yadav / EditDistance.java
Created December 24, 2023 17:49
Edit Distance Visual Representor
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) {
@Vyom-Yadav
Vyom-Yadav / log.txt
Created March 2, 2023 06:21
karmor recommend
❯ ./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
@Vyom-Yadav
Vyom-Yadav / log-linux.txt
Last active February 18, 2023 05:31
Linux log's for checker framework
[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]
@Vyom-Yadav
Vyom-Yadav / log.txt
Last active February 18, 2023 05:31
windows-log-checker-framework
[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]
@Vyom-Yadav
Vyom-Yadav / MoreSupportForSubresources.md
Created December 3, 2022 17:14
LFX Mentorship'22 Documentation Updates

LFX Mentorship Fall 2022

More support for subresources (Documentation Changes)

1. New pattern for specifying match.(any/all).resources.kinds-

Supported formats:

  • Group/Version/Kind
@Vyom-Yadav
Vyom-Yadav / subresources.md
Last active October 19, 2022 07:36
Subresources Validation Flowchart

LFX Mentorship Fall 2022

More support for subresources

flowchart TB
subgraph ide1 [policy/validate.go]
    A["validateKinds(..), Background scanning not allowed for subresources"]
end
@Vyom-Yadav
Vyom-Yadav / requirements.md
Created September 16, 2022 01:13
Project Requirements

Project Requirements

@Vyom-Yadav
Vyom-Yadav / GSoC.md
Last active August 14, 2024 12:21
GSoC 2022 Final Report