Skip to content

Instantly share code, notes, and snippets.

View umangmathur92's full-sized avatar

Umang Mathur umangmathur92

View GitHub Profile
/a/airfield 0
/a/airplane_cabin 1
/a/airport_terminal 2
/a/alcove 3
/a/alley 4
/a/amphitheater 5
/a/amusement_arcade 6
/a/amusement_park 7
/a/apartment_building/outdoor 8
/a/aquarium 9
@umangmathur92
umangmathur92 / testsort.html
Created February 19, 2019 14:49
google video ai sort
<!DOCTYPE html>
<html>
<head>
<title>Test Sorting</title>
</head>
<body>
<script type="text/javascript">
var shotLabelArr = [
{
"entity": {
@umangmathur92
umangmathur92 / AccountTranasaction.java
Created February 17, 2019 11:09
AccountTranasaction
class Account {
int balance = 0;
public String deposit(int money) {
balance = balance + money;
return "Depositing $" + money;
}
public String withdraw(int money) {
@umangmathur92
umangmathur92 / readme.md
Created December 27, 2018 01:53 — forked from baraldilorenzo/readme.md
VGG-16 pre-trained model for Keras

##VGG16 model for Keras

This is the Keras model of the 16-layer network used by the VGG team in the ILSVRC-2014 competition.

It has been obtained by directly converting the Caffe model provived by the authors.

Details about the network architecture can be found in the following arXiv paper:

Very Deep Convolutional Networks for Large-Scale Image Recognition

K. Simonyan, A. Zisserman

@umangmathur92
umangmathur92 / android_instructions.md
Created June 29, 2018 07:09 — forked from patrickhammond/android_instructions.md
Easily setup an Android development environment on a Mac

Here is a high level overview for what you need to do to get most of an Android environment setup and maintained.

Prerequisites (for Homebrew at a minimum, lots of other tools need these too):

  • XCode is installed (via the App Store)
  • XCode command line tools are installed (xcode-select --install will prompt up a dialog)
  • Java

Install Homebrew:

ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"

@umangmathur92
umangmathur92 / System Design.md
Created May 12, 2018 22:01 — forked from vasanthk/System Design.md
System Design Cheatsheet

System Design 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?
@umangmathur92
umangmathur92 / promises.md
Created April 14, 2018 23:58 — forked from domenic/promises.md
You're Missing the Point of Promises

This article has been given a more permanent home on my blog. Also, since it was first written, the development of the Promises/A+ specification has made the original emphasis on Promises/A seem somewhat outdated.

You're Missing the Point of Promises

Promises are a software abstraction that makes working with asynchronous operations much more pleasant. In the most basic definition, your code will move from continuation-passing style:

getTweetsFor("domenic", function (err, results) {
 // the rest of your code goes here.
https://hc.apache.org/httpcomponents-client-4.5.x/android-port.html
@umangmathur92
umangmathur92 / MainActivity.java
Last active August 9, 2019 06:55
Logback's Android configuration example for log files with max file size 1MB and maximum number of 4 files.
package com.example.testlogapp;
import java.io.File;
import org.slf4j.LoggerFactory;
import android.app.Activity;
import android.os.Bundle;
import android.os.Environment;
import android.view.View;
#!/bin/bash
usage() {
echo "Usage: $(basename $0) [package] ..."
}
app_package=$1
shift
if [ -z $app_package ]; then