Skip to content

Instantly share code, notes, and snippets.

package YOUR.PACKAGE.HERE;
/*
* The MIT License (MIT)
*
* Copyright (c) <2015> <ameron32>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
/* FOUND IN ParseApplication.java */
/* MOVING INITIALIZATION TO APPLICATION LEVEL */
public class ParseApplication extends Application {
@Override
public void onCreate() {
super.onCreate();
Parse.initialize(this,
getResources().getString(R.string.parse_application_id),
@ameron32
ameron32 / BusinessHourCalc
Last active December 18, 2015 16:09
For [doggxyo]. His spreadsheet converted into a console-based java program.
package com.YOURPACKAGE.CHANGEMEBEFOREUSINGME;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Date;
import java.util.GregorianCalendar;
import java.util.List;
import java.util.Locale;
import java.util.Scanner;