Skip to content

Instantly share code, notes, and snippets.

View wohhie's full-sized avatar
👨‍💻
Focusing

Jewel Shamim wohhie

👨‍💻
Focusing
View GitHub Profile
@wohhie
wohhie / BaseActivity.java
Created March 14, 2018 11:28 — forked from himanshu-soni/BaseActivity.java
Base Activity to detect internet connection GPS disabled. It shows dialog to enable them too :)
package com.djhs16.location;
import android.app.Activity;
import android.app.AlertDialog;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.content.IntentFilter;
import android.location.Location;
@wohhie
wohhie / 0_reuse_code.js
Created January 23, 2016 19:57
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console