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
[ | |
{ | |
"id": 1, | |
"name": "Missing Pets (Ionic / RoR)", | |
"date": "NOVEMBER 2015", | |
"description": "My team and I developed the back-end of this application using rails, and the front-end development with Ionic Framework for the rails rumble competition( www.railsrumble.com ). \n The competition lasted 48 hours, very challenging! It was so much fun for me. During two days we focused on the basic functionality to take pictures and display them on a map but especially on code quality which is the most optimal to make the app to feel fast like a native application. \n We thought about an application that helps people to find their missing pets, in a social way. Users take pictures to pets in the streets with their phones, then this application will save it with geolocation data and tags, building a database of possible missing pets which the people who lost their pets can use it to find them.", | |
"technologies": "Ionic, Ruby on Rails", | |
"thumbnail": "http://i.imgur.com/POMQUwV.jpg", | |
"url": "ht |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
[ { | |
"ID": 13, | |
"Name": "Wrap", | |
"Move Type": "Charge", | |
"Animation ID": 5, | |
"Type": "Normal", | |
"Power": 15, | |
"Accuracy Chance": 1, | |
"Stamina Loss Scalar": 0.06, | |
"Trainer Level Min": 1, |
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
Result: 1 | |
Items { | |
TemplateId: "BADGE_BATTLE_ATTACK_WON" | |
Badge { | |
BadgeType: BADGE_BATTLE_ATTACK_WON | |
BadgeRanks: 4 | |
Targets: [10, 100, 1000] | |
} | |
} | |
Items { |
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
Result: 1 | |
Items { | |
TemplateId: "BADGE_BATTLE_ATTACK_WON" | |
Badge { | |
BadgeType: BADGE_BATTLE_ATTACK_WON | |
BadgeRanks: 4 | |
Targets: "\nd\350\007" | |
} | |
} | |
Items { |
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
/* | |
Licensed to the Apache Software Foundation (ASF) under one | |
or more contributor license agreements. See the NOTICE file | |
distributed with this work for additional information | |
regarding copyright ownership. The ASF licenses this file | |
to you under the Apache License, Version 2.0 (the | |
"License"); you may not use this file except in compliance | |
with the License. You may obtain a copy of the License at | |
http://www.apache.org/licenses/LICENSE-2.0 |
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
<ion-view view-title="Activity"> | |
<ion-content> | |
<div class="list"> | |
<label class="item item-input item-floating-label"> <span class="input-label">First Name</span> | |
<input type="text" placeholder="First Name"> </label> | |
<label class="item item-input item-floating-label"> <span class="input-label">Last Name</span> | |
<input type="text" placeholder="Last Name"> </label> | |
<br /> | |
<div class="item item-checkbox"> | |
<label class="checkbox"> |
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
class CharCounter | |
attr_accessor :string | |
def initialize(string) | |
@string = string | |
end | |
def result | |
length = string.length | |
result = '' |
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
{ | |
"query": { | |
"match_all":{} | |
}, | |
"aggs":{ | |
"schools":{"terms":{"field": "schools", "size": 5}} | |
} | |
} |
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
class ProjectIndex < EasyIndexer::Engine | |
index_name "project" | |
def search(criteria = {}) | |
@page = criteria[:page].try(:to_i) || 1 | |
@per_page = criteria[:per_page].try(:to_i) || 25 | |
@search = { | |
query: { |
NewerOlder