Welcome

Let me tell you a little bit about myself

My name is David Zirinsky and thanks for looking at my site! Professionally I write code for high speed applications. In my free time, when I'm not sleeping, I enjoy Android development. Below are a few links to my published apps. I hope you find them interesting.

Published Software

Beer 30

A simple Android Wear app that counts a user’s drinks all from their wrist. 850+ downloads, published: 8/4/15

Pocket Accountant

Android app that graphs a user’s personal finances as well as exports a user’s data to their favorite spreadsheet program. 850+ downloads, published: 1/26/16

CUAPB Minnesota

Android app designed for the Minneapolis non-profit Communities United Against Police Brutality's needs. Designed with the help of two other developers. 150+ downloads , published 12/16/15

Code Samples

Github

You can find a link to my Github repo here, where I made my own alternative to Google's Admob. Or if you just want to look at a few lines of code, below is an example of what I consider good coding style (although unlike my Github repo I did not write the code below).

Java

A simple subroutine to calculate the ordinal number for an integer (e.g. given 113 return 113th, etc).

public static String ordinal(int i) {
    String[] suffixes = new String[] { "th", "st", "nd", "rd", "th", "th", "th", "th", "th", "th" };
    switch (i % 100) {
    case 11:
    case 12:
    case 13:
        return i + "th";
    default:
        return i + sufixes[i % 10];

    }
}

Contact Me

For any questions or feedback about my work please email me dzirinsky [at] gmail [dot] com