Skip to content

Instantly share code, notes, and snippets.

View arajkumar's full-sized avatar
🏡

Arunprasad Rajkumar arajkumar

🏡
View GitHub Profile
@arajkumar
arajkumar / ImageManifestVuln.yaml
Created September 30, 2020 10:59
ImageManifestVuln obj with Clairv4, Snyk and Quay API changes
apiVersion: secscan.quay.redhat.com/v1alpha1
kind: ImageManifestVuln
metadata:
selfLink: >-
/apis/secscan.quay.redhat.com/v1alpha1/namespaces/quay-enterprise/imagemanifestvulns/sha256.cf785e739b3aeba8f7553b17560a4cd7d9b2a91ea9e453aa6fa5cb0b83e9ed2b
resourceVersion: '113932'
name: sha256.cf785e739b3aeba8f7553b17560a4cd7d9b2a91ea9e453aa6fa5cb0b83e9ed2b
uid: e1d548b6-2d13-427f-abba-c27b76e54c3e
creationTimestamp: '2020-09-30T10:54:23Z'
generation: 1
apiVersion: v2
publisher: redhat
name: dependency-analytics
version: 0.1.0
type: VS Code extension
displayName: Dependency Analytics
title: Insights about your application dependencies
description: Insights about your application dependencies, Security, License compatibility and AI based guidance to choose appropriate dependencies for your application.
icon: https://www.eclipse.org/che/images/logo-eclipseche.svg
repository: https://github.com/fabric8-analytics/fabric8-analytics-vscode-extension
diff --git a/integration-tests/Dockerfile b/integration-tests/Dockerfile
index fea9955..a4af049 100644
--- a/integration-tests/Dockerfile
+++ b/integration-tests/Dockerfile
@@ -5,12 +5,12 @@ ENV LANG=en_US.UTF-8 \
NOVENV=1
RUN yum install -y epel-release &&\
- yum install -y gcc which python34-pip python34-devel centos-release-openshift-origin36 &&\
+ yum install -y gcc which python36-pip python36-devel centos-release-openshift-origin36 &&\
@arajkumar
arajkumar / app.py
Created May 22, 2020 12:04
Blueprint and Flask_restful
from flask import Flask
from example_blueprint import example_blueprint
app = Flask(__name__)
app.register_blueprint(example_blueprint)
app.run(host='127.0.0.1', port=5000, debug=True)
@arajkumar
arajkumar / hello.py
Created May 19, 2020 05:46
Pydantic and Flask formdata validation
from flask import Flask
from flask import request
from werkzeug.datastructures import FileStorage
from pydantic import BaseModel
app = Flask(__name__)
class FormData(BaseModel):
file_path: str
@arajkumar
arajkumar / docker-push-proxy.sh
Created April 29, 2020 08:23
Alpine Linux on AWS for docker push
sudo apk add vim git docker docker-cli
sudo service docker start
git clone https://github.com/arajkumar/f8a-server-backbone.git
cd f8a-server-backbone
git checkout v2_changes
sudo docker build . -t ararunprasad/backbone_v2
sudo docker login
sudo docker push ararunprasad/backbone_v2
@arajkumar
arajkumar / dummy-pr.sh
Last active May 17, 2026 15:16
Create dummy PR
set -e
BRANCH="dummy-$(date +%Y.%m.%d-%s)"
git fetch origin master && git checkout -b $BRANCH FETCH_HEAD
touch ${BRANCH}
git add ${BRANCH} && git commit -m "chore: Dummy PR to retrigger CI"
git rm ${BRANCH} && git commit -m "chore: Dummy PR to retrigger CI"
git push fork $BRANCH --force
apiVersion: v2
publisher: redhat
name: hello-tasks
version: 0.0.1
type: VS Code extension
displayName: Hello Tasks
title: Hello Tasks
description: Hello Tasks
icon: https://www.eclipse.org/che/images/logo-eclipseche.svg
repository: https://github.com/arajkumar/hello
@arajkumar
arajkumar / 0.3.1-meta.yaml
Last active February 3, 2021 06:23
0.3.1-meta.yaml
apiVersion: v2
publisher: redhat
name: dependency-analytics
version: 0.3.1
type: VS Code extension
displayName: Dependency Analytics
title: Insights about your application dependencies
description: Insights about your application dependencies, Security, License compatibility and AI based guidance to choose appropriate dependencies for your application.
icon: https://www.eclipse.org/che/images/logo-eclipseche.svg
repository: https://github.com/fabric8-analytics/fabric8-analytics-vscode-extension
@arajkumar
arajkumar / CHANGELOG.md
Created September 12, 2019 08:12
0.0.13

0.0.13 (September 12th, 2019)

  • enhancement - Add python support. See #308
  • enhancement - Enable transitive(indirect) dependency report by default. See #330
  • enhancement - Show welcome message after upgrading to latest version. See #334
  • enhancement - Resolved dependencies are stored in target in workspace root. See #302
  • fixes - Significant reduction in network traffic as each API call now cover analysis of 5 dependencies
  • fixes - Dependency Analytics Report not generated if triggered via file explorer. See #299
  • fixes - Stop polling for stack-report if it takes any longer tha