Skip to content

Instantly share code, notes, and snippets.

@jmarkman
jmarkman / BuildAutomation.ps1
Last active November 12, 2019 18:53
Used at work, but might be useful in the future: builds all of the projects associated with the hardcoded solution
<#
.Synopsis
Build AutomationSupport and all associated projects without opening Visual Studio
#>
function Build_QA($Drive = "C")
{
# https://docs.microsoft.com/en-us/visualstudio/msbuild/msbuild-command-line-reference?view=vs-2015
# Path to qa_automation repo
$qaRepoDir =
@jmarkman
jmarkman / Dog.java
Last active April 17, 2018 13:32
My main activity that uses the DogAPI I made
package com.jmarkman.dog;
import android.net.Uri;
import android.os.AsyncTask;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;
@jmarkman
jmarkman / DogAPI.java
Created April 17, 2018 13:21
My DogAPI class
package com.jmarkman.dog;
import android.net.Uri;
import android.util.Log;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
import java.io.IOException;
@jmarkman
jmarkman / FrontPage.java
Created April 9, 2018 01:40
Front Page activity that contains my RecyclerView
public class FrontPage extends AppCompatActivity
{
private ProgressBar loadingProgress;
private RecyclerView rvArticles;
private EndlessRecyclerViewScrollListener scrollListener;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_front_page);