text stringlengths 27 775k |
|---|
CREATE PROCEDURE [dbo].[prc_BatchUpdateChangeGroupsStatus]
@SessionUniqueId uniqueidentifier,
@SourceUniqueId uniqueidentifier,
@CurrStatus int,
@NewStatus int
AS
UPDATE [dbo].[RUNTIME_CHANGE_GROUPS]
SET Status = @NewStatus
WHERE SessionUniqueId = @SessionUniqueId
AND SourceUniqueId = @SourceUniqueId
AND St... |
resolvers += "phData Releases" at "https://repository.phdata.io/artifactory/libs-release"
classpathTypes += "maven-plugin"
addSbtPlugin("io.phdata" % "sbt-os-detector" % "0.2.0")
addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "0.15.0")
|
/* CONFIG.GO SHOULD BE GITIGNORED -- DB & PORT INFO */
package config
var Port string = ":8000"
var DB string = "mongodb://localhost:27017/"
var DBName string = "sudopost"
var Secret string = ""
var JwtSecret string = ""
var Email = &mail{"emailname", "password", "smtp.gmail.com", 587}
type mail struct {
Username ... |
import React from 'react'
import PropTypes from 'prop-types'
import cssModules from 'react-css-modules'
import styles from './AnimeList.module.scss'
import classNames from 'classnames/bind'
import { Tag, Icon, Tooltip } from 'antd'
import { SORTS } from '@/utils/constant'
const cx = classNames.bind(styles)
let Item = ... |
# ieee80211
This is a library for parsing IEEE 802.11 WiFi packets into zero-cost data structures.
- Zero-cost abstraction: No parsing work is done until methods are called.
- Idiomatic rust: match-friendly enums for many types
- Fast: built with speed in mind
[Documentation](https://spiralp.github.io/rust-ieee80211... |
///////////////////////////////////////////////////////////////////////////////////
/// OpenGL Mathematics (glm.g-truc.net)
///
/// Copyright (c) 2005 - 2015 G-Truc Creation (www.g-truc.net)
/// Permission is hereby granted, free of charge, to any person obtaining a copy
/// of this software and associated documentatio... |
import 'package:built_collection/built_collection.dart';
import 'package:flutter/material.dart';
import 'package:fusemodel/fusemodel.dart';
import '../../../services/localutilities.dart';
import '../../player/playertilebasketball.dart';
/// Callback for when a player is selected.
typedef PlayerSelectFunction = void F... |
//------------------------------------------------------------------------------
// <copyright file="XPathQueryIterator.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
//------------------------------------------------------------------------------
/**... |
<?php
$app->get('/session', function () {
$session = SessionHander::getInstance()->getSession();
$response["uid"] = $session['uid'];
$response["email"] = $session['email'];
$response["username"] = $session['username'];
echoResponse(200, $session);
});
$app->get('/logout', function () {
$session... |
import { ESLintUtils } from '@typescript-eslint/experimental-utils'
import rule from '../../src/rules/test-for-null-using-isNullObject';
const ruleTester = new ESLintUtils.RuleTester({
parser: '@typescript-eslint/parser',
});
const errors = [{ messageId: "useIsNullObject", data: { name: "dataSheet" } }];
ruleTeste... |
import Vue from "vue";
import Vuex from "vuex";
import people from "./modules/people";
import planets from "./modules/planets";
Vue.use(Vuex);
const store = new Vuex.Store({
modules: {
people: people, // 这种方式是可以重命名模块名称
planets,
},
});
export default store;
|
// ResizableState.h: interface for the CResizableState class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_RESIZABLESTATE_H__9B226426_F27A_4F1E_BA45_88CD8A5A1B9E__INCLUDED_)
#define AFX_RESIZABLESTATE_H__9B226426_F27A_4F1E_BA45_88CD8A5A1B9E__INCLUDED_
#if _MSC_VER > 1000
... |
#!/bin/bash
#Gerar números bases
./glp.py > lp.txt;
|
# Phone Number QRCode
_Replaces click action on phone number links to display the number as QR Code. Clicking on the code removes it._
## Features
* Replace click action of every a-element (links) which links to
a phone number (begins with "tel:") to display a QR-Code of this number instead.
* Clicking on the code rem... |
<?php
namespace App\Http\Livewire;
use App\Models\Post as ModelsPost;
use Illuminate\Support\Facades\Auth;
use Livewire\Component;
use Livewire\WithPagination;
class Post extends Component
{
use WithPagination;
protected $paginationTheme = 'bootstrap';
public $isOther = false;
public function updat... |
using System;
using System.ComponentModel;
using System.Drawing;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Numerics;
using System.Windows.Forms;
using System.Xml.Serialization;
using MikuMikuLibrary.Materials;
using MikuMikuLibrary.Textures;
using MikuMikuModel.GUI.Controls;
using Mi... |
##
# A Gem::Security::Policy object encapsulates the settings for verifying
# signed gem files. This is the base class. You can either declare an
# instance of this or use one of the preset security policies below.
class Gem::Security::Policy
attr_reader :name
attr_accessor :only_signed
attr_accessor :only_t... |
require 'sxp'
require 'pp'
class Top
def initialize(source)
@sxp = SXP::Reader::Scheme.read source
end
def compile()
@leg ||= LegC.new(@sxp)
end
# For debug
def leg() @leg end
def json()
compile.json
end
def text()
compile.text
end
end
# Abstract
class Compiler
def initiali... |
#!/bin/bash -e
time=$(date +%Y-%m-%d)
DIR="$PWD"
ssh_user="buildbot@beagleboard.org"
rev=$(git rev-parse HEAD)
branch=$(git describe --contains --all HEAD)
server_dir="/var/lib/buildbot/masters/kernel-buildbot/public_html/images/${branch}/${rev}"
export apt_proxy=localhost:3142/
keep_net_alive () {
while : ; do
... |
<?php
/**
* PHP CLient for Kubernetes API
*
* Copyright 2014 binarygoo Inc. All rights reserved.
*
* @author Faruk brbovic <fbrbovic@devstub.com>
* @link http://www.devstub.com/
* @copyright 2014 binarygoo / devstub.com
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use th... |
/*
* This script shows how to do some simple things with WAGI and WASI.
*
* We get access to HTTP headers from the `Environ` object.
* We get access to query parameters from the `CommandLine` object.
* We write data back to the client using `Console.log`, and we write data to the error
* log using `Console.error`... |
package io.cloudstate.kotlinsupport.services
import io.cloudstate.kotlinsupport.Context
interface StatefulService {
fun setContext(context: Context)
infix fun fail(obj: Any)
infix fun emit(obj: Any)
infix fun forward(obj: Any)
}
|
DROP TABLE IF EXISTS t_employee;
CREATE TABLE t_employee (
id INT PRIMARY KEY AUTO_INCREMENT,
last_name VARCHAR(32) NOT NULL,
gender VARCHAR(1) DEFAULT '0' COMMENT '0: female, 1: male',
email VARCHAR(32),
dep_id INT NOT NULL COMMENT 'department_id'
);
|
using Krona.Network.P2P.Payloads;
using System.IO;
namespace Krona.Network.P2P
{
public static class Helper
{
public static byte[] GetHashData(this IVerifiable verifiable)
{
using (MemoryStream ms = new MemoryStream())
using (BinaryWriter writer = new BinaryWriter(ms))
... |
/*
* Licensed to DuraSpace under one or more contributor license agreements.
* See the NOTICE file distributed with this work for additional information
* regarding copyright ownership.
*
* DuraSpace licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file excep... |
<?php
namespace PHPSQLParser\Test\Parser;
use PHPSQLParser\PHPSQLParser;
class CommentsTest extends \PHPUnit_Framework_TestCase {
protected $parser;
/**
* @before
* Executed before each test
*/
protected function setup() {
$this->parser = new PHPSQLParser(false, true);
}
public functi... |
package ru.modulkassa.findgoods.di
import okhttp3.OkHttpClient
import okhttp3.logging.HttpLoggingInterceptor
import okhttp3.logging.HttpLoggingInterceptor.Level
import ru.modulkassa.findgoods.BuildConfig
import ru.modulkassa.findgoods.domain.network.AuthorizationInterceptor
import ru.modulkassa.findgoods.domain.reposi... |
<?php
namespace App\Http\Livewire\Authboard;
use Livewire\Component;
use App\Models\User;
use App\Models\UserPost;
use App\Models\OfferService;
use App\Models\UserPostServiceType;
use App\Models\UserBookingDetail;
use Illuminate\Support\Facades\Auth;
class HostelDetail extends Component
{
public $postId;
public $... |
<?php
namespace App\Http\Controllers;
use Illuminate\Support\Facades\DB;
use Illuminate\Http\Request;
use App\Unidade;
class UnidadeController extends Controller
{
function telaCadastro(){
if (session()->has("login")){
return view('telas_cadastro.cadastro_unidades');
}
... |
// import original module declarations
import "styled-components";
// and extend them!
declare module "styled-components" {
export interface DefaultTheme {
insideBorder: string;
white: string;
black: string;
gray: { [key in ColorScale]: string };
main: string;
topbar: {
height: string;
... |
export class Expresspay {
/**
* Call this before 'checkoutPayment' to generate valid token from the server
*/
getToken(): Promise<Object>;
/**
* Present the expresspay payment UI.
* The result will be an an object with paymentStatus && errorMessage.
*/
checkoutPayment(): Promise<Object>;
/**
* ... |
module Modulus
module Import
module WeightTable
RANGE_START = 0
RANGE_END = 1
CHECK_ALGORITHM = 2
FIRST_CHECK_DIGIT = 3
CHECK_DIGIT_ENTRIES = 14
EXCEPTION_CASE = 17
def self.purge!
keys = Modulus.weight_table_keys
Modulus.redis.del( keys ) unless keys.... |
using HotChocolate.Types;
namespace Metabase.GraphQl.References
{
public class ReferenceType
: InterfaceType<Data.IReference>
{
protected override void Configure(IInterfaceTypeDescriptor<Data.IReference> descriptor)
{
descriptor.Name(nameof(Data.IReference)[1..]);
}... |
package com.github.plume.oss.drivers
import com.github.plume.oss.PlumeStatistics
import org.slf4j.{Logger, LoggerFactory}
import java.io.File
import scala.util.Using
/** The driver used to connect to an in-memory TinkerGraph instance.
*/
final class TinkerGraphDriver extends GremlinDriver {
override protected v... |
class Module
private
# Aliases a method and undefines the original.
#
# class RenameExample
# def foo; "foo"; end
# rename_method(:bar, :foo)
# end
#
# example = RenameExample.new
# example.bar #=> 'foo'
#
# expect NoMethodError do
# example.foo
# end
#
# CRED... |
#pylint: disable=too-many-arguments, too-many-locals
from typing import cast
from qcodes import Instrument, Parameter
from sim.data_provider import IDataProvider
from sim.mock_device import IMockDevice
from sim.mock_devices import MockQuantumDot
from sim.mock_pin import IMockPin
class SimulationParameter(Parameter):... |
package eu.bunburya.apogee.utils
import java.util.regex.Pattern
/**
* Take a map where the keys are strings representing regex patters, and return a map where the keys are compiled
* Pattern objects.
*/
fun <valType> compileKeys(inMap: Map<String, valType>): Map<Pattern, valType> =
inMap.map { (k, v) -> Patter... |
{-|
Module : Grammar
Description : Export the most useful functions to manipulate context-free grammars.
Copyright : (c) Davide Mancusi, 2017
License : BSD3
Maintainer : arekfu@gmail.com
Stability : experimental
Portability : POSIX
This module exports the most important datatypes and functions that can b... |
# frozen-string-literal: true
require_dependency 'active_support/core_ext/module/delegation'
# Domain model object encapsulating a particular data view in the UI, based
# around a particular theme group of indicators in the cube. For example,
# a view of the `averagePrice` indicator, together with the relevant dates... |
import sys
class TreeNode:
def __init__(self, x):
self.val = x
self.left = None
self.right = None
class Solution:
def findSecondMinimumValue(self, root: TreeNode) -> int:
if not root or (not root.left and not root.right):
return -1
if root.left.va... |
package io.suggest.log.buffered
import io.suggest.log.{ILogAction, MLogMsg}
import scala.scalajs.js.timers.SetTimeoutHandle
import scala.util.Try
/**
* Suggest.io
* User: Konstantin Nikiforov <konstantin.nikiforov@cbca.ru>
* Created: 30.04.2020 13:49
* Description: Экшены буферизатора логов.
*/
sealed trai... |
#!/bin/bash
# Copyright (C) The Arvados Authors. All rights reserved.
#
# SPDX-License-Identifier: AGPL-3.0
set -e -o pipefail
if test -z "$1" ; then
echo "$0: Copies Arvados tutorial resources from public data cluster (jutro)"
echo "Usage: copy-tutorial.sh <tutorial>"
echo "<tutorial> is which tutorial to copy... |
package CloudForest
// ScikitNode
// cdef struct Node:
// # Base storage structure for the nodes in a Tree object
// SIZE_t left_child # id of the left child of the node
// SIZE_t right_child # id of the right child of the node
// SIZE_t feature ... |
package models
import (
"github.com/jinzhu/gorm"
"github.com/wenxian2012/go-rbac-admin/dto"
)
type AuthSwag struct {
Username string `json:"username"`
Password string `json:"password"`
}
type User struct {
Model
Username *string `gorm:"column:username"`
Password *string `gorm:"column:password"`
Nickname *str... |
-- @testpoint: 创建角色
drop ROLE if exists sys_role;
CREATE ROLE sys_role with createdb IDENTIFIED BY 'Bigdata@123' ;
drop ROLE if exists sys_role;
|
SELECT * FROM `t1`;
DELIMITER $
SELECT * FROM `t2`$
DELIMITER !!
SELECT * FROM `t3`!! |
//CONTROLS =====================================================================
#define grad_moneymenu_DIALOG 40000
#define grad_moneymenu_title 40001
#define grad_moneymenu_myfunds 40010
#define grad_moneymenu_myfundsDesc 40011
#define grad_moneymenu_input 40020
#define g... |
package divyansh.tech.animeclassroom.home
import android.util.Log
import divyansh.tech.animeclassroom.ResultWrapper
import divyansh.tech.animeclassroom.models.home.AnimeModel
import divyansh.tech.animeclassroom.models.home.OfflineAnimeModel
import kotlinx.coroutines.flow.Flow
import kotlinx.coroutines.flow.flow
import... |
#!/bin/bash
set -euo pipefail
CONFIG_FILE="`dirname \"$0\"`"/../config.sh
source ${CONFIG_FILE}
docker volume create \
--label "${PROJECT_LABEL}" \
"$JENKINS_VOLUME" |
{
> I am trying to issue an SCSI START/StoP Unit via Adaptec's ASPI SCSI
> manager and an 1542B host adaptor. This is For an application I am
> writing in BP. Adaptec is of no help. if anyone here has any
> comments
> or suggestions please respond in this Forum.
}
Unit Aspi;
{ I/O Error reporting:
... |
using System;
using System.Collections.Generic;
using System.Linq;
using FluentAssertions;
using JsBind.Net.Tests.Infrastructure;
using TestBindings.WebAssembly;
namespace JsBind.Net.Tests.Tests
{
[TestClass(Description = "Dynamic Object Synchronous (WebAssembly)")]
public class DynamicObjectTestSynchronous
... |
@extends('layout')
@section('content')
@if (!Auth::guest())
<!-- List all the companies added by logged in user in a tabular format -->
<h6 style="color:#3366FF">
Contract '#{{$contract_info[0]->id}}' details
</h6>
<div class="contract_info">
<div>Client: {{$contract_info[0]->client_name}}</div>
<div>Client ... |
# vue-bulma-slider
Slider component for Vue Bulma.
Fork of [vue-bulma/slider](https://github.com/vue-bulma/slider)
## Installation
```
$ yarn add https://github.com/Andersbiha/vue-bulma-slider
```
## Examples
```vue
<template>
<div>
<slider type="success" size="large" :value="value" :max="100" :step="1" is... |
package com.charlezz.opencvtutorial
import android.content.Context
import android.graphics.Bitmap
import android.graphics.BitmapFactory
import android.os.Parcelable
import androidx.annotation.DrawableRes
import org.opencv.android.Utils
import org.opencv.core.Mat
import org.opencv.imgproc.Imgproc
open abstract class ... |
package main
import (
"fmt"
"os"
"regexp"
"unicode"
)
const parse = `
getServoStatus = "getServoStatus" # 1.1 获取机械臂伺服状态
getMotorStatus = "getMotorStatus" # 1.2 获取机械臂上下电状态
setServoStatus = "set_servo_status" # 1.3 设置机械臂伺服状态
syncMotorStatus = "syncMotorStatus" # 1.4 同步伺服编码器数据
clearAlarm = "c... |
package org.shirolang.base;
/**
*
* Defines a add of pre-defined multi-function types to
* be used to determine the
*/
public final class SType {
public static final String INTEGER = "Integer";
public static final String DOUBLE = "Double";
public static final String STRING = "String";
public static... |
/**
* React Starter Kit (https://www.reactstarterkit.com/)
*
* Copyright © 2014-present Kriasoft, LLC. All rights reserved.
*
* This source code is licensed under the MIT license found in the
* LICENSE.txt file in the root directory of this source tree.
*/
import React from 'react';
import Layout from '../../co... |
# Copyright 2017-2020 Amazon.com, Inc. or its affiliates. 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. A copy of
# the License is located at
#
# http://aws.amazon.com/apache2.0/
#
# or in the "license" fil... |
.byte $01 ; Unknown purpose
.byte OBJ_GREENCHEEP, $0D, $16
.byte OBJ_BLOOPERCHILDSHOOT, $17, $14
.byte OBJ_WATERCURRENTDOWNARD, $1C, $14
.byte OBJ_GREENPIRANHA_FLIPPED, $23, $04
.byte OBJ_BIGBERTHABIRTHER, $24, $16
.byte OBJ_WATERCURRENTUPWARD, $28, $17
.byte OBJ_WATERCURRENTDOWNARD, $31, $16
.byte OBJ_REDPIR... |
FactoryBot.define do
factory :translation, aliases: [:project_translation] do
strings { {
title: "A test Project",
description: "Some Lorem Ipsum",
introduction: "Good times intro",
workflow_description: "Go outside",
researcher_quote: "This is my favorite project",
"urls.0.lab... |
use same_file::Handle;
use std::fs::File;
use std::io::{BufRead, BufReader, Error, ErrorKind};
use std::path::Path;
fn main() -> Result<(), Error> {
let path_to_read = Path::new("content.txt");
let stdout_handle = Handle::stdout()?;
let handle = Handle::from_path(path_to_read)?;
if stdout_handle == h... |
//
// HistogramComputation.hpp
// EchoErrorCorrection
//
// Created by Miloš Šimek on 18/2/14.
//
#ifndef __EchoErrorCorrection__HistogramComputation__
#define __EchoErrorCorrection__HistogramComputation__
#include <vector>
#include <map>
#include <tuple>
#include <set>
#include <algorithm>
#include "RandomisedAc... |
package user.message
import document.annotation.AnnotationResult
import project.userroles.UserIdentifier
/**
* A message is a text between two users, optionally relating to an [AnnotationResult]
*/
data class Message(
val recipient: UserIdentifier,
val sender: UserIdentifier,
val message: String,
va... |
{-# LANGUAGE DeriveFunctor #-}
{-# LANGUAGE LambdaCase #-}
{-# LANGUAGE TemplateHaskell #-}
module Evaluator where
import Control.Arrow
import Control.Lens hiding (Lazy)
import Control.Monad
import Control.Monad.Trans
import Control.Monad.Trans.Sta... |
./gradlew codeCoverageReport -DincludeTags=unit
./gradlew codeCoverageReport -DincludeTags=producerOnly
./gradlew codeCoverageReport -DincludeTags=integration -DexcludeTags=redisCluster,producerOnly,local
./gradlew codeCoverageReport -DincludeTags=redisCluster
./gradlew codeCoverageReport -DincludeTags=local
export R... |
package blended.streams.jms
import blended.jms.utils.JmsSession
import blended.util.RichTry._
import javax.jms._
import scala.util.{Failure, Success, Try}
class JmsConnector(
id : String,
jmsSettings : JmsSettings
)(
onSessionOpened : JmsSession => Try[Unit]
)(
beforeSessionCloseCallback : JmsSession => Try[... |
name := "SlackCont"
version := "0.1"
organization := "com.github.yyu"
scalaVersion := "2.12.4"
scalacOptions := Seq("-unchecked", "-deprecation", "-feature", "-language:postfixOps")
scalapropsWithScalazlaws
scalapropsVersion := "0.5.5"
coverageExcludedPackages := ".*di;.*provider;.*main"
libraryDependencies ++=... |
package com.jeroenreijn.examples.view;
import org.springframework.web.servlet.view.AbstractTemplateViewResolver;
public final class UjormResolver extends AbstractTemplateViewResolver {
public UjormResolver() {
this.setViewClass(this.requiredViewClass());
}
@Override
protected Class<?> requiredViewClass() {
r... |
<?php
/**
* 版权声明 : 地老天荒科技有限公司
* 文件名称 : couponlist_route_v1_api.php
* 创 建 者 : Shi Guang Yu
* 创建日期 : 2018/09/26 14:36
* 文件描述 : 景区优惠券管理路由文件
* 历史记录 : -----------------------
*/
/**
* 传值方式 : POST
* 路由功能 : 添加优惠券数据
*/
Route::post(
':v/couponlist_module/couponlist_route',
'couponl... |
<?php
namespace HashmatWaziri\LaravelMultiAuthImpersonate\Events;
use Illuminate\Broadcasting\InteractsWithSockets;
use Illuminate\Contracts\Auth\Authenticatable;
use Illuminate\Foundation\Events\Dispatchable;
use Illuminate\Queue\SerializesModels;
class LeaveImpersonation
{
use Dispatchable;
use InteractsWi... |
/*!
* client metatype registration.
*/
#include "client.h"
#include "types.h"
/*!
* \ingroup mptClient
* \brief client type
*
* Get or register client metatype.
*
* \return id for client metatype
*/
extern int mpt_client_typeid(void)
{
static int id = 0;
if (!id) {
id = mpt_type_meta_new("client");
}... |
module Data.JSON.LinkedData.Graph where
import Data.Aeson
import Data.Text as T
import Iri.Data
import Protolude
data Node =
IriNode !Iri
| BlankNode !BlankObject
| JsonLDValueNode !ValueObject
deriving (Eq, Generic, Show)
data BlankObject =
BlankObject
{ blankObjectId :: Text
, blan... |
// Copyright (c) 2021, the MarchDev Toolkit 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.
/// Extensions for comparable `Iterable`
extension IterableComparableExtension<T extends Com... |
import React, { forwardRef } from 'react';
import ScrollableContentWrapper from '../../components/ScrollableContentWrapper';
const ScrollerWithCustomProps = forwardRef(function ScrollerWithCustomProps(props, ref) {
return (
<ScrollableContentWrapper
{...props}
ref={ref}
renderView={({ style, ...props }) =... |
namespace Clarity.App.Worlds.Interaction.Tools
{
public static class CommonChildPlaneSemantics
{
public const string Plane2D = "Plane2D";
public const string Plane3DVertical = "Plane3DVertical";
public const string Plane3DHorizontal = "Plane3DHorizontal";
}
} |
// Copyright (c) 2015-2016, Tammo Beil - All rights reserved
#pragma once
#include "BRSSettingTypes.generated.h"
UENUM(BlueprintType)
namespace EBRSSoundClass
{
enum Type
{
Master,
Music,
SFX,
Voice,
UI,
VoIP,
//Should always be last (used for Size of array)
MAX UMETA(Hidden)
};
}
namespace FSoun... |
package com.cuneytayyildiz.android.consent.sdk.helper.callbacks
import com.google.ads.consent.ConsentInformation
import com.google.ads.consent.ConsentStatus
interface ConsentInformationCallback {
fun onResult(consentInformation: ConsentInformation, consentStatus: ConsentStatus?)
fun onFailed(consentInfo... |
package de.pk.jblockchain.node.service;
import java.io.BufferedOutputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.util.Arrays;
import java.util.Collection;
import java.util.Collections;
import java.util.HashSet;
import java.util.Set;
import java.util.zip.GZIPOutputStream;
import or... |
3.0.5 (unreleased)
------------------
- Nothing changed yet.
3.0.4 (2019-03-17)
------------------
- Fix : breaking change with dash 0.38.* and later. back to 0.37
3.0.3 (2019-03-06)
------------------
- DD-200 : display error message when exception occures in db.retrieve_table
3.0.2 (2019-02-19)
-------------... |
# README
Smooks mediator can be used to handle many conversion scenarios and this particular artifact converts a EDI file to XML. Then transforms the XML to match what is expected from the backend. Afterwards iterates and sends requests to the backend service.
> Note: This particular sample is tested with WSO2 ESB 5.0... |
# -*- coding: utf-8 -*-
"""The LinkedIn subjects' subjects' searching module."""
import os
from linkedin_api import Linkedin as LinkedinAPI
class LinkedinSearch:
"""
The class to search for subjects and put them into `found` and `potential` categories.
"""
def __init__(self, user_input):
self... |
package rere.sasl.gs2
sealed trait ChannelBindingFlag
object ChannelBindingFlag {
final case class SupportsAndUsed(channelBindingName: String) extends ChannelBindingFlag
case object NotSupports extends ChannelBindingFlag
case object SupportsButNotUsed extends ChannelBindingFlag
}
|
const DOT_RE = /\/\.\//g;
const DOUBLE_DOT_RE = /\/[^/]+\/\.\.\//;
const MULTI_SLASH_RE = /([^:/])\/+\//g;
function dirname(path) {
if (path.length === 0) return '.';
var code = path.charCodeAt(0);
var hasRoot = code === 47;
var end = -1;
var matchedSlash = true;
for (var i = path.length - 1; i >= 1; --i) ... |
import * as React from "react";
import { Helmet } from "react-helmet";
import { useParams, Redirect } from "react-router-dom";
import { isValidAccountAddress } from "components/utils";
import Participants from "./Participants";
import type { PageParams } from "types/page";
const TreasureHunt: React.FC = () => {
con... |
# Hello World
The purpose of this sample is for the client to send commands which contain a single message typed in the console.
If the user sends the same message twice a business exception is thrown.
|
#!/bin/bash
# Replace these three settings.
PROJDIR="/home/filemanager"
PIDFILE="$PROJDIR/filemanager.pid"
SOCKET="$PROJDIR/filemanager.sock"
cd $PROJDIR
if [ -f $PIDFILE ]; then
kill `cat -- $PIDFILE`
rm -f -- $PIDFILE
fi
/usr/bin/env - \
PYTHONPATH="../python:.." \
./manage.py runfcgi --settings=filema... |
# frozen_string_literal: true
shared_examples 'uses error_pages' do
context do
it do
controller_file_test
routes_file_test
end
def controller_file_test # rubocop:disable Metrics/AbcSize
application_controller_file = content('app/controllers/application_controller.rb')
expect(appl... |
---
title: test
undefined: 'Description '
created_date: 2018-01-16 18:30:00 +0000
date: 2018-09-01 21:10:45 +0530
---
test |
module Color where
data Color = Red |
Yellow |
Blue |
Green |
Purple |
Orange |
Brown deriving(Eq, Show)
instance Semigroup Color where
(<>) Red Blue = Purple
(<>) Blue Red = Purple
(<>) Yellow Blue = Green
(<>) Blue Yellow = Green
(<>) Yellow Red = Orange
(<>) Red Yellow = Orange
(... |
/*
@author Achmad Baihaqi / 01 / XII RPL-1
*/
---- Pratikum soal no 1
SELECT m.kode_dos, m.nama_mk
FROM matakuliah m
WHERE m.kode_dos
IN (
SELECT kode_dos
FROM jurusan
WHERE kode_dos = 10
);
----> Copyright © 2020. Achmad Baihaqi. |
// Package svg provides common SVG elements and attributes.
// See https://developer.mozilla.org/en-US/docs/Web/SVG/Element for an overview.
package svg
import (
g "github.com/maragudk/gomponents"
)
func Path(children ...g.Node) g.Node {
return g.El("path", children...)
}
func SVG(children ...g.Node) g.Node {
ret... |
import fs from 'fs';
import { buildClientSchema, graphqlSync, introspectionQuery } from 'graphql';
import { generate } from 'graphql-code-generator';
import { TypeScriptNamingConventionMap } from 'graphql-codegen-typescript-common';
import { mergeSchemas } from 'graphql-tools';
import path from 'path';
import { ADMIN_... |
export type { IriTemplateEx } from './IriTemplateEx'
export { IriTemplateExMixin } from './IriTemplateEx'
|
class Render < ActiveRecord::Base
attr_accessible :filename, :output, :job_id, :console_log
belongs_to :job
belongs_to :user
mount_uploader :output, RenderFileUploader
end
|
using UnityEngine;
namespace Janovrom.Firesimulation.Runtime.Variables
{
[CreateAssetMenu(fileName ="NewFloat", menuName ="FireSimulation/New Float")]
public sealed class FloatVariable : Variable<float>
{
}
}
|
/**
* Données
*/
let photos = document.querySelectorAll('.photo-list li')
let counter = document.querySelector('em');
let btnValidate = document.querySelector('#btnValidate');
let affichage = document.querySelector('#affichage');
/**
* Fonctions
*/
function onClickSelectPhoto()
{
this.classLi... |
# portfolio-template
SImple Portfolio Template. Completley buit with HTML,CSS and JAVASCRIPT
# Demo
codeezzi-portfolio.surge.sh
|
[CmdletBinding()]
param ()
$pesterTestPath = Join-Path (Join-Path $PSScriptRoot "..") "test"
$pesterTestPath = Join-Path $pesterTestPath "*"
$dtNow = [datetime]::UtcNow
$dateString = $dtNow.ToString("yyyy'-'MM'-'dd")
$timeString = $dtNow.ToString("HH'-'mm'-'ss")
$outputFileName = "TEST-date-$dateString-utc-$timeStrin... |
require 'logger'
require 'rack'
require 'rack/mount'
require 'rack/builder'
require 'rack/accept'
require 'rack/auth/basic'
require 'rack/auth/digest/md5'
require 'hashie'
require 'set'
require 'active_support/version'
require 'active_support/core_ext/hash/indifferent_access'
if ActiveSupport::VERSION::MAJOR >= 4
re... |
# Case conversion
This package contains a single function, copied from the
`github.com/golang/protobuf/protoc-gen-go/generator` package. That
modules LICENSE is referenced in its entirety in this package.
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.