text stringlengths 3 1.05M |
|---|
module Selenium
module WebDriver
module Firefox
# @api private
class W3CBridge < Remote::W3CBridge
def initialize(opts = {})
port = opts.delete(:port) || Service::DEFAULT_PORT
opts[:desired_capabilities] = create_capabilities(opts)
service_args = opts.delete(:serv... |
<?php
/**
* Description
*
* @phpstub
*
* @return CairoFontOptions What is returned on success and failure
*/
function cairo_font_options_create()
{
} |
class AppSerializer < ActiveModel::Serializer
attributes :id, :name, :title, :hidden, :icon, :url
has_many :app_plans, embed: :ids, embed_in_root: true
end
|
/**
* @module ngeo.interaction.MeasureLengthMobile
*/
import ngeoInteractionMeasureLength from 'ngeo/interaction/MeasureLength.js';
import ngeoInteractionMobileDraw from 'ngeo/interaction/MobileDraw.js';
import * as olBase from 'ol/index.js';
import * as olObj from 'ol/obj.js';
/**
* @classdesc
* Interaction dedic... |
int main(int argc, char* argv[]) {
using namespace boost::lambda;
typedef std::istream_iterator<int> in;
std::for_each(
in(std::cin), in(), std::cout << (_1 * 3) << " " );
return 0;
}
|
<?xml version="1.0"?>
<!--
JBoss, Home of Professional Open Source
Copyright 2013, Red Hat, Inc. and/or its affiliates, and individual
contributors by the @authors tag. See the copyright.txt in the
distribution for a full listing of individual contributors.
Licensed under the Apache License, Versio... |
<?php if ($cek == 1) { ?>
<input name="id" placeholder="id" class="form-control" type="hidden">
<div class="form-group">
<label class="control-label col-md-3">Nama</label>
<div class="col-md-9">
<input name="nama_jabatan" id="nama" placeholder="Nama" class="col-md-12" type="text">
</div>
... |
"""Logger for pygaps."""
import logging
import sys
logger = logging.getLogger('pygaps')
logger.setLevel(logging.DEBUG)
# create console handler
ch = logging.StreamHandler(stream=sys.stdout)
ch.setLevel(logging.INFO)
# add the handlers to the logger
logger.addHandler(ch)
|
package com.slothwerks.hearthstone.compendiumforhearthstone.ui;
import android.content.Intent;
import android.database.Cursor;
import android.graphics.Color;
import android.graphics.drawable.ColorDrawable;
import android.os.Bundle;
import android.support.v7.app.ActionBarDrawerToggle;
import android.support.v4.widget.D... |
<div class="panel panel-primary">
<div class="panel-heading">
<h3 class="panel-title"><span class="fa fa-shield"></span> {{ca.name}}</h3>
</div>
<div class="panel-body">
<dl class="dl-horizontal">
<dt ng-if="!ca.visible" class="text-danger">Visibility</dt>
<dd ng-if="!ca.visible" class="text-d... |
package com.sop4j.base.google.common.collect;
import static com.sop4j.base.google.common.base.Preconditions.checkNotNull;
import static com.sop4j.base.google.common.base.Predicates.in;
import static com.sop4j.base.google.common.base.Predicates.not;
import static com.sop4j.base.google.common.collect.CollectPreconditi... |
var path = require('path');
// Helper functions
var _root = path.resolve(__dirname, '..');
function hasProcessFlag(flag) {
return process.argv.join('').indexOf(flag) > -1;
}
function root(args) {
args = Array.prototype.slice.call(arguments, 0);
return path.join.apply(path, [_root].concat(args));
}
function ro... |
extern WXDLLIMPEXP_CORE const char wxGaugeNameStr[];
// Group box
class WXDLLIMPEXP_CORE wxGauge : public wxGaugeBase
{
public:
wxGauge() { }
wxGauge(wxWindow *parent,
wxWindowID id,
int range,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefau... |
Forked version of github.com/tarm/goserial
This version supports opening a port with RtsOn or DtrOn.
Modifications to this fork
-----------------------
Added the ability to turn on RTS and DTR. This is done by passing in a
config struct that is setup to support future flags as needed. In particular
the RTS being con... |
.. _`pip & virtualenv`:
pip & virtualenv
****************
If you were reading carefully in :ref:`installing_python` in the Homebrew lesson, you might have noticed the following lines in the success message.
.. code-block:: bash
Setuptools and Pip have been installed. To update them
pip install --upgrade set... |
app.service('DashboardService', function($q, $http){
var getHosts = function() {
return $http.get('/api/host');
},
getData = function(host) {
return $http.get('/api/data/forhost', {
params: { name: host }
});
};
return {
getData:getData,
getHosts:getHosts
};
}); |
var core = require('../../../../core');
var imgproc = require('../../../');
core.Matrix.prototype.houghCircles = function() {
return imgproc.houghCircles.apply(global, [this].concat(Array.from(arguments)));
};
|
/* IBM_PROLOG_BEGIN_TAG */
/* This is an automatically generated prolog. */
/* */
/* $Source: src/import/chips/p9/procedures/hwp/pm/p9_pm_firinit.H $ */
/* ... |
from azure.identity import DefaultAzureCredential
from azure.mgmt.datamigration import DataMigrationManagementClient
"""
# PREREQUISITES
pip install azure-identity
pip install azure-mgmt-datamigration
# USAGE
python projects_create_or_update.py
Before run the sample, please set the values of the clien... |
/* eslint-env jquery */
/* global jQuery */
/* eslint-disable no-extra-boolean-cast */
/**
* Submit a form via AJAX
*
* Hijack's a forms submit event and POSTs its data via AJAX to avoid page reloads.
*
* Usage:
*
* Place the attribute 'data-ajax-submit="true"' on either a form tag or a button
* that has:
*... |
<!-- .slide: data-background="img/merging-bg.svg" -->
# Merging
``` bash
$ git merge hotfix master
```
---
To merge changes from local branch `hotfix` into local branch `master`:
```
$ git merge hotfix master
```
Merge changes from remote `origin` branch `master`
into local branch `master`
```
$ git pull origin m... |
module ObjectiveSpec
class Matchers
def load!
load_matchers_in_dir(bundled_matchers_dir)
end
def load_matchers_in_dir(dir)
Dir.entries(dir).each do |entry|
if entry =~ /_matcher.rb$/
filename = entry.gsub(/.rb$/, '')
require File.join(dir, filename)
end
... |
package com.ibm.wala.util.io;
import static org.junit.Assert.assertEquals;
import java.net.MalformedURLException;
import java.net.URL;
import org.junit.Test;
import com.ibm.wala.util.PlatformUtil;
public class FileProviderTest {
@Test
public void testValidFile() throws MalformedURLException {
// setup:
... |
import sys
reload(sys)
sys.setdefaultencoding("utf-8")
import sys
from heap import Heap
class Rectangle(object):
"""docstring for Rectangle"""
def __init__(self, dimension, entry=None):
super(Rectangle, self).__init__()
self.dimension = dimension
self.min_dim = [None for _ in xrange(d... |
namespace Spyder.Client.Common
{
public enum CalcType
{
Linear,
Velocity,
Bezier,
Hermite
}
}
|
CLI based Rubiks Cube in Python.
## Requirements
Should run identically in both Python 2.x and 3.x!
## Run
```shell
$ python clipycube.py
```
## Keyboard Shortcuts:
The entire program is operated via the keyboard.
### Program commands:
* `F1` - show/hide help menu (keyboard shortcuts)
* `q` - Quit
* `3` - show ... |
const { EPS } = require('../../constants')
const plane = require('../../../math/plane')
const cutByPlane = require('../../shape3/cutByPlane')
/** cuts a Geom3 along a orthobasis, returns a 2d geometry
* @param {Geom3} geometry the shape3 object to cut
* @param {Orthobasis} orthobasis the orthobasis to cut along
*... |
/****************************/
/* ALIST-based UNDO operators for library functions
12/Apr/2001 by Takeaki Uno e-mail:uno@nii.jp,
homepage: http://research.nii.ac.jp/~uno/index.html */
/* available for ALIST and AGRAPH */
/* This program is available for only academic use, basically.
Anyone... |
<form method="POST" class="form-horizontal well span9" id="modify-form">
<fieldset>
<legend>Modify Availability Zone</legend>
<div class="control-group">
<label class="control-label">Datacenter Name: </label>
<div class="controls">
<select name="datacenter">
<?php
foreach($dcs as $dc) {
... |
power-assert
================================
[](https://travis-ci.org/twada/power-assert)
[](http://badge.fury.io/js/power-assert)
[](... |
Effect Web v1.8.5 Finish Edition
================
Código fonte da Effect Web v1.8.5 liberado somente para os clientes.
Estes códigos são privados de uso pessoal dos clientes.
Todos as classes e códigos referente a checagem de licença foram removidos.
Não nos responsabilizamos por qualquer vazamento destes arquivos, l... |
// Code generated by go-swagger; DO NOT EDIT.
package admin
// This file was generated by the swagger tool.
// Editing this file might prove futile when you re-run the swagger generate command
import (
"context"
"net/http"
"time"
"github.com/go-openapi/errors"
"github.com/go-openapi/runtime"
cr "github.com/go... |
layout: post
title: Visual Studio Code Settings Synchronization
description : synchronize your visual studio code settings across multiple machines. Whether your editor settings are changed in office you can set synchronize that settings in home editor also.
---
I have developed a small utility in order to synchronize... |
<?xml version="1.0" ?><!DOCTYPE TS><TS language="es_DO" version="2.1">
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About ShadowCoin</source>
<translation type="unfinished"/>
</message>
<message>
<location ... |
angular.module('ngOst.filters.blankData', [])
.filter('blankData', [function () {
return function (input, placeholder) {
if (input !==0 && !input) {
return placeholder || '-';
}
return input;
};
}]);
|
"use strict";
exports.defineHelpers = defineHelpers;
function defineHelpers(name, fn, protoFn) {
defineConstructorHelper(name, fn);
definePrototypeHelper(name, typeof protoFn === 'function' ? protoFn : promiseThenHelper(fn));
}
exports.defineConstructorHelper = defineConstructorHelper;
function defineConstructorH... |
layout: post
title: "Collection #002"
categories: collection
tags: weekly-popular
publish-date: '2016-04-11'
date-since: '2016-03-27'
date-until: '2016-04-02'
volunteer: Rplus
---
{% include card.html %}
|
@interface UIBarButtonItem (WWItem)
+ (UIBarButtonItem *)itemWithImage: (UIImage *)image highlightedImage: (UIImage *)highlightedImage target: (id)target action: (SEL)action;
+ (UIBarButtonItem *)itemWithImage:(UIImage *)image selectedImage:(UIImage *)selectedImage target:(id)target action:(SEL)action;
@end
|
using Aragas.Core.Packets;
using MineLib.Core.Client;
using ProtocolModern.Packets.Client.Login;
namespace ProtocolModern.PacketHandlers.Server.Login
{
public class LoginSuccessHandler : ProtocolPacketHandler<LoginSuccessPacket>
{
public override ProtobufPacket Handle(LoginSuccessPacket packet)
... |
package se.nyhren.android.swlc4.vo;
import java.io.Serializable;
import java.util.List;
public class SA implements Serializable {
private static final long serialVersionUID = -417023379438625555L;
private int id;
private boolean found;
private String href;
private String artist;
private String alb... |
// The MIT License(MIT)
//
// Copyright(c) 2016 Kevin Krol
//
// 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 restriction, including without limitation the rights
// to use, copy, ... |
CREATE TABLE Manufacturers(
ManufacturerID INT PRIMARY KEY NOT NULL,
Name NVARCHAR(50) NOT NULL,
EstablishedOn DATE NOT NULL)
CREATE TABLE Models(
ModelID INT PRIMARY KEY NOT NULL,
Name NVARCHAR(50) NOT NULL,
ManufacturerID INT NOT NULL)
INSERT INTO Manufacturers VALUES
(1, 'BMW', '07/03/1916'),
(2, 'Tesla', '01/01/2... |
layout: post
title: "Cortical Distance Tools in Python"
date: 2017-1-11 10:47:06
project_categories: Brainhack AMX 2015
image: surfdist-222x180.png
description: surfdist builds on the exact geodesic distance tools provided by gdist
---
## Summary
[surfdist](https://github.com/NeuroanatomyAndConnectivity/surfdist) b... |
ACCEPTED
#### According to
Index Fungorum
#### Published in
null
#### Original name
Pestalotia peckii G.P. Clinton
### Remarks
null |
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Single Segment</title>
<link rel="stylesheet" href="../include/style.css">
</head>
<body>
<header>
Example from <a href="http://amzn.com/1430236655?tag=html5anim-20"><em>Foundation HTML5 Animation with JavaScript</em></a>
</head... |
#ifndef SkPaint_DEFINED
#define SkPaint_DEFINED
#include "SkColor.h"
#include "SkDrawLooper.h"
#include "SkMatrix.h"
#include "SkXfermode.h"
class SkAnnotation;
class SkAutoGlyphCache;
class SkColorFilter;
class SkDescriptor;
struct SkDeviceProperties;
class SkReadBuffer;
class SkWriteBuffer;
struct SkGlyph;
struct... |
<resources>
<string name="app_name">"토닥토닥"</string>
<string name="title_activity_main2">Main2Activity</string>
<string name="navigation_drawer_open">Open navigation drawer</string>
<string name="navigation_drawer_close">Close navigation drawer</string>
<string name="action_settings">Settings</stri... |
package io.sethclark.auto.value.json;
import com.google.auto.service.AutoService;
import com.google.auto.value.extension.AutoValueExtension;
import com.google.common.base.CaseFormat;
import com.google.common.base.Optional;
import com.google.common.collect.ImmutableMap;
import com.squareup.javapoet.ClassName;
import co... |
import calendar, datetime
from dateutil import parser
from src.commands import *
class NLP:
"""
Parse a message
"""
def parse(self, subject):
print("NLP recv: %s" % subject)
if subject.startswith("remind"):
print("NLP det: remind")
try:
return (remind, self.get_remind_args(subject))
except:
p... |
package org.eclipse.lsp4j;
import org.eclipse.lsp4j.Range;
import org.eclipse.lsp4j.jsonrpc.validation.NonNull;
import org.eclipse.lsp4j.util.Preconditions;
import org.eclipse.xtext.xbase.lib.Pure;
import org.eclipse.xtext.xbase.lib.util.ToStringBuilder;
/**
* A special text edit to provide an insert and a replace ... |
import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { AppComponent } from './app.component';
import { NgDatasheetModule } from 'ngdatasheet/ngdatasheet';
@NgModule({
imports: [
BrowserModule,
NgDatasheetModule
],
declarations: [
AppC... |
@interface ViewController : UIViewController
@end
|
package com.streamsets.pipeline.stage.destination.mongodb;
import com.streamsets.pipeline.api.Config;
import com.streamsets.pipeline.api.StageException;
import com.streamsets.pipeline.api.StageUpgrader;
import com.streamsets.pipeline.api.impl.Utils;
import com.streamsets.pipeline.stage.common.mongodb.MongoDBConfig;
... |
package com.amazonaws.services.codecommit.model;
import javax.annotation.Generated;
/**
* <p>
* The specified reference name is not valid.
* </p>
*/
@Generated("com.amazonaws:aws-java-sdk-code-generator")
public class InvalidBranchNameException extends com.amazonaws.services.codecommit.model.AWSCodeCommitExcepti... |
@echo off
setlocal
@echo off
REM # Get the location of quickbuild.bat and drop trailing slash
set ROOT=%~dp0
set ROOT=%ROOT:~0,-1%
set BOOST_BUILD_PATH=%ROOT%\freicore\libraries\boost-build
set BJAM=%BOOST_BUILD_PATH%\engine\bin.ntx86\bjam.exe
REM # msvc.jam assumes it will find "ShowVer.exe" in %PATH%
s... |
/**
* Forge SDK
* The Forge Platform contains an expanding collection of web service components that can be used with Autodesk cloud-based products or your own technologies. Take advantage of Autodesk’s expertise in design and engineering.
*
* Contact: forge.help@autodesk.com
*
* NOTE: This class is auto generate... |
#ifndef RTEMS_VIRT_LAYER_BSP_H
#define RTEMS_VIRT_LAYER_BSP_H
/**
* \brief Initializes the console.
*
*/
int
_BSP_Virtual_Console_init(void);
/**
* \brief Reads a character from the console.
*/
char
_BSP_Virtual_Char_read(void);
/**
* \brief Writes a character to the console.
*/
void
_BSP_Virtual_Char_write... |
[](http://unmaintained.tech/)
# Whyline for Java
The Whyline for Java is an interactive debugging tool that lets you ask "why" questions about program output.
To see a demo, check out [the brief YouTube video](https://www.youtube.com/watch?v=t6gVZ-qZ4sI).... |
/*
* 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 applicable law or agreed to in writing, software
* distribut... |
import React from 'react'
module.exports = ({playerName}) => {
return (
<tr>
<td colSpan="9" className="animated-background">{playerName}</td>
</tr>
)
}
|
/* Mode argument to forkshell. Don't change FORK_FG or FORK_BG. */
#define FORK_FG 0
#define FORK_BG 1
#define FORK_NOJOB 2
/*
* A job structure contains information about a job. A job is either a
* single process or a set of processes contained in a pipeline. In the
* latter case, pidlist will be non-NULL, a... |
using System.Collections.Generic;
using System.Collections.ObjectModel;
namespace api.securecall.Areas.HelpPage.ModelDescriptions
{
public class EnumTypeModelDescription : ModelDescription
{
public EnumTypeModelDescription()
{
Values = new Collection<EnumValueDescription>();
... |
using System;
using System.IO;
using System.Text;
namespace Node.Cs.Lib.Contexts.ContentUtils
{
public class BasicStreamConverter : IRequestStreamConverter
{
private byte[] _content = { };
public byte[] Content
{
get
{
return _content;
}
}
public void Initialize(Stream body, Encoding encodin... |
/*
* Utils.java
*
* (c) 2002-2005 JEBL Development Core Team
*
* This package may be distributed under the
* Lesser Gnu Public Licence (LGPL)
*/
package jebl.evolution.sequences;
import jebl.evolution.taxa.Taxon;
/**
* @author Andrew Rambaut
* @author Alexei Drummond
*
* @version $Id: Utils.java 688 2007-0... |
package org.gillius.jagnet.examples;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
public class ExampleUtil {
private static final Logger log = LoggerFactory.getLogger(ExampleUtil.class);
public static String getUri(String args[]) {
if (args.length > 1) {
return args[0];
} else {
String uri = ... |
package com.leirc.api.logger;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.logging.LogRecord;
import java.util.logging.SimpleFormatter;
public class LeIRCLogger extends SimpleFormatter {
@Override
public String format(LogRecord record) {
StringBuilder string = new StringB... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>kildall: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css... |
package org.apache.cassandra.io.sstable;
import static org.junit.Assert.*;
import java.io.IOException;
import java.net.InetAddress;
import java.net.UnknownHostException;
import java.nio.ByteBuffer;
import java.util.Arrays;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.concur... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<title>Uses of Class org.apache.poi.ss.formula.functions.Fixed0ArgFunction (POI API Documentation)</title>
<link rel="stylesheet" type="text/css" href="../../../../../../../sty... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null |
<?php
namespace App\Controller\View\User;
use App\Controller\AbstractBaseViewController;
use App\Services\CacheableResponseFactory;
use App\Services\DefaultViewParameters;
use App\Services\FlashBagValues;
use Symfony\Component\Routing\RouterInterface;
use Twig_Environment;
abstract class AbstractUserController exten... |
/*! \file
\brief Header file for seaway.c
Structures for each St. Lawrence Seaway message type
For exact definitions of each field you should see the ITU M.1371,
IEC 62287 and the IALA Clarifications on M.1371
The format of the !AIVDM strings are covered in IEC 61993-2
St. Lawrence Seaway ... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="css/basestyles.css" media="all" />
<link rel="stylesheet" type="text/css" href="css/print.css" media="print" />
<link rel="stylesheet" type="text/css... |
using System;
using System.Collections.Generic;
using System.Text;
namespace CarTracker.Common.ViewModels.Auth
{
public class UserRegistrationViewModel
{
public string Name { get; set; }
public string Username { get; set; }
public string Password { get; set; }
public string Em... |
import java.util.Scanner;
public class P03TextFilter {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
String[] banList = scanner.nextLine().split(", ");
String text = scanner.nextLine();
for (int i = 0; i < banList.length; i++) {
if(... |
package com.zhihu.matisse.internal.ui.adapter;
import android.content.Context;
import android.content.res.TypedArray;
import android.database.Cursor;
import android.graphics.drawable.Drawable;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.CursorAdap... |
package org.mybatis.generator.logging;
import static org.mybatis.generator.internal.util.messages.Messages.getString;
import org.mybatis.generator.internal.ObjectFactory;
/**
* Factory for creating loggers. Uses runtime introspection to determine the
* AbstractLogFactory implementation.
*
* @author Jeff Butler... |
<?php
namespace TravelPlanner\Http\Middleware;
use Closure;
use LanguageSwitcher;
/*
* Middleware InjectAdminToken
*
* Allows authentication over every route as admin.
* Only for apidoc generation.
*/
class AjaxLanguageSelector
{
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\... |
package me.ellios.hedwig.rpc.loadbalancer;
/**
* Parameterized resource. e.g. weighted or least connections resource.
*
* @author George Cao
* @since 3/19/13 11:54 AM
*/
public interface WeightedResource extends Resource {
/**
* Get the weight.
*
* @return the current weight.
*/
int w... |
package io.mycat.config.loader.zkprocess.entity.schema.datahost;
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.XmlAttribute;
import javax.xml.bind.annotation.XmlType;
import io.myca... |
#include "lib.h"
#include "auth-master.h"
#include "replicator-queue.h"
#define REPLICATOR_AUTH_SERVICE_NAME "replicator"
void replicator_queue_add_auth_users(struct replicator_queue *queue,
const char *auth_socket_path,
const char *usermask, time_t last_update)
{
struct auth_master_connection *a... |
using System;
using NetCoreForce.Client.Models;
using NetCoreForce.Client.Attributes;
using Newtonsoft.Json;
namespace NetCoreForce.Models
{
///<summary>
/// LoginAs Event
///<para>SObject Name: LoginAsEvent</para>
///<para>Custom Object: False</para>
///</summary>
public class SfLoginAsEvent : SObject
{
[Jso... |
package akkaviz.serialization
import akkaviz.serialization.ClassInspector.UnableToInspectField
import upickle.Js
import upickle.Js.Value
import scala.collection.mutable
object DefaultSerializers {
private[this] implicit def fnToAkkaVizSerializer[T](fn: (T) => Js.Value) = {
new AkkaVizSerializer {
overri... |
/**
* sockly.js: Main module
*
* (c) 2013, dotfold
*/
var Server = require('./net/server')
, StreamingClient = require('./net/streamingclient')
, args = process.argv.slice(2)
, sockly = exports
, log = require('./log/logger').getLogger('sockly.main')
//
// Welcome message
console.log('\n\tSockly.js... |
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
Führ. Pilzk. (Zwickau) 114 (1871)
#### Original name
Agaricus anthracophilus Lasch, 1829
### Remarks
null |
package org.geometerplus.fbreader.formats.pdb;
import java.io.IOException;
import java.io.InputStream;
import java.io.UnsupportedEncodingException;
import java.nio.charset.CharsetDecoder;
import java.util.Map;
import java.util.SortedMap;
import java.util.TreeMap;
import java.util.TreeSet;
import org.geometerplus.fb... |
<!DOCTYPE html>
<head>
<title>Welcome! Intercom Chrome Extension</title>
<script src='/scripts/jq.js'></script>
<script src='scripts/saveOptionsWelcome.js'></script>
<link rel="stylesheet" type="text/css" href="css/style.css">
</head>
<body class="options">
<div class="container">
<h1>Welcome to the Intercom Chr... |
include("gradient-checking.jl")
function test_simple_net_gradient(backend)
println("-- Testing gradients on simple network (example for gradient checking code)")
batch_size = 1
X = randn(10, batch_size)
Y = ones(1, batch_size)
data = MemoryDataLayer(name="data", data=Array[X], tops=[:data], batch_size=batch... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>persistent-union-find: Not compatible</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootst... |
package org.jetbrains.plugins.groovy.lang.psi.impl.synthetic;
import com.intellij.psi.*;
import com.intellij.psi.impl.cache.ModifierFlags;
import com.intellij.psi.impl.light.LightElement;
import com.intellij.util.IncorrectOperationException;
import org.jetbrains.annotations.NonNls;
import org.jetbrains.annotations.No... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<titcd le>Welcome to Ext JS 4</title>
<meta name="description" content="Create amazing web apps built on web standards. Sencha Touch, HTML5 mobile app framework. Ext JS, cross-browser JavaScript framework. Ext GWT" />
<meta http-equ... |
module JsDuck
# Splits array of items with subitems into roughly equal size groups.
class Columns
# Initialized with the name of subitems field.
def initialize(subitems_field)
@header_size = 3
@subitems_field = subitems_field
end
# Splits the array of items into n chunks so that the su... |
<link href='http://fonts.googleapis.com/css?family=Roboto:400,300' rel='stylesheet' type='text/css'>
<link rel="import" href="../bower_components/polymer/polymer.html" >
<link rel="import" href="../bower_components/core-scaffold/core-scaffold.html" >
<link rel="import" href="../bower_components/core-i... |
<!--
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 ... |
package br.org.sae.test;
import java.util.Date;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import java.util.Set;
import org.junit.Assert;
import org.junit.Before;
import org.junit.FixMethodOrder;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runner... |
ACCEPTED
#### According to
Index Fungorum
#### Published in
Persoonia 18(2): 277 (2003)
#### Original name
Meliola careyae var. indica Hosag.
### Remarks
null |
package org.apache.sysds.test.functions.ternary;
import java.util.HashMap;
import org.junit.Test;
import org.apache.sysds.api.DMLScript;
import org.apache.sysds.common.Types.ExecMode;
import org.apache.sysds.hops.TernaryOp;
import org.apache.sysds.common.Types.ExecType;
import org.apache.sysds.runtime.matrix.data.M... |
<!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/html; charset=utf-8" />
<title>News — pymunk 4.0.0 documentation</title>
... |
namespace WRL = Microsoft::WRL;
constexpr char kObject[] = "v8::internal::Object";
constexpr char16_t kObjectU[] = u"v8::internal::Object";
constexpr char kTaggedValue[] = "v8::internal::TaggedValue";
constexpr char16_t kTaggedValueU[] = u"v8::internal::TaggedValue";
enum class PropertyType {
kPointer = 0,
kArray... |
'''
CKAN Organization class. This class fetches all
relevant information about a country / group
from a specified CKAN instance.
'''
import ckanapi
from app.classes.ckan import CKAN
class Organization:
'''
Complete CKAN organization class.
'''
def __init__(self, id):
self.id = id
self.ckan = CKAN().... |