text stringlengths 3 1.05M |
|---|
using System;
using Thinktecture.AuthorizationServer.Interfaces;
using Thinktecture.AuthorizationServer.Models;
namespace Thinktecture.AuthorizationServer.Test
{
class TestTokenHandleManager : ITokenHandleManager
{
string _clientId;
string _redirectUri;
string _id;
bool _expire... |
package org.medicmobile.repository;
import java.util.List;
import org.joda.time.DateTime;
import org.medicmobile.model.InboundSMSAdditional;
// : Auto-generated Javadoc
/**
* The Interface InboundSMSAdditionalRepository.
*/
public interface InboundSMSAdditionalRepository {
/**
* Message... |
var cc_activate_flags = [];
function activate_cc_m2() {
jQuery('[name$="_address][postcode]"]').each(function(index, elem) {
if (jQuery(elem).data('cc_attach') != '1' && !jQuery(elem).prop('disabled')) {
jQuery(elem).data('cc_attach', '1');
var form = jQuery(elem).closest('fieldset');
var tmp_html = '<div... |
<?xml version="1.0" encoding="utf-8"?>
<!-- generator="Joomla! - Open Source Content Management" -->
<?xml-stylesheet href="http://waterboard.lk/web/plugins/system/osolcaptcha/osolCaptcha/captchaStyle.css" type="text/css"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>முகப்பு</title>... |
const path = require('path');
module.exports = {
extends: [path.resolve(require.resolve('eslint-config-prettier'))],
rules: {
curly: 'error'
}
};
|
module.exports = {
path: 'full-width',
getComponent(nextState, cb) {
require.ensure([], (require) => {
cb(null, require('./components/FullWidth'));
});
}
};
|
extern "C" {
#endif
typedef unsigned int vcx_error_t;
typedef unsigned int vcx_schema_handle_t;
typedef unsigned int vcx_credentialdef_handle_t;
typedef unsigned int vcx_issuer_credential_handle_t;
typedef unsigned int vcx_disclosed_proof_handle_t;
typedef unsigned int vcx_connection_handle_t;
typedef unsigned int vcx... |
package main
import "fmt"
func main() {
fmt.Println("go")
}
|
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<head>
<title>DBC culture, My 2nd Blog</title>
<link href="../bootstrap-3.3.5-dist/css/bootstrap.min.css" rel="style... |
package org.openkilda.wfm.topology.floodlightrouter;
public enum TickId {
}
|
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
var _createClass = (function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (... |
.class public Landroid/drm/DrmInfoEvent;
.super Landroid/drm/DrmEvent;
.source "DrmInfoEvent.java"
# static fields
.field public static final TYPE_ACCOUNT_ALREADY_REGISTERED:I = 0x5
.field public static final TYPE_ALREADY_REGISTERED_BY_ANOTHER_ACCOUNT:I = 0x1
.field public static final TYPE_REMOVE_RIGHTS:I = 0x2
.... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null |
<!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... |
@implementation UIPlaceholderTextView
-(instancetype)initWithFrame:(CGRect)frame
{
if (self=[super initWithFrame:frame]) {
[self awakeFromNib];
}
return self;
}
-(void)awakeFromNib
{
[super awakeFromNib];
[self addObserver];
}
#pragma mark 注册通知
-(void)addObserver
{
[[NSNotif... |
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.DataTable = void 0;
var _classnames = _interopRequireDefault(require("classnames"));
var _propTypes = _interopRequireDefault(require("prop-types"));
var _react = _interopRequireWildcard(require("react"));
var _Paginator = requir... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>buchberger: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.... |
require 'rubygems'
require 'rake'
require 'cucumber'
require 'cucumber/rake/task'
desc "Print version"
task :info do
puts "Print tasks version"
end
namespace :dir do
OUTPUT_DIR = "output"
LOG_FILE = "logfile.txt"
desc "Create directories"
task :create => :clean do
puts "task create directories"
... |
@media only screen and (max-width: 768px) {
/* don’t require a minimum width for files table */
#body-user #filestable {
min-width: initial !important;
}
/* do not show Deleted Files on mobile, not optimized yet and button too long */
#controls #trash {
display: none;
}
/* hide size and date columns */
table th#he... |
<def-group>
<definition class="compliance" id="accounts_password_warn_age_login_defs" version="3">
<metadata>
<title>Set Password Expiration Parameters</title>
<affected family="unix">
<platform>Red Hat Enterprise Linux 6</platform>
<platform>Red Hat Enterprise Linux 7</platform>
... |
<!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_95) on Sat Apr 09 08:38:34 CEST 2016 -->
<title>XSLTLogger (Apache Ant API)</title>
<meta name="date" content="2016-04-09">
<link rel="... |
vindinium-bot
=============
Pretty simple and dumb bot for http://www.vindinium.org challenge
|
module Elements
class Element < ActiveRecord::Base
include ::Elements::ElementMethods
end
end
# Load all elements
::Elements::Types.reload! if ::Elements::Element.table_exists?
|
package view.tabs.enrolment;
import java.awt.Color;
import java.util.Collection;
import java.util.Vector;
import javax.swing.BorderFactory;
import javax.swing.JScrollPane;
import javax.swing.JTable;
import javax.swing.table.DefaultTableModel;
import model.StudentRecordSystem;
import model.enrolments.Enrolment;
impor... |
<?php
App::uses('AppController', 'Controller');
class AnimationsController extends AppController {
public $name = 'Animations';
public $helpers = array('Html', 'Session');
var $uses = array('Deviceprofile');
public function beforeFilter()
{
parent::beforeFilter();
$this->Auth->allow('getHistoryByDat... |
#include "precompiled_headers.hpp"
#include "startup_config.hpp"
#include "logging.hpp"
#include "flua.hpp"
unordered_map<string, string> StartupConfig::stringMap;
unordered_map<string, bool> StartupConfig::boolMap;
unordered_map<string, double> StartupConfig::doubleMap;
unordered_map<string, vector<string> > Sta... |
#pragma once
#include <queue>
#include <functional>
#include <condition_variable>
#include <thread>
#include "non_copyable.h"
namespace rrc {
template <class T>
class async_worker
: private non_copyable {
public:
async_worker()
: m_finished(true) {}
async_wor... |
layout: single
date: 2013-09-03 14:12
last_modified_at: 2017-07-01 15:20
permalink: /casting/mona-lisa/
title: "Mona Lisa's Smile"
tagline: "Mona Lisa's Smile"
excerpt: "A casting call for women with a secret."
category: [casting, work, projects]
tags: [casting call, photography, mona lisa's smile, projects]
header:
... |
(function() {
'use strict';
angular
.module('wordsearchApp')
.factory('errorHandlerInterceptor', errorHandlerInterceptor);
errorHandlerInterceptor.$inject = ['$q', '$rootScope'];
function errorHandlerInterceptor ($q, $rootScope) {
var service = {
responseError: res... |
<html><body>
<style>
body, h1, h2, h3, div, span, p, pre, a {
margin: 0;
padding: 0;
border: 0;
font-weight: inherit;
font-style: inherit;
font-size: 100%;
font-family: inherit;
vertical-align: baseline;
}
body {
font-size: 13px;
padding: 1em;
}
h1 {
font-size: 26px;
margin-bottom: 1em;
}
h2... |
<?php
require '../vendor/autoload.php';
session_start();
$provider = new Alcohol\OAuth2\Client\Provider\EveOnline([
'clientId' => '{client-id}',
'clientSecret' => '{client-secret}',
'redirectUri' => 'https://example.com/callback-url',
// the following are optional and displayed here with their defa... |
package com.lrother.accs.impl;
import org.apache.commons.lang3.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.crypto.bcrypt.BCrypt;
import org.springframework.transaction.annotation.Transactional;
import com.lrother.accs.AccountOwnerService;
import com.... |
<?php
use Symfony\Component\HttpFoundation\Request;
// If you don't want to setup permissions the proper way, just uncomment the following PHP line
// read http://symfony.com/doc/current/book/installation.html#configuration-and-setup for more information
umask(0000);
// This check prevents access to debug front cont... |
class AddAttachmentPictureToItems < ActiveRecord::Migration
def self.up
change_table :items do |t|
t.attachment :picture
end
end
def self.down
remove_attachment :items, :picture
end
end
|
package com.amazonaws.services.rds.model;
import java.io.Serializable;
import javax.annotation.Generated;
/**
* <p>
* The status of the DB parameter group.
* </p>
* <p>
* This data type is used as a response element in the following actions:
* </p>
* <ul>
* <li>
* <p>
* <code>CreateDBInstance</code>
* </p... |
package reactor.pipe;
import org.junit.Test;
import reactor.pipe.key.Key;
import reactor.pipe.registry.ConcurrentRegistry;
import reactor.pipe.registry.Registration;
import java.util.Collections;
import java.util.concurrent.CountDownLatch;
import java.util.concurrent.TimeUnit;
import java.util.function.Consumer;
imp... |
<?xml version="1.0"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.pentaho</groupId>
<a... |
<?php
namespace TinCan;
class Agent implements VersionableInterface, StatementTargetInterface, ComparableInterface
{
use ArraySetterTrait, FromJSONTrait;
protected $objectType = 'Agent';
protected $name;
protected $mbox;
protected $mbox_sha1sum;
protected $openid;
protected $account;
... |
var toGeoJson = require('togeojson'),
jsdom = require("jsdom").jsdom,
thisContext,
kmlLengthCap = 20000000; // Appx 20MB
var exports = {
init: function(context){
thisContext = context;
},
/**
* Converts a string of KML to GeoJSON
*
* TODO: Change this over to utilize a ... |
class Enrollment < ActiveRecord::Base
belongs_to :section
belongs_to :student, class_name: :User
# belongs_to :course
belongs_to :department
def pluck_dept
self.section.code
end
end
|
package org.apache.river.test.impl.mercury;
import java.util.logging.Level;
import java.rmi.RemoteException;
import java.rmi.NoSuchObjectException;
import java.rmi.ServerException;
import net.jini.event.MailboxPullRegistration;
import net.jini.event.PullEventMailbox;
import net.jini.core.lease.Lease;
import net.jin... |
using Ethereum::KeyGenerator;
BOOST_AUTO_TEST_SUITE(SharedSecretTest)
BOOST_AUTO_TEST_CASE(generate)
{
Ethereum::KeyGenerator generator;
Ethereum::KeyPair scan = generator.generate();
Ethereum::KeyPair ephemeral = generator.generate();
Ethereum::Stealth::SharedSecretFactory secretFactory;
Ethe... |
// RobotBuilder Version: 1.5
//
// This file was generated by RobotBuilder. It contains sections of
// code that are automatically generated and assigned by robotbuilder.
// These sections will be updated in the future when you export to
// Java from RobotBuilder. Do not put any code or make any change in
// the ... |
"use strict";
let Events = require("./events");
let chai = require("chai");
let expect = chai.expect;
describe("OpenFDAEvents", function() {
describe("buildUrl", function() {
it("buildUrl should return the correct path", function() {
var service = new Events({
path: ""
... |
using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
namespace pr1
{
public partial class MusicdropMaster : System.Web.UI.MasterPage
{
List<string> searchTypes = new List<string> {"Title","Artist","Label","Year"};
protected void Page_Load(object sender, EventAr... |
"""The application module, containing the application factory function."""
from flask import Flask
from flask_restful import Api
from wonk import settings
from wonk.resources.v1 import auth
def create_app(config_name):
"""An application factory, as explained here:
http://flask.pocoo.org/docs/patterns/appfacto... |
import os
import io
import unittest
import json
from . import molecularsequence
from .fhirdate import FHIRDate
class MolecularSequenceTests(unittest.TestCase):
def instantiate_from(self, filename):
datadir = os.environ.get('FHIR_UNITTEST_DATADIR') or ''
with io.open(os.path.join(datadir, filename)... |
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/detail_bgColor" >
<com.youno.view.TitleBarView
android:id="@+id/title_bar"
... |
@interface MAGTapRentgen : NSObject
+ (instancetype)sharedInstance;
@property (nonatomic, readonly) BOOL active;
- (void)start;
- (void)stop;
@end
|
/* Desc: A laser sensor using OpenGL
* Author: Mihai Emanuel Dolha
* Date: 29 March 2012
*/
#include <dirent.h>
#include <sstream>
#include "sdf/sdf.hh"
#include "rendering/ogre_gazebo.h"
#include "rendering/RTShaderSystem.hh"
#include "common/Events.hh"
#include "common/Console.hh"
#include "common/Exception.h... |
#define TARGET_PAGE_SIZE 4096
#define ZMAGIC_DISK_BLOCK_SIZE 1024
#define SEGMENT_SIZE TARGET_PAGE_SIZE
#define TEXT_START_ADDR 0x0
#define N_SHARED_LIB(x) 0
#define MACHTYPE_OK(mtype) ((mtype) == M_68020 || (mtype) == M_UNKNOWN)
#include "bfd.h"
#include "sysdep.h"
#include "libbfd.h"
#include "aout/aout64.h"
#inc... |
<!doctype html>
<title>System Provisioning Dashboard</title>
<link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='style.css') }}">
<div class="page">
{% block body %}{% endblock %}
</div>
|
package org.elasticsearch.common.io.stream;
import org.elasticsearch.Version;
import org.elasticsearch.common.Nullable;
import org.elasticsearch.common.bytes.BytesReference;
import org.elasticsearch.common.text.Text;
import java.io.IOException;
/**
*/
public class AdapterStreamOutput extends StreamOutput {
p... |
package org.jboss.shrinkwrap.portal.impl.container;
import org.jboss.shrinkwrap.api.Archive;
import org.jboss.shrinkwrap.api.asset.Asset;
import org.jboss.shrinkwrap.api.asset.ClassLoaderAsset;
import org.jboss.shrinkwrap.api.asset.FileAsset;
import org.jboss.shrinkwrap.api.asset.UrlAsset;
import org.jboss.shrinkwrap.... |
import unittest
import pydoop
pp = pydoop.import_version_specific_module('_pipes')
from pydoop.pipes import InputSplit
example_input_splits = [
('\x00/hdfs://localhost:9000/user/zag/in-dir/FGCS-1.ps\x00\x00\x00\x00\x00\x08h(\x00\x00\x00\x00\x00\x08h\x05',
'hdfs://localhost:9000/user/zag/in-dir/FGCS-1.ps',
550... |
<?xml version="1.0" encoding="UTF-8"?>
<ivy-module version="2.0" xmlns:m="http://ant.apache.org/ivy/maven">
<info organisation="org.apache.ant"
module="ant"
revision="1.7.1"
status="release"
publication="20080709160458"
>
<description homepage="">
Apache Ant
</description>
<m:maven.plugins>org.apache.... |
package org.datavec.api.split;
import java.io.InputStream;
import java.io.OutputStream;
import java.net.URI;
import java.util.Collections;
import java.util.Iterator;
/**
* String split used for single line inputs
* @author Adam Gibson
*/
public class StringSplit implements InputSplit {
private String data;
... |
namespace Remotus.Web.Areas.HelpPage
{
/// <summary>
/// Indicates whether the sample is used for request or response
/// </summary>
public enum SampleDirection
{
Request = 0,
Response
}
} |
class SessionService;
class Profile;
class PageActionsSessionHelper : public page_actions::Service::Observer {
public:
PageActionsSessionHelper(SessionService* session_service);
~PageActionsSessionHelper() override;
PageActionsSessionHelper(const PageActionsSessionHelper& other) = delete;
PageActionsSessionHe... |
package eu.rampsoftware.er.viewmodel.currencies;
import android.databinding.BaseObservable;
import android.databinding.Bindable;
import java.util.Locale;
import eu.rampsoftware.er.BR;
import eu.rampsoftware.er.navigation.Navigator;
import static com.fernandocejas.arrow.checks.Preconditions.checkNotNull;
public cla... |
/* *
*
* !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
*
* */
'use strict';
import Annotation from '../annotations.src.js';
import H from '../../parts/Globals.js';
import MockPoint from '../MockPoint.js';
import U from '../../parts/Utilities.js';
var merge = U.merge;
var InfinityLine = A... |
<assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0 http://maven.apache.org/xsd/assembly-1.1.0.xsd">
<id>src</id>
... |
declare interface IOrganizationChartWebPartStrings {
errorMessage: string;
PropertyPaneDescription: string;
BasicGroupName: string;
DescriptionFieldLabel: string;
}
declare module 'OrganizationChartWebPartStrings' {
const strings: IOrganizationChartWebPartStrings;
export = strings;
}
|
package org.apache.storm.messaging.netty;
import java.io.IOException;
import java.util.Arrays;
import java.util.HashSet;
import java.util.Set;
import java.util.concurrent.atomic.AtomicInteger;
import org.apache.storm.shade.io.netty.channel.Channel;
import org.apache.storm.shade.io.netty.channel.ChannelHandlerContext... |
DUET-MATLAB
===========
#DUET Algorithm on MATLAB.
##This is a simulation of DUET Algorithm on MATLAB.
* Although the inverse STFT function doesn't work properly, the rest of it works totally fine.
* Fixed by moving the line: row=zeros(1,length(x1)+2*windowsize);
===========
Lucas Bernalte Pérez
|
package org.apache.batik.bridge;
import org.w3c.dom.*;
/**
* If this script is loaded by jarCheckLoad.svg, it will mark
* the test result as passed.
*
* @author <a href="mailto:vhardy@apache.org">Vincent Hardy</a>
* @version $Id$
*/
public class IWasLoadedToo implements ScriptHandler {
public void run(final... |
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package de.uni.freiburg.iig.telematik.sepia.graphic.container;
import de.invation.code.toval.debug.SimpleDebugger;
import de.uni.freib... |
"""
Perspective Broker
\"This isn\'t a professional opinion, but it's probably got enough
internet to kill you.\" --glyph
Introduction
============
This is a broker for proxies for and copies of objects. It provides a
translucent interface layer to those proxies.
The protocol is not opaque, because it provides obj... |
import React, { useState, useCallback, useEffect } from 'react';
import { Button, ButtonTransparent } from '../../Button';
import { Label, InputText } from '../../Form';
import { useTranslation } from '../../utils';
import { VisuallyHidden } from '../../VisuallyHidden';
import { Dialog, DialogLayout } from '..';
export... |
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
Trans. Mycol. Soc. Japan 4(4): 91 (1963)
#### Original name
Polyporus obductus Berk., 1845
### Remarks
null |
if (typeof skeeks == "undefined" || !skeeks) {
var skeeks = {};
}
skeeks.ckEditorWidget = (function ($) {
var pub = {
registerOnChangeHandler: function (id) {
CKEDITOR && CKEDITOR.instances[id] && CKEDITOR.instances[id].on('change', function () {
CKEDITOR.instances[id].upd... |
// Copyright 2016 Google Inc. All Rights Reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE
'use strict';
const PWMetrics = require('../lib');
const runOptions = require('./fixtures/run-options');
const dataMocks = require('./fixtures/mocks');
/* eslint-env mocha */
/* eslint-disable no-unused-e... |
UPDATE address a JOIN addresses ads ON ads.id=a.idx SET a.state=(SELECT abbreviation FROM states ss JOIN addresses ads2 ON ads2.state_id=ss.id WHERE ads2.id=ads.id);
-- now drop the SYS1.0 tables
SET foreign_key_checks = 0;
DROP TABLE IF EXISTS addresses;
DROP TABLE IF EXISTS asset_attachments;
DROP TABLE IF EXISTS a... |
var nge = require('test_new_global_env');
|
from parseJSONdata import parseData
# Edit Here
negativeFileName = 'tw_neg_'
postiveFileName = 'tw_pos_'
neutralFileName = 'tw_neu_'
numNegativ = 5
numPositive = 1
numNeutral = 1
parseData(negativeFileName, postiveFileName, neutralFileName, numNegativ, numPositive, numNeutral) |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>aac-tactics: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min... |
<?xml version="1.0" encoding="UTF-8" ?>
<!-- Specify the refresh internal in seconds. -->
<Configuration monitorInterval="60">
<Appenders>
<Console name="console" target="SYSTEM_OUT">
<PatternLayout pattern="%d %p [%c] - <%m>%n"/>
</Console>
<RollingFile name="cas-managemen... |
package org.apache.spark.sql.catalyst.expressions
import java.nio.charset.StandardCharsets
import java.time.{Duration, Period}
import java.time.temporal.ChronoUnit
import com.google.common.math.LongMath
import org.apache.spark.SparkFunSuite
import org.apache.spark.sql.catalyst.InternalRow
import org.apache.spark.s... |
package org.apache.phoenix.mapreduce;
import java.io.IOException;
import java.sql.SQLException;
import java.util.List;
import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.hbase.TableName;
import org.apache.hadoop.hbase.client.Scan;
import org.apache.hadoop.hbase.util.Bytes;
import org.apache.hadoop... |
<?php
/**
* @file
* Contains \Drupal\views\Tests\Plugin\argument_default\RawTest.
*/
namespace Drupal\views\Tests\Plugin\argument_default;
use Drupal\Tests\UnitTestCase;
use Drupal\views\Plugin\views\argument_default\Raw;
use Symfony\Component\HttpFoundation\Request;
/**
* Tests the raw argument default plugin.... |
package org.elasticsearch.test.integration.validate;
import org.elasticsearch.action.admin.indices.validate.query.ValidateQueryResponse;
import org.elasticsearch.client.Client;
import org.elasticsearch.common.settings.ImmutableSettings;
import org.elasticsearch.common.unit.DistanceUnit;
import org.elasticsearch.comm... |
<?php
namespace Symfony\Bundle\FrameworkBundle\Tests\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\TemplateController;
use Symfony\Bundle\FrameworkBundle\Templating\EngineInterface;
use Symfony\Bundle\FrameworkBundle\Tests\TestCase;
/**
* @author Kévin Dunglas <dunglas@gmail.com>
*/
class TemplateCon... |
layout: post
title: "Lake Michigan King Salmon"
modified:
categories: [fishing]
tags: [fishing, trolling, salmon, trout, wisconsin, michigan]
published: True
comments: True
ads: True
image:
feature: 2017-king-salmon.jpg
teaser: 2017-king-salmon.jpg
thumb:
date: 2017-06-29T09:36:13-05:00
---
Four guys from Minnes... |
package uk.jamierocks.canary.gplugins;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* An annotation used for marking gplugins.
*/
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
pu... |
class Pic
attr_reader(:title, :website)
# Takes two strings, the title of the picture and the URL to its
# website.
def initialize(title, website)
@title = title
@website = website
end
# Download a picture to a file
def download(save_path)
page = Nokogi... |
name: Question - Support
about: Do you have a problem setting up or using shlink?
labels: question
---
<!--
Before opening an issue, just take into account that this is a completely free of charge and open source project.
I'm always happy to help and provide support, but some understanding will be expected.
I do this ... |
// json2html.js 2.2.2
// https://www.json2html.com
// (c) 2006-2022 Crystalline Technologies
// json2html may be freely distributed under the MIT license.
(function() {
"use strict";
// Baseline setup
// --------------
// Establish the root object, `window` (`self`) in the browser, `global`
//... |
package main
import (
"fmt"
"log"
"net/http"
"time"
)
type EventServer struct {
notifier chan []byte
accept chan chan []byte
closing chan chan []byte
clients map[chan []byte]bool
}
func NewEventServer() (server *EventServer) {
server = &EventServer{
notifier: make(chan []byte, 1),
accept: make(cha... |
<?php
/**
* Created by PhpStorm.
* User: KevinSup
* Date: 01/02/2016
* Time: 09:16
*/
namespace Joli\BlogBundle\Controller;
use Joli\BlogBundle\Entity\Post;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
use Sensio\Bundle\FrameworkExtraBundle... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
<meta name="author" content="">
<title>George Phalen Web Development <... |
template <class K>
void test()
{
typedef typename K::Plane_3 Plane;
typedef typename K::Point_3 Point;
typedef CGAL::Polyhedron_3<K> Polyhedron_3;
// generates supporting planes of the facets o... |
ActiveRecord::Schema.define(version: 20140806143246) do
create_table "mechanize_store_flags", force: true do |t|
t.string "name"
t.datetime "created_at"
t.datetime "updated_at"
end
create_table "mechanize_store_freights", force: true do |t|
t.float "value"
t.string "service"
t.int... |
<?php
global $user;
echo "<div id=\"node-" . $node->nid . "\" class=\"node " . $node->type;
if ($sticky) { echo ' sticky'; }
if (!$status) { echo ' node-unpublished'; }
if ($node->field_sidebar1[0]['view'] || $node->field_sidebar2[0]['view']){ echo ' right-sidebar'; }
echo "\">\n";
echo $content. "\n";
if (!$user->uid... |
#pragma once
#include "UEPySDropTarget.h"
#if WITH_EDITOR
#include "Editor/EditorWidgets/Public/SAssetDropTarget.h"
extern PyTypeObject ue_PySAssetDropTargetType;
typedef struct {
ue_PySDropTarget s_drop_target;
/* Type-specific fields go here. */
} ue_PySAssetDropTarget;
void ue_python_init_sasset_drop_target(... |
namespace ts
{
String_Value::String_Value(std::shared_ptr<IString_Type const> type)
: Value_Template_EP<String_Traits>(type)
{
}
Result<void> String_Value::construct(IInitializer_List const& initializer_list)
{
if (is_constructed())
{
TS_ASSERT(false);
return Error("Already constructed val... |
require 'fluent/output'
require 'fluent/plugin/kafka_plugin_util'
class Fluent::KafkaOutput < Fluent::Output
Fluent::Plugin.register_output('kafka', self)
config_param :brokers, :string, :default => 'localhost:9092',
:desc => <<-DESC
Set brokers directly
<broker1_host>:<broker1_port>,<broker2_host>... |
module Requests
module Aeon
# for Aeon Related Bibliographic Helpers
extend ActiveSupport::Concern
# for use with only non-alma thesis records
def aeon_mapped_params
params = {
Action: '10',
Form: '21',
ItemTitle: aeon_title.truncate(247),
ItemAuthor: author,
... |
import {Utils as _} from "../utils";
import {MasterSlaveService} from "../masterSlaveService";
import {GridOptionsWrapper} from "../gridOptionsWrapper";
import {ColumnController} from "../columnController/columnController";
import {RowRenderer, RefreshViewParams} from "../rendering/rowRenderer";
import {FloatingRowMode... |
// Copyright 2016-present the Material Components for iOS 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
//... |
export enum GestureRecognitionState {
POSSIBLE = 'possible',
BEGAN = 'began',
CHANGED = 'changed',
ENDED = 'ended',
RECOGNIZED = 'ended',
CANCELLED = 'cancelled',
FAILED = 'failed',
};
export default GestureRecognitionState;
|