answer stringlengths 15 1.25M |
|---|
"use strict";
exports.__esModule = true;
var _typeof2 = require("babel-runtime/helpers/typeof");
var _typeof3 = <API key>(_typeof2);
var _keys = require("babel-runtime/core-js/object/keys");
var _keys2 = <API key>(_keys);
var _getIterator2 = require("babel-runtime/core-js/get-iterator");
var _getIterator3 = <API key>(_... |
body,td,pre{font-family:Verdana,Arial,Helvetica,sans-serif;font-size:10px}body{background:#FFF}.mceVisualAid{border:1px dashed #BBB}* html body{<API key>:#F0F0EE;<API key>:#676662;<API key>:#F0F0EE;<API key>:#DDD;<API key>:#E0E0DD;<API key>:#F0F0EE;<API key>:#F0F0EE;<API key>:#F5F5F5} |
<!
setTimeout(function() { postMessage(1) }, 10);
/*
-->
<!doctype html>
<title>setTimeout</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<div id=log></div>
<script>
async_test(function() {
var worker = new Worker('#');
worker.onmessage = this.step_... |
var gulp = require('gulp');
var paths = require('../paths');
var del = require('del');
var vinylPaths = require('vinyl-paths');
// deletes all files in the output path
gulp.task('clean', function() {
return gulp.src([paths.output])
.pipe(vinylPaths(del));
}); |
var test = require('tap').test
var server = require('./lib/server.js')
var common = require('./lib/common.js')
var client = common.freshClient()
function nop () {}
var URI = 'http://localhost:1337/rewrite'
var TOKEN = 'b00b00feed'
var PARAMS = {
auth: {
token: TOKEN
}
}
test('logout call contract', function (t)... |
//>>built
define("dojo/store/JsonRest",["../_base/xhr","../_base/lang","../json","../_base/declare","./util/QueryResults"],function(_1,_2,_3,_4,_5){
var _6=null;
return _4("dojo.store.JsonRest",_6,{constructor:function(_7){
this.headers={};
_4.safeMixin(this,_7);
},headers:{},target:"",idProperty:"id",ascendingPrefix:"... |
#ifndef __WLCORE_I_H__
#define __WLCORE_I_H__
#include <linux/mutex.h>
#include <linux/completion.h>
#include <linux/spinlock.h>
#include <linux/list.h>
#include <linux/bitops.h>
#include <net/mac80211.h>
#include "conf.h"
#include "ini.h"
/*
* wl127x and wl128x are using the same NVS file name. However, the
* ini pa... |
/*
* Touchpad driver for QSD platform.
*/
struct <API key> {
int gpioirq;
int gpiosuspend;
int (*gpio_setup) (void);
void (*gpio_shutdown)(void);
}; |
require File.expand_path('../helper', __FILE__)
require 'open3'
class <API key> < Rake::TestCase
include RubyRunner
def invoke_normal(task_name)
rake task_name.to_s
@out
end
def <API key>
rakefile %q{
task :check_task do
Module.new { p defined?(task) }
end
task :check_file ... |
#ifndef __ASM_ARM_ARCH_IO_H
#define __ASM_ARM_ARCH_IO_H
#define IO_SPACE_LIMIT 0xffffffff
#define __io(a) __typesafe_io(a)
#define __mem_pci(a) (a)
#define __mem_isa(a) (a)
#endif |
#!/usr/bin/env python
import os
import re
import subprocess
import sys
import tempfile
CC = "gcc"
CFLAGS = "-fmax-errors=4 -std=c99 -pipe -D_POSIX_C_SOURCE=200809L -W -Wall -Wno-unused-variable -<API key> -Wno-unused-label -Wno-unused-value -<API key> -Wno-unused-function -Wno-main".split(" ")
class Table():
pass
c... |
var cx = require('classnames');
var blacklist = require('blacklist');
var React = require('react');
module.exports = React.createClass({
displayName: 'Field',
getDefaultProps() {
return {
d: null,
t: null,
m: null,
label: ''
}
},
renderError() {
if(!this.props.error) return n... |
/* $OpenBSD: intr.h,v 1.45 2015/09/13 20:38:45 kettenis Exp $ */
#ifndef _MACHINE_INTR_H_
#define _MACHINE_INTR_H_
/*
* The interrupt level ipl is a logical level; per-platform interrupt
* code will turn it into the appropriate hardware interrupt masks
* values.
*
* Interrupt sources on the CPU are kept enabled... |
// Use of this source code is governed by an ISC
package dcrjson
import (
"errors"
"reflect"
"sort"
"testing"
)
// Register methods for testing purposes. This does not conflict with
// registration performed by external packages as they are done in separate
// builds.
func init() {
MustRegister("ge... |
#ifndef <API key>
#define <API key>
#include <processor/types.h>
#include <Spinlock.h>
#include <processor/VirtualAddressSpace.h>
// Virtual address space layout
#define KERNEL_SPACE_START reinterpret_cast<void*>(0xC0000000)
#define <API key> reinterpret_cast<void*>(0x4FA00000)
#define <API key> ... |
<!DOCTYPE html>
<html lang="en-GB">
<head>
<base href="/">
<meta name="fragment" content="!" />
<title>Movies Search App</title>
</head>
<body>
<div data-ng-view></div>
<script src="/static/bundle.js"></script>
</body>
</html> |
#include <assert.h>
#include <err.h>
#include "str.h"
#include "print.h"
char *humansize(long double size) {
assert(size > 0);
static const char units[] = "BKMGTPE";
static const size_t units_len = sizeof(units);
char *res = NULL;
size_t i = 0;
while (size >= 1024 && i < units_len) {
size /= 1024;
i... |
# Picnic CSS
> Note: If your site breaks please read the [deprecation notice](https://github.com/picnicss/picnic/issues/42) (and I apologize for it).
Unpack your meal and get coding. An invasive CSS library to get your style started.
## Getting started
There are many ways of using Picnic CSS in your projects. Here a br... |
package info.faceland.loot.data;
public class PriceData {
private int price;
private boolean rare;
public PriceData (int price, boolean rare) {
this.price = price;
this.rare = rare;
}
public int getPrice() {
return price;
}
public void setPrice(int price) {
this.price = price;
}
public... |
#include "kvazaarfilter.h"
#include "statisticsinterface.h"
#include "common.h"
#include "settingskeys.h"
#include "logger.h"
#include <kvazaar.h>
#include <QtDebug>
#include <QTime>
#include <QSize>
enum RETURN_STATUS {C_SUCCESS = 0, C_FAILURE = -1};
KvazaarFilter::KvazaarFilter(QString id, StatisticsInterface *stats,... |
/* @flow */
import { PropTypes } from 'react'
export default PropTypes.oneOfType([
// [Number, Number]
PropTypes.arrayOf(PropTypes.number),
// {lat: Number, lng: Number}
PropTypes.shape({
lat: PropTypes.number,
lng: PropTypes.number,
}),
// {lat: Number, lon: Number}
PropTypes.shape({
lat: Pro... |
# straycats
Straycats is a silly demo application that I use to explore various technologies and architectures.
The idea is an application where anyone can report the sighting of a cat, and users can signup and search for reported cats, and choose to be notified when a critter matching their criteria is reported.
# Ide... |
/* $OpenBSD: cread.c,v 1.13 2009/01/18 21:46:50 miod Exp $ */
/* $NetBSD: cread.c,v 1.2 1997/02/04 18:38:20 thorpej Exp $ */
/* support for compressed bootfiles
(only read)
replaces open(), close(), read(), lseek().
original libsa open(), close(), read(), lseek() are called
as oopen(), oclose(), oread()... |
// Arguments: Doubles, Doubles, Doubles
#include <stan/math/prim/scal.hpp>
using std::vector;
using std::numeric_limits;
using stan::math::var;
class AgradCdfGumbel : public AgradCdfTest {
public:
void valid_values(vector<vector<double> >& parameters,
vector<double>& cdf) {
vector<double> param(3);
pa... |
import { modulo } from './Math.js'
export function random(x) {
return modulo(Math.sin(x) * 43758.5453123, 1)
} |
const test = require('tape')
const sinon = require('sinon')
const helpers = require('../test/helpers')
const MockCrock = require('../test/MockCrock')
const bindFunc = helpers.bindFunc
const curry = require('./curry')
const _compose = curry(require('./compose'))
const isFunction = require('./isFunction')
const isObject ... |
'use strict';
var main = {
expand:true,
cwd: './build/styles/',
src:['*.css'],
dest: './build/styles/'
};
module.exports = {
main:main
}; |
# hard
[![experimental][stability-image]][stability-url]
## Why?
## Installation
sh
$ npm install akileez\hard
## Usage
js
## API
js
## See Also
[ISC](https:
[stability-image]: https://img.shields.io/badge/<API key>.svg?style=flat-square
[stability-url]: https://github.com/akileez/hard
[license-img]: https:
[license-ur... |
package de.klimek.spacecurl.activities;
import android.animation.Animator;
import android.animation.<API key>;
import android.content.Context;
import android.content.pm.ActivityInfo;
import android.graphics.Color;
import android.os.Bundle;
import android.support.v4.app.FragmentActivity;
import android.util.Log;
import ... |
// C++ entry point
#include "Elf32.h"
// autogen.h contains the full kernel binary in a char array
#include "autogen.h"
extern "C" {
volatile unsigned char *uart1 = (volatile unsigned char*) 0x4806A000;
volatile unsigned char *uart2 = (volatile unsigned char*) 0x4806C000;
volatile unsigned char *uart3 = (volatile unsig... |
import <API key> from '../../../../src/content_scripts/pivotal_tracker/use_cases/<API key>'
import WWLTWRepository from '../../../../src/content_scripts/repositories/wwltw_repository';
import StoryTitleProvider from '../../../../src/content_scripts/utilities/<API key>';
import ProjectIdProvider from '../../../../src/co... |
package gobular
import (
"testing"
)
func testFit(t *testing.T, s string, must string, len uint32, align Alignment) {
got := ansiEsc.<API key>(fitPad(len, align, s), "")
if got != must {
t.Errorf("Must:|%s| Got:|%s|\n", must, got)
}
}
// TODO: test multibyte and/or double-width utf8 characters
f... |
# ignore-together.py - a distributed ignore list engine for IRC.
from __future__ import print_function
import os
import sys
import yaml
weechat_is_fake = False
try:
import weechat
except:
class FakeWeechat:
def command(self, cmd):
print(cmd)
weechat = FakeWeechat()
weechat_is_fake = ... |
"use strict";
var Template = function (options) {
this._pageTitle = '';
this._titleSeparator = options.title_separator;
this._siteTitle = options.site_title;
this._req = null;
this._res = null;
};
Template.prototype.bindMiddleware = function(req, res) {
this._req ... |
/* eslint-env mocha */
const mockBot = require('../mockBot')
const assert = require('assert')
const mockery = require('mockery')
const sinon = require('sinon')
const json = JSON.stringify({
state: 'normal',
nowTitle: 'Midnight News',
nowInfo: '20/03/2019',
nextStart: '2019-03-20T00:30:00Z',
nextTitle: 'Book o... |
#include <stdint.h>
#include <set>
#include <string>
#include <iostream>
#include <oriutil/debug.h>
#include <ori/localrepo.h>
using namespace std;
extern LocalRepo repository;
int
cmd_listobj(int argc, char * const argv[])
{
set<ObjectInfo> objects = repository.listObjects();
set<ObjectInfo>::iterator it;
... |
package com.evanbyrne.<API key>.ui;
import java.util.ArrayList;
import java.util.LinkedHashMap;
import java.util.Map;
import java.util.Scanner;
import java.util.SortedMap;
import org.jooq.lambda.tuple.Tuple2;
import com.evanbyrne.<API key>.coin.Cents;
import com.evanbyrne.<API key>.coin.Coin;
import com.evanbyrne.<API ... |
import { Accessor, AnimationSampler, Document, Root, Transform, TransformContext } from '@gltf-transform/core';
import { createTransform, isTransformPending } from './utils';
const NAME = 'resample';
export interface ResampleOptions {tolerance?: number}
const RESAMPLE_DEFAULTS: Required<ResampleOptions> = {tolerance: ... |
describe("Membrane Panel Operations with flat files:", function() {
"use strict";
var window;
beforeEach(async function() {
await <API key>("base/gui/index.html");
window = testFrame.contentWindow;
window.LoadPanel.testMode = {fakeFiles: true};
let p1 = MessageEventPromise(window, "MembranePanel i... |
/*
TEXT DECORATION
*/
.strike { text-decoration: line-through; }
.underline { text-decoration: underline; }
.no-underline { text-decoration: none; }
@media screen and (min-width: 30em) {
.strike-ns { text-decoration: line-through; }
.underline-ns { text-decoration: underline; }
.no-underline-ns { text-decoration:... |
tressa.title('HyperHTML');
tressa.assert(typeof hyperHTML === 'function', 'hyperHTML is a function');
try { tressa.log(''); } catch(e) { tressa.log = console.log.bind(console); }
tressa.async(function (done) {
tressa.log('## injecting text and attributes');
var i = 0;
var div = document.body.appendChild(document.... |
#include "EventHandler.hpp"
#include <SDL2/SDL.h>
int EventFilter(void *userData, SDL_Event *event);
void SetUpEvents(void) {
SDL_EventState(SDL_APP_TERMINATING, SDL_IGNORE);
SDL_EventState(SDL_APP_LOWMEMORY, SDL_IGNORE);
SDL_EventState(<API key>, SDL_IGNORE);
SDL_EventState(<API key>, SDL_IGNORE);
SDL_E... |
# node-aurora
Node.js client library for interacting with Aurora Dreamband.
Official documentation coming soon. Until then, consider this package a work in progress, subject to breaking changes. |
MAIN= sosplice-slides
LATEX?= latex </dev/null
XDVI?= xdvi -paper a4
DVIPS?= dvips
GV?= gv
PSPDF?= ps2pdf
DVIPDF?= dvipdf
XPDF?= xpdf
ISPELL?= ispell -t
.PHONY: all clean dvi ps pdf xdvi gv xpdf
all: dvi ps pdf
dvi: ${MAIN}.dvi
ps: ${MAIN}.ps
pdf: ${MAIN}.pdf
${MAI... |
var DND_START_EVENT = 'dnd-start',
DND_END_EVENT = 'dnd-end',
DND_DRAG_EVENT = 'dnd-drag';
angular
.module( 'app' )
.config( [ '<API key>', function(<API key>){
<API key>.configureDefaults({
iScroll: {
momentum: false,
mouseWheel: true,
disableMouse: false,
... |
package com.io7m.jcanephora.tests.lwjgl3;
import com.io7m.jcanephora.core.api.JCGLContextType;
import com.io7m.jcanephora.core.api.<API key>;
import com.io7m.jcanephora.tests.contracts.<API key>;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
public final class <API key> extends <API key>
{
private static f... |
'use strict'
let _ = require('lodash')
let HttpClient = require('./http-client')
/**
* Server configuration and environment information
* @extends {HttpClient}
*/
class Config extends HttpClient {
/**
* @constructs Config
* @param {Object} options General configuration options
* @param {Object} options.ht... |
import $ from 'jquery';
import { router } from 'src/router';
import './header.scss';
export default class Header {
static selectors = {
button: '.header__enter',
search: '.header__search'
};
constructor($root) {
this.elements = {
$root,
$window: $(window)
... |
import re
from exchange.constants import (
CURRENCIES,
CURRENCY_NAMES,
DEFAULT_CURRENCY,
CURRENCY_EUR,
CURRENCY_UAH,
CURRENCY_USD,
<API key>)
def round_number(value, decimal_places=2, down=False):
assert decimal_places > 0
factor = 1.0 ** decimal_places
sign = -1 if value < 0 els... |
package org.apollo.game.event.handler.impl;
import org.apollo.game.event.handler.EventHandler;
import org.apollo.game.event.handler.EventHandlerContext;
import org.apollo.game.event.impl.ItemOnItemEvent;
import org.apollo.game.model.Inventory;
import org.apollo.game.model.Item;
import org.apollo.game.model.Player;
/**
... |
"use strict";
describe("This package", function(){
it("rubs the lotion on its skin, or else", function(){
2..should.equal(2); // In this universe, it'd damn well better
});
it("gets the hose again", function(){
this.should.be.extensible.and.ok; // Eventually
});
it("should not fail",... |
/* $OpenBSD: ptrace.h,v 1.4 2011/11/10 22:48:13 deraadt Exp $ */
/*
* MD ptrace definitions
*/
#define PT_STEP (PT_FIRSTMACH + 0)
#define PT_GETREGS (PT_FIRSTMACH + 1)
#define PT_SETREGS (PT_FIRSTMACH + 2)
#define PT_GETFPREGS (PT_FIRSTMACH + 3)
#define PT_SETFPREGS (PT_FIRSTMA... |
'use strict';
var yeoman = require('yeoman-generator'),
chalk = require('chalk'),
yosay = require('yosay'),
bakery = require('../../lib/bakery'),
feedback = require('../../lib/feedback'),
debug = require('debug')('bakery:generators:cm-bash:index'),
glob = require('glob'),
path = require('path'),
_ = req... |
package com.leychina.activity;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.webkit.WebChromeClient;
import android.widget.ImageView;
import android.widget.TextView;
import com.leychina.R;
import com.leychina.mode... |
export default {
getItem: function (sKey) {
if (!sKey) { return null; }
return decodeURIComponent(document.cookie.replace(new RegExp("(?:(?:^|.*;)\\s*" + encodeURIComponent(sKey).replace(/[\-\.\+\*]/g, "\\$&") + "\\s*\\=\\s*([^;]*).*$)|^.*$"), "$1")) || null;
},
setItem: function (sKey, sValue, vEnd, sPat... |
// <API key>: ISC
// Use of this source code is governed by an ISC
package <API key>
import (
"bytes"
"encoding/json"
"reflect"
"testing"
"golang.org/x/crypto/ed25519"
"github.com/bitmark-inc/bitmarkd/currency"
"github.com/bitmark-inc/bitmarkd/fault"
"github.com/bitmark-inc/bitmarkd/merk... |
FitApp
===
Fitness app for the web. Runs as a [Chrome Extension](https://chrome.google.com/webstore/detail/<API key>) or stand alone app. |
<!
THIS IS AN AUTOGENERATED FILE. EDIT PACKAGES/BOUNDLESS-INPUT/INDEX.JS INSTEAD.
# Input
Input abstracts away the cross-platform differences of placeholder styling and behaviors, for example: Internet Explorer dismisses native placeholders on input focus and other platforms do not. This component ensures that text inp... |
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: google/devtools/containeranalysis/v1alpha1/bill_of_materials.proto
package containeranalysis // import "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1alpha1"
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "mat... |
<!DOCTYPE html PUBLIC "-
<html xmlns="http:
<head>
<title>Jan Kuhl</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="/stylesheets/style.css" rel="stylesheet" type="text/css" />
<link href="/feed/atom.xml" rel="alternate" type="application/atom+xml" />
<scrip... |
// This source file is part of appleseed.
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the follow... |
<!DOCTYPE html>
<HTML><head><TITLE>Manpage of PERF\-SCRIPT</TITLE>
<meta charset="utf-8">
<link rel="stylesheet" href="/css/main.css" type="text/css">
</head>
<body>
<header class="site-header">
<div class="wrap"> <div class="site-title"><a href="/manpages/index.html">linux manpages</a></div>
<div class="site-descri... |
<?php
namespace yanivgal\Exceptions;
use Exception;
class CronomJobException extends Exception { } |
import {Response} from './Response';
import {Settlement} from './Settlement';
export interface ReportResponse extends Response {
settlements: Settlement[];
} |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>VSTGUI: Class Members</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- G... |
'use strict';
// Proxy URL (optional)
const proxyUrl = 'drupal.dev';
// API keys
const TINYPNG_KEY = '';
// fonts
const fontList = [];
// vendors
const jsVendorList = [];
const cssVendorList = [];
// paths to relevant directories
const dirs = {
src: './src',
dest: './dist'
};
// paths to file sources
const sources... |
#ifndef <API key>
#define <API key>
// this is terible
const char matches[] = {
'\0',
'\0',
'\0',
'\0',
'\0',
'\0',
'\0',
'\0',
'\0',
'\0',
'\0',
'\0',
'\0',
'\0',
'\0',
'\0',
'\0',
'\0',
'\0',
'\0',
'\0',
'\0',
'\0',
'\0',
'\0',
'\0',
'\0',
'\0',
'\0',
'\0',
'\0',
'\0',
'\0',
'\0',
'"',
'\0',
'\0',
'\0',
'\0',
'\'',
'... |
package coyote.i13n;
//import static org.junit.Assert.*;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
import static org.junit.Assert.fail;
import org.junit.AfterClass;
import org.junit.Test;
public class EventListTest {
/**
* @throws java.lang.Exception
*/
@AfterClas... |
<?php
namespace Lucid\Common\Struct;
use SplPriorityQueue;
/**
* @class PriorityQueue
* @see \SplPriorityQueue
*
* @package Lucid\Common\Data
* @version $Id$
* @author iwyg <mail@thomas-appel.com>
*/
class PriorityQueue extends SplPriorityQueue
{
/**
* queueOrder
*
* @var int
*/
priva... |
'use strict';
const debug = require('debug')('WechatController');
const EventEmitter = require('events').EventEmitter;
const Cache = require('../../service/Cache');
const Wechat = require('../../service/Wechat');
const config = require('../../config');
const _ = require('lodash');
const async = require('async');
export... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>sudoku: Not compatible </title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" r... |
<?php
namespace Nemundo\Package\Bootstrap\Table;
use Nemundo\Html\Table\Table;
class BootstrapTable extends Table
{
/**
* @var bool
*/
public $smallTable = false;
/**
* @var bool
*/
public $hover = false;
/**
* @var bool
*/
public $inverse = false;
/**
* @v... |
<header class="header-site" role="banner">
<div class="content">
<h1>
<span class="site-title">{{site.username}}</span>
<span class="site-description">{{site.user_title}}</span>
</h1>
<div class="icons-home">
<a aria-label="Send email" href="mailto:{{site.... |
// get the languange parameter in the URL (i for case insensitive;
//exec for test for a match in a string and return thr first match)
function getURLParameter(key) {
var result = new RegExp(key + '=([^&]*)', 'i').exec(window.location.search);
return result && result[1] || '';
}
function toggleLang(lang) {
var la... |
using System;
using System.CodeDom.Compiler;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Globalization;
using System.Linq;
using System.Text;
namespace EduHub.Data.Entities
{
<summary>
Leave Group Types Data Set
</summary>
[GeneratedCode("EduHub Data", ... |
package iso20022
// Details of the standing settlement instruction to be applied.
type <API key> struct {
// Specifies what settlement standing instruction database is to be used to derive the settlement parties involved in the transaction.
<API key> *<API key> `xml:"SttlmStgInstrDB"`
// Vendor of the Settl... |
'use strict';
var _get = require('babel-runtime/helpers/get')['default'];
var _inherits = require('babel-runtime/helpers/inherits')['default'];
var _createClass = require('babel-runtime/helpers/create-class')['default'];
var _classCallCheck = require('babel-runtime/helpers/class-call-check')['default'];
var _extends = ... |
## Spatial elements collectors
from spatialelements import <API key>, Locations
## Membership relations
from Membership import Membership |
!(function(root) {
function Grapnel(opts) {
"use strict";
var self = this; // Scope reference
this.events = {}; // Event Listeners
this.state = null; // Router state object
this.options = opts || {}; // Options
this.options.env = this.options.env || (!!(Object.keys(ro... |
package com.isme.zteui.cache;
import android.graphics.Bitmap;
import android.support.v4.util.LruCache;
import com.android.volley.toolbox.ImageLoader.ImageCache;
public class BitmapLruCache implements ImageCache {
private LruCache<String, Bitmap> mCache;
/**
* 10 M
*/
public BitmapLruCache() {
... |
package uk.gov.gds.ier.transaction.overseas.dateLeftSpecial
import uk.gov.gds.ier.test.ControllerTestSuite
import uk.gov.gds.ier.model.{<API key>, LastRegisteredType, DOB, DateOfBirth}
import uk.gov.gds.ier.model.LastRegisteredType._
import uk.gov.gds.ier.transaction.overseas.InprogressOverseas
class <API key> extends ... |
/* BillboardSceneNode:
* Encapsulates information for rendering a textured billboard.
*/
#ifndef <API key>
#define <API key>
#include "common.h"
#include "SceneNode.h"
#include "OpenGLLight.h"
class BillboardSceneNode : public SceneNode {
public:
BillboardSceneNode(const GLfloat pos[3]);
... |
# <API key>: true
module Hackbot
module Interactions
module Concerns
module Triggerable
extend ActiveSupport::Concern
SLACK_TEAM_ID = Rails.application.secrets.<API key>
class_methods do
# This constructs a fake Slack event to start the interaction with.
# It'll b... |
module Fog
module Compute
class Google
class Mock
def insert_network(_network_name, _ip_range, _options = {})
Fog::Mock.not_implemented
end
end
class Real
def insert_network(network_name, ip_range, options = {})
api_method = @compute.networks.insert
... |
<!doctype html>
<html lang="en" class="no-js">
<head>
<meta charset="utf-8">
<!-- begin SEO -->
<title>iVXjs</title>
<meta property="og:locale" content="en">
<meta property="og:site_name" content="iVXjs">
<meta property="og:title" content="iVXjs">
<link rel="canonical" href="http://localhost:4000/ivx-js/developer/c... |
package warhammerrpg.database.exception;
import warhammerrpg.core.exception.<API key>;
public class DatabaseException extends <API key> {
public DatabaseException(Exception <API key>) {
super(<API key>);
}
public DatabaseException() {
super();
}
} |
# BitcoinJS (bitcoinjs-lib)
[;
void <API key>();
void <API key>();
String getID();
} |
package gwent
const (
// AbilityNone means unit card has no ability at all
AbilityNone = iota
)
// CardUnit is single unit used for combat
type CardUnit struct {
UnitType CardType
UnitRange CardRange
UnitFaction CardFaction
UnitPower, UnitAbility int
UnitHero bool
Basi... |
class Foo { [prop1]: string; } |
package medtronic
import (
"bytes"
"fmt"
"log"
"github.com/ecc1/medtronic/packet"
)
// Command represents a pump command.
type Command byte
//go:generate stringer -type Command
const (
ack Command = 0x06
nak Command = 0x15
cgmWriteTimestamp Command = 0x28... |
(function () {
"use strict";
angular.module('projectManagerSPA').controller('userLoginController', ['<API key>, '$scope', '$state',function (<API key>, $scope, $state) {
$scope.logIn = function () {
<API key>.logIn($scope.username, $scope.password, function () {
$state.go('or... |
require 'spec_helper'
describe ChequeFormatter do
describe ".date_to_ddmmyy" do
subject { ChequeFormatter.date_to_ddmmyy(date) }
context "5-Nov-2011" do
let(:date) { "5-Nov-2011" }
it { should == '051111' }
end
context "2011-11-05" do
let(:date) { "5-Nov-2011" }
it { should == ... |
#!/bin/bash
# Distill standard library documentation from the stdops.c file.
cat Interpreter/stdops.c | grep '//' | colrm 1 3 | tail -n +10 > Documentation/Standard\ Library.mkd |
"""
SensitiveFloat objects for expectations involving r_s and c_s.
Args:
vs: A vector of variational parameters
Attributes:
Each matrix has one row for each color and a column for
star / galaxy. Row 3 is the gamma distribute baseline brightness,
and all other rows are lognormal offsets.
- E_l_a: A NUM_BANDS x NUM_SOUR... |
<reference types="react-scripts" />
declare module "<API key>/lib/Modal" {
const Modal: React.StatelessComponent<IModalProps>;
} |
<!DOCTYPE HTML PUBLIC "-
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_45) on Mon Aug 31 23:15:49 CEST 2015 -->
<title><API key> (FailFast v.1.3)</title>
<meta name="date" content="2015-08-31">
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">... |
#ifndef REVIEWER_H
#define REVIEWER_H
#include "User.h"
#include <string>
class Reviewer: public User{
public:
Reviewer(const std::string& name, const std::string& pass);
virtual UserLevel getLevel() const;
};
#endif |
/*
$Id: MovieFragmentAtom.c,v 1.1.1.1 2002/09/20 08:53:34 julien Exp $
*/
#include "MP4Atoms.h"
#include <stdlib.h>
static void destroy( MP4AtomPtr s )
{
MP4Err err;
<API key> self;
self = (<API key>) s;
if ( self == NULL ) BAILWITHERROR( MP4BadParamErr )
DESTROY_ATOM_LIST_F( atomList );
(se... |
#include "forms/transactioncontrol.h"
#include "forms/graphicbutton.h"
#include "forms/label.h"
#include "forms/listbox.h"
#include "forms/scrollbar.h"
#include "forms/ui.h"
#include "framework/data.h"
#include "framework/framework.h"
#include "framework/logger.h"
#include "framework/renderer.h"
#include "game/state/ci... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.