answer stringlengths 15 1.25M |
|---|
var class_mock =
[
[ "Mock", "class_mock.html#<API key>", null ],
[ "Mock", "class_mock.html#<API key>", null ],
[ "MOCK_METHOD0", "class_mock.html#<API key>", null ],
[ "MOCK_METHOD1", "class_mock.html#<API key>", null ],
[ "MOCK_METHOD1", "class_mock.html#<API key>", null ],
[ "MOCK_METHOD1", ... |
#include "StdAfx.h"
#include ".\datawriter.h"
using namespace std;
DataWriter::DataWriter(const std::string &fileName)
{
this->fileName = fileName;
fileStream = NULL;
//Initialize the filestream
fileStream = new fstream(fileName.c_str(), ios::out|ios::binary|ios::trunc);
}
void DataWriter::Write(int dat... |
# Material-UI Versions
<p class="description">You can come back to this page and switch the version of the docs you're reading at any time.</p>
## Stable versions
The most recent version is recommended in production.
{{"demo": "pages/versions/StableVersions.js", "hideHeader": true}}
Here you can find the latest unrelea... |
namespace mazes.Core.Grids {
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using mazes.Core.Cells;
using mazes.Core.Grids.Cartesian;
public class WeaveGrid : Grid {
private readonly List<UnderCell> _underCells = new List<UnderCell>();
... |
package stream.flarebot.flarebot.mod.modlog;
public enum ModAction {
BAN(true, ModlogEvent.USER_BANNED),
SOFTBAN(true, ModlogEvent.USER_SOFTBANNED),
FORCE_BAN(true, ModlogEvent.USER_BANNED),
TEMP_BAN(true, ModlogEvent.USER_TEMP_BANNED),
UNBAN(false, ModlogEvent.USER_UNBANNED),
KICK(true, ModlogE... |
<?php
namespace cs;
use h;
$Config = Config::instance();
$db = DB::instance();
$Index = Index::instance();
$module_object = $Config->module('Update');
if (!$module_object->version) {
$module_object->version = 0;
}
if (isset($Config->route[0]) && $Config->rout... |
<!DOCTYPE HTML PUBLIC "-
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.6.0_18) on Thu Dec 18 17:18:41 PST 2014 -->
<title>Uses of Class javax.swing.plaf.basic.BasicFileChooserUI.UpdateAction (Java Platform SE 7 )</title>
<meta name="date" content="2014-12-18">
<link rel="stylesheet" type... |
<!DOCTYPE html>
<html xmlns="http:
<head>
<link href="http://gmpg.org/xfn/11" rel="profile">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<link rel="stylesheet" href="/public/font-awesome/css/font-awesome.min.css">
<!-- Enable responsiveness on mobile devices-->
<meta name="viewport" ... |
#pragma once
#include "dg/enums.h"
#include "json/json.h"
namespace eule{
/**
* @brief Provide a mapping between input file and named parameters
*/
struct Parameters
{
unsigned n; //!< \# of polynomial coefficients in R and Z
unsigned Nx; //!< \# of cells in x -direction
unsigned Ny; //!< \# of cells in y... |
import PartyBot from '<API key>';
import React, { PropTypes, Component } from 'react';
import cssModules from 'react-css-modules';
import styles from './index.module.scss';
import Heading from 'grommet/components/Heading';
import Box from 'grommet/components/Box';
import Footer from 'grommet/components/Footer';
import ... |
# Be sure to restart your server when you modify this file.
# Your secret key for verifying the integrity of signed cookies.
# If you change this key, all old signed cookies will become invalid!
# Make sure the secret is at least 30 characters and all random,
# no regular words or you'll be exposed to dictionary attack... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Core.Interfaces
{
public static class <API key>
{
<summary>
This application name represents default commands - when there is no
command for specific application
... |
<?php
namespace seregazhuk\tests\Bot\Providers;
use seregazhuk\PinterestBot\Api\Providers\User;
use seregazhuk\PinterestBot\Helpers\UrlBuilder;
/**
* Class ProfileSettingsTest
* @method User getProvider()
*/
class ProfileSettingsTest extends ProviderBaseTest
{
/** @test */
public function <API key>()
{
... |
<wicket:extend>
<div class="row">
<div class="col-md-12">
<h3>Ergebnisse</h3>
<br/>
</div>
</div>
<div class="row">
<div class="col-md-12 result-border">
<div class="row">
<div class="col-md-12">
<h4>
... |
package edu.isep.sixcolors.view.listener;
import edu.isep.sixcolors.model.Config;
import javax.swing.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
/**
* A popup window asking if the player want's to exit Six Colors
*/
public class Exit implements ActionListener {
@Override
public... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using gView.Framework.IO;
using gView.Framework.Data;
using gView.Framework.UI;
namespace gView.Framework.UI.Dialogs
{
public partial class FormMetadat... |
eslint-plugin-extjs
=========
[ |
namespace EgaViewer_v2
{
partial class CustomPictureBox
{
<summary>
Required designer variable.
</summary>
private System.ComponentModel.IContainer components = null;
<summary>
Clean up any resources being used.
</summary>
<param name="disposing">t... |
// SFML - Simple and Fast Multimedia Library
// Laurent Gomila (laurent@sfml-dev.org)
// In no event will the authors be held liable for any damages arising from the use of this software.
// including commercial applications, and to alter it and redistribute it freely,
// subject to the followin... |
namespace StudentClass
{
public class Course
{
public Course(string name)
: this()
{
this.Name = name;
}
public Course()
{
}
public string Name { get; private set; }
public override string ToString()
{
re... |
// Generated by class-dump 3.5 (64 bit).
#import "CDStructures.h"
@interface <API key> : NSObject <<API key>>
{
SEL _action;
long long _tag;
}
@property long long tag; // @synthesize tag=_tag;
@property SEL action; // @synthesize action=_action;
@end |
<!DOCTYPE HTML PUBLIC "-
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_112-google-v7) on Thu Mar 02 16:51:04 PST 2017 -->
<title><API key></title>
<meta name="date" content="2017-03-02">
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
<script type="text/j... |
//Generated by the Argon Build System
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "opus/silk/float/main_FLP.h"
/* Autocorrelations for a warped frequency axis */
void <API key>(
silk_float *corr, /* O Result [order + 1] */
... |
export const <API key> = {"viewBox":"0 0 24 24","children":[{"name":"path","attribs":{"d":"M0 0h24v24H0V0z","fill":"none"},"children":[]},{"name":"path","attribs":{"d":"M8.1 13.34l2.83-2.83L3.91 3.5c-1.56 1.56-1.56 4.09 0 5.66l4.19 4.18zm12.05-3.19c1.91-1.91 2.28-4.65.81-6.12-1.46-1.46-4.2-1.1-6.12.81-1.59 1.59-2.09 3.... |
# encoding: UTF-8
module DocuBot::LinkTree; end
class DocuBot::LinkTree::Node
attr_accessor :title, :link, :page, :parent
def initialize( title=nil, link=nil, page=nil )
@title,@link,@page = title,link,page
@children = []
end
def anchor
@link[/
end
def file
@link.... |
"use strict"
const messages = require("..").messages
const ruleName = require("..").ruleName
const rules = require("../../../rules")
const rule = rules[ruleName]
testRule(rule, {
ruleName,
config: ["always"],
accept: [ {
code: "a { background-size: 0 , 0; }",
}, {
code: "a { background-size: 0 ,0; }",
... |
<!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="http://photonui.orangehilldev.com/css/css_comp... |
code[class*="language-"],
pre[class*="language-"] {
color: black;
text-shadow: 0 1px white;
font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
direction: ltr;
text-align: left;
white-space: pre;
word-spacing: normal;
word-break: normal;
line-height: 1.5;
-moz... |
# -*- coding: utf-8 -*-
from datetime import datetime, timedelta
import os
from flask import request
from flask import Flask
import pytz
import db
from utils import get_remote_addr, get_location_data
app = Flask(__name__)
@app.route('/yo-water/', methods=['POST', 'GET'])
def yowater():
payload = request.args if req... |
<html>
<head>
<title>Terry George's panel show appearances</title>
<script type="text/javascript" src="../common.js"></script>
<link rel="stylesheet" media="all" href="../style.css" type="text/css"/>
<script type="text/javascript" src="../people.js"></script>
<!--#include virtual="head.txt" -->
</head>
... |
{% extends "base.html" %}
{% block title %} new statement
{% endblock title %}
{% load crispy_forms_tags %}
{% block content %}
<h1>Create a new {{ model_name_lower }}!</h1>
{% if request.user.is_anonymous %}
Only signed-in users can create {{ model_name_lower }}s!
{% else %}
{% crispy form form.helper %}
{% endif %}
{... |
from django.conf.urls import patterns, include, url
from django.conf import settings
from django.conf.urls.static import static
from django.contrib import admin
admin.autodiscover()
import views
urlpatterns = patterns('',
url(r'^pis', views.pis),
url(r'^words', views.words, { 'titles': False }),
url(r'^proj... |
var test = require('tap').test;
var CronExpression = require('../lib/expression');
test('Fields are exposed', function(t){
try {
var interval = CronExpression.parse('0 1 2 3 * 1-3,5');
t.ok(interval, 'Interval parsed');
CronExpression.map.forEach(function(field) {
interval.fields[field] = [];
... |
<!DOCTYPE html PUBLIC "-
<html xmlns="http:
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.9.1"/>
<title>Boost::context future: Member List</title>
<link href="tabs.css" rel="stylesheet" type="te... |
<?php
use Illuminate\Database\Seeder;
// composer require laracasts/testdummy
use Laracasts\TestDummy\Factory as TestDummy;
class UsersTableSeeder extends Seeder
{
public function run()
{
DB::table('users')->insert([
'name' => 'system',
'email' => 'system@levelup.app',
... |
package br.eti.qisolucoes.contactcloud.config;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Configuration;
import org.springframework.security.config.annotation.authentication.builders.<API key>;
import org.springframework.security.config.annotation.web.bu... |
package de.chandre.admintool.security.dbuser.repo;
import java.util.List;
import java.util.Set;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import org.springframework.stereotype.Repository;
import de.chandre.admintool.security.dbuser.domain.ATRole;... |
import { module, test } from 'qunit';
import { setupRenderingTest } from 'ember-qunit';
import { render, fillIn } from '@ember/test-helpers';
import hbs from '<API key>';
module('Integration | Component | inputs/text-input', function (hooks) {
setupRenderingTest(hooks);
hooks.beforeEach(async function () {
this... |
#!/usr/bin/env node
var listCommand = [];
require('./listCommand')(listCommand)
var logDetail = (str) => {
console.log(' > '+str);
}
var printHelp = () => {
var txtHelp = "";
var h = ' ';
var t = ' ';
txtHelp += "\n"+h+"Usage : rider [command] \n";
txtHelp += "\n"+h+"Command List : \n";
... |
<?php
/*
* Arabian language
*/
$lang = [
'albums' => 'Альбомы'
]; |
// RSAEncryptor.h
// iOSProject
#import <Foundation/Foundation.h>
@interface RSAEncryptor : NSObject
/**
*
*
* @param str
* @param path '.der'
*/
+ (NSString *)encryptString:(NSString *)str <API key>:(NSString *)path;
/**
*
*
* @param str
* @param path '.p12'
* @param password
*/
+ (NSString *)d... |
# Digital ecosystem dashboard
This dashboard was technically and graphically made by [Sebcreation](http:
## Requirements
This application requires [Node JS](http:
After installing Node JS, gulp.js can easily be installed via Terminal :
$ npm install -g gulp
Compass can easily be installed via Terminal :
$ gem update --... |
<?php
namespace Hal\Controller;
/*
* File: /app/code/core/system/base_controller.php
* Purpose: Base class from which all controllers extend
*/
class Base_Controller {
protected $action;
public $cache;
public $config;
private $controller;
private $controller_class;
private $controller_file... |
title: While We're At It
category: The Guts of FP
order: 1
You won't get very far in most imperative languages without the humble `while` loop or one of it's variants such as `for`. Even though for loops are more commonly used, they are just syntactic sugar on while, so let's start there:
{% highlight javascript %}
l... |
import { BaseController } from "./BaseController";
import { Route } from "./BaseController";
import * as loadHtml from "./HtmlLoader";
export class MainController extends BaseController
{
main = (): void =>
{
loadHtml.load(this.requestData, '/views/index.html', {});
}
routes: Route[] = [
... |
import React from "react";
import $ from "jquery";
import "bootstrap/dist/js/bootstrap.min";
import "jquery-ui/ui/widgets/datepicker";
import {
<API key>,
<API key>,
putFullTimeEmployer,
putParttimeEmployer
} from "../actions/PostData";
import DropDownBtn from "../components/DropDownBtn";
import {<API k... |
require 'spec_helper'
describe Character do
before do
@character = Character.new(name: "Walder Frey", page: 'index.html')
end
subject { @character}
it { should respond_to(:name)}
it { should respond_to(:icon)}
it { should respond_to(:page)}
it { should respond_to(:degrees)}
it { should respond_to(:a... |
package net.sf.jabref.gui.util;
import javafx.concurrent.Task;
/**
* An object that executes submitted {@link Task}s. This
* interface provides a way of decoupling task submission from the
* mechanics of how each task will be run, including details of thread
* use, scheduling, thread pooling, etc.
*/
public interf... |
author: generalchoa
comments: true
date: 2014-01-31 23:22:32+00:00
layout: post
slug: <API key>
title: Week13 - Day35B - Beefmode
wordpress_id: 1429
categories:
- B
- StrongLifts
tags:
- agile 8
- deadlift
- dips
- incline db press
- plank
- preacher curls
- push-up
- seated db curls
- shoulder shocker
- squat
- standi... |
package com.mgireesh;
public class Solution extends VersionControl {
public int firstBadVersion(int n) {
int badVersion = 0;
int start = 1;
int end = n;
while (start < end) {
int mid = start + (end - start) / 2;
if (isBadVersion(mid)) {
end = m... |
<?php
namespace Aurex\Framework\Module\Modules\FormDoctrineModule;
use Symfony\Bridge\Doctrine\Form\<API key>,
Silex\Provider\<API key>,
Aurex\Framework\Module\ModuleInterface,
Silex\Provider\<API key>,
Silex\Provider\FormServiceProvider,
Aurex\Framework\Aurex;
/**
* Class FormDoctrineModule
*
* ... |
<html><head><title>dlib C++ Library - <API key>.cpp</title></head><body bgcolor='white'><pre>
<font color='#009900'>// The contents of this file are in the public domain. See <API key>.txt
</font>
<font color='#009900'>/*
This example contains a detailed discussion of the template expression
technique used to i... |
define('exports@*', [], function(require, exports, module){
exports.a = 1;
}); |
package types
// ApiVersion custom ENUM for SDK forward compatibility
type ApiVersion int
const (
ApiV1 ApiVersion = iota
)
// EnvironmentType
// https://docs.coinapi.io/#endpoints-2
type EnvironmentType int
const (
ProdEncrypted EnvironmentType = iota
ProdInsecure
TestEncrypted
TestInsecure
)
// Me... |
require 'rubygems'
require 'bundler'
Bundler.require
require 'sinatra'
set :public_folder, 'static'
get '/' do
File.read(File.join('index.html'))
end
get '/api/' do
#content_type :js
content_type("application/javascript")
response["Content-Type"] = "application/javascript"
#require 'config/initializers/beamly... |
using System.Threading.Tasks;
using FluentAssertions;
using Histrio.Testing;
using Xunit;
namespace Histrio.Tests.Cell
{
public class <API key> : GivenWhenThen
{
[Theory,
InlineData(true),
InlineData(333),
InlineData(new[] {true, true}),
InlineData("foo")]
pub... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class oscilation : MonoBehaviour {
public float m_speed = 0.008f;
public int m_distance = 45;
private int compteur = 0;
private int compteur2 = 0;
// Use this for initialization
void Start () {
Vector3 ... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Entity;
using System.Linq;
using System.Threading.Tasks;
using System.Net;
using System.Web;
using System.Web.Mvc;
using Transit.Models;
namespace Transit.Controllers
{
public class RoutesController : Controller
{
priva... |
jQuery(document).ready(function(){
jQuery('.carousel').carousel()
var FPS = 30;
var player = $('#player')
var pWidth = player.width();
$window = $(window)
var wWidth = $window.width();
setInterval(function() {
update();
}, 1000/FPS);
function update() {
if(keydown.sp... |
<reference path="tsUnit.ts" />
<reference path="MockExpression.ts" />
<reference path="../src/EventBinding.ts" />
module jsBind {
private fireEvent(elem: any): void {
if (document.createEventObject) {
// IE 9 & 10
var event: any = document.createEventObject();
event.event... |
// This software may be modified and distributed under the terms
#if UNITY_EDITOR
using SpriterDotNet;
using System;
using System.IO;
using System.Linq;
using UnityEditor;
using UnityEngine;
namespace SpriterDotNetUnity
{
public class SpriterImporter : AssetPostprocessor
{
private static readonly string... |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import base64
import json
from selenium.webdriver.common.by import By
from selenium.webdriver.support.ui import WebDriverWait
from selenium.webdriver.support import expected_conditions
from behave import *
@step('I share first element in the history list')
def step_impl(con... |
layout: link
type: link
link: https:
title: "Bloomberg: Why Indonesia Failed to Cash in on the China-U.S. Trade War"
category: links
tags:
- life
- "daily found"
- development
- indonesia
categories: dailyfound
published: true
comments: true
Dengan adanya perang dagang antara Amerika dan Tiongkok, banya... |
import { entryPoint } from '@rpgjs/standalone'
import globalConfigClient from './config/client'
import globalConfigServer from './config/server'
import modules from './modules'
document.addEventListener('DOMContentLoaded', function() {
entryPoint(modules, {
globalConfigClient,
globalConfigServer
... |
// object code form for any purpose and without fee is hereby granted,
// restricted rights notice below appear in all supporting
// documentation.
// AUTODESK PROVIDES THIS PROGRAM "AS IS" AND WITH ALL FAULTS.
// MERCHANTABILITY OR FITNESS FOR A PARTICULAR USE. AUTODESK, INC.
// DOES NOT WARRANT THAT THE OPERATION OF... |
'use strict';
// Configuring the Articles module
angular.module('about').run(['Menus',
function(Menus) {
// Set top bar menu items
Menus.addMenuItem('mainmenu', 'About Us', 'about', 'left-margin', '/about-us', true, null, 3);
}
]); |
package cwr;
import java.util.ArrayList;
public class RobotBite
{
//0 = time [state]
//1 = x [state]
//2 = y [state]
//3 = energy [state]
//4 = bearing radians [relative position]
//5 = distance [relative position]
... |
export default function closest(n, arr) {
let i
let ndx
let diff
let best = Infinity
let low = 0
let high = arr.length - 1
while (low <= high) {
// <API key> no-bitwise
i = low + ((high - low) >> 1)
diff = arr[i] - n
if (diff < 0) {
low = i + 1
} else if (diff > 0) {
high =... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ClearScript.Installer.Demo
{
public class Class1
{
}
} |
export default function fibonacci(n){
if(n <= 2){
return 1;
}
let n1 = 1, n2 = 1, sn = 0;
for(let i = 0; i < n - 2; i ++){
sn = n1 + n2;
n1 = n2;
n2 = sn;
}
return sn;
} |
import * as UTILS from '@utils';
const app = new WHS.App([
UTILS.appModules({
position: new THREE.Vector3(0, 40, 70)
})
]);
const halfMat = {
transparent: true,
opacity: 0.5
};
const box = new WHS.Box({
geometry: {
width: 30,
height: 2,
depth: 2
},
modules: [
new PHYSICS.BoxModule({
... |
package unit.com.bitdubai.fermat_dmp_plugin.layer.basic_wallet.bitcoin_wallet.developer.bitdubai.version_1.structure.<API key>;
import com.bitdubai.fermat_api.layer.dmp_basic_wallet.common.exceptions.<API key>;
import com.bitdubai.fermat_api.layer.dmp_basic_wallet.bitcoin_wallet.interfaces.<API key>;
import com.bitduba... |
// INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
// TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH
// THE CODE OR THE USE OR OTHER DEALINGS IN THE CODE.
using System... |
<html><body>
<h4>Windows 10 x64 (18363.900)</h4><br>
<h2>_OPENCOUNT_REASON</h2>
<font face="arial"> <API key> = 0n0<br>
OpenCount_AsyncRead = 0n1<br>
<API key> = 0n2<br>
<API key> = 0n3<br>
<API key> = 0n4<br>
<API key> = 0n5<br>
<API key> = 0n6<br>
<API key> = 0n7<br>
<API key> = 0n8<br>
<... |
#ifndef BITMAP_H
#define BITMAP_H
#include <allegro5/allegro.h>
#include <memory>
#include "renderlist.h"
// This class does double duty as a renderable, and a wrapper for allegro bitmap.
class Bitmap;
using BitmapPtr = std::shared_ptr<Bitmap>;
class Bitmap : public Renderable
{
ALLEGRO_BITMAP* bitmap;
float x,... |
package main
import (
"fmt"
"github.com/cailei/gopm_index/gopm/index"
"github.com/hailiang/gosocks"
"io"
"io/ioutil"
"log"
"net/http"
"net/url"
"os"
)
type Agent struct {
client *http.Client
}
func newAgent() *Agent {
client := http.DefaultClient
// check if using a proxy... |
package org.usfirst.frc.team6135.robot.subsystems;
import java.awt.geom.Arc2D.Double;
import org.usfirst.frc.team6135.robot.RobotMap;
import org.usfirst.frc.team6135.robot.commands.teleopDrive;
import com.kauailabs.navx.frc.AHRS;
import edu.wpi.first.wpilibj.ADXRS450_Gyro;
import edu.wpi.first.wpilibj.RobotDrive;
impor... |
module Shopping
class LineItem < ActiveRecord::Base
extend Shopping::<API key>
belongs_to :cart
belongs_to :source, polymorphic: true
validate :<API key>, on: :create
validate :unpurchased_cart
validates :quantity, allow_nil: true, numericality: {only_integer: true, greater_than: -1}
valid... |
<?php
use Symfony\Component\HttpKernel\Kernel;
use Symfony\Component\Config\Loader\LoaderInterface;
class AppKernel extends Kernel
{
public function registerBundles()
{
$bundles = array(
new Symfony\Bundle\FrameworkBundle\FrameworkBundle(),
new Symfony\Bundle\SecurityBundle\Secur... |
#!/usr/bin/env python
"""
This script is used to run tests, create a coverage report and output the
statistics at the end of the tox run.
To run this script just execute ``tox``
"""
import re
from fabric.api import local, warn
from fabric.colors import green, red
if __name__ == '__main__':
# Kept some files for bac... |
using System;
namespace KeyWatcher.Reactive
{
internal sealed class ObservingKeyWatcher
: IObserver<char>
{
private readonly string id;
internal ObservingKeyWatcher(string id) =>
this.id = id;
public void OnCompleted() =>
Console.Out.WriteLine($"{this.id} ... |
from baroque.entities.event import Event
class EventCounter:
"""A counter of events."""
def __init__(self):
self.events_count = 0
self.<API key> = dict()
def increment_counting(self, event):
"""Counts an event
Args:
event (:obj:`baroque.entities.event.Event`): the... |
const uint8_t u8g2_font_timR08_tf[2170] U8G2_FONT_SECTION("u8g2_font_timR08_tf") =
"\277\0\3\2\4\4\2\4\5\13\15\377\375\7\376\7\376\1H\2\277\10a \5\0\246\4!\7q\343"
"\304\240\4\42\7#\66E\242\4#\16ubM)I\6\245\62(\245$\1$\14\224^U\64D\242"
"i\310\22\0%\21w\42\316\60$Q\322\226$RRJ\332\22\0&\20x\42\226\232\244\312\264... |
import React from 'react'
import { <API key> } from './index'
const PlanMapRoute = () => {
return (
<div>
<<API key> />
</div>
)
}
export default PlanMapRoute |
// Reliant.h
// Reliant
#ifndef <API key>
#define <API key>
#import "OCSObjectContext.h"
#import "<API key>.h"
#import "NSObject+<API key>.h"
#import "NSObject+OCSReliantInjection.h"
#endif |
// Squidex Headless CMS
using System.Collections.Immutable;
using OpenIddict.Abstractions;
using OpenIddict.Server;
using static OpenIddict.Server.<API key>;
namespace Squidex.Areas.IdentityServer.Config
{
public sealed class <API key> : <API key><<API key>>
{
public ValueTask HandleAsync(<API key> con... |
using System.Diagnostics.CodeAnalysis;
namespace Npoi.Mapper
{
<summary>
Information for one row that read from file.
</summary>
<typeparam name="TTarget">The target mapping type for a row.</typeparam>
[SuppressMessage("ReSharper", "<API key>.Global")]
public class RowInfo<TTarget> : IRowInfo
... |
const path = require('path');
module.exports = {
lazyLoad: true,
pick: {
posts(markdownData) {
return {
meta: markdownData.meta,
description: markdownData.description,
};
},
},
plugins: [path.join(__dirname, '..', 'node_modules', '<API key>')],
routes: [{
path: '/',
... |
<?php
namespace WindowsAzure\DistributionBundle\Deployment;
interface <API key>
{
/**
* @param array $dirs
* @param array $subdirs
*/
public function getIterator(array $dirs, array $subdirs);
} |
import { Injectable } from '@angular/core';
import {Http,Response,ConnectionBackend,Headers,RequestMethod} from '@angular/http';
import { Observable } from 'rxjs/Observable';
import 'rxjs/add/operator/map';
import 'rxjs/add/operator/toPromise';
import{AppHttpUtil} from '../appUtil/httpUtil';
import {AppPermService... |
#import <AppKit/AppKit.h>
#include "ui/UIEditBox/Mac/CCUITextInput.h"
@interface <API key> : NSTextField<CCUITextInput>
{
NSMutableDictionary* <API key>;
}
@end |
// Init ES2015 + .jsx environments for .require()
require('babel-register');
var express = require('express');
var fluxexapp = require('./fluxexapp');
var serverAction = require('./actions/server');
var fluxexServerExtra = require('fluxex/extra/server');
var app = express();
// Provide /static/js/main.js
fluxexServerEx... |
import numpy as np
class Surface(object):
def __init__(self, image, edge_points3d, edge_points2d):
"""
Constructor for a surface defined by a texture image and
4 boundary points. Choose the first point as the origin
of the surface's coordinate system.
:param image: image arra... |
# Sparse Arrays
Internally the V8 engine can represent `Array`s following one of two approaches:
- **Fast Elements**: linear storage for compact keys sets.
- **Dictionary Elements**: hash table storage (more expensive to access on runtime).
If you want V8 to represent your `Array` in the `Fast Elements` form, you need ... |
## Install
npm i
npm start |
A PvPGNChatParser converts raw messages received from PvPGNChat to ChatMessage objects |
import { fullSrc } from '../element/element';
import { pixels } from '../math/unit';
import { Clone } from './clone';
import { Container } from './container';
import { Image } from './image';
import { Overlay } from './overlay';
import { Wrapper } from './wrapper';
export class ZoomDOM {
static useExisting(element:... |
define(function(){
return {"":"",
"":"",
"":"",
"":"",
"":"𡯂",
"":"",
"":"",
"":"",
"":"",
"":"",
"":"",
"":"",
"":"",
"":"",
"":"",
"":"",
"":"",
"":"",
"":"",
"":"",
"":"",
"":"",
"":"",
"":"𤣥",
"":"",
"":"",
"":"",
"":"",
"":"",
"":"",
"":"",
"":"",
"":"",
"":"",
"":"",
"":"",
"":"",
"":"",
"":"",
"":"",
"":""... |
"use strict";
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
var qs = require("querystring");
var partial = r... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.