answer stringlengths 15 1.25M |
|---|
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
<meta http-equiv=X-UA-Compatible content="IE=edge,chrome=1">
<meta name=viewport content="width=device-width, initial-scale=1">
<title>Hisabo – Borker dot co</title>
<me... |
title: <API key> - Rules
layout: doc
<!-- Note: No pull requests accepted for this file. See README.md in the root directory for details. -->
# Require or disallow padding lines between statements (<API key>)
(fixable) The `--fix` option on the [command line](../user-guide/<API key>#fix) can automatically fix some of t... |
[;
//Express example.js
app.configure(function() {
app.use(express.logger(logger));
});
## Screenshort
[](http://demi... |
## Prerequisites
[Node.js](http://nodejs.org/) >= 6 must be installed.
## Installation
- Running `npm install` in the component's root directory will install everything you need for development.
## Demo Development Server
- `npm start` will run a development server with the component's demo app at [http:
## Running Tes... |
<?php
declare(strict_types=1);
namespace <API key>\Fixture\C;
class FixtureC846
{
public function __construct(FixtureC845 $dependency)
{
}
} |
var five = require("../lib/johnny-five.js");
var board = new five.Board();
board.on("ready", function() {
var gyro = new five.Gyroscope({
pins: ["I0", "I1"],
freq: 200,
extent: 4
});
gyro.on("acceleration", function(data) {
console.log(data.position);
});
}); |
// "horizontalaxis" : {
// "id" : STRING, "type" : DATATYPE(number), "length" : RELLEN(1.0), "base" : POINT(-1,1), "anchor" : DOUBLE(-1), "position" : POINT(0,0),
// "min" : DATAVALUEORAUTO(auto), "max" : DATAVALUEORAUTO(auto), "minposition" : RELPOS(-1.0), "maxposition" : RELPOS(1.0), "color" : COLOR(black), "l... |
namespace Todo.ViewModel
{
public sealed class NewTodoItem
{
public string Text { get; set; }
}
} |
<?xml version="1.0" encoding="utf-8"?>
<!-- This comment will force IE7 to go into quirks mode. -->
<!DOCTYPE html PUBLIC "-
<html xmlns="http:
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"></meta>
<link rel="stylesheet" type="text/css" href="../../CSS/Contents.css"></link>
<script type="tex... |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
$lang = array(
'img_module_name' =>
'Img',
'<API key>' =>
'PHPImageWorkshop for EE',
'module_home' => 'Img Home',
// Start inserting custom language keys/values here
);
/* End of file lang.img.php */
/* Location: /system/exp... |
module WoopleTheme
class Configuration
attr_accessor :profile_helper, :menu_helper, :<API key>, :layout_javascript
def profile_helper
@profile_helper || :profile_helper
end
def menu_helper
@menu_helper || :menu_helper
end
def <API key>
@<API key> || :<API key>
end
end
... |
export * from './about';
export * from './no-content';
export * from './home'; |
<!--conf
<sample>
<product version="2.6" edition="std"/>
<modifications>
<modified date="100609"/>
</modifications>
</sample>
<!DOCTYPE html PUBLIC "-
<html>
<head>
<title>Series</title>
<meta http... |
/**
* Filtering sensitive information
*/
const _ = require('lodash');
/**
* reset option
* @param {string|object|array} opt filter option
* @param {array} filterKeys filter keys
* @param {string|function} replaceChat replace chat or function
* @param {boolean} recursion whether recursive , true of false
*/
con... |
from slm_lab.env.vec_env import make_gym_venv
import numpy as np
import pytest
@pytest.mark.parametrize('name,state_shape,reward_scale', [
('PongNoFrameskip-v4', (1, 84, 84), 'sign'),
('LunarLander-v2', (8,), None),
('CartPole-v0', (4,), None),
])
@pytest.mark.parametrize('num_envs', (1, 4))
def <API key>(n... |
package com.github.pineasaurusrex.inference_engine;
import java.util.HashMap;
/**
* Partially or fully assigned model
* A model represents a possible representation of the propositional symbol states in the KB
*/
public class Model {
private HashMap<PropositionalSymbol, Boolean> symbolValues = new HashMap<>();
... |
describe("The ot object has a forEach method, which allows you: ", function () {
it("To iterate over an array", function () {
var array = [1, 2, 4, 8, 16];
var sum = 0;
var sumIndex = 0;
ot.forEach(array, function (value, index) {
sum += value;
sumIndex += ind... |
#ifndef LWEXML_H
#define LWEXML_H
#include <LWCore/LWText.h>
#include <functional>
#include "LWETypes.h"
#define LWEXMLMAXNAMELEN 32
#define LWEXMLMAXVALUELEN 256
#define LWEXMLMAXTEXTLEN 1024
struct LWXMLAttribute {
char m_Name[LWEXMLMAXNAMELEN];
char m_Value[LWEXMLMAXVALUELEN];
};
struct LWEXMLNode {
enum... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace CycleCycleCycle.Services
{
public interface IRideService
{
bool Create(int accountId, int routeId, DateTime dateRidden, int? hours, int? minutes, int? seconds);
}
} |
<?php
/**
* [PHPFOX_HEADER]
*/
defined('PHPFOX') or exit('NO DICE!');
class <API key> extends Phpfox_Component
{
/**
* Class process method wnich is used to execute this component.
*/
public function process()
{
Phpfox::isUser(true);
$bIsInLegacyView = false;
if (Phpfox::... |
<?php
namespace Vin\FrontOfficeBundle\Entity;
use Doctrine\ORM\EntityRepository;
/**
* MessageRepository
*
* This class was generated by the Doctrine ORM. Add your own custom
* repository methods below.
*/
class MessageRepository extends EntityRepository
{
public function countMessages()
{
$query =... |
#export pid=`ps aux | grep python | grep hello_gevent.py | awk 'NR==1{print $2}' | cut -d' ' -f1`;kill -9 $pid
for KILLPID in `ps aux | grep 'python' | grep 'server01' | awk ' { print $2;}'`; do
kill -9 $KILLPID;
done
#ps aux | grep python | grep -v grep | awk '{print $2}' | xargs kill -9 |
<?php
class kml_Overlay extends kml_Feature {
protected $tagName = 'Overlay';
var $color;
var $drawOrder;
var $Icon;
/* Constructor */
function kml_Overlay() {
parent::kml_Feature();
}
/* Assignments */
function set_color($color) { $this->color = $color; }
function set_dr... |
Simple CMS written in python3 bottle framework
by default, project is configured to work on openshift cloud: https://openshift.redhat.com.
You only need to add mongodb cartridge and restart app.
If you want to deploy app on your own server, you have to configure ```DB_CREDENTIALS``` variable
in ```config/__init__.py```... |
require "importeer_plan/version"
require 'importeer_plan/configuration'
module ImporteerPlan
class Importeer
attr_accessor :path, :name, :dir, :size_batch, :sep, :initial, :options
#call importeer("filename") to import the file in batches of 1000, optional importeer("filename", size_)
... |
from collections import namedtuple
Resolution = namedtuple('Resolution', ['x', 'y'])
class Resolutions(object):
resolutions = [
(1920, 1200),
(1920, 1080),
(1680, 1050),
(1440, 900),
(1360, 768),
(1280, 800),
(1024, 640)
]
@classmethod
def parse(se... |
namespace Dapper.SimpleSave.Tests.Dto {
[Table("dbo.<API key>")]
[ReferenceData(true)]
public class <API key> : <API key> {
}
} |
using System.Diagnostics;
namespace AdventOfCode.Day07.SignalProviders
{
[DebuggerDisplay("{DebuggerDisplay}")]
public class Wire : SignalProvider
{
#region | Properties & fields
private readonly Circut _parentCircut;
private readonly string _rawProvider;
public string ID { g... |
// <API key>.h
#import "<API key>.h"
@interface <API key> : <API key>
@end |
# Use this setup block to configure all options available in SimpleForm.
SimpleForm.setup do |config|
# Wrappers are used by the form builder to generate a
# complete input. You can remove any component from the
# wrapper, change the order or even add your own to the
# stack. The options given below are used to... |
<?php
namespace Craft\UserBundle;
use Symfony\Component\HttpKernel\Bundle\Bundle;
class CraftUserBundle extends Bundle
{
} |
<?php defined('BASEPATH') OR exit('No direct script access allowed');
class TestModel extends CI_Model {
public function popular_merchants(){
//include total reviews, sum of reviews, mp_id, unit, building, street, city name, region name, merchant name, merchant image, date and time of application approval, ... |
package afk.ge.tokyo.ems.nodes;
import afk.ge.ems.Node;
import afk.ge.tokyo.ems.components.Life;
/**
*
* @author Daniel
*/
public class LifeNode extends Node
{
public Life life;
} |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Documentation Module: DBConnector</title>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]
<link type="text/css" rel="stylesheet" href="styles/sunlight.default.css">
<link t... |
import * as types from '../actions/types';
const search = (state = [], action) => {
switch(action.type) {
case types.<API key>:
return action.data;
case types.SEARCH_INPUT_FAILED:
return action.error.message;
default:
return state;
}
};
export default ... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Light.Data.Mysql.Test
{
class <API key>
{
#region "Data Property"
private int id;
<summary>
Id
</summary>
<value></value>
public int Id {
get {
return ... |
// YWPayViewController.h
// YuWa
#import <UIKit/UIKit.h>
typedef NS_ENUM(NSInteger,PayCategory){
<API key>=0,
PayCategoryWritePay
};
@interface YWPayViewController : UIViewController
@property(nonatomic,assign)PayCategory whichPay;
@property(nonatomic,strong)NSString*shopID;
@property(nonatomic,strong)NSStrin... |
.ui.video{position:relative;max-width:100%}.ui.video .placeholder{background-color:#333;display:block;width:100%;height:100%}.ui.video .embed,.ui.video.active .placeholder,.ui.video.active .play{display:none}.ui.video .play{cursor:pointer;position:absolute;top:0;left:0;z-index:10;width:100%;height:100%;-ms-filter:"prog... |
<?php
use PHPUnit\Framework\TestCase;
use voku\helper\HtmlDomHelper;
use voku\helper\HtmlDomParser;
/**
* @internal
*/
final class <API key> extends TestCase
{
public function <API key>()
{
$result = HtmlDomHelper::mergeHtmlAttributes(
'<div class="foo" id="bar" data-foo="bar"></div>',
... |
<?php
namespace Youshido\CommentsBundle;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\HttpKernel\Bundle\Bundle;
use Youshido\CommentsBundle\DependencyInjection\CompilerPass\<API key>;
/**
* Class CommentsBundle
*/
class CommentsBundle extends Bundle
{
/**
* @param Contain... |
<table width="90%" border="0"><tr><td><script>function openfile(url) {fullwin = window.open(url, "fulltext", "toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes");}</script><div class="layoutclass_pic"><div class="<API key>"><table class="ztable"><tr><th class="ztd1"><b> </b></... |
#include <stdio.h>
#include <set>
#include <utility>
#include <vector>
using namespace std;
const int MAXN = 1e+2;
int n, x0, y0;
typedef pair<int, int> point;
set<point> s;
int cross(int x0, int y0, const point &a, const point &b) {
return (a.first - x0) * (b.second - y0) - (a.second - y0) * (b.first - x0);
}
int ... |
// 1000.
#include <iostream>
using namespace std;
int unionFind[100001];
int find(int val) {
if (val == unionFind[val]) return val;
unionFind[val] = find(unionFind[val]);
return unionFind[val];
}
int main() {
int a, b;
for (int i = 0; i < 100001; i++) {
unionFind[i] = i;
}
while (cin >> a >> b) {
... |
# This file is autogenerated. Do not edit it manually.
# If you want change the content of this file, edit
# spec/fixtures/responses/whois.nic.pw/status_available
# and regenerate the tests with the following script
# $ scripts/generate_tests.py
from nose.tools import *
from dateutil.parser import parse as time_par... |
<?php
class ProvinceModel extends CI_Model
{
function __construct()
{
parent::__construct();
}
/**
*
* @param $insertRows
* @return mixed
*/
function insert_entry($insertRows)
{
foreach ($insertRows as $key => $val)
{
$this->$key = $val;
... |
.sidenav {
height: 100%;
width: 0;
position: fixed;
z-index: 1;
top: 0;
left: 0;
background-color: #111;
overflow-x: hidden;
transition: 0.5s;
padding-top: 60px;
}
.sidenav a {
padding: 8px 8px 8px 32px;
text-decoration: none;
font-size: 25px;
color: #818181;
... |
<?xml version="1.0" ?><!DOCTYPE TS><TS language="fa" version="2.0">
<defaultcodec>UTF-8</defaultcodec>
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About KCz</source>
<translation>در مورد KCz</translation>
</message>
... |
<?php
namespace APP\AppBundle\Controller;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use APP\AppBundle\Entity\Cliente;
use APP\AppBundle\Form\ClienteType;
/**
* Cliente controller.
*
*/
class ClienteController extends Controller {
/**
* Lists all ... |
WebsiteOne::Application.configure do
# Settings specified here will take precedence over those in config/application.rb.
# In the development environment your application's code is reloaded on
# every request. This slows down response time but is perfect for development
# since you don't have to restart the web... |
# sails.config.models
Your default project-wide **model settings**, conventionally specified in the [config/models.js](http://sailsjs.com/documentation/anatomy/myApp/config/models-js) configuration file.
Most of the settings below can also be overridden on a per-model basis-- just edit the appropriate model definition ... |
require "presigner/version"
require 'aws-sdk-v1'
class Presigner
DEFAULT_DURATION = 60 * 30
def initialize(options)
@bucket = options[:bucket]
@key = options[:key]
@duration = options[:duration] || DEFAULT_DURATION
@region = options[:region] || "us-east-1"
@base = Time.now.to_i
end
attr_read... |
# <API key>: true
require "administrate/base_dashboard"
module Eve
class StationDashboard < Administrate::BaseDashboard
ATTRIBUTE_TYPES = {
id: Field::Number,
station_id: Field::Number,
name: Field::String,
system: Field::BelongsTo.with_options(class_name: "Eve::System"),
type_id: Fi... |
declare namespace jdk {
namespace nashorn {
namespace api {
namespace tree {
interface ModuleTree extends jdk.nashorn.api.tree.Tree {
getImportEntries(): java.util.List<jdk.nashorn.api.tree.ImportEntryTree>
<API key>(): java.util.List<jdk.nashorn.api.tree.ExportEntryTree>
... |
<?php
namespace GL\ProtocolloBundle;
use Symfony\Component\HttpKernel\Bundle\Bundle;
class GLProtocolloBundle extends Bundle
{
} |
import React, { Component } from 'react';
export default class PlacesItem extends Component {
constructor(props) {
super(props);
this.config = this.config.bind(this);
this.rateStars = this.rateStars.bind(this);
this.startBounce = this.startBounce.bind(this);
this.endBounce =... |
The MIT License (MIT)
Copyright (c) 2015 Jaro Marval
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, modify, merge, publis... |
class Solution(object):
def missingNumber(self, nums):
"""
:type nums: List[int]
:rtype: int
"""
xor = len(nums)
for i, n in enumerate(nums):
xor ^= n
xor ^= i
return xor
inputs = [
[0],
[1],
[3,0,1],
[9,6,4,2,3,5,7,0,1]... |
/**
* \file sarea.h
* SAREA definitions.
*
* \author Kevin E. Martin <kevin@precisioninsight.com>
* \author Jens Owen <jens@tungstengraphics.com>
* \author Rickard E. (Rik) Faith <faith@valinux.com>
*/
#ifndef _SAREA_H_
#define _SAREA_H_
#include "xf86drm.h"
/* SAREA area needs to be at least a page */
#if defin... |
<?php
namespace spec\Genesis\API\Constants\Transaction;
use PhpSpec\ObjectBehavior;
use Prophecy\Argument;
class StatesSpec extends ObjectBehavior
{
function it_is_initializable()
{
$this->shouldHaveType('Genesis\API\Constants\Transaction\States');
}
} |
<div class="row-fluid">{namespace ehrm=Beech\Ehrm\ViewHelpers}
<div class="span1">
<f:render partial="Forms/Buttons/Icon" arguments="{_all}"/>
</div>
<div class="span3"><strong><f:translate id="electronicAddress.<API key>.{electronicAddress.<API key>}">{electronicAddress.<API key>}</f:translate></st... |
namespace VanillaSample.Core.ViewModels
{
using Screenmedia.Plugin.Vanilla;
using Screenmedia.Plugin.Vanilla.Abstractions;
public class ViewModel
{
private readonly IIceCreamMachine _iceCreamMachine;
public ViewModel()
{
_iceCreamMachine = <API key>.Current;
... |
<!DOCTYPE HTML PUBLIC "-
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>DoNotInstrument</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css... |
@import Foundation;
#import "<API key>.h"
@interface <API key> : NSObject
<
<API key>
>
@end |
package com.sms4blood.<API key>.util;
import android.content.Intent;
import android.location.Location;
import android.net.Uri;
import android.os.Bundle;
import android.text.TextUtils;
import android.widget.Toast;
import com.sms4blood.<API key>.Sms;
import com.sms4blood.<API key>.app.EhsApplication;
import java.text.Dec... |
<?php
namespace App\FrontModule;
use App\AppModule\ErrorPresenter as Presenter;
class ErrorPresenter extends Presenter
{
} |
<html>
<head>
<title>
ABC 3 : ::
</title>
<style>
@media print {
*,
*:before,
*:after {
background: transparent !important;
color: #000 !important;
box-shadow: none !important;
text-shadow: none !important;
}
a,
... |
module Perus::Pinger
class Upload < Command
description 'Uploads a file from the client to the server. Valid values
for "path" are contained in the pinger config file.'
option :path, restricted: true
def run
@file = File.new(options.path)
end
... |
package miwax.java_conf.gr.jp.frugalitycalc.view;
import android.app.AlertDialog;
import android.databinding.DataBindingUtil;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import miwax.java_conf.gr.jp.frugalitycalc.R;
import miwax.java_conf.gr.jp.frugalitycalc.databinding.ActivityMainBindin... |
<?php
namespace Manialib\Maniacode\Elements;
class ViewReplay extends UrlDownload
{
protected $nodeName = 'view_replay';
} |
import _plotly_utils.basevalidators
class <API key>(_plotly_utils.basevalidators.NumberValidator):
def __init__(
self, plotly_name="minexponent", parent_name="choropleth.colorbar", **kwargs
):
super(<API key>, self).__init__(
plotly_name=plotly_name,
parent_name=parent_na... |
<HTML><HEAD>
<TITLE>Review for Timecode (2000)</TITLE>
<LINK REL="STYLESHEET" TYPE="text/css" HREF="/ramr.css">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1 ALIGN="CENTER" CLASS="title"><A HREF="/Title?0220100">Timecode (2000)</A></H1><H3 ALIGN=CENTER>reviewed by<BR><A HREF="/ReviewsBy?Frankie+Paiva">Frankie Pai... |
// YSCMacros.h
// YSCKit
#import <sys/time.h>
// @Description:
// YSCKit
#ifndef YSCMacros_h
#define YSCMacros_h
#define <API key> (<API key>.isDebugModel || [YSCGeneral <API key>])
/** log */
#define IS_NSLOG_AVAILABLE <API key>
#define __NSLog(s, ...) do { \
if (IS_NSLOG_AVAILABLE) { \... |
/* eslint import/<API key>: ["error", {"devDependencies": true}] */
import path from 'path';
import webpack from 'webpack';
import CopyWebpackPlugin from 'copy-webpack-plugin';
import HtmlWebpackPlugin from 'html-webpack-plugin';
export default {
context: __dirname,
entry: './index.jsx',
output: {
path: `${__... |
namespace VoiceWall.Web.ViewModels.Search
{
using System.ComponentModel.DataAnnotations;
public class SearchViewModel
{
[Required]
[MinLength(2, ErrorMessage="Search text must be at least 2 characters")]
[DataType(DataType.Text)]
public string SearchText { get; set; }
}
} |
using SharpDX;
using SharpDX.Direct3D11;
using System;
using System.Runtime.InteropServices;
using System.Windows;
using System.Xml;
using System.IO;
using System.Reflection;
namespace Profiler.DirectX
{
public class TextManager : IDisposable
{
[StructLayout(LayoutKind.Sequential)]
public struct... |
<!DOCTYPE HTML PUBLIC "-
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_101) on Fri Oct 21 14:35:23 CEST 2016 -->
<title>Uses of Class core.Task</title>
<meta name="date" content="2016-10-21">
<link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style">
<script type="text... |
#include <iostream>
#include <string>
using namespace std;
int main(){
int n;
string experiment;
for(cin>>n; n>0; n
cin >> experiment;
if (experiment.size() < 3) cout << '+' << endl;
else{
string s = experiment.substr(experiment.size()-2, 2);
string saux;
if(s == "35") cout << '-' <<... |
import urllib
import urllib2
from bs4 import BeautifulSoup
textToSearch = 'gorillaz'
query = urllib.quote(textToSearch)
url = "https:
response = urllib2.urlopen(url)
html = response.read()
soup = BeautifulSoup(html)
for vid in soup.findAll(attrs={'class':'yt-uix-tile-link'}):
print 'https: |
"use strict"
var o = require("../../ospec/ospec")
var callAsync = require("../../test-utils/callAsync")
var browserMock = require("../../test-utils/browserMock")
var m = require("../../render/hyperscript")
var callAsync = require("../../test-utils/callAsync")
var coreRenderer = require("../../render/render")
var apiRed... |
// CHECK
vnum = 64;
var x = new Array();
x[0] = 0.<API key>;
x[1] = 0.<API key>;
x[2] = 0.<API key>;
x[3] = 0.<API key>;
x[4] = 1.<API key>;
x[5] = 1.<API key>;
x[6] = 1.<API key>;
x[7] = 1.<API key>;
x[8] = 2.<API key>;
x[9] = 2.<API key>;
x[10] = 2.<API key>;
x[11] = 2.<API key>;
x[12] = 3.<API key>;
x[13] = 3.<API k... |
// This is generated code.
// Code is generated on:
// Code is generated using templates: SD.TemplateBindings.SharedTemplates
// Templates vendor: Solutions Design.
using System;
using System.Collections;
using System.Collections.Generic;
using AdventureWorks.Dal;
using AdventureWorks.Dal.FactoryClasses;
using Adventur... |
'use strict';
export interface IPrint extends ng.resource.IResource<IPrint> {
printOptions: any;
}
export interface IPrintResource extends ng.resource.IResourceClass<IPrint> {}
export class PrintResource {
/* @ngInject */
public static Print($resource: ng.resource.IResourceService): IPrintResource {
var url ... |
<?php
// :default:index.html.twig
return array (
'fe7793f' =>
array (
0 =>
array (
0 => '@bootstrap_css',
1 => '@fontawesome_css_be',
2 => '@<API key>/Resources/public/css/jquery-ui.css',
3 => '@<API key>/Resources/public/css/select2.min.css',
4 => '@<API key>/Resources/public/... |
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <time.h>
#include "search.h"
#include "marcov.h"
#define ORDER 2
int main(int argc, char **argv) {
int limit = 128;
if(argc > 1) {
limit = atoi(argv[1]);
}
void *strings = NULL;
struct timespec t;
clock_gettime(CLOCK_MON... |
package io.github.jython234.jraklibplus.protocol.raknet;
import static io.github.jython234.jraklibplus.JRakLibPlus.*;
public class NACKPacket extends AcknowledgePacket {
@Override
public byte getPID() {
return NACK;
}
} |
# Simple.LocalDb
Simple.LocalDb is a simple managed wrapper around the LocalDB API.
This framework has no features. It does not have error checking. It does not do anything smart. It doesn't try to help you in any way. There are no unit tests. There are no integration tests. There are no interfaces, inheritance, coupli... |
#if UNITY_EDITOR
using UnityEngine;
using UnityEditor;
using System.IO;
public class CreateAssetbundle : MonoBehaviour {
[MenuItem("Fineness/Build AssetBundle From Select Resource")]
static void <API key>()
{
UnityEngine.Object[] selecteds = Selection.GetFiltered(typeof(UnityEngine.Object), Selectio... |
import http from "http";
import express from "express";
import cors from "cors";
import morgan from "morgan";
import bodyParser from "body-parser";
import initializeDb from "./db";
import middleware from "./middleware";
import api from "./api";
import config from "config"; //we load the db location from the JSON files
... |
##Generators
<div class="code-extra es6">
js
// Define generators with '*'
function *foo() { }
// halt and output at 'yield'
function *fibonacci() {
let pre = 0, cur = 1;
while(true) {
[ pre, cur ] = [ cur, pre + cur ];
yield cur;
}
}
let fibGen = fibonacci();
fibGen.next(); // { value: 1... |
'use strict';
var gulp = require('gulp');
var autoprefixer = require('jstransformer')(require('<API key>'));
var autoprefixer = require('autoprefixer-stylus');
var browserSync = require('browser-sync').create();
var changed = require('gulp-changed');
var concat = require('gulp-concat');
var cssbeautify = require('gulp-... |
#ifndef <API key>
#define <API key>
#include "consensus/consensus.h"
#include "script/interpreter.h"
#include "script/standard.h"
#include <string>
class CCoinsViewCache;
/** Default for -blockmaxsize and -blockminsize, which control the range of sizes the mining code will create **/
// this is now set in chain params
... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace Lab2A.Models.AccountViewModels
{
public class LoginViewModel
{
[Required]
[EmailAddress]
public string Email { get; set; }
[Requ... |
# Automatically generated, do not edit.
from pyvisdk.thirdparty import Enum
<API key> = Enum(
'enteringMaintenance',
'inMaintenance',
'normal',
) |
import Ember from 'ember';
import <API key> from 'kowa/mixins/<API key>';
var PaginatedScrollBox = Ember.View.extend(<API key>);
export default PaginatedScrollBox; |
import <API key> from './actions/<API key>';
import connect from './actions/connect';
import createStore, { withDevTools as <API key> } from './createStore';
import disconnect from './actions/disconnect';
import dismissNotification from './actions/dismissNotification';
import emitTypingIndicator from './actions/emitTyp... |
var assert = require('assert');
var listXf = require('./helpers/listXf');
var R = require('..');
describe('any', function() {
var odd = function(n) {return n % 2 === 1;};
var T = function() {return true;};
var intoArray = R.into([]);
it('returns true if any element satisfies the predicate', function() {... |
<html><body>
<h4>Windows 10 x64 (18362.329)</h4><br>
<h2>_SEGMENT_HEAP</h2>
<font face="arial"> +0x000 EnvHandle : <a href="./RTL_HP_ENV_HANDLE.html">RTL_HP_ENV_HANDLE</a><br>
+0x010 Signature : Uint4B<br>
+0x014 GlobalFlags : Uint4B<br>
+0x018 Interceptor : Uint4B<br>
+0x01c <API ... |
@extends('frontend.layouts.default')
@section('content')
<div class="breadcrumb-wrapper">
<div class="pattern-overlay">
<div class="container">
<div class="row">
<div class="col-lg-6 col-md-6 col-xs-12 col-sm-6">
<h2 class="title">Recen... |
<div layout="row" layout-align="space-between center">
<md-button href="#">Code Challenge for T-Systems</md-button>
<md-button class="acme-navbar-text">Application was created {{ vm.relativeDate }}.</md-button>
</div> |
{% extends 'layouts/base.html' %}
{% block title %}
{% endblock %}
{% block content %}
<div class="row">
<div class="col-lg-6">
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">Question Details</h3>
</div>
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.