This file contains hidden or 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
/** | |
* Recursive method that returns a Future of URLs | |
* | |
* @param url | |
* @param maxDepth | |
* @param currentDepth | |
* @return | |
*/ | |
public Future<List<String>> crawl(final String url, final int maxDepth, final int currentDepth) { | |
This file contains hidden or 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 java.util.ArrayList; | |
import java.util.List; | |
import org.easymock.EasyMock; | |
import org.easymock.IExpectationSetters; | |
import org.json.JSONArray; | |
import org.json.JSONObject; | |
import twitter4j.Paging; | |
import twitter4j.RateLimitStatus; |
This file contains hidden or 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
<!-- Markup --> | |
<!-- Components get injected here dynamically --> | |
<component | |
v-for="w in dashboardWidgets" | |
:is="w.type"> | |
</component> | |
<!-- Base Widget Template --> | |
<script type="text/x-template" id="template-base"> | |
<div class="grid-item widget {{widgetName}}"> |