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
# Built application files | |
/*/build/ | |
# Crashlytics configuations | |
com_crashlytics_export_strings.xml | |
# Local configuration file (sdk path, etc) | |
local.properties | |
# Gradle generated files |
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
package main.com.danielstone.prereleasetestscores; | |
import java.util.Arrays; | |
import java.util.Collections; | |
import java.util.InputMismatchException; | |
import java.util.Scanner; | |
public class Task { |
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 java.text.DecimalFormat; | |
import java.util.Scanner; | |
public class Tasks { | |
public static void main(String[] args) { | |
task2(); | |
} | |
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
advancedCardBuilder.addItem(new MaterialAboutActionItem.Builder() | |
.text("Version") | |
.subText(BuildConfig.VERSION_NAME) | |
.icon(new IconicsDrawable(c) | |
.icon(CommunityMaterial.Icon.cmd_information_outline) | |
.color(ContextCompat.getColor(c, colorIcon) | |
).sizeDp(18)) | |
.setOnClickListener(new MaterialAboutItemOnClickListener() { | |
@Override | |
public void onClick() { |
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
<manifest xmlns:android="http://schemas.android.com/apk/res/android" | |
package="com.evo.passwordgenerator"> | |
<application android:allowBackup="true" | |
android:label="@string/app_name" | |
android:icon="@mipmap/ic_launcher" | |
android:supportsRtl="true" | |
android:theme="@style/AppTheme" | |
android:fitsSystemWindows="true"> |
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
<manifest xmlns:android="http://schemas.android.com/apk/res/android" | |
package="com.evo.passwordgenerator"> | |
<application android:allowBackup="true" | |
android:label="@string/app_name" | |
android:icon="@mipmap/ic_launcher" | |
android:supportsRtl="true" | |
android:theme="@style/AppTheme" | |
android:fitsSystemWindows="true"> |
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
package com.danielstone.energyhive.intro; | |
import android.content.SharedPreferences; | |
import android.net.Uri; | |
import android.os.AsyncTask; | |
import android.os.Build; | |
import android.os.Bundle; | |
import android.preference.PreferenceManager; | |
import android.support.design.widget.Snackbar; | |
import android.util.Log; |
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
/** | |
* cRandomGen | |
* @param input | |
* @param inRender render object | |
* @returns {cRandomGen} | |
*/ | |
function cRandomGen(input, inRender) | |
{ | |
this.input = input; |
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
Call<T> call = retrofitService.apiCall(); | |
RetrofitLoader.load(this, getSupportLoaderManager(), id, call, new RetrofitLoader.RetrofitLoaderCallback<T>() { | |
@Override | |
public void onLoad(Response<T> result) { | |
Log.i(TAG, "onLoad: " + result.body()); | |
} | |
@Override | |
public void onFail(Throwable t) { |
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
// Quick solution to solve question one of http://www.olympiad.org.uk/papers/2010/bio/bio-10-exam.pdf | |
package com.danielstone.alevels; | |
import java.util.Arrays; | |
import java.util.Scanner; | |
public class Anagram { | |
public static void main(String[] args) { | |
Scanner input = new Scanner(System.in); | |
Integer userInput = input.nextInt(); |
OlderNewer