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
pragma solidity ^0.4.11; | |
import 'zeppelin-solidity/contracts/token/MintableToken.sol'; | |
contract LPToken is MintableToken { | |
string public name = "Frontier LP Token"; | |
string public symbol = "FPLP"; | |
uint256 public decimals = 18; | |
} |
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.List; | |
import com.google.common.base.Predicate; | |
import com.google.common.collect.Iterables; | |
import com.google.common.collect.Lists; | |
import com.google.gwt.view.client.HasData; | |
import com.google.gwt.view.client.ListDataProvider; | |
public class FilteredListDataProvider<T> extends ListDataProvider<T> { |
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
{ | |
"id": 66, | |
"uuid": "25a99516-a1a2-11e0-b7b8-78ca39fffe37", | |
"address": "boulder", | |
"formatted_address": "Boulder, CO, USA", | |
"country": "United States", | |
"administrative_area_level_1": "Colorado", | |
"administrative_area_level_2": "Boulder", | |
"locality": "Boulder", | |
"prefix": "/united_states/colorado/boulder/boulder", |
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
class CreateLocations < ActiveRecord::Migration | |
def self.up | |
create_table :locations, :force => true do |t| | |
t.string :uuid | |
t.string :address | |
t.string :formatted_address | |
t.string :country | |
t.string :administrative_area_level_1 | |
t.string :administrative_area_level_2 | |
t.string :locality |
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
{ | |
"results" : [ | |
{ | |
"address_components" : [ | |
{ | |
"long_name" : "Colorado", | |
"short_name" : "CO", | |
"types" : [ "administrative_area_level_1", "political" ] | |
}, | |
{ |