answer stringlengths 15 1.25M |
|---|
import React from 'react';
import {shallow} from 'enzyme';
import {BareCheckSuiteView} from '../../lib/views/check-suite-view';
import CheckRunView from '../../lib/views/check-run-view';
import checkSuiteQuery from '../../lib/views/__generated__/<API key>.graphql';
import {checkSuiteBuilder} from '../builder/graphql/ti... |
bin = $(shell npm bin)
sjs = $(bin)/sjs
browserify = $(bin)/browserify
jsdoc = $(bin)/jsdoc
uglify = $(bin)/uglifyjs
VERSION = $(shell node -e 'console.log(require("./package.json").version)')
PACKAGE = core.inspect
EXPORTS = Folktale.Core.Inspect
dist:
mkdir -p $@
dist/$(PACKAGE).umd.js... |
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
var minus = exports.minus = { "viewBox": "0 0 20 20", "children": [{ "name": "path", "attribs": { "d": "M16,10c0,0.553-0.048,1-0.601,1H4.601C4.049,11,4,10.553,4,10c0-0.553,0.049-1,0.601-1h10.799C15.952,9,16,9.447,16,10z" } }] }; |
export const <API key> = {"viewBox":"0 0 24 24","children":[{"name":"path","attribs":{"d":"M0 0h24v24H0z","fill":"none"},"children":[]},{"name":"path","attribs":{"d":"M9 16h6.5c1.38 0 2.5-1.12 2.5-2.5S16.88 11 15.5 11h-.05c-.24-1.69-1.69-3-3.45-3-1.4 0-2.6.83-3.16 2.02h-.16C7.17 10.18 6 11.45 6 13c0 1.66 1.34 3 3 3zM21... |
#include "Agent.h"
#include <algorithm>
Agent::Agent()
{
}
Agent::Agent(float _speed, float _health, const glm::vec2 & _startPos,
const GameEngine::GLTexture & _texture, GameEngine::ColorRGBA8 & _color, std::weak_ptr<World> _world) :
m_movementSpeed(_speed), m_health(_health), m_worldPos(_startPos), m_t... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>metacoq: 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>mathcomp-algebra: Not compatible </title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>huffman: Not compatible </title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" ... |
#include "bot.h"
#include "../communication/boost/concept_check.hpp"
Bot::Bot() {
position.x = 20;
position.y = 20;
color = al_map_rgb(255, 0, 0);
AI = true;
init();
}
Bot::Bot(slm::vec2 p):position(p) {
color = al_map_rgb(255, 0, 0);
AI = true;
init();
}
Bot::Bot(slm::vec2 p, ALLEGRO_COLOR c):position(... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Servidor.Control
{
internal class CifradoAES
{
internal string cifrar(string <API key>)
{
return <API key>;
}
internal string descifrar(string... |
#include "optionsdialog.h"
#include "ui_optionsdialog.h"
#include "bitcoinunits.h"
#include "monitoreddatamapper.h"
#include "netbase.h"
#include "optionsmodel.h"
#include <QDir>
#include <QIntValidator>
#include <QLocale>
#include <QMessageBox>
OptionsDialog::OptionsDialog(QWidget *parent) :
QDialog(parent),
u... |
#!/usr/bin/env python
from ..debugging import bacpypes_debugging, ModuleLogger
from ..capability import Capability
from ..basetypes import ErrorType, PropertyIdentifier
from ..primitivedata import Atomic, Null, Unsigned
from ..constructeddata import Any, Array, ArrayOf, List
from ..apdu import \
SimpleAckPDU, ReadP... |
#include "FeatureIterator.h"
#include "Random.h"
#include <functional>
namespace dungeon
{
// ADJUSTERS
AForward::AForward(const Feature& feature) :
mStart(randomRange(0,feature.height() - 1)),
mOffset(feature.offset(mStart))
{
}
AMirror::AMirror(const Feature& feature) :
mStart(randomRange(0,feature.height... |
"use strict";
var __extends = (this && this.__extends) || (function () {
var extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
return function (d, b)... |
# Logic for creating a security key during password reset
module Authenticatable
class SecurityKey < ActiveRecord::Base
# Uses the hashable concern
include Hashable
# Requires user id and an expiration_date to be present
validates :user_id,:expiration_date, presence: true
# ActiveRecord associatio... |
var Buffer = require('buffer').Buffer,
Jpeg = require('jpeg').Jpeg;
function <API key>() {
return Math.floor(Math.random() * 256);
}
/**
* Creates a random image
*/
module.exports = function(width, height, callback) {
var buffer = new Buffer(width * height * 3);
for (var x = 0; x < width; x++) {
... |
import { html } from 'lit';
import { Story, Meta } from '@storybook/web-components';
export default {
title: 'Addons / Toolbars',
} as Meta;
const getCaptionForLocale = (locale: string) => {
switch (locale) {
case 'es':
return 'Hola!';
case 'fr':
return 'Bonjour !';
case 'zh':
return '... |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="//fonts.googleapis.com/css?family=Raleway:400,300,600" rel="stylesheet" type="text/css">
<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/skele... |
# 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 following conditions:
# all copies or substantial po... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
... |
using System;
// TODO CR
namespace SimControl.Reactive
{
<summary>Exception trigger.</summary>
public class ExceptionTrigger: Trigger
{
<summary>Constructor.</summary>
<param name="exception">The exception.</param>
public ExceptionTrigger(Exception exception)
{
//... |
package org.spongepowered.common.data.processor.block;
import static org.spongepowered.common.data.<API key>.fail;
import com.google.common.base.Optional;
import net.minecraft.block.state.IBlockState;
import net.minecraft.util.BlockPos;
import net.minecraft.world.World;
import org.spongepowered.api.block.BlockState;
im... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
$lang['date_year'] = 'Год';
$lang['date_years'] = 'Лет';
$lang['date_month'] = 'Месяц';
$lang['date_months'] = 'Месяцев';
$lang['date_week'] = 'Неделя';
$lang['date_weeks'] = 'Недель';
$lang['date_day'] = 'День';
$lang['date_days'] = 'Дней';
$lang['d... |
package com.dreamdevs.sunshine.fragment;
import android.content.Intent;
import android.content.SharedPreferences;
import android.database.Cursor;
import android.net.Uri;
import android.os.Bundle;
import android.os.Handler;
import android.os.Message;
import android.preference.PreferenceManager;
import android.support.v4... |
//software and associated documentation files (the "Software"), to deal in the Software
//without restriction, including without limitation the rights to use, copy, modify, merge,
//to whom the Software is furnished to do so, subject to the following conditions:
//substantial portions of the Software.
//INCLUDING BUT N... |
/*
OUR GRID
0 - 480
480 - 768
769 - 1020
1200 - infinite
*/
.col-md-4{
float: left;
}
.footer-wrapper .col-md-4{
padding-left: 10px;
}
.footer-ctas{
padding-left: 20px;
}
.visible-desktop{
display: none;
}
.visible-mobile{
display: none;
}
@media (min-width: 1020px){
.col-md-... |
from __future__ import print_function
from __future__ import division
# python bpzchisq2run.py ACS-Subaru
# PRODUCES ACS-Subaru_bpz.cat
# ADDS A FEW THINGS TO THE BPZ CATALOG
# INCLUDING chisq2 AND LABEL HEADERS
# ~/p/bpzchisq2run.py NOW INCLUDED!
# ~/Tonetti/colorpro/bpzfinalize7a.py
# ~/UDF/Elmegreen/phot8/bpzfinaliz... |
import React, { Component } from 'react'
import PropTypes from 'prop-types'
import themed from '@rentpath/react-themed'
import clsx from 'clsx'
import isEqual from 'lodash/isEqual'
import { randomId } from '@rentpath/react-ui-utils'
import SubmitButton from './SubmitButton'
import Header from './Header'
import {
Form... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>pi-agm: 1 m 16 s</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" rel="sty... |
<?php
namespace Poker;
use Faker\Factory;
use Symfony\Component\Console\Helper\Table;
use Symfony\Component\Console\Input\InputOption;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
class RandomGame extends GameCommand
{
use GameTrait;
/**
* Config... |
<!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>V8 API Reference Guide for io.js v2.0.1 - v2.3.0: v8::<API key>< K, V > Class Templa... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>finger-tree: 5 m 19 s </title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" re... |
<!DOCTYPE HTML PUBLIC "-
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_101) on Mon Sep 19 15:00:44 UTC 2016 -->
<title>org.springframework.messaging.support (Spring Framework 4.3.3.RELEASE API)</title><script>var _hmt = _hmt || [];(function() {var hm = document.createElement("script");hm.src... |
namespace Owin.Scim.Model
{
using Configuration;
public class <API key> : <API key><ScimFeatureBulk>
{
public <API key>(<API key> serverConfiguration)
: base(serverConfiguration)
{
For(b => b.Supported)
.SetDescription(@"A boolean value specifying whet... |
// This file was generated based on 'C:\ProgramData\Uno\Packages\UnoCore\0.13.2\Source\Uno\Collections\$.uno'.
// WARNING: Changes might be lost if you edit this file directly.
#ifndef __APP_UNO_COLLECTIONS_DICTIONARY2_VALUE_COLLECTION__FUSE_NAVIGATION_NA_14A77DCE_H__
#define __APP_UNO_COLLECTIONS_DICTIONARY2_VALUE_COL... |
export * from './user';
export * from './template'; |
package TankWarGame;
import java.awt.Color;
import java.awt.Graphics;
import java.awt.Image;
public class EnergyBar extends GameObject {
int energy;
int defaultEnergy = 5000/30;
public int getEnergy() {
return energy;
}
public void setEnergy(int energy) {
this.energy = energy;
}
... |
package com.amee.domain.data.builder.v2;
import com.amee.base.utils.XMLUtils;
import com.amee.domain.Builder;
import com.amee.domain.ItemBuilder;
import com.amee.domain.ItemService;
import com.amee.domain.TimeZoneHolder;
import com.amee.domain.item.BaseItemValue;
import com.amee.domain.item.NumberValue;
import com.amee... |
# Orvibo Node for NodeRED
A simple node that can control the Orvibo S20 state.
To change the state of a device send the node a payload of:
{
macAddress: 'MAC ADDRESS',
macPadding: '202020202020',
type: 'Socket',
ip: 'IP ADDRESS',
state: false,
name: 'Socket MAC ADDRES... |
layout: page
title: "Jonathan Weber Bein"
comments: true
description: "blanks"
keywords: "Jonathan Weber Bein,CU,Boulder"
<head>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
<script src="https://dl.dropboxusercontent.com/s/pc42nxpaw1ea4o9/highcharts.js?dl=0"></script>
<!-- <s... |
package cvut.fit.borrowsystem.domain.entity;
import org.springframework.data.mongodb.core.mapping.Document;
@Document(collection = "item")
public class Book extends Item {
private int isbn;
public Book() {
}
public Book(String itemName, int count, int isbn) {
super(itemName, count);
this... |
<!DOCTYPE html>
<!--[if lt IE 9]><html class="no-js lt-ie9" lang="en" dir="ltr"><![endif]-->
<!--[if gt IE 8]><!-->
<html class="no-js" lang="en" dir="ltr">
<!--<![endif]-->
<!-- Usage: /eic/site/ccc-rec.nsf/tpl-eng/template-1col.html?Open&id=3 (optional: ?Open&page=filename.html&id=x) -->
<!-- Created: ; Product Code... |
var gulp = require("gulp"),
del = require("del"),
ts = require("gulp-typescript"),
tsProject = ts.createProject("tsconfig.json")
typedoc = require("gulp-typedoc");
var compileTS = function () {
return tsProject.src()
.pipe(tsProject())
.js.pipe(gulp.dest("app"));
};
gulp.task("doc", ... |
#description : Solves travelling salesman problem by using Hill Climbing.
#author : Yakup Cengiz
#date : 20151121
#version : 0.1
#notes :
#python_version : 3.5.0
import math
import sys
import os
import random
CommonPath = os.path.abspath(os.path.join('..', 'Common'))
sys.path.... |
/* global describe, it, beforeEach */
'use strict';
process.env.NODE_ENV = 'test';
var sharedModule = require('../lib/module-shared');
var instance1;
var instance2;
var should = require('should');
var stubs = {};
describe('Private Module Tests', function () {
beforeEach(function (done) {
for (var stub in st... |
from django.conf.urls import url, include
from django.contrib import admin
urlpatterns = [
url(r'^admin/', admin.site.urls),
url(r'^todo/', include('todo.urls')),
url(r'^accounts/', include('accounts.urls')),
] |
<?php
/**
* @package PayPal
*/
/**
* Make sure our parent class is defined.
*/
require_once 'PayPal/Type/AbstractRequestType.php';
/**
* <API key>
*
* @package PayPal
*/
class <API key> extends AbstractRequestType
{
var $Token;
function <API key>()
{
parent::AbstractRequestType();
$t... |
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
$LOAD_PATH.unshift(File.dirname(__FILE__))
#require 'test/unit'
require 'ssh-config-lib' |
layout: post
title: MHV Quadcopter Workshop 2.0
**Start:** 24/07/2013 18:30<br>
**Where:** At MHV in Downer

I would like to officially announce the 2nd MHV Quadc... |
<div class="commune_descr limited">
<p>
Valsonne est
un village
géographiquement positionné dans le département de Rhône en Rhône-Alpes. Elle totalisait 807 habitants en 2008.</p>
<p>Le nombre de logements, à Valsonne, se décomposait en 2011 en 66 appartements et 381 maisons soit
un marché plutôt équil... |
<div class="commune_descr limited">
<p>
Mennessis est
un village
localisé dans le département de l'Aisne en Picardie. Elle totalisait 386 habitants en 2008.</p>
<p>Le nombre d'habitations, à Mennessis, était réparti en 2011 en zero appartements et 172 maisons soit
un marché plutôt équilibré.</p>
<p>Si ... |
package com.jim.portal.controller;
import com.jim.portal.entity.BooksEntity;
import com.jim.portal.hibernate.<API key>;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframewo... |
/*
* What follows is the result of much research on cross-browser styling.
* Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
* Kroc Camen, and the H5BP dev community and team.
*/
html {
color: #222;
font-size: 1em;
line-height: 1.4;
}
::-moz-selection {
background: #b3d4fc;
... |
Spying
===
1. [What is spying?](#what-is-spying?)
1. [Types of spies](#types-of-spies)
1. [Spy components](#spy-components)
1. [Subjects](#subjects)
1. [Spy methods](#spy-methods)
1. [Evidence](#evidence)
1. [Unique association keys](#<API key>)
1. [Persisting evidence to disk](#<API key>)
1. [Spy respons... |
<?php
namespace phpManufaktur\miniShop\Data\Setup;
use Silex\Application;
use phpManufaktur\miniShop\Data\Shop\Base;
use phpManufaktur\miniShop\Data\Shop\Group;
use phpManufaktur\miniShop\Data\Shop\Article;
use phpManufaktur\miniShop\Data\Shop\Basket;
use phpManufaktur\miniShop\Data\Shop\Order;
class Uninstall
{
pr... |
.game-canvas {
border: 3px solid #999;
border-radius: 3px;
margin: auto;
display: block;
background-image:url('./images/background.png');
-webkit-box-shadow: 3px 3px 5px 1px rgba(0,0,0,0.32);
-moz-box-shadow: 3px 3px 5px 1px rgba(0,0,0,0.32);
box-shadow: 3px 3px 5px 1px rgba(0,0,0,0.32);
margin-left:5... |
# coding: utf-8
[
{ pt: 'Arte', en: 'Art' },
{ pt: 'Artes plásticas', en: 'Visual Arts' },
{ pt: 'Circo', en: 'Circus' },
{ pt: 'Comunidade', en: 'Community' },
{ pt: 'Humor', en: 'Humor' },
{ pt: 'Quadrinhos', en: 'Comicbooks' },
{ pt: 'Dança', en: 'Dance' },
{ pt: 'Design', en: 'Design' },
{ pt: 'Ev... |
package com.pozirk.ads;
//import android.util.Log;
import com.amazon.device.ads.*;
import org.haxe.lime.HaxeObject;
public class AmazonAdsListener implements AdListener
{
protected HaxeObject _callback = null;
protected String _who = null;
public AmazonAdsListener(HaxeObject callback, String who)
{
... |
nlp-nltk-workshop
==============
Repo for the Python/natual language processing fun had at 7/27/2013 workshop (http:
Check out `NOTES.md` for, well, notes. |
module os_detect
implicit none (type, external)
contains
function getos()
!! heuristic detection of operating system based on de facto environment variables
character(256) :: buf
character(:), allocatable :: getos
call <API key>("HOME", buf)
if (len_trim(buf) > 0) getos = "unix"
call <API key>("USERPROFILE", buf)
if (l... |
body {
padding: 0;
margin: 0;
}
html, body, #map {
height: 946px;
width: 1495px;
}
html, body, #slide {
width: 1495px;
padding: 0;
margin: 0;
}
th {
text-align: left;
vertical-align: top;
}
.info {
padding: 6px 8px;
font: 14px/16px Arial, Helvetica, sans-serif;
background... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title><API key>: 1 m 49 s </title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" rel=... |
package com.codepoetics.protonpack.selectors;
import java.util.Comparator;
import java.util.Objects;
import java.util.stream.Stream;
public final class Selectors {
private Selectors() {
}
public static <T> Selector<T> roundRobin() {
return new Selector<T>() {
private int startIndex = 0;
... |
<?php
namespace Cinemino\SiteBundle\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
class DefaultController extends Controller
{
public function indexAction($name)
{
return $this->render('CineminoSiteBundle:Default:index.html.twig', array('name' => $name));
}
} |
<?php
namespace JDT\Api;
use Illuminate\Http\Request;
use Illuminate\Routing\Router;
use Laravel\Passport\Passport;
use Illuminate\Http\UploadedFile;
use JDT\Api\Http\InternalApiRequest;
use Illuminate\Filesystem\Filesystem;
use Laravel\Passport\<API key>;
use Symfony\Component\HttpFoundation\Cookie;
use Illuminate\Con... |
class Public::PeopleController < <API key>
layout false
after_action :allow_iframe
skip_before_action :<API key><API key> :authenticate_user!
# GET /people/new
def new
@referrer = false
if params[:referrer]
begin
uri = URI.parse(params[:referrer])
@referrer = params[:referrer] if... |
<div class="header clearfix border-bottom-grey">
<h4 class="margin-zero">Delete Review</h4>
<span class="icon icon-cross2 close-modal" ng-click="RemovePopup.cancel()"></span></div>
<div class="padded clearfix">
<div class="content">
<p class="margin-top-five">Are you sure you want to delete this review?</p>
... |
# GitLab Slack application **[FREE ONLY]**
NOTE: **Note:**
The GitLab Slack application is only configurable for GitLab.com. It will **not**
work for on-premises installations where you can configure the
[Slack slash commands](<API key>.md) service instead. We're working
with Slack on making this configurable for all G... |
<?php
class AnnotatorException extends Exception {
}
class Annotator {
const INFO = 0;
const BEFORE = 1;
const AFTER = 2;
const AROUND = 3;
public static $annotations = array();
/**
* Register annotation handler
*
* @param string $annotation Annotation code
* @param callable ... |
local Hack = {
nId = 20170327,
strName = "Display Essences in Loot Stack",
strDescription = "Fakes essence gains as items so they show up in the loot stack",
strXmlDocName = nil,
tSave = nil,
}
local karColors = { "Red", "Green", "Blue", "Purple" }
function Hack:Initialize()
return true
end
function Hack:Lo... |
using AppShell.NativeMaps;
namespace AppShell.Samples.NativeMaps
{
public class NativeMapsShellCore : ShellCore
{
public override void Run()
{
Push<<API key>>(new { Name = "Main", Master = new <API key>(serviceDispatcher) });
serviceDispatcher.Dispatch<INavigationService>... |
import {
featureCollection,
lineString,
multiLineString,
// Typescript Definitions
Polygon,
LineString,
MultiLineString,
MultiPolygon,
Feature,
FeatureCollection
} from '@turf/helpers'
import lineStringToPolygon from './'
// Fixtures
const coords = [[125, -30], [145, -30], [145, ... |
module Ruboty
module Variable
module Actions
class Get < Ruboty::Variable::Actions::Variable
def call(key)
if var.data.has_key?(key)
message.reply(var.get(key))
else
message.reply(undefined_message(key))
end
end
def undefined_mess... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>interval: 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>ramsey: Not compatible </title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" r... |
lang: en
layout: post
title: Example content for posts
category: Others
color: purple
theme_color: "#9c27b0"
img: /static/IMG/4.jpg
tags: Jekyll
This demo page has been used from [here](http://jasonm23.github.io/markdown-css-themes/).
<h1>A First Level Header</h1>
<h2>A Second Level Header</h2>
<h3>A Third Level Header... |
<?php
/**
* Trait for Control that use Vue Lookup component.
*/
declare(strict_types=1);
namespace Atk4\Ui\Form\Control;
use Atk4\Ui\Callback;
trait VueLookupTrait
{
/** @var Callback */
public $dataCb;
public function <API key>(): void
{
if (!$this->dataCb) {
$this->dataCb = Callb... |
// This file is part of RTIMULibCS
// this software and associated documentation files (the "Software"), to deal in
// the Software without restriction, including without limitation the rights to use,
// Software, and to permit persons to whom the Software is furnished to do so,
// subject to the following conditi... |
#include <cassert>
#include <sstream>
#include <algorithm>
#include <QWidget>
#include <QMessageBox>
#include <QDesktopWidget>
#include <QFileDialog>
// Infra.
#include <QtCommon/Util/<API key>.h>
#include <QtCommon/Scaling/ScalingManager.h>
#include <Utils/Include/rgaCliDefs.h>
// Local.
#include <<API key>/Include/Qt... |
exports.commands = {
'c8': 'crazyeights',
crazyeights: function(arg, by, room) {
if (room.charAt(0) === ',') return false;
if (!crazyeight.gameStatus[room]) {
crazyeight.gameStatus[room] = 'off';
}
if (!arg) {
return false;
}
else {
... |
<?php
/* PMUserBundle:Registration:register_content.html.twig */
class <API key> extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = array(
);
}
protected function doDisplay(array $... |
<?php
class <API key> {
private $log;
/**
* Constructor
*/
function __construct() {
# TODO: Do something or remove
}
/**
* Do the initialize of SmartWiki
*
* @param boolean $showInMenu
*
* @return HTML output code
*/
public function execute($showIn... |
<!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>V8 API Reference Guide for node.js v0.6.0: Member List</title>
<link href="tabs.css" rel="... |
require 'nn'
local opts = require '__0_dcgan.script.opts'
local gen = require '__0_dcgan.models.gen'
local dis = require '__0_dcgan.models.dis'
-- basic settings.
torch.<API key>('torch.FloatTensor')
torch.setnumthreads(2)
-- get opt ans set seed.
local opt = opts.parse(arg)
print(opt)
if opt.seed == 0 then opt.seed... |
import React from 'react';
import ReactDOM from 'react-dom';
import Layout from './layout.js';
document.addEventListener('DOMContentLoaded', () => {
ReactDOM.render(<Layout />, document.getElementById('main'));
}); |
##TaDaa/<API key>
#HTML/SVG autocompleter with Emmet support for Vim
Providing HTML+SVG autocompletions with support for Emmet syntax!
##Installation
`
Bundle 'TaDaa/<API key>'
`
##Options
`g:<API key> = [1|0=Default]` - setting this to 1 will cause <API key> to set its completion function to the omnifunc instead of co... |
$.fn.onEnterKey =
function( closure ) {
$(this).keypress(
function( event ) {
var code = event.keyCode ? event.keyCode : event.which;
if (code == 13) {
closure();
return false;
}
} );
}
String... |
heart_beat:
echo "0006 00000001 0000" | xxd -r -ps |nc 127.0.0.1 8888 -q 2|hexdump -C |
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using ConverterContracts.<API key>;
using FB2Library.Elements;
using XHTMLClassLibrary.BaseElements;
using XHTMLClassLibrary.BaseElements.InlineElements;
using EPubLibr... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _01.<API key>
{
public static class <API key>
{
public static StringBuilder Substring(this StringBuilder input, int index, int length)
{
StringBuilder result ... |
<!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>V8 API Reference Guide for node.js v0.10.25: Class Hierarchy</title>
<link href="tabs.css"... |
/*
Sample code file for CPJ2e.
All code has been pasted directly from the camera-ready copy, and
then modified in the smallest possible way to ensure that it will
compile -- adding import statements or full package qualifiers for
some class names, adding stand-ins for classes and methods that are
referred t... |
import ApiClient from '../ApiClient';
/**
* The UpdateFileRequest model module.
* @module model/UpdateFileRequest
* @version 1.0.0
*/
class UpdateFileRequest {
/**
* Constructs a new <code>UpdateFileRequest</code>.
* @alias module:model/UpdateFileRequest
*/
constructor() {
UpdateFileR... |
from django.db import models
from .fields import SerializableField
class KVModel(models.Model):
"""
An Abstract model that has key and value fields
key -- Unique CharField of max_length 255
value -- SerializableField by default could be used to store bool, int,
float, str, list, dict and ... |
layout: page
title: About
permalink: /about/
Linguist, data scientist, math tutor, photographer, and cook! I love patterns, numbers, and playing around with language. Been living in the Bay Area for the past few years. Originally from LA and lived in Boston before SF. Excited to apply my skills as a linguist and data s... |
<?php
return array (
'id' => '<API key>',
'fallback' => 'uptext_generic',
'capabilities' =>
array (
),
); |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>gaia: Not compatible </title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" rel... |
<?php
use Illuminate\Database\Seeder;
class DatabaseSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
$this->call(UsersTableSeeder::class);
$this->call(CoursesTableSeeder::class);
//$this->call(<API key>::class);
... |
<?php
namespace Chebur\SphinxBundle\Sphinx\Connection;
use Foolz\SphinxQL\Drivers\Mysqli\Connection as <API key>;
class MysqliConnection extends <API key> implements ConnectionInterface
{
protected $<API key> = true;
} |
export default class ContestType {
constructor(options) {
let _id = null;
let _name = null;
let _berryFlavor = null;
let _color = null;
Object.defineProperty(this, 'id', {
enumarable: true,
get() {
return _id;
}
});
Object.defineProperty(this, 'name', {
enum... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.