answer stringlengths 15 1.25M |
|---|
require 'spec_helper'
describe Dashdog do
it 'has a version number' do
expect(Dashdog::VERSION).not_to be nil
end
end |
/**
* The GiftEntry class describes a gift in terms of three values:
* the gift name, the gift receipient, and whether the gift
* has been bought yet.
*
* @author Richard White
* @version 2013-12-05
*/
public class GiftEntry
{
/**
* Constructor for known recipient with blank Gift
* @param recipient... |
<?php
namespace Webflavia\Entity;
use Webflavia\Resource\ResourceInterface;
abstract class AbstractNavigable implements NavigableInterface {
/**
* Resource object reference
*
* @var \Webflavia\Resource\ResourceInterface
*/
protected $resource;
/**
* Request's response
*
* @var mixed[]
*/
... |
<!DOCTYPE html>
<!--[if lt IE 7]><html class="no-js lt-ie9 lt-ie8 lt-ie7"><![endif]-->
<!--[if IE 7]><html class="no-js lt-ie9 lt-ie8 ie7"><![endif]-->
<!--[if IE 8]><html class="no-js lt-ie9 ie8"><![endif]-->
<!--[if IE 9]><html class="no-js ie9"><![endif]-->
<!--[if gt IE 8]><!-->
<html class="no-js"><!--<![endif]-->... |
module.exports = function(params) {
params = params || {};
_.extend(this, params);
this.validate = params.validate || function() {
return true;
};
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Join_Arrays
{
class Program
{
static void Main(string[] args)
{
int[] nums = { 100, 200, 300 };
foreach (var x in nums)
{
... |
<?php
// EventFormBundle:Categoria:index.html.twig
return array (
); |
public class IsUnique {
public static boolean isUnique1(String input) {
int checker = 0;
int n = input.length();
if (n <= 1) return true;
for (int i = 0; i < n; i++) {
int c = input.charAt(i) - 'a';
if ((checker & (1 << c)) > 0) return false;
checker |= (1 << c);
}
return tru... |
require_dependency "venture/<API key>"
module Venture
class ProjectsController < <API key>
before_action :set_project, only: [:show, :edit, :update, :destroy]
# GET /projects
def index
@projects = Project.all
end
# GET /projects/1
def show
end
# GET /projects/new
def new
... |
#ifndef PANELITEM_HPP
#define PANELITEM_HPP
#include "LevelMakerPanel.hpp"
#include "Button.hpp"
#include "InputString.hpp"
#include "Text.hpp"
class PanelItem : public LevelMakerPanel {
private:
Sprite* sprite_input_mass;
Button* button_input_mass;
lalge::R2Vector input_mass_position;
bool invalid_inpu... |
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Jasmine Spec Runner v2.0.0</title>
<link rel="shortcut icon" type="image/png" href="lib/jasmine-2.0.0/jasmine_favicon.png">
<link rel="stylesheet" type="text/css" href="lib/jasmine-2.0.0/jasmine.css">
<scr... |
namespace StarsReloaded.Client.ViewModel.Controls
{
using System;
using System.Collections.ObjectModel;
using System.Linq;
using System.Windows;
using System.Windows.Input;
using GalaSoft.MvvmLight.CommandWpf;
using GalaSoft.MvvmLight.Messaging;
using StarsReloaded.Client.Mediation.Messa... |
<?xml version="1.0" ?><!DOCTYPE TS><TS language="sq" version="2.1">
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About Vector</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+... |
<?php
return [
'ctrl' => [
'type' => 'type',
'title' => 'LLL:EXT:sd_googlemaps/Resources/Private/Language/locallang_db.xlf:<API key>',
'label' => 'style_option',
'tstamp' => 'tstamp',
'crdate' => 'crdate',
'cruser_id' => 'cruser_id',
'versioningWS' => true,
... |
FILE(REMOVE_RECURSE
"CMakeFiles/linearstructure_5.dir/linearstructure.cpp.o"
"linearstructure_5.pdb"
"linearstructure_5"
)
# Per-language clean rules from dependency scanning.
FOREACH(lang CXX)
INCLUDE(CMakeFiles/linearstructure_5.dir/cmake_clean_${lang}.cmake OPTIONAL)
ENDFOREACH(lang) |
class DataControl {
constructor() {
this.appData
updateData()
}
updateData() {
this.appData = fetcherama()
}
fetcherama() {
lib.fetch(`http://localhost:8080/api/class/getNearbyClasses/${coor.long}/${coor.lat}`, opt, data => {
if (data.success === true) {
return data.classes
... |
// The content of this file is auto-generated, DO NOT MODIFY //
package jarr
func CondString(c bool, t, f string) string {
if c {
return t
} else {
return f
}
}
func CondInt(c bool, t, f int) int {
if c {
return t
} else {
return f
}
}
func CondUint(c bool, t, f u... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>nx.graphic - Next UI Toolkit</title>
<link rel="stylesheet" href="http://yui.yahooapis.com/3.9.1/build/cssgrids/cssgrids-min.css">
<link rel="stylesheet" href="../assets/vendor/prettify/prettify-min.css">
<link rel="stylesheet" hr... |
package cmd
import (
"github.com/spf13/cobra"
"github.com/topfreegames/khan/loadtest"
"github.com/topfreegames/khan/log"
"github.com/uber-go/zap"
)
var sharedClansFile string
var nGoroutines int
var loadtestCmd = &cobra.Command{
Use: "loadtest",
Short: "runs a load test against a remote Khan A... |
<?php
if(!defined('ROOT')) exit('No direct script access allowed');
$dashboard=getConfig("DASHBOARD_PAGE");
?>
<div id="workspace" style='display:none;overflow:hidden;width: 100%;height: 100%;'>
<ul>
<?php if(strlen($dashboard)>0) { ?>
<li><a href='#dashboard'>Dashboard</a></li>
<?php } ... |
package cn.cloudself.dao;
import cn.cloudself.model.<API key>;
import cn.cloudself.model.IntegerEntity;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.repository.Repository;
import java.util.List;
/**
* @author HerbLuo
* @version 1.0.0.d
... |
#include "<API key>.h"
#include "<API key>.h"
#include "addressbookpage.h"
#include "base58.h"
#include "guiutil.h"
#include "init.h"
#include "main.h"
#include "optionsmodel.h"
#include "walletmodel.h"
#include "wallet.h"
#include <string>
#include <vector>
#include <QClipboard>
<API key>::<API key>(QWidget *parent) :... |
package view;
import javax.swing.JPanel;
import javax.swing.JLabel;
import javax.swing.JPasswordField;
import javax.swing.JButton;
import javax.swing.JTextField;
import java.awt.BorderLayout;
import java.awt.Font;
public class <API key> {
JPanel regpanel;
private JTextField txtUsername;
private JPasswordFie... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Text;
namespace System.Data
{
public static class DbTypeConsts
{
<summary>
DbType pgsql json
</summary>
public const DbType NpgJson = (DbType)135;
<summary>
DbType pgsql jsonb
... |
# -*- coding: utf-8 -*-
import time
from M2Crypto import X509, RSA, EVP, BIO, ASN1
class <API key>(object):
""" Class responsible for keeping the CA self-signed certificate,
as well as, its private key.
"""
def __init__(self, cert, priv_key, passphrase):
""" Create a Certification Authority Obje... |
// FMAPIManager.h
// car2go_sample
typedef void (^apisuccess)(<API key> *sessionDataTask, id responseObject);
typedef void (^apifailure)(<API key> *sessionDataTask, NSError *error);
@interface FMAPIManager : NSObject
+(instancetype)sharedInstance;
-(void)post:(NSString*)url
param:(NSDictionary*)params
succe... |
export class Power{
public id:string;
public code:string;
public url:string;
public title:string;
public explain:string;
public menuId:string;
public type:string;
public isValid:boolean;
public isChecked:boolean=false;
public operation:Array<string>=new Array<string>();
publi... |
from baby_steps import given, then, when
from district42 import represent, schema
def <API key>():
with given:
sch = schema.list(schema.bool)
with when:
res = represent(sch)
with then:
assert res == "schema.list(schema.bool)"
def <API key>():
with given:
sch = schema.list... |
"format cjs";
(function(e){if("function"==typeof bootstrap)bootstrap("csv2geojson",e);else if("object"==typeof exports)module.exports=e();else if("function"==typeof define&&define.amd)define(e);else if("undefined"!=typeof ses){if(!ses.ok())return;ses.makeCsv2geojson=e}else"undefined"!=typeof window?window.csv2geojson=e... |
import { Buffer } from 'buffer';
const <API key> = /([\u2800-\u28FF]+)(?:.)([\u2800-\u28FF]+)/;
class DiscordMailHooks {
email: string
constructor(email: string) {
this.email = email;
}
matches() {
return <API key>.test(this.email);
}
toWebhook(): string | undefined {
if (this.matches()) {
... |
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Pong</title>
<style>
canvas {
position: absolute;
margin: auto;
top: 0;
bottom: 0;
left: 0;
right: 0;
... |
[ && !defined(__kernel_entry)
// A workaround for boost 1.71 incompatibility with mingw-w64 compiler.
#define __kernel_entry
#endif
#include <boost/process.hpp>
#endif // <API key>
#include <chainparamsbase.h>
#include <sync.h>
#include <util/check.h>
#include ... |
<?php
namespace AppBundle\Command;
use FOS\UserBundle\Util\Canonicalizer;
use Symfony\Bundle\FrameworkBundle\Command\<API key>;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
use Symfony\Component\Config\Definition\Exception\Exception;
use Symfony\Component\Con... |
package apimanagement
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is regenerated.
import (
"context"
"github.com/Azure/go-autorest/autorest"
"github.com/Azure/go-autorest/autorest/azure"
"github.com/Azure/go-autorest/au... |
layout: post
title: No Class (Thanksgiving Break)
lesson_num: '00'
week_num: 14
class_date: November 26, 2014
lead:
dontlink: true
## Due For This Class
## Presentation
## Lesson Heading
## Homework |
var module = angular.module('mtg', ['ngRoute', 'timer']);
DEBUG = true;
module.controller('main', function($scope, $filter) {
$scope.matches = [];
$scope.players = [{}, {}];
var orderBy = $filter('orderBy');
$scope.importFromStorage = function() {
console.log("Importing from local storage");
... |
// Demo component
// this is only example component
// you can find tests in __test__ folder
import React from 'react';
import Button from './components/Button'
class TeamCatfish extends React.Component {
render() {
return (
<div className="team-catfish">
<p>TC</p>
</... |
// modification, are permitted provided that the following conditions are
// met:
// with the distribution.
// * Neither the name of Google Inc. nor the names of its
// contributors may be used to endorse or promote products derived
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
//... |
var LOTUS = Symbol.for('lotus');
var lotus = global[LOTUS];
if (!lotus) {
var lotusPath = process.env.LOTUS_PATH;
// Try using the local version.
if (lotusPath) {
lotusPath += '/lotus-require';
if (__dirname === lotusPath) {
// We are already using the local version.
}
else if (require('fs')... |
using System;
namespace Timesheet.Domain
{
public class TimeRegistration
{
public Guid Id { get; set; }
public Guid TaskId { get; set; }
public string EmployeeId { get; set; }
public DateTimeOffset TimeStart { get; set; }
public DateTimeOffset TimeEnd { get; set; }
... |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="ExDoc v0.13.0">
<title>Murnau.Adapter.Labor.Api – murnau v0.0.1</title>
<link rel="s... |
<?php
class Shadowbox extends Modules {
static function __install() {
Like::install();
}
static function __uninstall($confirm) {
if ($confirm)
Like::uninstall();
}
static function admin_sb_settings($admin) {
if (!Visitor::cu... |
module EasySerializer
class Cacher
attr_reader :serializer, :metadata
def initialize(serializer, metadata)
@serializer = serializer
@metadata = metadata
end
def execute
CacheOutput.new(_execute)
end
private
def _execute
strategy = if metadata.is_a?(EasySerializer::C... |
import { compose, combineReducers, createStore } from 'redux';
import { devTools } from 'redux-devtools';
import twist from './reducers/twist';
import form from './reducers/form';
const twister = combineReducers({
twist,
form
});
const finalCreateStore = compose(devTools())(createStore);
export default finalCreateS... |
# Linear function - full rank
# Source: Problem 32 in
# J.J. More', B.S. Garbow and K.E. Hillstrom,
# "Testing Unconstrained Optimization Software",
# ACM Transactions on Mathematical Software, vol. 7(1), pp. 17-41, 1981.
# See also Buckley#80 (with different N and M)
# classification SUR2-AN-V-0
export a... |
require "pact_broker/configuration"
require "pact_broker/logging"
require "pact_broker/config/setting"
require "pact_broker/config/<API key>"
module PactBroker
module Config
class Load
include PactBroker::Logging
def self.call <API key>
new(<API key>).call
end
def initialize <API k... |
# Atto PHP Framework
[![Build Status]](https://travis-ci.org/stephen-hill/Atto)
[![Test Coverage]](https://coveralls.io/r/stephen-hill/Atto)
[![SemVer]](http://semver.org)
Atto is a PHP Framework solely for developing RESTful APIs.
[Build Status]: http://img.shields.io/travis/stephen-hill/Atto/master.svg?style=flat-squ... |
'use strict';
describe('Controller: HomeCtrl', function () {
it('should make a unit test ...', function () {
});
}); |
<?php
declare(strict_types=1);
namespace Shlinkio\Shlink\Core\Action;
use Fig\Http\Message\StatusCodeInterface;
use GuzzleHttp\Psr7\Response;
use Psr\Http\Message\ResponseInterface;
use Psr\Http\Message\<API key>;
use Psr\Http\Server\<API key>;
use Shlinkio\Shlink\Core\Crawling\<API key>;
use function sprintf;
use cons... |
body {
padding: 50px;
}
html {
position: relative;
min-height: 100%;
}
body {
padding-top: 60px;
padding-left: 0;
padding-right: 0;
margin-bottom: 75px;
}
footer {
position: absolute;
bottom: 0;
width: 100%;
line-height: 45px;
}
div.alert-container {
width: 100%;
positi... |
import cx_Freeze
import sys
import os
executables = [cx_Freeze.Executable("MusicCompiler.py", base=None)]
cx_Freeze.setup(
name= "MusicCompiler",
description = "Best Program Ever Known To Humanity.",
author = "Space Sheep Enterprises",
options = {"build_exe":{"excludes":["urllib","html","http","tkinter"... |
FROM smebberson/alpine-nginx
MAINTAINER Scott Mebberson <scott@scottmebberson.com>
# Add the files
ADD root / |
package com.anji_ahni.nn.activationfunction;
/**
* Square-root function.
*
* @author Oliver Coleman
*/
public class <API key> implements ActivationFunction, <API key> {
/**
* identifying string
*/
public final static String NAME = "power";
/**
* @see Object#toString()
*/
public S... |
# <API key>: true
class DocumentsController < <API key>
before_action :authenticate_user!, except: [:download]
layout "layouts/full_page_sidebar"
# GET /docs
def index
if current_user.<API key>?
@documents = Document.latest_files
else
@documents = Document.<API key>
end
end
end |
ASCIIISODOSWindowsUnicode
0 1 a 97 97 a
ASCII 128-255
GB212 0 ASCII 1 GBK
ISO --> `Universal Multiple-Octet Coded Character Set` Unicode
## Unicode
Unicode UCS-2 16221665536
## UTF
UnicodeUnicodeUnicodeUnicodeUnicodeUnicodeUnicode Transformation FormatUTF
## UTF-8
UTF-88-bit Unicode Transformation Format... |
using EasyLOB.Data;
using System.Collections.Generic;
namespace Chinook.Data
{
public partial class Customer
{
#region Profile
public static IZProfile Profile { get; private set; } = new ZProfile
(
Name: "Customer",
IsIdentity: true,
Keys: new List<str... |
using System;
class PrintLongSequence
{
static void Main(string[] args)
{
for (int i = 2; i <= 1002; i++)
{
if ((i%2)==0)
{
Console.WriteLine(i);
}
else
{
Console.WriteLine(-i);
}
}
... |
<?php
namespace App\Jobs\Auth;
use App\Jobs\Job;
use App\Storage\EmailConfirmation\<API key>;
use Illuminate\Support\Facades\Mail;
class <API key> extends Job
{
protected $newEmail;
/**
* Create a new job instance.
*
* @return void
*/
public function __construct($newEmail)
{
... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>error-handlers: 17 s </title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" rel... |
<p>Busca de JSON em uma API sem CORS usando <a href="http:
</p>
<form data-ng-submit="submit()">
<label for="url">
<input type="text" name="url" data-ng-model="url">
<!-- <button data-ng-click="find(url)">Buscar</button> -->
<input type="submit" value="Buscar">
</label>
<p>
Buscando em: {{ urlFull... |
# Vagrant HP Provider
[, 'README.md'))
version '0.1.0'
source_url 'https://github.com/travis-ci/packer-templates'
... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>poltac: 1 m 4 s</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" rel="styl... |
using System; //default
using System.Collections.Generic; //dictionary,list
using System.Linq; //because jon skeet
using NetFwTypeLib; //firewall library
using System.Net.Sockets; //protocol enum
using System.Net; //IPAddress class
namespace msfw
... |
const
pObj=pico.export('pico/obj'),
fb=require('api/fbJSON'),
rdTrip=require('redis/trip')
return {
setup(context,cb){
cb()
},
addPickup(user,action,evt,name,next){
const text=pObj.dotchain(evt,['message','text'])
if(!text) return next(null,`fb/ask${action[action.length-1]}`)
... |
package com.recapt.domain;
import java.time.LocalDateTime;
/**
*
* @author Eduardo
*/
public class IssueHistory {
private String name;
private String description;
private String reference;
private LocalDateTime created;
private Usuario createBy;
private Issue issue;
public String getName(... |
"use strict";
var testCase = require('nodeunit').testCase,
path = require('path'),
fs = require('fs'),
avconv;
function read(stream, callback) {
var output = [],
err = [];
stream.on('data', function(data) {
output.push(data);
});
stream.on('error', function(data)... |
Clazz.declarePackage ("J.renderspecial");
Clazz.load (["J.render.ShapeRenderer"], "J.renderspecial.PolyhedraRenderer", ["JU.P3i", "JM.Atom", "JU.C"], function () {
c$ = Clazz.decorateAsClass (function () {
this.drawEdges = 0;
this.isAll = false;
this.frontOnly = false;
this.screens = null;
this.vibs = false;
Clazz.inst... |
var buttons = function(req, res, next) {
var request = require('request');
var cheerio = require('cheerio');
var Case = require('case');
var url = req.body.page;
var parsedResults = [];
//testing url argument site buttons casing
request(url, function (error, response, html) {
if (!error && response.st... |
using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: <API key>("")]
[assembly: AssemblyCompany("")]
[assembly: A... |
var taxi = require('..');
var chromedriver = require('chromedriver');
var fs = require('fs');
var user = process.env.SAUCE_USERNAME;
var accessKey = process.env.SAUCE_ACCESS_KEY;
var sauceLabsUrl = "http://" + user + ":" + accessKey + "@ondemand.saucelabs.com/wd/hub";
var tests = [
{ url:'http://localhost:9515/', c... |
#!/Users/Varun/Documents/GitHub/LockScreen/venv/bin/python
# $Id: rst2xml.py 4564 2006-05-21 20:44:42Z wiemann $
"""
A minimal front end to the Docutils Publisher, producing Docutils XML.
"""
try:
import locale
locale.setlocale(locale.LC_ALL, '')
except:
pass
from docutils.core import publish_cmdline, defau... |
# <API key>
The Optional Chaining Operator allows you to handle properties of deeply nested
objects without worrying about undefined intermediate objects.
## Example
Accessing deeply nested properties
js
const obj = {
foo: {
bar: {
baz: 42,
},
},
};
const baz = obj?.foo?.bar?.baz;
const safe = obj?.qu... |
/**
* @author Chine
*/
function switchTheme(theme) {
$.cookie('blog_theme', theme, { expires: 30 });
location.href = location.href;
} |
var mtd = require('mt-downloader');
var fs = require('fs');
var util = require('util');
var EventEmitter = require('events').EventEmitter;
var Download = function() {
EventEmitter.call(this);
this._reset();
this.url = '';
this.filePath = '';
this.options = {};
this.meta = {};
this._retryOpti... |
import * as utils from '../../utils/utils'
import * as math from '../../math/math'
import QR from '../../math/qr'
import LMOptimizer from '../../math/lm'
import {ConstantWrapper, EqualsTo} from './constraints'
import {dog_leg} from '../../math/optim'
/** @constructor */
function Param(id, value, readOnly) {
this.rese... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>{$title}</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="{$description}">
<!-- Le styles -->
<link href="css/style.css" rel="styleshe... |
(function() {
function Base(props) {
this.id = Ambient.getID();
$.extend(this, props || {});
}
Base.extend = function(methods) {
if (typeof methods === "function") {
methods = methods();
}
methods = (methods || {});
var self = this;
var Con... |
import React from 'react'
import { Router, Route, hashHistory, browserHistory, IndexRoute } from 'react-router'
import MainContainer from '../components/MainContainer'
import Login from '../components/hello/Login'
import Register from '../components/hello/Register'
import Index from '../components/index/Index'
import H... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title> - </title>
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="Keywords" content=",,,,," />
<meta name="Description" content="-,,,,,"
... |
from messenger import Skype
import keyring
import utils
token = keyring.get_password('messagesReceiver', 'skypeToken')
registrationToken = keyring.get_password('messagesReceiver', '<API key>')
username = keyring.get_password('messagesReceiver', 'skypeUsername')
password = keyring.get_password('messagesReceiver', 'skype... |
<!DOCTYPE html>
<html lang="en">
<head>
<title>Simple Webpack-React Starter Kit</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>
<div id="app"></div>
</body>
</html> |
require 'test/unit'
class LSRTest < Test::Unit::TestCase
def setup
@temp_file = "lsr_dump"
@input_file = "lsr_input"
end
def <API key>
instr = [0xA9,0xFF,0x4A]
instr.push(0x02)
write_input_file(instr)
system(".././2a03 #{@input_file} #{@temp_file}")
f ... |
package br.com.command.comandos;
import br.com.command.interfaces.Command;
import br.com.command.modelos.PersianaSuite;
public class <API key> implements Command {
private PersianaSuite persiana;
public <API key>(PersianaSuite persiana) {
this.persiana = persiana;
}
@Override
public void exe... |
<?php
/**
* Used to implement Action Controllers for use with the Front Controller.
*
* @link <API key>.html <API key>
*/
abstract class <API key> extends <API key>
{
/**
* Layout used by this controller.
* @var string
*/
protected $_layout;
/**
* A title for an action.
* @var s... |
<?php
namespace Persona\Hris\Attendance\Model;
use Persona\Hris\Repository\RepositoryInterface;
/**
* @author Muhamad Surya Iksanudin <surya.iksanudin@personahris.com>
*/
interface <API key> extends RepositoryInterface
{
/**
* @param string $id
*
* @return ShiftmentInterface|null
*/
public... |
var READONLY = false
// How much labor you generate per minute
var LABORGENRATE = 2;
if (READONLY){
// This is just for setting up a display-only example of this app
Characters = new Meteor.Collection(null)
Timers = new Meteor.Collection(null)
} else {
Characters = new Meteor.Collection("characters");
Timers ... |
package com.elcuk.jaxb;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlType;
@XmlType(name="<API key>")
@XmlEnum
public enum <API key>
{
GR,
KG,
OZ,
LB,
MG;
public String value() {
return name();
}
public static <API key> fromValue(String v) {
return valueOf(v);
}
} |
require File.dirname(__FILE__) + '/../test_helper'
require '<API key>'
# Re-raise errors caught by the controller.
class CustomersController; def rescue_action(e) raise e end; end
class <API key> < Test::Unit::TestCase
fixtures :customers
def setup
@controller = CustomersController.new
@request = ActionC... |
var gulp = require('gulp');
var blocksConfig = require('../config').geniblocksRsrc;
var gvConfig = require('../config').geniverseRsrc;
// Copy files directly simple
exports.geniblocksRsrc = function geniblocksRsrc() {
return gulp.src(blocksConfig.src)
.pipe(gulp.dest(blocksConfig.dest))... |
<?php
$path = '/home3/johangau/orcapilot';
set_include_path(get_include_path() . PATH_SEPARATOR . $path);
require_once 'framework_0_2/_include.inc';
$session = new Session();
$pa = new PilotArray();
$pa->loadOperationPilots($_GET['operation']);
include 'framework_0_2/_header.php';
?>
<h3>Make a payment</h3>
<p>... |
import express from 'express'
import adminOnly from 'desktop/lib/admin_only'
import { buildServerApp } from 'reaction/Router'
import { routes } from './routes'
import { renderLayout } from '@artsy/stitch'
import { Meta } from './components/Meta'
const app = (module.exports = express())
app.get('/<API key>*', adminOnly,... |
// Please see <API key>.md in repository root for
#pragma once
#include <Atomic/Core/Object.h>
using namespace Atomic;
namespace ToolCore
{
class JSBPackage;
class JSBModule;
class JSBHeader;
class JSBEnum : public Object
{
OBJECT(JSBEnum)
public:
JSBEnum(Context* context, JSBModule* module, const String& name)... |
// stdafx.h : include file for standard system include files,
// or project specific include files that are used frequently, but
// are changed infrequently
#pragma once
#include <KcCommon.h> |
# <API key>
Storage enhancer to debounce persist requests.
To improve performance, debounce allows you to delay consecutive store changes and persist them periodically instead.
[;
var proxy = require("ui/core/proxy");
var <API key> = require("ui/core/<API key>");
var color = require("color");
var bindable = require("ui/core/bindable");
var types;
function ensureTypes() {
if (!types) {
types = require("utils/types");
}
}
var knownCollections;
(f... |
using System;
using System.Collections.Generic;
using System.Linq;
using JetBrains.Annotations;
namespace advent.Solutions
{
[UsedImplicitly]
internal class Day1 : Day
{
public Day1()
{
DayNumber = 1;
LoadInput();
}
#region IDay Members
protect... |
namespace Fungus
{
public class <API key> : GenericCollection<UnityEngine.GameObject>
{
}
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.