This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Iterate through the localizedRuleNames in ruleResults and | |
// return an array of their strings. | |
function ruleList(results) { | |
// Your code goes here! | |
var rules = []; | |
var ruleResults = results.formattedResults.ruleResults; | |
for (var key in ruleResults) { | |
rules.push(ruleResults[key].localizedRuleName); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static String generateCharacterTagByIndex(int index) | |
{ | |
return (Integer.toString(index + 14970)); | |
} | |
class NavigatableEditText extends EditText | |
{ | |
private WeakReference<View> navigationNext = null; | |
private WeakReference<View> navigationPrevious = null; | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Observable.from(new Loggable[]{ new Foo(), new Bar() }).subscribe(new Subscriber<Loggable>() { | |
@Override | |
public void onCompleted() {} | |
@Override | |
public void onError(Throwable e) {} | |
@Override | |
public void onNext(Loggable loggable) { | |
loggable.log(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
////////////////////////////////////////////////////////////////// | |
// | |
// log.php | |
// Log | |
// | |
// Copyright 2012 Gökhan Barış Aker | |
// | |
// Licensed under the Apache License, Version 2.0 (the "License"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Created by gokhanbarisaker on 8/30/15. | |
*/ | |
public class PicassoDecoder implements ImageDecoder | |
{ | |
private String tag; | |
private Picasso picasso; | |
public PicassoDecoder(String tag, Picasso picasso) { | |
this.tag = tag; |
OlderNewer