text stringlengths 3 1.05M |
|---|
All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
## 0.10.0 - 2020-03-21
### Added
- Added `\Maba\Component\Monetary\Information\Mone... |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--... |
<?xml version="1.0"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.facebook.presto</gro... |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Generic;
using System.Globalization;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.CodeRefactorings;
using Microsoft.Co... |
class Wechat::Callback::MessageSignature
extend Wechat::Core::Common
# 消息加解密 技术方案
# http://mp.weixin.qq.com/wiki/6/90f7259c0d0739bbb41d9f4c4c8e59a2.html
#
# 为了验证消息体的合法性,公众平台新增消息体签名,开发者可用以验证消息体的真实性,并对验证通过的消息体进行解密
# msg_signature = sha1(sort(token、timestamp、nonce, encoded_message))
#
# encoded_message 前... |
;(function() {
// http://ajaxian.com/archives/the-vml-changes-in-ie-8
// http://www.nczonline.net/blog/2010/01/19/internet-explorer-8-document-and-browser-modes/
// http://www.louisremi.com/2009/03/30/changes-in-vml-for-ie8-or-what-feature-can-the-ie-dev-team-break-for-you-today/
var vmlAttributeMap = {
"st... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Livet;
namespace Kbtter4.Models
{
public sealed class Kbtter4Setting : NotificationObject
{
public Kbtter4SettingConsumer Consumer { get; set; }
public ObservableSynchronizedCollection<Kbtter4Account>... |
package org.javaz.util.test;
import junit.framework.Assert;
import org.javaz.util.ObjectDifference;
import org.junit.Test;
import java.util.ArrayList;
import java.util.HashMap;
/**
*/
public class ObjectDifferenceTest
{
@Test
public void testHashPacking()
{
ArrayList listOfHashes = new ArrayList... |
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null |
// Copyright (c) 2011-2016 The Flericoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "gtest/gtest.h"
#include <numeric>
#include <System/Timer.h>
#include <Common/StringTools.h>
#include <Logging/Con... |
/* $lab:coverage:off$ */
'use strict';
Object.defineProperty(exports, '__esModule', {
value: true
});
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
var _bluebird = require('bluebird');
var _bluebird2 = _interopRequireDefault(_bluebird);
var _config = require('.... |
@interface AHAPartnerApp ()
@property (readwrite, nonatomic, copy, nonnull) NSString* name;
@property (readwrite, nonatomic, copy, nonnull) NSString* appID;
@property (readwrite, nonatomic, copy, nullable) NSString* appDescription;
@property (readwrite, nonatomic, copy, nullable) NSURL* productLink;
@property (readwrit... |
{-# LANGUAGE GADTs #-}
module Duckling.Rules.GA
( defaultRules
, langRules
, localeRules
) where
import Duckling.Dimensions.Types
import Duckling.Locale
import Duckling.Types
import qualified Duckling.AmountOfMoney.GA.Rules as AmountOfMoney
import qualified Duckling.Distance.GA.Rules as Distance
import quali... |
<iz:insert:module module="crud" method="admin" params="account,<?php echo $this->getModel();?>"/> |
require 'activerecord/abstract_adapter_ext'
|
package instance
import (
"errors"
"io/ioutil"
"path"
"path/filepath"
"testing"
"github.com/docker/infrakit/pkg/plugin"
rpc_server "github.com/docker/infrakit/pkg/rpc/server"
"github.com/docker/infrakit/pkg/spi/instance"
testing_instance "github.com/docker/infrakit/pkg/testing/instance"
"github.com/docker/i... |
<?php
/*
|--------------------------------------------------------------------------
| Create The Application
|--------------------------------------------------------------------------
|
| The first thing we will do is create a new Laravel application instance
| which serves as the "glue" for all the widgets of Larav... |
#ifndef SANDBOX_MEYERCLP_APPS_DREME_H_
#define SANDBOX_MEYERCLP_APPS_DREME_H_
#include <fstream>
#include <iostream>
#include <map>
#include <vector>
#include <math.h>
#include <seqan/basic.h>
#include <seqan/file.h>
#include <seqan/find.h>
#include <seqan/stream.h>
#include <seqan/index.h>
#include <seqan/sequence.h>... |
#include "OpenGLESEffect.hpp"
namespace Z
{
class BlurEffect : public OpenGLESEffect
{
//----------------------------------------------------------------------------
// Object methods
//----------------------------------------------------------------------------
public:
virtual BlurEffect* Cl... |
var Constants = (function() {
var DOMAIN = "http://momuslearningsystem.azurewebsites.net/";
var PARTIALS_DIRECTORY = "partials/";
var PARTIALS_FILE_EXTENSION = ".html";
var CATEGORY_CONTENT_WRAPPER = "#category-content";
return {
DOMAIN: DOMAIN,
PARTIALS_DIRECTORY: PARTIALS_DI... |
/* Hello.java - MBean implementation for the Hello World MBean.
This class must implement all the Java methods declared in the
HelloMBean interface, with the appropriate behavior for each one. */
package com.cloudrain.dercho.jmx.Essential.com.example.mbeans;
public class Hello implements HelloMBean {
pu... |
import React from 'react'
import _ from 'lodash'
import { Decorator as cerebral } from 'cerebral-react'
import SelectField from 'material-ui/lib/select-field'
import Slider from 'material-ui/lib/slider'
import Toggle from 'material-ui/lib/toggle'
// import objectControl from './controls'
import ControlSettings from ... |
ACCEPTED
#### According to
Integrated Taxonomic Information System
#### Published in
null
#### Original name
null
### Remarks
null |
<?php
# Copyright (c) 2017, CESNET. All rights reserved.
#
# Redistribution and use in source and binary forms, with or
# without modification, are permitted provided that the following
# conditions are met:
#
# o Redistributions of source code must retain the above
# copyright notice, this list of conditions and... |
import { useState, useCallback, useEffect } from "react"
import { LIGHT, DARK } from "Constants/theme"
/** @see gatsby-ssr.js */
declare global {
interface Window {
__theme: string
__setPreferredTheme: (theme: string) => void
__onThemeChange: (theme: string) => void
}
}
const useTheme = () => {
con... |
<?php
declare(strict_types = 1);
namespace Tests\App\Entity\DomainHost;
use App\Entity\DomainHost\Identity;
use Domain\Entity\DomainHost\Identity as IdentityInterface;
use Innmind\Neo4j\ONM\Identity\Uuid as UuidIdentity;
use Innmind\Rest\Server\Identity as RestIdentity;
use Ramsey\Uuid\Uuid;
use PHPUnit\Framework\Tes... |
@implementation NSDictionary (Workers)
- (id)objectForKeyOrDefault:(id)aKey aDefault:(id)aDefault {
id obj = [self objectForKey:aKey];
return (! obj || obj == [NSNull null]) ? aDefault : obj;
}
- (id)objectForKeyOrEmptyString:(id)aKey {
return [self objectForKeyOrDefault:aKey aDefault:@""];
}
- (id)... |
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#ifndef CKMK_H
#include "ckmk.h"
#endif /* CKMK_H */
/*
* nssmkey/mfind.c
*
* This file implements the NSSCKMD... |
<html>
<head>
<title>User agent detail - Mozilla/4.0 (Vodafone/1.0/LG-KF750/V10a Browser/Obigo-Q05A/3.12 MMS/LG-MMS-V1.0/1.2 Java/ASVM/1.1 Profile/MIDP-2.1 Configuration/CLDC-1.1)</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.97.3/css/materialize.min.css">
... |
import copy
from django.conf import settings
from django.test.utils import override_settings
import horizon_lib
from openstack_horizon.test import helpers as test
from openstack_horizon.test.test_panels.plugin_panel \
import panel as plugin_panel
import openstack_horizon.test.test_plugins.panel_group_config
from... |
<?php
defined('BASEPATH') or exit('No direct script access allowed');
/**
* Format class
* Help convert between various formats such as XML, JSON, CSV, etc.
*
* @author Phil Sturgeon, Chris Kacerguis, @softwarespot
* @license http://www.dbad-license.org/
*/
class Format
{
/**
* Array output format... |
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>{{ idea_title }} | Food Idea App</title>
</head>
<body>
<div class="container">
<div>
<span style="display:{{ dispName }}">Welcome {{ user_name }}</span>
<span><a href="#/home"><button class="btn btn-lg btn-prima... |
class Browser;
class DetachedPanelStrip;
class DockedPanelStrip;
class PanelDragController;
class PanelResizeController;
class PanelMouseWatcher;
// This class manages a set of panels.
class PanelManager : public DisplaySettingsProvider::DisplayAreaObserver,
public DisplaySettingsProvider::FullScr... |
FROM jemimalwh/seq2hla:v0.1
################## BEGIN INSTALLATION ###########################
COPY start.sh /usr/local/bin/
RUN chmod 777 /usr/local/bin/start.sh
RUN wget https://github.com/samtools/samtools/releases/download/1.3.1/samtools-1.3.1.tar.bz2
RUN tar -xvjf samtools-1.3.1.tar.bz2
WORKDIR /workspace/samtoo... |
module Navigator
module Renderer
class List < SimpleNavigation::Renderer::Base
def render(item_container)
if item_container.level == 1
render_top_level(item_container)
else
render_sub_level(item_container)
end
end
protected
def render_top_level... |
typedef _Bool bool;
#define true 1
#define false 0
#endif
|
<?php
$loader = require_once __DIR__ . '/../vendor/autoload.php';
/** @var Composer\Autoload\ClassLoader $loader */
$loader->addPsr4('Demo\\', __DIR__ . '/Demo');
register_shutdown_function(function () {
echo "\n\nStatistics:\n";
echo ' - Memory usage: ' . number_format(memory_get_usage(true), 0, '.', ' ') ... |
FactoryGirl.define do
factory :short_textual_question, class: MidasGenie::ShortTextualQuestion, parent: :question do
type 'MidasGenie::ShortTextualQuestion'
end
end
|
@class HudsonResult;
@interface HudsonJob : NSObject {
@private
NSString* name;
HudsonResult* lastResult;
}
@property (nonatomic, retain) NSString* name;
@property (nonatomic, retain) HudsonResult* lastResult;
+ (HudsonJob*) jobWithName:(NSString*)name;
- (id) initWithName:(NSString*)name;
@end
|
{{-- Extends Master --}}
@extends('masters.master')
{{-- Set Title as Products --}}
@section('title', 'Foodle | Checkout')
{{-- Content Section --}}
@section('content')
<div class="container" style="margin-top: 100px;">
<div class="page-header container">
<h3>Your Contact Details Please :</h3... |
describe( "Oshinko - Step Definition Methods", function() {
it( "should hold an array of step definitions", function() {
expect(Oshinko.stepDefinitions).toEqual([]);
});
it( "should add the given regex and callback to the list", function() {
var callback = function() { return 42; };
Oshinko.addStepD... |
<?php
$this->pageTitle=t('Manage Photo Titles');
$this->pageHint=t('Here you can manage all Photo Titles');
?>
<?php $this->widget('cmswidgets.ModelManageWidget',array('model_name'=>'Phototitle')); ?> |
/*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under t... |
package com.neocoretechs.relatrix.server;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStream;
import java.net.InetAddress;
import java.nio.file.Direc... |
USRP-GNU-Octave-Tutorial
========================
STANDARD DISCLAIMER: Unlike most people who commit code to github, my
primary motivation is simply to find a place for interesting code to live
if I don't want to lose track of it. You'll find my coding styles vary
from project to project and that I pay little atte... |
<?php
namespace Concrete\Package\CommunityStoreStripe\Src\CommunityStore\Payment\Methods\CommunityStoreStripe;
use Core;
use Log;
use Config;
use Exception;
use Stripe\Stripe;
use Stripe\Charge;
use Stripe\Error;
use Session;
use Concrete\Package\CommunityStore\Src\CommunityStore\Payment\Method as StorePaym... |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Collections.Generic;
using Acrolinx.Sdk.Sidebar.Util.Changetracking;
using Acrolinx.Sdk.Sidebar.Documents;
namespace Acrolinx.Sdk.Sidebar.Tests
{
[TestClass]
public class DiffBasedLookupTest
{
[TestMethod]
pub... |
package org.dslforum.cwmp_1_0;
/**
* Schema fragment(s) for this class:
* <pre>
* <xs:complexType xmlns:ns="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="NMTOKEN">
* <xs:simpleContent>
* <xs:extension base="xs:string">
* <xs:attributeGroup ... |
using Android.Runtime;
using AndroidX.RecyclerView.Widget;
using System;
namespace Refractored.Fab
{
abstract class RecyclerViewScrollDetector : RecyclerView.OnScrollListener
{
public RecyclerViewScrollDetector() : base()
{
}
public RecyclerViewScrollDetector(IntPtr handle, JniH... |
/**
*/
package CIM15.IEC61968.PaymentMetering;
import CIM15.IEC61970.Domain.Currency;
import CIM15.IEC61970.Domain.UnitMultiplier;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
/**
* <!-- begin-user-doc -->
* A representation of t... |
using EPiServer.DataAbstraction;
using EPiServer.DataAnnotations;
using System.Collections.Generic;
namespace AlloyDemo.Models.Pages
{
[ContentType(
DisplayName = "FAQ List",
GroupName = Global.GroupNames.Specialized,
Description = "Use this page for a list of FAQs entered by visitors, answ... |
#include <MotionBullet/Attractor/BasicAttractors.h>
#include <MotionBullet/World/RigidBody.h>
NAMESPACE_BEGIN
/*==============================================================================
CLASS DirectionalAttractor
==============================================================================*/
//-----------... |
/* Program to enter a single character
*/
#include <stdio.h>
main()
{
char ch;
printf("Enter a character\n");
scanf("%c", &ch);
flushall();
printf("You entered %c", ch);
getchar();
} |
<div class="col-md-offset-0 col-md-12 col-xs-offset-0 col-xs-12">
<div class="col-md-12 col-xs-12 mg-top-20">
<form class="form-horizontal" name="form" novalidate>
<div class="col-md-12 col-xs-12 mg-top-20">
<div class="col-md-6 col-xs-12 mg-top-20">
<!--n... |
if(!Modernizr.touch){
$.stellar();
}
(function ($) {
'use strict';
/* ==============================================
Sticky Navbar
=============================================== */
$(document).ready(function(){
$(".navbar").sticky({topSpacing:0});
});
/* ==============================================... |
"""
BaseCRM official API V2 library client for Python.
~~~~~~~~~~~~~~~~~~~~~
Usage::
>>> import os
>>> import basecrm
>>> client = basecrm.Client(access_token=os.environ.get('BASECRM_ACCESS_TOKEN')
>>> coffeeshop = client.contacts.create(name='Coffee Shop', is_organization=True)
>>> chemex = client.deals.cr... |
<?php
namespace I18n;
use I18n\Exception\UnableToSetException;
class I18n {
/**
* The collection of locale data.
*
* @var LocaleCollection
*/
protected $collection;
/**
* Sets a delimiter to be passed to the locale collection
* on load.
*
* @param string
*/
protected $delimiter = null;
/**
... |
<?php
namespace Sensio\Bundle\HangmanBundle\DependencyInjection;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\Config\FileLocator;
use Symfony\Component\HttpKernel\DependencyInjection\Extension;
use Symfony\Component\DependencyInjection\Loader;
/**
* This is the class that loads ... |
import {
Node,
DomNode,
Handler,
ClassToggle,
EventListener,
PropGetter,
StateGetter,
Slot,
ComponentHandler,
LocalGetter,
TextNode,
ComponentTag,
ForTemplate,
Attr,
ComponentCall,
DomEvent,
ComponentEvent,
Getter,
StaticValue,
Template,
... |
<a href='https://github.com/angular/angular.js/edit/v1.4.x/src/ng/directive/ngEventDirs.js?message=docs(ngMouseleave)%3A%20describe%20your%20change...#L198' class='improve-docs btn btn-primary'><i class="glyphicon glyphicon-edit"> </i>Improve this Doc</a>
<a href='https://github.com/angular/angular.js/tree/v1.4... |
<?php
// autogenerated file 30.09.2013 15:20
// $Id: $
// $Log: $
//
//
require_once 'TransactionPlatformCodeType.php';
require_once 'PaginationType.php';
require_once 'AbstractRequestType.php';
require_once 'ItemIDType.php';
/**
* Retrieves order line item (transaction) information for a specified
* <b>ItemID</b>.... |
package eu.hyvar.feature.expression.resource.hyexpression.grammar;
public class HyexpressionSequence extends eu.hyvar.feature.expression.resource.hyexpression.grammar.HyexpressionSyntaxElement {
public HyexpressionSequence(eu.hyvar.feature.expression.resource.hyexpression.grammar.HyexpressionCardinality cardinali... |
package event
import "github.com/concourse/atc"
const (
// build log (e.g. from input or build execution)
EventTypeLog atc.EventType = "log"
// build status change (e.g. 'started', 'succeeded')
EventTypeStatus atc.EventType = "status"
// task initializing (all inputs fetched; fetching image)
EventTypeInitiali... |
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.UnsupportedEncodingException;
import java.math.BigDecimal;
import java.math.RoundingMode;
import java.net.URLEncoder;
import java.util.Arrays;
import java.util.List;
import java.util.Map;
import java.util.LinkedHas... |
package org.cqrs.util;
import java.net.NetworkInterface;
import java.nio.ByteBuffer;
import java.util.Date;
import java.util.Enumeration;
import java.util.Random;
import java.util.concurrent.atomic.AtomicInteger;
/**
* @author weird
*/
public class SequenceUUID implements Comparable<SequenceUUID>, java.io.Seriali... |
<!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 (version 1.7.0_09) on Wed Mar 06 22:32:34 PST 2013 -->
<meta http-equiv="Content-Type" content="text/html" charset="utf-8">
<title>org.apache.solr.sea... |
using System.Runtime.Serialization;
using TeoVincent.EA.Common.Events;
namespace TeoVincent.EA.Common.UnitTests.Events.Mock
{
[DataContract]
public class OtherSimpleEventMock : AEvent
{
public OtherSimpleEventMock()
: base(typeof(OtherSimpleEventMock).Name)
{ }
}
}
|
//
// GDataContactUserDefinedField.m
//
#if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_CONTACTS_SERVICE
#import "GDataContactUserDefinedField.h"
#import "GDataContactConstants.h"
@implementation GDataContactUserDefinedField
+ (NSString *)extensionElementURI { return kGDataNamespaceContact; }
+ (NSSt... |
var app = {
// Application Constructor
initialize: function() {
this.bindEvents();
},
// Bind Event Listeners
//
// Bind any events that are required on startup. Common events are:
// 'load', 'deviceready', 'offline', and 'online'.
bindEvents: function() {
document.addEve... |
package org.ebayopensource.turmeric.tools.codegen;
import java.io.File;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import java.util.Properties;
import java.util.Set;
import junit.framework.Assert;
import org.ebayopensource.turmeric.tools.code... |
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>string::operator+=</title>
<link rel="stylesheet" href="../../../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="../../../index.html" titl... |
package org.arakhne.afc.math.geometry.d3.i;
import org.eclipse.xtext.xbase.lib.Pure;
import org.arakhne.afc.math.geometry.d3.Point3D;
import org.arakhne.afc.math.geometry.d3.ai.RectangularPrism3ai;
import org.arakhne.afc.vmutil.asserts.AssertMessages;
/** A rectangle with 2 integer numbers.
*
* @author $Author: ... |
class CreateElements < ActiveRecord::Migration
def change
create_table :elements do |t|
t.integer :folio_id
t.string :title
t.string :description
t.string :citation
t.string :element_link
t.string :font
t.string :color
t.string :width
t.timestamps null: false... |
using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
namespace LCC.... |
Capture and Draw
------------------------------------------
When you are writing software sometimes you want to link to new graphics technologies in a loosely coupled way. Today, you may chose DirectX. Later, you may decide to adopt SDL. Sometime well beyond that, decide that Allegro or SFML is right for your solution... |
<?php
// Copyright 2017 DAIMTO ([Linda Lawton](https://twitter.com/LindaLawtonDK)) : [www.daimto.com](http://www.daimto.com/)
//
// Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
// the License. You may obtain a copy of the License at
//
// http://w... |
@implementation ACMAppDelegate
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
UIWindow *window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
// Override point for customization after application launch.
ACMDemoVC *dem... |
'use strict'
/* eslint valid-jsdoc: "error" */
/* eslint max-len: [ "error", 80, { "ignoreUrls": true } ] */
// ----------------------------------------------------------------------------
/**
* Test common options, like --version, --help, etc.
*/
// --------------------------------------------------------------... |
// Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2012 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_SYNC_H
#define BITCOIN_SYNC_H
#include <boost/thread/mutex.hpp>
#i... |
package org.thingsboard.server.common.data.query;
import lombok.Data;
import org.thingsboard.server.common.data.EntityType;
@Data
public class EntityTypeFilter implements EntityFilter {
@Override
public EntityFilterType getType() {
return EntityFilterType.ENTITY_TYPE;
}
private EntityType en... |
from __future__ import unicode_literals
from django.core.exceptions import ObjectDoesNotExist
from django.db.models import Q
from djblets.util.decorators import augment_method_from
from djblets.webapi.decorators import (webapi_login_required,
webapi_response_errors,
... |
using RSG.Promises;
using System;
using System.Linq;
using RSG.Exceptions;
using Xunit;
namespace RSG.Tests
{
public class Promise_NonGeneric_Tests
{
[Fact]
public void can_resolve_simple_promise()
{
var promise = Promise.Resolved();
var completed = 0;
... |
package it.smartcommunitylab.riciclo.presentation;
import java.util.Set;
public class CategorieUI extends BaseObjectUI {
private Set<TipologiaUI> tipologiaUtenza;
// private Set<Tipologia> tipologiaIstituzione;
private Set<TipologiaUI> tipologiaRifiuto;
private Set<TipologiaRaccoltaUI> tipologiaRaccolta;
priva... |
int main() try {
boost::asio::io_service service;
shade::io::asio::network net{ service };
shade::io::asio::http browser{ service };
client events{ service };
shade::manager hue{ "shade-cli", &events, &net, &browser };
if (!hue.ready()) {
std::cout << "shade-cli: could not setup the bridge discovery\n";
retu... |
"""
WSGI config for auth_service project.
This module contains the WSGI application used by Django's development server
and any production WSGI deployments. It should expose a module-level variable
named ``application``. Django's ``runserver`` and ``runfcgi`` commands discover
this application via the ``WSGI_APPLICATI... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="generator" content="PHPDoctor 2RC4 (http://peej.github.com/phpdoctor/)">
<meta name="when" content="Thu, 14 Apr 2011 13:53... |
extern "C" {
#endif
#pragma pack(push, 1)
CRYPTO_ALIGN(64) typedef struct crypto_generichash_blake2b_state {
uint64_t h[8];
uint64_t t[2];
uint64_t f[2];
uint8_t buf[2 * crypto_generichash_blake2b_BLOCKBYTES];
size_t buflen;
uint8_t last_node;
} crypto_generichash_blake2b_state;
#pragma pac... |
import {Injectable} from 'angular2/core'
import {CONTACTS} from './mock-contacts';
import {Contact} from './contact';
@Injectable()
export class ContactService{
getContacts(){
return Promise.resolve(CONTACTS);
}
insertContact(contact:Contact){
Promise.resolve(CONTACTS).then((contacts:Contact[]) => conta... |
using System;
namespace Twilio
{
/// <summary>
/// An Conference instance resource represents a single Twilio Conference.
/// </summary>
public sealed class Conference //: TwilioBase
{
/// <summary>
/// Exception encountered during API request
/// </summary>
public RestException Re... |
#import <DevToolsCore/XCProductTypeSpecification.h>
@interface XCFolderProductType : XCProductTypeSpecification
{
}
- (void)computeDependenciesInTargetBuildContext:(id)arg1;
@end
|
cask :v1 => 'sencha' do
version '5.1.1.39'
sha256 'bb3de716b825fe9f8908f96a3f7570499ffbf41bac860a16f57f680b3cd341ad'
url "http://cdn.sencha.com/cmd/#{version}/SenchaCmd-#{version}-osx.app.zip"
name 'Sencha Cmd'
homepage 'http://www.sencha.com/products/sencha-cmd/'
license :freemium
installer :script => ... |
Example Rego code to transform the OPA test coverage JSON report to
the [JSON representation](https://github.com/codeclimate-community/simplecov_json_formatter)
of the [SimpleCov](https://github.com/simplecov-ruby/simplecov) coverage report format.
## Why?
SimpleCov JSON is one of the supported report formats for
[AW... |
package org.blueocean.leetcode;
public class LinkedListQ {
public static class Node{
int data;
Node next;
}
public static Node reverse(Node head){
Node p = head;
Node pNext = p.next;
Node pNNext = null;
while(pNext!=null){
pNNext = pNext.next;
//reverse the pointer
pNext.next = p;
//move... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>ppsimpl: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css... |
'use strict';
var sdHacksApp = angular.module('sdHacksApp', ['ui.router', 'duScroll', 'ui.bootstrap']);
sdHacksApp.run(
[ '$rootScope', '$state', '$stateParams',
function ($rootScope, $state, $stateParams) {
// It's very handy to add references to $state and $stateParams to the $... |
<?php
// @codingStandardsIgnoreStart
namespace {
class Auth
{
public static function user()
{
return \SpotOnLive\NavigationTest\Navigation\ContainerTest::$user;
}
}
}
namespace SpotOnLive\Navigation\Navigation {
function view($partial, $data = [])
{
ret... |
package quicproxy
import (
"bytes"
"fmt"
"net"
"runtime/pprof"
"strconv"
"strings"
"sync/atomic"
"time"
"github.com/lucas-clemente/quic-go/internal/protocol"
"github.com/lucas-clemente/quic-go/internal/wire"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
)
type packetData []byte
func isProxyR... |
<!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 (version 1.7.0) on Wed Aug 14 21:12:39 EDT 2013 -->
<title>org.drip.regression.curve</title>
<meta name="date" content="2013-08-14">
<link rel=... |
var Offshore = require('../../../../lib/offshore'),
assert = require('assert');
describe('Core Schema', function() {
describe('cleanValues method', function() {
var user;
var userschemaless;
before(function(done) {
var offshore = new Offshore();
var UserSchema = Offshore.Collecti... |
package br.com.dbsoft.ui.component.inputtextarea;
import java.io.IOException;
import javax.faces.component.UIComponent;
import javax.faces.context.FacesContext;
import javax.faces.context.ResponseWriter;
import javax.faces.render.FacesRenderer;
import br.com.dbsoft.ui.component.DBSRenderer;
import br.com.dbsoft.ui.c... |