text stringlengths 3 1.05M |
|---|
package org.bitcoins.core.protocol.script
import org.bitcoins.core.protocol.{CompactSizeUInt, NetworkElement}
import org.bitcoins.core.script.constant.ScriptToken
import scodec.bits.ByteVector
/** This is meant to be a super type for
* scripts in the bitcoin protocol. This gives us
* access to the asm representat... |
When creating a new issue, it should starts with (add, update, remove, change, move and etc.)
If you will be committing, the first word in the title should be a present participles.
Every release, the first word in the lists should only use a past participle.
Let's have an example below,
- You'll be creating a new... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="es">
<head>
<!-- Generated by javadoc (1.8.0_72) on Fri Mar 11 06:55:22 CET 2016 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Class IA.DistFS.Serv... |
import httpretty
from appium.webdriver.webdriver import WebDriver
from test.unit.helper.test_helper import android_w3c_driver, appium_command, get_httpretty_request_body
class TestWebDriverKeyboard(object):
@httpretty.activate
def test_hide_keyboard(self):
driver = android_w3c_driver()
httpre... |
extern crate params;
use std::fmt::{self};
use std::error::Error;
use std::io::ErrorKind;
use std::fs::{File};
use std::process::Command;
use iron::prelude::*;
use iron::status;
use param_rules::{get_param};
use hash::sha1sum;
use config;
#[derive(Debug)]
struct UploadError(String);
impl fmt::Display for Upload... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null |
DECLARE @FirstName varchar(50), @LastName varchar(50), @MiddleName varchar(50), @SSN varchar(9), @Phone varchar(10), @AltPhone varchar(10), @Address varchar(100), @City varchar(50),
@State varchar(2), @Zip varchar(5), @DateIdentifiedRisk datetime, @EmergencyContact varchar(100), @Relationship varchar(20), @EC_Phone va... |
package org.devgateway.ocds.web.flags.release;
import java.util.Arrays;
import java.util.Collections;
import java.util.HashSet;
import java.util.Optional;
import java.util.Set;
import javax.annotation.PostConstruct;
import org.devgateway.ocds.persistence.mongo.Award;
import org.devgateway.ocds.persistence.mongo.Flagg... |
module HawkularMetrics {
_module.filter('duration', () => {
var DURATION_FORMATS_SPLIT = /((?:[^ydhms']+)|(?:'(?:[^']|'')*')|(?:y+|d+|h+|m+|s+))(.*)/;
var DURATION_FORMATS = {
'y': { // years
// "longer" years are not supported
value: 365 * 24 * 60 * 60 * 1000
},
'yy': {
... |
(function () {
'use strict';
angular
.module('roles')
.config(routeConfig);
routeConfig.$inject = ['$stateProvider'];
function routeConfig($stateProvider) {
$stateProvider
.state('roles', {
abstract: true,
url: '/roles',
template: '<ui-view/>'
})
.state('... |
class Solution(object):
def countNodes(self, root):
"""
:type root: TreeNode
:rtype: int
"""
if root is None:
return 0
left, right, height = root, root, 0
while right.right is not None:
height += 1
left = left.left
... |
<!-- Generated by pkgdown: do not edit by hand -->
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>H2O Prediction from R without having H2O running — h2o.predict_json • h2o</titl... |
#pragma once
#include <string>
#include <mraa/gpio.h>
#ifdef SWIGJAVA
#include "../IsrCallback.h"
#endif
namespace upm {
/**
* @brief A110X Hall Effect library
* @defgroup a110x libupm-a110x
* @ingroup seeed gpio electric robok
*/
/**
* @library a110x
* @sensor a110x
* @comname A110X Hall ... |
Factory.define :user do |f|
f.sequence(:email) {|n| "person#{n}@something.co.uk" }
f.password 'password'
f.first_name 'Andrew'
f.password_confirmation { |u| u.password }
end
Factory.define :post do |f|
f.title 'Hello world!'
f.description 'content'
f.association(:user)
f.published_at 1.week.ago
f.pub... |
package net.finkn.inputspec.v050;
import static net.finkn.inputspec.tools.Helper.sinkTest;
import static net.finkn.inputspec.tools.Helper.pb;
import org.junit.Test;
/**
* Tests which values a design accepts for a parameter, depending on how that
* parameter was defined.
* <p>
* Ideally, the next tests (examinin... |
<?php
namespace SatisGen\Config;
interface ConfigReaderInterface {
public function getConfig($name, $default = null);
}
|
from ..core import CommandSuite
from ..utils import getname, DBView, get_attr, getname
from ..args import Arg, UserType
import asyncio
# import subprocess
# import queue
# import threading
# from string import printable
import time
# import re
from math import ceil, floor
from .game_systems.base import GameSystem, Gam... |
import unittest
import tempfile
import os
from cppbuildprofiler import Analyser, DependencyGraph
class TestAnalysis(unittest.TestCase):
def _create_file(self, prefix, size):
filename = tempfile.mktemp(prefix=prefix)
with open(filename, 'w') as output_file:
output_file.write('.' * size)... |
package org.pentaho.di.ui.trans.step;
import org.eclipse.swt.SWT;
import org.eclipse.swt.custom.CTabFolder;
import org.eclipse.swt.custom.CTabItem;
import org.eclipse.swt.events.ModifyListener;
import org.eclipse.swt.events.SelectionAdapter;
import org.eclipse.swt.events.SelectionEvent;
import org.eclipse.swt.events... |
SPHINXOPTS =
SPHINXBUILD = sphinx-build
PAPER =
BUILDDIR = _build
# User-friendly check for sphinx-build
ifeq ($(shell which $(SPHINXBUILD) >/dev/null 2>&1; echo $$?), 1)
$(error The '$(SPHINXBUILD)' command was not found. Make sure you have Sphinx installed, then set the SPHINXBUILD environment vari... |
<?php
namespace hiqdev\php\merchant\factories;
use hiqdev\php\merchant\credentials\CredentialsInterface;
/**
* Interface CredentialsFactoryInterface.
*
* @author Dmytro Naumenko <d.naumenko.a@gmail.com>
*/
interface CredentialsFactoryInterface
{
public function build(string $name): CredentialsInterface;
}
|
/**************************************************************************/
/*!
@file eeprom.h
@author K. Townsend (microBuilder.eu)
@section LICENSE
Software License Agreement (BSD License)
Copyright (c) 2010, microBuilder SARL
All rights reserved.
Redistribution and... |
import {
AttributorStore,
BlockBlot,
EmbedBlot,
LeafBlot,
Scope,
} from 'parchment';
import { Blot } from 'parchment/dist/typings/blot/abstract/blot';
import Delta from 'quill-delta';
import Break from './break';
import Inline from './inline';
import TextBlot from './text';
const NEWLINE_LENGTH = 1;
class B... |
using namespace DirectX;
static const float c_FaceBoxThickness = 6.0f;
static const float c_FacePointThickness = 10.0f;
static const float c_FacePointRadius = 1.0f;
static const float c_FacePropertyFontSize = 32.0f;
static const double c_FaceRotationIncrementInDegrees = 5.0f;
static const float c_TextLayoutWidth = 50... |
CKEDITOR.plugins.setLang( 'definitionlist', 'it',
{
'definitionDesc' : 'Descrizione della Definizione',
'definitionList' : 'Lista di definizioni',
'definitionTerm' : 'Termine della definizione'
});
|
#define HARNESS_DEFINE_PRIVATE_PUBLIC 1
#include "harness_inject_scheduler.h"
#define private public
#define protected public
#include "tbb/concurrent_queue.h"
#include "../tbb/concurrent_queue.cpp"
#undef protected
#undef private
#include "harness.h"
#if _MSC_VER==1500 && !__INTEL_COMPILER
// VS2008/VC9 seems t... |
require 'xinge/base'
module Xinge
class Ios < Base
ENV_MAP = {'production' => 1, 'development' => 2}
def initialize(accessId = nil, secretKey = nil, options = {})
super
end
def pushToSingleDevice(token, title, content, params={}, custom_content={})
self.push_single_device(token, 1, build... |
use std::env;
use std::fs::File;
use std::io::Read;
fn main() {
let first = env::args().nth(1).expect("Please supply a file name");
let mut file = File::open(&first).expect("Can't open the file");
let mut text = String::new();
file.read_to_string(&mut text).expect("can't read the file");
println!... |
package com.github.solairerove.harald.application.controller;
import com.github.solairerove.harald.application.dto.post.PostRequest;
import com.github.solairerove.harald.application.dto.post.PostResponse;
import com.github.solairerove.harald.application.dto.post.PostsResponse;
import com.github.solairerove.harald.doma... |
<?php
abstract class Quartz
{
static private $servlets;
static private $last_output_date;
static public function set_last_output_date($date)
{
if(!self::$last_output_date)
self::$last_output_date = $date;
}
static public function servlet_exists($servlet)
{
return isset(self::$servlets[$servlet]);
}
sta... |
package io.sommers.fantasy.api.spells.spellcaster;
public interface ISpellCaster {
void addMana(int amount);
void removeMana(int amount);
int getMana();
int getMaxMana();
void regenerateMana();
}
|
class AppNotifyChannelUIImpl::InfoBar : public ConfirmInfoBarDelegate {
public:
InfoBar(AppNotifyChannelUIImpl* creator,
InfoBarTabHelper* helper,
const std::string& app_name);
virtual ~InfoBar();
// ConfirmInfoBarDelegate.
virtual string16 GetMessageText() const OVERRIDE;
virtual string... |
package cn.jmessage.android.uikit.multiselectphotos.photoview;
import cn.jmessage.android.uikit.multiselectphotos.photoview.PhotoViewAttacher.OnMatrixChangedListener;
import cn.jmessage.android.uikit.multiselectphotos.photoview.PhotoViewAttacher.OnPhotoTapListener;
import cn.jmessage.android.uikit.multiselectphotos.p... |
import pytest
import giraffez
from giraffez.constants import *
from giraffez.types import *
class TestTypes(object):
def test_columns_5(self):
columns = Columns([
('col1', TD_CHAR, 10, 0, 0),
('col2', TD_VARCHAR, 20, 0, 0),
('col3', TD_DATE, 4, 0, 0),
('col... |
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE module PUBLIC "-//Google Inc.//DTD Google Web Toolkit trunk//EN" "http://google-web-toolkit.googlecode.com/svn/trunk/distro-source/core/src/gwt-module.dtd">
<module rename-to="html">
<inherits name='com.badlogic.gdx.backends.gdx_backends_gwt' />
<inherits name='com.bad... |
ActiveRecord::Schema.define(:version => 20131002183519) do
create_table "students", :force => true do |t|
t.string "firstname"
t.string "lastname"
t.integer "studentnumber"
t.string "email"
t.string "mobile"
t.datetime "created_at", :null => false
t.datetime "updated_at", :... |
import binascii
import os
import sys
PREFIX = b"""import binascii
BUFFER_SIZE = 512
FILE_LIST = [
"""
SUFFIX = b"""]
for file in FILE_LIST:
filename = file['filename']
print('filename =', filename)
data = binascii.unhexlify(file['data'])
print('len(data) =', len(data))
with open(filename, 'wb') ... |
using Orchard.ContentManagement;
using Orchard.Core.Contents.PageContext;
using Orchard.Environment.Extensions;
using Orchard.Mvc.Filters;
using Orchard.Themes;
using Orchard.UI;
using Orchard.UI.Admin;
using Orchard.UI.Zones;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using S... |
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ChangeListManager">
<list default="true" id="b2ca95a6-fdb4-480d-a8c8-c04bd55f0fde" name="Default" comment="google analitics to .js from .php">
<change type="DELETED" beforePath="$PROJECT_DIR$/img/Preloader_10.gif" afterPath="" />
... |
// -----------------------------------------------------------------------------------
// <copyright file="IRelationInternal.cs" company="NMemory Team">
// Copyright (C) NMemory Team
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated d... |
<div class="row" style="margin-top:20px">
<div ng-show="vm.spinner">
<div class="row" style="margin-top: 50px">
<div class="small-2 small-centered columns">
<div class="fa fa-spinner fa-spin fa-5x"></div>
</div>
</div>
</div>
<div ng-show="!vm.spinner... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null |
<?php declare(strict_types=1);
namespace SebastianBergmann\CodeCoverage\Driver;
use function sprintf;
use RuntimeException;
use SebastianBergmann\CodeCoverage\Exception;
final class WriteOperationFailedException extends RuntimeException implements Exception
{
public function __construct(string $path)
{
... |
var isJSON = require('koa-is-json');
var Stringify = require('streaming-json-stringify');
/**
* Pretty JSON response middleware.
*
* - `pretty` default to pretty response [true]
* - `param` optional query-string param for pretty responses [none]
*
* @param {Object} opts
* @return {GeneratorFunction}
* @api ... |
In this assignment, you'll build a RESTful, database-driven, HTTP server, using Express and Knex, to manage your migrated and seeded database.
## Books
In the `routes/books.js` module, add middleware to handle the following HTTP requests and send back the associated HTTP response. The information in both the request ... |
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null |
<?php
/**
* Class MsgReportReply_Notify_Background
*/
class MsgReportReply_Notify_Background extends SMF_BackgroundTask
{
/**
* This executes the task - loads up the information, puts the email in the queue and inserts alerts as needed.
* @return bool Always returns true.
*/
public function execute()
{... |
import os
if 'CXX' in os.environ:
os.environ['CC'] = os.environ['CXX']
import json
from datetime import timedelta
import numpy as np
import types
import inspect
import sys
def eprint(*a):
print(*a, file=sys.stderr)
class Proto:
# def __new__(self, proto, *args, **kw):
# return super(Proto, self).__new__(se... |
/* Created by yegor on 10/8/16. */
package ws.epigraph.wire;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
import ws.epigraph.data.Data;
import ws.epigraph.data.Datum;
import ws.epigraph.data.Val;
import ws.epigraph.errors.ErrorValue;
import ws.epigraph.projections.gen.GenMode... |
/**
* rootURL is the root url.
*/
export const rootURL = () => "/";
/**
* namespaceNewURL is the url for creating new namespaces.
*/
export const namespaceNewURL = () => "/new-namespace";
/**
* namespaceURL is the url for a specified namespace.
* @param {string} n - The namespace id.
*/
export const namespaceU... |
weixin-avatar
=============

A tricky app to make your wechat avatar always get noticed.
## Warning
It could be harmful to [obsessive compulsive disorder](http://baike.baidu.com/view/330.htm) friends and even the friendship between yours.
## Uesag... |
using System.Collections.Generic;
using System.Text.Json;
using Azure.Core;
using Azure.ResourceManager.Automation;
namespace Azure.ResourceManager.Automation.Models
{
internal partial class AutomationVariableListResult
{
internal static AutomationVariableListResult DeserializeAutomationVariableListRes... |
<?php
// AngeAngeBundle:Groupe:show.html.twig
return array (
);
|
#region License
// Copyright (c) 2007 - 2014, Northwestern University, Vladimir Kleper, Skip Talbot
// and Pattanasak Mongkolwat.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// Redi... |
{-# LANGUAGE EmptyDataDecls, TypeFamilies #-}
{-# OPTIONS_HADDOCK show-extensions #-}
-- |
-- Module : Language.Logo.Base
-- Copyright : (c) 2013-2016, the HLogo team
-- License : BSD3
-- Maintainer : Nikolaos Bezirgiannis <bezirgia@cwi.nl>
-- Stability : experimental
--
-- The module contains the B... |
<!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" xml:lang="en" lang="en">
<!-- Mirrored from bvs.wikidot.com/forum/t-147056/looking-for-offers by HTTrack Website Copier/3.x [XR&CO'2014], Sun, 10 Jul 202... |
package de.gishmo.gwt.example.mvp4g2.mail.client.service;
import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
import de.gishmo.gwt.example.mvp4g2.mail.shared.dto.Mail;
import java.util.ArrayList;
@RemoteServiceRelativePath("mailService")
public inte... |
<?php
return array(
/*
|--------------------------------------------------------------------------
| PDO Fetch Style
|--------------------------------------------------------------------------
|
| By default, database results will be returned as instances of the PHP
| stdClass object; however, you may desire t... |
"""Classes that draw conclusions out of a comparison and represent them."""
from collections import Counter
FORMAT_RED = '\033[01;31m{0}\033[00m'
FORMAT_GREEN = '\033[01;32m{0}\033[00m'
FORMAT_MAGENTA = '\033[01;35m{0}\033[00m'
FORMAT_CYAN = '\033[01;36m{0}\033[00m'
FORMAT_NORMAL = '{0}'
RATING_FAILURE = 'failure'
R... |
package com.thoughtworks.go.server.service;
import java.sql.SQLException;
import java.util.Date;
import com.thoughtworks.go.config.GoConfigFileDao;
import com.thoughtworks.go.domain.JobInstance;
import com.thoughtworks.go.domain.JobPlan;
import com.thoughtworks.go.domain.JobState;
import com.thoughtworks.go.domain.... |
using System.Reflection;
namespace Mapsui.Utilities
{
/// <summary>
/// Version information helper class
/// </summary>
public static class Version
{
/// <summary>
/// Returns the current build version of Mapsui
/// </summary>
/// <returns></returns>
... |
<!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_111) on Wed Jan 04 22:31:30 EST 2017 -->
<title>Uses of Class org.drip.sample.efronstein.MinimumBinPackingBound</title>
<meta name="date" conte... |
layout: post
title: ITBP Combatant Ministerial posts last date 10th Sep-2015
date: 2015-08-02 12:15
comments: true
tags: Armed Forces Constable Inspector ITBP Steno
archive: false
---
Applications are invited for filling up the following posts in ITB Police (ITBP) from Indian citizens :
- Assistant Sub-Inspector (S... |
if (Meteor.settings.PrerenderIO && Meteor.settings.PrerenderIO.token) {
var prerender = Npm.require('prerender-node')
.set('protocol', 'http')
.set('host', 'screenings.io')
.set('prerenderToken', Meteor.settings.PrerenderIO.token);
Meteor.startup(function() {
WebApp.rawConnectHandlers.use(prerender... |
/*
* Internal COCO structures and typedefs.
*
* These are used throughout the COCO code base but should not be
* used by any external code.
*/
#ifndef __COCO_INTERNAL__
#define __COCO_INTERNAL__
typedef void (*coco_initial_solution_function_t)(const coco_problem_t *self, double *y);
typedef void (*coco_evaluate_... |
@class FIRStackFrame;
@interface FIRCLSThreadArrayOperation : NSOperation
@property(nonatomic, strong) NSArray *threadArray;
- (void)enumerateFramesWithBlock:(void (^)(FIRStackFrame *frame))block;
@end
|
/*
* This is sample code generated by rpcgen.
* These are only templates and you can use them
* as a guideline for developing your own functions.
*/
#include "add.h"
int *
add_1_svc(numbers *argp, struct svc_req *rqstp)
{
static int result=0;
printf("Got a request of size %d\n", argp->size);
int i;
for(i=0; i... |
@interface Phone : Friend {
}
@end
|
@interface TWLocalSettings : NSObject
+ (TWLocalSettings *)sharedSettings;
- (id)settingsForKey:(NSString *)key;
- (void)setSettings:(id)settings forKey:(NSString *)key;
- (void)removeSettingsForKey:(NSString *)key;
- (BOOL)hasSettingForKey:(NSString *)key;
@end
|
if(DEFINED HUNTER_CMAKE_PROJECTS_BOOST_SERIALIZATION_HUNTER_CMAKE)
return()
else()
set(HUNTER_CMAKE_PROJECTS_BOOST_SERIALIZATION_HUNTER_CMAKE 1)
endif()
include(hunter_download)
include(hunter_pick_scheme)
hunter_pick_scheme(
DEFAULT
url_sha1_boost_library
IPHONEOS
url_sha1_boost_ios_library
)
hu... |
//==============================================================================
// GUI utilities
//==============================================================================
#include "corecliutils.h"
#include "commonwidget.h"
#include "coresettings.h"
#include "coreguiutils.h"
#include "settings.h"
//=========... |
.blogContentWrap.container {
width: 80%;
max-width: 1024px;
padding: 20px 40px 40px;
margin: 0 auto;
background: #fff;
color: #333;
box-sizing: border-box;
position: relative; }
.blogContentWrap.container .backButton {
position: absolute;
top: 30px;
left: -30px;
color: #3593dc;
fon... |
[](https://travis-ci.org/silverstripe/silverstripe-blog)
[](https://scrutinizer-ci.com/g/silverstripe/silverstr... |
namespace Nancy.Core.Tests.Fakes
{
public class DerivedFakeBootstrapper : FakeBootstrapper
{
}
} |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("MyW... |
/**
\file cta_obsdescr.h
\brief Interface description of the COSTA default observation descriptor component. For user implementation see cta_usr_obs_descr.h.
CTA_ObsDescr is used for describing observations.
*/
#ifndef CTA_OBSDESCR_H
#define CTA_OBSDESCR_H
#include "cta_system.h"
#include "cta_handles.h"
#include ... |
<!doctype html>
<!--[if lt IE 7]> <html class="no-js ie6 oldie" lang="en"> <![endif]-->
<!--[if IE 7]> <html class="no-js ie7 oldie" lang="en"> <![endif]-->
<!--[if IE 8]> <html class="no-js ie8 oldie" lang="en"> <![endif]-->
<!--[if IE 9]> <html class="no-js ie9" lang="en"> <![endif]-->
<!--[if gt IE 9]>... |
/**
* First we will load all of this project's JavaScript dependencies which
* include Vue and Vue Resource. This gives a great starting point for
* building robust, powerful web applications using Vue and Laravel.
*/
require('./bootstrap');
/**
* Next, we will create a fresh Vue application instance and attach... |
using System;
using System.IO;
using Aspose.Pdf;
using System.Collections;
using Aspose.Pdf.Annotations;
using System.Collections.Generic;
namespace Aspose.Pdf.Examples.CSharp.AsposePDF.LinksActions
{
public class GetHyperlinkDestinations
{
public static void Run()
{
try
... |
You are a bird. Falling. From the nest.
|
bool IMAGE::LoadCompressedTrueColorTGA(char * filename)
{
unsigned char compTGAHeader[12]={0, 0, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0};
unsigned char TGAcompare[12];
unsigned char header[6];
printf("Loading %s in LoadCompressedTGA\n", filename);
FILE * file=fopen(filename, "rb");
if(!file)
{
printf("Unable to open... |
package com.google.gerrit.client.diff;
import static java.lang.Double.POSITIVE_INFINITY;
import com.google.gerrit.client.Gerrit;
import com.google.gerrit.client.JumpKeys;
import com.google.gerrit.client.account.DiffPreferences;
import com.google.gerrit.client.change.ChangeScreen2;
import com.google.gerrit.client.chan... |
/*
* etch_thread.h -- thread implementation
*/
#ifndef _ETCH_THREAD_H_
#define _ETCH_THREAD_H
#include "etch_errno.h"
#include "etch_mem.h"
#ifdef __cplusplus
extern "C" {
#endif
#define ETCH_THREAD_CREATE_JOINABLE 0
#define ETCH_THREAD_CREATE_DETACHED 1
typedef struct etch_thread_attr_t etch_thread_attr_t;
... |
""" Authentication-based decorators"""
from functools import wraps
def blocked_ip_exempt(view_func):
"""Mark a view function as being exempt from blocked IP protection."""
def wrapped_view(*args, **kwargs):
return view_func(*args, **kwargs)
wrapped_view.blocked_ip_exempt = True
return wraps(... |
package org.apache.lucene.store;
/**
* <p>A MergeInfo provides information required for a MERGE context.
* It is used as part of an {@link IOContext} in case of MERGE context.</p>
*/
public class MergeInfo {
public final int totalMaxDoc;
public final long estimatedMergeBytes;
public final boolean ... |
export const sea = '#3498db';
export const deepSea = '#145d8e';
export const sunset = '#e14d4c';
export const mint = '#2be8ce';
export const mikan = '#db9634';
export const white = '#f5f5f5';
export const light = '#f5f5f5';
export const dark = '#363636';
|
<?php
/*
* GENERATED CODE WARNING
* This file was automatically generated - do not edit!
*/
namespace Google\Cloud\Logging\Tests\Unit\V2;
use Google\ApiCore\ApiException;
use Google\ApiCore\BidiStream;
use Google\ApiCore\CredentialsWrapper;
use Google\ApiCore\Testing\GeneratedTest;
use Google\ApiCore\Testing\Moc... |
Exec command output stream consumer parser written in Go.
### Activating debug messages
streamon package debug logging output can be enabled through the use of `-ldflags` when building or running your program.
Example usage:
go run -ldflags '-X streamon.debugEnabled true' *.go
|
#include "GenericDatum.hh"
#include "NodeImpl.hh"
using std::string;
using std::vector;
namespace avro {
GenericDatum::GenericDatum(const ValidSchema &schema) : type_(schema.root()->type()),
logicalType_(schema.root()->logicalType()) {
init(schema.root())... |
<?php
namespace Oro\Bundle\EntityExtendBundle\EventListener;
use Doctrine\Common\Persistence\ManagerRegistry;
use Doctrine\DBAL\Types\Type;
use JMS\JobQueueBundle\Entity\Job;
use Oro\Bundle\EntityConfigBundle\Config\ConfigManager;
use Oro\Bundle\EntityExtendBundle\EntityConfig\ExtendScope;
use Oro\Bundle\EntityConf... |
<!-- HTML header for doxygen 1.8.18-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://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" con... |
namespace Gu.State
{
internal static class Try
{
internal static bool CastAs<T>(object x, object y, out T xResult, out T yResult)
{
if (x is T && y is T)
{
xResult = (T)x;
yResult = (T)y;
return true;
}
... |
<!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_76-release) on Mon Nov 28 14:15:25 MST 2016 -->
<title>ElasticsearchUserController</title>
<meta name="date" content="2016-11-28">
<link rel="s... |
<?php
$provider = require_once __DIR__.'/../bootstrap/initWithFabric.php';
$callbackEntity = new \aslikeyou\OAuth2\Client\Provider\Callback($provider);
$e = $callbackEntity->listItems();
dd($e);
|
module Elastec
module Connection
def connection
Elastec.connection
end
SERVER_ERROR = Elasticsearch::Transport::Transport::ServerError
end
end |
package main
import (
"crypto/tls"
"encoding/xml"
"errors"
"fmt"
"io"
"io/ioutil"
"log"
"net/http"
"net/url"
"strings"
"sync"
"time"
)
const buildV = false
// From go/src/cmd/go/vcs.go
// securityMode specifies whether a function should make network
// calls using insecure transports (eg, plain text HTT... |
plomb
===
Sugar macros for linking [Om](https://www.github.com/swannodette/om/) components with core.async chans.
```clj
(ns examples.simple.core
(:require
[om.core :as om :include-macros true]
[om.dom :as dom :include-macros true]
[plomb.core :as plomb :include-macros true]))
(plomb/defcomp app
... |
package org.gradle.api.internal.tasks.compile;
import org.gradle.api.tasks.compile.CompileOptions;
import org.gradle.jvm.toolchain.JavaInstallationMetadata;
import javax.annotation.Nullable;
import java.io.File;
public class DefaultJavaCompileSpecFactory extends AbstractJavaCompileSpecFactory<DefaultJavaCompileSpe... |
'use strict';
/**
* @ngdoc function
* @name pham6App.controller:LabCtrl
* @description
* # LabCtrl
* Controller of the pham6App
*/
angular.module('pham6App')
.controller('LabCtrl', function ($scope, partialsService) {
var partials = partialsService.getPartials();
$scope.heroPartial = partials.heroPart... |
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/privacy/dlp/v2/dlp.proto
package com.google.privacy.dlp.v2;
public interface TableLocationOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.TableLocation)
com.google.protobuf.MessageOrBuilder ... |