text stringlengths 3 1.05M |
|---|
<!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_112) on Fri Jun 16 09:55:15 MST 2017 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Interface org.wildf... |
'use strict';
const domino = require('domino');
const assert = require('./../../../utils/assert');
const extractHatnotesForMobileSections = require('./../../../../lib/transforms').extractHatnotesForMobileSections;
const extractHatnotesForMetadata = require('./../../../../lib/transforms').extractHatnotesForMetadata;
f... |
package es.bsc.autonomic.powermodeller.models;
import es.bsc.autonomic.powermodeller.DataSet;
import es.bsc.autonomic.powermodeller.PowerModelEstimator;
import es.bsc.autonomic.powermodeller.PowerModelGenerator;
import es.bsc.autonomic.powermodeller.ResourceModel;
import es.bsc.autonomic.powermodeller.configuration.... |
$env:JAVA_HOME="C:\Program Files\Java\jdk1.8.0"
$env:PYTHON="C:\Python27-x64"
$env:PATH="$($env:PYTHON);$($env:PYTHON)\Scripts;$($env:JAVA_HOME)\bin;$($env:PATH)"
$env:PATHEXT="$($env:PATHEXT);.PY"
$dep_dir="$($env:HOMEPATH)\deps"
$computerSystem = Get-CimInstance CIM_ComputerSystem
$computerCPU = Get-CimInstance CIM_... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>ext-lib: Not compatible</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" r... |
/* */
"format register";
export class DirtyChecker {
constructor(){
this.tracked = [];
this.checkDelay = 120;
}
addProperty(property){
var tracked = this.tracked;
tracked.push(property);
if(tracked.length === 1) {
this.scheduleDirtyCheck();
}
}
removeProperty(property){
var tracked = this.tra... |
set(CMAKE_DEPENDS_LANGUAGES
"CXX"
)
# The set of files for implicit dependencies of each language:
set(CMAKE_DEPENDS_CHECK_CXX
"/home/mike/catkin_ws/src/wrock/src/cloud_parser.cpp" "/home/mike/catkin_ws/build/wrock/CMakeFiles/cloud_parser.dir/src/cloud_parser.cpp.o"
)
set(CMAKE_CXX_COMPILER_ID "GNU")
# Preproc... |
require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')
describe Vote do
before(:each) do
@valid_attributes = {
:prompt_id => 1,
:voter_id => 1
}
end
it "should create a new instance given valid attributes" do
Vote.create!(@valid_attributes)
end
end |
@setlocal
@set node_name=ivanos
@rem Get the absolute path to the parent directory,
@rem which is assumed to be the node root.
@for /F "delims=" %%I in ("%~dp0..") do @set node_root=%%~fI
@set releases_dir=%node_root%\releases
@rem Parse ERTS version and release version from start_erl.data
@for /F "usebackq tokens=... |
<p align="center">
<img src="https://raw.githubusercontent.com/mgechev/ngrev/master/src/assets/icons/favicon.512x512.png" alt="ngrev" width="250">
</p>
Graphical tool for reverse engineering of Angular projects. It allows you to navigate in the structure of your application and observe the relationship between the d... |
package ramsdenj.yamlconfig;
import java.io.IOException;
import ramsdenj.yamlconfig.model.ConfigurationKeyNotFoundException;
import ramsdenj.yamlconfig.model.ConfigurationValueConversionException;
public interface YamlConfig {
public void refresh() throws IOException;
public String getSetting(String pat... |
<!DOCTYPE html>
<html ng-app="PhoneCat">
<head>
<title>Index page</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css">
<script ... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.19: https://docutils.sourceforge.io/" />
<meta name="viewport" content="width=device-width,initial-scale=1">
<meta http-e... |
/*
This file is part of the WebKit open source project.
This file has been generated by generate-bindings.pl. DO NOT MODIFY!
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation... |
#ifndef MAPOUTPUTBUFFER_H_
#define MAPOUTPUTBUFFER_H_
#include "mempool.h"
#include "Timer.h"
#include "Buffers.h"
#include "MapOutputSpec.h"
#include "IFile.h"
#include "PartitionIndex.h"
namespace NativeTask {
/**
* Memory Key-Value buffer pair with direct address content, so can be
* easily copied or dumped t... |
package hudson.util;
import java.io.FilterOutputStream;
import java.io.OutputStream;
import java.io.IOException;
/**
* Works like {@link FilterOutputStream} except its performance problem.
*
* @author Kohsuke Kawaguchi
*/
public abstract class DelegatingOutputStream extends OutputStream {
protected OutputStr... |
package org.spongepowered.api.scoreboard;
/**
* Represents a group or groups players to display something to.
*
* <p>Usages include nametags and death messages.</p>
*/
public interface Visibility {
/**
* Gets the name of this visibility.
*
* @return The name of this visibility
*/
Stri... |
package org.camunda.bpm.client.task;
/**
* <p>Interface for a custom implementation of the handler, which is invoked for each fetched and locked task</p>
*
* @author Tassilo Weidner
*/
@FunctionalInterface
public interface ExternalTaskHandler {
/**
* Has been executed for each fetched and locked task
*
... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<link rel="stylesheet" href="{{ url_for('static', filename='css/vendor/bootstrap/css/bootstrap.min.css') }}"/>
<link rel="stylesheet" href="{{ url_for('static', filename='css/flat-ui.min.css') }}">
<link rel="stylesheet" href="{{ url_for('st... |
'use strict';
/**
* @typedef {import('../types').PathDataCommand} PathDataCommand
*/
/**
* Encode plain SVG data string into Data URI string.
*
* @type {(str: string, type?: 'base64' | 'enc' | 'unenc') => string}
*/
exports.encodeSVGDatauri = (str, type) => {
var prefix = 'data:image/svg+xml';
if (!type || ... |
<?xml version="1.0" encoding="UTF-8"?>
<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.git... |
package com.trio.breakFast.sys.entity;
import com.alibaba.fastjson.annotation.JSONField;
import com.trio.breakFast.enums.Role;
import lombok.Data;
import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;
import org.springframework.format.annotation.DateTimeFormat;
import javax.p... |
<!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 (9) on Tue Sep 26 15:16:41 EDT 2017 -->
<title>BinaryService.Resolver (trellis-spi 0.1.2 API)</title>
<meta http-equiv="Content-Type" content="text/ht... |
require File.expand_path('../boot', __FILE__)
require 'rails/all'
if defined?(Bundler)
# If you precompile assets before deploying to production, use this line
Bundler.require(*Rails.groups(:assets => %w(development test)))
# If you want your assets lazily compiled in production, use this line
# Bundler.requi... |
using System;
using System.Linq.Expressions;
using System.Reflection;
namespace Naxis.Reflection
{
/// <summary>
/// 泛型属性访问
/// </summary>
/// <typeparam name="T"></typeparam>
public class FastProperty<T>
{
private Func<T, object> _getDelegate;
private Action<T, object> _setDel... |
function [meanRatios, stdRatios] = computeWeightRatios(ratioUpdateWoverW)
% computeWeightRatios - Compute Ratio of weight updates norm of weight
% vector norm for each layer
% INPUTS
% ratioUpdateWoverW: batchSize x NoLayers, matrix which contains the ratio
% of the norm of the weight updates over the norm of all the ... |
(function() {
(function($, window) {
var Plugin, attatchModules, getNS, pluginName, traceClasses;
pluginName = "module";
traceClasses = false;
getNS = function(namespaceStr) {
var currNSObj, i, splitNS, splitNSLength;
splitNS = namespaceStr.split(".");
currNSObj = window;
sp... |
package com.rasterfoundry.database
import doobie.implicits._
import org.scalatest._
class OrganizationFeatureDaoSpec
extends FunSuite
with Matchers
with DBTestConfig {
test("selection types") {
OrganizationFeatureDao.query.list
.transact(xa)
.unsafeRunSync
.length should be >= 0
... |
import Ember from 'ember';
function isEqualHelper(params) {
return params[0] === params[1];
}
var forExport = null;
if(typeof Ember.HTMLBars.makeBoundHelper === 'function') {
forExport = Ember.Helper.helper(isEqualHelper);
}else{
forExport = Ember.Handlebars.makeBoundHelper(isEqualHelper);
}
export default forE... |
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null |
require 'rails/generators/base_generator.rb'
class ListenerGenerator < MagLev::BaseGenerator
def create_context_file
create_file "app/serializers/#{class_name.underscore}_serializer.rb", <<-FILE
class #{class_name}Serializer < MagLev::Serializer
end
FILE
end
def create_spec_file
file_name = "spec/... |
<?php
namespace Codeburner\Router;
/**
* Codeburner Router Component.
*
* @author Alex Rohleder <alexrohleder96@outlook.com>
* @see https://github.com/codeburnerframework/router
*/
class Collection
{
const DINAMIC_REGEX = '\{\s*([a-zA-Z][a-zA-Z0-9_]*)\s*(?::\s*([^{}]*(?:\{(?-1)\}[^{}]*)*))?\}';
const ... |
package eu.socialedge.ddd.infrastructure.persistence.jpa.domain;
import eu.socialedge.ddd.domain.AggregateRoot;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import javax.persistence.Access;
import javax.persistence.AccessType;
import javax.persistence.Column;
import javax.... |
<!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_101) on Mon Apr 03 09:58:07 UTC 2017 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>org.kurento.jsonrpc... |
<html>
<head>
<title>User agent detail - Mozilla/5.0 (Linux; U; Android 4.2.2; uk-ua; Lenovo A516 Build/JDQ39) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safari/534.30</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.97.3/css/materialize.min.css">... |
using System;
namespace SageOne.Api.Invoicing
{
public class TaxType
{
public int ID { get; set; }
public string Name { get; set; }
public decimal Percentage { get; set; }
public bool IsDefault { get; set; }
public bool HasActivity { get; set; }
public bool IsMan... |
<!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_12-ea) on Fri Mar 29 10:37:21 MDT 2013 -->
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>Uses of Class co... |
class CreateBrowsers < ActiveRecord::Migration
def change
create_table :browsers do |t|
t.timestamps
end
end
end
|
goog.provide('shaka.player.DrmInfo');
goog.require('shaka.asserts');
goog.require('shaka.util.ArrayUtils');
goog.require('shaka.util.Uint8ArrayUtils');
/**
* Creates a DrmInfo, which represents a set of DRM configuration options.
* DrmInfo is an internal class, please see
* {@link shaka.player.DashVideoSource.... |
class AwardEmoji < ApplicationRecord
DOWNVOTE_NAME = "thumbsdown"
UPVOTE_NAME = "thumbsup"
include Participable
include GhostUser
belongs_to :awardable, polymorphic: true # rubocop:disable Cop/PolymorphicAssociations
belongs_to :user
validates :awardable, :user, presence: true
validates :name, pres... |
// Copyright (c) 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "services/proxy_resolver/proxy_resolver_v8_tracing.h"
#include <map>
#include <memory>
#include <set>
#include <string>
#include <utility>
#... |
package org.sfm.csv.impl;
import org.sfm.csv.*;
import org.sfm.csv.parser.CellConsumer;
import org.sfm.map.*;
import org.sfm.map.mapper.ColumnDefinitionProvider;
import org.sfm.map.mapper.MapperCache;
import org.sfm.map.mapper.MapperKey;
import org.sfm.reflect.meta.ClassMeta;
import org.sfm.utils.RowHandler;
import j... |
namespace blink {
namespace {
const char kNotImplementedString[] = "NotSupportedError: Method is not implemented.";
// A test implementation of the WebServiceWorkerCache interface which returns a (provided) error for every operation, and optionally checks arguments
// to methods against provided arguments. Also used... |
/*
Deployment script for ObservationsTest
This code was generated by a tool.
Changes to this file may cause incorrect behavior and will be lost if
the code is regenerated.
*/
GO
SET ANSI_NULLS, ANSI_PADDING, ANSI_WARNINGS, ARITHABORT, CONCAT_NULL_YIELDS_NULL, QUOTED_IDENTIFIER ON;
SET NUMERIC_ROUNDABORT OFF;
GO
:... |
---
layout : post
title : "Customize TCP initial RTO (retransmission timeout) with BPF"
date : 2021-04-28
lastupdate: 2022-08-27
categories: bpf tcp bpftool
---
# TL; DR
On initiating a new TCP connection (`connect()`),
the initial retransmission timeout (RTO) has been set as a
**<mark>harcoded value of 1... |
import ntpath
from re import compile
import pytest
from nerodia.exception import UnknownObjectException
pytestmark = pytest.mark.page('forms_with_input_elements.html')
class TestFileFieldExist(object):
def test_returns_true_if_the_file_field_exists(self, browser):
assert browser.file_field(id='new_user... |
package com.amazonaws.services.ec2.model.transform;
import javax.xml.stream.events.XMLEvent;
import javax.annotation.Generated;
import com.amazonaws.services.ec2.model.*;
import com.amazonaws.transform.Unmarshaller;
import com.amazonaws.transform.StaxUnmarshallerContext;
import com.amazonaws.transform.SimpleTypeSta... |
import React, {Component, PropTypes} from 'react';
import { Form, Table, Row, Button, Spin, message, Icon, Modal } from 'antd';
import SubListView from 'common/basic/components/subComponents/SubListView.js';
import TopicAddView from './TopicAddView';
import TopicInspectView from './TopicInspectView';
import TopicEdi... |
#include "rtc_base/sslstreamadapter.h"
#include "rtc_base/opensslstreamadapter.h"
///////////////////////////////////////////////////////////////////////////////
namespace rtc {
// TODO(guoweis): Move this to SDP layer and use int form internally.
// webrtc:5043.
const char CS_AES_CM_128_HMAC_SHA1_80[] = "AES_CM_... |
/**
* Test for the dispatcher.
*/
define([ 'qunit',
'framework/core/logger/array_logger',
'framework/core/logger/console_logger' ],
function(q, ArrayLogger, ConsoleLogger)
{
q.module('Core - logger/logger');
q.test('Can log to a pre-defined array.', function()
{
q.expect(3);
var logArray = [],
... |
// Dstl (c) Crown Copyright 2017
package uk.gov.dstl.baleen.uima;
import java.util.Map;
import org.apache.uima.fit.component.Resource_ImplBase;
import org.apache.uima.resource.ResourceInitializationException;
import org.apache.uima.resource.ResourceSpecifier;
import uk.gov.dstl.baleen.uima.utils.UimaUtils;
/**
* A... |
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using System.Security.Cryptography;
using Swashbuckle.AspNetCore.SwaggerGen;
using Microsoft.Extensions.Options;
using MediatR;
using BookFast.Booking.QueryStack;
using... |
<?xml version="1.0" encoding="utf-8"?>
<!-- We add a delay for the other fragment to slide out3 -->
<translate xmlns:android="http://schemas.android.com/apk/res/android"
android:duration="@android:integer/config_longAnimTime"
android:fromYDelta="-100%"
android:interpolator="@android:anim/decelerate_interpo... |
package com.github.hexosse.adminsignshop.commands;
import com.github.hexosse.adminsignshop.AdminSignShop;
import com.github.hexosse.adminsignshop.configuration.Permissions;
import com.github.hexosse.adminsignshop.shop.Creator;
import com.github.hexosse.pluginframework.pluginapi.PluginCommand;
import com.github.hexos... |
package com.google.ads.googleads.v12.common;
public final class KeywordPlanCommonProto {
private KeywordPlanCommonProto() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistryLite registry) {
}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegi... |
// Copyright 2017 The Bazel Authors. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by appl... |
package dockerfile2llb
import (
"path"
"github.com/moby/buildkit/client/llb"
"github.com/moby/buildkit/frontend/dockerfile/instructions"
"github.com/moby/buildkit/frontend/dockerfile/parser"
"github.com/pkg/errors"
)
func dispatchSecret(d *dispatchState, m *instructions.Mount, loc []parser.Range) (llb.RunOption... |
'use strict';
angular.module('ngvoteApp')
.controller('AdminCtrl', function ($scope, $http, Auth, User) {
// Use the User $resource to fetch all users
$scope.users = User.query();
$scope.delete = function(user) {
User.remove({ id: user._id });
angular.forEach($scope.users, function(u, i) {
... |
<?php
require_once('../includes/base.php');
require_once('../database/Funcionarios.php');
$mail = $_POST["email"];
$password = $_POST["pass"];
if (Funcionarios::existsUsernamePassword($mail, $password)) {
$_SESSION["s_messages"][] = 'Autenticação com sucesso';
$_SESSION["s_user_id"] =Funcionarios::getUserID($mai... |
A set of python scripts I use for home automation with my Amazon Echo.
The method used to control smart home devices is based on fauxmo found here:
https://github.com/makermusings/fauxmo
To control these devices, I followed the method described here:
http://www.makermusings.com/2015/07/13/amazon-echo-and-home-automat... |
package org.culturegraph.mf.stream.pipe;
import java.util.Map;
import java.util.SortedMap;
import java.util.TreeMap;
import org.culturegraph.mf.framework.DefaultStreamPipe;
import org.culturegraph.mf.framework.StreamReceiver;
import org.culturegraph.mf.framework.annotations.Description;
import org.culturegraph.mf.fr... |
export class ExtractPercent {
static transform(str, flag, space) {
let start = str.indexOf(flag) + space + 1,
end = str.indexOf('%');
return str.substring(start, end);
}
} |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Make a Deal | Jennifer Dewalt</title>
<link rel="stylesheet" href="css/make_a_deal.css">
<script src="js/analytics.js" type="text/javascript"></script>
<!--[if IE]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></scr... |
<!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... |
import _ from '_';
import ko from 'ko';
import { StorageResultType, Notification } from 'Common/Enums';
import { getNotificationFromResponse, i18n } from 'Common/Translator';
import Remote from 'Remote/User/Ajax';
import { getApp } from 'Helper/Apps/User';
import { command } from 'Knoin/Knoin';
class ChangePassword... |
<?xml version="1.0"?><Module xmlns="http://clafer.org/ir" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:cl="http://clafer.org/ir" xsi:schemaLocation="http://clafer.org/ir https://github.com/gsdlab/clafer/blob/master/src/ClaferIR.xsd"><Name></Name>
<Declaration xsi:type="cl:IClafer"><Position><Start><IntLi... |
<html>
<head>
<title>User agent detail - MOT-MOTOROLA C650</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.97.3/css/materialize.min.css">
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
</head>
<body>
<div cla... |
class GraphTableWidget : public QTableWidget
{
Q_OBJECT
public:
GraphTableWidget(QWidget*& qWidget) : QTableWidget(qWidget) {}
void updateRowsLabels();
protected:
void keyPressEvent(QKeyEvent *key);
private:
void handleAddingAndRemovingRows(QKeyEvent *key);
bool isEnterOrReturnKey(QKeyEvent ... |
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may no... |
<?php
namespace App\Http\Controllers\Admin;
use Illuminate\Http\Request;
use App\Http\Controllers\Controller;
class SettingController extends Controller
{
public function index()
{
$data = [];
return view('admin.user.settings', ['data' => $data]);
}
}
|
namespace gfx {
class Rect;
}
namespace views {
class WidgetDelegate;
}
namespace ash {
// A helper to keep track and manage bounds of a dialog window anchored to the
// search results app list page.
class SearchResultPageAnchoredDialog : public views::WidgetObserver,
public vi... |
{% extends "proceedings/proceedings_template.html" %}
{% block content %}
{% include "includes/proceeding_title.html" %}
<h2>IRTF Mission</h2>
<p><em>To promote research of importance to the evolution of the future Internet by
creating focused, long-term and small Research Groups working on topics related to
... |
import PropTypes from 'prop-types';
let PropType = {};
if (process.env.NODE_ENV !== 'production') {
PropType = {
size: PropTypes.oneOfType([
PropTypes.oneOf(['xsmall', 'small', 'medium', 'large', 'xlarge']),
PropTypes.string,
]),
color: PropTypes.oneOfType([
PropTypes.string,
Prop... |
import { Component, OnInit } from '@angular/core';
import { Router } from "@angular/router";
@Component({
selector: 'app-course-list',
templateUrl: './course-list.component.html',
styleUrls: ['./course-list.component.css']
})
export class CourseListComponent implements OnInit {
//private courses: Array<Course... |
package vk
import "fmt"
const _GroupType_name = "GroupOpenGroupClosedGroupPrivate"
var _GroupType_index = [...]uint8{0, 9, 20, 32}
func (i GroupType) String() string {
if i < 0 || i+1 >= GroupType(len(_GroupType_index)) {
return fmt.Sprintf("GroupType(%d)", i)
}
return _GroupType_name[_GroupType_index[i]:_Grou... |
set -e
cd $(dirname $0)
LAST_LOG=$(git log -1 --pretty=%B)
if [[ ${LAST_LOG} == "#release"* ]]; then
# Remove command commit, but allow it to dirty the workspace if it includes
# changes
git reset HEAD^
HAS_CHANGES=$(git status --porcelain | wc -l)
if [ "${HAS_CHANGES}" -ne "0" ]; then
echo "##########... |
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="chrome=1">
<title>Yaziris.github.io by Yaziris</title>
<link rel="stylesheet" href="stylesheets/styles.css">
<link rel="stylesheet" href="stylesheets/pygment_trac.css">
<script src="https://ajax.go... |
"""
Starts a service to scan in intervals for new devices.
Will emit EVENT_PLATFORM_DISCOVERED whenever a new service has been discovered.
Knows which components handle certain types, will make sure they are
loaded before the EVENT_PLATFORM_DISCOVERED is fired.
"""
import asyncio
import json
from datetime import time... |
This repo is no longer being maintained. Users are welcome to fork it, but we make no warranty of its functionality.
ctlc-docker-haproxy
==================
Base docker image to run a HAProxy with Serf
Usage
-----
To create the image `ctlc/haproxy`, execute the following command on the ctlc-docker-haproxy folder:
... |
/**
* Originally created for the angular-ui project
* https://github.com/angular-ui
*
* Angular UI Documentation (with modified interface):
* General-purpose Event binding. Bind any event not natively supported by Angular
* Pass an object with keynames for events to nag-event
* Allows $event object and $params o... |
@implementation XMLProcessor
- (BOOL)document:(TextDocument *)document textView:(NSTextView *)textView doCommandBySelector:(SEL)selector {
if (selector == @selector(toggleComment:)) {
NSBeep();
return NO;
}
return [super document:document textView:textView doCommandBySelector:selector];
}
- (void)syntaxHighl... |
using ppapi::V8ObjectVar;
using blink::WebCanvas;
using blink::WebPlugin;
using blink::WebPluginContainer;
using blink::WebPluginParams;
using blink::WebPoint;
using blink::WebPrintParams;
using blink::WebRect;
using blink::WebSize;
using blink::WebString;
using blink::WebURL;
using blink::WebVector;
namespace content... |
var implementation = require('./implementation.js')
, putMetricData = implementation.putMetricData
, getMetricStatistics = implementation.getMetricStatistics
, listMetrics = implementation.listMetrics
, transport = implementation.transport
, ISODateString = implementation.IS... |
{% extends "v9/layoutv9.html" %}
{% set title = "Tell us your email address" %}
{% block page_title %}
{{title}} - GOV.UK
{% endblock %}
{% block content %}
<main id="content" role="main">
<div class="phase-banner-beta">
<p>
<strong class="phase-tag">BETA</strong>
<span>This is an BETA prototy... |
import {customAttribute, bindable, inject} from 'aurelia-framework';
import {WidgetBase} from '../common/widget-base';
import {generateBindables} from '../common/decorators';
import 'kendo-ui/js/kendo.colorpicker.min';
@customAttribute('k-color-picker')
@generateBindables('kendoColorPicker')
@inject(Element)
export cl... |
package io.pipeline.prediction.tensorflow
import com.netflix.hystrix.HystrixCommand
import com.netflix.hystrix.HystrixCommandGroupKey
import com.netflix.hystrix.HystrixCommandKey
import com.netflix.hystrix.HystrixCommandProperties
import com.netflix.hystrix.HystrixThreadPoolKey
import com.netflix.hystrix.HystrixThread... |
<html>
<head>
<title>Example 07</title>
<script src="https://raw.github.com/timrwood/moment/2.0.0/min/moment.min.js" type="text/javascript" charset="utf-8"></script>
<script src="http://github.com/DmitryBaranovskiy/raphael/raw/master/raphael-min.js" type="text/javascript" charset="utf-8"></script>
<script src="... |
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ Licensed to the Apache Software Foundation (ASF) under one or more
~ contributor license agreements. See the NOTICE file distributed with
~ this work for additional information regarding copyright ownership.
~ The ASF licenses this file to You under the Apache Lice... |
#include "objc-private/common.h"
#include <stdlib.h>
#include "config.h"
#include "objc/runtime.h"
#include "objc/objc-exception.h"
#include "unwind.h"
#include "unwind-pe.h"
#include <string.h> /* For memcpy */
/* 'is_kind_of_exception_matcher' is our default exception matcher -
it determines if the object 'exce... |
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
Beitr. Kryptfl. Schweiz 11(no. 1): 146 (1954)
#### Original name
Ceratostoma caulincola Fuckel, 1870
### Remarks
null |
<?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>org.diirt</groupId>
... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
/*============================================================
**
** Header: COMSynchronizable.cpp
**
** Purpose: N... |
package org.wildfly.security.password.spec;
import java.io.Serializable;
import java.security.spec.AlgorithmParameterSpec;
/**
* Algorithm parameter specification for one-time password types.
*
* @author <a href="mailto:fjuma@redhat.com">Farah Juma</a>
*/
public final class OneTimePasswordAlgorithmSpec implemen... |
function onSay(cid, words, param)
local housePrice = configManager.getNumber(configKeys.HOUSE_PRICE)
if housePrice == -1 then
return true
end
local player = Player(cid)
if player:getPremiumDays() <= 0 then
player:sendCancelMessage("You need a premium account.")
return false
end
local position = player:ge... |
<AllProperties>
<DocUserPermissions></DocUserPermissions>
<BookmarkIds></BookmarkIds>
<GroupProperties></GroupProperties>
<VariableProperties>
<VariableProperties>
<Name>CD</Name>
<UseMRU>false</UseMRU>
<MRUCount>0</MRUCount>
<NumberPresentation></NumberPresentation>
<Constrai... |
{-# LANGUAGE OverloadedStrings #-}
module Config where
{-
import Control.Lens
import Control.Monad.State.Strict (runState)
import Data.Aeson (Value, decode)
import Data.Aeson.Lens (key)
import Data.Default ... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
package com.azure.data.cosmos;
import com.azure.data.cosmos.internal.HttpConstants;
import com.azure.data.cosmos.internal.RMResources;
import com.azure.data.cosmos.internal.directconnectivity.HttpUtils;
import com.azure.dat... |
namespace RosettaStone
{
//!
//! \brief SecretZone class.
//!
//! The zone containing all played secrets by this player. Can be empty.
//!
class SecretZone : public LimitedZone<Spell>
{
public:
//! Default constructor.
explicit SecretZone(Player* player);
//! Adds the specified entity into this zone, at t... |
class Site::ProfileController < SiteController
layout "profile"
end
|
var _log = require('../provider/lib/log');
_onDisconnect = {
evt : function()
{
_log.i("HOOK : onDisconnect");
}
};
module.exports = _onDisconnect;
|