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
| function getSummitMagazineYears() { | |
| var years = []; | |
| $.ajax({ | |
| url: "/corp/News/GetPublicationYears", | |
| data: { TypeId: 1 }, // TypeId 1 = Summit | |
| dataType: "json", | |
| type: "POST", | |
| success: function (data) { | |
| $.each(data, function (index, key) { |
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
| {% extends "layout.html" %} | |
| {% block title %} | |
| <div class="row"> | |
| <h1>Overview for {{ user.username }}!</h1> | |
| </div> | |
| {% endblock title %} | |
| {% block content %} | |
| <div class="well col-md-6"> |
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
| from django.shortcuts import render, redirect, get_object_or_404 | |
| from django.contrib.auth.decorators import login_required | |
| from django.core.exceptions import PermissionDenied | |
| from .forms import InvitationForm | |
| from .models import Invitation, Game | |
| @login_required | |
| def new_invitation(request): | |
| if request.method == 'POST': |
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
| URL: http://localhost:65282/api/monsters/largemonster?monsterName=Seltas | |
| Data: | |
| { | |
| "Name": "Seltas", | |
| "Description": "Neopterons that use swift aerial movements to attack invaders on the ground. The sharp appendages on their heads can make their lunging attacks quite dangerous, though they sometimes overshoot their targets and slam into the ground.", | |
| "Hp": { | |
| "Base": 2000, | |
| "LowRank": 980, | |
| "HighRank": 2000, |
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
| Skill.select(:name).where(:skill_tree_id => 23) | |
| Skill Load (0.2ms) SELECT "skills"."name" FROM "skills" INNER JOIN "skill_trees" ON "skill_trees"."_id" = "skills"."skill_tree_id" WHERE "skills"."skill_tree_id" = ? [["skill_tree_id", 23]] | |
| => [#<Skill:0x00000004f91c18 _id: nil, name: "Recoil Down +3">, | |
| #<Skill:0x00000004f91ab0 _id: nil, name: "Recoil Down +2">, | |
| #<Skill:0x00000004f91830 _id: nil, name: "Recoil Down +1">, | |
| #<Skill:0x00000004f915d8 _id: nil, name: "Recoil Down -1">, | |
| #<Skill:0x00000004f90f98 _id: nil, name: "Recoil Down -2">, | |
| #<Skill:0x00000004f90d90 _id: nil, name: "Recoil Down -3">] |
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
| module Main exposing (..) | |
| import Html exposing (..) | |
| import Html.Attributes exposing (..) | |
| import Html.Events exposing (onInput, onClick) | |
| import Html.App as App | |
| main : Program Never | |
| main = |
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
| <header> | |
| <nav class="navbar navbar-default"> | |
| <div class="container-fluid"> | |
| <div class="navbar-header"> | |
| <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-1" aria-expanded="false"> | |
| <span class="sr-only">Toggle Navigation</span> | |
| <span class="icon-bar"></span> | |
| <span class="icon-bar"></span> | |
| <span class="icon-bar"></span> | |
| </button> |
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
| module Main exposing (..) | |
| import Html exposing (..) | |
| import Html.Attributes exposing (..) | |
| sampleText : String | |
| sampleText = | |
| "As long as Rayquaza has any Grass Energy cards attached to it, ignore the effect of Rayquaza's Lightning Storm attack." | |
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
| module Main exposing (..) | |
| import Html exposing (..) | |
| import Html.Attributes exposing (..) | |
| sampleText : String | |
| sampleText = | |
| "As long as Rayquaza has any Grass Energy cards attached to it, ignore the effect of Rayquaza's Lightning Storm attack." | |