text stringlengths 3 1.05M |
|---|
/**
* @fileoverview Class handling code does not special cases comments preceding
* it before its JSDoc block. This comment would not get emitted if detached
* source file comments were not emitted separately.
*/
goog.module('test_files.file_comment.puretransform.comment_before_class');
var module = module || { id:... |
require 'active_support/core_ext/hash'
module SimplyConfigurable
def self.included(klass)
klass.extend(ClassMethods)
end
def config
self.class.config
end
private
module ClassMethods
def config(options = {})
@config ||= {}.with_indifferent_access
if options
@config.merg... |
/* est3.h was originally generated by the autoSql program, which also
* generated est3.c and est3.sql. This header links the database and the RAM
* representation of objects. */
#ifndef EST3_H
#define EST3_H
struct est3
/* EST 3-prime ends */
{
struct est3 *next; /* Next in singly linked list. */
ch... |
layout: page
title: Hammond Logistics Show
date: 2016-05-24
author: Marilyn Woodward
tags: weekly links, java
status: published
summary: Vivamus sapien risus, luctus euismod.
banner: images/banner/leisure-02.jpg
booking:
startDate: 11/14/2018
endDate: 11/16/2018
ctyhocn: DAYSHHX
groupCode: HLS
published: true
-... |
'use strict';
// Init the application configuration module for AngularJS application
var ApplicationConfiguration = (function() {
// Init module configuration options
var applicationModuleName = 'buysell';
var applicationModuleVendorDependencies = ['ngResource', 'ngCookies', 'ngAnimate', 'ngTouch', 'ngSanitize',... |
set -eux -o pipefail
source settings.sh
# bazel should have been installed in build-prereq.sh, but the PATH might
# need to be added in this script.
if ! bazel; then
PATH="$HOME/bin:$PATH"
fi
# Run all deepvariant tests. Take bazel options from args, if any.
# Note: If running with GPU, tests must be executed ser... |
export var __N_SSG = true;
export default class Test extends React.Component {
render() {
return __jsx("div", null);
}
}
|
package dev.torin.fightclubpocket.Entities.Enums;
/**
* Created by Администратор on 24.02.2017.
*/
public enum Blox {
HEAD, CHEST, TRUNK, LEGS, UNDEFINED
}
|
package sp.labkit
import akka.actor._
import akka.cluster.pubsub.DistributedPubSubMediator.Publish
import scala.concurrent.duration._
import sp.domain._
import sp.domain.Logic._
import org.joda.time._
import scala.util.{Failure, Success, Try}
import com.github.nscala_time.time.Imports._
import org.threeten.bp.ZonedD... |
module Tasuku
class Taskables::Question::Vote < ActiveRecord::Base
belongs_to :answer, class_name: 'Tasuku::Taskables::Question::Answer'
belongs_to :option, class_name: 'Tasuku::Taskables::Question::Option'
end
end
|
from __future__ import print_function
import sys
sys.path.insert(1,"../../../")
import h2o
from tests import pyunit_utils
from os import path
import pandas as pd
'''
Export file with h2o.export_file with a custom header configuration
'''
def export_custom_headers():
data = {'col1': [1, 2], 'col2': [3, 4]}
exp... |
package com.swfarm.biz.magento.bo.magentoapi;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;
/**
* <p>
* Java class for customerCustomerEntityArray complex type... |
_.dependency('apiProvider', [ 'provider', 'middleware.prototype', 'apiAggregate', 'deal',
'isArrayLikeObject', 'isObject', 'urlExtend', 'urlParse', 'mergeEnd', 'defer', 'forEach' ],
(name, provider, middlewarePrototype, apiAggregate, deal,
isArrayLikeObject, isObject, urlExtend, urlParse, mergeEnd, defer, forEach) =... |
module Autoparts
module Packages
class Apache2 < Package
name 'apache2'
version '2.4.10'
description 'Apache Web Server: A cross-platform open-source HTTP server for modern operating systems'
category Category::WEB_DEVELOPMENT
source_url 'http://www.us.apache.org/dist/httpd/httpd-2.... |
public enum ApplyType {
Addition,
Multiply
} |
import { User } from 'ng-login';
import { Entity } from 'ngx-login-client';
export class EntityService {
extractPath(entity: Entity): string {
return '';
}
}
|
module Keisan
module Parsing
class ArithmeticOperator < Operator
end
end
end
|
go-resources
============
Books
-----
- `Learn Go The Hard Way <http://learngothehardway.org/>`_
- `Go in Action <http://www.manning.com/ketelsen/>`_
- `An Introduction to Programming in Go <http://www.golang-book.com/>`_
- `Programming in Go <http://www.qtrac.eu/gobook.html>`_
- `Go, The Standard Library <http://the... |
title: The Case for Static Site Generators
author:
description: There's something beautiful about stripping the cruft out of publishing content on the web.
date: 2013-02-26 00:46 -08:00
tags: static site generators, ruby, haml, sass, wordpress, rails, sinatra, middleman
published: true
---
Creating a website has never... |
layout: post
title: "A letter to the future me"
modified: 2014-05-02 00:05:43 +0530
tags: []
imagefeature: http://2.bp.blogspot.com/-2XKz53lNjH4/Tv2cUTC5TnI/AAAAAAAAADw/IoOtoFgJBX0/s1600/1.jpg
comments: true
share: true
#published: false
---
Dude,
You screwed up. Sorry, I screwed up. I screwed up so bad that I don't... |
package org.kie.workbench.common.dmn.client.editors.expressions.types.invocation;
import java.util.Collections;
import java.util.Optional;
import java.util.function.Supplier;
import com.ait.lienzo.test.LienzoMockitoTestRunner;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import o... |
<!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_55) on Sun Oct 26 05:56:34 EDT 2014 -->
<meta http-equiv="Content-Type" content="text/html" charset="utf-8">
<title>Uses of Class org.a... |
require 'spec_helper'
describe ServiceObjects::AssignEmailAddress, type: :unit do
let(:fixture) { 'create_accepted_student' }
let(:change_hash) { JSON.parse(File.read("./spec/fixtures/#{fixture}.json")) }
let(:trogdir_change) { TrogdirChange.new(change_hash) }
subject { ServiceObjects::AssignEmailAddress.new(t... |
require 'nmea_plus/message/nmea/base_nmea'
module NMEAPlus
module Message
module NMEA
# YWP - Water Propagation Speed
# Limited utility, no recommended replacement
class YWP < NMEAPlus::Message::NMEA::NMEAMessage
# Speed, feet/second
field_reader :speed_feet_second, 1, :_float
... |
'use strict';
var EventEmitter = require('events').EventEmitter;
var Promise = require('bluebird');
var Stream = require('stream');
var util = require('util');
var through2 = require('through2');
var Readable = Stream.Readable;
function Router(){
EventEmitter.call(this);
this.routes = {};
}
util.... |
/*
* NaCl Service Runtime. I/O Descriptor / Handle abstraction. Memory
* mapping using descriptors.
*/
#include <errno.h>
#include <limits.h>
#include <stdint.h>
#include <string.h>
#include <sys/mman.h>
#include <sys/types.h>
#include <sys/stat.h>
#include "native_client/src/include/portability.h"
#include "n... |
using System;
using System.Windows;
using System.Windows.Input;
using System.Windows.Media;
namespace SnapNShare.Overlay
{
public partial class OverlayWindow : Window, IDisposable
{
private readonly OverlayEngine _overlayEngine;
public OverlayWindow(OverlayEngine overLayEngine)
{
... |
require 'spec_helper'
RSpec.describe Spree::Product, :type => :model do
##############
# attributes #
##############
# Describe here you model attributes.
################
# associations #
################
# Describe here you model associations behaviour.
###############
# validations #
#####... |
<?php defined('BX_DOL') or die('hack attempt');
/*
* Groups module representation.
*/
class BxEventsTemplate extends BxBaseModGroupsTemplate
{
function __construct(&$oConfig, &$oDb)
{
$this->MODULE = 'bx_events';
parent::__construct($oConfig, $oDb);
}
function unitVars ($aData, $isC... |
% Load NIFTI or ANALYZE dataset. Support both *.nii and *.hdr/*.img
% file extension. If file extension is not provided, *.hdr/*.img will
% be used as default.
%
% A subset of NIFTI transform is included. For non-orthogonal rotation,
% shearing etc., please use 'reslice_nii.m' to reslice the NIFTI file.
% I... |
package org.apache.hive.jdbc;
import org.apache.commons.lang.StringUtils;
import org.apache.hive.jdbc.Utils.JdbcConnectionParams;
import org.apache.hive.service.auth.HiveAuthFactory;
import org.apache.hive.service.auth.KerberosSaslHelper;
import org.apache.hive.service.auth.PlainSaslHelper;
import org.apache.hive.se... |
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE topic
PUBLIC "-//OASIS//DTD DITA Composite//EN" "ditabase.dtd">
<topic id="topic1" xml:lang="en">
<title id="pz212122">Machine Learning and Deep Learning using MADlib</title>
<body>
<p>Apache MADlib is an open-source library for scalable in-database analytics. ... |
<?php
use Cake\Core\Configure;
use Cake\Core\Exception\MissingPluginException;
use Cake\Core\Plugin;
/**
* Additional bootstrapping and configuration for CLI environments should
* be put here.
*/
// Set the fullBaseUrl to allow URLs to be generated in shell tasks.
// This is useful when sending email from shells.... |
<?xml version="1.0" encoding="UTF-8"?>
<Context>
<Resource
name="jdbc/postgresql"
auth="Container"
type="javax.sql.DataSource"
maxActive="-1"
maxIdle="-1"
maxWait="10000"
username="postgres"
password="postgres"
driverClassName="com.postgresql.Driver"
... |
<?php
namespace app\models;
use Yii;
use yii\base\Exception;
use yii\db\ActiveRecord;
/**
* This is the model class for table "zoho_invoice_header".
*
* @property string $header_id
* @property string $local_invoice_id
* @property string $invoice_id
* @property string $invoice_number
* @property string $date
... |
<?php
namespace Demo\Model;
use Zend\Db\TableGateway\TableGateway;
use Zend\Db\Sql\Select;
class CompanyTable2 extends TableGateway
{
const TABLE_NAME = 'company';
public function findAllOrderedByName()
{
$select = new Select;
$select->from(self::TABLE_NAME)
->order('NAME ASC');
return $this->select... |
import * as React from 'react';
import DynamicStepper from './DynamicStepper';
import StepCheck from './StepCheck';
import VerifyButton from './VerifyButton';
import {Card, CardActions, CardHeader, CardText} from 'material-ui/Card';
import FlatButton from 'material-ui/FlatButton';
import {Step, StepContent, StepLabel}... |
/**
* WordPress dependencies
*/
import apiFetch from '@wordpress/api-fetch';
/**
* Internal dependencies
*/
import { saveMetaBoxes } from '../metaboxes';
jest.mock('@wordpress/api-fetch');
describe('Meta Boxes API Callbacks', () => {
beforeEach(() => {
jest.clearAllMocks();
apiFetch.mockReturnValue(... |
package org.apache.ibatis.mapping;
import java.sql.ResultSet;
import org.apache.ibatis.session.Configuration;
import org.apache.ibatis.type.JdbcType;
import org.apache.ibatis.type.TypeHandler;
import org.apache.ibatis.type.TypeHandlerRegistry;
/**
* @author Clinton Begin
*/
public class ParameterMapping {
priv... |
ACCEPTED
#### According to
Interim Register of Marine and Nonmarine Genera
#### Published in
Jena. Z. , 15, 450.
#### Original name
null
### Remarks
null |
<!--
~ Copyright (c) 2005-2011, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
~
~ WSO2 Inc. licenses this file to you 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.apa... |
package io.electrum.prepaidutility.api;
import javax.servlet.http.HttpServletRequest;
import javax.ws.rs.Consumes;
import javax.ws.rs.POST;
import javax.ws.rs.Path;
import javax.ws.rs.PathParam;
import javax.ws.rs.Produces;
import javax.ws.rs.container.AsyncResponse;
import javax.ws.rs.container.Suspended;
import java... |
local posixTime = require"posix.time"
local time = {}
local startTime = posixTime.clock_gettime(posixTime.CLOCK_MONOTONIC)
function time.getTime()
local timespec = posixTime.clock_gettime(posixTime.CLOCK_MONOTONIC)
local sec = timespec.tv_sec - startTime.tv_sec
local nsec = timespec.tv_nsec - startTime.tv_nsec... |
/* Basic reset */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
/* Better text styling */
font: bold 14px Arial, sans-serif;
-webkit-user-select: none; /* Chrome/Safari */
-moz-user-select: none; /* Firefox */
-ms-user-select: none; /* IE10+ */
/* Rules below not implemented in browsers yet */... |
FROM python:2.7
MAINTAINER Jerry Baker (kizbitz): 'jbaker@docker.com'
WORKDIR /home/train
RUN apt-get update && apt-get install -y \
git \
putty-tools \
sudo \
tree \
vim
RUN pip install --upgrade \
boto \
mandrill \
pip \
requests \
toml
RUN useradd train && \
adduser t... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>unicoq: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css"... |
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null |
package com.github.kmizu.yapp;
import java.util.Set;
import com.github.kmizu.yapp.Ast.CharClass.Char;
import com.github.kmizu.yapp.Ast.CharClass.Element;
import com.github.kmizu.yapp.Ast.CharClass.Range;
/**
* This class represents the namespace which have AST(Abstract
* Syntax Tree) classes of RE(Regular Express... |
package org.apache.curator.framework.recipes.locks;
import com.google.common.collect.Maps;
import com.google.common.util.concurrent.MoreExecutors;
import org.apache.curator.framework.CuratorFramework;
import java.io.IOException;
import java.util.Collection;
import java.util.concurrent.ConcurrentMap;
import java.util.... |
// @nolint
#ifndef MCROUTER_OPTION_GROUP
#define MCROUTER_OPTION_GROUP(_sep)
#endif
#define no_long ""
#define no_short '\0'
/**
* Format:
*
* mcrouter_option_<string, integer, or toggle>(
* [type (integers only), ] name of field in the struct, default value,
* long option (or no_long), short option char (or... |
describe("Eventing", function() {
var client;
beforeEach(function(done) {
client=new ozpIwc.Client({peerUrl:"http://localhost:13000"});
client.connect().then(done);
});
afterEach(function(){
client.disconnect();
});
it("OWF.Eventing.publish()",function(done) {
... |
Ext.define('Budget.view.admin.user.Edit' ,{
extend: 'Budget.view.abstract.Edit',
alias: 'widget.useredit',
store: 'Users',
editTitle: 'Edit user',
addTitle: 'Add user',
initComponent: function() {
this.items = [{
xtype: 'form',
frame: true,
items: [{
xtype: 'textfield',
name : 'fi... |
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2016.01.22 at 0... |
package cc.ricksimon.android.filteringplurk.bean;
import org.json.JSONException;
import org.json.JSONObject;
/**
* Created by Simon on 2017/11/3.
*/
/*
* id: The unique user id.
* nick_name: The unique nick_name of the user, for example amix.
* display_name: The non-unique display name of the user, for example ... |
[CmdletBinding()]
param()
# Arrange.
. $PSScriptRoot\..\..\lib\Initialize-Test.ps1
. $PSScriptRoot\..\..\..\Tasks\VSBuild\Select-MSBuildLocation.ps1
Register-Mock Get-MSBuildPath
# Act/Assert.
Assert-Throws { Select-MSBuildLocation -VSVersion '15.0' -Architecture 'Some architecture' } -MessagePattern "*MSBuild*not*fo... |
using hw.DebugFormatter;
// ReSharper disable CheckNamespace
namespace Net5Tester.CompilerTool.Util
{
sealed class MainToken : NamedToken
{
public MainToken(string name)
: base(name) { }
[DisableDump]
public override bool IsMain => true;
}
} |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>qarith-stern-brocot: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../boots... |
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null |
namespace image_writer_api = extensions::api::image_writer_private;
namespace base {
class FilePath;
} // namespace base
namespace extensions {
namespace image_writer {
const int kProgressComplete = 100;
class OperationManager;
// Encapsulates an operation being run on behalf of the
// OperationManager. Construc... |
package com.github.anno4j.querying.evaluation.ldpath;
import com.hp.hpl.jena.graph.Triple;
import com.hp.hpl.jena.sparql.core.Var;
import com.hp.hpl.jena.sparql.syntax.ElementGroup;
import org.apache.marmotta.ldpath.model.selectors.PathSelector;
import java.util.ArrayList;
public class EvalPathSelector {
public... |
package com.swayzetrain.inventory.common.model;
import java.sql.Timestamp;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.validation.constraint... |
Rollcall
********
.. image:: https://badges.gitter.im/Join%20Chat.svg
:alt: Join the chat at https://gitter.im/numerals/rollcall
:target: https://gitter.im/numerals/rollcall?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge
|
require 'spec_helper'
describe Projects::ServicesController, '(JavaScript fixtures)', type: :controller do
include JavaScriptFixturesHelpers
let(:admin) { create(:admin) }
let(:namespace) { create(:namespace, name: 'frontend-fixtures' )}
let(:project) { create(:project_empty_repo, namespace: namespace, ... |
layout: page
title: "Harry Reicher"
comments: true
description: "blanks"
keywords: "Harry Reicher,CU,Boulder"
---
<head>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
<script src="https://dl.dropboxusercontent.com/s/pc42nxpaw1ea4o9/highcharts.js?dl=0"></script>
<!-- <script s... |
FROM tiangolo/uwsgi-nginx:python2.7
LABEL maintainer="Simon Gerber <gesimu@gmail.com>"
RUN pip install flask flask-login
RUN adduser --uid 1001 --ingroup root appuser && \
mkdir -p /app/instance && \
mkdir -p /var/supervisor && \
chown -R appuser:root /app/instance && \
chown -R appuser:root /var/cac... |
package org.apache.spark.internal.io
import java.util.{Date, UUID}
import scala.collection.mutable
import org.apache.hadoop.conf.Configurable
import org.apache.hadoop.fs.Path
import org.apache.hadoop.mapreduce._
import org.apache.hadoop.mapreduce.lib.output.FileOutputCommitter
import org.apache.hadoop.mapreduce.ta... |
<tool id="hicexplorer_hiccomparematrices" name="@BINARY@" version="@WRAPPER_VERSION@.0">
<description>normalize and compare two Hi-C contact matrices</description>
<macros>
<token name="@BINARY@">hicCompareMatrices</token>
<import>macros.xml</import>
</macros>
<expand macro="requirements... |
#if defined(USE_TI_UIIPADPOPOVER) || defined(USE_TI_UIIPADSPLITWINDOW)
#import "TiViewProxy.h"
#import "TiViewController.h"
//The iPadPopoverProxy should be seen more as like a window or such, because
//The popover controller will contain the viewController, which has the view.
//If the view had the logic, you get s... |
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright (C) 2015 The Android Open Source Project
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/l... |
package uk.gov.gds.ier.transaction.overseas.parentsAddress
import uk.gov.gds.ier.serialiser.WithSerialiser
import uk.gov.gds.ier.step.StepTemplate
import uk.gov.gds.ier.service.WithAddressService
import uk.gov.gds.ier.model.Addresses
import uk.gov.gds.ier.transaction.overseas.{InprogressOverseas, WithOverseasControlle... |
<?php
// This is the configuration for yiic console application.
// Any writable CConsoleApplication properties can be configured here.
return array(
'basePath'=>dirname(__FILE__).DIRECTORY_SEPARATOR.'..',
'name'=>'My Console Application',
// preloading 'log' component
'preload'=>array('log'),
// application co... |
/* eslint-env node, mocha */
var assert = require('assert')
var Q = require('q')
var _ = require('lodash')
// FTPS package from index.js
var FTPS = require('../')
describe('FTPS', function () {
describe('#initialize()', function () {
it('should properly set default options', function () {
// fake options t... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Globalization;
using System.Linq;
using System.Reflection;
namespace MusicCatalog.ServiceApi.Areas.HelpPage
{
/// <summary>
/// This class will create an object of a given type and popu... |
namespace AdventOfCode.CubicleMaze
{
using System;
using System.Drawing;
public class Node
{
private Node _parentNode;
public Point Location { get; private set; }
public bool IsWalkable { get; set; }
// Cost from start to this node
public float G { get; priva... |
namespace dawn {
/// @brief Determine the edit distance between two sequences.
///
/// @param fromArray The first sequence to compare.
/// @param toArray The second sequence to compare.
/// @param allowReplacements Whether to allow element replacements (change one element into
/// ... |
Package.describe({
name: 'tonekk:angular-moment',
summary: 'moment.js AngularJS directives in MeteorJS. What else.',
version: '1.0.2',
git: 'https://github.com/tonekk/meteor-angular-moment'
});
Package.onUse(function(api) {
api.versionsFrom('1.0');
api.use('mrt:moment@1.7.0', 'client');
api.use('urigo:an... |
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('contenttypes', '0002_remove_content_type_name'),
]
operations = [
migrations.CreateModel(
name='ExternalKeyMapping',
fields=... |
<?php
$rootPath = realpath(dirname(__FILE__) . '/..');
define('TestPath', $rootPath . '/test/app');
define('APPPATH', $rootPath . '/src/');
define('BASEPATH', $rootPath . '/lib/CodeIgniter_2.1.3/system/');
require_once(APPPATH . 'helpers/loader_helper.php');
require_once(APPPATH . 'vendor/autoload.php');
define('SF_... |
<?php
/**
* Smarty Internal Plugin Smarty Template Compiler Base
* This file contains the basic classes and methods for compiling Smarty templates with lexer/parser
*
* @package Smarty
* @subpackage Compiler
* @author Uwe Tews
*/
/**
* Main abstract compiler class
*
* @package Smarty
* @subpackag... |
package fr.javatronic.blog.massive.annotation1.sub1;
import fr.javatronic.blog.processor.Annotation_001;
@Annotation_001
public class Class_6872 {
}
|
def byte_by_byte(file_descriptor):
byte = file_descriptor.read(1)
while byte:
yield ord(byte)
byte = file_descriptor.read(1)
raise StopIteration
def recurrence_relation(mapping):
def stream_generator(x0, starting_offset=1):
x = x0
for _ in xrange(starting_offset):
... |
using MediatR;
using EventService.Data;
using EventService.Data.Model;
using EventService.Features.Core;
using System.Collections.Generic;
using System.Threading.Tasks;
using System.Linq;
using System.Data.Entity;
namespace EventService.Features.Users
{
public class RemoveUserCommand
{
public class Rem... |
package server
import (
pb "github.com/PomeloCloud/BFTRaft4go/proto/server"
"github.com/PomeloCloud/BFTRaft4go/utils"
"github.com/dgraph-io/badger"
"github.com/golang/protobuf/proto"
"log"
"strconv"
)
func GetGroupPeersFromKV(txn *badger.Txn, group uint64) map[uint64]*pb.Peer {
peers := map[uint64]*pb.Peer{}
... |
<!-- BEGIN MUNGE: UNVERSIONED_WARNING -->
<!-- END MUNGE: UNVERSIONED_WARNING -->
# Admission Controllers
**Table of Contents**
<!-- BEGIN MUNGE: GENERATED_TOC -->
- [Admission Controllers](#admission-controllers)
- [What are they?](#what-are-they)
- [Why do I need them?](#why-do-i-need-them)
- [How do I tur... |
class BrowserContextKeyedServiceFactory;
namespace content {
class BrowserContext;
} // namespace content
namespace arc {
class ArcBridgeService;
class ArcSmartCardManagerBridge : public KeyedService,
public mojom::SmartCardManagerHost {
public:
// Returns singleton instance ... |
<?php
use yii\helpers\Html;
/* @var $this yii\web\View */
/* @var $model backend\modules\airexport\models\Quotationdetail */
$this->title = 'Update Quotationdetail: ' . ' ' . $model->quotationdetid;
$this->params['breadcrumbs'][] = ['label' => 'Quotationdetails', 'url' => ['index']];
$this->params['breadcrumbs'][] =... |
<html>
<head>
<title>User agent detail - Mozilla/5.0 (iPhone; CPU iPhone OS 7_1_2 like Mac OS X) AppleWebKit/537.51.2 (KHTML, like Gecko) Version/7.0 Mobile/11D257 Safari/9537.53</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.97.3/css/materialize.min.css">
... |
"""
PySCeS - Python Simulator for Cellular Systems (http://pysces.sourceforge.net)
Copyright (C) 2004-2020 B.G. Olivier, J.M. Rohwer, J.-H.S Hofmeyr all rights reserved,
Brett G. Olivier (bgoli@users.sourceforge.net)
Triple-J Group for Molecular Cell Physiology
Stellenbosch University, South Africa.
Permission to us... |
package function_test
import (
"errors"
"testing"
_ "github.com/apex/apex/plugins/env"
_ "github.com/apex/apex/plugins/golang"
_ "github.com/apex/apex/plugins/hooks"
_ "github.com/apex/apex/plugins/inference"
_ "github.com/apex/apex/plugins/nodejs"
_ "github.com/apex/apex/plugins/python"
_ "github.com/apex/a... |
//===--- MicrosoftMangle.cpp - Microsoft Visual C++ Name Mangling ---------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... |
TabLabel::TabLabel(QWidget* parent = 0, QSettings* palette = 0) : QLabel(parent)
{
this->palette = palette;
this->isActive = false;
}
void TabLabel::paintEvent(QPaintEvent* event)
{
QLabel::paintEvent(event);
QColor color(Qt::white);
if (isActive)
{
if (!palette->value("TitleBar/Fulltab... |
require 'rubygems'
require 'active_support'
require 'yaml'
require 'rest'
$:.unshift File.expand_path('../../../../lib', __FILE__)
require 'broach'
Broach.settings = YAML.load_file(File.expand_path('../../../../settings.yml', __FILE__))
Broach.speak(Broach.session.room, "Hi!") |
```
A utility to perform dictionary attacks against the VoIP SIP Register hash (MD5)
```
## Handshake w/ Authentication
```
Step 1. The User Agent Client (UAC) initiates a request to Register with the User Agent Server (UAS)
Step 2. The UAS responds with a 401 including a WWW-Authenticate header
Step 3. The UAC respon... |
<?xml version="1.0" encoding="UTF-8"?>
<Response
xmlns="urn:oasis:names:tc:xacml:1.0:context"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="urn:oasis:names:tc:xacml:1.0:context
cs-xacml-schema-context-01.xsd">
<Result>
<Decision>Deny</Decision>
<... |
autoreconf -vfi
if [ "$NOCONFIGURE" = 1 ]; then
echo "Done. configure skipped."
exit 0;
fi
exec ./configure "$@"
|
<!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... |
<?xml version="1.0" encoding="utf-8"?><!--
~ Copyright 2016 "Henry Tao <hi@henrytao.me>"
~
~ 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/L... |
table_BASE *otfcc_readBASE(const otfcc_Packet packet, const otfcc_Options *options);
void otfcc_dumpBASE(const table_BASE *base, json_value *root, const otfcc_Options *options);
table_BASE *otfcc_parseBASE(const json_value *root, const otfcc_Options *options);
caryll_Buffer *otfcc_buildBASE(const table_BASE *base, cons... |
#include "Areas.h"
#include "AreaChange.h"
#include "BranchHistory.h"
#include "ConditionalLikelihood.h"
#include "GeoCoords.h"
#include "MbRandom.h"
#include "Model.h"
#include "Msg.h"
#include "Node.h"
#include "Settings.h"
#include "TransitionProbability.h"
#include "Tree.h"
#include <iomanip>
#include <iostream>
#i... |
/*================================================================
=> Controller = About
==================================================================*/
/*global app*/
app.controller('AboutCtrl', ['$scope', '$rootScope', function ($scope, $rootScope) {
'use strict';
$rootScope.titleHead... |