Skip to content

Instantly share code, notes, and snippets.

🌏
working from home

Shubham Vashisht shubhamvashisht

🌏
working from home
Block or report user

Report or block shubhamvashisht

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@shubhamvashisht
shubhamvashisht / GSoC_2018_work_product.md
Last active Aug 13, 2018
This is summary of my GSoC project with Jboss by Red hat.
View GSoC_2018_work_product.md

GSOC 2018 Work product submission.

This is summary of my GSoC project with Jboss by Red hat. In this gist i have included some of the major features i implemented during the programe.

Strimzi - Bridging HTTP to Apache Kafka

Strimzi is a project about running Apache Kafka on platforms like kubernetes and openshift. It contains two main modules.
  • Strimzi-Kafka-operator
  • AMQP-Kafka-bridge.
The project idea for GSoC was to add HTTP support to the bridge so that it can listen to http clients and bridge them to Kafka.
View Pick_vid.java
private static final int PICK_VIDEO = 0;
public void pickImage() {
Intent intent = new Intent(Intent.ACTION_GET_CONTENT);
intent.setType("video/*");
startActivityForResult(intent, PICK_VIDEO);
}
@Override
public void onActivityResult(int requestCode, int resultCode, Intent data) {
@shubhamvashisht
shubhamvashisht / Google_foobar_decrypt.py
Created Aug 21, 2017
How to decode Google foo.bar 2017 encrypted key.
View Google_foobar_decrypt.py
#Encrypting Google foo.bar 2017 encrypted message
#Algo-> Decode the message string to base64 bytes.
# and do XOR of decoded bytes with your Google username.
import base64
#The encrypted key
message=''
#Your Google username
You can’t perform that action at this time.