text
stringlengths
27
775k
{-# LANGUAGE TemplateHaskell, ExistentialQuantification #-} module Test.Rufous.Select where import Control.Lens import Data.Time.Clock import qualified Data.Map as M import qualified Test.Rufous.Profile as P import qualified Test.Rufous.Signature as S import qualified Test.Rufous.Run as R import qualified Test.Rufo...
package dynamock import ( "github.com/pkg/errors" ) var ( ErrInvalidInput = errors.New("invalid input") ErrNoExpectation = errors.New("expectations not found") ErrNoTable = errors.New("expectations table not found") ErrNoKey = errors.New("expectations ke...
use std::io::{self, Write}; use term_painter::{Color, ToStyle}; use game::{CellId, GameState, Move}; use super::{Player, Role}; pub struct HumanPlayer; impl Player for HumanPlayer { fn new() -> Self { HumanPlayer } fn player_kind(&self) -> &'static str { "human" } fn next_move<...
import { ActionType, Index } from "../common"; import * as actions from "./actions"; import { clearCurrentPullRequest, setCurrentPullRequest } from "../context/actions"; import { ProviderPullRequestActionsTypes, ProviderPullRequestsState } from "./types"; import { createSelector } from "reselect"; import { CodeStreamSt...
<?php use Illuminate\Database\Seeder; use Faker\Generator as Faker; use App\Author; use App\AuthorDetail; use App\Post; use App\Comment; class PostSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run(Faker $faker) { for($i = 0; $i<10; $...
#include "ImwMenu.h" #include "ImwWindowManager.h" namespace ImWindow { //SFF_BEGIN ImwMenu::ImwMenu(ImwWindowManager& manager, int iHorizontalPriority, bool bAutoDeleted) : m_pManager(manager) { m_iHorizontalPriority = iHorizontalPriority; m_bAutoDeleted = bAutoDeleted; m_pManager.AddMenu(this); } Imw...
<?php require_once __DIR__ . "/../config/config.php"; session_start(); session_unset(); session_destroy(); header("location: " . constant('URL'));
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class Authorizations extends CI_Controller { public function login(){ $this->load->library('session'); $this->load->model('authorization_model'); $this->load->library('form_validation'); echo validation_er...
package org.jc.test.kaleido.entity; /** * @author xiayc * @date 2019/9/3 */ public class UserExtInfo { private Integer id; private String uid; private Double age; public UserExtInfo() { } public UserExtInfo(Integer id, String uid, Double age) { this.id = id; this.uid = uid;...
using System; using System.IO; using System.Net; using System.Runtime.Serialization; using System.Text; using NUnit.Framework; namespace ServiceStack.WebHost.Endpoints.Tests { [Route("/onewayrequest", "DELETE")] public class DeleteOneWayRequest : IReturnVoid { public string Prefix { ge...
@extends('layouts.admin') @section('titulo') <span>Perfil</span> @endsection @section('contenido') @livewire('show') @endsection
namespace Fiskinfo.Fangstanalyse.API.Constants { public class CorsPolicyName { public const string AllowAny = nameof(AllowAny); public const string AllowProd = nameof(AllowProd); } }
--- templateKey: info infoKey: Group Run Info forEventType: Group Run --- ## Session format We meet at the Y Club reception at 6:30pm. After a quick warm up, the Captains will gather the group together for club notices, after which we’ll split into sub-groups before we head off on the run. Each group will run at a di...
use std::str::FromStr; use solana_program::{system_program, sysvar}; use solana_program_test::*; use solana_sdk::{ account::ReadableAccount, hash::Hash, instruction::{AccountMeta, Instruction}, program_pack::Pack, pubkey::Pubkey, signature::{Keypair, Signer}, transaction::Transaction, }; u...
(ns sketches.generative-desgin.P-02.P-2-3-4-01 (:require [quil.core :as q :include-macros true] [quil.middleware :as md])) (defn setup [] (q/background 255) {:x (q/mouse-x) :y (q/mouse-y) :step-size 5 :module-size 25 :angle 0 :d 0 :line-module (q/load-image "images/dynamic-brush.svg...
package main import "fmt" import "encoding/json" type Person struct { No string `json:"no"` Name string `json:"name"` Sex bool `json:"sex"` Age int `json:"age"` Address string `json:"address"` } func main(){ person := &Person{"430725198001190911","景峯",true,30,"Shenzhen,China"} personJson, _ := json.Mar...
<?php /* * This File is part of the Lucid\Package\Exception package * * (c) iwyg <mail@thomas-appel.com> * * For full copyright and license information, please refer to the LICENSE file * that was distributed with this package. */ namespace Lucid\Package\Exception; use LogicException; /** * @class Requireme...
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. import "package:expect/expect.dart"; const m1 = const {'a': 400 + 99}; const m2 = const {'a': 499, 'b'...
--- layout: "blog_by_category" category: "tanitim" permalink: "/blog/category/tanitim/" header-img: "img/archive-bg.jpg" ---
package com.marathon.manage.service; import com.marathon.manage.pojo.ClassifyActivitysInfo; import com.marathon.manage.pojo.MarathonExtendInfo; import com.marathon.manage.pojo.MarathonInfo; import com.marathon.manage.vo.Page; import java.util.List; import java.util.Map; /** * Created by cui on 2017/5/16. */ public...
import React from 'react' const LeaderboardListElement = ({ rank, leader }) => { const FEET_PER_FLIGHT = 13 function elevation(flights) { return `${(flights * FEET_PER_FLIGHT).toLocaleString()} ft` } return ( <tr> <td>{rank}</td> <td>{leader.name}</td> <td>{elevation(leader.total)}<...
module.exports = function () { var srcDir = 'src/', exampleDir = 'example/', distDir = './', sourceFiles = [ srcDir.concat('**/*.js'), srcDir.concat('*.js'), ]; var pipelines = { package: { src: sourceFiles, dest: distDir }, validate: { src: sourceFiles ...
@using Microsoft.Extensions.Configuration @using League.ConfigurationPoco @inject IConfiguration Configuration @{ var googleConfig = new GoogleConfiguration(); Configuration.Bind("GoogleConfiguration", googleConfig); } @*<!-- Global site tag (gtag.js) - Google Analytics -->*@ <script async src="https://www...
<?php declare(strict_types=1); namespace PeachySQL; use PHPUnit\Framework\TestCase; /** * Tests for the BulkInsertResult object */ class BulkInsertResultTest extends TestCase { public function testCreateRetrieve(): void { $result = new BulkInsertResult([48, 49, 50], 6, 2); $this->assertSam...
import { ProductDto } from './product.dto'; import { CategoryDto } from './category.dto'; import { CommentDto } from './comment.dto'; export { ProductDto, CategoryDto, CommentDto };
package helpers.application import connectors.{DefaultEtmpConnector, EtmpConnector} import helpers.wiremock.WireMockConfig import metrics.{DefaultServiceMetrics, ServiceMetrics} import org.scalatest.TestSuite import org.scalatestplus.play.guice.GuiceOneServerPerSuite import play.api.Application import play.api.inject...
package layout import ( "bytes" "html/template" "log" ) var ( templates *template.Template ) type ( ILayout interface { Template() *template.Template Context() map[string]interface{} } Layout struct { template *template.Template context map[string]interface{} } ) // Expected directory structure: t...
class BestBooks::CLI def call puts "" puts "Welcome to the Best Books list. " puts "Welcome to the place to find the best books in every genre. Feel free to browse to find out more." puts "Here are the list of 25 books to read before you die." puts "" puts "They are not ranked in any particula...
@extends('template') @section('title', 'E-Folio :: Register Account') @section('content') <link rel="stylesheet" href="{{URL::asset('css/styles2.css') }}" > <div class="container"> <span>REGISTER</span> <form method="POST" action='/createuser'> <div class="first"> <div id="form"> ...
using Kooboo.Lib.Helper; using System.Net.Http; namespace Kooboo.Sites.Payment.Methods.Adyen.Lib { public class AdyenApi { private readonly ApiClient _client; private readonly string _checkoutEndpoint; public AdyenApi(AdyenSetting setting) { _client = ApiClient.Cre...
/* Copyright © 2020 GUILLAUME FOURNIER 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, sof...
- [ ] Bugs - [ ] Weekdays after Pentecost ≠ Pentecost season (opening sentences, invitatory antiphons) - [ ] "Eccles." labeled as Ben Sira - [ ] St. Mark readings + collect - [ ] Finish website2 and merge - [ ] Nested document pages - [ ] Settings page - [ ] Ultimately, build a better/server-side/authenticated +...
# frozen_string_literal: true module HexletCode # creates inputs, textarea class FormFields def initialize(entity) @entity = entity @acc = [] end def input(name, **options) value = @entity.public_send(name) label = Tag.build('label', for: name) { name.capitalize } @acc <<...
package remon import ( "strings" "time" ) // Redis(key) -> Mongo(db,collection,_id) type MapKeyFunc func(key string) (db, collection, _id string) // 同步成功回调函数 type OnSyncSaveFunc func(key string) time.Duration // 同步失败回调函数 type OnSyncErrorFunc func(err error) time.Duration // 同步空闲回调函数 type OnSyncIdleFunc func() ti...
using System; using System.Data; namespace EntityFramework.Expand.FunctionsCore { /// <summary> /// 提供 Entity FrameWork 預存擴增的實作方式 /// </summary> [AttributeUsage(AttributeTargets.Property)] public class EntityFunctionsAttribute : System.Attribute { internal ParameterDirection? Direction...
* **Markwon version**: _{REQUIRED}_ 1. Please specify expected/actual behavior 2. Please specify conditions/steps to reproduce (layout, code, markdown used, etc)
mod impl_construct; mod impl_post_construct; mod impl_quit; mod impl_receive; mod impl_send; pub use self::impl_construct::*; pub use self::impl_post_construct::*; pub use self::impl_quit::*; pub use self::impl_receive::*; pub use self::impl_send::*;
package com.warmthdawn.justenoughdrags.compact.actuallyadditions; import com.warmthdawn.justenoughdrags.jei.GenericGhostHandler; import de.ellpeck.actuallyadditions.mod.inventory.gui.GuiWtfMojang; import de.ellpeck.actuallyadditions.mod.inventory.slot.SlotFilter; import de.ellpeck.actuallyadditions.mod.util.StackUtil...
# MySampleCode 平时研究示例demo ###ZKScrollViewDemo - 1.使用2个imageView实现图片无限轮播功能 - 2.使用scrollView封装九宫格,将功能分离 ###ZKWaterflow - 使用UICollectionView实现瀑布流,展示商品图片 ###ZKCollectionViewDemo - 使用collectionView展示图片的简单使用示例 ###PlayRemote Video - 使用AVPlayer自定义封装播放器 - 可以自定义UI, 进行控制 - 可以实现播放远程视频
import toPairsIn from "lodash.topairsin"; import { SeedOptions, Options, AllTracksData } from "./../types"; import axios from "axios"; import queryString from "query-string"; const url = "https://api.spotify.com/v1"; const whisperifyUrl = "https://whisperify.net/api"; axios.defaults.baseURL = url; export const getUser...
import java.util.ArrayList; import java.util.List; public class ShapeComposite extends Shape { private List<Shape> shapes; public ShapeComposite(){ shapes = new ArrayList<>(); } public void add(Shape s){ shapes.add(s); } @Override public void color(String color) { ...
class Role < Base attr_reader :id, :name, :updated_at ROLES = ROLES_DATE = "2017-09-13".freeze def initialize(attributes, _options = {}) @id = attributes.fetch("id") @name = attributes.fetch("name", nil) @updated_at = ROLES_DATE + "T00:00:00Z" end def self.get_data(_options = {}) [ ...
#BLOCK ObjectPosnCalc.py // Module 4 #Beginning of code# print("Object Position Calculator") while (True): try: x0 = float(input("Input Inital Position: ")) if (x0 < 0): print ("Negative numbers are not allowed.") continue except ValueError: print("The input ...
package edu.umn.amicus.aligners; /** * Basic tuple class for storing begin/end locations that can be hashed for perfect alignments. * * Created by gpfinley on 2/17/17. */ public class BeginEnd { public int begin; public int end; public BeginEnd(int begin, int end) { this.begin = begin; ...
import { UpdatePlaceDto } from './dto/update-place.dto'; import { CreatePlaceDto } from './dto/create-place.dto'; import { PlacesService } from './places.service'; export declare class PlacesController { private readonly placeService; constructor(placeService: PlacesService); getAll(): Promise<import("./pla...
package libhyperstart import ( "syscall" hyperstartapi "github.com/hyperhq/runv/hyperstart/api/json" ) type InfUpdateType uint64 const ( AddInf InfUpdateType = 1 << iota DelInf AddIP DelIP SetMtu ) // Hyperstart interface to hyperstart API type Hyperstart interface { Close() LastStreamSeq() uint64 Pause...
# Akiva::Brain.update do # # add_action :name_of_action do |response| # # 'response' is the same hash passed to all before_actions and to the action itself # # The following keys are set from the start: # response[:filter_matched] => {regex: /[original regex capturing the following (?<stuff_captured>.+)/,...
package codingblocks.com.networkokhttp data class GithubUser( val login:String, val avatar_url:String //val name:String, //val username:String, //val email:String, //val street: String, //val suite: String, //val city: String, //val zipcode:String ) data class Github(val items:ArrayList<GithubUser>)
package ui.cells import android.graphics.Canvas import android.graphics.Paint import support.component.AndroidUtilities import support.Theme /** * Created by yaya-mh on 23/07/2018 09:02 AM. */ open class StationLine : Cloneable{ protected var color : Int = Theme.getColor(Theme.key_avatar_backgroundGr...
package initialize import ( "fmt" "gin-blog/news/global" "gin-blog/news/utils" "go.uber.org/zap" ) // InitLogger 初始化Logger func InitLogger() { // 实例化zap 配置 cfg := zap.NewDevelopmentConfig() // 注意global.Settings.LogsAddress是在settings-dev.yaml配置过的 // 配置日志的输出地址 cfg.OutputPaths = []string{ fmt.Sprintf("%slog_%...
package org.inthewaves.kotlinsignald import org.inthewaves.kotlinsignald.clientprotocol.AutoCloseable import org.inthewaves.kotlinsignald.clientprotocol.v1.structures.ClientMessageWrapper /** * Represents an active incoming message subscription with signald. * * This interface is here because JavaScript has a diff...
/** * The MIT License * Copyright (c) 2011 Kuali Mobility Team * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, ...
(ns vector-of-maps-gorilla.render (:require [gorilla-renderable.core :as render])) (defn list-like "util function used in render" [data value open close separator] {:type :list-like :open open :close close :separator separator :items data :value value}) (defn renderfn "Assumption: all keys of...
# at root dir exec docker build -f ./Examples/SimpleWeb/Dockerfile -t yoyofx/yoyogo:v-20201104-56b0d607160cac3954d21f545bcd644541667309 . kubectl create configmap yoyogo-demo-test -n yoyogo --from-file=config_test.yml
2D Game ============ A slowly updating 2D game written in Java.
module Plans::CalendarHelper def month_in_weeks month cursor = month.at_beginning_of_month.at_beginning_of_week.to_date ending = month.at_end_of_month.at_beginning_of_week.to_date weeks = [] while cursor <= ending weeks << cursor.all_week cursor = cursor.advance weeks: 1 end we...
/* eslint-disable max-classes-per-file */ import localize from './i18n/localize'; export class FormatError extends Error { name = 'FormatError'; constructor() { super(localize.t('errors.format.time')); } } export class UnspecificError extends Error { name = 'UnspecificError'; constructor() { super(...
#!/bin/bash function startProject { git init # this command doesn't work like this, it always brings a menu #npx license $(npm get init.license) -o "$(npm get init.author.name)" > LICENSE npx license echo 'node_modules/' >> .gitignore npm init -y git add . git commit -m "Start project" }
using Unidecode.NET; namespace ALD.LibFiscalCode.StringManipulation { public class UnidecodeSplittingStrategy : ISplittingStrategy { public string Result { get; private set; } public UnidecodeSplittingStrategy(string targetString) { TargetString = targetString; ...
#!/bin/bash DOCUMENT_ID="1mzNxCyrUTBF7-lQGPLYT0HuUODvVvtsb" FINAL_DOWNLOADED_FILENAME="val.zip" curl -c /tmp/cookies "https://drive.google.com/uc?export=download&id=$DOCUMENT_ID" > /tmp/intermezzo.html curl -L -b /tmp/cookies "https://drive.google.com$(cat /tmp/intermezzo.html | grep -Po 'uc-download-link" [^>]* href=...
package vaults import ( "github.com/VrncQuentin/mai-sdk/types" w3 "github.com/umbracle/go-web3" "math/big" ) type checkCollateralPercentage struct { w3.BlockNumber id ID } func CheckCollateralPercentage() *checkCollateralPercentage { return new(checkCollateralPercentage) } func (cdr *checkCollateralPercentage...
import { BrowserModule } from '@angular/platform-browser'; import { BrowserAnimationsModule } from '@angular/platform-browser/animations'; import { NgModule } from '@angular/core'; import { FormsModule, ReactiveFormsModule } from '@angular/forms'; import { HttpClientModule, HTTP_INTERCEPTORS } from '@angular/common/htt...
#include<bits/stdc++.h> using namespace std; typedef long long int ll; typedef unsigned long long int llu; int r,c; bool isvalid(tuple<int,int,char> &p) { int x,y; char direction; tie(x,y,direction)=p; if(x>=0&&x<r&&y>=0&&y<c) return true; return false; } void move_ant(tuple<int,int,char> &ant)...
import { NgModule } from '@angular/core'; import { CommonModule } from '@angular/common'; import { VehiculosRoutingModule } from './vehiculos-routing.module'; import { VehiculosComponent } from './vehiculos.component'; import { MatTabsModule } from '@angular/material/tabs'; import { ListVehiclesModule } from './list-v...
/** * Project Name: DeadSnake * |- github: dickymuliafiqri/DeadSnake * * Programmer: dickymuliafiqri * |- github: dickymuliafiqri * |- telegram: d_fordlalatina * * Start: Fri 26 November 2021 09:00 * * This software is licensed on MIT * Programmer and or other collaborator(s) is not responsible at any typ...
#!/bin/bash -e DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" source "$DIR/../../bin/setenv.sh" docker pull $DOCKER_REGISTRY/worktajm-kibana docker run --name kibana -d \ -p 5601:5601 \ --link elasticsearch:elasticsearch \ -e ELASTICSEARCH_URL=http://elasticsearch:9200 \ worktajm-kibana
/** * @file random.cpp * @author Team Rogue++ * @date December 08, 2016 * * @brief Global members */ #include <algorithm> #include <random> #include "include/coord.h" #include "include/random.h" std::mt19937 Generator::gen = std::mt19937(std::random_device()()); //inclusive int Generator::intFromRange(int lo...
package org.scalatra import org.scalatra.util.MultiMapHeadView class ScalatraParams( protected val multiMap: Map[String, Seq[String]]) extends MultiMapHeadView[String, String]
import CounterItem from './CounterItem'; import PropTypes from 'prop-types'; import React from 'react'; import { connect } from 'react-redux'; import { createUseStyles } from 'react-jss'; const TYPE_ORDER = [ 'user', 'battle', 'salmon', ]; const useStyles = createUseStyles({ root: { fontSize: '16px', ...
<?php namespace App\Api\Users; use App\Api\Riders\RiderTransformer; use App\Users\User; use League\Fractal\TransformerAbstract; class UserTransformer extends TransformerAbstract { /** * @var array */ protected $availableIncludes = ['riderRelation']; /** * @param \App\Users\User $user ...
<?php /** * Quantum PHP Framework * * An open source software development framework for PHP * * @package Quantum * @author Arman Ag. <arman.ag@softberg.org> * @copyright Copyright (c) 2018 Softberg LLC (https://softberg.org) * @link http://quantum.softberg.org/ * @since 2.0.0 */ namespace Quantum\Http; us...
{ Copyright (C) 2013-2021 Tim Sinaeve tim.sinaeve@gmail.com 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...
<?php declare(strict_types=1); /** * PHP version 7.4 * * This source file is subject to the license that is bundled with this package in the file LICENSE. */ namespace DataBuilders\Ewallet\Memberships; use DataBuilders\Random; use Ewallet\Memberships\Email; use Ewallet\Memberships\Member; use Ewallet\Memberships\...
<?php /** * Date: 15/10/13 * Time: 20:57 */ namespace Piolim\Cache; class SharedMemoryCacheTest extends \PHPUnit_Framework_TestCase { private $target = null; public function setup () { $this->target = new SharedMemoryCache(); $this->target->register('hoge', 100); } public fun...
package com.mercari.data.loader.pubsub trait PubsubTestDataGenerator extends Serializable { def testData(kinds: Int): Seq[(Map[String, String], Array[Byte])] }
"use strict"; const $ = require("jquery"); const socket = require("../socket"); const chat = $("#chat"); socket.on("users", function(data) { const chan = chat.find("#chan-" + data.chan); if (chan.hasClass("active")) { socket.emit("names", { target: data.chan }); } else { chan.data("needsNamesRefresh", tr...
import 'package:flutter/material.dart'; /// A Leitmotif `models` class containing data text inputs. class TextFieldData { /// The field's label. final String label; /// The hint text displayed, once the validation failed. /// /// The hint texts are only displayed, if the [onValidate] callback has been ///...
import { TestBed } from '@angular/core/testing'; import { Router } from '@angular/router'; import { INgxSignInRedirectConfig, NGX_SIGN_IN_REDIRECT_CONFIG} from './shared'; import { NgxSignInRedirectService } from './ngx-sign-in-redirect.service'; describe('NgxSignInRedirectService', () => { let config: INgxSignInRe...
using Requests using DataFrames ################################################################################ # this function returns a DataFrame of articles (pmid, title, abstract) function searchBreastCancerArticles(cancerType="breast neoplasms", researchType="diagnosis", minDat...
# Sloth messenger ![Screenshot](E208D7C6-B131-4A6B-A5A6-9B04743977BB.jpeg) Задание к интенсиву по Python от Skillbox.
<?php namespace App\Http\Controllers\Admin; use Illuminate\Http\Request; use App\Http\Controllers\Controller; use App\License; class LicenseController extends Controller { public function index(Request $request) { $licenses = License::all(); return view('admin.license.index',compact...
<?php /** * Training_Animal extension * * NOTICE OF LICENSE * * This source file is subject to the MIT License * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://opensource.org/licenses/mit-license.php * * @category Tra...
extern crate ogunix; use self::ogunix::module_loader::ModuleLoader; struct KModuleLoader; impl ModuleLoader for KModuleLoader { fn load(&self){ } }
// Copyright Verizon Media. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #include <vespa/vespalib/util/small_vector.h> #include <vespa/vespalib/gtest/gtest.h> #include <vector> #include <map> using namespace vespalib; template <typename T, size_t N> void verify(const SmallVect...
HDF5=/vol/bmd/yanyul/UKB/ukb_hap_v2_to_hdf5/ukb_hap_v2_to_hdf5.chr16.h5 CHUNKSIZE=30 # 30 NTHREADS=4 PHENO_F=test_inputs/test_phenotype_father.yaml COVAR_F=test_inputs/test_covariate.yaml PROBZ=test_inputs/test_prob_z_imputer_chr16.yaml # PROBZ=test_inputs/test_prob_z_flip.yaml OUT=test_sanity_imputer_chr16.npy pyt...
-- per hour UPDATE pit SET status = 'working' WHERE status == 'pending' AND start_at < now() :: timestamp
--Si corren este script va a generar error en la primera linea pero luego crea todos los procedimientos --y funciones que respaldó. conn system/root set linesize 100 set heading off set feedback off spool C:\bd2\cod_fuente_out.sql select decode(line,1,'/'||chr(10)||'create or replace ','')||text codigo from dba_sour...
#!/usr/bin/env bash set -e echo echo "~~~~~~~~~~~~~~~~~~" echo "Running Unit Tests" echo "~~~~~~~~~~~~~~~~~~" pytest -v --cache-clear --cov=ottoengine /app/tests/unit # Exit if only running unit tests if [[ $1 == 'unit' ]]; then exit fi echo echo "~~~~~~~~~~~~~~~~~~~~~~~~~" echo "Running Integration Tests" echo...
# Overview ## [Development Workflow](/open-source-project/about/work-flow.md) ## [Git Repository Structure](/open-source-project/about/git-repo-structure.md) ## [Typographic Conventions](/open-source-project/about/conventions.md) # Developing ## [Installing Development Tools](/open-source-project/developing/installing...
--- layout: page title: Une journée de forensique permalink: forensics-00-student --- Cette journée est une introduction au *forensic* ou **investigation numérique légale** en français. Le terme anglais sera utilisé comme si c'était un terme français tout au long de ce document : forensique. Définition Wikipédia : >...
package org.globsframework.gui.splits.icons; import org.globsframework.gui.splits.layout.GridBagBuilder; import org.globsframework.gui.splits.utils.GuiUtils; import javax.swing.*; import java.awt.*; public class ArrowIconDemo { public static void main(String[] args) { JPanel panel = GridBagBuilder.init(...
# 原理图 <img :src="$withBase('/assets/reactive.png')">
SUBROUTINE SW_INTEG implicit real*8 (a-h,o-z) c*********************************************************************** c Change History: c 26 Apr 96 Changed to generic functions. c*******************!*************************************************** character* 8 archive,prgm_id ...
using SnapsLibrary; class Ch05_15_CompleteFunfairProgram { public void StartProgram() { SnapsEngine.SetTitleString("Super Funfair Rides"); string ride; ride = SnapsEngine.SelectFrom5Buttons( "Scenic River Cruise", "Carnival Carousel", "Jungle Adventu...
# v2.1.1 ## Bugfixes * Fixed `Add-EnrichWithProperty` function
using Blazor.FlexGrid.Permission; namespace Blazor.FlexGrid.Components.Renderers { /// <summary> /// Contract which define 'Renderer component' /// </summary> public interface IGridRendererTreeBuilder { bool CanRender(GridRendererContext rendererContext); IGridRendererTreeBuilde...
import "./api"; import "./bootstrap"; import "./codemirror"; import "./dayjs"; import "./highlight"; import "./roboto"; import "./stringFormat"; import "./toastr";
package com.example.todo.tasks import com.example.todo.BasePresenter import com.example.todo.data.Task interface TasksContract { interface View { fun setTasks(newTasks: List<Task>) fun showCantLoadTasks() fun showAddNewTask() fun showDeletedTask(taskId: Int) fun showCantDel...
import { Observable } from 'rxjs/Observable'; import { Component, OnInit } from '@angular/core'; import { StudentService } from './student.service'; @Component({ moduleId: module.id, selector: 'app-students', templateUrl: 'students.component.html', providers: [ StudentService ] }) export class Student...
class CreateGeneralInfos < ActiveRecord::Migration[5.0] def change create_table :general_infos do |t| t.string :userKey t.string :first_name t.string :last_name #t.string :date_of_birth t.integer :month_ofbirth t.integer :day_ofbirth t.integer :year_ofbirth t...