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
import com.android.SdkConstants | |
import com.android.build.api.transform.* | |
import com.android.build.gradle.BaseExtension | |
import com.android.build.gradle.internal.plugins.AppPlugin | |
import com.android.build.gradle.internal.plugins.LibraryPlugin | |
import javassist.ClassPool | |
import org.apache.commons.io.FileUtils | |
import org.apache.commons.io.IOUtils | |
import org.gradle.api.Plugin | |
import org.gradle.api.Project |
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
var listOfCommentBox = document.getElementsByTagName("article"); | |
//get the array list of all the div-s that has the comments | |
let extractedListOfFirstComment = []; | |
// store the author details of the comment | |
let listOfDiv = []; | |
//store the div-s of the comment | |
let count =0; | |
function generateComment(name,index) { |
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
/* Copyright 2013 Google Inc. | |
Licensed under Apache 2.0: http://www.apache.org/licenses/LICENSE-2.0.html */ | |
package com.example.latlnginterpolation; | |
import android.animation.ObjectAnimator; | |
import android.animation.TypeEvaluator; | |
import android.animation.ValueAnimator; | |
import android.annotation.TargetApi; | |
import android.os.Build; |
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
#!/bin/sh | |
TYPE=$1 | |
if [ "$TYPE" == "feat" ]; then | |
MESSAGE="a new feature" | |
elif [ "$TYPE" == "fix" ]; then | |
MESSAGE="a bug fix" | |
elif [ "$TYPE" == "docs" ]; then | |
MESSAGE="changes to documentation" | |
elif [ "$TYPE" == "style" ]; then | |
MESSAGE="formatting, missing semi colons, etc; no code change" |
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 class GeoLocationProviderTest extends InitExtensions{ | |
@Test | |
public void testGeoLocationProvider() throws Exception{ | |
// @formatter:off | |
final String geoLocationString = | |
"<iq type='get' id='publish1'>" | |
+ "<pubsub xmlns='http://jabber.org/protocol/pubsub'>" | |
+ "<publish node='http://jabber.org/protocol/geoloc'>" | |
+ "<item>" |
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
final String loanAccountsStringResource = getResources().getString(R.string.loanAccounts); | |
final String savingsAccountsStringResource = getResources().getString(R.string.savingAccounts); | |
final String loanListOpen = "- " + loanAccountsStringResource; | |
final String loanListClosed = "+ " + loanAccountsStringResource; | |
final String savingsListOpen = "- " + savingsAccountsStringResource; | |
final String savingsListClosed = "+ " + savingsAccountsStringResource; | |
if (clientAccounts.getLoanAccounts().size() > 0) { | |
LoanAccountsListAdapter loanAccountsListAdapter = | |
new LoanAccountsListAdapter(getActivity().getApplicationContext(), clientAccounts.getLoanAccounts()); |