text
stringlengths
27
775k
import { TypeTreeNode } from "../../Type Scope/TypeScope"; import { ITypeCheckingType } from "../ExpressionType"; import { Expression } from "./Expression"; export class TypeReferenceExpression extends Expression { public name = "TypeReferenceExpression"; public type: ITypeCheckingType | undefined; public node: ...
<?php namespace common\tests\unit\models; use Codeception\Test\Unit; use common\components\NonPresentAppleException; use common\fixtures\AppleFixture; use common\models\apple\Apple; use common\tests\UnitTester; use yii\base\Exception; class FutureEatingTest extends Unit { /** * @var UnitTester */ p...
--- title: "SD-WAN" linkTitle: "Document" weight: 5 collapsible: true icon: "/images/icons/index/product-icon-network.svg" Section1: children: - title: 企业云网 url: "/sd-wan/sdwan/intro/intro/" - title: 光盒 url: "/sd-wan/light-box/intro/intro/" - title: SD-WAN(新版) url: "/sd-wan/sdwan_new/...
// // GLRCoreAppearControl.h // GLRouter // // Created by liguoliang on 2020/10/10. // #import <UIKit/UIKit.h> #import <GLRouter/GLRBase.h> @interface GLRCoreAppearControl : GLRBase /// push页面 /// @param cls 页面名称 /// @param params 可选参数。初始化以后,进行的参数设置 /// @param container 可选父级容器。为空则使用root向下查找两级是否存在导航进行push。如果没找到,则返回...
<?php class Buscar extends Controller{ public $MODULE = "buscar"; public $TITLE = "Resultados de tu búsqueda"; public function index(){ $query = $_GET["query"]; $filter = '{ "filter":{ "title": "'.$query.'" } }'; $res...
# Book Errata A considerable amount of time was expended proofreading the book details. Besides the author there were several other people who also looked for errors. Sadly, not all errors were caught during production but not all. This document describes the errors found. ## Errors ### Preface Page IX, 4th paragr...
// No copyright #include "mnian/widget_history_tree.h" #include <imgui.h> #include <algorithm> #include <cstring> #include <queue> #include <stack> #include <vector> #include "mnian/app.h" namespace mnian { void HistoryTreeWidget::Register(core::DeserializerRegistry* reg) { reg->RegisterType<core::iWidget, Hist...
import {CommunicationObserver, Headers} from '../results' export default function completeCommunicationObserver( callbacks: Partial<CommunicationObserver<any>> = {} ): Omit<Required<CommunicationObserver<any>>, 'useCancellable'> { let state = 0 const retVal = { next: (data: any): void => { if ( ...
module Cms::Addon module CheckLinks extend ActiveSupport::Concern extend SS::Addon included do field :check_links_errors, type: Array field :check_links_errors_updated, type: DateTime scope :has_check_links_errors, ->{ where(:check_links_errors.exists => true) } end end end
## Help Wanted - Firefox/Safari/Edge port ## Things I am aware of: - Text replacement is aggressive and does not discriminate on what domains it runs on - More than just the term "millennials" gets replaced - There is a lack of a glossary. This is intended. - I'll sometimes allow new terms, but not on any given sched...
> Docs ▸ **Table of Content** ### [Getting started](Getting-started.md) ### [API Reference](api/index.md) * [Brief version of everything](api/index.md) * module: [AbstractChart](api/AbstractChart.md) * module: [CanvasChart](api/CanvasChart.md) * module: [HybridChart](api/HybridChart.md) * module: [SvgChart](api/SvgC...
using System; using System.Collections.Generic; using System.IO; using System.Json; using System.Linq; namespace chess_pos_db_gui { public class UciEngineProfileStorage { private string ProfileListPath { get; set; } public IList<UciEngineProfile> Profiles { get; private set; } public...
#!/usr/bin/env bash APPDIR=target RESDIR=src/main/resources BUNDLEDIR=target/bundle #Exchange with your ARN LAMBDA_ROLE_ARN=arn:aws:iam::XXXXXXXX:role/yourlambdaarn function bundle() { rm -rf ${BUNDLEDIR} mvn clean package -Pnative-image -Dnative-image.docker-build=true mkdir -p ${BUNDLEDIR} cp -r ${...
@file:OptIn(ExperimentalSerializationApi::class) package com.tajmoti.libtvprovider.kinox.model import kotlinx.serialization.ExperimentalSerializationApi import kotlinx.serialization.Serializable import kotlinx.serialization.json.JsonNames @Serializable data class StreamReferenceObject( @JsonNames("Stream") v...
'use strict'; /** * @class */ function Socket() { /** Port number. */ this['port#number'] = 0; } /** Open a connection. */ Socket.prototype['open~a.connection#now'] = function() {};
; Base area SMSQ system sprites section header xref smsq_end include 'dev8_keys_con' include 'dev8_smsq_smsq_base_keys' include 'dev8_smsq_smsq_config_keys' include 'dev8_keys_qdos_sms' include 'dev8_keys_qdos_ioa' include 'dev8_keys_qdos_io' include 'dev8_keys_sys' header_base dc.l sys_sprt-header_base ;...
/************************************************************ * Use of this source code is governed by a BSD-style license * that can be found in the License file. * * Author : yefeng * Email : yefeng38083120@126.com * Create time : 2016-10-04 17:49 * Last modified : 2016-10-04 18:17 * Filenam...
--- title: 建立適用于 Azure VPN 用戶端的 Intune 設定檔 titleSuffix: Azure VPN Gateway description: 瞭解如何建立 Intune 自訂設定檔以部署 Azure VPN 用戶端設定檔 author: cherylmc ms.service: vpn-gateway ms.topic: how-to ms.date: 09/15/2020 ms.author: cherylmc ms.openlocfilehash: 63b1d7f95711017feba52cad97f05128d83734da ms.sourcegitcommit: 8e7316bd4c4991...
require 'sqlite3' require 'time' class Database def initialize() @timestamp = Time.now.to_i file = '/var/local/clearance.sqlite' system(%Q[touch "#{file}"]) @sqlite = SQLite3::Database.new file end def setup() createCommand = 'CREATE TABLE IF NOT EXISTS catalog ...
# pushes src/wwwroot to gh-pages branch param ([string] $env = "local") $msg = 'gh-pages.ps1: tests/client/wwwroot -> gh-pages' $gitURL = "https://github.com/fsbolero/bolero" write-host -foregroundColor "green" "=====> $msg" function clearDir() { rm -r build/gh-pages -errorAction ignore } if ($env -eq "appveyor"...
package examples.java.receiver.publicfield; public class Correct { private int value = 0; public int increment() { return value++; } }
/* * NRF NFManagement Service * * NRF NFManagement Service * * API version: 1.0.1 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package models type NotificationType string // List of NotificationType const ( NotificationType_N1_MESSAGES NotificationType = "N1_MESSAGES" NotificationTyp...
import { Task } from "./Task"; import { Agent } from "./Agent"; export class PulpAssignmentUniqueCost { tasks: Task[]; agents: Agent[]; }
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Auth { public interface IUserService { Task<IEnumerable<Role>> GetRolesAsync(User user); Task<User> AddUserAsync(User user); Task<User> AddUserToRoleAsync(str...
import { ResetPasswordDto } from './dto/reset-password.dto'; import { BadRequestException, Injectable } from '@nestjs/common'; import { UsersRespository } from '../../repositories/users/users.respository'; import { LoginAuthDto } from './dto/login-auth.dto'; import { HelperService } from '../../services/helper/helper.s...
use ckb_occupied_capacity::Result as CapacityResult; use crate::{core::Capacity, packed, prelude::*}; impl packed::Script { pub fn occupied_capacity(&self) -> CapacityResult<Capacity> { Capacity::bytes( self.args() .into_iter() .map(|arg| arg.as_reader().as_unpa...
<?php class TestCSSPageBreakAfter extends GenericTest { function testCSSPageBreakAfter1() { $tree = $this->runPipeline(file_get_contents('test.css.page.break.after.1.html')); $div = $tree->get_element_by_id('div'); $this->assertEqual(PAGE_BREAK_AVOID, $div->getCSSProperty(CSS_PAGE_BREAK_AFTER)); } f...
package nodemcu import ( "bufio" "bytes" "errors" "fmt" "io" "io/ioutil" "log" "os" "path/filepath" "strconv" "strings" "time" "github.com/tarm/serial" ) var ( errUnexpectedData = errors.New("Unexpected data") errACKFail = errors.New("ACK failure") errNotReady = errors.New("Device isn't ...
<?php namespace App\Http\Controllers; use App\Actions\Account\StoreAccount; use App\Actions\Account\UpdateAccount; use App\Actions\Account\DeleteAccount; use Illuminate\Http\Request; use Inertia\Inertia; use App\Models\User; use Illuminate\Support\Facades\Redirect; class AccountController extends Controller { pu...
#!/usr/bin/env zsh _fzf_complete_composer() { if [[ $@ = 'composer'* ]]; then _fzf_complete_composer-run-script '' $@ return fi _fzf_path_completion "$prefix" $@ } _fzf_complete_composer-run-script() { local fzf_options=$1 shift local composer=./composer.json if [[ ! -f $...
# fdt-rs [![crates.io](https://img.shields.io/crates/v/fdt-rs)](https://crates.io/crates/fdt-rs) [![](https://img.shields.io/crates/d/fdt-rs.svg)](https://crates.io/crates/fdt-rs) [![](https://docs.rs/fdt-rs/badge.svg)](https://docs.rs/fdt-rs/) [![](https://gitlab.com/ertos/fdt-rs/badges/master/pipeline.svg?key_text=b...
<?php namespace Zanichelli\HealthCheck\Http\Models; use Exception; use Illuminate\Support\Facades\Log; use Illuminate\Support\Facades\Storage; use Zanichelli\HealthCheck\Http\Constants\Service; use Zanichelli\HealthCheck\Http\Models\Status; class S3Checker implements CheckerInterface { private $diskName; pu...
<?php namespace App\Http\Controllers\Notes; use App\Http\Controllers\Controller; use App\Models\NotesModel; use Illuminate\Http\Request; /** * Notes controller that contains methods for the RESTful API * * Class NotesController */ class NotesController extends Controller { /** * Gets previously set note...
/** * @license * Copyright Alibaba.com All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE */ import { ChangeDetectionStrategy, ChangeDetectorRef, Component, ElementRe...
/** * @type {import('electron-builder').Configuration} * @see https://www.electron.build/configuration/configuration */ const config = { appId: 'com.electron.scrapbook', productName: 'Scrapbook', artifactName: '${name}-${version}-${os}-${arch}-setup.${ext}', directories: { output: 'dist', buildResour...
--- title: "cowsay mixin" vanity: "https://github.com/carolynvs/porter-cowsay" url: "/mixin/cowsay/" ---
export class EmployeeProgram { constructor( //public efid: string = "", public empid: string = "", public finyear: string = "", public pgid: string = "", public depid: string = "", public desid: string = "", public reportto: string = "", ) { } }
AF-A0AV96-F1-model_v1_Repair.pdb RA381G; A . . AF-A1A4S6-F1-model_v1_Repair.pdb IA340T; A . . AF-A2PYH4-F1-model_v1_Repair.pdb SA227T; A . . AF-A4D1E1-F1-model_v1_Repair.pdb RA406I; A . . AF-A6H8Y1-F1-model_v1_Repair.pdb GA254V; A . . AF-A6NDV4-F1-model_v1_Repair.pdb RA377H; A . . AF-A6NI47-F1-model_v1_Repair.pdb GA411...
module Spree module LineItems class Update prepend Spree::ServiceModule::Base include Helper def call(line_item:, line_item_attributes: {}, options: {}) ActiveRecord::Base.transaction do return failure(line_item) unless line_item.update(line_item_attributes) recalcu...
// Copyright © 2015 ~ 2017 Sunsoft Studio, All rights reserved. // Umizoo is a framework can help you develop DDD and CQRS style applications. // // Created by young.han with Visual Studio 2017 on 2017-08-08. using System.Runtime.Serialization; namespace Umizoo.Messaging { /// <summary> /// 表示创建或修改一个聚合根...
/* * @Description: * @Version: 1.0 * @Autor: gll * @Date: 2020-12-05 14:47:32 * @LastEditors: gll * @LastEditTime: 2020-12-11 14:39:30 */ import customZhCn from '@/locale/lang/zh-CN' import customEnUs from '@/locale/lang/en-US' import zhCnLocale from '@/locale/lang/zh-CN' import enUsLocale from '@/locale/lang/en...
#!/usr/bin/env bats load helpers "install.sh" #function setup() {} #function teardown() {} @test '#should_the_dotfile_be_skipped should return 0 when the file that is out of target was specified' { run should_the_dotfile_be_skipped ".vim" [[ "$status" -ne 0 ]] run should_the_dotfile_be_skipped ".tmux.conf...
% Copyright (c) Facebook, Inc. and its affiliates. % % This source code is licensed under the MIT license found in the % LICENSE file in the root directory of this source tree. -module(features_short_circuit). -export([ test_and_Ok/0, test_and_Bad/0, test_andalso_Ok/0, test_andalso_Bad/0, test_or_...
package com.example.simpletodo; import androidx.room.Dao; import androidx.room.Delete; import androidx.room.Insert; import androidx.room.Query; import androidx.room.Update; import java.util.List; @Dao public interface TodoDao { @Query("SELECT * FROM todos") List<Todo> getAll(); @Insert void insert(...
module correlation ! JLR 30/6/2014 ! ! uneven sampled correlation using Gaussian kernel using method of ! Rehfeld et al, Nonlinear Processes in Geophysics, 2011 implicit none contains function correlate_gaussian(x,y,tx,ty) real :: correlate_gaussian real, intent(in) :: x(:),y(:),tx(:),ty(:) integer :: n,m,i,j real...
// Copyright (c) Microsoft. All rights reserved. namespace TestResultCoordinator { using System; using System.Threading; using System.Threading.Tasks; using Microsoft.AspNetCore.Hosting; using Microsoft.Azure.Devices.Edge.ModuleUtil; using Microsoft.Azure.Devices.Edge.Util; using Microsoft.E...
/** * Created by Administrator on 2016/8/28. */ $(function () { $('.dropdown-toggle').click(function () { if ($(window).width() > 767) { location.href="http://myshop.index.com/"; } }); });
/* * * Copyright 2018 Netflix, Inc. * * 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 ap...
package eightsidedsquare.Illegal.common.block; import net.minecraft.block.Block; import net.minecraft.block.BlockState; import net.minecraft.block.ShapeContext; import net.minecraft.util.math.BlockPos; import net.minecraft.util.shape.VoxelShape; import net.minecraft.world.BlockView; public class SmallBlock extends Bl...
; Miniscule: the world's smallest generic virus (only 31 bytes long!) ; (C) 1992 Nowhere Man and [NuKE] WaReZ ; Written on January 22, 1991 code segment 'CODE' assume cs:code,ds:code,es:code,ss:code org 0100h main proc near ; Find the name of the first file and return it in the DTA. No checking ; is done f...
# Numerical Vectors <div class="warning"> WIP: Quite a complex section </div>
/** * Created by Kelvin on 6/28/2016. */ 'use strict'; describe('Controller: RSVPCodeCtrl', function () { // load the controller's module beforeEach(module('tiffanyAndKelvin')); beforeEach(module('templates')); var RSVPCodeCtrl, scope, rootScope, deferred; var rsvpFactory...
import static org.junit.Assert.*; import java.io.IOException; import java.util.List; import org.junit.After; import org.junit.Before; import org.junit.Test; public class SearchUnitTest1 { private Graph g1; public final static int DF = 0; public final static int BF = 1; public final static int SAME = 2; public...
CREATE TABLE `pizza` ( `id` int(11) NOT NULL AUTO_INCREMENT, `categorie` varchar(50) NOT NULL DEFAULT 'SANS_VIANDE', `code` varchar(3) DEFAULT NULL, `nom` varchar(50) DEFAULT NULL, `prix` decimal(10,2) NOT NULL, `url_image` varchar(500) DEFAULT NULL, PRIMARY KEY (`id`), UNIQUE KEY `UK_uwl42bkm53vnwm0nck...
module DMPRoadmap class Application < Rails::Application WickedPdf.config = { :exe_path => '/usr/local/bundle/bin/wkhtmltopdf' } end end
INSERT INTO demo(title, description) VALUES ('Call of the wild', 'bla bla bla bla')
ENV["RAILS_ENV"] = "test" $:.unshift File.dirname(__FILE__) $:.unshift File.expand_path('../../lib', __FILE__) require "scenario/config/environment" require 'rspec/rails' require 'capybara/rspec' require 'pry' require 'database_cleaner/active_record' RSpec.configure do |config| config.before(:suite) do Databas...
module SportDb class CsvEventImporter def self.read( path, league:, season:, headers: nil ) txt = File.open( path, 'r:utf-8' ) {|f| f.read } parse( txt, league: league, season: season, headers: headers ) end def self.parse( txt, lea...
package annotator.tests; public class ConstructorParam { public ConstructorParam(int paramB) {} }
package zapmixin import "go.uber.org/zap/zapcore" var AllLevels = []zapcore.Level{ zapcore.DebugLevel, zapcore.InfoLevel, zapcore.WarnLevel, zapcore.ErrorLevel, zapcore.PanicLevel, zapcore.FatalLevel, } func getLevelThreshold(l zapcore.Level) []zapcore.Level { for i := range AllLevels { if AllLevels[i] == l...
### 2.0.0 - 2018-03-28 This is a breaking maintenance release. * (SERVER-2160) Remove logic for JRuby 1.7 vs 9k, assuming 9k always * Bump JRuby version to 9.1.16.0-1 ### 1.1.0 - 2018-02-27 * (SERVER-2130) Default to jit compile-mode for jruby 9k * (SERVER-2081) Set KCode, source encoding and external encoding to e...
var a: String? = "Hello world" var b: String? = "Hello world" var c: String? = "Hello other world" val d = <warning descr="SSR">a != b</warning> val e = <warning descr="SSR">!(a?.equals(b) ?: (b === null))</warning> val f = a != c val g = c != b val h = !(a?.equals(c) ?: (b === null)) val i = !(c?.equals(b) ?: ...
;; Flipping out ;; Write a higher-order function which flips the order of the arguments of an input function. (defn flip-out [f] (fn fo [x y] (f y x))) ;; Tests (println (= 3 ((flip-out nth) 2 [1 2 3 4 5]))) (println (= true ((flip-out >) 7 8))) (println (= 4 ((flip-out quot) 2 8))) (println (= [1 2 3] ((flip...
UPDATE ${type:raw}s SET ${keyvalues:raw} WHERE id = ${id} ;
// // classEmptyPointVisitFunc.cpp // CppCore // // Created by paramAki on 2021/11/21. // //#include <iostream> //using namespace std; // //class Person{ //public: // void showName(){ // cout << "thi is a Person class" << endl; // } // // void showAge(){ // if(this == NULL) return; // ...
#include "ShaderData.h" std::shared_ptr<QOpenGLShaderProgram> ShaderData::get_shader_program() { if (shader_program == nullptr) { shader_program = std::make_shared<QOpenGLShaderProgram>(); shader_program->addShaderFromSourceFile(QOpenGLShader::Vertex, vertex.c_str(...
# Sequelize 本文档介绍如何在 Midway 中使用 Sequelize 模块。 相关信息: | 描述 | | | -------------------- | ---- | | 可作为主框架独立使用 | ❌ | | 包含自定义日志 | ❌ | | 可独立添加中间件 | ❌ | ## 使用方法: ```bash $ npm i @midwayjs/sequelize@beta --save ``` ## 安装数据库 Driver 常用数据库驱动如下,选择你对应连接的数据库类型安装: ```bash # for MySQL ...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Models\Author; use Illuminate\Support\Facades\Validator; use Response; class AuthorController extends Controller { public $data; public function __construct(){ $this->data = new Author(); } public function saveMessage(Requ...
(ns appengine.datastore.core (:import (com.google.appengine.api.datastore DatastoreConfig DatastoreServiceFactory Entity Key Query KeyFactory Transaction))) ;; Bound per-thread as part of the dotransaction macro using binding ;; Do not change this value directly except if you know what you are ;; d...
#!/bin/bash set -ex pushd source-code echo "Fetching Dependencies & Building Code..." ./gradlew common-api:assemble > /dev/null echo "Running Tests..." ./gradlew common-api:test popd exit 0
## Azure Migrate for Servers 1. [Lift & Shift DC Migration Overview](./overview.md) 2. [Scan State](./scan.md) 3. [Assess and Select Migration Waves](./assess.md) 4. [Design and Build Landing Zone](./landingzone.md) 5. [Replication of Migration Waves](./replication.md) 6. [End to End Test of Migration Waves](./testi...
#!/usr/bin/ruby -w # Loops $i = 0 $num = 5 while $i < $num do # while $i < $num # while $i < $num ; # while $i < $num \\ puts("inside loop i = #$i") $i += 1 end $i2 = 1 $num2 = 6 begin puts("modifier while i = #$i2") $i2 += 2 end while $i2 < $num2 for i in 0..5 puts "Value of local variable is #{i}" end ...
--- title: 北邮计算机考研大纲 date: 2020-02-20 17:12:35 +0800 category: conquer tags: 考研 excerpt: BUPT考研大纲 --- # 803计算机学科基础综合 ## 考查目标 计算机学科基础综合考试涵盖数据结构、计算机组成原理、操作系统和计算机网络等学科专业基础课程。要求考生比较系统地掌握上述专业基础课程的基本概念、基本原理和基本方法,能够综合运用所学的基本原理和基本方法分析、判断和解决有关理论问题和实际问题。 ## 考试形式和试卷结构 1、试卷满分及考试时间 本试卷满分为150分,考试时间为180分钟。 2、答题方式 答题方式为闭卷、笔试。...
/** * Copyright (c) OpenLens Authors. All rights reserved. * Licensed under MIT License. See LICENSE in root directory for more information. */ import { LensExtension } from "../lens-extension"; import { Console } from "console"; import { stdout, stderr } from "process"; console = new Console(stdout, stderr); let...
package objects import "fmt" // Game represents the state of the game. type Game struct { Cursor Cursor Dimensions Dimensions World Dimensions Buildings []Building Turn Turn Funds int Revenue int Population int PopulationGrowth int Flas...
// // GMVPNServer.h // VPNTest // // Created by Георгий Малюков on 22.12.16. // Copyright © 2016 Georgiy Malyukov. All rights reserved. // #import <Foundation/Foundation.h> @interface GMVPNServer : NSObject<NSCoding> { } @property (copy, nonatomic) NSString *name; @property (copy, nonatomic) NSString *addr...
use ggez::{Context, filesystem, GameResult}; use crate::npc::NPCTable; use crate::scene::Scene; use crate::shared_game_state::SharedGameState; use crate::stage::StageData; use crate::text_script::TextScript; pub struct LoadingScene { tick: usize, } impl LoadingScene { pub fn new() -> Self { Self { ...
// Copyright 2022 Datafuse Labs. // // 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 ...
//! Output. pub mod data; pub use self::data::*;
package insertion_sort_list import ( "testing" ) func TestInsertionSortListIteration(t *testing.T) { fifthNode := &ListNode{1, nil} fourthNode := &ListNode{5, fifthNode} thirdNode := &ListNode{2, fourthNode} secondNode := &ListNode{4, thirdNode} firstNode := &ListNode{1000, secondNode} resultVal := []int{1, 2,...
class OprahsFavoriteThings::CLI def start OprahsFavoriteThings::Scraper.scrape_favorites favorites = OprahsFavoriteThings::Favorites.all input = nil while input != "exit" puts "" puts "Welcome to Oprah's Favorite Things of 2018. From this list, enter a number from 1-15:" favorites.each_...
package org.craftsrecords.talkadvisor.recommendation.profile class ProfileAlreadyExistsException(userId: String) : RuntimeException("A profile already exists for the user $userId")
#!/bin/bash DIR=$(dirname "${BASH_SOURCE[0]}") source "$DIR/shared.sh" ASO_IDENTITY_ID=$(az identity show -n $ASO_IDENTITY_NAME -g $INFRA_RESOURCE_GROUP --query "id" -o tsv) ASO_IDENTITY_CLIENTID=$(az identity show -n $ASO_IDENTITY_NAME -g $INFRA_RESOURCE_GROUP --query "clientId" -o tsv) APP_IDENTITY_ID=$(az identit...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; usin...
//! Parsing of token-stream into data-structures. use super::*; /// Parses the stream of tokens into a list. pub fn parse_list( tokens: &mut PeekableTokenStream<impl TokenStream> ) -> Result<Vec<Expression>, ParseError> { let mut list = Vec::default(); while let Some(t) = tokens.peek() { if let T...
require 'fiber' module CartoDB class ConnectionPool MAX_POOL_SIZE = 300 def initialize @pool = {} end def fetch(configuration, &block) if @pool[connection_id(configuration)] Rails.logger.debug "[pool] Found a connection for #{connection_id(configuration)} (#{@pool.k...
# parallax-news-corp News blog theme made with materialize css <br> Link to parallax news corp theme<br> https://news-corp.netlify.com/
package com.infinum.dbinspector.domain.shared.base internal interface BaseInteractor<InputModel, OutputModel> { suspend operator fun invoke(input: InputModel): OutputModel }
# Semana06 Hola Mundo! Primaria: https://grmack01.github.io/Semana06.io/ Secundaria: https://grmack01.github.io/Semana06.io/index.html
class LodestoneLogger extend SingleForwardable def_delegators :logger, :info, :error, :warn, :level class << self def logger if @logger.nil? file = File.new("log/#{ENV['RACK_ENV']}.log", 'a') file.sync = true @logger = Logger.new(file) end @logger end end end...
import request from '@/utils/request' export function fetchJob(query) { return request({ url: '/job/job', method: 'get', params: query }) } export function editJob(query) { return request({ url: '/job/job', method: 'post', params: query }) } export function deleteJob(query) { return...
// Copyright (c) 2014 GitHub, Inc. // Use of this source code is governed by the MIT license that can be // found in the LICENSE file. #ifndef ATOM_BROWSER_EXTENSIONS_ATOM_EXTENSION_SYSTEM_FACTORY_H_ #define ATOM_BROWSER_EXTENSIONS_ATOM_EXTENSION_SYSTEM_FACTORY_H_ #include "atom/browser/extensions/atom_extension_syst...
// Copyright 2015 The Rust Project Developers. See the COPYRIGHT // file at the top-level directory of this distribution and at // http://rust-lang.org/COPYRIGHT. // // Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or // http://www.apache.org/licenses/LICENSE-2.0> or the MIT license // <LICENSE-MIT or ...
import React from 'react'; import { ButtonGroup } from 'react-button-group-tis'; import 'react-button-group-tis/dist/index.css'; const App = () => { return ( <div className='App'> <div className='Title'> ButtonGroup Tis </div> <ButtonGroup className='ButtonGroup' items=...
<?php declare(strict_types=1); namespace Longman\LaravelLodash\Redis; use Illuminate\Redis\Connectors\PredisConnector; use Illuminate\Redis\RedisManager as BaseRedisManager; use InvalidArgumentException; use Longman\LaravelLodash\Redis\Connectors\PhpRedisConnector; class RedisManager extends BaseRedisManager { ...
import { Power3, TimelineMax, Back } from 'gsap/gsap-core' import * as THREE from 'three' export default (engine:any) => { // Create a new cube with simple geometry & material const geometry = new THREE.BoxGeometry(15, 15, 15) const texture = new THREE.MeshBasicMaterial() const cube = new THREE.Mesh(geometry, t...
<?php namespace App\Http\Controllers; use App\Adress; use Illuminate\Http\Request; class UserController extends Controller { public function index() { $adress = Adress::all(); // @dd($adress) // echo json_encode($adress); return view('dashboard', compact('adress')); } }
import 'package:dojin_hub/log/debug_log.dart'; import 'package:flutter/widgets.dart'; abstract class WidgetListener { final FocusNode focusNode = FocusNode(); WidgetListener(); void requestFocus(BuildContext context) { FocusScope.of(context).requestFocus(focusNode); } void unFocus(BuildContext context...
package edu.rice.owltorrent.network.messages; import edu.rice.owltorrent.common.entity.Bitfield; import java.io.IOException; import org.junit.Test; /** @author shijie */ public class BitfieldMessageTest { @Test public void bytesAndBack() throws IOException { Bitfield bitfield = new Bitfield(16); bitfield....
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright 2010 British Broadcasting Corporation and Kamaelia Contributors(1) # # (1) Kamaelia Contributors are listed in the AUTHORS file and at # http://www.kamaelia.org/AUTHORS - please extend this file, # not this notice. # # Licensed under the Apache License...