This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[{ | |
"name":"Husky", | |
"species": "Dog" | |
},{ | |
"name":"Monty", | |
"species": "Spider" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[{ | |
"name":"Bomrra", | |
"species": "Bull" | |
},{ | |
"name":"Apple", | |
"species": "Dog" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"id": "1", | |
"type": "donut", | |
"name": "Cake", | |
"ppu": 0.55 | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://github.com/hanuor/android-kotlin-samples/blob/master/README.md#findviewbyid | |
https://github.com/hanuor/android-kotlin-samples/blob/master/README.md#getting-started | |
https://github.com/hanuor/android-kotlin-samples/blob/master/README.md#onclicklisteners | |
https://github.com/hanuor/android-kotlin-samples/blob/master/README.md#starting-a-new-activity | |
https://github.com/hanuor/android-kotlin-samples/blob/master/README.md#asynctasks |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var gist = Intent(this@MainActivity, Duplicate::class.java) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(document).ready(function(){ | |
$('#about_me').load("https://raw.githubusercontent.com/hanuor/shanjohri/gh-pages/data/about-me.md"); | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import com.android.volley.toolbox.HurlStack; | |
import com.squareup.okhttp.OkHttpClient; | |
import java.io.IOException; | |
import java.net.HttpURLConnection; | |
import java.net.URL; | |
/** | |
* An {@link com.android.volley.toolbox.HttpStack HttpStack} implementation which | |
* uses OkHttp as its transport. | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Date 07/07/2014 | |
* @author Tushar Roy | |
* | |
* Given two strings how many minimum edits(update, delete or add) is needed to convert one string to another | |
* | |
* Time complexity is O(m*n) | |
* Space complexity is O(m*n) | |
* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Version 0.1.1. Guess my name? P. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class PlacesFieldSelector { | |
private final List<PlaceField> placeFields; | |
public PlacesFieldSelector() { | |
this(Arrays.asList(Place.Field.values())); | |
} | |
public PlacesFieldSelector(List<Place.Field> validFields) { | |
placeFields = new ArrayList<>(); |
OlderNewer