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
require 'rubygems' | |
require 'tire' | |
Tire.configure { logger 'elasticsearch.log', :level => 'debug' } | |
class Document | |
attr_accessor :title, :content | |
include Tire::Model::Persistence | |
include Tire::Model::Search | |
include Tire::Model::Callbacks |
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
p JSON.parse(Tire::Configuration.client.get("#{Tire::Configuration.url}/_aliases").body).keys |
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
<h1>Hi Portia!</h1> | |
<p style="font-size=90px;">This is a paragraph that could have been HUUUUGE.</p> | |
<a href="http://myphishywebsite.com">CLICK HERE IF YOU WANT TO WIN A CAR!!</a> | |
<script>alert("I'm an evil script...");</script> | |
<span>The End.</span> |
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
reindex 2 hand maces |
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
Rarity: Rare | |
Ghoul Spiker | |
Reaver Sword | |
-------- | |
Two Handed Sword | |
Quality: +20% (augmented) | |
Physical Damage: 204-355 (augmented) | |
Elemental Damage: 3-7 (augmented) | |
Critical Strike Chance: 5% | |
Attacks per Second: 1.35 |
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
Simon, tu arrêtes de faire des boulettes, c'est péché! |
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
Article 8. | |
Il est décrété que la plus grande douleur | |
a toujours été et sera toujours | |
de ne pas pouvoir donner son amour à qui l’on aime | |
parce que c’est l’eau | |
qui donne à la plante le miracle de la fleur. |
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
I browned out that evening. |
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
your problem is, you spent your whole life thinking there are rules. There aren'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
@RELATION items | |
@ATTRIBUTE base_name STRING | |
@ATTRIBUTE price NUMERIC | |
@ATTRIBUTE mod1 NUMERIC | |
@ATTRIBUTE mod2 NUMERIC | |
@ATTRIBUTE mod3 NUMERIC | |
@ATTRIBUTE rarity {normal, magic, rare, gem, unique} | |
@DATA | |
Shield, 600, 16, 0, 0, unique | |
OneHandSword, 30, 1, 0 0, rare |