answer stringlengths 15 1.25M |
|---|
<?php include $_SERVER['DOCUMENT_ROOT'] . '/snippets/document/header/index.php'; ?>
<div class="layout-project">
<div class="project project_glow context-content">
<section class="project__layout">
<header class="project__header">
<div class="container">
<h1 class="project__title">Glow</h1... |
const ASSERT = require('assert');
describe('SSL Specs', function () {
const PATH = require('path');
let Acts = require('./../index');
let testcert = PATH.join(__dirname, 'certs', 'test.cert');
let testkey = PATH.join(__dirname, 'certs', 'test.key');
it('boot with testcertificate without chain', func... |
<?php
require "../zxcd9.php";
//$stmt = $db->prepare("SELECT * from fin_allotments where hrdbid=:id");
//$stmt->bindParam(':id', $_SESSION['id']);
//$stmt->execute();
//$rowfa = $stmt->fetch(PDO::FETCH_ASSOC);
//echo $rowfa['hrdbid'];
// echo $_SESSION['id'];
// while ($rowfa = $stmt->fetch(PDO::FETCH_ASSOC)) {... |
<div class="sv-main-content"><div ui-view=""><div layout="row" layout-wrap="layout-wrap" ng-if="!mapView" style="max-width:1400px;margin: 0px auto"><div flex-sm="100" flex-gt-sm="50" flex-gt-md="33" flex-gt-lg="33" ng-repeat="agent in agents"><<API key> class="m"></<API key>></div></div></div></div> |
namespace XHTMLClassLibrary.AttributeDataTypes
{
<summary>
One or more digits.
</summary>
public class Number : IAttributeDataType
{
private int? _number = null;
public string Value
{
get
{
if (_number.HasValue)
{
... |
require "houston/releases/engine"
require "houston/releases/configuration"
module Houston
module Releases
extend self
def dependencies
[ :commits ]
end
def config(&block)
@configuration ||= Releases::Configuration.new
@configuration.instance_eval(&block) if block_given?
@config... |
# coding=utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
from .sub_resource import SubResource
class <API key>(SubResource):
"""An Ssl predefined policy.
:param id: Resource ID.
:type id: str
:param na... |
const path = require('path');
const inquirer = require('inquirer');
const yargs = require('yargs');
const {
sanitizeArgs,
ui,
invalidGitRepo,
ingredients,
addIngredients,
promiseTimeout
} = require('../common');
const {
cloneRepo,
deleteGitFolder,
<API key>,
addGitRemote,
<API key>,
stageChanges... |
import React from 'react'
import { useSelector } from 'react-redux'
import Container from 'react-bootstrap/Container'
import Row from 'react-bootstrap/Row'
import Col from 'react-bootstrap/Col'
import MoveSelector from '../containers/move-selector'
import Footer from '../containers/footer'
import Player from '../contai... |
namespace EnergyTrading.MDM.Test.Contracts.Validators
{
using System;
using System.Collections.Generic;
using System.Linq;
using EnergyTrading.MDM.ServiceHost.Unity.Configuration;
using global::MDM.ServiceHost.Unity.Sample.Configuration;
using Microsoft.Practices.Unity;
using NUnit.Framework... |
# <API key>
Elasticsearch Interpreter for [Appache Zeppelin](https://zeppelin.incubator.apache.org/).

## Build
It's a Maven project, so it's simple:
bash
mvn clean package
You should have a `<API key>.jar` in the _target_ directory.
## Install
`ZEPPELIN_HOME` is your Zeppelin ... |
package hprose.util.concurrent;
public interface Callback<V> {} |
<!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="rustdoc">
<meta name="description" content="API documentation for the Rust `mk_bare_fn` fn in crate `rustc_typeck`.">
<meta name="keyw... |
const fs = require('fs');
const path = require('path');
class Service {
constructor() {
this.getFileRecursevly = this.getFileRecursevly.bind(this);
this.getFiles = this.getFiles.bind(this);
}
getFileRecursevly(folderPath, shortPath = '') {
var files = [];
var folder = fs.read... |
namespace Naos.Database.Domain
{
using System;
using System.Collections.Generic;
using System.Linq;
using OBeautifulCode.Assertion.Recipes;
using OBeautifulCode.Serialization;
using static System.FormattableString;
public partial class <API key>
{
<inheritdoc />
public ov... |
package com.falcon.cms.web.rest;
import com.falcon.cms.web.rest.vm.LoggerVM;
import ch.qos.logback.classic.Level;
import ch.qos.logback.classic.LoggerContext;
import com.codahale.metrics.annotation.Timed;
import org.slf4j.LoggerFactory;
import org.springframework.http.HttpStatus;
import org.springframework.web.bind.ann... |
# Change Log
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).
Fixed
- Add missing exporter service
Fixed
- Fixed `<API key>` calling protected methods. This class is used by other bundles for testing.
Changed
- Updated Bootstrap from... |
import DateParser from '../date-parser.js';
import ParsedInfo from '../../parsed-info';
import moment from 'moment';
Date.now = jest.fn(() => 1527130897000)
test('Parses 12 Jan', () => {
const dateParser = new DateParser();
dateParser.parse('12 Jan', ParsedInfo);
const { value, startIndex, endIndex } = ParsedInfo... |
topic: "Turtle Letters: 04"
desc: "Planning your letters inside a bounding box (planning P and C)"
indent: true
{% include <API key>.html %}
For each letter that you and your pair partner are going to draw,
start by drawing a bounding box like this on on a piece of
paper.
<img src="BoundingBox.png" title="BoundingBox.p... |
#include "stdafx.h"
#include "record.hpp"
namespace tc { namespace log {
const char* record::type_acronym( void ) const {
switch( type ) {
case log::trace: return "T";
case log::debug: return "D";
case log::info: return "I";
case log::warn: return "W";
case log::error: return "E";
case log::... |
/* Header Styles */
header.main{
background: rgb(252,252,252); /* Old browsers */
/* IE9 SVG, needs conditional override of 'filter' to 'none' */
background: url(data:image/svg+xml;base64,<API key>/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwI... |
#!/bin/bash
## To avoid regression ensure that all of these do not return (unknown)
# annot_t.js
printf "annot_t.js:9:21 = "
assert_ok "$FLOW" type-at-pos annot_t.js 9 21 --strip-root --pretty
# any.js
printf "any.js:3:15 = "
assert_ok "$FLOW" type-at-pos any.js 3 15 --strip-root --pretty
printf "any.js:4:2 = "
assert_... |
exports.LOADING = "LOADING";
exports.ERROR = "ERROR";
exports.SUCCESS = "SUCCESS";
exports.FETCH = "FETCH";
exports.CREATE = "CREATE";
exports.UPDATE = "UPDATE";
exports.DELETE = "DELETE";
exports.SET_EDIT_MODE = "SET_EDIT_MODE";
exports.SET_ADD_MODE = "SET_ADD_MODE";
exports.CLOSE_FORM = "CLOSE_FORM";
exports.SET_PAGE... |
'use strict';
exports.ContainerBuilder = require('./<API key>');
exports.EventStream = require('./EventStream');
exports.CommandBus = require('./CommandBus');
exports.EventStore = require('./EventStore');
exports.AbstractAggregate = require('./AbstractAggregate');
exports.<API key> = require('./<API key>');
exports.Abs... |
<!DOCTYPE html>
<html><head>
<script type="text/javascript" src="lightgl.js"></script>
<script type="text/javascript" src="csg.js"></script>
<script type="text/javascript" src="openjscad.js"></script>
<script type="text/javascript" src="braille.jscad" charset="utf-8"></script>
<script type="text/javascript" src="jquery... |
# Pull base image with batteries
FROM buildpack-deps:jessie
MAINTAINER EngageNExecute code@engagenexecute.com
# Install packages.
RUN apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get install -y \
locales \
python-dev \
cmake \
libpq-dev \
python-pip \
git-co... |
'use strict';
var _ = require('./underscore-mixins.js');
var fnToNode = new Map();
exports.load = function (nodes, prefix) {
let uuid = require('uuid');
if (prefix != null && prefix.length > 0) {
prefix = prefix + ':';
} else {
prefix = '';
}
_(nodes).forEach(function (fn, name) {
... |
Text Override
v.2.8.4
by: Matthew D. Jordan
About
A simple interface to modify a dimension's text override value directly. It even features shortcuts for frequently used overrides. Clear a text override by entering an empty string at the command line. If you want to use a chuck of text that includes space characters,... |
#!/bin/sh
# MediaWiki Setup Script
# This script will install and configure MediaWiki on
# an Ubuntu 14.04 droplet
export DEBIAN_FRONTEND=noninteractive;
# Generate root and wordpress mysql passwords
rootmysqlpass=`dd if=/dev/urandom bs=1 count=32 2>/dev/null | base64 -w 0 | rev | cut -b 2- | rev | tr -dc 'a-zA-Z0-9'`;... |
# Zensible Mongo
Extension library to simplify working with mongo, it uses a builder pattern approach to performing calls to the mongo db, this allows for specific type of calls to be stored.
# Motivation
We all had to perform simple mongo actions but because of the mindboogling poor api of the offical mongo driver in... |
import { connect } from 'react-redux';
import Main from './Main';
import * as userActions from '../../state/user/userActions';
const mapStateToProps = (state, ownProps) => {
return {
activeTab: ownProps.location.pathname.split('/')[2]
};
};
const mapDispatchToProps = (dispatch) => {
return {
getUserData: ... |
import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import { MembersComponent } from './members/members.component';
import { SeatingMapComponent } from './seating-map/seating-map.component';
const routes: Routes = [
{
path: 'members',
component: MembersComponent
... |
# Update the X font indexes:
if [ -x /usr/bin/mkfontdir ]; then
/usr/bin/mkfontscale /usr/share/fonts/TTF
/usr/bin/mkfontdir /usr/share/fonts/TTF
/usr/bin/mkfontscale /usr/share/fonts/OTF
/usr/bin/mkfontdir /usr/share/fonts/OTF
fi
if [ -x /usr/bin/fc-cache ]; then
/usr/bin/fc-cache -f
fi |
(function(angular) {
'use strict';
angular
.module('jstube.<API key>.popup')
.directive('jstubeNavbar', jstubeNavbar);
function jstubeNavbar() {
return {
restrict: 'E',
templateUrl: 'nav/_navbar.html',
controller: 'NavbarController',
co... |
// Just re-export everything from the other files
export * from './base-table-name';
export * from './compound-constraint';
export * from './constraint';
export * from './constraint-type';
export * from './default-value';
export * from './error-response';
export * from './filter-operation';
export * from './filter';
ex... |
package com.dranawhite.mybatis.handler;
import com.alibaba.fastjson.JSON;
import com.dranawhite.mybatis.model.Address;
import com.dranawhite.mybatis.model.FullAddress;
import org.apache.ibatis.type.JdbcType;
import org.apache.ibatis.type.MappedJdbcTypes;
import org.apache.ibatis.type.MappedTypes;
import org.apache.ibat... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Login Page - Photon Admin Panel Theme</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0">
<link rel="shortcut icon" href="ht... |
from util.tipo import tipo
class <API key>(object):
def __init__(self, tracker, time, direction, opcode, data):
print(str(type(self)).split('.')[3]+'('+str(len(data))+'): '+ str(data.get_array_hex(1))[1:-1]) |
export hom, hom_check
"""
`hom_check(G,H,d)` checks if the dictionary `d` is a graph homomorphism
from `G` to `H`.
"""
function hom_check(G::SimpleGraph, H::SimpleGraph, d::Dict)::Bool
for e in G.E
v, w = e
x = d[v]
y = d[w]
if !H[x, y]
return false
end
end
... |
"""Auto-generated file, do not edit by hand. BG metadata"""
from ..phonemetadata import NumberFormat, PhoneNumberDesc, PhoneMetadata
PHONE_METADATA_BG = PhoneMetadata(id='BG', country_code=359, <API key>='00',
general_desc=PhoneNumberDesc(<API key>='[23567]\\d{5,7}|[489]\\d{6,8}', <API key>='\\d{5,9}'),
fixed_l... |
package tasks
// This file is generated by methodGenerator.
// DO NOT MOTIFY THIS FILE.
import (
"net/url"
"github.com/kawaken/go-rtm/methods"
)
// AddTags returns "rtm.tasks.addTags" method instance.
func AddTags(timeline string, listID string, taskseriesID string, taskID string, tags string) *methods.Method {... |
require('babel-polyfill');
/* eslint-disable */
// Webpack config for creating the production bundle.
var path = require('path');
var webpack = require('webpack');
var CleanPlugin = require('<API key>');
var ExtractTextPlugin = require('<API key>');
var strip = require('strip-loader');
var projectRootPath = path.resolv... |
from itertools import product
import numpy as np
from sympy import And
import pytest
from conftest import skipif, opts_tiling
from devito import (<API key>, Grid, Function, TimeFunction, SparseFunction, # noqa
Eq, Operator, Constant, Dimension, SubDimension, switchconfig,
SubDom... |
App.SubPhotoInstance = DS.Model.extend({
width: DS.attr('number'),
height: DS.attr('number'),
url: DS.attr('string'),
type: 'sub_photo_instance'
}); |
"""Kytos SDN Platform."""
from pkgutil import extend_path
__path__ = extend_path(__path__, __name__) |
finApp.directive('brief', function () {
return {
restrict: 'E',
templateUrl: 'views/directives/brief.html',
controller: 'BriefController',
controllerAs: 'bfc'
};
}); |
// <API key>.h
// XCRegex
#import <Cocoa/Cocoa.h>
@interface <API key> : NSWindowController
@end |
using OpenTK;
using OpenTK.Graphics.OpenGL;
namespace p_1
{
class Spritebatch
{
public static void DrawSprite(Texture2D texture, RectangleF rectangle)
{
DrawSprite(texture, new Vector2(rectangle.X, rectangle.Y), new Vector2(rectangle.Width / texture.Width, rectangle.Height / texture.... |
describe("grid-columns", function() {
function createSuite(buffered) {
describe(buffered ? "with buffered rendering" : "without buffered rendering", function() {
var defaultColNum = 4,
totalWidth = 1000,
grid, view, colRef, store, column;
function spyO... |
#!/usr/bin/env python
import os
import sys
if __name__ == "__main__":
os.environ.setdefault("<API key>", "pigame.settings")
try:
from django.core.management import <API key>
except ImportError:
# The above import may fail for some other reason. Ensure that the
# issue is really that ... |
// Generated by class-dump 3.5 (64 bit).
#import "NSObject.h"
@class IBConnection, NSSet, NSString;
@interface <API key> : NSObject
{
NSString *connectionName;
long long relationshipType;
NSString *sourceClassName;
id source;
IBConnection *prototype;
BOOL <API key>;
NSSet *<API key>;
}
@... |
package com.tantaman.commons.examples;
import java.util.Collection;
import java.util.LinkedList;
import org.debian.alioth.shootout.u32.nbody.NBodySystem;
import com.tantaman.commons.concurrent.Parallel;
public class ParallelForDemo {
public static void main(String[] args) {
Collection<Integer> elems = new L... |
<!DOCTYPE html>
<!--[if lt IE 7 ]><html class="ie ie6" lang="en"> <![endif]-->
<!--[if IE 7 ]><html class="ie ie7" lang="en"> <![endif]-->
<!--[if IE 8 ]><html class="ie ie8" lang="en"> <![endif]-->
<!--[if (gte IE 9)|!(IE)]><!--><html lang="en"> <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta name="viewport" ... |
<?php
namespace Akamon\OAuth2\Server\Domain\Service\Token\TokenGranter;
use Akamon\OAuth2\Server\Domain\Exception\OAuthError\<API key>;
use Akamon\OAuth2\Server\Domain\Exception\OAuthError\Un<API key>;
use Akamon\OAuth2\Server\Domain\Exception\OAuthError\<API key>;
use Akamon\OAuth2\Server\Domain\Service\Client\ClientO... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>metacoq-safechecker: 6 m 37 s</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>jmlcoq: Not compatible </title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" r... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>propcalc: Not compatible </title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css"... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>karatsuba: Not compatible </title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css... |
title: "Does detecting a Minimally Conscious State in the ICU matter ?"
date: 2017-11-22 00:00:00
categories: [Publi]
tags: [Disorders of Consciousness, ICU, Consciousness, MyPublications]
Our paper entitled **"Survival and consciousness recovery are better in the minimally conscious state than in the vegetative sta... |
<nav class="navbar navbar-default navbar-fixed-top">
<div class="container-fluid">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#<API key>" aria-expanded="false">
... |
import {keccak256, bufferToHex} from "ethereumjs-util"
export default class MerkleTree {
constructor(elements) {
// Filter empty strings and hash elements
this.elements = elements.filter(el => el).map(el => keccak256(el))
// Deduplicate elements
this.elements = this.bufDedup(this.element... |
// peas.js
// tree data structure in javascript
var peas = function() {
// "sub" here is used as an object container for
// operations related to sub nodes.
// Each pea node will have a "sub" property
// with an instance of "sub"
var sub = function() {}
// the current node is accesable as "this.... |
using System;
using System.Linq;
using System.Reflection;
using System.Text;
namespace Stealer
{
public class Spy
{
public string StealFieldInfo(string className, params string[] fieldsNames)
{
var sb = new StringBuilder();
sb.AppendLine($"Class under investigation: {clas... |
from .. import Provider as CompanyProvider
class Provider(CompanyProvider):
formats = (
"{{last_name}} {{company_suffix}}",
"{{last_name}} {{last_name}} {{company_suffix}}",
"{{large_company}}",
)
large_companies = (
"AZAL",
"Azergold",
"SOCAR",
"Socar... |
#ifndef ENGINE_H_
#define ENGINE_H_
class InputMgr;
#include <GfxMgr.h>
#include <inputMgr.h>
#include <EntityMgr.h>
#include <gameMgr.h>
#include <Types.h>
#include <UiMgr.h>
#include <SoundMgr.h>
#include <Grid.h>
class EntityMgr;
class Engine {
private:
public:
Engine();
~Engine();
EntityMgr* entity... |
import formatPhoneNumber, { <API key> } from './<API key>'
describe('<API key>', () => {
it('should format phone numbers', () => {
formatPhoneNumber('+12133734253', 'NATIONAL').should.equal('(213) 373-4253')
formatPhoneNumber('+12133734253', 'INTERNATIONAL').should.equal('+1 213 373 4253')
<... |
import React from 'react';
import { withStyles } from '@material-ui/core/styles';
import { green } from '@material-ui/core/colors';
import Radio, { RadioProps } from '@material-ui/core/Radio';
import <API key> from '@material-ui/icons/<API key>';
import <API key> from '@material-ui/icons/RadioButtonChecked';
const Gree... |
// ViewController.h
// Examples
#import <UIKit/UIKit.h>
#import <TLIndexPathTools/<API key>.h>
@interface <API key> : <API key>
@end |
<!DOCTYPE html PUBLIC "-
<html lang='en' xml:lang='en' xmlns='http:
<style type='text/css'>body { background-color: rgb(240, 240, 245); }</style>
<style type='text/css'>span.cross-ref-title {
font-size: 140%;
}
span.cross-ref a {
text-decoration: none;
}
span.cross-ref {
background-color:#f3f7fa;
border: 1p... |
class JeraPushGenerator < Rails::Generators::NamedBase
desc "This generator creates an initializer file at config/initializers"
source_root File.expand_path("../templates", __FILE__)
MissingModel = Class.new(Thor::Error)
def initializer_file
template 'jera_push.rb', 'config/initializers/jera_push.rb'
in... |
<!DOCTYPE HTML>
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (11.0.10) on Thu Apr 15 10:34:57 CEST 2021 -->
<title>Uses of Class com.wrapper.spotify.model_objects.miscellaneous.CurrentlyPlaying.Builder (Spotify Web API Java Client 6.5.3 API)</title>
<meta http-equiv="Content-Type" content="text/ht... |
#include "wallet.h"
#include "walletdb.h"
#include "crypter.h"
#include "ui_interface.h"
#include "base58.h"
using namespace std;
// mapWallet
struct CompareValueOnly
{
bool operator()(const pair<int64, pair<const CWalletTx*, unsigned int> >& t1,
const pair<int64, pair<const CWalletTx*, unsigned... |
CREATE TABLE SM_STATE_DEFINITION(
STATE_ID NUMBER NOT NULL,
WORKFLOW_ID NUMBER NOT NULL,
STATE_NAME VARCHAR2(256) NOT NULL,
EMAIL_TO VARCHAR2(2048),
PRIMARY KEY(STATE_ID),
FOREIGN KEY(WORKFLOW_ID) REFERENCES <API key>(WORKFLOW_ID)
);
CREATE UNIQUE INDEX <API key> ON SM_STATE_DEFIN... |
<?php
/*
Safe sample
input : get the field UserData from the variable $_POST
sanitize : settype (float)
construction : use of sprintf via a %u with simple quote
*/
$tainted = $_POST['UserData'];
if(settype($tainted, "float"))
$tainted = $tainted ;
else
$tainted = 0.0 ;
$query = sprintf("SELECT * FROM student where ... |
var final_transcript = '';
var recognizing = false;
//socket.emit('client_type', {text: "Speaker"});
if ('<API key>' in window) {
var recognition = new <API key>();
recognition.continuous = true;
recognition.interimResults = true;
console.log("MAX ALTERNATIVES = "+ recognition.maxAlternatives);
reco... |
/* eslint-disable promise/always-return */
import { <API key>, runQuery } from "schema/v1/test/utils"
describe("<API key>", () => {
it("updates and returns a collector profile", () => {
/* eslint-disable max-len */
const mutation = `
mutation {
<API key>(input: { professional_buyer: true, loyalt... |
module.exports = require('./src/tracking'); |
<!DOCTYPE html>
<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="keywords" content=" ">
<title>Subscribe to Messaging Events | LivePerson Technical Documentation</... |
<?php
namespace Sellsy\Tests\Sellsy\Criteria;
use Sellsy\Criteria\CriteriaInterface;
use Sellsy\Criteria\EmptyCriteria;
/**
* Class EmptyCriteriaTest
*
* @package Sellsy\Tests\Sellsy\Criteria
*/
class EmptyCriteriaTest extends \<API key>
{
/**
* @return EmptyCriteria
*/
public function <API key>()... |
public class <API key> {
public void reverseSequence(String str) {
if (str == null) return;
String[] strArray = str.split(" ");
StringBuilder sb = new StringBuilder();
for (int i = strArray.length-1; i >= 0; --i)
sb.append(strArray[i] + " ");
System.out.println(sb... |
<?php
class <API key> extends CI_Model {
public function __construct()
{
parent::__construct();
}
public function get_milist($where = array())
{
$this->db->select('*');
$this->db->where($where);
$query = $this->db->get('autoreport_email');
return $query->resul... |
layout: page
title: Incoming webhooks
permalink: /incoming_webhook
order: 4
headings:
- title: Posting a message with Incoming Webhooks
## Posting a message with Incoming Webhooks
[Incoming webhooks](https://api.slack.com/incoming-webhooks) are an easy way to send notifications
to a Slack channel with a minimum of ... |
/*
Configures webpack to build only assets required
for integration environments.
*/
const webpack = require('webpack');
const merge = require('webpack-merge');
const { source, sourceAll } = require('../lib/path-helpers');
const ciBuildWorkflow = require('./workflow/build.ci');
const { entries } = require(source('f... |
/**
* A null-safe function to repeat the source string the desired amount of times.
* @private
* @param {String} source
* @param {Number} times
* @returns {String}
*/
function _repeat (source, times) {
var result = "";
for (var i = 0; i < times; i++) {
result += source;
}
return result;
}
... |
<!doctype html>
<html class="default no-js">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>CTEArmorRicochet | demofile</title>
<meta name="description" content="Documentation for demofile">
<meta name="viewport" content="width=device-width, initial-scale=... |
(function(d,a){function b(a,b){var g=a.nodeName.toLowerCase();if("area"===g){var g=a.parentNode,i=g.name;if(!a.href||!i||g.nodeName.toLowerCase()!=="map")return!1;g=d("img[usemap=
keyCode:{ALT:18,BACKSPACE:8,CAPS_LOCK:20,COMMA:188,COMMAND:91,COMMAND_LEFT:91,COMMAND_RIGHT:93,CONTROL:17,DELETE:46,DOWN:40,END:35,ENTER:13,... |
"""
Handles backports of the standard library's `fractions.py`.
The fractions module in 2.6 does not handle being instantiated using a
float and then calculating an approximate fraction based on that.
This functionality is required by the FITS unit format generator,
since the FITS unit format handles only rational, not... |
/* eslint-disable func-names */
const {
sampleUrls,
shortSampleUrls,
E2E_WAIT_TIME: WAIT_TIME,
<API key>: PRESENT_WAIT_TIME
} = require('../e2e_helper');
module.exports = {
after(browser) {
browser.end();
},
'Go to top page': browser => {
browser.page.index().navigate().<API key>('body', PRESENT_W... |
#!/bin/sh -e
usage()
{
echo "Usage: ${0} [--structure-only] DATABASE_NAME"
}
STRUCTURE_ONLY=false
if [ "${1}" = --structure-only ]; then
STRUCTURE_ONLY=true
shift
fi
DATABASE_NAME="${1}"
if [ "${DATABASE_NAME}" = "" ]; then
usage
exit 1
fi
if [ "${STRUCTURE_ONLY}" = true ]; then
FILE="${DATABASE... |
<?php
defined('_JEXEC') or die('Restricted access');
?><?php
$name = 'Technology';
$thumb = 'media/com_acymailing/templates/technology_resp/thumb.jpg';
$body = JFile::read(dirname(__FILE__).DS.'index.html');
$styles['tag_h1'] = 'font-size:20px; margin:0px; margin-bottom:15px; padding:0px; font-weight:bold; color:#01bbe... |
using System;
using Windows.UI.Xaml;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace ManagedUnitTests
{
public static class TestUtilities
{
<summary>
Handles the difference between <API key> in managed and native.
</summary>
public static void <API key>(Action actio... |
<?php
namespace <API key>\__CG__\Doctrine\ORM;
/**
* CG library enhanced proxy class.
*
* This code was generated automatically by the CG library, manual changes to it
* will be lost upon next generation.
*/
class EntityManager extends \Doctrine\ORM\EntityManager
{
private $delegate;
private $container;
... |
<a name="2.7.8"></a>
## 2.7.8 (2016-03-20)
* Added new blog to showcase ([d7be966](https://github.com/kikobeats/uno-zen/commit/d7be966))
* Apply effect in tag version as well. ([266f331](https://github.com/kikobeats/uno-zen/commit/266f331))
* Merge pull request
* Merge pull request
* Removing blog ([5c92c32](https://gi... |
import {statementType} from "../_utils";
import * as Statements from "../../../src/abap/statements/";
const tests = [
"METHOD zfoobar.",
"METHOD foobar by kernel module foobar fail.",
"METHOD foobar by kernel module foobar ignore.",
"METHOD if_foo~write BY KERNEL MODULE foobar.",
"METHOD foobar BY DATABASE PR... |
#! /usr/bin/env node
import minimist from 'minimist'
import Avifors from './Avifors'
import YamlModelBuilder from './model/YamlModelBuilder'
import Configuration from './Configuration'
import {helpMessage} from './help'
import YamlHelper from './tools/YamlHelper'
const avifors = new Avifors()
const corePlugins = ['./mo... |
# -*- coding: utf-8 -*-
import os.path
from django.db import models
from django.utils.translation import ugettext_lazy as _
from django.conf import settings as django_settings
from django.db.models import signals
from know.plugins.attachments import settings
from know import managers
from know.models.pluginbase import ... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>dep-map: 32 s </title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" rel="style... |
package h1z1.screens;
import h1z1.MainFrame;
import h1z1.game.GameState;
import h1z1.input.ButtonHandler;
import h1z1.input.InputButton;
import h1z1.input.InputProvider;
import h1z1.io.ResourceManager;
import javax.imageio.ImageIO;
import java.awt.*;
import java.util.List;
import h1z1.game.Maze;
public class <API key> ... |
import express from 'express'
import cors from 'cors'
import bodyParser from 'body-parser'
import helmet from 'helmet'
import httpStatus from 'http-status'
import path from 'path'
import routes from './routes'
import logger from './helpers/logger.js'
const app = express()
// Pug
app.set('view engine', 'pug')
app.set('v... |
<?php
namespace PandaGroup\StoreLocator\Controller\Adminhtml\Index;
use Magento\Framework\Exception\LocalizedException;
class Save extends \Magento\Backend\App\Action
{
/** @var \Magento\Framework\App\Request\<API key> */
protected $dataPersistor;
/** @var \PandaGroup\StoreLocator\Model\RegionsData */
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.