answer
stringlengths
15
1.25M
// This file is automatically generated. package adila.db; /* * Asus ZenFone 2 Laser (ZE600KL) * * DEVICE: ASUS_Z00M * MODEL: ASUS_Z00MD */ final class <API key> { public static final String DATA = "Asus|ZenFone 2 Laser (ZE600KL)|"; }
/** * Anonymous class */ class A { a: any; constructor(a: number) { this.a = a; } } /** * Named class */ class B { a: any; b: any; constructor(a, b) { this.a = a; this.b = b; } } /** * Named class extension */ class C extends A { b: any; constructor(a, b) { super(a); this.b =...
'use strict'; exports.index = 'metrics-1970.01'; exports.timestamp = '1970-01-01T00:00:00.000Z'; function header(type) { return { index : { _type : type} }; } exports.headerCounter = header('counter'); exports.headerTimer = header('timer'); exports.headerMeter = header('meter'); exports.headerHist...
@import url("screen.css"); @import url("non-screen.css") handheld; @import url("non-screen.css") only screen and (max-device-width:640px); #canvas-outer { border: 0px; position: relative; margin: 0px; padding: 0px; width: 100%; height: 100%; } #main_canvas { width: 100%; height: 100%; ...
PLANT_CONFIG = [ {key: 'name', label: 'Name'}, {key: 'scienceName', label: 'Scientific name'} ]; Template.plants.helpers({ plantListConfig: function() { return PLANT_CONFIG; } }); Template.newPlant.helpers({ plantListConfig: function() { return PLANT_CONFIG; } }); Template.newPla...
package br.unicamp.ic.sed.mobilemedia.copyphoto.impl; import javax.microedition.lcdui.Command; import javax.microedition.lcdui.Display; import javax.microedition.lcdui.Displayable; import javax.microedition.midlet.MIDlet; import br.unicamp.ic.sed.mobilemedia.copyphoto.spec.prov.IManager; import br.unicamp.ic.sed.mobile...
body {font-family: verdana, arial, sans serif; font-size:11px; line-height:16px } body,div,navigation {font-family: verdana, arial, sans serif; font-size:11px; line-height:16px } td {font-family: verdana, arial, sans serif; font-size:11px; line-height:16px } code, pre { font-family: "courier new", "courier";font-size:1...
// generated by jwg -output misc/fixture/j/model_json.go misc/fixture/j; DO NOT EDIT package j import ( "encoding/json" ) // FooJSON is jsonized struct for Foo. type FooJSON struct { Tmp *Temp `json:"tmp,omitempty"` Bar `json:",omitempty"` *Buzz `json:",omitempty"` HogeJSON `json:",...
#ifndef <API key> #define <API key> #include "nv_core.h" #include "nv_ml.h" #ifdef __cplusplus extern "C" { #endif extern nv_mlp_t nv_face_mlp_dir; extern nv_mlp_t nv_face_mlp_parts; extern nv_mlp_t nv_face_mlp_face_00; extern nv_mlp_t nv_face_mlp_face_01; extern nv_mlp_t nv_face_mlp_face_02; #ifdef __cplusplus } #endi...
$(document).ready(function(){$window=$(window);$('header[data-type="background"]').each(function(){var e=$(this);$(window).scroll(function(){var t=-($window.scrollTop()/e.data("speed"));var n="50% "+t+"px";e.css({backgroundPosition:n})})})})
{{define "header"}} <head> <title>Ulbora CMS V3 Admin</title> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <script type='text/javascript' src="/admin/js/popper.js"></script> <script type='text/javascript' src="/admin/js/jquery-3.2.1.mi...
package station import ( "github.com/moryg/eve_analyst/apiqueue/ratelimit" "github.com/moryg/eve_analyst/database/station" "log" "net/http" ) func (r *request) execute() { ratelimit.Add() res, err := http.Get(r.url) ratelimit.Sub() if err != nil { log.Println("station.execute: " ...
module.exports = { devTemplates: { files: [{ expand: true, cwd: '<%= appConfig.rutatemplates %>', dest:'<%= appConfig.rutadev %>/html', src: ['**/*'] }] }, devImages: { files: [{ expand: true, cwd: '<%= appConfig...
<div lass="trials-container center-container" ng-controller="TimerCtrl"> <div class="row"> <div class="col-md-8"> <form name="logEntryForm" class="form-inline" ng-submit="createLog()"> <div class="form-group"> <input type="text" ng-model="newLog.description" class="form-control" placeholder="Descr...
const pug = require("pug"); const pugRuntimeWrap = require("pug-runtime/wrap"); const path = require("path"); const YAML = require("js-yaml"); const getCodeBlock = require("pug-code-block"); const detectIndent = require("detect-indent"); const rebaseIndent = require("rebase-indent"); const pugdocArguments = require("./...
module SimpleForm class FormBuilder < ActionView::Helpers::FormBuilder attr_reader :template, :object_name, :object, :wrapper # When action is create or update, we still should use new and edit ACTIONS = { :create => :new, :update => :edit } extend MapType include SimpleForm::Input...
import zmq import datetime import pytz from django.core.management.base import BaseCommand, CommandError from django.conf import settings from registrations.models import Registration from registrations import handlers from registrations import tasks class Command(BaseCommand): def log(self, message): f = o...
module.exports.up=function(onSuccess,onFailed){ var dbo=new entity.Base(); dbo.saveToDB("recipe_drink",["recipe_code","drink_code","quantity","description"], [ ["3622","342",9.83,"1/3 shot Southern Comfort "], ["3622","315",9.83,"1/3 shot Grand Marnier "], ["3622","37...
import Ember from 'ember'; export default Ember.Component.extend({ tagName: 'img', attributeBindings: ['src'], height: 100, width: 100, backgroundColor: 'aaa', textColor: '555', format: undefined, // gif, jpg, jpeg, png text: undefined, src: Ember.computed('height', 'width', 'backgro...
import database from "../api/database"; import * as types from "../actions/ActionTypes" const receiveAspects = aspects => ({ type: types.GET_COMMON_ASPECTS, aspects }); export const getCommonAspects = () => dispatch => { database.getCommonAspects(aspects => { dispatch(receiveAspects(aspects)) }) }; export c...
var https = require('https'), q = require('q'), cache = require('./cache').cache; var API_KEY = process.env.TF_MEETUP_API_KEY; var fetch_events = function () { var deferred = q.defer(); var options = { host: 'api.meetup.com', path: '/2/events?&sign=true&photo-host=public&group_urlname=<API key>&page=20&...
using System; namespace monomart.Models.Domain { public class MM_GetBrand { public virtual int id { get; set; } public virtual string name { get; set; } } }
layout: log title: 15 SEPT 2019 date: 2019-09-15 # stream of conscious i really ought to make a habit of keeping up with these logs from friday-sunday. i very rarely pick up a laptop over the weekend, though. despite only being sick tuesday, i didn't feel fully cognizant until friday. saturday was full of cleaning i ha...
namespace Logikfabrik.Umbraco.Jet.Mappings { using System; <summary> The <see cref="<API key>" /> class. Utility class for registering data type definition mappings. </summary> public static class <API key> { <summary> Registers the specified data type definition mapping. ...
import java.util.Scanner; public class BinarySearch { public static int binarySearch(int arr[], int num, int startIndex, int endIndex) { if (startIndex > endIndex) { return -1; } int mid = startIndex + (endIndex - startIndex) / 2; if (num == arr[mid]) { ...
package com.docuware.dev.schema._public.services.platform; import javax.xml.bind.annotation.XmlEnum; import javax.xml.bind.annotation.XmlEnumValue; import javax.xml.bind.annotation.XmlType; @XmlType(name = "SortDirection") @XmlEnum public enum SortDirection { @XmlEnumValue("Default") DEFAULT("Default"), @Xm...
/* globals Ember, require */ (function() { var _Ember; var id = 0; var dateKey = new Date().getTime(); if (typeof Ember !== 'undefined') { _Ember = Ember; } else { _Ember = require('ember').default; } function symbol() { return '__ember' + dateKey + id++; } function UNDEFINED() {} functi...
# View Helpers Fae provides a number of built in view helpers. * [Fae Date Format](#fae-date-format) * [Fae Datetime Format](#fae-datetime-format) * [Fae Toggle](#fae-toggle) * [Fae Clone Button](#fae-clone-button) * [Fae Delete Button](#fae-delete-button) * [Form Header](#form-header) * [Require Locals](#require-local...
<html xmlns:string="xalan: <head> <META http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Standard Output from DoubleInsideTest</title> </head> <body> <pre>DoubleInsideTest.<API key>: Double 'valueA'(0.123) is inside Double range [0.122;0.124]. DoubleInsideTest.<API key>: Double 'valueA'(1.<API key>)...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace VaiFundos { class Program { static void Main(string[] args) { GerenciadorCliente gerenciador = new GerenciadorCliente(); FundosEmDolar fundo_dolar...
<?php /** @var Illuminate\Pagination\<API key> $users */ ?> @section('header') <h1><i class="fa fa-fw fa-users"></i> {{ trans('auth::users.titles.users') }} <small>{{ trans('auth::users.titles.users-list') }}</small></h1> @endsection @section('content') <div class="box box-primary"> <div class="box-he...
// of this software and associated documentation files( the "Software" ), to deal // in the Software without restriction, including without limitation the rights // copies of the Software, and to permit persons to whom the Software is // furnished to do so, subject to the following conditions: // copies or substantial ...
import Resolver from 'ember/resolver'; var resolver = Resolver.create(); resolver.namespace = { modulePrefix: 'todo-app' }; export default resolver;
<?php namespace HiFebriansyah\<API key>\Traits; use Form; use Illuminate\Support\MessageBag; use Carbon; use Session; trait Generator { public function generateForm($class, $columns, $model) { $lcm = $model->getConfigs(); $errors = Session::get('errors', new MessageBag()); $isDebug = (re...
layout: post title: bbcp tags: [Network, Linux, Security] In this post, we document how we installed and configured [BBCP](https: * Table of Contents {:toc} ## Installation For simplicity, We simply downloaded a precompiled [bbcp binary executable](http: {% highlight shell_session %} # cd /usr/local/bin/ # chmod +x bbc...
<?php namespace AppBundle\Controller; use Symfony\Bundle\FrameworkBundle\Controller\Controller; use Symfony\Component\Routing\Annotation\Route; /** * Weekly controller. * * @Route("/weekly") */ class WeeklyController extends Controller { /** * @Route("/", name="default") */ public function default...
cocoalumberjackTest ================ ## setting platform :ios, '7.0' pod 'BlocksKit' pod 'SVProgressHUD' pod 'CocoaLumberjack' $ pod install xxx-Prefix.pch #ifdef DEBUG static const int ddLogLevel = LOG_LEVEL_VERBOSE; #else static const int ddLogLevel = LOG_LEVEL_OFF; #endif ...
<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" /> <title>WebApp</title> <base href="/" /> <link href="css/bootstrap/bootstrap.min.css" rel="stylesheet" /> <link href="css/app.css" r...
package de.alpharogroup.user.repositories; import org.springframework.stereotype.Repository; import de.alpharogroup.db.dao.jpa.JpaEntityManagerDao; import de.alpharogroup.user.entities.RelationPermissions; @Repository("<API key>") public class <API key> extends JpaEntityManagerDao<RelationPermissions, Integer> { /*...
#// This file is part of RTIMULib #// this software and associated documentation files (the "Software"), to deal in #// the Software without restriction, including without limitation the rights to use, #// Software, and to permit persons to whom the Software is furnished to do so, #// subject to the following cond...
<?php require_once('../config.php'); require_once('../db/mysqldb.php'); $con = new mysqldb($db_settings1,false); $stmt = "Delete FROM nonce_values Where expiry_time <= CURRENT_TIMESTAMP"; $result = $con->query($stmt); ?>
# GTD <a name="top"></a> <a href="http: </a><a href="http: *** Spacemacs GTD layer, which based on org-query.
// <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 WPFProtocolHandler.Properties { [global::System.Runtime.CompilerServices.<API key>()] [global::System.CodeDom....
Ur/Web ==================== A set of Sublime Text 2 resources for Ur/Web. **If you had previously installed this package into your "Packages/User", you should consider reinstalling as described below to get future updates.** # Included: - Language definition for Ur/Web. Provides syntax highlighting in Sublime Text 2 ...
#!/usr/bin/python from noisemapper.mapper import * #from collectors.lib import utils Define the object mapper and start mapping def main(): # utils.drop_privileges() mapper = NoiseMapper() mapper.run() if __name__ == "__main__": main()
<!DOCTYPE HTML PUBLIC "- <!-- NewPage --> <html lang="en"> <head> <!-- Generated by javadoc (version 1.6.0_18) on Thu Dec 18 17:18:43 PST 2014 --> <title>Uses of Class org.xml.sax.helpers.ParserFactory (Java Platform SE 7 )</title> <meta name="date" content="2014-12-18"> <link rel="stylesheet" type="text/css" href="../...
layout: default {% assign minutes = content | number_of_words | divided_by: 180 %} {% if minutes == 0 %} {% assign minutes = 1 %} {% endif %} <div class="post-header mb2"> <h2>{{ page.title }}</h2> <span class="post-meta">{{ page.date | date: "%b %-d, %Y" }}</span><br> {% if page.update_date %} <span class="p...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using Julas.Utils; using Julas.Utils.Collections; using Julas.Utils.Extensions; using TheArtOfDev.HtmlRend...
#ifndef <API key> #define <API key> #ifndef HXCPP_H #include <hxcpp.h> #endif #ifndef <API key> #include <openfl/_legacy/events/Event.h> #endif HX_DECLARE_CLASS3(openfl,_legacy,events,Event) HX_DECLARE_CLASS3(openfl,_legacy,events,KeyboardEvent) namespace openfl{ namespace _legacy{ namespace events{ class <API key> Ke...
package io.github.kaioru.species; import java.io.Serializable; /** * @todo Class Description * * @author Kaioru **/ public class SpeciesLearnset implements Serializable { private static final long serialVersionUID = <API key>; }
- [bouzuya/rust-sandbox](https://github.com/bouzuya/rust-sandbox) 15 commits - [add session file creation to log_in](https://github.com/bouzuya/rust-sandbox/commit/<SHA1-like>) - mfa log-in - [add status check to log_in](https://github.com/bouzuya/rust-sandbox/commit/<SHA1-like>) - [add <API key> to log_in](...
export { default } from './ui' export * from './ui.selectors' export * from './tabs'
<?php namespace Lucid\Common\Tests\Struct; use Lucid\Common\Struct\Items; /** * @class ItemsTest * * @package Lucid\Common\Tests\Struct * @version $Id$ * @author iwyg <mail@thomas-appel.com> */ class ItemsTest extends \<API key> { /** @test */ public function <API key>() { $list = new Items(1,...
using System; using System.Diagnostics.CodeAnalysis; namespace Delimited.Data.Exceptions { [Serializable, <API key>] public class <API key> : Exception { // For guidelines regarding the creation of new exception types, see // and public <API key>() { } public <API key>(string...
import numpy as np from numpy import cumsum, sum, searchsorted from numpy.random import rand import math import utils import core.sentence as sentence import core.markovchain as mc import logging logger = logging.getLogger(__name__) # Dialogue making class. Need to review where to return a string, where to return a lis...
/* Credits: Most of the original code seems to have been written by George Michael Brower. The changes I've made include adding background particle animations, text placement and modification, and integration with a sparkfun heart rate monitor by using Pubnub and johnny-five. INSTRUCTIONS - ...
<!DOCTYPE html> <!--[if lt IE 9]><html class="no-js lt-ie9" lang="en" dir="ltr"><![endif]--> <!--[if gt IE 8]><!--> <html class="no-js" lang="en" dir="ltr"> <!--<![endif]--> <!-- Usage: /eic/site/ccc-rec.nsf/tpl-eng/template-1col.html?Open&id=3 (optional: ?Open&page=filename.html&id=x) --> <!-- Created: ; Product Code...
# encoding: utf-8 # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is # regenerated. module Azure::Network::Mgmt::V2020_08_01 module Models # Response for <API key> API service call. class <API key> include MsRestAzure #...
define("resolver", [], function() { "use strict"; /* * This module defines a subclass of Ember.DefaultResolver that adds two * important features: * * 1) The resolver makes the container aware of es6 modules via the AMD * output. The loader's _seen is consulted so that classes can be * ...
package billing; import cuke4duke.Then; import cuke4duke.Given; import static org.junit.Assert.assertTrue; public class CalledSteps { private boolean magic; @Given("^it is (.*)$") public void itIs(String what) { if(what.equals("magic")) { magic = true; } } @Then("^magic s...
#include <stdio.h> #include <unistd.h> #include <fcntl.h> #include <errno.h> #include <assert.h> #include <sys/epoll.h> #include "reactor.h" struct state { reactor_handler input; reactor_handler output; char buffer[4096]; data remaining; }; int fill(struct state *state) { ssize_t n; n ...
# encoding: utf-8 # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is # regenerated. module Azure::CognitiveServices::ContentModerator::V1_0 module Models # Detected SSN details. class SSN include MsRestAzure # @return [...
<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Posts &middot; dpc&#39;s blog</title> <meta name="description" content="Random posts about stuff."> <meta name="generator" content="Hugo 0.16" /> <meta name="twitter:c...
(function() { 'use strict'; var express = require('express'); var path = require('path'); var logger = require('morgan'); var cookieParser = require('cookie-parser'); var bodyParser = require('body-parser'); var routes = require('./routes/index'); var app = express(); // view engine setup app.set('v...
<!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"/> <title>ViennaCL - The Vienna Computing Library: symbolic_vector&lt; ID, SCALARTYPE, ALIGNMENT &gt; Class Template Reference</title> <link href="tabs...
#include "randomplayer.h" #include <QDirIterator> void RandomPlayer::start() { this->setMedia(QUrl::fromLocalFile(fileList.takeFirst())); this->play(); this->_readyToPlay = true; } void RandomPlayer::quitPlayMode() { this->_readyToPlay = false; this->stop(); } bool RandomPlayer::isPlayMode(){ re...
#ifndef <API key> #define <API key> /** * List of fixed seed nodes for the bitcoin network * AUTOGENERATED by share/seeds/generate-seeds.py * * Each line contains a 16-byte IPv6 address and a port. * IPv4 as well as onion addresses are wrapped inside a IPv6 address accordingly. */ static SeedSpec6 pnSeed6_main[] ...
"use strict"; var C = function () { function C() { babelHelpers.classCallCheck(this, C); } babelHelpers.createClass(C, [{ key: "m", value: function m(x) { return 'a'; } }]); return C; }();
using System; using System.Collections.Generic; using System.IO; using System.Linq; using log4net; using Newtonsoft.Json; using RoboticsTxt.Lib.Contracts; using RoboticsTxt.Lib.Contracts.Configuration; namespace RoboticsTxt.Lib.Components.Sequencer { internal class <API key> { private readonly <API key>...
<!DOCTYPE html> <!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]--> <!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]--> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Miruken Docs &mdash; SymbolDownloader documentation...
package org.vas.notification; import java.time.LocalDateTime; import java.util.List; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.vas.domain.repository.Address; import org.vas.domain.repository.User; import org.vas.notification.domain.repository.NotificationService; /** * Notification worker for...
/** @jsx jsx */ import { Transforms } from 'slate' import { jsx } from '../../..' export const run = editor => { Transforms.move(editor, { edge: 'start' }) } export const input = ( <editor> <block> one <anchor /> two t<focus /> hree </block> </editor> ) export const output = ( <editor>...
using UnityEngine; using System; using System.IO; using System.Collections; using System.Collections.Generic; using System.Runtime.Serialization.Formatters.Binary; public class <API key> : MonoBehaviour { private BinaryFormatter m_Formatter = new BinaryFormatter(); private BinaryFormatter Formatter { ...
package shuaicj.hello.configuration.case04; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.<API key>; /** * Spring boot application. * * @author shuaicj 2019/10/12 */ @<API key> public class Application { public static void main(String[] args) { SpringAp...
# -*- coding: utf-8 -*- from django.contrib.admin import TabularInline from .models import GalleryPhoto class PhotoInline(TabularInline): """ Tabular inline that will be displayed in the gallery form during frontend editing or in the admin site. """ model = GalleryPhoto fk_name = "gallery"
// Use of this source code is governed by a MIT-style // Package epiutil is an utility class with functions // common to all packages in the epi project. package epiutil import "math/rand" // RandStr returns a string of length n constructed // from pseudo-randomly selected characters from t. // The pseudo-randomness us...
var assert = require('assert'); var fs = require('fs'); var requireFiles = require(__dirname + '/../lib/requireFiles'); var files = [ __dirname + '/moch/custom_test.txt', __dirname + '/moch/json_test.json', __dirname + '/moch/test.js' ]; describe('requireFiles testing', function(){ describe('Structure t...
package com.reactnativeexample; import com.facebook.react.ReactActivity; import com.facebook.react.ReactPackage; import com.facebook.react.shell.MainReactPackage; import java.util.Arrays; import java.util.List; public class MainActivity extends ReactActivity { /** * Returns the name of the main component regis...
<reference path="Global.ts" /> <reference path="Decks.ts" /> module ScrollsTypes { 'use strict'; export class DeckCards { cards:CardsAndStats[] = []; deck:Deck; constructor(deck:Deck) { this.deck = deck; this.update(); } update():void { ...
class Admin::<%= file_name.classify.pluralize %>Controller < Admin::BaseController inherit_resources <% if options[:actions].present? %> actions <%= options[:actions].map {|a| ":#{a}"}.join(", ") %> <% else %> actions :all, except: [:show] <% end %> private def collection @<%= file_name.pluralize %>...
{{ with $.Site.Params.themeColor }} <style type="text/css"> .sidebar { background-color: {{ . }}; } .read-more-link a { border-color: {{ . }}; } .pagination li a { color: {{ . }}; border: 1px solid {{ . }}; } .pagination li.active a { background-color: {{ . }}; } .pagination li a:h...
package net.inpercima.runandfun.service; import static net.inpercima.runandfun.runkeeper.constants.RunkeeperConstants.ACTIVITIES_MEDIA; import static net.inpercima.runandfun.runkeeper.constants.RunkeeperConstants.<API key>; import static net.inpercima.runandfun.runkeeper.constants.RunkeeperConstants.<API key>; import j...
export default function() { var links = [ { icon: "fa-sign-in", title: "Login", url: "/login" }, { icon: "fa-dashboard", title: "Dashboard", url: "/" }, { icon: "fa-calendar", titl...
<html> <title>nwSGM</title> <body bgcolor="#000066" text="#FFFF00" link="#8888FF" vlink="#FF0000"> <h1><em>nwSGM</em></h1> <hr> <p> <b><em>Segment generator</em></b> <p> <hr> </body> </html>
@import url(http://fonts.googleapis.com/css?family=Open+Sans:400,600); body { font-family: 'Open Sans', sans-serif; margin: auto; max-width: 100%; overflow-x: hidden; } .container{ margin: 10px auto; } @import url(http://fonts.googleapis.com/css?family=Source+Sans+Pro); .navbar-brand{ font-family: 'Source S...
# <API key>: true module Webdrone class MethodLogger < Module class << self attr_accessor :last_time, :screenshot end def initialize(methods = nil) super() @methods = methods end if Gem::Version.new(RUBY_VERSION) < Gem::Version.new('2.7') def included(base) @methods...
.pad { padding:30px 30px 30px 30px !important; } .button-gm { min-height: 30px; line-height: 30px; font-size: 14px } .button-me { border-color: transparent; background-color: #00c0f5; color: #FFF; position: relative; display: inline-block; margin: 10px 0; padding: 0 12px; ...
#if <API key> using UnityEngine.XR.Management; #endif // <API key> namespace Microsoft.MixedReality.Toolkit.Utilities { <summary> Utilities that abstract XR settings functionality so that the MRTK need not know which implementation is being used. </summary> public static class XRSettingsUtilities ...
const Koa = require('koa'); const http = require('http'); const destroyable = require('server-destroy'); const bodyParser = require('koa-bodyparser'); const session = require('koa-session'); const passport = require('koa-passport'); const serve = require('koa-static'); const db = require('./db'); const config = require...
<?php use Symfony\Component\HttpKernel\Kernel; use Symfony\Component\Config\Loader\LoaderInterface; class AppKernel extends Kernel { public function registerBundles() { $bundles = array( new Symfony\Bundle\FrameworkBundle\FrameworkBundle(), new Symfony\Bundle\SecurityBundle\Secur...
<?php namespace app\base; use Yii; use yii\base\Component; class MailService extends Component { public function init() { parent::init(); if ($this->_mail === null) { $this->_mail = Yii::$app->getMailer(); //$this->_mail->htmlLayout = Yii::getAlias($this->id . '/mails/lay...
<link rel="import" href="../../polymer/polymer-element.html"> <link rel="import" href="../overlay-mixin.html"> <dom-module id="sample-overlay"> <template> <style> :host { background: #ddd; display: block; height: 200px; position: absolute; width: 200px; } ...
using System; using Xamarin.Forms; namespace EmployeeApp { public partial class ClaimDetailPage : ContentPage { private ClaimViewModel model; public ClaimDetailPage(ClaimViewModel cl) { InitializeComponent(); model = cl; BindingContext = model; ...
<!doctype html> <html> <head> <meta charset="utf-8"> <title></title> <meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=0"> <link rel="stylesheet" href="../css/weui.css"/> <link rel="stylesheet" href="../css/weuix.css"/> <script src="../js/zepto.min.js"></script> ...
using System; using System.Runtime.InteropServices; using GME.Util; using GME.MGA; namespace GME.CSharp { abstract class ComponentConfig { // Set paradigm name. Provide * if you want to register it for all paradigms. public const string paradigmName = "CyPhyML"; // Set the human readable...
package cellsociety_team05; public class SimulationException extends Exception { public SimulationException(String s) { super(s); } }
PhotoAlbums.Router.map(function() { this.resource('login'); this.resource('album', {path: '/:album_id'}); this.resource('photo', {path: 'photos/:photo_id'}); });
from __future__ import annotations from collections import defaultdict from collections.abc import Generator, Iterable, Mapping, MutableMapping from contextlib import contextmanager import logging import re import textwrap from types import MappingProxyType from typing import TYPE_CHECKING, Any, NamedTuple from markdow...
package com.globalforge.infix; import org.junit.Assert; import org.junit.BeforeClass; import org.junit.Test; import com.globalforge.infix.api.InfixSimpleActions; import com.google.common.collect.ListMultimap; public class TestAndOrSimple { @BeforeClass public static void setUpBeforeClass() throws Exception { ...
<?php namespace App\Controllers; use App\Models\Queries\ArticleSQL; use App\Models\Queries\CategorieSQL; use Core\Language; use Core\View; use Core\Controller; use Helpers\Twig; use Helpers\Url; class Categories extends Controller { public function __construct() { parent::__construct(); } public fun...