answer
stringlengths
15
1.25M
._bp-debug-bar { display: block; position: fixed; bottom: 0; left: 0; margin: 0; font-family: "Helvetica Neue", helvetica, arial, sans-serif; font-size: 12px; width: 100%; height: 32px; line-height: 32px; z-index: 9999; background: #ECF0F1; color: #434A54; border-top: 2px solid #7300a0; bo...
#include "hiscores.h" #include "nucleo.h" #include "galeria.h" Hi_Scores::Hi_Scores(Nucleo *nucleo) : Widget( nucleo->screen, (SDL_Rect) {200, 50, 430, 520} ) { this->nucleo = nucleo; fuente = nucleo->galeria->get_fuente(CHICA2); set_color(183, 238, 128); refresh(); } void Hi_Scores::refresh() { sta...
using Moq; using RestSharp; using System.Collections.Generic; using Xunit; namespace MarvelAPI.Test.Requests.StoryRequestTests { public class GetStoryTests : <API key> { [Fact] public void Success() { // arrange var storyId = 1; var data = new Wrapper<...
using System; using System.Collections.Generic; using Content.Server.AI.Utility.Actions; using Content.Server.AI.Utility.Actions.Combat.Melee; using Content.Server.AI.Utility.Considerations; using Content.Server.AI.Utility.Considerations.Combat.Melee; using Content.Server.AI.WorldState; using Content.Server.AI.WorldSta...
import asyncio from abc import ABCMeta from collections.abc import MutableMapping from aiohttp import web from aiohttp.web_request import Request from aiohttp_session import get_session from collections.abc import Sequence AIOLOGIN_KEY = '__aiologin__' ON_LOGIN = 1 ON_LOGOUT = 2 ON_AUTHENTICATED = 3 ON_FORBIDDEN = 4 ON...
// BaseRequset.h // DrinkingW #import <Foundation/Foundation.h> #import <ReactiveObjC/ReactiveObjC.h> #import "APIClient.h" @interface BaseRequset : NSObject<RequestConstraint> @property (nonatomic, strong, readonly) NSDate *createdTime; - (RequestMethod)methodName; - (NSString *)apiAdress; - (NSDictionary *)param; -...
lychee.define('Font').exports(function(lychee) { var Class = function(spriteOrImages, settings) { this.settings = lychee.extend({}, this.defaults, settings); if (this.settings.kerning > this.settings.spacing) { this.settings.kerning = this.settings.spacing; } this.__cache...
import { h } from 'omi'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon(h("path", { d: "M8 9v1.5h2.25V15h1.5v-4.5H14V9H8zM6 9H3c-.55 0-1 .45-1 1v5h1.5v-1.5h2V15H7v-5c0-.55-.45-1-1-1zm-.5 3h-2v-1.5h2V12zM21 9h-4.5c-.55 0-1 .45-1 1v5H17v-4.5h1V14h1.5v-3.51h1V15H22v-5c0-.55-.45-1-1-1z" }...
<style> body { margin-top: 0px; margin-left: 0px; margin-right: 0px; background-color: #FFF; } .header { background-color: #fff; box-shadow: 0 2px 5px rgba(0,0,0,0.26); color: #707070; position: fixed; top: 0; width: 100%; z-index: 5; height:80px; } header {...
// <auto-generated> // This code was generated by a tool. // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> namespace ODataReader.v4UnitTests.Properties { using System; <summary> A strongly-typed resource class, for looking ...
# coding: utf-8 # pylint: disable=too-many-lines import inspect import sys from typing import TypeVar, Optional, Sequence, Iterable, List, Any from owlmixin import util from owlmixin.errors import RequiredError, <API key>, InvalidTypeError from owlmixin.owlcollections import TDict, TIterator, TList from owlmixin.owlenu...
"""Chapter 22 Practice Questions Answers Chapter 22 Practice Questions via Python code. """ from pythontutorials.books.CrackingCodes.Ch18.vigenereCipher import decryptMessage def main(): # 1. How many prime numbers are there? # Hint: Check page 322 message = "Iymdi ah rv urxxeqfi fjdjqv gu gzuqw clunijh." ...
require('mini_magick') module Aurita module Plugins module Wiki class MiniMagickRenderer @@logger = Aurita::Log::Class_Logger.new(self) def initialize(<API key>) @media_asset = <API key> end def import end def create_variants(variants={}) end def create_pdf_preview() end en...
body { color: #282c35; } .weight-500 { font-weight: 500 !important; } .pink { fill: #e91e63 !important; } .badge { margin: 0 0 0 8px; background-color: #aaa; color: white; padding: 2px 4px; border-radius: 2px; } .your-custom-chip { font-weight: 400 !important; font-style: normal !important; color:...
namespace Pluton.Rust.Events { using Core; using Rust; using Rust.Objects; using System; using System.Collections.Generic; public class DoorCodeEvent : Event { public Player Player; public CodeLock codeLock; public bool ForceAllow = false; private string _ente...
var fb = "https://glaring-fire-5349.firebaseio.com"; var TodoCheck = React.createClass({displayName: "TodoCheck", getInitialState: function() { this.checked = false; return {checked: this.checked}; }, <API key>: function() { this.ref.off(); }, componentWillMount: function() { this.ref = new Fi...
// This file is part of the Siv3D Engine. # include <Siv3D/Script.hpp> # include <Siv3D/Stopwatch.hpp> namespace s3d { using namespace AngelScript; using BindType = Stopwatch; static void Construct(BindType* self) { new(self) BindType(); } static void ConstructB(bool startImmediately,...
// SoundManager.h // Jam #ifndef <API key> #define <API key> #include "cocos2d.h" #include "audio/include/AudioEngine.h" using namespace cocos2d; using namespace ui; USING_NS_CC; enum Sounds { sound_best_loop, sound_drop_item, sound_electro_loop, sound_haha, sound_harkem_shake, sound_monkey, ...
#import <Foundation/Foundation.h> #import "SQDAPI.h" #import "UIColor+Util.h" #import "UIView+Util.h" #import "UIImage+Util.h" #import "UIImageView+Util.h" #import "<API key>+Util.h" @interface Util : NSObject + (UIImage *)getImageFromColor:(UIColor *)color withFrame:(CGRect )frame; +(CGSize)getSizeWithText:(NSString*)...
<?php namespace Acme\StoreBundle\Controller; use Symfony\Bundle\FrameworkBundle\Controller\Controller; use Acme\StoreBundle\Entity\Product; use Acme\StoreBundle\Form\ProductType; class DefaultController extends Controller { public function indexAction() { // just setup a fresh $product object (no dummy data...
# -*- coding: utf-8 -*- from __future__ import absolute_import, print_function, division from future.utils import with_metaclass import numpy as np import scipy as sp from abc import ABCMeta, abstractmethod from scipy import integrate import scipy.interpolate as interpolate from . import core from . import refstate __a...
# encoding: utf-8 class <API key> include XmlSchemaMapper schema File.expand_path('../../vendor/ezags-protocols/eZAGS/public/UploadService.xsd', File.dirname(__FILE__)) type '<API key>' # @return [<API key>] # minOccurs: 1, maxOccurs: 1 attr_accessor :act_record # @return [<API key>] # minOccurs: 1, max...
// bundles everything except TS files which will be built by rollup. // webpack stuff var webpack = require('webpack'); var HtmlWebpackPlugin = require('html-webpack-plugin'); var ExtractTextPlugin = require('<API key>'); var failPlugin = require('webpack-fail-plugin'); var helpers = require('./helpers'); const basePlu...
<?php use yii\db\Schema; use yii\platform\geo\models\Locations; class <API key> extends \yii\db\Migration { public function up() { $tableOptions = null; if ($this->db->driverName === 'mysql') { $tableOptions = 'CHARACTER SET utf8 COLLATE utf8_general_ci ENGINE=InnoDB'; } ...
-- randexpr1.test SELECT coalesce((select c from t1 where t1.b between t1.b and -17),coalesce((select -t1.e from t1 where (select count(distinct coalesce((select case t1.b-t1.a*(b)*13 when 11 then (a) else 11 end from t1 where a not in ((t1.e),c,11) and e>b),13)) from t1) in (t1.d,b,13) and not t1.b<13 or 11<> -17 or...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <!--[if IE]><meta http-equiv="X-UA-Compatible" content="IE=edge"><![endif]--> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="generator" content="Asciidoctor 1.5.4"> <title>gitweb.conf(5)</title> <link rel="stylesheet" hre...
<?php namespace Acme\TwigBundle\DependencyInjection; use Symfony\Component\Config\Definition\Builder\TreeBuilder; use Symfony\Component\Config\Definition\<API key>; class Configuration implements <API key> { /** * {@inheritdoc} */ public function <API key>() { $treeBuilder = new TreeBuilde...
<!DOCTYPE html> <html> <head> <title>... | MoMoKo.in | .</title> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <link rel="stylesheet" href="http://MOMOKO.in/theme/css/bootstrap.min.css" type="text/css" /> <link rel="s...
import { css, ThemedStyledProps } from 'styled-components'; import { ripple } from '../../utils/animations'; import { Theme } from '../../themes/default'; import { StyleProps } from './default'; export const style = ({ theme, main, }: ThemedStyledProps<StyleProps, Theme>) => css` display: flex; flex: 0 0 1; p...
<div class="wrapper-container"> <div class="navbar-container zoom-in"> <a class="title" href="/">Video feed</a> </div> <main class="content-container"> <video-section ng-repeat="videoItem in $ctrl.videoList track by $index" video-item="videoItem"> </video-section> </m...
<?php use Mockery as m; use Permit\Support\Laravel\CurrentUser\GuardContainer; use Permit\User\GenericUser; use PHPUnit\Framework\TestCase; class GuardContainerTest extends TestCase { public function <API key>() { $container = $this->newContainer(); $this->assertInstanceOf( 'Permit\C...
package com.agamemnus.cordova.plugin; import com.google.android.gms.ads.AdListener; import com.google.android.gms.ads.AdRequest; import com.google.android.gms.ads.AdSize; import com.google.android.gms.ads.AdView; import com.google.android.gms.ads.InterstitialAd; import com.google.android.gms.ads.mediation.admob.AdMobEx...
exports.up = function (knex, Promise) { return Promise.all([ knex.schema.createTable('locations', function (table) { table.uuid('id').notNullable().primary() table.string('title').notNullable().unique() table.text('description') table.string('address_1') table.string('address_2') ...
#RuneScape Hiscore Checker Built with [Meteor.js](https: Running aplication Make sure you got Meteor.js installed, if not, install it: <code>$ curl https://install.meteor.com/ | sh</code> Clone this repository and access it: <pre> <code> $ git clone https://github.com/michaltakac/rs-hiscore-checker.git $ cd rs-hiscore-...
import numpy import pytest import theano class TestInputLayer: @pytest.fixture def layer(self): from lasagne.layers.input import InputLayer return InputLayer((3, 2)) def test_input_var(self, layer): assert layer.input_var.ndim == 2 def <API key>(self, layer): assert layer...
using System.ComponentModel; using System.Linq; using System.Windows.Data; using Smellyriver.TankInspector.Common; using Smellyriver.TankInspector.Pro.Data.Entities; using Smellyriver.TankInspector.Pro.Data.Tank; using Smellyriver.TankInspector.Pro.Repository; namespace Smellyriver.TankInspector.Pro.<API key> { cla...
<?php namespace Zeeml\DataSet\Exception; class <API key> extends \Exception { }
class Solution { public: vector<int> ori, cur; random_device rd; mt19937 g; Solution(vector<int> nums) : ori(nums), cur(nums), g(rd()) { } /** Resets the array to its original configuration and return it. */ vector<int> reset() { return cur = ori; } /** Returns a random shuff...
@extends('layouts.app_defect_vk') @section('content') <div class='col-sm-4 col-sm-offset-4'> <h2></i> Изменить <div class="pull-right"> {!! Form::open(['url' => '/defect/vkam/tables/ceh/' . $ceh->id, 'method' => 'DELETE']) !!} {!! Form::submit('Удалить', ['class' => 'btn btn-danger']...
package fi.ozzi.tapsudraft.service; import com.google.common.collect.ImmutableMap; import fi.ozzi.tapsudraft.model.Player; import fi.ozzi.tapsudraft.model.Position; import fi.ozzi.tapsudraft.repository.PlayerRepository; import lombok.NonNull; import lombok.<API key>; import org.apache.http.HttpResponse; import org.apac...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> </head> <body> <script type="text/javascript"> var arr=[]; var arr1=[1,2,3,4,5,6]; var arr2=[1,2.3,true,false,null,undefined,[1,2,3],{x:1,y:2}]; var x=1; var arr3=[x,x*3,x+2,x+3]; console.log(arr3); v...
# OSIAM ## 3.0 - Unreleased **Breaking changes!** In this release, the auth-server and resource-server have been merged into a single application. For a detailed explanation about how to migrate from OSIAM 2.5 to OSIAM 3.0, see the [migration notes](docs/migration.md). Features - Run as a standalone application using t...
root = "./" thread = 1 logger = nil harbor = 1 address = "127.0.0.1:2526" master = "127.0.0.1:2013" start = "main" -- main script bootstrap = "toy bootstrap" -- The service for bootstrap standalone = "0.0.0.0:2013" luaservice = root.."service/?.lua;"..root.."examples/?.lua" --..root.."test/?.lua;" lualoader = "lu...
<fieldset class="layui-elem-field layui-field-title"> <legend></legend> </fieldset> <form class="layui-form layui-form-pane" action="{:url('recycle')}" search> <div class="layui-form-item"> <label class="layui-form-label"></label> <div class="layui-input-inline"> ...
(function( window, $, undefined ) { $.fn.touchwipe = function(settings) { var config = { min_move_x: 20, min_move_y: 20, wipeLeft: function() { }, wipeRight: function() { }, wipeUp: function() { }, wipeDown: function() {...
#include "test2D.hpp" namespace boom { namespace test2d { MonoPolygon::MonoPolygon(DistV&& dL, DistV&& dR, const Vec2& ori, const Vec2& dir, float wofs): _vOrigin(ori), _vDir(dir), _distL(std::move(dL)), _distR(std::move(dR)), _widthOffset(wofs) ...
<?php namespace RonteLtd\JsonApiBundle\Serializer\Normalizer; use Doctrine\Common\Collections\ArrayCollection; /** * Class Collection * * @package RonteLtd\JsonApiBundle\Serializer\Normalizer * @author Ruslan Muriev <muriev.r@gmail.com> */ class Collection extends ArrayCollection { /** * JsonApi "jsonapi"...
// $flavio.lisboa @ 2017-09-04. /* * @file basic_octdiff_cons.hpp */ #ifndef <API key> #define <API key> #include <type_traits> #include <string> #include <iosfwd> #include <stdexcept> #include "adl.cfg.hpp" #include "adl/oct.fwd.hpp" #include "adl/oct/constant.hpp" #include "adl/oct/traits.hpp" #include "adl/oct/var...
#!/usr/bin/env node var _ = require('lodash'); var async = require('async-chainable'); var asyncFlush = require('<API key>'); var colors = require('chalk'); var doop = require('.'); var glob = require('glob'); var fs = require('fs'); var fspath = require('path'); var program = require('commander'); var sha1 = require('...
#include "<API key>.hpp" #include <cppmanip/boundary/ExtractMethodError.hpp> #include <boost/range/adaptor/transformed.hpp> #include <boost/algorithm/string/join.hpp> #include <boost/range/algorithm_ext/push_back.hpp> #include <boost/range/algorithm/sort.hpp> namespace cppmanip { namespace { std::string <API key>(const...
<?php namespace DomainBundle\Entity\Super; use Doctrine\ORM\Mapping as ORM; /** * @ORM\MappedSuperclass */ abstract class IntegerID extends Entity { /** * @var int * * @ORM\Id * @ORM\Column(type="integer") * @ORM\GeneratedValue(strategy="AUTO") */ private $id = null; public f...
if(!Hummingbird) { var Hummingbird = {}; } Hummingbird.Base = function() {}; Hummingbird.Base.prototype = { validMessageCount: 0, messageRate: 20, initialize: function() { this.averageLog = []; this.setFilter(); this.registerHandler(); }, registerHandler: function() { this.socket.registerHandl...
package com.github.sunnybat.paxchecker.setup.email; import com.github.sunnybat.commoncode.email.EmailAddress; import com.github.sunnybat.commoncode.email.account.EmailAccount; import com.github.sunnybat.commoncode.preferences.PreferenceHandler; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; im...
#include "PSF.h" #include "Utils.h" #include <cassert> #include <iostream> #include <fstream> using namespace std; using namespace arma; PSF::PSF(int size) :size(size) ,pixels(size, vector<double>(size, 0.)) ,fft_ready(false) { assert(size%2 == 1); pixels[size/2][size/2] = 1.; } void PSF::set_size(int new_size)...
layout: post title: "SparkStandaloneYARN" date: 2016-04-05 08:11:11 author: categories: tech tags: spark cover: "/assets/instacode.png" * TOC {:toc} Spark - standalone - mesos - yarn standaloneYARN > local 1 ESXispark - ubuntu server 14.04 - OpenJDK 1.7 - ieeveesudosudo - master/etc/hosts - pssh sudo root@spark1:/etc#...
define([ 'knockout' ],function( ko ){ ko.bindingHandlers.withfirst = { 'init' : function(element, valueAccessor, allBindings, viewModel, bindingContext) { var savedNodes; ko.computed(function() { var dataValue = ko.utils.unwrapObservable(valueAccessor()); var shouldDisplay = typeof...
#include "cpu.h" void CCF(cpu_state_t *state, enum ARG_TYPE arg0, union REG_INPUT i0, enum ARG_TYPE arg1, union REG_INPUT i1) { cpu_set_carry(state, !cpu_carry(state)); cpu_set_subtract(state, 0); cpu_set_half_carry(state, 0); }
var bunyanConfig = require('../index'); var bunyan = require('bunyan'); var path = require('path'); describe('bunyan-config', function () { it('should not convert things it does not understand', function () { bunyanConfig({ name: 'test', streams: [{ path: '/tmp/log.lo...
# Moment.js - [seajs](seajs/README.md) <http://momentjs.com/docs/> Moment.js $ cd arale/dist $ spm install moment
/* Generated By:JavaCC: Do not edit this line. ParseException.java Version 3.0 */ package org.cfeclipse.cfml.parser.cfscript; /** * This exception is thrown when parse errors are encountered. * You can explicitly create objects of this exception type by * calling the method <API key> in the generated * parser. * ...
'use strict'; var http = require('http'); var Logger = require('bunyan'); var log = new Logger({ name: 'test-server', level: 'debug' }); var server = http.createServer(function (request) { var data = ''; log.info({ url: request.url }, 'Incoming Request'); request.on('data', function (chunk) { ...
<!DOCTYPE html PUBLIC "- <html xmlns="http: <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>Haha factsheet on ARKive - Cyanea stictophylla</title> <link rel="canonical" href="http: <link rel="stylesheet" type="text/css" media="screen,print" href="/...
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.6 // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2013.12.23 at 08:29:00 AM CST package ca.ieso.reports.schema.<API key>; import javax.xml.bind.annotation.X...
#include "uritests.h" #include "../guiutil.h" #include "../walletmodel.h" #include <QUrl> void URITests::uriTests() { SendCoinsRecipient rv; QUrl uri; uri.setUrl(QString("mehcoin:<API key>?req-dontexist=")); QVERIFY(!GUIUtil::parseBitcoinURI(uri, &rv)); uri.setUrl(QString("mehcoin:<API key>?dontexis...
#ifndef <API key> #define <API key> #define <API key> #ifdef __clang__ # pragma clang system_header #elif defined __GNUC__ # pragma GCC system_header #endif // #included from: internal/<API key>.h #ifdef __clang__ # ifdef __ICC // icpc defines the __clang__ macro # pragma warning(push) # pragma warn...
## What is this ## Efficient and fast sound (i.e. record) recognition software. ## Where can You use it ## * You can listen to live radio station and log how many your advertisements are played per day * You can scan your music library for multiple recordings * You can match special operator messages when trying to i...
#region licence // EfSchemeCompare Project - project to compare EF schema to SQL schema // Filename: DbUpRunner.cs // Date Created: 2016/04/06 #endregion using System.Linq; using System.Reflection; using System.Runtime.CompilerServices; using DbUp; using GenericLibsBase; using GenericLibsBase.Core; [assembly: Internals...
#include "PrimitiveBatch.h" #include "onut.h" namespace onut { PrimitiveBatch::PrimitiveBatch() { // Create a white texture for rendering "without" texture unsigned char white[4] = {255, 255, 255, 255}; m_pTexWhite = Texture::createFromData({1, 1}, white, false); auto pDevice = O...
<!-- HTML header for doxygen 1.8.6--> <!DOCTYPE html PUBLIC "- <html xmlns="http: <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" content="Doxygen 1.8.12"/> <title>OpenCV: /build/<API key>/opencv/doc/tutorials/feature...
import React from 'react'; import { shallow } from 'enzyme'; import toJson from 'enzyme-to-json'; import EmailField from '../EmailField'; // EmailField // props: inputId // behavior: renders a <Field /> component // test: renders a <Field /> component describe('<EmailField />', () => { it('should render a Field...
// File: GameController.cpp // Class: GameController // All code is my own except where credited to others. #include "GameController.hpp" #include "../Helper/Logger.hpp" #include "../Helper/InputManager.hpp" #include "../Helper/Constants.hpp" #include "../Helper/CoordinatesManager.hpp" #include "../Helper/Coo...
require 'bundler/setup' require 'minitest/autorun' require 'mocha/setup' require 'omniauth/strategies/facebook' OmniAuth.config.test_mode = true module BlockTestHelper def test(name, &blk) method_name = "test_#{name.gsub(/\s+/, '_')}" raise "Method already defined: #{method_name}" if instance_methods.include?...
title: "Hipages" excerpt: "Homepage redesign that focuses on scalablity, branding and growth" header: image: teaser: "/assets/images/HipagesHPThumb2x.png" sidebar: - title: "Role" text: "Information Architect, UX Design" - title: "tl;dr" text: "Redesigned the homepage for scalability, growth and adopted...
<!DOCTYPE html PUBLIC "- <html xmlns='http: <meta http-equiv="Content-Type" content="text/html; charset=utf-8"></meta> <title>99-12-7.smi.png.html</title> </head> <body>ID99-12-7<br/> <img border="0" src="99-12-7.smi.png" alt="99-12-7.smi.png"></img><br/> <br/> <table border="1"> <tr> <td></td><td>ID</td><td>Formula</t...
namespace DrinkAndRate.Web.User { using DrinkAndRate.Data; using DrinkAndRate.Models; using System; using System.Linq; using System.Web; using System.Web.UI; public partial class EventCreate : BaseUserPage { private IDrinkAndRateData data; protected void Page_Load(object ...
require 'spec_helper' include Warden::Test::Helpers RSpec.describe "GroceryLists", :type => :request do describe "GET /grocery_lists" do it "works! (now write some real specs)" do @user = FactoryGirl.create(:user, :confirmed) login_as @user, scope: :user get grocery_lists_path expect(respo...
<?php namespace Monolog\Handler; use Monolog\TestCase; use Monolog\Logger; /** * @covers Monolog\Handler\NullHandler::handle */ class NullHandlerTest extends TestCase { public function testHandle() { $handler = new NullHandler(); $this->assertTrue($handler->handle($this->getRecord())); } p...
using BenchmarkDotNet.Attributes; using Obj2ObjMapBench.Models; using System.Collections.Generic; using System.Linq; namespace Obj2ObjMapBench { public abstract class BaseBenchmark { const int iterations = 10000; protected IEnumerable<SimplePoco> _simpleData; protected IEnumerable<Nested...
/** * <API key>.java * * This file was auto-generated from WSDL * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. */ package com.sforce.soap.partner; public class <API key> implements java.io.Serializable { private java.lang.String label; private java.lang.String name; private ja...
import Ember from 'ember'; export default Ember.Component.extend({ actions: { addFavorite() { this.sendAction('addFavorite', this.get('newFavorite')); } } });
<?php namespace UserBundle\Entity; use Doctrine\Common\Collections\ArrayCollection; use Symfony\Component\Security\Core\User\UserInterface; use Doctrine\ORM\Mapping as ORM; /** * Class User * @package UserBundle\Entity * @ORM\Entity(repositoryClass="\UserBundle\Entity\Repository\UserRepository") * @ORM\Table(name="...
package sprites; public class Enemy extends Paddle { public Enemy(int x, int y) { super(x,y); } int updateFrameCounter = 0; float moveDirection = 0; public void update(float dt, Ball ball) { //if(++updateFrameCounter%3==0) updateFrameCounter = 0; if(po...
namespace StreetPacMan.Server { public class InitialApple { public AppleKind Type = AppleKind.Normal; public double Lon; public double Lat; public override string ToString() { return string.Format("{0} apple at ({1}, {2})", Type, Lat, Lon); } } }
<!DOCTYPE html PUBLIC "- <html lang="en-US" xml:lang="en-US" xmlns="http: <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> <link href="../../stylesheets/sub_css.css" rel="stylesheet" type="text/css" /> <!-- <API key> name="DCMetaTags" --> <meta name="DC.Title" content="Texas Department ...
#ifndef SEMANT_H #define SEMANT_H #include "ast.h" void Semant_check(Prog_t); #endif
class BaseSingleton(object): _instance = None @classmethod def get_instance(cls): if cls._instance is None: cls._instance = cls() return cls._instance
<!DOCTYPE html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="description" content=""> <meta name="keywords" content=" "> <title>addLine | LivePerson Technical Documentation</title> <link rel="styl...
(function ($) { 'use strict'; // Device check for limiting resize handling. var IS_DEVICE = /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent); function FullHeight(el, options) { this.el = $(el); var data = {}; $.each(this.el.data(), functi...
# LoginRadius Ruby SDK ![Home Image](http://docs.lrcontent.com/resources/github/banner-1544x500.png) ## Introduction ## LoginRadius Customer Registration wrapper provides access to LoginRadius Identity Management Platform API. LoginRadius is an Identity Management Platform that simplifies user registration while securi...
require 'spec_helper' require 'rspec' require 'active_model' class RegonBastard include ActiveModel::Validations attr_accessor :regon validates :regon, :presence => true, :regon => true end describe RegonValidator do before :each do @model = RegonBastard.new end it "should be valid" do @model.shoul...
<!DOCTYPE html> <html lang="en"> <head> <!-- Meta --> <meta charset="utf-8"> <title>Switcheroo</title> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" /> <!-- Css - CDN????--> <! <link href="css/bootstrap.min.css" rel="stylesheet" med...
{- | module: Main description: Testing the FEN to Unicode conversion license: MIT maintainer: Joe Leslie-Hurd <joe@gilith.com> stability: provisional portability: portable -} module Main ( main ) where import qualified Unicode import qualified Chess tests :: [(String,String,Chess.Edge)] tests = [("Initial positio...
<?php namespace Modules\Dynamicfield\Composers; use Illuminate\Contracts\View\View; use Mcamara\LaravelLocalization\Facades\LaravelLocalization; use Modules\Dynamicfield\Utility\DynamicFields; use Request; use Route; class <API key> { /** * @param View $view */ public function compose(View $view) ...
// <auto-generated> // This code was generated by a tool. // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> namespace BugGuardian.WebForms.TestWebApp.Account { public partial class ManageLogins { <summary> successMes...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="description" content=""> <meta name="author" content=""> <title>SELCT People</title> <!-- Boot...
# curl-cache-bust curl-cache-bust is a curl.js shim that adds the ability to "bust the cache" during development. Cache busting isn't something I think a module loader should normally do, yet people ask for it [a lot](https://github.com/cujojs/curl/issues/159)), so I added the capability via this shim. ## Usage curl-ca...
<?php use Beanbun\Beanbun; use JonnyW\PhantomJs\Client; require_once(__DIR__ . '/vendor/autoload.php'); $beanbun = new Beanbun; $beanbun->name = 'phantom'; $beanbun->count = 5; $beanbun->interval = 2; $beanbun->timeout = 10; $beanbun->seed = [ 'https: 'https: ]; $beanbun->logFile = __DIR__ . '/phantom_access.lo...
implicit none integer, parameter :: MAXTSTP = 801, NGRID = 64 real pyRho(NGRID,NGRID,MAXTSTP), pyVR(NGRID,NGRID,MAXTSTP), & pyVZ(NGRID,NGRID,MAXTSTP), pyErg(NGRID,NGRID,MAXTSTP) call fast2d(pyRho,pyVR,pyVZ,pyErg) !write (*,*) PYOUT(50,1,:) end program
# 4/17/17 Questions and notes - what does the wittgensteinian "empirical"/"ethnography entail? - genre, habitus, practices all seem to be able to be explained as roughly equivalent, so - Why is Wittgenstein better or what does he bring to the table that Bourdieu, Giddens, Miller, etc don't? - Does W's "anti-the...
require File.expand_path('../boot', __FILE__) require 'rails/all' # Require the gems listed in Gemfile, including any gems # you've limited to :test, :development, or :production. Bundler.require(*Rails.groups) module VideoStorageSample class Application < Rails::Application