Skip to content

Instantly share code, notes, and snippets.

View eddnav's full-sized avatar
💭
:D

Eduardo Naveda eddnav

💭
:D
View GitHub Profile
@eddnav
eddnav / DatePickerDialogFragment.java
Last active August 29, 2015 14:13
Date picker fragment on a dialog which takes inputs from a specific field, parses date strings according to the system's preferred locale and formats its own output too in the same locale-sensitive format.
package com.tghsistemas.ispark.fragment;
import android.app.DatePickerDialog;
import android.app.Dialog;
import android.os.Bundle;
import android.support.v4.app.DialogFragment;
import android.widget.DatePicker;
import android.widget.EditText;
import com.tghsistemas.ispark.util.DateUtil;
@eddnav
eddnav / create-desktop-entry-intellij.sh
Last active August 29, 2015 14:09 — forked from srid99/install-intellij.sh
srid99's bash script for IntelliJ IDEA desktop entry with a bit of Marketing hah!
#!/usr/bin/env bash
# Run this script from your '/.../intellij-location/bin' directory.
# Application name
APPLICATION=intellij-idea
# Application path
APPLICATION_PATH=$(cd -P -- "$(dirname -- "$0")" && pwd -P)