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
package javaapplication11; | |
public class Domicilio { | |
String calle; | |
int altura; | |
public int getAltura() { | |
return altura; | |
} | |
public void setAltura(int altura) { |
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
angular | |
.module('myApp', [ | |
'ionic' | |
'myapp.directives.hello' | |
]) | |
.run ($ionicPlatform, $rootScope) -> | |
$ionicPlatform.ready -> | |
if window.cordova and window.cordova.plugins and window.cordova.plugins.Keyboard | |
cordova.plugins.Keyboard.hideKeyboardAccessoryBar true | |
cordova.plugins.Keyboard.disableScroll true |
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: { |
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 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
<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
/* | |
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
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
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
[ { | |
"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, |