Skip to content

Instantly share code, notes, and snippets.


Guillermo Orellana wiyarmir

Block or report user

Report or block wiyarmir

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
private String currentLocale;
protected void onCreate(Bundle savedInstanceState) {
currentLocale = getResources().getConfiguration().locale.toString();
public void onConfigurationChanged(Configuration newConfig) {
wiyarmir / BuildTracker.groovy
Created May 11, 2017
Track your gradle build times
View BuildTracker.groovy
class BuildTracker {
private static final String STATS_SRV = ""
static void addBuildSpeedTracking(gradle) {
if (true) return
def startTime = System.currentTimeMillis()
gradle.buildFinished { buildResult ->
def time = System.currentTimeMillis() - startTime

Keybase proof

I hereby claim:

  • I am wiyarmir on github.
  • I am wiyarmir ( on keybase.
  • I have a public key whose fingerprint is 6A57 81BF 36AE 9A83 AB1D 4F11 D102 810D D68D 2B66

To claim this, I am signing this object:

public final class ValueExample {
private final String name;
private final int age;
private final double score;
protected final String[] tags;
public ValueExample(String name, int age, double score, String[] tags) { = name;
this.age = age;
this.score = score;
View onename
Verifying that +wiyarmir is my blockchain ID.
wiyarmir / symfonyrc
Created Jan 25, 2016
Script to configure automatically an alias to Symfony console with version 3.0 and earlies
View symfonyrc
# Comment this if you won't display the symfony version and environment
# Execute 'sfenv' to change the default environment
function sfenv()
case $1 in
prod|dev|test )
You can’t perform that action at this time.