text
stringlengths
27
775k
SUBROUTINE UPDMAP ( iret ) C************************************************************************ C* UPDMAP * C* * C* This subroutine calls the appropriate subroutines to update * C* the map common area for map projections. * C* * C* UPDMAP ( IRET ) * C* * C* Output parame...
trait A trait B trait C trait D trait E trait F trait G trait H trait I trait J trait K trait L trait M trait N trait O trait P trait Q trait R trait S trait T trait U trait V trait W class Foo[T] val f1 = Foo[A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U] val f2 = Foo[A | (B | (C ...
import mysql.connector from mysql.connector import errorcode try: conexao = mysql.connector.connect(user='', password='', host='', database='') except mysql.connector.Error as erro: if erro.errno == errorcode.ER_ACCESS_DENIED_ERROR: print("Usuário ou senha inválidos") elif erro.errno == errorcode.E...
namespace Gschwind.Lighthouse.Example.Models.Data { /// <summary> /// Vorgang Sparbrief /// </summary> public record SavingsBond : TimeDeposit { /// <summary> /// Erzeugt eine neue Instanz der <see cref="SavingsBond"/>-Klasse /// </summary> public SavingsBond() => ...
docker rm -f sensor docker build -t sensor . docker run --name sensor --network host -d sensor
package org.infinispan.query.dsl.embedded; import org.infinispan.commons.util.Util; import org.infinispan.configuration.cache.ConfigurationBuilder; import org.infinispan.configuration.cache.SingleFileStoreConfigurationBuilder; import org.infinispan.test.TestingUtil; import org.infinispan.test.fwk.TestCacheManagerFacto...
# coding=utf-8 import time __author__ = 'Sean' # TODO: Replace `time` with proper monotonic time class TokenBucket(object): """ A token bucket. The bucket will be filled with new tokens at a set rate, up to a set limit, and code can consume those tokens. If not enough tokens are available, the calli...
# This code was automatically generated using xdrgen # DO NOT EDIT or your changes may be overwritten require 'xdr' # === xdr source ============================================================ # # struct Signer # { # SignerKey key; # uint32 weight; // really only need 1byte # }; # # ===============...
from typing import Optional class Album: def __init__(self, name: str, artist: str, guid: Optional[int] = None): self.guid = guid self.name = name self.artist = artist
package net.mready.photon import org.junit.Assert.assertNotNull import org.junit.Test class DependencyTest { @Test fun dependencyInstance() { val injector = Injector.with() assertNotNull(injector.instance(Plain::class.java)) } @Test fun provider() { val injector = Injector...
<div class='btn-group'> <h5 class="name__copytext m-0 item__slideout-toggle" dir="ltr"> <span class="glyphicon glyphicon-eye-open"></span> <aDETAILS </h5> </div>
import { fromUtc } from '@redhat-cloud-services/insights-common-typescript'; import { Schemas } from '../../generated/OpenapiNotifications'; import { NotificationEvent, NotificationEventAction, NotificationEventStatus } from '../Event'; import { UUID } from '../Notification'; import { getIntegrationType } from './Inte...
# expect_ssh Expect script to try multiple passwords in a given host ## Usage Set the passwords at ~/password.txt, one per line ```sh ./expect user host ``` ## To do * Text plain password at password.txt * Error outputs
require 'archive/zip' require 'jekyll' require 'json' require 'octopress-hooks' require 'open-uri' require 'rake' module Jekyll def self.download(url, dest) uri = URI.parse(url) result = File.join(dest, File.basename(uri.path)) Jekyll.logger.info " Downloading #{url}" IO.copy_stream(URI.open(url),...
package com.tempstorage.storagesvc.service.download import org.springframework.data.annotation.Id import org.springframework.data.mongodb.core.mapping.Document import java.time.ZonedDateTime @Document(collection="download_tokens") data class DownloadToken ( val expiryDatetime: ZonedDateTime, val downloadKey: ...
package com.fxn import android.content.Context import android.graphics.Color import android.os.Build import android.util.AttributeSet import android.util.Log import android.view.Gravity import android.view.Menu import android.widget.LinearLayout import androidx.annotation.RequiresApi import androidx.navigation.NavCont...
#!/usr/bin/env dart // Copyright (c) 2013, 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. library file_generator_test; import 'package:protoc_plugin/src/descriptor.pb.dart'...
#! /usr/bin/env bash mkdir -p data/mnist/padded cd data/mnist/padded if [[ ! -f train.hdf5 ]]; then wget -O train.hdf5 https://github.com/adityaramesh/lantern/releases/download/data/train.hdf5 fi if [[ ! -f test.hdf5 ]]; then wget -O test.hdf5 https://github.com/adityaramesh/lantern/releases/download/data/test.hdf...
#!/bin/sh # TODO: Might have to re-run after kernel update, make a pacman # hook to automate paru -Syu --needed --noconfirm polybar
//nolint:golint package mavros_msgs import ( "github.com/aler9/goroslib/pkg/msg" "github.com/aler9/goroslib/pkg/msgs/std_msgs" ) const ( CommandVtolTransitionReq_STATE_MC uint8 = 3 CommandVtolTransitionReq_STATE_FW uint8 = 4 ) type CommandVtolTransitionReq struct { msg.Definitions `ros:"uint8 STATE_MC=3,uint8 S...
<?php echo $user_name;?> 様 お世話になってます。 MyPORTALへのご登録ありがとうございます。 以下のURLへ遷移する事でアカウントの有効可が行えます。 http://syokudo.myportal.jpn.com/index.php/api/activate/<?php echo $pass;?> MyPORTAL Web版は開発中の為まだ使用できませんが、 有効完了後、アプリ版でログインしてお楽しみ下さい。 よろしくお願い致します。
# Copyright 2019-2020 LiveRamp Holdings, 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 applicable law or agree...
using MediatR; namespace MattsTwitchBot.Core.Requests { public class SoundEffect : IRequest { public string SoundEffectName { get; private set; } public SoundEffect(string soundEffect) { SoundEffectName = soundEffect; } } }
import math from collections import namedtuple import AppKit import defcon from booleanOperations.booleanGlyph import BooleanGlyph from lib.tools import bezierTools from mojo.events import installTool, BaseEventTool, extractNSEvent, addObserver from mojo.UI import getDefault from mojo.extensions import getExtensionDefa...
class ChargebacksController < ApplicationController after_action :verify_authorized before_action :load_chargeback, only: [:show, :update, :destroy] before_action :load_chargeback_params, only: [:create, :update] before_action :load_chargebacks, only: [:index] api :GET, '/chargebacks', 'Returns a collection...
/* * Copyright 2018 Allan Wang * * 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 i...
#![crate_name="ralloc_shim"] #![crate_type="lib"] #![feature(lang_items)] #![no_std] extern crate system; use system::syscall::unix::{sys_brk, sys_yield}; /// Cooperatively gives up a timeslice to the OS scheduler. pub extern "C" fn sched_yield() -> isize { match sys_yield() { Ok(_) => 0, Err(_) ...
/* A lifetime name cannot be declared more than once in the same scope */ extern crate foo; #[cfg(test)] mod tests { #[allow(dead_code)] #[allow(non_snake_case)] #[allow(unused_imports)] #[test] fn with_error1() { // // error, lifetime name `'a` declared twice in the same scope ...
import { ChangeDetectionStrategy, Component, Input, ViewEncapsulation } from '@angular/core'; /** * The component that represents a shellbar action. * ```html * <fd-shellbar-action *ngFor="let action of actions" * [glyph]="action.glyph" * [callback]="action.callback" * ...
# frozen_string_literal: true module Hyrax class PersistDerivatives < Hydra::Derivatives::PersistOutputFileService # Persists a derivative to the local file system. # This Service conforms to the signature of `Hydra::Derivatives::PersistOutputFileService`. # This service is an alternative to the default H...
import 'dart:convert'; import 'dart:io'; import 'package:dio/dio.dart'; import 'package:shared_preferences/shared_preferences.dart'; import 'package:xshop_app/component/toast.dart'; import 'package:xshop_app/util/user_util.dart'; String baseUrl = "http://192.168.31.9:8008"; // models uri String userModelUri = baseUrl...
using System; using System.Collections.Generic; using System.Text; namespace TemplatePattern { public class Sourdough : Bread { public override void MixIngredients() { Console.WriteLine("Gathering Ingredients for Sourdough Breed."); } public override void Bake() ...
1000.times { [0].zip [0] } (0..1000).to_a ObjectSpace.each_object{ |obj| obj[] rescue 0 }
. .\config.ps1 cd $global:OpenSSL_sourcedir & nmake.exe test if ($lastexitcode -ne 0){ exit $lastexitcode } exit 0
package almond /** * Ad-hoc logging library. * * Its motivations, compared to logback and all, are two-fold: * - easier to adjust its configuration programmatically (e.g. from command-line options), * without tangling with Java properties, etc. * - easier to have it log to a given [[java.io.PrintStream]]...
/* * Copyright (c) 2020, ARM Limited and Contributors. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ #include <arch_helpers.h> #include <assert.h> #include <common/debug.h> #include <drivers/arm/gicv2.h> #include <drivers/console.h> #include <errno.h> #include <lib/mmio.h> #include <lib/psci/ps...
using System; using System.Collections.Generic; using System.Text; namespace FindAllSimplePaths { public class AllPaths { private const int VERTECES_COUNT = 14; private static readonly bool[,] graph = new bool[VERTECES_COUNT, VERTECES_COUNT] { {false, true, false, false, f...
require 'forwardable' module Tipo class Font extend Forwardable def_delegators :@file, :seek, :tell def initialize file @file = File.open file, 'rb:ASCII-8BIT' end def encoding @file.read(5).encoding end def chunk options @file.seek options[:seek] if options[:see...
package auth import ( "fmt" "io/ioutil" "os" "path/filepath" "strconv" "strings" "time" "github.com/dgrijalva/jwt-go" "github.com/pborman/uuid" "github.com/pkg/errors" ) // StorageFile is a storage engine that stores private keys on the local file system. type StorageFile struct { // Local directory for s...
--- title: "La fidélité dans les petites choses" date: 2022-01-06T15:18:43+06:00 draft: false # post author author : "Nicole Tsana" # post thumb image: "images/blog/post4.png" # meta description description: "this is meta description" # taxonomies categories: ["Go Language"] tags: ["Photos", "HTML", "Python", "New"...
/*--------------------------------------------------------------------------* * * SmoothScroll JavaScript Library V2 * * MIT-style license. * * 2007-2011 Kazuma Nishihata * http://www.to-r.net * *--------------------------------------------------------------------------*/ new function(){ var attr ="data...
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) GeoWorks 1990 -- All Rights Reserved PROJECT: PC GEOS MODULE: FILE: nimbusSegments.asm AUTHOR: Gene Anderson, May 27, 1990 ROUTINES: Name Description ---- ----------- Segments Process character com...
#!/bin/bash . ${SETUP_DIR}/bash/helperFuncs.sh ERR=$? if [ "$ERR" != "0" ]; then exit 1 fi _install curl echo "Installing Docker..." if [ ! -z `which docker` ]; then echo "Done" exit 0 fi sudo apt-get remove -y docker docker-engine docker.io echo " Install dependencies" sudo apt-get install -y apt-transport-htt...
package com.mzt.logserver.service; import com.mzt.logserver.beans.Order; /** * @author muzhantong * create on 2020/6/12 11:07 上午 */ public interface IOrderService { boolean createOrder(Order order); boolean update(Long orderId, Order order); boolean testCondition(Long orderId, Order order, String con...
<?php class API_model extends BEN_Model { public $table = "account"; function __construct(){ $this->db->select('*'); } public function api_login_update($data){ $username = $data['username']; $password = $data['password']; $this->db->where('username', $username)->where('password', $password); $query ...
Ultra Clean Pool Service is a pools pool and spa service for residential and commercial locations.
scatter_defaults() = Dict([ :strokewidth => 0, :color => main_color() ]); """ $(SIGNATURES) Line graph. Simple wrapper around `lines`. """ function scatter_plot(xV, yV :: AbstractVector{F}; fig = blank_plot(), pos = (1,1), kwargs ...) where F args = merge(scatter_defaults(), kwargs); ax = fig[p...
using Csv; using System.Collections.Generic; namespace CsvManager { public class MountCfgManager : AbstractCfgManager { private static MountCfgManager inst; public static MountCfgManager Inst() { if (inst == null) { inst = new MountCfgManager(); ...
/* * Public API Surface of ngx-raptorize */ export * from './lib/konamiCode.directive'; export * from './lib/ngx-raptorize.component'; export * from './lib/ngx-raptorize.module'; export * from './lib/ngx-raptorize.token';
/* Navicat MySQL Data Transfer Source Server : demo Source Server Version : 50540 Source Host : localhost:3306 Source Database : crm Target Server Type : MYSQL Target Server Version : 50540 File Encoding : 65001 Date: 2016-12-25 16:46:41 */ SET FOREIGN_KEY_CHECKS=0; -- ----------...
/* * © 2018 Match Group, LLC. */ package com.tinder.streamadapter.coroutines import com.tinder.scarlet.StreamAdapter import com.tinder.scarlet.utils.getRawType import kotlinx.coroutines.flow.Flow import java.lang.reflect.Type /** * A [stream adapter factory][StreamAdapter.Factory] that uses ReceiveChannel. */ cl...
import fs from "fs"; import util from "util"; import readline from "readline"; import { google, sheets_v4 } from "googleapis"; import { Coc } from "./coc"; // If modifying these scopes, delete token.json. const SCOPES = ["https://www.googleapis.com/auth/spreadsheets"]; // The file token.json stores the user's access ...
import { VideoInfo } from '../urlParser'; export interface FacebookUrlParameters { v?: string; [key: string]: any; } export type FacebookMediaTypes = 'video'; export interface FacebookVideoInfo extends VideoInfo<FacebookUrlParameters, FacebookMediaTypes> { provider: 'facebook'; pageId?: string; } ex...
--- title: 数据库管理 - Azure 数据资源管理器 description: 本文介绍 Azure 数据资源管理器中的数据库管理。 services: data-explorer author: orspod ms.author: v-tawe ms.reviewer: rkarlin ms.service: data-explorer ms.topic: reference origin.date: 03/24/2020 ms.date: 01/22/2021 ms.openlocfilehash: 2b3007666b7aab7f33491b12c1ef79a752aef37a ms.sourcegitcommit...
#!/bin/sh git submodule add https://github.com/espressif/arduino-esp32.git components/arduino git submodule add https://github.com/bblanchon/ArduinoJson.git components/ArduinoJson git submodule add https://github.com/fhessel/esp32_https_server.git components/esp32_https_server git submodule add https://github.com/phild...
import { Component, OnInit } from '@angular/core'; import { Router, ActivatedRoute } from '@angular/router'; import { ToastyConfig, ToastyService } from 'ng2-toasty'; import { Stat } from './models/stat' import { StatsService } from './services/stats.service' @Component({ selector: 'app-root', templateUrl:...
import ru.otus.junit.*; public class CalcTest { @Before public void setUp() { } @Test public void sum() { } @After public void down() { } }
from argparse import ArgumentParser import numpy as np import tensorflow as tf from config import Config from dd_model import Model import DD import sm_helper as hp ############################################################### g_model = None g_original_method_name = None g_predicted_method_name = None g_cnt_pass = ...
--- layout: post title: v1.1 Release --- What's New : * metode baru deteksi aplikasi Path. * metode baru untuk reset permission. * hapus script kadaluarsa. * menata ulang seluruh string.
# -*- mode: shell-script -*- prepare_files if [ "$?" != 0 ]; then print_error "Error while updating version information." fi
import 'package:flutter/material.dart'; import 'package:harpy/harpy_widgets/harpy_widgets.dart'; /// Builds an [AnimatedSize] widget with the [child]. /// /// Used to allow using the [AnimatedSize] without having to make a widget /// stateful. class CustomAnimatedSize extends StatefulWidget { const CustomAnimatedSiz...
# VLSV reader in Julia include("vlsvvariables.jl") "Velocity mesh information." struct VMeshInfo "number of velocity blocks" vblocks::NTuple{3, Int64} vblock_size::NTuple{3, Int64} vmin::NTuple{3, Float64} vmax::NTuple{3, Float64} dv::NTuple{3, Float64} end "Variable information from the VLSV foote...
package godjango import _ "github.com/kittuov/go-django/admin" func init() { // get settings and instantiate every part of framework like logs etc }
Rails.application.config.middleware.use OmniAuth::Builder do provider :myusa, ENV['MYUSA_OAUTH_PROVIDER_KEY'], ENV['MYUSA_OAUTH_PROVIDER_SECRET'], :client_options => { :site => ENV['MYUSA_HOME'], :token_url => "/oauth/authorize", :ssl => { :verify => false } }, :scope => ENV['MYU...
package fr.tse.fise2.heapoverflow.wikidata; class WdSitelinks { private WdTemplateLangCodeWiki ptwiki; private WdTemplateLangCodeWiki fawiki; private WdTemplateLangCodeWiki ruwiki; private WdTemplateLangCodeWiki frwiki; private WdTemplateLangCodeWiki hywiki; private WdTemplateLangCodeWiki ...
/* * Copyright ActionML, LLC under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * ActionML licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except...
/* Blake Wyatt COP 6616 Assignment 2: Problem 1 */ use std::{ thread, sync::Arc, sync::atomic::{Ordering, AtomicBool}, env }; use rand::prelude::*; fn main() { let args: Vec<String> = env::args().collect(); let n = args.get(1).unwrap().parse::<usize>().unwrap(); // Run problem 1 minotaurs_birthday_par...
// Copyright 2021 Google LLC. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by...
--- title: Display more load errors? keywords: vblr6.chm60057 f1_keywords: - vblr6.chm60057 ms.prod: office ms.assetid: 793041bd-219d-7503-aead-b50d2ab2e7cc ms.date: 06/08/2017 --- # Display more load errors? Click **OK** to see more errors, otherwise click **Cancel**.
# Copyright 2020 Huawei Technologies Co., Ltd # # 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...
const Web3 = require('web3') const fs = require('fs'); const web3 = new Web3("http://localhost:7545") const WEB3_TEST = false let account_list = web3.eth.personal.getAccounts() if (WEB3_TEST) { let new_list = account_list.then(data =>{ console.log(data) d...
/** */ package org.scribble.editor.dsl.scribbleDsl.util; import org.eclipse.emf.ecore.EObject; import org.eclipse.emf.ecore.EPackage; import org.eclipse.emf.ecore.util.Switch; import org.scribble.editor.dsl.scribbleDsl.*; /** * <!-- begin-user-doc --> * The <b>Switch</b> for the model's inheritance hierarchy. *...
import React from "react"; import { Layout, Space } from "antd"; import "./Shell.scss"; import { ShellBody } from "./ShellBody"; import { Header } from "antd/lib/layout/layout"; import { Link } from "react-router-dom"; const ShellHeader = (): JSX.Element => { return ( <Header className="ShellHeader"> <Link...
package jp.vmi.selenium.selenese.config; import java.io.BufferedReader; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStreamReader; import java.io.PrintWriter; import java.nio.charset.StandardCharsets; import java.util.regex.Matcher; import java.util.regex.Pattern...
import { IonCard, IonCardContent, IonCardHeader, IonCardTitle } from "@ionic/react"; import { calculateBiorhythms } from "../calculation"; import dayjs from "dayjs"; import BiorhythmChart from './BiorhythmChart' import './BiorhythmCard.css'; function formatDate(isoString) { return dayjs(isoStr...
# palone.top My personal Website, previously found at (who would have thought) [https://palone.top](https://palone.top)
# vim-meth-head Highlight method/function header and trailer lines in vim using syntax group, regex, or fold level Needs some cleanup...
import { StudentEntity } from './entities/student.entity'; import { AudioEntity } from './entities/audio.entity'; import { Repository } from 'typeorm'; export declare class TTSService { private audioRep; constructor(audioRep: Repository<AudioEntity>); private retrieve_tts; private decode_mp3; privat...
class UserPolicy < ApplicationPolicy def index? # noone should be able to view list of users false if !user.nil? end def show? # everyone can see user profile true end def edit? # only account owner should be able to edit account and admin ( user.admin? || user.id == record.id ) if...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using NHibernate.Util; namespace NHibernate.Caches.Redis { public class RedisCacheConfiguration { public static readonly TimeSpan DefaultExpiration = TimeSpan.FromMinutes(5); pub...
//////////////////////////////////// // sqlx-exec - module for the sqlx query executor //// use crate::SqlBuilder; use sqlx::{postgres::PgArguments, Execute, Executor, FromRow, Postgres}; /// Build a sqlx::query_as for the D (Data) generic type, binds the values, and does a .fetch_one and returns E pub async fn fetch...
package drivers import "testing" func TestNewOnDiskStorageController(t *testing.T) { t.Parallel() sc := NewOnDiskStorageController("test/controlla") if sc.FSPath != "test/controlla" { t.Fatal("Storage controller created in wrong dir ", sc.FSPath) } } func TestSCConnect(t *testing.T) { t.Parallel() sc := NewO...
{-# LANGUAGE ExistentialQuantification #-} {-# LANGUAGE FlexibleContexts #-} module Impl.Service.StoreServiceImpl where import Control.Monad import Data.Maybe import Spec.Service.StoreService as StoreService import Spec.Entity.ItemEntity import Spec.Dto.ItemDto import Spec.Dto.TagDto as TagDto import Spec.Dao.ItemDao ...
import { Composition, Generator } from '../common/shapes' import { distance, color, path, distanceVector, colorVector, scalarVector, mixStep } from '../common/inputs' const Gradient = { mixStep: mixStep, colors: colorVector, stops: scalarVector, ...Generator } export const shapes = { AndroidDe...
Contributing ============ If you'd like to contribute to `wit`, please fork its Github repository, make your changes, and submit a pull-request. Please note that one of `wit`'s primary advantages is its simplicity and small codebase, so I am not interested in bloating it with "features". With that said, you may wish t...
/* * Package : sbom * Author : S. Hamblett <steve.hamblett@linux.com> * Date : 22/09/2021 * Copyright : S.Hamblett */ part of sbom; /// The SBOM output generator interface class. abstract class SbomIOutputGenerator { /// The generated tags late SbomTags tags; /// Path(absolute) to the generated SBOM fi...
""" Bridges `CP.Element` to MILP constraints by using a unary encoding of the index in the array. """ struct Element2MILPBridge{T} <: MOIBC.AbstractBridge vars::Vector{MOI.VariableIndex} vars_bin::Vector{MOI.ConstraintIndex{MOI.VariableIndex, MOI.ZeroOne}} con_unary::MOI.ConstraintIndex{MOI.ScalarAffineFun...
package com.jetbrains.fortea.lexer import com.intellij.openapi.editor.impl.EditorImpl import com.jetbrains.rdclient.testFramework.waitForDaemon import com.jetbrains.rider.test.framework.waitBackend import com.jetbrains.rider.test.scriptingApi.waitForDaemonAndCaches import com.jetbrains.rider.test.scriptingApi.withOpen...
#include "cpb.hpp" namespace CPBuddy { Application::Application() :m_instanceID(0) {} }
module Governor class ViewsGenerator < Rails::Generators::Base source_root File.expand_path('../../../../app/views', __FILE__) desc 'Copies Governor views to your application.' # argument :resource, :type => :string, :default => Governor.default_resource.plural.to_s def copy_views directory 'go...
package yokohama.unit.translator; import java.net.URL; import java.net.URLClassLoader; import java.nio.file.Path; import java.nio.file.Paths; import java.util.Arrays; import java.util.Collections; import java.util.List; import java.util.Optional; import java.util.concurrent.Callable; import lombok.AllArgsConstructor; ...
package com.atlassian.performance.tools.report.result import com.atlassian.performance.tools.jiraactions.api.ActionMetric import com.atlassian.performance.tools.jiraactions.api.ActionMetricStatistics import com.atlassian.performance.tools.jiraactions.api.ActionType import com.atlassian.performance.tools.report.ActionM...
package com.zachklipp.richtext.ui.printing import android.app.Activity import android.content.Context import android.graphics.PixelFormat import android.graphics.pdf.PdfDocument.Page import android.print.pdf.PrintedPdfDocument import android.view.View import android.view.ViewTreeObserver.OnDrawListener import android....
using System.Globalization; using bytePassion.Library.Essentials.Tools.SemanticTypeBase; using bytePassion.Library.Essentials.WpfTools.ConverterBase; namespace bytePassion.Library.Essentials.WpfTools.Converter { public class SemanticDoubleTypeToDoubleConverter : GenericValueConverter<SemanticType<double>, double> ...
import componentIdReducer from '../../reducers/componentId' describe('componentId reducers', () => { test('componentId reducers return initial state', () => { expect(componentIdReducer(undefined, {})).toEqual([]) }) test('componentId reducers return custom state', () => { const beforeState = [] cons...
/** * @file build * @author zhangwentao <winty2013@gmail.com> */ /* eslint-disable fecs-min-vars-per-destructure */ const directive = require('./directive'); // const {getComputedModifier} = require('./module/computed'); const {modifyBind, transformExpression} = require('./module/helper'); const {judgeNodeType, NO...
/*********************************************************************** * Copyright (c) 2013-2016 Commonwealth Computer Research, Inc. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Apache License, Version 2.0 * which accompanies this distribution and is ...
<?php namespace PharmaIntelligence\GstandaardBundle\Model; use PharmaIntelligence\GstandaardBundle\Model\om\BaseGsZiccodeQuery; class GsZiccodeQuery extends BaseGsZiccodeQuery { }
<?php use PHPMailer\PHPMailer\PHPMailer; use PHPMailer\PHPMailer\SMTP; date_default_timezone_set('Etc/UTC'); $Subject = urldecode($_POST['Subject']); $Body = urldecode($_POST['Body']); $Color = urldecode($_POST['Color']); $Type = urldecode($_POST['Type']); $From = urldecode($_POST['From']); $NotificationGroup = ...
#include "mouse.h" #include <cold/input/io.h> namespace cold { glm::vec2 Mouse::pos; bool Mouse::lock_updated = false, Mouse::locked = false, Mouse::active = true; unsigned int Mouse::buttons = 0; int Mouse::center_x, Mouse::center_y; void Mouse::set_lock_position(int x, int y) { center_x = x; center_y = y; } voi...