Skip to content

Instantly share code, notes, and snippets.

Philip Borbon philipborbon

View GitHub Profile
@philipborbon
philipborbon / ClickToSelectEditText.java
Created Mar 22, 2019 — forked from rodrigohenriques/ClickToSelectEditText.java
Used to make your EditText a better option than Spinners
View ClickToSelectEditText.java
public class ClickToSelectEditText<T extends Listable> extends AppCompactEditText {
List<T> mItems;
String[] mListableItems;
CharSequence mHint;
OnItemSelectedListener<T> onItemSelectedListener;
public ClickToSelectEditText(Context context) {
super(context);
@philipborbon
philipborbon / HTTPStatusCodes.swift
Created Dec 4, 2018 — forked from brennanMKE/HTTPStatusCodes.swift
Swift Enums for HTTP Status Codes
View HTTPStatusCodes.swift
enum HTTPStatusCodes: Int {
// 100 Informational
case Continue = 100
case SwitchingProtocols
case Processing
// 200 Success
case OK = 200
case Created
case Accepted
case NonAuthoritativeInformation
@philipborbon
philipborbon / .gitconfig
Last active Sep 26, 2018
Full Sample Git Config For Windows
View .gitconfig
[user]
name = Philip Borbon
email = philip@crescit.com
[mergetool]
prompt = false
keepBackup = false
keepTemporaries = false
[merge]
You can’t perform that action at this time.