text stringlengths 27 775k |
|---|
Adapted from wildfly-example.
This is a MicroProfile 4 example using Open Liberty as the runtime 'engine'.
Tested using Java 11.
In order to run this example do (at this example folder):
* ```../../gradlew clean libertyPackage```
* ```java -jar build/libs/MyPackage.jar```
* The service will be available at:
- http... |
function resetInput(elementInput, elementOutput) {
elementInput.value = null;
elementOutput.value = null;
}
module.exports = resetInput; |
/*
Object: dbo.GetLastSID
Description: Gets last SID.
*/
CREATE FUNCTION [dbo].[GetLastSID] ()
RETURNS int
AS
BEGIN
RETURN (SELECT TOP(1) [SID]
FROM dbo.[Session]
ORDER BY [SID] DESC);
END
GO
|
/* Drop Tables */
DROP TABLE oa_leave;
DROP TABLE oa_notify_record;
DROP TABLE oa_notify;
DROP TABLE OA_TEST_AUDIT;
/* Create Tables */
CREATE TABLE oa_leave
(
id varchar(64) NOT NULL,
process_instance_id varchar(64),
start_time datetime,
end_time datetime,
leave_type varchar(20),
rea... |
function Dogs({ onDogSelected }) {
const { loading, error, data } = useQuery(GET_DOGS);
if (loading) return 'Loading...';
if (error) return `Error! ${error.message}`;
return (
<select name="dog" onChange={onDogSelected}>
{data.dogs.map(dog => (
<option key={dog.id} value={d... |
prompt --application/set_environment
set define off verify off feedback off
whenever sqlerror exit sql.sqlcode rollback
--------------------------------------------------------------------------------
--
-- ORACLE Application Express (APEX) export file
--
-- You should run the script connected to SQL*Plus as the Oracle... |
// Copyright 2015, ARM Limited
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// * Redistributions of source code must retain the above copyright notice,
// this list of conditions a... |
--------------------------------------------------------------
-- Practical SQL: A Beginner's Guide to Storytelling with Data
-- by Anthony DeBarros
-- 1st Edition
-- Chapter 13 "Try It Yourself" Exercises
--------------------------------------------------------------
---------
-- Q1 --
---------
-- function to rem... |
using LagoVista.Core.Validation;
using LagoVista.IoT.Deployment.Admin.Models;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace LagoVista.IoT.Deployment.Admin.Repos
{
public interface IDeploymentHostRepo
{
Task AddDeploymentHostAsync(DeploymentHost host);
... |
const functionRules = require('./rules/function-rules');
const varRules = require('./rules/var-rules');
module.exports = {
parser: '@typescript-eslint/parser',
parserOptions: {
ecmaVersion: 'latest',
sourceType: 'module',
},
env: {
browser: true,
node: true,
},
extends: [
'eslint:recomm... |
require File.dirname(__FILE__) + '/../../../../spec_helper'
require File.dirname(__FILE__) + '/../../shared/constants'
require 'openssl'
describe "OpenSSL::X509::Certificate#signature_algorithm" do
it 'is string "NULL" by default' do
x509_cert = OpenSSL::X509::Certificate.new
x509_cert.signature_algorithm.sh... |
/**
* Escape a string for using as regular expression
* @example
* escapeRegExp('($^|^$)')
* //> '\\(\\$\\^\\|\\^\\$\\)'
*/
export const escapeRegExp = string => string.replace(/[|\\{}()[\]^$+*?.]/g, '\\$&')
|
using System.Collections.Generic;
using Orchard.Mvc.ViewModels;
namespace Orchard.Themes.ViewModels {
public class ThemesIndexViewModel : BaseViewModel {
public ITheme CurrentTheme { get; set; }
public IEnumerable<ITheme> Themes { get; set; }
}
} |
<?php
#encoding
mb_internal_encoding($conf['app.encoding.mb_internal_encoding']);
mb_http_output($conf['app.encoding.mb_http_output']); |
import { GraphQLEnumValue } from "graphql";
export function convertToGQLEnum(
val: string | null,
tsValues: string[],
gqlValues: GraphQLEnumValue[],
) {
for (let i = 0; i < tsValues.length; i++) {
let tsVal = tsValues[i];
let gqlValue = gqlValues[i];
if (val === tsVal) {
return gqlValue.value... |
mod parquet_table;
mod sstable;
mod table;
mod block;
mod filter;
mod iterator;
mod merging_iterator;
mod two_level_iterator;
pub use parquet_table::{ParquetBuilder, ParquetIterator, ParquetOptions};
pub use sstable::{SstBuilder, SstOptions, SstReader};
pub use table::{TableBuilder, TableReader};
pub use iterator::{... |
import { Component, OnInit,ElementRef, ViewChild } from '@angular/core';
import { QuotationService } from '../../quotation/quotation.service';
import {BusinessHeadService} from '../business-head.service';
import { LoaderService } from '../../../services/loader.service';
import {Routes, RouterModule , Router,ActivatedRo... |
package com.github.igorperikov.mightywatcher.utils
import org.junit.jupiter.api.Assertions.assertTrue
import org.junit.jupiter.api.Test
import java.lang.Thread.sleep
import java.util.concurrent.CountDownLatch
import kotlin.concurrent.thread
class ParallelExecutorTest {
private val parallelismLevel = 5
@Test
... |
# Requires sddsplot
# Argument one is the root filename of the simulation.
# Argument two and argument three are additional arguments for sddsplot
sddsxref $1.twi $1.s temp.tmp -take=Sx,Sy,ex,ey,Sdelta,Sxp,Syp
sddsprocess temp.tmp -nowarn \
"-define=column,Betax,Sx sqr etax Sdelta * sqr - ex /,symbol=\$gb\$r\$bx\$n,... |
package com.outsystems.plugins.healthfitness.store
import android.app.PendingIntent
import com.google.android.gms.fitness.FitnessOptions
import com.google.android.gms.fitness.data.DataSet
import com.google.android.gms.fitness.result.DataReadResponse
import com.google.android.gms.fitness.result.SessionReadResponse
impo... |
import React from "react";
import { Link } from "gatsby";
import styles from "./styles.module.css";
export default ({ children, ...rest }) => (
<Link
className={styles.sideBarLink}
activeClassName={styles.sideBarLink__active}
{...rest}
>
{children}
</Link>
); |
package com.maragues.planner.common
import android.arch.lifecycle.ViewModel
import io.reactivex.disposables.CompositeDisposable
/**
* Created by miguelaragues on 7/1/18.
*/
abstract class BaseViewModel : ViewModel() {
private val disposables: CompositeDisposable = CompositeDisposable()
override fun onClea... |
# frozen_string_literal: true
require 'test/unit'
require 'xmlrpc/base64'
module TestXMLRPC
class Test_Base64 < Test::Unit::TestCase
def test_equals
refute_equal(XMLRPC::Base64.new('foobar'), 'foobar')
refute_equal(XMLRPC::Base64.new('foo'), XMLRPC::Base64.new('bar'))
assert_equal(XMLRPC::Base6... |
CREATE TABLE IF NOT EXISTS Test.Bigdata_HI (
dt Float64,
upload String,
HI__wagon_id__4 Float32,
HI__wagon_id__6 Float32,
stock_num String,
source_id String
) ENGINE = Log() |
from django.core.urlresolvers import reverse
from django.utils.translation import ugettext_lazy as _
from getpaid.backends import PaymentProcessorBase
class PaymentProcessor(PaymentProcessorBase):
BACKEND = 'getpaid.backends.paymill'
BACKEND_NAME = _('Paymill')
BACKEND_ACCEPTED_CURRENCY = (u'EUR', u'CZK',... |
<?
//MARCAS
public function up()
{
Schema::create('marcas', function (Blueprint $table) {
$table->id();
$table->string('nome', 30)->unique();
$table->string('imagem', 100)->comment('Logo da marca');
$table->timestamps();
});
}
//MODELOS
public function up()
{
Schema::create... |
//=============================================================================
// System : Sandcastle Help File Builder Plug-Ins
// File : DeploymentPlugIn.cs
// Author : Eric Woodruff (Eric@EWoodruff.us)
// Updated : 10/27/2009
// Note : Copyright 2007-2009, Eric Woodruff, All rights reserved
// Compil... |
extern crate tui;
use tui::{Terminal, Frame};
use tui::backend::Backend;
use tui::layout::{Alignment, Rect};
use tui::style::{Color, Style};
use tui::text::Text;
use tui::widgets::Paragraph;
use crate::userinterface::widgets::{BORDERS, EMPTY_SPACES};
const TEXT_HEIGHT: u16 = 6;
const MIN_WIDTH: u16 = 50;
const MIN_H... |
package net.yozo.services.common;
import net.yozo.core.dao.QueryModel;
import java.io.Serializable;
/**
* 专题模板
* Created by emily.lee on 2018/1/9.
*/
public class TopicTemplate extends QueryModel implements Serializable {
private String id;
private Integer topicId;
private Integer templateId;
p... |
import { GraphQLSchema, DocumentNode } from 'graphql';
export declare function getCachedDocumentNodeFromSchema(schema: GraphQLSchema): DocumentNode;
|
package raft
import "fmt"
// ServerSuffrage determines whether a Server in a Configuration gets a vote.
type ServerSuffrage int
// Note: Don't renumber these, since the numbers are written into the log.
const (
// Voter is a server whose vote is counted in elections and whose match index
// is used in advancing th... |
# APNs
http://apns-gcm.bryantan.info/ => APNs 테스트
http://throughkim.kr/2016/12/27/ios-notification/ => 인증서 생성 및 변환
- 주의사항: 인증서를 만들때 이메일 주소와 이름은 프로젝트마다 다르게 생성하는것이 충돌이 안나는 방법인 것 같음
- 만약 이메일주소와 이름이 같으면 환경설정과정에서 자동으로 건너띄어져 버려 원하는 결과를 얻을 수 없었다
- APNs 테스트를 위해서는 디바이스 토큰이 필요함
- 서비스 과정에서 디바이스 토큰을 어떻게 처리하는지 알아 볼 필요가 있음:
... |
namespace Xms.Flow.Core
{
public class WorkFlowDefaults
{
public const string ModuleName = "WorkFlow";
public static Solution.Abstractions.SolutionComponentDescriptor ComponentDescriptor
{
get
{
return Solution.Abstractions.SolutionComponentColle... |
package org.jugbd.mnet.domain.enums;
/**
* @author Bazlur Rahman Rokon
* @date 12/27/14.
*/
public enum PictureInformationType {
DAY_ONE("Day One"),
PREOPERATIVE("Pre-operative"),
PRE_OPERATION("Pre-operation"),
POSTOPERATIVE("Post operative"),
ON_DISCHARGE("On Discharge");
private Str... |
<?php
require_once (dirname(dirname(__FILE__)) . '/ticketvote.class.php');
class TicketVote_mysql extends TicketVote {} |
part of petisland.notification.bloc;
abstract class NotificationState extends BaseState {}
class ReloadNotificationUI extends NotificationState {
final List<PetNotification> items;
ReloadNotificationUI(this.items);
@override
String toString() => '$runtimeType-${items.length}';
}
class InitNotificationState... |
package com.miu360.taxi_check.adapter;
import java.util.ArrayList;
import com.miu360.inspect.R;
import com.miu360.taxi_check.BaseActivity;
import com.miu360.taxi_check.model.ZhuLinYeHuInfo;
import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
im... |
require 'fileutils'
require 'logger'
require 'susanoo/exports/helpers/path_helper'
require 'susanoo/exports/sync/rsync'
class BrowsingSupport::Exports::Mp3Mover
include BrowsingSupport::Exports::Helpers::PathHelper
include ::Susanoo::Exports::Helpers::ServerSyncHelper
cattr_accessor :logger do
Logger.new(ST... |
/*
* Copyright (C) 2016 The Android Open Source Project
*
* 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... |
import { Composer } from "../Composer"
import { Paint } from "../../styles/Color";
import { primitiveDrawable } from "../../drawable";
import { path, moveTo, quadraticCurveTo, ellipse } from "../../primitives/GeometricPrimitive2";
import { createTransform } from "../../transform/Transform";
import { fill, styles } from... |
/* eslint no-magic-numbers:0 */
import { run } from '@ember/runloop';
import { module, test } from 'qunit';
import { setupTest } from 'ember-qunit';
import { waitUntil } from '@ember/test-helpers';
import sinon from 'sinon';
let service;
module('Unit | Service | scheduler', (hooks) => {
setupTest(hooks);
hooks.bef... |
# planets
Software Carpentry Planets Example Repo
just a few fake files to help learn git commands
Jen messing up Randy's README files
|
import { Trash } from 'phosphor-react'
import React, { VFC } from 'react'
import { useQueryClient } from 'react-query'
import { GetArticlesQuery, useDeleteArticleMutation } from '../../generated/graphql'
import { useArticleItemBindings } from '../../hooks/useArticleItemBindings'
import useQueryHandle from '../../hooks/... |
# aws-service-lambda-call
Use Python to call aws related services in lambda.
Services include: RDS, DynamoDB, CDN, SQS, SES, Step Function, Kendra, Elastic Transcoding, Code Deploy.
|
import {Inject, Injectable, Injector, Optional, SkipSelf} from '@angular/core';
import {NAE_VIEW_ID_SEGMENT} from '../models/view-id-injection-tokens';
@Injectable()
export class ViewIdService {
public static readonly VIEW_ID_SEGMENT_SEPARATOR = '-';
protected _viewId: string;
constructor(@Optional() @S... |
require File.dirname(__FILE__) + '/test_helper'
describe "Braid::Mirror.new_from_options" do
it "should default branch to master" do
new_from_options("git://path")
@mirror.branch.should == "master"
end
it "should default type to git, from protocol" do
new_from_options("git://path")
@mirror.type.... |
<?php
namespace AppBundle\Extensions\DataTag;
use AppBundle\Common\ArrayToolkit;
class RecentLiveTasksDataTag extends CourseBaseDataTag implements DataTag
{
/**
* 获取用户近期直播课时列表
* 可传入的参数:
* userId 可选 用户ID
* count 必需 课时数量,取值不能超过100.
*
* @param array $arguments 参数
*
... |
using UnityEditor;
using UnityEngine;
public class SetupScene {
[MenuItem ("Project 404/Setup New Scene")]
public static void SetupNewScene_Editor () {
// Destroy Scene and re-create
GameObject[] objects = Object.FindObjectsOfType<GameObject> ();
for (int i = 0; i < objects.Length; i++) {
Object.... |
// Copyright 2018 Developers of the Rand project.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// https://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or https://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
/... |
(ns examples.scoring
(:require [clj-insim.client :as client]
[clj-insim.packets :as packets]
[examples.utils :as u]))
(defonce ^:private POINTS (atom {}))
(defn- points [result-num]
{:pre [(nat-int? result-num)]}
(nth [25 18 15 12 10 8 6 4 2 1] result-num 0))
(defmulti ^:private dispatc... |
// @flow
import type { Epic, EpicMiddleware } from 'redux-observable';
import { ActionsObservable, combineEpics, createEpicMiddleware } from 'redux-observable';
// Redux misc
type State = Array<number>;
type Action = { type: 'A' | 'B', ... };
/*
* Epic type
*/
const epic1: Epic<State, Action, void> =
(action$) =>... |
export { default } from './calculator'
if (process.env.MODULE_MULTIPLY) import('./plugins/multiply')
if (process.env.MODULE_DIVIDE) import('./plugins/divide')
|
package Zoe::ObjectMeta;
use Mojo::Base -strict;
sub new {
my $class = shift;
my %arg = @_;
my $self = {
has_many => {},
many_to_many => {},
foreign_key_feilds => {},
columns => [],
type => undef,
primary_ke... |
import Fact from './fact'
class TypeFact extends Fact {
constructor(value) {
super('type', value)
}
}
export default value => new TypeFact(value)
|
#!/bin/bash
pushd .
# cleanup lib folder
rm -rf ./lib/*
rm -rf dist
rm -rf example/public
npm install #postinstall: node remove-bitcore-lib-dep.js
npm run preBuild #tsc --outDir dist -d
npm run build # webpack
mkdir -p example/public/base-lib/bitclave-base
mkdir -p example/public/base-lib/@types/bitclave-... |
#!/bin/bash
###################################################################################################
# Script Name: Enroll_Existing.sh
# By: Zack Thompson / Created: 5/20/2015
# Version: 1.1 / Updated: 8/13/2015 / By: ZT
#
# Description: This script installs the MDM Profiles to enroll existing OS X d... |
;(function(undefined) {
'use strict';
if (typeof sigma === 'undefined')
throw 'sigma is not declared';
/**
* Sigma ForceAtlas2.5 Supervisor
* ===============================
*
* Author: Guillaume Plique (Yomguithereal)
* Version: 0.1
*/
var _root = this;
/**
... |
rm a.out
rm x
rm x.txt
rm *.s
rm *.o
rm README.copy.md
|
{
data.message.should.be.eql("请检查密码是否正确");
done();
}
|
package handler
import (
"encoding/json"
"strconv"
"github.com/asaskevich/govalidator"
"github.com/chainid-io/dashboard"
httperror "github.com/chainid-io/dashboard/http/error"
"github.com/chainid-io/dashboard/http/proxy"
"github.com/chainid-io/dashboard/http/security"
"log"
"net/http"
"os"
... |
using System;
using UnityEngine;
using UnityEngine.UI;
using Metadata;
namespace Client.UI
{
public class UIBalanceInforItem:IDisposable
{
public UIBalanceInforItem (GameObject go)
{
lb_title = go.GetComponentEx<Text> (Layout.title);
lb_num = go.GetComponentEx<Text> (Layout.num);
var tmpImg = go... |
package dev.keader.correiosapi
import okhttp3.Cookie
import okhttp3.CookieJar
import okhttp3.HttpUrl
class MemoryCookieJar : CookieJar {
private val cache = mutableSetOf<WrappedCookie>()
@Synchronized
override fun loadForRequest(url: HttpUrl): List<Cookie> {
val cookiesToRemove = mutableSetOf<Wra... |
package cn.vove7.bottomsheetdialog.builder
import android.graphics.Color
import android.view.View
import br.tiagohm.markdownview.MarkdownView
import br.tiagohm.markdownview.css.styles.Bootstrap
import cn.vove7.bottomdialog.builder.BottomDialogBuilder
import cn.vove7.bottomdialog.interfaces.ContentBuilder
import cn.vov... |
{-# LANGUAGE DeriveDataTypeable #-}
{-# LANGUAGE DeriveLift #-}
{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DeriveTraversable #-}
{-# LANGUAGE DerivingVia #-}
{-# LANGUAGE PolyKinds #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE InstanceSigs #-}
{-# LANGUAGE ScopedTypeVariables #-}
{-# LANGUAGE Standalone... |
module Schools
class UpdateSubdomainService
def initialize(school)
@school = school
end
def update(subdomain)
# Delete the existing subdomain.
#
# then
#
# Register the new subdomain with Schools::RegisterSubdomainService.new
end
private
# Deletion route.... |
package com.rarible.protocol.order.core.model
import io.daonomic.rpc.domain.Binary
import io.daonomic.rpc.domain.Word
import scalether.domain.Address
import java.math.BigInteger
data class OpenSeaTransactionOrder(
val exchange: Address,
val maker: Address,
val taker: Address,
val makerRelayerFee: BigI... |
// <copyright>
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
namespace System.ServiceModel.Channels
{
using System.Security;
using System.Security.Permissions;
using Net;
/// <summary>
/// Implementation of the IHttpCookieContainerManager
/// </summary>
cla... |
import React from "react";
import { useState } from "react";
import { useAsyncCallback, E_REASON_UNMOUNTED } from "../../lib/use-async-effect";
import { CPromise, CanceledError } from "c-promise2";
export default function TestComponent2() {
const [text, setText] = useState("");
const asyncRoutine = useAsyncCa... |
use crate::extractor::ExprType;
use std::str::Utf8Error;
use thiserror::Error;
// Top-level error type in the hierarchy
#[derive(Error, Debug, Clone, Eq, PartialEq)]
pub enum ParseError {
#[error("Source Error: {0}")]
SourceE(#[from] SourceError),
#[error("Type Error: {0}")]
TypeE(#[from] TypeError),
}... |
import Base from "../common/base-generator";
export default class Package extends Base {
public constructor(args: string | string[], options: Wup.Options) {
super(
args,
Object.assign({}, options, {
generatorName: "config:package",
dependsOn: [
"config:package:name",
... |
use super::*;
use web_sys::{CanvasRenderingContext2d, DomRect, Element};
use crate::resize::ResizeInfo;
use futures_signals::{
map_ref,
signal::{Signal, SignalExt},
};
use shared::domain::module::body::Transform;
use crate::{prelude::*, resize::resize_info_signal};
pub fn size_width_center_rem_signal(
si... |
require 'pronto'
require 'open3'
require 'shellwords'
require 'json'
module Pronto
class Gometalinter < Runner
def initialize(patches, commit = nil)
super
@executable = ENV['PRONTO_GOMETALINTER_EXECUTABLE'] || 'gometalinter'
end
def run
return [] unless @patches
@patches.select ... |
require 'fileutils'
require 'digest'
require 'zip'
require 'kmz_compressor/middleware'
module KMZCompressor
class Railtie < Rails::Railtie
initializer "kmz_compressor.init" do |app|
app.config.middleware.use KMZCompressor::Middleware
Mime::Type.register "application/vnd.google-earth.kml+xml", :kml
... |
kaggle-taxi-trip-time-prediction
================================
Winning solution for the Taxi-Trip Time Prediction Challenge on Kaggle (https://www.kaggle.com/c/pkdd-15-taxi-trip-time-prediction-ii).
Documentation about the method is available in `doc/Taxi_II_Winning_Solution.pdf`.
Information on how to generate t... |
package org.ovirt.engine.api.restapi.resource;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertThrows;
import static org.junit.jupiter.api.Assertions.assertTrue;
import static org.mockito.Mockito.any;
import static org.mockito.Mockito.eq;
import static ... |
/**
* License: zlib/libpng
* @author Santo Pfingsten
* @see https://github.com/Lusito/forget-me-not
*/
import { messageUtil } from "../lib/messageUtil";
import { settings } from "../lib/settings";
import { removeLocalStorageByHostname } from "./backgroundShared";
import { TabWatcher, TabWatcherListener } ... |
namespace RxBim.Tools.Revit.Serializers
{
using System;
using System.Collections.Generic;
using System.Linq;
using Autodesk.Revit.DB;
using Extensions;
using TableBuilder;
using TableBuilder.Abstractions;
/// <inheritdoc />
public class ViewScheduleTableSerializer<T> : ITableSerial... |
#!/bin/sh
# -----------------------------------------------------------------------------
# This script is used to enable/disable touchpad
# Use at your own risk!
# -----------------------------------------------------------------------------
# Ref:
# https://stackoverflow.com/a/18756948/5456794
# https://askubu... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace UbiDisplays.Utilities
{
/// <summary>
/// A mutable two pair tuple.
/// </summary>
/// <typeparam name="T1">The first item</typeparam>
/// <typeparam name="T2">The second item</typeparam>
public cl... |
# What is the assumption made by the disciples as to why the man was born blind?
The disciples are assuming that the reason the man was born blind is because either the man or his parents sinned.
|
module ActiveRecord
module ActsAsRelation
module SuperclassMigration
def self.included(base)
base.class_eval do
alias_method_chain :create_table, :as_relation_superclass
end
end
def create_table_with_as_relation_superclass(table_name, options = {})
create_table... |
import { ValidationRuleBaseClass } from './ValidationRuleBaseClass';
import { ValidationRule } from './ValidationRule';
/**
* This rule demands the validation to a list of subrules.
* The validation can be in the form of 'all' or 'any': in the first case all of the subrules must success, in the second
* case at lea... |
This dashboard answers the following questions:
- How many DB systems are in each tenancy, compartment, and region?
- How much storage is allocated across all DB systems?
- How many analytics and heatwave clusters are attached to DB systems?
- How many DB systems do not have backups?
- What are my most used DB systems... |
<?php
namespace App\Http\Controllers\Dw;
use Illuminate\Http\Request;
use Illuminate\Http\Response;
use Illuminate\Routing\Controller;
use Illuminate\Support\Facades\DB;
use Illuminate\Support\Collection;
use Session;
use Config;
use URL;
use Validator;
use App\LDAP;
class TargetController extends Controller {
publi... |
#!/bin/bash
. /home/chri/python-virtual-environments/rpi/bin/activate
cd /mnt/d/chri/reottimis
exec nice /mnt/d/chri/reottimis/reottimis_daily.py 'yesterday' /mnt/d/chri/reolink.cfg
|
package com.revolgenx.anilib.ui.view.widgets.chip
import android.content.Context
import android.content.res.ColorStateList
import android.util.AttributeSet
import com.google.android.material.chip.Chip
import com.pranavpandey.android.dynamic.support.theme.DynamicTheme
import com.pranavpandey.android.dynamic.utils.Dynam... |
#!/bin/sh -
# disable power management for wifi
iw wlan0 set power_save off
iwconfig wlan0 power off
# run video server
export LD_LIBRARY_PATH=/usr/local/lib/mjpg-streamer
mjpg_streamer -o "output_http.so -w /usr/local/share/mjpg-streamer/www -p 80" -i "input_uvc.so -r 1280x720"
|
class WorkoutSerializer
include FastJsonapi::ObjectSerializer
attributes :user_id, :exercises, :user
end
|
const config = require('./config')
const http = require('http')
const app = require('./app')
app.set('port', config.port)
const server = http.createServer(app)
server.listen(config.port)
console.log(`server listening on port ${config.port}`)
|
---
title: ShapeParentChanged Event, Visio [vis_sdr.chm10019235]
keywords: vis_sdr.chm10019235
f1_keywords:
- vis_sdr.chm10019235
ms.prod: office
ms.assetid: b45503f2-8d53-41ee-9438-e768fb6ae279
ms.date: 06/08/2017
ms.localizationpriority: medium
---
# ShapeParentChanged Event, Visio [vis_sdr.chm10019235]
Hi there! ... |
package stack
import (
"github.com/sparetimecoders/build-tools/pkg/file"
"github.com/sparetimecoders/build-tools/pkg/templating"
"path/filepath"
)
type Go struct{}
func (g Go) Scaffold(dir string, data templating.TemplateData) error {
if err := file.WriteTemplated(dir, "go.mod", goMod, data); err != nil {
retu... |
#include "Curves/TextCurve.h"
/* FKeyHandleMap interface
*****************************************************************************/
void FMyKeyHandleMap::Add(const FKeyHandle& InHandle, int32 InIndex)
{
for (auto It = KeyHandlesToIndices.CreateIterator(); It; ++It)
{
int32& KeyIndex = It.Value();
if (Key... |
define('EntryPointDuplicatedDependencies', [
'Dependency1',
'Dependency2',
'Dependency2',
'Dependency1'
], function() {});
|
Exercicio Programador Vox
========================
Este projeto foi feito utilizando o framework [**Symfony**][1] 3.2.8.
Foram utilizados os bundles:
* FOSUserBundle v2.0: https://github.com/FriendsOfSymfony/FOSUserBundle
* PetkoparaCrudGeneratorBundle v3.0.5: https://github.com/petkopara/PetkoparaCrudGene... |
SELECT cohorts.name, AVG(completed_at - started_at) AS average_assistance_time
FROM assistance_requests
JOIN students ON student_id = students.id
JOIN cohorts ON students.cohort_id = cohorts.id
GROUP BY cohorts.name
ORDER BY average_assistance_time DESC
LIMIT 1;
|
using UnityEngine;
using System.Collections;
using UnityEngine.Networking;
using UnityEngine.UI;
/**
* NOT USED ANYMORE
*/
[NetworkSettings (channel = 0, sendInterval = 0.033f)]
public class PlayerSyncPosition : NetworkBehaviour {
[SerializeField]
Transform myTransform;
[SerializeField]
float lerpRate = 15;... |
use v6.c;
use Test;
use P5gethostbyname;
my @supported = <
gethostbyaddr gethostbyname
>.map: '&' ~ *;
plan @supported * 2;
for @supported {
ok defined(::($_)), "is $_ imported?";
nok P5gethostbyname::{$_}:exists, "is $_ NOT externally accessible?";
}
# vim: ft=perl6 expandtab sw=4
|
---
id: tut-adding-opc-datasouce
title: Adding OPC-UA Server
sidebar_label: Adding OPC-UA Server
---
## Adding a new OPC-UA server |
# ONEID - Distributable Unique numeric IDS
## Features Summary
* Thread-safe concurrent Numeric IDs.
* Support upto 1024 servers with upto 32 processes each by default.
* Partially-sortable time-based IDs.
* Trivially customizable to support even more.
* Uses only builtin Golang stdlib with no external dependencies.
... |
[libui](index.md) / [uiControlDestroy](./ui-control-destroy.md)
# uiControlDestroy
`fun uiControlDestroy(arg0: CValuesRef<`[`uiControl`](ui-control/index.md)`>?): Unit` |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.