text
stringlengths
3
1.05M
package com.usual.imageProcessing; import java.awt.*; import java.awt.event.*; import java.awt.geom.*; import java.awt.image.*; import java.io.*; import javax.imageio.*; import javax.swing.*; import javax.swing.filechooser.*; /** * This frame has a menu to load an image and to specify various transformations, and a ...
package forms import helpers.FormInspectors._ import models.api.Address import models.view._ import testHelpers.VatRegSpec import java.time.LocalDate class ApplicantFormsSpec extends VatRegSpec { "FormerNameDateForm" should { val testForm = FormerNameDateForm.form(LocalDate.of(2000, 1, 1)) val testData ...
module Bishop extend self include Moves def illegal(board,x,y) possible_moves = [] 7.times do |coord| possible_moves += Board.board_safe( diagonal(coord) ) end if not(possible_moves.any? {|move| move == [x,y]}) raise Game::IllegalMove, "#{x},#{y} is not a possible mo...
SafeCrypt ========= Cleaned up version of [AppHarbor.Web.Security](https://github.com/appharbor/AppHarbor.Web.Security) that can be used for anything not just encrypting cookies. We provide an implementation in PHP and C#. # How to Use # Drop SafeCrypt.cs and SafeCrypt.php into your project. C#: var Encryption...
(function() { [].slice.call(document.querySelectorAll('.menu')).forEach(function(menu) { var menuItems = menu.querySelectorAll('.menu-link'), setCurrent = function(ev) { ev.preventDefault(); var item = ev.target.parentNode; // li // return if already current if (classie.has(item, 'menu-item-curr...
#ifndef __domJoint_h__ #define __domJoint_h__ #include <dae/daeDocument.h> #include <dom/domTypes.h> #include <dom/domElements.h> #include <dom/domAxis_constraint.h> #include <dom/domExtra.h> class DAE; class domJoint : public daeElement { public: virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLA...
ACCEPTED #### According to The Catalogue of Life, 3rd January 2011 #### Published in null #### Original name null ### Remarks null
package rr.instrument.noinst; import rr.org.objectweb.asm.MethodVisitor; import rr.org.objectweb.asm.Opcodes; import rr.instrument.classes.RRClassAdapter; import rr.meta.MetaDataInfoMaps; import rr.meta.MethodInfo; import acme.util.Assert; // Since Clone copies instrumentation fields, we need to wipe them... publ...
package io.redlink.smarti.services; import org.springframework.beans.factory.annotation.Value; import org.springframework.context.MessageSourceResolvable; import org.springframework.context.NoSuchMessageException; import org.springframework.context.support.ReloadableResourceBundleMessageSource; import org.springfram...
package org.shypl.biser.csi.server; import org.apache.commons.codec.binary.Hex; import org.shypl.biser.csi.ProtocolException; import java.nio.charset.StandardCharsets; class ConnectionProcessorCrossDomainPolicy extends ConnectionProcessor { private static final byte[] PATTERN; static { byte[] bytes = "policy-fi...
#include "tensorflow/compiler/mlir/tensorflow/utils/eval_util.h" #include "absl/container/inlined_vector.h" #include "absl/strings/string_view.h" #include "llvm/ADT/ArrayRef.h" #include "llvm/ADT/SmallVector.h" #include "llvm/ADT/StringRef.h" #include "mlir/IR/Attributes.h" // TF:local_config_mlir #include "mlir/IR...
<?php /** * Lexes a template string. * * @author Fabien Potencier <fabien@symfony.com> */ class Twig_Lexer implements Twig_LexerInterface { protected $tokens; protected $code; protected $cursor; protected $lineno; protected $end; protected $state; protected $states; protected $bra...
namespace bubblefs { namespace mytoft { // Path operation of file system. class Path { DECLARE_STATIC_CLASS(Path); public: static bool IsSeparator(char ch); // 'dir/name.ext' -> 'name.ext' static std::string GetBaseName(const std::string& filepath); // 'dir/name.ext' -> 'ext' static std::str...
From centos:centos7 Maintainer Jamey Hicks <jamey.hicks@qrclab.com> ADD Bluespec-2014.07.A.tar.gz /scratch/bluespec/Bluespec-2014.07.A
<?php namespace Surfnet\Stepup\Tests\Identity\Value; use PHPUnit\Framework\TestCase as UnitTest; use Surfnet\Stepup\Identity\Value\DocumentNumber; class DocumentNumberTest extends UnitTest { /** * @test * @group domain * @dataProvider invalidArgumentProvider * * @param mixed $in...
namespace fmi4cpp::fmi2 { struct fmu_attributes { source_files sourceFiles; std::string model_identifier; bool can_get_and_set_fmu_state; bool can_serialize_fmu_state; bool needs_execution_tool; bool can_not_use_memory_management_functions; bool can_be_instantiated_only_once_per_process; ...
function appendObject(r){ var fs = require('fs'); var configFile = fs.readFileSync('./data.json'); var configFile2 = fs.readFileSync('public/data.json'); var config = JSON.parse(configFile); var config2 = JSON.parse(configFile2); config.purchases.push(r); config2.purchases.push(r); var configJSON = JSON...
package com.exactsix.mibaas.coach.teacher.controller; import org.springframework.stereotype.Controller; import org.springframework.ui.ModelMap; import org.springframework.web.bind.annotation.PathVariable; import org.springframework.web.bind.annotation.RequestMapping; @RequestMapping("/teacher") @Controller public cl...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="en"> <head> <!-- Generated by javadoc (1.8.0_162) on Sat Feb 02 18:57:44 CET 2019 --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Uses of Package com.communo...
""" KubeVirt API This is KubeVirt API an add-on for Kubernetes. OpenAPI spec version: 1.0.0 Contact: kubevirt-dev@googlegroups.com Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absolute_import import os import sys import unittest import kubevirt fr...
namespace Apache.Ignite.Core.Impl.Binary { using System; using System.Collections; using System.Diagnostics; using System.Linq; using System.Linq.Expressions; using System.Reflection; using Apache.Ignite.Core.Binary; using Apache.Ignite.Core.Cache.Configuration; using Apache.Ignite...
ACCEPTED #### According to The Catalogue of Life, 3rd January 2011 #### Published in null #### Original name null ### Remarks null
package cmd import ( "fmt" "strings" ) type NukeParameters struct { ConfigPath string Targets []string Excludes []string CloudControl []string NoDryRun bool Force bool ForceSleep int Quiet bool MaxWaitRetries int } func (p *NukeParameters) Validate() error { if strings.TrimSpace(p...
import Component from '@ember/component'; import ObjectProxy from '@ember/object/proxy'; import { computed } from '@ember/object'; export default Component.extend({ canDelete: false, instructorGroups: null, query: null, remove() {}, proxiedInstructorGroups: computed('instructorGroups.[]', function() { c...
<shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle"> <gradient android:angle="135" android:centerColor="@color/colorPrimary" android:endColor="@color/colorPrimary" android:startColor="@color/colorPrimary" android:type="linear"/> ...
**DEPRECATED:** using Grafana OAuth Authentication is recommended. simple implementation for grafana auth.proxy with openid ## grafana config example [auth.proxy] enabled = true header_name = X-WEBAUTH-USER header_property = email auto_sign_up = true ## usage Usage of ./graproxy: -c...
#ifndef __egl_h_ #define __egl_h_ 1 #ifdef __cplusplus extern "C" { #endif /* ** This header is generated from the Khronos OpenGL / OpenGL ES XML ** API Registry. The current version of the Registry, generator scripts ** used to make the header, and the header can be found at ** http://www.opengl.org/registry/ ** ...
<!-- This comment will put IE 6, 7 and 8 in quirks mode --> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <title>Member...
package api import ( "strings" "github.com/CAP-ALL/kube2consul/Godeps/_workspace/src/k8s.io/kubernetes/pkg/api/meta" "github.com/CAP-ALL/kube2consul/Godeps/_workspace/src/k8s.io/kubernetes/pkg/util/sets" ) var RESTMapper meta.RESTMapper func init() { RESTMapper = meta.MultiRESTMapper{} } func RegisterRESTMap...
layout: model title: English asr_wav2vec2_xlsr_multilingual_53 TFWav2Vec2ForCTC from masoudmzb author: John Snow Labs name: asr_wav2vec2_xlsr_multilingual_53 date: 2022-09-26 tags: [wav2vec2, en, audio, open_source, asr] task: Automatic Speech Recognition language: en edition: Spark NLP 4.2.0 spark_version: 3.0 support...
'use strict'; define(["underscore", "Triangle2D"], function (_, Triangle2D) { var Triangle3D = function (vertices) { this.vertices = vertices; // Compute normal. var v0 = vertices[0]; var v1 = vertices[1]; var v2 = vertices[2]; var e0 = v0.minus(v2); var e1 ...
namespace ppapi { bool FileSystemTypeIsValid(PP_FileSystemType type) { return (type == PP_FILESYSTEMTYPE_LOCALPERSISTENT || type == PP_FILESYSTEMTYPE_LOCALTEMPORARY || type == PP_FILESYSTEMTYPE_EXTERNAL || type == PP_FILESYSTEMTYPE_ISOLATED); } bool FileSystemTypeHasQuota(PP_FileSystem...
class CreateEmployees < ActiveRecord::Migration def self.up create_table(:employees) do |t| t.references :account, :null => false # identifiers t.string :identifier, :null => false t.string :user_name, :null => false, :length => 50 t.string :email, :length => 255 # may be nu...
extern "C" { #endif #endif extern int LZSS_Compress(unsigned char *input_string, unsigned char *output_string, int uncompSize); //sfr: added srcSize extern int LZSS_Expand(unsigned char *input_string, int srcSize, unsigned char *output_string, int uncompSize); #ifdef INCLUDE_FILE_COMPRESSION extern unsigned long LZ...
package com.example.caikeplan.logic.adapter; import android.content.Context; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.BaseAdapter; import android.widget.ImageView; import android.widget.TextView; import com.example.caikeplan.R; import com.examp...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="en"> <head> <!-- Generated by javadoc (1.8.0_101) on Sat Aug 20 05:41:47 EDT 2016 --> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>DocSetProducer (Solr 6.2.0 ...
impl T for Foo { default async unsafe fn foo() {} }
function Transaction(commit, cancel) { this.commit = () => commit(this); this.cancel = () => cancel(this); } Transaction.prototype.pending = function(promise) { var self = this; return promise.then( function(result) { self.commit(); return result; }, function(reason) { self.cancel(); throw reason...
 using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Reflection; using System.Text; using Orleans.Runtime; namespace Orleans.Runtime { internal class AssemblyLoader { private readonly Dictionary<string, SearchOption> dirEnumArgs; private readonl...
import { Component } from '@angular/core'; import { CORE_DIRECTIVES, FORM_DIRECTIVES } from '@angular/common'; import { ROUTER_DIRECTIVES, RouteSegment } from '@angular/router'; import { Person, SearchService } from '../shared/index'; @Component({ selector: 'sd-search', moduleId: module.id, templateUrl: 'search....
ACCEPTED #### According to The Catalogue of Life, 3rd January 2011 #### Published in null #### Original name null ### Remarks null
//initialize jsonQ ;(function(undefined) { var jsonQ = function(json) { //return a jsonQ object return new jsonQ.fn.init(json); }, //plugin variable and methods error = function(msg) { throw msg; }, stringify = JSON.stringify, parse = JSON.pa...
package com.amazonaws.services.glue.model.transform; import javax.annotation.Generated; import com.amazonaws.SdkClientException; import com.amazonaws.Request; import com.amazonaws.http.HttpMethodName; import com.amazonaws.services.glue.model.*; import com.amazonaws.transform.Marshaller; import com.amazonaws.protoc...
'use strict'; // Use local.env.js for environment variables that grunt will set when the server starts locally. // Use for your api keys, secrets, etc. This file should not be tracked by git. // // You will need to set these on the server you deploy to. module.exports = { DOMAIN: 'http://localhost:9000', SESSION_...
// Copyright (c) 2015 Adobe Systems Incorporated. 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 requir...
package com.netflix.spinnaker.front50.model.snapshot; import com.netflix.spinnaker.front50.model.Timestamped; import java.util.Map; public class Snapshot implements Timestamped { private String id; private String application; private String account; private Map infrastructure; private Type configLang; p...
package it.univaq.mwt.fastmarket.business.impl.hibernate; import java.util.List; import org.hibernate.Criteria; import org.hibernate.FetchMode; import org.hibernate.Query; import org.hibernate.Session; import org.hibernate.SessionFactory; import org.hibernate.criterion.Order; import org.hibernate.criterion....
<?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="wrap_content" android:layout_height="wrap_content" android:orientation="vertical" android:layout_marginRight="20dp" > <ImageView android:layout_height="6...
#ifndef BOOST_MOVE_DEFAULT_DELETE_HPP_INCLUDED #define BOOST_MOVE_DEFAULT_DELETE_HPP_INCLUDED #ifndef BOOST_CONFIG_HPP # include <boost/config.hpp> #endif # #if defined(BOOST_HAS_PRAGMA_ONCE) # pragma once #endif #include <boost/move/detail/config_begin.hpp> #include <boost/move/detail/workaround.hpp>...
"Sir," Captain Nemo said, showing me the instruments hanging on the walls of his stateroom, "these are the devices needed to navigate the Nautilus. Here, as in the lounge, I always have them before my eyes, and they indicate my position and exact heading in the midst of the ocean. You're familiar with some of them, su...
using System; using System.Collections.Generic; using System.Drawing; using System.Drawing.Imaging; namespace WmcSoft.Drawing { /// <summary> /// Quantize using an Octree /// </summary> public unsafe class OctreeQuantizer : Quantizer { #region Octree class /// <summary> /...
package net.etfbl.muzickagroznica.model.dao; import net.etfbl.muzickagroznica.model.entities.Artist; import java.util.List; public interface ArtistDao { void persist(Artist artist); Artist merge(Artist artist); void delete(Artist artist); Artist findById(String id); List<Artist> findByExample(Artist artist); ...
/* * Xero Payroll NZ * This is the Xero Payroll API for orgs in the NZ region. * * Contact: api@xero.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ package com.xero.models.payrollnz; impor...
class CreateUsers < ActiveRecord::Migration def self.up create_table :users, :id => false do |t| t.integer :id, :limit => 4, :null => false # For limit for testing purposes t.string :login, :limit => 12 t.string :password, :limit => 16 t.text :biography end end def self.down ...
class Integer #:nodoc: def self.xs_type "int" end end
int (*foo) (int x, int y); void takes_argdef(void proc()); void takes_argdef_ptr(void (*proc)()); void takes_argdef_ptr_ptr(void (**proc)()); // type with no indirection typedef void fn_t(); void takes_tdef(fn_t proc); void takes_tdef_ptr(fn_t* proc); void takes_tdef_ptr_ptr(fn_t** proc); // types with one indirecti...
#include "bt_hidd.h" #if CONFIG_BT_HID_DEVICE_ENABLED #include "esp_bt.h" #include "esp_bt_defs.h" #include "esp_bt_main.h" #include "esp_hidd.h" #include "esp_hidd_api.h" #include "esp_hidd_private.h" #include "esp_log.h" #include "osi/mutex.h" #include "string.h" /* Values for service_type */ #define NO_TRAFFIC ...
ACCEPTED #### According to The Catalogue of Life, 3rd January 2011 #### Published in Mycologia 38(1): 105 (1946) #### Original name Rhizophydium chytriomycetis Karling, 1946 ### Remarks null
require File.expand_path('../application', __FILE__) # Initialize the Rails application. Src::Application.initialize!
var path = require('path') , fs = require('fs') , Matcher , rule = {} , Rule; // Define a helper object with some utility functions Matcher = new (function () { // Split a task to two parts, name space and task name. // For example, given 'foo:bin/a%.c', return an object with // - 'ns' : ...
(function() { function SongPlayer($rootScope, Fixtures) { var SongPlayer = {}; // @desc Inject Fixtures service, access and store song and album info // @param {Object} albumData var currentAlbum = Fixtures.getAlbum(); // @desc Buzz object audio file // @type {Object} var currentBuzzOb...
<?xml version="1.0" encoding="utf-8"?> <resources> <item name="activity_main" type="layout">@layout/activity_main_normal</item> </resources>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" con...
#include "amgcompiletask.h" namespace amgbuildtasks { AMGCompileTask::AMGCompileTask() { } AMGCompileTask::AMGCompileTask(shared_ptr<JsonObject> a) : AMGCompileTask() { this->configuration = a; } AMGCompileTask::~AMGCompileTask() { } /** * This method searches for a compile ...
require 'spec_helper' describe QualtricsAPI::Services::ResponseExportService do describe "initialize" do let(:params) do { format: "file type", survey_id: "s_id", last_response_id: "l_id", start_date: "03/22/2015 06:11:11", end_date: "03/25/2015 06:00:00", li...
<?php // @codingStandardsIgnoreFile date_default_timezone_set('UTC'); error_reporting(E_ALL); ini_set('display_errors', true); /** * This makes our life easier when dealing with paths. Everything is relative * to the application root now. */ chdir(dirname(__DIR__)); // Decline static file requests back to the PHP...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE122_Heap_Based_Buffer_Overflow__c_CWE805_wchar_t_ncpy_33.cpp Label Definition File: CWE122_Heap_Based_Buffer_Overflow__c_CWE805.string.label.xml Template File: sources-sink-33.tmpl.cpp */ /* * @description * CWE: 122 Heap Based Buffer Overflow * BadSource: Al...
// // FailedDigest.m // https://github.com/jtphotog/haSHAr // Licensed under the terms of the MIT License, as specified below. // #import "FailedDigest.h" @implementation FailedDigest @synthesize fileURL; @synthesize currentHash; @synthesize previousHash; - (void) dealloc { [fileURL release]; [currentH...
package bigquery import ( "github.com/xo/usql/drivers" _ "gorm.io/driver/bigquery/driver" // DRIVER ) func init() { drivers.Register("bigquery", drivers.Driver{}) }
package org.docksidestage.hanger.dbflute.dtomapper; import java.util.Map; import org.dbflute.Entity; import org.docksidestage.hanger.dbflute.dtomapper.bs.BsVendorCheckDtoMapper; /** * The DTO mapper of VENDOR_CHECK. * <p> * You can implement your original methods here. * This class remains when re-gen...
<dl class=""> <dt>Value</dt> <dd>{minVal} - {maxVal} <?php echo anchor($editValue,'Change','class="btn btn-link" title="Change Value"'); ?></dd> </dl>
@protocol DVTProgressReporting <NSObject> @property(readonly) long long progress; @end
<?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" android:layout_width="match_parent" android:layout_height="wrap_content"> <cloud.cn.applicationtest.view.TopNewsViewPager android:...
package org.wso2.carbon.uuf.renderablecreator.hbs.helpers.registry; import com.github.jknack.handlebars.Decorator; import com.github.jknack.handlebars.Handlebars; import com.github.jknack.handlebars.Helper; import com.github.jknack.handlebars.HelperRegistry; import com.github.jknack.handlebars.helper.BlockHelper; im...
import Vue from 'vue' import Router from 'vue-router' import Home from 'components/Home' import newslist from 'components/news/newsList' import newsshow from 'components/news/newsshow' import photolist from 'components/photos/photolist' import imgshow from 'components/photos/imgshow' Vue.use(Router) export default ne...
package org.opensextant.extraction; /** * * @author ubaldino */ public class NormalizationException extends Exception { protected static final long serialVersionUID = 20021981L; public NormalizationException(String msg) { super(msg); } public NormalizationException(String msg, Exception ...
package com.hp.autonomy.frontend.find.core.search; import com.hp.autonomy.frontend.find.core.test.AbstractFindIT; import com.hp.autonomy.frontend.find.core.test.MvcIntegrationTestUtils; import org.junit.Test; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.MediaType; im...
Utils = {} Utils.DoorIndicies = { ["BackL"] = 2, ["BackR"] = 3 } Utils.DoorBones = { ["BackL"] = "door_dside_r", ["BackR"] = "door_dside_f" } Utils.DoorSeats = { ["BackL"] = "seat_dside_r", ["BackR"] = "seat_pside_r" } function Utils.GetClosestVehicleDoor(pos, vehicle) local closestBonePos = nil local...
@interface SQLoginViewController ()<SQRegisterViewDelegate,SQLoginViewDelegate,SQForgetViewDelegate> @property (nonatomic, strong) UIScrollView *mainView; @property (nonatomic, strong) SQForgetView *forgetView; @property (nonatomic, strong) SQLoginView *loginView; @property (nonatomic, strong) UIScrollView *registerVi...
// Copyright 2013 Cultural Heritage Agency of the Netherlands, Dutch National Military Museum and Trezorix bv // // 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...
extern crate onmf; use onmf::helpers::{ToImage, magnify}; use onmf::testimage_generator; extern crate rand; use rand::{StdRng, SeedableRng}; fn main() { let mag_factor = 10; for (i, factor) in testimage_generator::static_factors::<f64>().enumerate() { magnify(factor, mag_factor).save_to_png(&format!("...
from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('content', '0003_auto_20150520_2341'), ] operations = [ migrations.AlterField( model_name='categorytranslation', name='polymo...
http_path = "./" css_dir = "public/css" sass_dir = "src/scss" images_dir = "src/img" # javascripts_dir = "src/js" # You can select your preferred output style here (can be overridden via the command line): # output_style = :compressed # To enable relative paths to assets via compass helper functions. Uncomment: # rel...
// // // simpleSlide 1.6 // // website:http://www.simplesli.de/ // author: David Drew // email: david@ddrewdesign.com // // // simpleSlide is a jQuery plugin that addresses the problem of lack of designer control over // their slideshow plugin. The philosophy was to create a plugin that would take care of the // mun...
module Cryptoexchange::Exchanges module Omnitrade module Services class Market < Cryptoexchange::Services::Market class << self def supports_individual_ticker_query? true end end def fetch(market_pair) output = super(ticker_url(market_pair))...
ENV['CUCUMBER_COLORS'] = nil $:.unshift(File.dirname(__FILE__)) # For Travis.... require 'cucumber/encoding' require 'simplecov_setup' require 'pry' require 'cucumber' RSpec.configure do |c| c.before do ::Cucumber::Term::ANSIColor.coloring = true end end module RSpec module WorkInProgress def pendin...
<?php namespace peterfriz\pagevisibility; /** * Asset bundle for the js Page Visibility plugin. * * @author Piet de Vries <friz@pietdevries.nl> * @since 1.0 */ class PageVisibilityAsset extends \yii\web\AssetBundle { /** * @inheritdoc */ public $sourcePath = '@peterfriz/pag...
using System; using System.Xml.Serialization; namespace SyntaxTree.FastSpring.Api { [XmlRoot(ElementName = "order", IsNullable = false, Namespace = "")] public class ShortOrder { [XmlElement("reference")] public string Reference { get; set; } [XmlElement("status")] public OrderStatus OrderStatus { get; set...
(function() { function Fixtures() { var Fixtures = {}; // album Object #1 var albumPicasso = { title: 'The Colors', artist: 'Pablo Picasso', label: 'Cubism', year: '1881', albumArtUrl: '/assets/images/album_covers/01.png', ...
"""Support for HTU21D temperature and humidity sensor.""" from datetime import timedelta from functools import partial import logging import voluptuous as vol from homeassistant.components.sensor import PLATFORM_SCHEMA import homeassistant.helpers.config_validation as cv from homeassistant.const import CONF_NAME, TEM...
<!doctype html> <html lang="en" ng-app="docsApp" ng-strict-di ng-controller="DocsController"> <head> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="Description" content="AngularJS is what HTM...
package connectparticipant import ( "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/client" "github.com/aws/aws-sdk-go/aws/client/metadata" "github.com/aws/aws-sdk-go/aws/request" "github.com/aws/aws-sdk-go/aws/signer/v4" "github.com/aws/aws-sdk-go/private/protocol" "github.com/aws/aws-sdk-go/pri...
zkserver stop kafka-server-stop
<?php declare(strict_types=1); /** * This file is part of beotie/core_bundle * * As each files provides by the CSCFA, this file is licensed * under the MIT license. * * PHP version 7.1 * * @category Response * @package Beotie_Core_Bundle * @author matthieu vallance <matthieu.vallance@cscfa.fr> * @license ...
class KafkaUserSerializer < ActiveModel::Serializer attributes :id, :login end
package org.axonframework.modelling.command.inspection; import org.axonframework.commandhandling.CommandMessage; import org.axonframework.common.AxonConfigurationException; import org.axonframework.common.ReflectionUtils; import org.axonframework.common.property.Property; import org.axonframework.eventhandling.Event...
echo `pwd` echo $0 dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" export FLY_SSH_PRIVATE_KEY_FILE="$dir/id_rsa" if [ ! -f $FLY_SSH_PRIVATE_KEY_FILE ]; then # generate fresh rsa key ssh-keygen -f $FLY_SSH_PRIVATE_KEY_FILE -N '' -t rsa fi export FLY_PROTO=ssh export FLY_USE_SHARED_PORT_FORWARDING=1 export F...
package org.postgresql.test.util; import java.util.*; import javax.naming.*; import javax.naming.spi.InitialContextFactory; /** * The ICF for a trivial JNDI implementation. This is not meant to * be very useful, beyond testing JNDI features of the connection * pools. * * @author Aaron Mulder (ammulder@chariots...
typedef void *(Applicee)(void *, void *, void *, void *); typedef enum { Function, Partial_function, Value } Pointer_type; // 3 bits typedef struct { uint64_t ref_count; Applicee *f; void *state; void *args[3]; } Partial; // 48 bytes typedef struct { uintptr_t pool_end_address; } Partial_pool; Parti...
"""oboparse.py: Some functions to read the OBO format (http://www.geneontology.org/GO.format.obo-1_2.shtml) and load it (lazily) in a sequence of Python dicts""" __author__ = "Stelios Sfakianakis" from collections import defaultdict import fileinput import json def parse_lines(lines): for line in lines: ...