Skip to content

Instantly share code, notes, and snippets.

View MediumOne's full-sized avatar
🎯
Focusing

Sivasubramaniam S MediumOne

🎯
Focusing
  • Bangalore, India
View GitHub Profile
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
</head>
<body>
@MediumOne
MediumOne / problems_to_be_solved.txt
Created June 5, 2020 13:12
Problems to be solved
1. Accurate weather prediction
@MediumOne
MediumOne / IntentLogger.java
Created September 21, 2017 10:46
Code to print/log contents of an Intent in Android
package com.example.test;
import android.content.Intent;
import android.os.Bundle;
import android.util.Log;
import java.util.Set;
import static android.content.Intent.URI_INTENT_SCHEME;
package org.littleshoot.proxy.extras;
import io.netty.handler.codec.http.HttpRequest;
import org.littleshoot.proxy.MitmManager;
import java.security.cert.Certificate;
import javax.net.ssl.SSLEngine;
import javax.net.ssl.SSLSession;
@MediumOne
MediumOne / httpurlconnection.java
Created September 23, 2015 08:15
Snippet for HTTPUrlConnection in Android
new Thread() {
@Override
public void run() {
HttpURLConnection urlConnection = null;
try {
URL url = new URL("http://google.com");
urlConnection = (HttpURLConnection) url.openConnection();