text stringlengths 3 1.05M |
|---|
Select kepler_id, count(kepler_id)
From Planet
group by kepler_id
having count(kepler_id) > 1
order by count(kepler_id) desc
|
<div class="speakup">
<div id="footer">
<div class="container">
<div class="row">
<div class="spaced col-sm-3">
<h4>Speak Up Mzansi</h4>
<ul class="list-unstyled">
<li>
Building better conversations between citizens and their leaders.
</li>... |
package io.druid.query.aggregation.datasketches.theta;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.google.common.base.Preconditions;
import com.google.common.collect.Sets;
import com.yahoo.sketches.theta.Sketch;
import io.druid.query.aggregati... |
<div class="row lsv-team__office-header nomargin nopadding text-center">
<img class="lsv-vacancies__category-img" src="img\svg\vacancies_production.svg">
</div>
<div class="row nopadding nomargin">
<div id="owl-team-production-slider" class="owl-carousel owl-theme">
<div class="lsv-team__employee">
<div id... |
<!DOCTYPE html>
<html ng-app="myApp">
<head>
<title>Data Bank Chart-d3.js</title>
<!-- compiled CSS -->
<link rel="stylesheet" type="text/css" href="vendor/bootstrap/css/bootstrap.css" />
<link rel="stylesheet" type="text/css" href="vendor/bootstrap/css/bootstrap-theme.css" />
<link rel="stylesheet" type="tex... |
module Alertifyjs #:nodoc:
module Rails #:nodoc:
class Railtie < ::Rails::Railtie
config.before_configuration do
if config.action_view.javascript_expansions
config.action_view.javascript_expansions[:defaults] << 'alertify'
end
end
end
end
end |
/* Driver for Lexar "Jumpshot" Compact Flash reader
*
* $Id: jumpshot.c,v 1.7 2002/02/25 00:40:13 mdharm Exp $
*
* jumpshot driver v0.1:
*
* First release
*
* Current development and maintenance by:
* (c) 2000 Jimmie Mayfield (mayfield+usb@sackheads.org)
*
* Many thanks to Robert Baruch for the SanDisk S... |
// Page specific js code
/*global
msos: false,
jQuery: false
*/
msos.provide("apps.mediaelement.settings");
msos.require("msos.size");
msos.require("msos.i18n");
msos.require("msos.intl");
msos.onload_functions.push(
function () {
"use strict";
msos.console.info('Content: settings.html loaded!')... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>infotheo: 21 m 0 s 🏆</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" rel... |
<div class="sky_navbar" ng-controller="leftNavCtrl">
<list-menu></list-menu>
</div> |
package com.javachen.service.impl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import com.javachen.dao.UserDAO;
import com.javachen.entities.UserEntity;
import com.javachen.service.DAOService;
@Component("daoService")
public class DAOServi... |
from django.db import migrations
from corehq.apps.es.domains import DomainES
from corehq.elastic import send_to_elasticsearch
from corehq.util.django_migrations import skip_on_fresh_install
@skip_on_fresh_install
def fix_domain_es_docs(apps, schema_editor):
bool_props = ['cp_sms_ever', 'cp_sms_30_d', 'cp_j2me_90... |
<?xml version="1.0" encoding="UTF-8"?>
<Article xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ID="FOQ-F-VI-100-71" Theme1="industrie" Theme2="statistiques_et_controle" Theme3="production" NumMAJ="39" Numero="VI-100-71" dateCreation="2011-10-04" dateMAJ="2011-10-04" xsi:noNamespaceSchemaLocation="ofmArticles.xs... |
using CompareCloudware.Web;
using System;
using System.Runtime.CompilerServices;
using System.ComponentModel.DataAnnotations;
using CompareCloudware.Web.Models;
using System.Web.Mvc;
using System.Collections.Generic;
//using EntityFramework;
namespace CompareCloudware.Web.Models
{
public class CloudApplicationPr... |
<!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_67) on Sun Sep 07 15:29:26 CEST 2014 -->
<title>IsBootstrappingException (apache-cassandra API)</title>
<meta name="date" content="2014... |
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**checkout_only** | **bool** | | [optional]
**error** | [**\ultracart\v2\models\Error**](Error.md) | | [optional]
**filter** | [**\ultracart\v2\models\ScreenRecordingFilter**](ScreenRecordingFilter.md) | | [optional]
**... |
from airflow.utils.decorators import apply_defaults
from airflow.models import BaseOperator
from airflow.hooks.aws_sqs_hook3 import AwsSqsHook3
from airflow.exceptions import AirflowException
class SQSOperator3(BaseOperator):
@apply_defaults
def __init__(self,
messages = None,
... |
<meta charset="UTF-8" />
<title>{pyro:template:title} | {pyro:settings:site_name}</title>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.0/jquery.min.js"></script>
<script type="text/javascript">
$(document).ready(function() {
$('.archive ul, .blog_categories ul, .latest_posts u... |
<?php
/**
* @task mail Sending Mail
* @task feed Publishing Feed Stories
* @task search Search Index
* @task files Integration with Files
*/
abstract class PhabricatorApplicationTransactionEditor
extends PhabricatorEditor {
private $contentSource;
private $object;
private $xactions;
private $isNe... |
/**
* Construct a new yahoo.localsearch object
* @class
* @constructor
* @extends LilyObjectBase
*/
function $yahoodotlocalsearch()
{
var thisPtr=this;
var appid=LilyAPIKeyManager.getKey("yahooAPIkey");
if(!appid) return null; //fail if no key
var location = null;
var latitude = null;
var longitude = null... |
package transport
import (
"github.com/graphql-go/graphql"
"github.com/sogko/data-gov-sg-graphql-go/lib/schema/common"
"github.com/sogko/data-gov-sg-graphql-go/lib/schema/geojson"
)
var taxiAvailabiltyResultObject = graphql.NewObject(graphql.ObjectConfig{
Name: "TaxiAvailabilityResult",
Fields: graphql.Fields{
... |
require('coffee-script/register')
require('./index')
|
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Drawing.Drawing2D;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace Fetze.WinFormsColor
{
#pragma warning disable IDE0090 // Use 'new(...)'
public class ColorSlider : UserCont... |
import datetime
from sqlalchemy import and_
from grab.spider import Spider, Task
from schedule.models import Institute, Group, Teacher, Lesson, Time
from celery.utils.log import get_task_logger
WEEKDAYS = {
u'Пн': '1',
u'Вт': '2',
u'Ср': '3',
u'Чт': '4',
u'Пт': '5',
u'Сб': '6',
u'Нд': '7',... |
<?php
namespace Gaia\Souk;
class SearchOptions {
protected static $sort_options = array(
'low_price',
'high_price',
'expires_soon',
'expires_soon_delay',
'just_added',
);
protected static $only_options = array(
'buy',
'bid',
);
... |
// This code is auto-generated, do not modify
package com.spectralogic.ds3client.commands.parsers;
import com.spectralogic.ds3client.commands.parsers.interfaces.AbstractResponseParser;
import com.spectralogic.ds3client.commands.parsers.utils.ResponseParserUtils;
import com.spectralogic.ds3client.commands.spectrads3.... |
export default interface IShuffledElement<T> {
element: T;
shuffleIndex: number;
} |
public class BrowserException extends RuntimeException {
/**
*
*/
private static final long serialVersionUID = 1L;
public BrowserException() {
super();
}
public BrowserException(String s) {
super(s);
}
}
|
package space.gatt.GasaiBot.commands.Memes;
import de.btobastian.javacord.DiscordAPI;
import de.btobastian.javacord.entities.User;
import de.btobastian.javacord.entities.message.Message;
import space.gatt.GasaiBot.Main;
import space.gatt.JavacordCommander.annotations.*;
import java.io.File;
/**
* Created by Zach G ... |
from pyface.tasks.action.dock_pane_toggle_group import *
|
<?php
namespace {{App\}}Services\Traits;
trait HasRoles
{
/**
* Assign a role to the user
*
* @param string $roleName
* @param integer $userId
* @return void
*/
public function assignRole($roleName, $userId)
{
$role = $this->role->findByName($roleName);
$use... |
#include <vector>
#include <string>
#include <boost/bind.hpp>
#include <boost/assign.hpp>
#include <boost/foreach.hpp>
#include "http/http_server.h"
#include "http/http_request.h"
#include "http/http_session.h"
#include "base/contrail_ports.h"
#include "port_ipc/port_ipc_handler.h"
#include "cmn/agent.h"
#include "... |
class SudokuGrid : public ASudokuGrid<uint16_t>
{
public:
static uint16_t const AllPossibilities = 511;
public:
SudokuGrid(void);
SudokuGrid(uint16_t grid[9][9]);
SudokuGrid(SudokuGrid const &);
SudokuGrid &operator=(SudokuGrid &);
virtual ~SudokuGrid(void) {}
virtual bool operator==(ASudokuGrid const&... |
'use strict';
var documentBind = require('../../../plugins/tungsten-event-document');
describe('document_events', function() {
var elem, type, handler;
beforeEach(function() {
elem = document.createElement('div');
type = 'click';
handler = function() {};
});
afterEach(function() {
elem = undefi... |
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<title>Upload Files using XMLHttpRequest - Minimal</title>
<script type="text/javascript">
function fileSelected() {
var file = document.getElementById('fileToUpload').files[0];
if (file) {
var fileSize = 0;
... |
"""
Python 2.3 bytecode massaging.
This massages tokenized 2.3 bytecode to make it more amenable for
grammar parsing.
"""
import uncompyle6.scanners.scanner24 as scan
# bytecode verification, verify(), uses JUMP_OPs from here
from xdis.opcodes import opcode_23
JUMP_OPS = opcode_23.JUMP_OPS
# We base this off of 2.4... |
#pragma once
#include <CL/opencl.h>
struct StringObject
{
char* str;
int str_count;
int str_size;
};
void string_object_init( struct StringObject* cfo );
void string_object_free( struct StringObject* cfo );
void string_object_append_string( struct StringObject *cfo, const char* value );
void string_o... |
<?PHP
App::uses('Model','Model');
class Dashboard extends Model
{
}
|
require 'traceur'
require "explore_rb/version"
module ExploreRb
def self.extended base
puts "Use the following commands to look around:"
puts " classes, objects, get_objects, symbols, gems,"
puts " local_variables, draw_this, start_garbage_collection"
puts " stop_garbage_collection, load_paths, h... |
AgileWeixin is weixin development package
|
package io.cloudslang.content.hashicorp.terraform.actions.workspaces.variables;
import com.hp.oo.sdk.content.annotations.Action;
import com.hp.oo.sdk.content.annotations.Output;
import com.hp.oo.sdk.content.annotations.Param;
import com.hp.oo.sdk.content.annotations.Response;
import com.jayway.jsonpath.JsonPath;
imp... |
<?php
class Kindergarten_StudentController extends Zend_Controller_Action {
public function init()
{
/* Initialize action controller here */
header('content-type: text/html; charset=utf8');
}
public function indexAction()
{
}
public function addStudentRoo... |
package com.akamai.edgegrid.signer.exceptions;
import com.akamai.edgegrid.signer.ClientCredential;
/**
* Exception representing failure to obtain a {@link ClientCredential} in order to sign a request.
*
* @author mmeyer@akamai.com
*/
public class NoMatchingCredentialException extends RequestSigningException {
... |
/* -------------------------------------------------------------------- */
/* ACCORDS PLATFORM */
/* (C) 2011 by Iain James Marshall (Prologue) <ijm667@hotmail.com> */
/* -------------------------------------------------------------------- */
/* Licensed under th... |
import { Logger } from "../shared/interfaces";
import { getRandomInt } from "../shared/utils/fs";
import { Context } from "../shared/vscode/workspace";
import { WorkspaceContext } from "../shared/workspace";
// Used for testing. DO NOT COMMIT AS TRUE.
const clearAllExperiments = false;
export interface KnownExperimen... |
namespace GoParty.Data.Migrations
{
using System.Data.Entity.Migrations;
public sealed class Configuration : DbMigrationsConfiguration<GoPartyDbContext>
{
public Configuration()
{
this.AutomaticMigrationsEnabled = true;
this.AutomaticMigrationDataLossAllowed = true;
... |
<div class="umm-meta-form">
<form class="form-inline" role="form" id="userMetaForm">
<div class="form-group">
<label for="txtMetaKey">Meta key : </label>
<input type="text" id="txtMetaKey" name="meta-key">
</div>
<div class="form-group">
<label for="txtMet... |
// Karma configuration
// http://karma-runner.github.io/0.12/config/configuration-file.html
// Generated on 2015-02-20 using
// generator-karma 0.9.0
module.exports = function(config) {
'use strict';
config.set({
// enable / disable watching file and executing tests whenever any file changes
autoWatch: tr... |
#region Copyright
//
// DotNetNuke® - http://www.dotnetnuke.com
// Copyright (c) 2002-2018
// by DotNetNuke Corporation
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
// documentation files (the "Software"), to deal in the Software without restrict... |
/* @flow
*
*/
import {RunTimeCheckE, ePrint} from '../../definition/def.js';
import {
isStringMap,
isNumberMap,
isMapOf,
dev as omDev
} from './objectmap.js';
function isObject(v:mixed):Object {
if (v instanceof Object) {
if (Array.isArray(v)) {
throw new RunTimeCheckE(`value:(${ePrint(v)}) is a A... |
pictures_host = "http://images.taozilvxing.com/" |
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.telesoftas.core.samples">
<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:roundIcon=... |
#include "condor_common.h"
#include "condor_config.h"
#include "read_multiple_logs.h"
#include "basename.h"
#include "tmp_dir.h"
#include "dagman_multi_dag.h"
#include "condor_getcwd.h"
// Just so we can link in the ReadMultipleUserLogs class.
MULTI_LOG_HASH_INSTANCE;
//--------------------------------------------... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
namespace AngularNote.Controllers
{
public class NoteController : ApiController
{
DatabaseEntitiesNote db = new DatabaseEntitiesNote();
// GET api/note
/... |
package token
import (
"crypto/rand"
"errors"
"net/http"
"time"
"github.com/dgrijalva/jwt-go"
"github.com/pborman/uuid"
)
//Jwt jwt helper
type Jwt struct {
Provider Provider
Key []byte
}
//ParseFromRequest parse token from request
func (p *Jwt) ParseFromRequest(req *http.Request) (map[string]interface... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE762_Mismatched_Memory_Management_Routines__new_free_int64_t_83_goodG2B.cpp
Label Definition File: CWE762_Mismatched_Memory_Management_Routines__new_free.label.xml
Template File: sources-sinks-83_goodG2B.tmpl.cpp
*/
/*
* @description
* CWE: 762 Mismatched Memory ... |
class FilePopupMenuController < ActiveWindow::Controller
def setup
@last_path = File.expand_path '.'
end
# Open a dialog to enter a new file name to create
# TODO use path of selected file
# TODO make inline renaming (like TextMate)
def new_file(given)
dialog = Gtk::FileChooserDialog.new("New file... |
module Tenacity
class AssociateProxy #:nodoc:
alias_method :proxy_respond_to?, :respond_to?
instance_methods.each { |m| undef_method m unless m =~ /(^__|^nil\?$|^send$|proxy_|^object_id$)/ }
def initialize(target, association)
raise "Cannot create a Tenacity::AssociateProxy with a nil target" if ta... |
package org.openmastery.ideaflow.intellij.action.event;
import com.intellij.openapi.actionSystem.AnAction;
import com.intellij.openapi.actionSystem.AnActionEvent;
import org.openmastery.ideaflow.controller.IFMController;
import org.openmastery.ideaflow.intellij.IdeaFlowApplicationComponent;
import org.openmastery.publ... |
import React, { Component } from 'react'
import { Row, Col, Button } from 'react-bootstrap'
import PropTypes from 'prop-types'
import { connect } from 'react-redux'
import { paginateUsers } from '../../reducers/actions/users'
import SearchBar from '../utilities/SearchBar'
import LoadingSpinner from '../utilities/Loadin... |
package abi44_0_0.host.exp.exponent.modules.api.components.svg;
import abi44_0_0.com.facebook.react.ReactPackage;
import abi44_0_0.com.facebook.react.bridge.JavaScriptModule;
import abi44_0_0.com.facebook.react.bridge.NativeModule;
import abi44_0_0.com.facebook.react.bridge.ReactApplicationContext;
import abi44_0_0... |
<?php
namespace Application\Models;
use System\Core\RHMVC\AbstractModel;
use System\Core\RHMVC\View;
use PHPMailer;
use Exception;
class User extends AbstractModel
{
static $belongs_to = [
['group']
];
static $has_many = [
['actions', 'through' => 'user_roles', 'select' => 'SUM(value) A... |
<?php
class User extends CI_Model{
public $user_id = NULL;
public $created = NULL;
public $email_address = NULL;
public $first_name = NULL;
public $last_name = NULL;
public $token_or_password = NULL;
public $phone_number_id = NULL;
public $address_id = NULL;
public $is_organizer = ... |
import meta from './accordion.json'
import template from './accordion.html'
import snippet from './snippet.html'
import {collapse as vsCollapse, collapseToggle as vsCollapseToggle} from 'src/components/collapse'
import docsDemo from 'vuestrap-docs/src/components/demo'
export default {
route: {
url: '/accordion',... |
layout: default-en
---
<section class="blurb">
<p class="summary">I have a background in maths and physics, an interest in emerging tech and a lot of enthusiasm for learning.</p>
<!-- <p class="summary"> Photography, going to meetups, getting involved with diversity in tech initiatives.</p>
<p>You can often find ... |
import _plotly_utils.basevalidators
class CustomdataValidator(_plotly_utils.basevalidators.DataArrayValidator):
def __init__(self, plotly_name="customdata", parent_name="scattergl", **kwargs):
super(CustomdataValidator, self).__init__(
plotly_name=plotly_name,
parent_name=parent_na... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_31) on Mon Oct 01 06:51:18 PDT 2012 -->
<TITLE>
OutputCollector (Hadoop 1.0.3.16 API)
</TITLE>
<META NAME="date" CONTENT="2012-10-01">
<LINK REL ="... |
<!--
Unsafe sample
input : get the field userData from the variable $_GET via an object, which store it in a array
sanitize : none
File : use of untrusted data in one side of a quoted expression in a script
-->
<!--Copyright 2015 Bertrand STIVALET
Permission is hereby granted, without written agreement or royalty f... |
{% load staticfiles %}<!doctype html>
<html class="">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>{% block title %}Hotline anti-corruption{% endblock %}</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta http-equiv="Content-Language" content="en-e... |
import { ElementRef, ChangeDetectorRef } from '@angular/core';
import { TinymceEditorSettingsService } from './tinymce-editor-settings.service';
import { ControlValueAccessor } from '@angular/forms';
export declare class TinymceEditorDirective implements ControlValueAccessor {
private _elementRef;
private _chan... |
/* */
System.register(["aurelia-logging", "aurelia-loader", "aurelia-path", "./view-compiler", "./resource-registry"], function (_export) {
"use strict";
var LogManager, Loader, relativeToFile, ViewCompiler, ResourceRegistry, ViewResources, _prototypeProperties, importSplitter, logger, ViewEngine;
return {
... |
<?php
/**
* Created by PhpStorm.
* User: Godluck Akyoo
* Date: 3/7/2016
* Time: 10:58 AM
*/
defined('BASEPATH') OR exit('No direct script access allowed');
class Migration_Table_modifications extends CI_Migration
{
public function up()
{
$field = array(
'country_code' => array(
'type' => 'VARCHAR',
... |
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null |
<?xml version="1.0" encoding="utf-8"?>
<resources>
<!-- From: file:/Volumes/Android/int/klp-dev/frameworks/support/v7/mediarouter/res/values-en-rGB/strings.xml -->
<string name="mr_media_route_button_content_description" msgid="4271159405637008602">"Media output"</string>
<string name="mr_media_route_choos... |
GTConnectionSettings is a rewrite of NetworkSystemSettings to allow any user of this object mantaining network connection setting on its own.
Instance Variables:
useNetworkAuthentification <ProtoObject | PseudoContext>
email <ProtoObject | PseudoContext>
user <ProtoObject | PseudoContext>
password <ProtoObject | P... |
//------------------------------------------------------------------------------
// <auto-generated>This code was generated by LLBLGen Pro v5.9.</auto-generated>
//------------------------------------------------------------------------------
#nullable enable
using System;
using System.Collections.Generic;
namespace ... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null |
/**
* update view model
*/
var app = app || {};
app.Update = (function () {
'use strict';
var updateViewModel = (function () {
var dataSource;
var $updateForm;
var $formFields;
var $updateInfo;
var validator;
var updateImage;
var picture;
var $saveButton;
var $baseImage;
// Update user after ... |
package org.apache.cassandra.streaming;
import java.io.DataInputStream;
import java.io.IOError;
import java.io.IOException;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.apache.cassandra.io.util.FastByteArrayInputStream;
import org.apache.cassandra.net.IVerbHandler;
import org.apache.cassandr... |
'use strict';
const comise = require('comise');
const _ = require('lodash');
const checkpoint = require('./helpers/checkpoint');
const toss = require('./helpers/toss');
const wait = require('./helpers/wait');
const Socket = require('./socket');
const DEFAULTS = require('./defaults.json').pool;
class Pool {
//
/... |
Pattern: Malformed space around `for`
Issue: -
## Description
Verifies that `for` structures have the correct padding inside their bracketed statement.
## Configuration
By default, the rule ensures there are zero spaces following the opening bracket, and zero spaces preceding the closing bracket, as shown in the f... |
// Accord Statistics Library
// The Accord.NET Framework
// http://accord-framework.net
//
// Copyright © César Souza, 2009-2015
// cesarsouza at gmail.com
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as p... |
//#***************************************************************************
//# Source File: SwaggerConfig.java
//# Copyright (c) 1996-2017
//# All rights reserved.
//#***************************************************************************
package de.whodrivesnext.config;
import java.time.LocalDate;
import java... |
ActiveRecord::Schema.define(version: 20160219140052) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
create_table "roles", force: :cascade do |t|
t.string "name"
end
create_table "roles_users", force: :cascade do |t|
t.integer "role_id"
... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Diagnostics;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace lex4allGUI
{
public partial class EvalForm : Form
{
... |
var args = arguments[0] || {};
var optionsVisible = false;
var windowVisible = false;
var options = args.options;
var cancel = args.cancel;
var optionTitle = args.title;
var showBorder = args.showBorder || false;
var rowIndex = 0;
var selectedOption = null;
var isOptionCreated = false;
var settings = args.s... |
dead_code,
non_snake_case,
non_camel_case_types,
non_upper_case_globals
)]
/// Template definition containing a float, which cannot derive Hash/Eq/Ord but can derive PartialEq/PartialOrd.
#[repr(C)]
#[derive(Debug, Copy, Clone, PartialOrd, PartialEq)]
pub struct foo<T> {
pub data: T,
pub b: f32... |
namespace CoinNews.Northwind {
@Serenity.Decorators.registerClass()
export class TerritoryDialog extends Serenity.EntityDialog<TerritoryRow, any> {
protected getFormKey() { return TerritoryForm.formKey; }
protected getIdProperty() { return TerritoryRow.idProperty; }
protected getLocalT... |
void MultiGraph_QL::update_Q(State s){
auto it = mapStateToIndex.find(s);
if (it == mapStateToIndex.end()){
this->addVertex(Vertex(s,numV++,numActions));
}
}
void MultiGraph_QL::update_Q(Experience exp, double learningRate, double discount){
// first check whether the target/new state exis... |
package fixtures.azurespecials.implementation;
import retrofit2.Retrofit;
import com.google.common.reflect.TypeToken;
import com.microsoft.azure.AzureServiceResponseBuilder;
import com.microsoft.rest.ServiceCall;
import com.microsoft.rest.ServiceCallback;
import com.microsoft.rest.ServiceResponse;
import com.microso... |
'use strict'
let worker = require('../worker')('pipeline_executions')
let message = require('../message')
let Job = require('./job')
worker.on('message', (msg, next) => {
new Job(message(msg), next)
// TODO is this working?
// worker.del(msg.id)
})
worker.start()
|
package me.srhang.libs.spring.core.databinder;
import org.springframework.beans.MutablePropertyValues;
import org.springframework.web.bind.ServletRequestDataBinder;
/**
* Author: Bryant Hang
* Date: 15/1/17
* Time: 下午6:32
*/
public interface SuishenExtendDataBinder {
public void doExtendBind(MutablePropertyVa... |
from .formats import *
from .corpus import Corpus
__all__ = ['CorpusFormat', 'Corpus']
|
package us.dot.its.jpo.ode.plugin.j2735;
import java.util.ArrayList;
import java.util.List;
import us.dot.its.jpo.ode.plugin.asn1.Asn1Object;
public class J2735TrailerData extends Asn1Object {
private static final long serialVersionUID = 1L;
public J2735PivotPointDescription connection;
public Integer sspRights;... |
<!doctype html>
<html class="theme-next ">
<head>
<meta charset="UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/>
<meta http-equiv="Cache-Control" content="no-transform" />
<meta http-equiv="Cache-Contro... |
This application demonstrates a simple, reusable Facebook Messenger bot using [Watson Conversation] (https://www.ibm.com/watson/developercloud/conversation.html) & [IBM Interact](https://www.ibm.com/ms-en/marketplace/real-time-inbound-marketing).
## Demonstration
You can find a demo illustrating that bot [here](https... |
/**
Template Controllers
@module Templates
**/
/**
The views_start template
@class [template] views_start
@constructor
**/
Template['views_start'].helpers({
/**
Get most recent campaigns.
@method (campaigns)
**/
'campaigns': function(){
return Campaigns.find({}, {limit: 4, sort: {id: -... |
* Added support for reserved word members and object literals.
** `a.try(x)` and `{try: ...}`
** `a.try(x)` translates to `a["try"](x)` for older interpreters.
* Better inlining of working assignment expression.
* Fixed some weirdness around undefined inlining.
* Added option to preserve user bindings instead of prunin... |
#include <aws/codedeploy/model/AddTagsToOnPremisesInstancesRequest.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <utility>
using namespace Aws::CodeDeploy::Model;
using namespace Aws::Utils::Json;
using namespace Aws::Utils;
AddTagsToOnPremisesInstancesRequest::AddTagsToOnPremisesInstancesRequest() ... |
title: "Hadoop"
weight: 4
type: docs
aliases:
- /zh/dev/connectors/formats/hadoop.html
- /zh/apis/streaming/connectors/formats/hadoop.html
---
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional info... |