Skip to content

Instantly share code, notes, and snippets.

View shubhamvashisht's full-sized avatar
🌏
working from home

Shubham Vashisht shubhamvashisht

🌏
working from home
View GitHub Profile
@shubhamvashisht
shubhamvashisht / GSoC_2018_work_product.md
Last active February 1, 2024 09:36
This is summary of my GSoC project with Jboss by Red hat.

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.
@shubhamvashisht
shubhamvashisht / Google_foobar_decrypt.py
Created August 21, 2017 01:56
How to decode Google foo.bar 2017 encrypted key.
#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
@chrisbanes
chrisbanes / SystemUiHelper.java
Last active November 5, 2024 13:50
SystemUiHelper
/*
* Copyright (C) 2014 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
@hay
hay / gist:1351230
Last active December 4, 2024 08:11
Enterprisify your Java Class Names!
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Enterprisify your Java Class Names! (by Hay Kranen)</title>
<style>
body {
background: white;
text-align: center;
@breun
breun / five_longest_classes_in_java_codebase.sh
Created March 19, 2010 21:16
Find the five longest class names in a Java codebase.
find . -name '*.java' -exec basename {} .java \; | awk '{ print length " " $0 }' | sort -n -r | head -n 5