text
stringlengths
27
775k
--- title: Report issues description: Contact support to report issues with InfluxDB Enterprise. aliases: - /enterprise/v1.8/troubleshooting/reporting-issues/ menu: enterprise_influxdb_1_9: weight: 20 parent: Troubleshoot --- When you have challenges with the InfluxDB Enterprise product, please contact I...
export default () => ({ logo: { fontFamily: '"Dancing Script", cursive', color: '#e10351' } });
@Deprecated("text") annotation class obsolete() @Deprecated("text") annotation class obsoleteWithParam(val text: String) @obsolete class Obsolete @obsoleteWithParam("text") class Obsolete2
package com.machinedoll.gate.consumer import com.machinedoll.gate.schema.SensorReading import com.machinedoll.gate.source.SourceCollection import com.typesafe.config.ConfigFactory import org.apache.flink.api.java.utils.ParameterTool import org.apache.flink.streaming.api.scala.{StreamExecutionEnvironment, _} object Cu...
#!/usr/bin/env bash # Get smaller demo files. wget https://raw.githubusercontent.com/pierrepo/PBxplore/master/demo_doc/psi_md_traj.gro wget https://raw.githubusercontent.com/pierrepo/PBxplore/master/demo_doc/psi_md_traj.xtc
/* Copyright 2015 The Kubernetes Authors All rights reserved. Licensed 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 Unless required by applicable law or ag...
--- title: What is Istio? description: A broad overview of the Istio system. weight: 10 type: section-index ---
## 📝 関連issue / Related Issues <!-- ・ 関連するissue 番号を記載してください。 Issue 番号がない PR は受け付けません。 ・ issueを閉じるとは関係ないものは#{ISSUE_NUMBER}だけでOKです🙆‍♂️ ・ You can remove this section if there are no related issues ・ If the issue is related but doesn't close upon merge, you can just write - #{ISSUE_NUMBER} 🙆‍♂️ --> <!-...
import styles from "../styles/layout.module.scss"; const Layout: React.FC = ({ children }) => { return <div className={styles.layout}>{children}</div>; }; export default Layout;
""" Call this first in any tool. Bootstraps the django framework into a script. """ import os, sys import django from datetime import timedelta # Module environment variable. MODULE_NAME = "DJANGO_SETTINGS_MODULE" # The default module to boot DEFAULT_MODULE = "biostar.forum.settings" # If module not set, use a sane ...
/* eslint-env qunit */ import sinon from 'sinon'; import * as Fn from '../../../src/js/utils/fn.js'; QUnit.module('fn', { beforeEach() { this.clock = sinon.useFakeTimers(); }, afterEach() { this.clock.restore(); } }); QUnit.test('should add context to a function', function(assert) { const newContext...
UPDATE `sma_settings` SET `version` = '3.0.2.20' WHERE `setting_id` = 1;
import { CarouselSlideParams } from '../carousel-slide-params'; export const MOCK_SLIDE_PARAMS: CarouselSlideParams = { activeOnTheLeft: false, activeOnTheRight: false, inViewport: false, isActive: false, item: null, };
using System.Text; namespace CppAst { /// <summary> /// A comment for a template parameter command. /// </summary> public class CppCommentTemplateParamCommand : CppCommentCommand { public CppCommentTemplateParamCommand() : base(CppCommentKind.TemplateParamCommand) { } ...
namespace SpotifyAPI.Web { public class PlayerAddToQueueRequest : RequestParams { /// <summary> /// /// </summary> /// <param name="uri">The uri of the item to add to the queue. Must be a track or an episode uri.</param> public PlayerAddToQueueRequest(string uri) { Ensure.ArgumentNotNu...
import React, {useState} from 'react'; import {View, Text, Image, StyleSheet} from 'react-native'; import 'react-native-get-random-values'; import LinearGradient from 'react-native-linear-gradient'; import Icon from 'react-native-vector-icons/MaterialIcons'; import AvatarOnline from '../components/chat/AvatarOnline'; i...
package com.ctrip.xpipe.redis.proxy.tunnel; import com.ctrip.xpipe.redis.proxy.State; /** * @author chen.zhu * <p> * May 10, 2018 */ public interface TunnelState extends State<TunnelState> { }
import { Body, game, GameObject, Sprite, Vector } from 'engine'; import { Bodies } from 'matter-js'; export class Decoration extends GameObject { private readonly position: Vector; private readonly size: number; private readonly color: number; private readonly solid: boolean; public constructor(p...
### First load - bleh ### Simple Animations - bleh
module System.Warp.Executor (runScript) where import System.Warp.Types import System.Warp.Payload import System.Process import System.IO import System.Posix.IO import System.Exit import System.Posix.Directory import Control.Concurrent import Data.List(elem) import qualified Control.Exception as C serviceAction :: Serv...
/* * Copyright 2014 Space Dynamics Laboratory - Utah State University Research Foundation. * * Licensed 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...
double precision function DPVAL(KORDER, NPC, XI, PC, X, IDERIV) c Copyright (c) 1996 California Institute of Technology, Pasadena, CA. c ALL RIGHTS RESERVED. c Based on Government Sponsored Research NAS7-03001. c>> 1994-10-20 DPVAL Krogh Changes to use M77CON c>> 1992-10-27 DPVAL C. L. Lawson, JPL Saving LEFTI ...
package com.chrynan.klutter.ui enum class TileMode { CLAMP, MIRROR, REPEATED }
# Wareki(Japanese Era name) formatted with YAML This is configuration of wareki(Japanese Era name). I create it from [Wikipedia](https://ja.wikipedia.org/wiki/%E5%85%83%E5%8F%B7%E4%B8%80%E8%A6%A7_(%E6%97%A5%E6%9C%AC)). # Attention As above, I create it from Wikipedia. And the information may be wrong. I don’t menti...
import type { Foo } from './types'; export function getFoo(): Foo { return { bar: 'bar' }; }
import { Buffer } from "buffer"; import { sha256 } from "ethereum-cryptography/sha256"; import { IChecksumModule } from "./types"; // default checksum configuration export function defaultSha256Module(): Pick<IChecksumModule, "function"> { return { function: "sha256", }; } // checksum operations function c...
package config import ( "os" "fmt" ) type Argument struct { TableName string // 原始表名 BeanName string // Java bean Name DeleteFolder bool // 是否清空文件夹 } func New(args []string) *Argument { if len(os.Args) < 2 { // print help usage() } argument := &Argument{ DeleteFolder: false } for i := 1; i < ...
/* Copyright 2020 Google LLC Licensed 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 Unless required by applicable law or agreed to in writing, software dist...
package test1 import ( "github.com/gin-gonic/gin" "yibiancheng.com/accountcenter/controller" ) func Routes(route *gin.Engine){ test1:=route.Group("/test1") test1.GET("/get", controller.Test1GetApi) test1.POST("/post", controller.Test1PostApi) }
import React from 'react' import { NextPage } from 'next' import VerifyComponent from '../feature/verify/components' const VerifyPage: NextPage = props => { return <VerifyComponent /> } export default VerifyPage
/* * RunnerBe © 2022 Team AppleMango. all rights reserved. * RunnerBe license is under the MIT. * * [MainActivity.kt] created by Ji Sungbin on 22. 1. 31. 오후 4:49 * * Please see: https://github.com/applemango-runnerbe/RunnerBe-Android/blob/main/LICENSE. */ package team.applemango.runnerbe.activity import androi...
# NetMiniblink #### 介绍 免费版miniblink的C#封装,miniblink官网:http://miniblink.net - 面向对象,符合.NET使用习惯。 - 支持AnyCPU生成exe。 - 支持b/s开发模式,给习惯web的人用,关键是使用ajax不会卡界面,并且分离界面和逻辑。 - 本封装是面向GUI的,不是浏览器! - 有问题在Issues中提。 - **最好是clone代码使用,因为发行版里的内容只在有心情的时候才更新。** - 欢迎提交PR。 ![view](https://images.gitee.com/uploads/images/2020/1231/163704_6c4304b...
;; -*- fundamental -*- ;; ----------------------------------------------------------------------- ;; ;; Copyright 1994-2008 H. Peter Anvin - All Rights Reserved ;; Copyright 2009 Intel Corporation; author: H. Peter Anvin ;; ;; This program is free software; you can redistribute it and/or modify ;; it under the ...
<?php /** * Created by PhpStorm. * User: lucas * Date: 14/04/16 * Time: 12:18 */ namespace app\controllers; use app\controllers\traits\tJsonController; use app\models\Tag; use yii\rest\Controller; class TagController extends Controller { use tJsonController; public function actionIndex() { ...
/************************************************************************* * Copyright 2021 Gravwell, Inc. All rights reserved. * Contact: <legal@gravwell.io> * * This software may be modified and distributed under the terms of the * BSD 2-clause license. See the LICENSE file for details. ************************...
/* * Copyright (C) 2018 paphonb@xda * * Licensed 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 * * Unless required by applicable law or agreed...
package metadata import ( "errors" "fmt" "testing" "time" "github.com/allegro/bigcache" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/mock" ) type FetcherMock struct { *mock.Mock } type FakeHasher struct { hashes map[string]uint64 } func TestFetchingAndDirectCachingBucketMetaData(t *te...
#include<iostream> using namespace std; int main(){ int arr[] = {0,1,2,3,5}; int n = sizeof(arr)/sizeof(arr[0]); cout<<n<<endl; int sum = ((n)*(n+1))/2; int arrsum =0; for(int i =0;i<n;i++){ arrsum+=arr[i]; } cout<<sum - arrsum; }
--- title: MobX 블로그-9(수정, 삭제) subTitle: Mobx-Blog(백엔드-9) category: "Blog Making" cover: logo.jpg --- ### 특정 게시글 수정 (Update), 삭제 (Delete) 특정 게시글 수정입니다. 이것도 어려운 내용은 없으나 현 접속 사용자와 게시글 작성자를 비교하는 것만 주의하면 될 듯 합니다! ```js - file: /mobx-blog/server/src/api/post/post.ctrl.js // 특정 게시글 수정하기 (PUT) API '/api/post/update/:id' exp...
class Device: def online(self): return None def start(self): pass def stop(self): pass def dial(self, event, response): raise NotImplementedError() def send(self, event, message, response): raise NotImplementedError()
# ChromeExtention-GitHubSettings ChromeExtention-GitHubSettings is a chrome extention for GitHub. It offers the diff options of GitHub. The diff options are as below. - Ignore Blank - Tab Stop ## Contains Code From [URI.js](https://github.com/medialize/URI.js) ## Icon from [Git Logo](https://git-scm.com/d...
DROP PROCEDURE DELFILE GO DROP TABLE B_AGENT GO DROP TABLE B_EVENT GO DROP TABLE B_EVENT_MESSAGE GO DROP TABLE B_EVENT_MESSAGE_SITE GO DROP TABLE B_EVENT_TYPE GO DROP TABLE B_FAVORITE GO DROP TABLE B_FAVORITE_LANG GO DROP TABLE B_FILE GO DROP TABLE B_FILE_ACTION GO DROP TABLE B_GROUP GO DROP TABLE B_LANG GO DROP TABLE...
# class WorkUsage follows the model established by FileUsage # Called by the stats controller, it finds cached work pageview data, # and prepares it for visualization in /app/views/stats/work.html.erb module Hyrax class WorkUsage < StatsUsagePresenter def initialize(id) self.model = Hyrax::WorkRelation.new....
@extends('cms::layouts.dashboard') @section('pageTitle') Links @stop @section('content') <div class="col-md-12 mt-2"> @include('cms::modules.links.breadcrumbs', ['location' => [['Menu' => cms()->url('menus/'.request('m').'/edit')], 'links', 'create']]) </div> <div class="col-md-12"> {!! ...
<?php namespace app\controllers; use app\models\Categories; use app\models\Category; use app\models\Products; use yii\web\Controller; class CategoryController extends Controller { public function actionView ($id) { //$categoriesArr = Categories::find()->asArray()->all(); //$product = Products::find()->wh...
Set-StrictMode -Version Latest Describe "VSTeamGitRepository" { BeforeAll { . "$PSScriptRoot\_testInitialize.ps1" $PSCommandPath . "$baseFolder/Source/Public/Clear-VSTeamDefaultProject.ps1" ## Arrange Mock _getApiVersion { return '1.0-unitTests' } -ParameterFilter { $Service -eq 'Git' } ...
<?php namespace Pheanstalk\Command; /** * A command that is executed against a tube */ abstract class TubeCommand extends AbstractCommand { protected $tube; public function __construct(string $tube) { $this->tube = $tube; } }
import pandas import pathlib import twarc_csv from click.testing import CliRunner runner = CliRunner() test_data = pathlib.Path("test-data") def _process_file(fname, expected=None, extra=""): input_file = test_data / f"{fname}.jsonl" output_file = test_data / f"{fname}.csv" if output_file.is_file(): ...
export "./src/client.dart"; export "./src/generated/graphsearchrpc.pb.dart"; export "./src/generated/graphsearchrpc.pbenum.dart"; export "./src/generated/graphsearchrpc.pbgrpc.dart"; export "./src/generated/graphsearchrpc.pbjson.dart";
Param( [parameter(mandatory)] [string]$DbMasterHost, [int]$DbMasterPort = 3306, [string]$DbMasterRootPass = "$env:MYCLINIC_DB_ROOT_PASS", [string]$DbSlaveRootPass = "$env:MYCLINIC_DB_ROOT_PASS", [string]$DbSlaveUser = "$env:MYCLINIC_DB_USER", [string]$DbSlavePass = "$env:MYCLINIC_DB_P...
package ru.tpu.budget.controller import io.swagger.v3.oas.annotations.Operation import org.springframework.web.bind.annotation.* import ru.tpu.budget.IBudgetService import ru.tpu.budget.base.Response import ru.tpu.budget.dto.BudgetItemDto import ru.tpu.budget.dto.BudgetOperationDto import ru.tpu.budget.dto.BudgetState...
# Observability demos ## Useful instructions ### Port forwarding `tracing` ``` kubectl port-forward -n tracing svc/jaeger-query 16686:80 &>/dev/null & open http://localhost:16686 ``` `monitoring` ``` kubectl port-forward -n monitoring svc/prometheus-k8s 9090:9090 &>/dev/null & open http://localhost:9090 kubectl por...
# Simple-Countdown-App ## Screenshot ![Screenshot](screenshots/screenshot.png)
You are given two strings s and t. String t is generated by randomly shuffling string s and then adding one more letter at a random position. Return the letter that was added to t. Examples findTheDifference("", "e") ➞ "t" findTheDifference("abcd", "abcde") ➞ "e" findTheDifference("rt", "rst") ➞ "s" findTheDiffer...
# PHP-DI integration with Zend Framework 2 [![Build Status](https://travis-ci.org/PHP-DI/ZF2-Bridge.svg)](https://travis-ci.org/PHP-DI/ZF2-Bridge) This library provides integration for PHP-DI with Zend Framework 2. [PHP-DI](http://php-di.org/) is a Dependency Injection Container for PHP. If you are looking for Zend...
CKEDITOR.plugins.setLang( 'tableconvert', 'nl', { 'tableconvert' : { 'other' : 'Overig', 'paragraphs' : 'Paragrafen', 'semicolons' : 'Puntkomma', 'separateAt' : 'Aparte tekst bij:', 'tabs' : 'Tabs', 'toTable' : 'Converteer tekst naar tabel', 'toText' : 'Converteer tabel naar tekst' } });
import re def normalize_project_name(name): # https://www.python.org/dev/peps/pep-0503/#normalized-names return re.sub(r"[-_.]+", "-", name).lower()
part of dart_cassandra_cql.types; class QueryFlag extends Enum<int> { static const QueryFlag VALUES = const QueryFlag._(0x01); static const QueryFlag SKIP_METADATA = const QueryFlag._(0x02); static const QueryFlag PAGE_SIZE = const QueryFlag._(0x04); static const QueryFlag WITH_PAGING_STATE = const QueryFlag._...
----------------------------------------------------------------------------- -- | -- Module : Detection.GeneralizedReactivity -- License : MIT (see the LICENSE file) -- Maintainer : Felix Klein (klein@react.uni-saarland.de) -- -- Detect whether a specification belongs to the Generalized -- Reactivity frag...
#!/bin/bash j2 /mr.pull.tpl > /etc/gobblin/mr.pull j2 /mr.compact.tpl > /etc/gobblin/mr.compact /gobblin-dist/bin/gobblin-standalone.sh start
import 'dart:convert'; import 'package:ezflap/ezflap.dart'; import 'package:get/get.dart'; import 'JClass2.dart'; part "JClass1.g.dart"; @EzJson() class JClass1 extends _JClass1Base { static JClass1 factoryFromJson(String json) => _JClass1Base.factoryFromJson(json); static JClass1 factoryFromJsonMap(Map<String, ...
package gramework import "testing" func TestNewShouldNeverReturnNil(t *testing.T) { app := New() if app == nil { t.Log("App is nil!") t.FailNow() return } if app.defaultRouter == nil { t.Log("App Router is nil!") t.FailNow() return } if app.Logger == nil { t.Log("App Logger is nil!") t.FailNow()...
# MediaPlayer android:多媒体。包括MediaRecorder录制视频,MediaPlayer播放视频,VideoView播放视频,SoundPool播放音效
$($('#tabs-container').children()[0]).addClass('current'); $.fn.tabs = function () { this.addClass('tabs-container'); $('.tab-item').on('click', function(e) { $('.tab-item').removeClass('current'); $(this).addClass('current'); }) return this; };
cnop 0,4 dc.l 0 dc.l 1 dc.l 4 dc.l 1
<?php namespace App\HttpController\Service\Pay; use App\HttpController\Service\ServiceBase; class PayBase extends ServiceBase { function onNewService(): ?bool { return parent::onNewService(); } }
# TensorFlow.org Continuous Integration This directory contains all the files and setup instructions to run continuous integration [ci.tensorflow.org](http://ci.tensorflow.org). ## How it works We use [jenkins](https://jenkins-ci.org/) as our continuous integration. It is running at [ci.tensorflow.org](http://ci.t...
--- title: Codex Vitae description: Everything I think I know. layout: page --- ### Everything I think I know
# Dialog Segmentation, Speaker ID Mapping and Emotion Recognition in Movie and TV Subtitles HCI Project (E1 slot) : Prof. Joshva Devadas T Prishita Ray- 17BCE2405 Arushi Das- 17BCE0087 Link to paper: https://www.aclweb.org/anthology/W18-5021.pdf Link to dataset used for testing the models: https://www.cs.co...
trait AA { def foo: Int val bar = 2 } trait A extends AA trait B extends A object Usage { def useAfoo(a: A) = a.foo + 1 def useAbar(a: A) = a.bar + 2 def useBfoo(b: B) = b.foo + 3 def useBbar(b: B) = b.bar + 4 }
<?php declare (strict_types = 1); namespace LexofficeSdk\Invoice; use LexofficeSdk\Abstracts\EntityAbstract; class UnitPriceEntity extends EntityAbstract { public $currency = "EUR"; public $netAmount; public $grossAmount; public $taxRatePercentage; }
class Parser NUMERIC_REGEX = /^[-+]?[0-9]*\.?[0-9]+$/ # Public: Tokenizes some Lisp code # # expressions - the Lisp code to tokenize # # Examples # # parser.tokenize('(define foo 3)') # # => [ '(', 'define', 'foo', '3', ')' ] # # Returns the Lisp code as an array of tokens def tokenize(expr...
import { Service } from '@balljs/core'; @Service() export class AppService { name = 'wang'; generateHello() { return 'Hello World.' } }
--- title: Resource.IsLocked property (Project) ms.assetid: 56525d08-e779-b9e4-c41a-24664ed68538 ms.date: 06/08/2017 ms.prod: project-server ms.localizationpriority: medium --- # Resource.IsLocked property (Project) Indicates whether the resource is or is not locked. If resource is locked, you need an engagement for...
package pq_types import ( "bytes" "database/sql" "database/sql/driver" "encoding/binary" "encoding/hex" "encoding/json" "fmt" "strings" ) // PostGISPoint is wrapper for PostGIS POINT type. type PostGISPointNull struct { Lon, Lat float64 Valid bool } type PostGISPoint struct { Lon, Lat float64 } // Val...
import django from django.utils import six if six.PY3: from urllib.parse import urlparse, parse_qsl, urlunparse, urlencode else: from urlparse import urlparse, parse_qsl, urlunparse from urllib import urlencode class Qurl(object): """ Initialized with a url, provides a few chainable methods t...
package com.sumera.argallery.data.store.ui.model import com.sumera.argallery.data.store.ui.datasource.model.LoadingState data class PicturesWithLoadingState( val pictures: List<Picture>, val loadingState: LoadingState ) { companion object { fun createDefault(): PicturesWithLoadingState { ...
package org.javacord.core.util.auth; import okhttp3.ResponseBody; import org.javacord.api.util.auth.Response; import java.io.IOException; import java.util.List; import java.util.Map; import java.util.Objects; import java.util.Optional; /** * The implementation of {@link Response} for OkHttp. */ public class OkHttp...
package iomanager import ( "github.com/DiscoViking/goBrains/entity" "github.com/DiscoViking/goBrains/events" ) // Manager is capable of handling multiple input/output // paths at once. It abstracts this away from the main // thread. type Manager interface { // Shutdown turns of all IO. Shutdown() // Add registe...
#include<iostream> #include<vector> using namespace std; int binarysearch(int startindex,int endindex,int value,vector<int> k){ if(startindex==endindex){ return -1; } int val=(startindex+endindex)/2; if(k[val]==value){ return val; } else if(value>k[val]){ return(binarysea...
package com.krythera.inv import com.google.common.truth.Truth.assertThat import org.junit.jupiter.api.Test class ItemNoneTests { @Test fun `id is always none`() { val none = ItemNone() assertThat(none.id()).isEqualTo(Item.NONE.id()) } @Test fun `max stack size is always zero`() { ...
package com.johnturkson.aws.ses.requestbuilder.components import kotlinx.serialization.SerialName import kotlinx.serialization.Serializable @Serializable data class Template( @SerialName("TemplateArn") val arn: String, @SerialName("TemplateData") val data: String, @SerialName("TemplateName") v...
class Timesheet include Mongoid::Document include Mongoid::Timestamps field :hours, :type => Float field :date, :type => Date field :notes, :type => String belongs_to :project, :inverse_of => :timesheets belongs_to :task, :inverse_of => :timesheets belongs_to :user, :inverse_of => :timesheets valid...
import { onKeyStroke } from '@vueuse/core'; import { ref } from 'vue'; export function useKonamiCode() { const rate = ref(0); const konamiCodePattern = [ 'ArrowUp', 'ArrowUp', 'ArrowDown', 'ArrowDown', 'ArrowLeft', 'ArrowRight', 'ArrowLeft', 'ArrowRight', 'b', 'a', ]; onKeyStroke(konamiCodePat...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Xunit; using DevAudit.AuditLibrary; namespace DevAudit.Tests { public class OneGetPackageSourceTests { protected PackageSource oneget = new OneGetPackageSource(new Dictionary<stri...
var express = require('express'); var fs = require('fs'); var router = express.Router(); router.get('/emma/faq', function(req, res) { var faqs = JSON.parse(fs.readFileSync('public/projects/emma/faq/faq.json', 'utf8')); res.render('projects/emma/faq', {faqs: faqs}); }); module.exports = router;
#![feature(lang_items)] #![feature(naked_functions)] #![feature(untagged_unions)] #![feature(asm)] #![feature(optin_builtin_traits)] #![feature(panic_info_message)] #![feature(global_asm)] #![feature(negative_impls)] #![feature(alloc_prelude)] #![feature(const_fn)] #![deny(unused_must_use)] #![deny(stable_features)] #!...
#!/bin/bash # tag: text properties # from: https://www2.dmst.aueb.gr/dds/sw/dgsh/#text-properties set -e IN=${VOC:-/usr/share/dict/words} OUTPUT=${OUTPUT:-$PASH_TOP/evaluation/benchmarks/dgsh/input} cd ${OUTPUT} # Consistent sorting across machines export LC_ALL=C # Convert input into a ranked frequency list ranked_...
package com.kernel.finch.components.special import com.kernel.finch.common.contracts.Finch import com.kernel.finch.common.contracts.component.ExpandableComponent import com.kernel.finch.common.models.Text data class ScreenCaptureToolbox( val title: Text = Text.CharSequence(DEFAULT_TITLE), val imageText: Text?...
<?php namespace Itxiao6\Storage; /** * Class Storage * @package Itxiao6\Storage */ class Storage { /** * @var string */ protected $derver = 'Local'; /** * @param $name * @param $arguments * @return mixed|\Itxiao6\Storage\Disk\Interfaces */ public function __call($name, $...
#import <Foundation/Foundation.h> #import "DDXML.h" @interface AtomNamespace : NSObject { } + (DDXMLNode *)atom; + (DDXMLNode *)atomWithPrefix; + (DDXMLNode *)app; + (DDXMLNode *)appWithPrefix; + (DDXMLNode *)openSearch; + (DDXMLNode *)threading; @end
package com.samplecode import scala.util.Failure import scala.util.Success import akka.actor.{Actor, ActorSystem, Props} import akka.http.scaladsl.Http import akka.http.scaladsl.server.Route import StartApp.{startHttpServer, system} object StartApp extends App { def startHttpServer(routes: Route, system: ActorSy...
const next = require('next') const Koa = require('koa') const dev = process.env.NODE_ENV !== 'production' const app = next({ dev }) const handle = app.getRequestHandler() const PORT = 8000 app.prepare().then(() => { const server = new Koa() server.use((ctx, next) => { console.log(ctx.path) n...
package com.revenuecat.sample.ui.user import android.app.AlertDialog import android.graphics.Color import android.os.Bundle import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import android.widget.Button import android.widget.EditText import android.widget.TextView import android...
/** * */ package ompca.vodcg; import java.util.ConcurrentModificationException; import java.util.Set; import java.util.function.Consumer; /** * @author Kao, Chen-yi * */ public class SynchronousReadSet<T> { private String name; private Set<T> kernel; @SuppressWarnings("deprecation") public SynchronousRea...
package com.example.nfc.mynfcreader import android.annotation.SuppressLint import android.graphics.Bitmap import android.support.v7.app.AppCompatActivity import android.os.Bundle import android.view.View import android.webkit.WebChromeClient import android.webkit.WebSettings import android.webkit.WebView import androi...
class ActivitiesController < ApplicationController skip_authorization_check skip_before_action :authenticate_user! def index callback = params[:callback] search_result = Activity.search(params) render :text=> "#{callback}(#{search_result.to_json})" and return end def show callback = params[:cal...
package main import ( "bufio" "fmt" "os" "strconv" "strings" "super-three-men-morris/board" ) const rules = ` * Each player has 3 pieces, one set white and the other black * The board is a 3x3 grid with 9 spaces * Players take turns placing their pieces on empty intersections, starting with the white one * Onc...
# these are put here because the top __init__.py imports BaseClass # causing a circular import BLUE = "\033[34m" RED = "\033[31m" BOLD = "\033[1m" RESET = "\033[0;0m" BOLD_RESET = BOLD + '{0}' + RESET
using System; namespace EmployeeTracker { public abstract class Employee { protected string _name; protected string _address; public Employee(string name, string address) { _name = name; _address = address; } public virtual decimal CalcP...