Skip to content

Instantly share code, notes, and snippets.

View siddharthgoel88's full-sized avatar
:octocat:
I see dev people

Siddharth Goel siddharthgoel88

:octocat:
I see dev people
View GitHub Profile
@siddharthgoel88
siddharthgoel88 / Projects TO-DO
Last active October 25, 2015 08:32
This is a list of projects I wish to do. I just keep adding and deleting items from this file. Feel free to fork this file if you find it interesting.
Random UserAgent etc
********************
A simple class for random UserAgent and some other HTTP request related attributes.
Java mailing wrapper
********************
A Java based mailing wrapper which could send using multiple emailing services switching intelligently between the services when the free quota for one is completed. The service should be highly extendible with proper documentation so that it could be published to Central Maven Repository.
Random test-case generator
**************************
@siddharthgoel88
siddharthgoel88 / System Design.md
Created April 18, 2016 05:31 — forked from vasanthk/System Design.md
System Design Cheatsheet

#System Design Interview Cheatsheet

Picking the right architecture = Picking the right battles + Managing trade-offs

##Basic Steps

  1. Clarify and agree on the scope of the system
  • User cases (description of sequences of events that, taken together, lead to a system doing something useful)
    • Who is going to use it?
    • How are they going to use it?
@siddharthgoel88
siddharthgoel88 / Favourite Quotes
Last active July 6, 2018 07:02
A curated list of some of my favourite quotes which I come across.
"My mission in life is not merely to survive, but to thrive;
and to do so with some passion, some compassion, some humor, and some style."
-- Maya Angelou
“The most common way people give up their power is by thinking they don’t have any.”
-- Alice Walker
"If you can't outplay them, outwork them."
-- Ben Hogan
@siddharthgoel88
siddharthgoel88 / Zara hat ke
Last active April 26, 2018 09:48
This document is a cocktail of various philosophical, romantic, humours (or any genre), any language of oneliners I understand.
- Mat toot ke chaho kisi ko aghaaz-e-safar mein, bichar gaya toh uski ek ek ada tang karegi.
-- (http://herald.dawn.com/news/1153417)
- Shyaam hote hi chiraago ko bhuja deta hun, dil hi kaafi hai teri yaad me jalne ke liye.
-- (http://herald.dawn.com/news/1153417)
- Zindagi toh halki si hai, bojh toh kwahishon ka hai.
-- Piyush Mishra
- गलतफहमियों के सिलसिले इतने जबरदस्त हैं, कि हर ईंट सोचती है,दीवार उन्ही पर टिकी है |
@siddharthgoel88
siddharthgoel88 / Awesome URLs
Created February 3, 2017 02:09
Curated list of amazing reads
http://zenpencils.com/
cmd + e
cmd + shift + e
cmd + 1 / esc
auto scroll from source
cmd + shift + a
alt + up
Scratch file
shift + cmd + f12
cmd + shift + v
cmd + y
@siddharthgoel88
siddharthgoel88 / Ansible crash course
Last active August 23, 2017 05:56
Topics for Ansible crash course to be given in AdNovum
Ansible
=======
- What is the problem?
-- Software Configuration Management
-- Buzzword: DevOps
- Solutions
-- Ansible, Puppet, Chef, etc.
List of websites shutting down because of GDPR implications :
- https://news.ycombinator.com/item?id=16954306
- https://news.ycombinator.com/item?id=16949587
- http://blog.warpportal.com/?p=10892
- https://www.brentozar.com/archive/2017/12/gdpr-stopped-selling-stuff-europe/
@siddharthgoel88
siddharthgoel88 / test-tls.sh
Created August 22, 2019 02:32
Test list of available ciphers
#!/usr/bin/env bash
# OpenSSL requires the port number.
SERVER=$1
DELAY=1
ciphers=$(openssl ciphers 'ALL:eNULL' | sed -e 's/:/ /g')
echo Obtaining cipher list from $(openssl version).
for cipher in ${ciphers[@]}
@siddharthgoel88
siddharthgoel88 / CipherTesting.java
Created August 22, 2019 05:32
Test if a specific Cipher works on your JDK or not
import java.security.NoSuchAlgorithmException;
import javax.crypto.Cipher;
import javax.crypto.NoSuchPaddingException;
public class CipherTesting {
public static void main(String[] args) throws NoSuchAlgorithmException, NoSuchPaddingException {
System.out.println(Cipher.getInstance("AES/CBC/PKCS5Padding")); //Or whichever Cipher suite is missing.
}
}