answer stringlengths 15 1.25M |
|---|
package sfs2x.extensions.games.spacewar.core;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;
import sfs2x.extensions.games.spacewar.<API key>;
import sfs2x.extensions.games.spacewar.entities.Velocity;
import com.smartfoxserver.v2.entities.data.ISFS... |
<?php
return array (
'id' => 'sk_s100_ver1',
'fallback' => '<API key>',
'capabilities' =>
array (
'model_name' => 'S100',
'brand_name' => 'SK Telesys',
'marketing_name' => '',
'density_class' => '1.5',
),
); |
const {describe, it} = global;
import {expect} from 'chai';
import {shallow} from 'enzyme';
import Badges from '../badges';
describe('testmod.components.badges', () => {
it('should do something');
}); |
<?php
namespace Integrated\Bundle\BlockBundle\Templating;
use Doctrine\ODM\MongoDB\DocumentManager;
use Doctrine\ODM\MongoDB\<API key>;
use Doctrine\ODM\MongoDB\Repository\DocumentRepository;
use Integrated\Bundle\BlockBundle\Block\BlockHandler;
use Integrated\Bundle\BlockBundle\Document\Block\Block;
use Integrated\Bun... |
<?php
namespace Lizard\Models;
use Illuminate\Database\Eloquent\Model;
class Reply extends Model
{
/**
* @var array
*/
protected $fillable = ['thread_id', 'user_id', 'original_body', 'body', 'user_agent'];
/**
* @return \Illuminate\Database\Eloquent\Relations\BelongsTo
*/
public func... |
// Generated by class-dump 3.5 (64 bit) (Debug version compiled Sep 30 2020 21:18:12).
#import <IDEKit/IDEViewController.h>
@interface <API key> : IDEViewController
{
}
@end |
package org.charvolant.dossier;
import static org.junit.Assert.assertEquals;
import java.io.StringWriter;
import java.util.ArrayList;
import java.util.List;
import java.util.Locale;
import org.junit.Before;
import org.junit.Test;
import org.w3c.dom.Document;
import com.hp.hpl.jena.ontology.OntModel;
import com.hp.hpl.j... |
# This file is part of Indico.
# Indico is free software; you can redistribute it and/or
from __future__ import unicode_literals
import csv
from flask import flash, session
from indico.core.errors import UserValueError
from indico.modules.events.roles.forms import <API key>
from indico.modules.users import User
from in... |
[HOME](index.md)
**Role:** Level Designer
**Name:** Asier Iglesias

**Contact:**
[Linkedin](https:
Mail: asier.iglesias@yahoo.es
**My job:**
First I started as a kart designer and after giving some concept ideas I knew that it wasn't what I liked, so I changed to level design... |
module.exports = (() => {
'use strict';
function Calculator() {}
Calculator.prototype.add = (a, b) => {
return a + b;
};
Calculator.prototype.subtract = (a, b) => {
return a - b;
};
Calculator.prototype.divide = (a, b) => {
return a / b;
};
Calculator.prototyp... |
class CreateUsernames < ActiveRecord::Migration[5.0]
def change
create_table :usernames do |t|
t.string :department_code
t.string :course_number
t.string :section_name
t.timestamps
end
end
end |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using PlanetarySystem.AstronomicalObjects;
using System.IO;
namespace PlanetarySystem.CommandPattern
{
public sealed class SerializeCommand : Command
{
public ISerializer serializer { get;... |
<!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.12.0 - v0.12.1: Member List</title>
<link href="tabs... |
AMD CommonJS
AMD JavaScript
`define`Module.
`define`
javascript
define(id?: String, dependencies?: String[], factory: Function|Object);
module.
# `dependencies`
dependencies module factory dependencies ["require", "exports", "module"]
# `factory`
factory
module
myModule jQuery
javascript
define('myModule', ['jquer... |
(function(window, undefined) {
"use strict";
var oldR = window.R;
var oldRC = window.RC;
var R = {
Collection: function(elems) {
if (elems) {
for (var i = 0; i < elems.length; ++i) {
this.push(elems[i]);
}
}
... |
<!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.6"/>
<title>VSCP framework: D:/Daten/projects/github/vscp-framework/vscp/vscp_config_base.h Source File<... |
import { BuildInfo } from "_generated_/<API key>";
export default BuildInfo; |
package org.codehaus.modello.model;
import org.codehaus.modello.<API key>;
import org.codehaus.modello.metadata.Metadata;
import java.util.HashMap;
import java.util.Map;
import java.util.ArrayList;
import java.util.List;
/**
* This is the base class for all elements of the model. The name attribute is immutable becaus... |
var
assert = require("assert"),
fbuffer = require('../');
describe('Buffer', function()
{
var buffer = fbuffer()
.byte(1)
.sbyte(-1)
.ushort(256)
.short(-256)
.uint(65536)
.int(-32769)
.ulong(4294967296)
.long(-214748365)
.double(Number.MAX_VALUE)
.string('')
.pack();
... |
// Generated by class-dump 3.5 (64 bit).
#import "MMObject.h"
#import "<API key>.h"
@class NSMutableArray;
@interface <API key> : MMObject <<API key>>
{
_Bool <API key>;
_Bool _m_ignoreLimit;
unsigned int _m_eventId;
id <<API key>> _delegate;
NSMutableArray *<API key>;
}
@property(nonatomic) _Bo... |
package p8.group3.ida.aau.p8_group3.Presenter;
import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.Button;
import android.widget.TextView;
import android.widget.Toast;
import p8.group3.ida.aau.p8_group3.Database.DAO.Pa... |
(function () {
angular
.module('angular-c360')
.factory('c360Model', c360Model);
function c360Model() {
var DT = breeze.DataType; // alias
return {
initialize: initialize
};
function initialize(metadataStore) {
metadataStore.addEntityType({... |
var path = require('path');
var pg = require('pg');
var connectionString = require(path.join(__dirname, '../', '../', 'config')).connectionString;
module.exports = function(req, res) {
var results = [];
// Grab data from the URL parameters
var idCompra = req.params.idCompra;
// Grab data from http request
var... |
define([ 'ractive', 'vendor/ractive-events-tap' ], function ( Ractive ) {
'use strict';
return function () {
var fixture, Foo;
module( 'Miscellaneous' );
// some set-up
fixture = document.getElementById( 'qunit-fixture' );
Foo = function ( content ) {
this.con... |
@import url('http://fonts.googleapis.com/css?family=Open+Sans');
a {
color: #7F3734;
text-decoration: none;
transition: color 0.25s;
}
a:hover {
color: #FFCC5C;
}
body {
/* structure */
margin: 0 auto;
padding: 1em;
min-height: 100%;
width: 80%;
/* presentation */
font-family... |
// SAMMeViewController.h
// niceSports
#import <UIKit/UIKit.h>
@interface SAMMeViewController : UIViewController
@end |
// <auto-generated>
// Dieser Code wurde von einem Tool generiert.
// der Code erneut generiert wird.
// </auto-generated>
namespace OutlookExamplesCS4.Properties {
[global::System.Runtime.CompilerServices.<API key>()]
[global::System.CodeDom.Compiler.<API key>("Microsoft.VisualStudio.Editors.SettingsDe... |
/**
* A 'Toast' is a simple modal message that is displayed on the screen and then automatically closed by a timeout or by a user tapping
* outside of the toast itself. Think about it like a text only alert box that will self destruct. **A Toast should not be instantiated manually**
* but creating by calling 'Ext.to... |
using SAHB.GraphQL.Client.Introspection.Validation;
using SAHB.GraphQL.Client.Testserver.Tests.Schemas.CatOrDog;
using SAHB.GraphQL.Client.TestServer;
using SAHB.GraphQLClient;
using SAHB.GraphQLClient.FieldBuilder;
using SAHB.GraphQLClient.FieldBuilder.Attributes;
using SAHB.GraphQLClient.Introspection;
using System.L... |
<?php
namespace AppBundle\Command;
use AppBundle\Entity\Provider;
use AppBundle\Entity\Service;
use Symfony\Bundle\FrameworkBundle\Command\<API key>;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
class FixturesCommand extends <API key>
{
protected function... |
<!DOCTYPE html>
<html>
<head>
<title>Login - SIMAS - Sistem Manajemen Surat</title>
<!-- Meta -->
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<!-- Favicon -->
<link rel="<API key>" sizes="57x57" href="/res/<API key>.png" />
<link rel="<AP... |
# Definition for a point.
# class Point(object):
# def __init__(self, a=0, b=0):
# self.x = a
# self.y = b
class Solution(object):
def maxPoints(self, points):
"""
:type points: List[Point]
:rtype: int
"""
lines = {}
n = len(points)
if n ==... |
<?php
declare(strict_types=1);
namespace App\Controller;
use Payum\Bundle\PayumBundle\Controller\AuthorizeController as <API key>;
class AuthorizeController extends <API key> implements <API key>
{
} |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>unicoq: Not compatible </title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" r... |
package logdb
import (
"bytes"
"compress/flate"
"compress/lzw"
"errors"
"io/ioutil"
)
// A CompressingDB wraps a 'LogDB' with functions to compress and decompress entries, applied transparently
// during 'Append', 'AppendEntries', and 'Get'.
type CompressingDB struct {
LogDB
Compress func(... |
<div class="panel panel-warning">
<div class="panel-heading">
<p class="h4">Solicitudes pendientes</p>
</div>
<div class="panel-body pre-scrollable">
<?php
if (count($pendientes) > 0) {
?>
<table class="table table-striped">
<tr>
... |
layout: post
title: Docker-docker
categories: [docker]
description: docker
keywords: docker
tag ID12tag:
<!--more
bash
$ docker run --log-driver=fluentd --log-opt fluentd-address=myhost.local:24224 --log-opt tag="mailer"
docker
| | |
| :
| {% raw %}{ { .ID } }{% endraw %} | ID12 |
| {% raw %}{ { .FullID } }{% endraw ... |
# arm7linux
The objective of the project was to create a simple operating system to the ARM Evalutator-7T board which uses an ARM7 processor.
For more information: http://arm7kinos.wordpress.com/ |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Login Page - Photon Admin Panel Theme</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0">
<link rel="shortcut icon" href="ht... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
... |
<?php
use <API key> as <API key>;
class <API key>
extends <API key>
{
//
protected function _initAction()
{
$this->loadLayout()
->_title(Mage::helper('M2ePro')->__('Policies'))
->_title(Mage::helper('M2ePro')->__('Description Policies'));
$this->getLayout()->get... |
export VOLTA_HOME="$HOME/.volta"
[ -s "$VOLTA_HOME/load.sh" ] || return 0
# Initialize volta
. "$VOLTA_HOME/load.sh"
export PATH="$VOLTA_HOME/bin:$PATH"
volta install node
if ( is_osx ); then
# Format Markdown quick action requires node & prettier
volta install prettier
fi |
.treeTable tr td .expander {
background-position: left center;
background-repeat: no-repeat;
cursor: pointer;
padding: 0;
zoom: 1; /* IE7 Hack */
}
.treeTable tr.collapsed td .expander {
background-image: url(../images/toggle-expand-dark.png);
}
.treeTable tr.expanded td .expander {
background-image: url(... |
\n
static inline void <API key>(struct <API key> *state, u32 *out_hw_irq, struct xive_irq_data **out_xd)
static inline struct kvm_vcpu *<API key>(struct kvm *kvm, u32 nr)
static inline struct <API key> *<API key>(struct kvmppc_xive *xive, u32 irq, u16 *source)
static inline u8 <API key>(u8 prio)
static inline u8 xive_p... |
var defaults = {
// display
allDaySlot: false,
defaultView: 'month',
aspectRatio: 1.35,
header: false,
//header: {
// left: 'title',
// center: '',
// right: 'today prev,next'
weekends: true,
// editing
//edit... |
// Arduino JSON library
#include "../include/ArduinoJson/JsonArray.hpp"
#include "../include/ArduinoJson/JsonBuffer.hpp"
#include "../include/ArduinoJson/JsonObject.hpp"
using namespace ArduinoJson;
using namespace ArduinoJson::Internals;
JsonArray JsonArray::_invalid(NULL);
JsonVariant &JsonArray::at(int index) const ... |
module.exports =
{
getObjectName: function(list, obj)
{
for(var attr in list)
{
if (list[attr] === obj)
{
return attr;
}
}
return "";
}
} |
const mongoose = require('mongoose');
const Schema = mongoose.Schema;
const OrderSchema = new Schema({
ids: {
type: String,
},
iname: {
type: String,
},
department: {
type: String,
},
ename: {
type: String,
},
unit: {
type: String,
},
q... |
<?php
declare(strict_types=1);
use Illuminate\Support\Facades\Artisan;
use Illuminate\Support\Facades\File;
use LaravelZero\Framework\Contracts\Providers\ComposerContract;
afterEach(function () {
File::deleteDirectory(database_path());
File::delete(base_path('.gitignore'));
touch(base_path('.gitignore'));
}... |
Dev.Catalysts
==========
CatCoder and CCC (C
This code is used for training and competitions and therefore may look unnecessary ugly. :-)
NOTE: The created examples/levels could not be finished also...
CatCoder: https://catcoder.catalysts.cc/
CCC: http://contest.catalysts.cc/ |
var config = {
default: {
"baseUrl": "",
"paths": {
"app": "scripts/app",
"bootstrap": "scripts/bootstrap",
"config": "scripts/config"
},
"packages": [
{
"name": "myCourseWidget",
"location": "bower_components/myCourseWidget/dist/component/src",
"main": ... |
<?php
use pbozzi\correios\Correios;
use PHPUnit\Framework\TestCase;
class <API key> extends TestCase
{
const ERROR = 'error';
const MESSAGE = 'message';
const ENDERECO = 'endereco';
const LOGRADOURO = 'logradouro';
const BAIRRO = 'bairro';
const CIDADE = 'cidade';
public function <API key>()... |
<div class="content-section introduction">
<div>
<span class="feature-title">Calendar</span>
<span>Calendar is an input component to select a date.</span>
</div>
</div>
<div class="content-section implementation">
<div class="ui-g ui-fluid">
<div class="ui-g-12 ui-md-4">
... |
#!/bin/python
def spl_question(arr, n, k):
prev_accum = cumm = tot_pg_num = ques = count = 0
for each_chptr in arr:
pgs, rem = divmod(each_chptr, k)
ques = prev_accum = cumm = 0
for pg in xrange(pgs):
tot_pg_num += 1
ques += k
cumm = ques
i... |
<?php
namespace EasyCorp\Bundle\EasyAdminBundle\Config;
final class KeyValueStore
{
private $map;
private function __construct(array $keyValueMap)
{
$this->map = $keyValueMap;
}
public static function new(array $keyValuePairs = []): self
{
return new self($keyValuePairs);
}
... |
<script src="${basePath}/resources/common/js/calculate.js"></script>
<script type="text/javascript">
$.fn.modal.Constructor.prototype.enforceFocus = function () {};
</script>
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true"><li class="fa fa-remove"></li></butt... |
<?php
return array (
'id' => '<API key>',
'fallback' => '<API key>',
'capabilities' =>
array (
'model_name' => 'SGH-T659',
'brand_name' => 'Samsung',
'release_date' => '2009_september',
'softkey_support' => 'true',
'table_support' => 'true',
'wml_1_1' => 'true',
'wml_1_2' => 'true',
... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>fsets: Not compatible </title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" re... |
<?php
namespace HomeBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* Personnes
*
* @ORM\Table(name="personnes")
* @ORM\Entity
*/
class Personnes
{
/**
* @var integer
*
* @ORM\Column(name="idPersonnes", type="integer", nullable=false)
* @ORM\Id
* @ORM\GeneratedValue(strategy="IDENT... |
import os.path
from crepehat import SObject
class Kitchen(SObject):
sources = []
extensions = []
def __init__(self, sources, extensions=None):
if not hasattr(sources, "__iter__"):
sources = [sources]
self.sources = sources
if extensions and not hasattr(extensions, "__iter... |
package org.ojalgo.random;
import static org.ojalgo.function.constant.PrimitiveMath.*;
import org.ojalgo.array.Array1D;
import org.ojalgo.structure.Access1D;
/**
* A continuous distribution in which the logarithm of a variable has a normal distribution. A log normal
* distribution results if the variable is the produ... |
<?php
namespace KZ\controller\interfaces;
use KZ\Controller;
/**
* Prepare response for different type of requests.
* For example:
* For ajax request - it will renderPartial given template, put it in json and output as JSON.
* For simple request - it will render given template and output it.
*
* Interface Respons... |
<?php
namespace Pvm\ArtisanBeans\Console;
class MoveCommand extends BaseCommand
{
protected $commandName = 'move';
protected $commandArguments = '
{from : Source tube name}
{to : Destination tube name}
{state=ready : State [ready|delayed|buried] in the source tube}
{count=1 : Num... |
<?php
namespace gries\Pokemath\Numbers;
use gries\Pokemath\PokeNumber;
class Slurpuff extends PokeNumber
{
public function __construct()
{
parent::__construct('slurpuff');
}
} |
from django.apps import AppConfig
class GeoTweetsConfig(AppConfig):
name = 'geo_tweets' |
/*$( window ).resize(function() {
location.reload();
});
*/
$(document).ready(function(){
}); |
#icono
**icono** is an icon pack that needs no external resources. Every tags can be an icon made with **pure CSS**.
[Demo][2]
##How to use
To get going with icono you can:
* Download [icono.min.css][1]
or
* Install it with [Bower](http:
And then load it in your page:
`<link rel="stylesheet" href="icono.min.css">`
or
Y... |
package ru.webim.android.sdk;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import com.google.gson.annotations.SerializedName;
import java.util.List;
/**
* Abstracts a push notification
* @see Webim#<API key>(String)
*/
public interface <API key> {
/**
* @return the type of the no... |
<?php if (!defined('BASEPATH')) exit('No direct script access allowed');
class Email_Model extends CI_Model {
private $emailTable = 'email';
private $emailColumn = 'email_id';
public function __construct()
{
parent::__construct();
}
public function <API key>($data)
{
$attribu... |
class MessageDefinitions
def self.define_message(message_type, opts = {}, &block)
definer = DefinedMessage.new
definer.load_message_from(&block)
@@definitions ||= {}
@@definitions[message_type.to_s] ||= []
opts[:version] ||= 1
definer.version = opts[:version]
@@definitions[message_type.to_... |
$LOAD_PATH.unshift << 'lib'
STDOUT.sync = true
# Defines our constants
APP_ENV = ENV['RACK_ENV'] ||= 'development' unless defined?(APP_ENV)
APP_ROOT = File.expand_path('../..', __FILE__) unless defined?(APP_ROOT)
# Load our dependencies
require 'bundler/setup'
Bundler.require(:default, APP_ENV)
require '!{projectnamelo... |
# How to build and deploy for Windows?
You *will* need Visual Studio 2015 in order for compilation to work. (We need full C++11 support, not what VS2013 provides) Compiling 32-bit will not be supported officially; if that breaks, nobody cares.
It is also possible to build for MinGW-W64, but this is not a focus since it... |
using Bebbs.Harmonize.With.Component;
using EventSourceProxy;
using System;
using System.Collections.Generic;
using System.Linq;
using Config = SimpleConfig.Configuration;
namespace Bebbs.Harmonize.With.LightwaveRf.Configuration
{
[<API key>(Name = "<API key>")]
public interface IProvider
{
ISetting... |
valgrind -v --track-origins=yes --leak-check=full --show-leak-kinds=all --read-var-info=yes --<API key>=yes ./easyCUnit 2> valgrind_test_00$1.log |
console.log('jenks.js');
function httpGet(theUrl) {
var xmlHttp = new XMLHttpRequest();
xmlHttp.open( "GET", theUrl, false ); // false for synchronous request
xmlHttp.send( null );
// console.log('HTTP - GETR Synchrone: \n' + xmlHttp.responseText); // DEBUG
return xmlHttp.responseText;
};
function ... |
using System.Web;
using System.Web.Mvc;
namespace SIM
{
public class FilterConfig
{
public static void <API key>(<API key> filters)
{
filters.Add(new <API key>());
}
}
} |
<!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... |
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Diagnostics;
using System.Diagnostics.CodeAnalysis;
using System.Globalization;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
using System.Threading;
using System.Threading.Tasks;
using Microso... |
#pragma once
#include <FalconEngine/Core/Macro.h>
#include <memory>
#include <FalconEngine/Core/Object.h>
#include <FalconEngine/Math/Color.h>
#include <FalconEngine/Math/Vector2.h>
namespace FalconEngine
{
namespace Detail
{
#pragma pack(push, 4)
struct FALCON_ENGINE_API MaterialColorData
{
public:
Vector3f mAmbie... |
// This file is automatically generated.
package adila.db;
/*
* Vivo Y31
*
* DEVICE: Y31
* MODEL: vivo Y31
*/
final class y31_vivo20y31 {
public static final String DATA = "Vivo|Y31|";
} |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>hammer: 32 s </title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" rel="styles... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>area-method: Not compatible </title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.c... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>switch: Not compatible</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" re... |
package cmd
import (
"fmt"
"github.com/bitrise-io/depman/depman"
"github.com/spf13/cobra"
)
// initCmd represents the init command
var initCmd = &cobra.Command{
Use: "init",
Short: "Initialize the base config for depman",
Long: `Initialize the base config for depman`,
RunE: func(cmd *cobr... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>User agent detail - SAMSUNG-SGH-E700A</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.97.3/css/materialize.min.css">
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel=... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>User agent detail - Mozilla/5.0 (iPod; CPU iPhone OS 6_1_5 like Mac OS X) AppleWebKit/536.26 (KHTML, like Gecko) Mobile/10B400 [FBAN/FBIOS;FBAV/10.0.0.26.21;FBBV/2441354;FBDV/iPod4,1;FBMD/iPod touch;FBSN/iPhone OS;FBSV/6.1.5;FBSS/2; FBCR/;F... |
#include <string>
#include <map>
#include <set>
#include <vector>
#include <algorithm>
using namespace std;
class Person {
public:
explicit Person(const string& f_name, const string& l_name, int year)
{
birthday = year;
ChangeFirstName(year, f_name);
ChangeLastName(year, l_name);
}
... |
{% load keeper %}
<html>
<head>
<meta charset="UTF-8">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta/css/bootstrap.min.css" integrity="sha384-/Y6pD6FV/Vv2HJnA6t+<API key>" crossorigin="anonymous">
</head>
<body>
<nav class="navbar navbar-light bg-light navbar-expand... |
from __future__ import absolute_import
import pytest
from openpyxl.xml.functions import fromstring, tostring
from openpyxl.tests.helper import compare_xml
@pytest.fixture
def Reference():
from ..reference import Reference
return Reference
@pytest.fixture
def Worksheet():
class DummyWorksheet:
def __... |
/** \file
*
* Main source file for the RNDISEthernetHost demo. This file contains the main tasks of
* the demo and is responsible for the initial application hardware configuration.
*/
#include "RNDISEthernetHost.h"
/** Main program entry point. This routine configures the hardware required by the application, th... |
<!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.24: Member List</title>
<link href="tabs.css" rel... |
require "spec_helper"
require "json"
describe Eshealth::Metrics do
describe "Attributes" do
metrics = Eshealth::Metrics.new
it "Allows reading and writing for :url" do
metrics.url = "something_stupid"
expect(metrics.url).to eq("something_stupid")
end
it "Allows reading and writing for :typ... |
package com.microsoft.azure.management.cdn.v2020_04_15;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
* Defines the parameters for Cookies match conditions.
*/
public class <API key> {
/**
* The odatatype property.
*/
@JsonProperty(value = "@odata\\.type", required... |
'use strict';
/**
* Module dependencies.
*/
var mongoose = require('mongoose'),
Schema = mongoose.Schema,
crypto = require('crypto');
/**
* A Validation function for local strategy properties
*/
var <API key> = function(property) {
return ((this.provider !== 'local' && !this.updated) || property.length)... |
<?php
namespace AntiMattr\Tests\ETL\Transform\Transformer\MongoDB;
use AntiMattr\ETL\Transform\Transformer\MongoDB\<API key>;
use AntiMattr\TestCase\AntiMattrTestCase;
use MongoId;
class <API key> extends AntiMattrTestCase
{
private $transformation;
private $transformer;
protected function setUp()
{
... |
define(['handlebars'], function ( Handlebars ){
function genderValue (value) {
var out = "";
if (value != null) {
if (value === 1) {
out = "Female";
} else if (value === 2) {
out = "Male";
}
}
return out;
}
Handlebars.registerHelper( 'genderValue', genderValue );
... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Threading;
using System.Runtime.InteropServices;
public class Toggleref {
public int __test;
public string id;
public List<object> link = new List<object> ();
public const int DROP = 0;
public const int STRONG = 1... |
import {ObjectType, Root, Field} from "type-graphql"
import {Page, PageParams} from "api/type/abstract/Page"
import {Chapter} from "entity/Chapter"
export type ChapterPageParams = PageParams<Chapter>
@ObjectType()
export class ChapterPage extends Page<Chapter> {
@Field(() => [Chapter], {nullable: "items"})
list(@Ro... |
//$Id: examplewindow.cc 836 2007-05-09 03:02:38Z jjongsma $ -*- c++ -*-
#include "examplewindow.h"
#include <gtkmm.h>
#include <iostream>
ExampleWindow::ExampleWindow() {
set_title("main_menu example");
set_default_size(200, 200);
add(m_Box); //We can put a MenuBar at the top of the box and other stuff below it.
... |
#include "stdafx.h"
#include "MaskDesktop.h"
#include <CDEvents.h>
using namespace std::placeholders;
#include <CDAPI.h>
#include "Config.h"
#include <thread>
#include <shellapi.h>
MaskDesktop::MaskDesktop(HMODULE hModule) :
m_module(hModule),
m_menuID(cd::GetMenuID())
{
InitImg();
cd::<API key>.AddList... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.