answer
stringlengths
15
1.25M
package com.github.steveice10.mc.auth.exception.property; /** * Thrown when an error occurs while validating a signature. */ public class <API key> extends PropertyException { private static final long serialVersionUID = 1L; public <API key>() { } public <API key>(String message) { super(messa...
<?php namespace App\Observers; use App\Models\ContactInformation; class <API key> { public function saving(ContactInformation $contactInformation) { $checkFields = ['phone', 'email', 'facebook', 'line']; if (!$contactInformation->isDirty($checkFields)) { return; } for...
<?php namespace Itsup\Api\EndPoint\Campaign; use Itsup\Api\EndPoint\<API key>; /** * @author Cyril LEGRAND <cyril@sctr.net> */ class SaleEndPoint extends <API key> { /** * The model name. * * @var string */ protected $model = 'Campaign\Sale'; /** * The API URI without the first "/...
// The LLVM Compiler Infrastructure // This file is distributed under the University of Illinois Open Source // This pass is used to make Pc relative loads of constants. // For now, only Mips16 will use this. // Loading constants inline is expensive on Mips16 and it's in general better // to place t...
'use strict'; // Methods export var GET = 'GET'; export var POST = 'POST'; export var PUT = 'PUT'; export var DELETE = 'DELETE'; // Header export namespace Header { export var CONTENT_TYPE = 'Content-Type'; export var CONTENT_LENGTH = 'Content-Length'; export var LAST_MODIFIED = 'Last-Modified'; export ...
/*jshint esnext:true*/ /*exported DNSPacket*/ 'use strict'; module.exports = window.DNSPacket = (function() { var DNSRecord = require('./dns-record'); var DNSResourceRecord = require('./dns-resource-record'); var DNSUtils = require('./dns-utils'); var ByteArray = require('./byte-array'); const ...
#include "stdneb.h" #include "particles/particlesystem.h" #include "particles/particletarget.h" #include "particles/particle.h" #include "particles/particleserver.h" #include "app/basegamefeature/managers/timemanager.h" #include "particles/particlepool.h" #include "particles/emitters/<API key>.h" #include "particles/em...
* { box-sizing: border-box; } #fuzzSearch { width: 50%; } #fuzzNameContainer { height: 40px; padding: 4px 10px; border: 1px solid #999; box-shadow: inset 0 0 2px 0px #333; width: 100%; cursor: pointer; line-height: 1.9em; } .fuzzName { display: inline-block; width: 96%; white-space: nowrap; ov...
<!-- Main content --> <section class='content'> <div class='row'> <div class='col-xs-12'> <div class='box'> <div class='box-header'> <h3 class='box-title'>JURUSAN LIST <?php echo anchor('jurusan/create/','Create',array('class'=>'btn btn-dange...
# Chrono [![Latest Version on Packagist][ico-version]][link-version] [![Software License][ico-license]][link-license] [![Build Status][ico-build]][link-build] [![Coverage Status][ico-coverage]][link-coverage] [![SensioLabsInsight][ico-security]][link-security] [![StyleCI][ico-code-style]][link-code-style] Version Contr...
namespace StayWell.ServiceDefinitions.ServiceLines.Objects { public class KeywordResponse { public string Keyword { get; set; } public string KeywordSlug { get; set; } } }
#ifndef GROESTL_H__ #define GROESTL_H__ #include <stddef.h> /** * This structure is a context for Groestl-384 and Groestl-512 computations: * it contains the intermediate values and some data from the last * entered block. Once a Groestl computation has been performed, the * context can be reused for another comput...
<! Before opening an issue, verify: - Is this a feature request? Post it on https://feathub.com/Flexget/Flexget - Is this an issue with webui? Make an issue over on https://github.com/Flexget/webui - Did you recently upgrade? Look at the Change Log and Upgrade Actions to make sure that you don't need to make any change...
<?php namespace Component\Processor\Processors; use Component\Processor\Processors\AbstractProcessor; use Component\Processor\StatusManager; use Component\Storage\FileInfo; use Component\Preparer\Types\MediaTypes; use FFMpeg\FFMpeg; use FFMpeg\Format\Audio\Mp3; use FFMpeg\Format\Audio\Vorbis; /** * Processor for stand...
package com.iluwatar.promise; import java.util.concurrent.ExecutionException; import java.util.concurrent.Future; import java.util.concurrent.TimeUnit; import java.util.concurrent.TimeoutException; /** * A really simplified implementation of future that allows completing it successfully with a value * or exceptionall...
/* * CFrustum is a collection of planes which define a viewing space. */ /* Usually associated with the camera, there are 6 planes which define the view pyramid. But we allow more planes per frustum which may be used for portal rendering, where a portal may have 3 or more edges. */ #ifndef INCLUDED_FRUSTUM #define IN...
#include <stdio.h> #include <stdint.h> #include <string.h> #include "py/nlr.h" #include "py/objlist.h" #include "py/runtime.h" #include "py/mphal.h" #include "py/mperrno.h" #include "netutils.h" #include "esp_wifi.h" #include "esp_wifi_types.h" #include "esp_log.h" #include "esp_event_loop.h" #include "esp_log.h" #incl...
from tg import request, abort, override_template from tg.decorators import before_validate, before_render @before_validate def ajax_only(*args, **kwargs): if not request.is_xhr: abort(400) def ajax_expose(template): @before_render def _ajax_expose(*args, **kwargs): if request.is_xhr: ...
<?php namespace Magento\Vault\Test\Unit\Model; use Magento\Framework\<API key>; use Magento\Framework\TestFramework\Unit\Helper\ObjectManager; use Magento\Vault\Api\Data\<API key>; use Magento\Vault\Model\<API key>; use Magento\Vault\Model\PaymentToken; use <API key> as MockObject; /** * Class <API key> */ class <API...
#nullable enable using System; using System.Collections.Generic; using System.Collections.Immutable; using System.IO; using System.Linq; using System.Threading; using System.Threading.Tasks; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.Diagnostics; using Microsoft.CodeAnalysis.ErrorReporting; using Micros...
-- SETTINGS SET @iTypeOrder = (SELECT MAX(`order`) FROM `sys_options_types` WHERE `group` = 'modules'); INSERT INTO `sys_options_types`(`group`, `name`, `caption`, `icon`, `order`) VALUES ('modules', 'bx_videos', '_bx_videos', 'bx_videos@modules/boonex/videos/|std-icon.svg', IF(ISNULL(@iTypeOrder), 1, @iTypeOrder + 1))...
<?php namespace Magento\Downloadable\Controller\Adminhtml\Downloadable\Product\Edit; class MassStatus extends \Magento\Catalog\Controller\Adminhtml\Product\MassStatus { }
<?php /* * A class to make it easy to send lots of API requests together asynchronously */ namespace iRAP\VidaSDK; class AsyncRequester { private $m_requests; function __construct(\iRAP\VidaSDK\Models\APIRequest ...$requests) { $this->m_requests = $requests; $this->run(); } private...
namespace Hopac.Core { using Microsoft.FSharp.Core; using Hopac.Core; using System; using System.Runtime.CompilerServices; <summary>Represents a continuation of a parallel job.</summary> public abstract class Cont<T> : Work { internal T Value; internal virtual Pick GetPick(ref int me) { return...
/* Sort.java */ package sorting; import edu.princeton.cs.introcs.StdRandom; import edu.princeton.cs.introcs.StdDraw; /** * Contains several sorting routines implemented as static methods. * Arrays are rearranged with smallest item first using compares. * Sorting algorithms are modified to make visualization bette...
<?php class Login extends CI_Controller { public function __construct() { parent::__construct(); $this->load->model('Verificar_usuario'); $this->load->library('session'); } public function Index(){ $titulo =array ('titulo'=> 'A Comer! : Conectarse') ; $this->load->vie...
<?php namespace Former\Interfaces; use Former\Traits\Field; /** * Mandatory methods on all frameworks */ interface FrameworkInterface { /** * Filter buttons classes * * @param array $classes An array of classes * * @return array A filtered array */ public function filterButtonClasses($classes);...
# Kanye > Smash your keyboards with ease Browser support includes every sane browser and **IE7+**. # Install From `npm` shell npm install kanye --save From `bower` shell bower install kanye --save # API Kanye exposes a few methods for interacting with keyboard events. ## `kanye.on(combo, options?, listener)` Adds an ev...
.<API key> { position: relative; text-align: center; background: #efefef; padding: 2px; margin-bottom: 2px; border-radius: 4px; -moz-border-radius: 4px; -<API key>: 4px;} .<API key> .display { margin: 0 80px; line-height: 1.8em; } .<API key> .yui3-button { position: absolute; top: 3px; } .<API key> .prev-year { left: ...
(function() { Dagaz.AI.AI_FRAME = 2000; Dagaz.AI.REP_DEEP = 30; Dagaz.AI.MAX_QS_LEVEL = 5; Dagaz.AI.MAX_AB_VARS = 1000; Dagaz.AI.MAX_QS_VARS = 5; Dagaz.AI.STALEMATE = -1; var penalty = [ -60, -30, -10, 20, 20, -10, -30, -60, 40, 70, 90, 120, 120, 90, 70, 40, -60, -30, -10, 20, 20, -10, ...
<h2>Comments</h2> <pre><code>// Single line comment /* Multi-line comment */</code></pre> <h2>Literal values</h2> <pre><code>0 32 true false</code></pre> <h2>Full example</h2> <pre><code>/* * Checks if two input bits are equal */ CHIP Eq { IN a, b; OUT out; // True iff a=b PARTS: Xor(a=a, b=b, out=uneq); ...
#include <iostream> #include <cstring> #include <vector> #include <algorithm> using namespace std; int main() { int n, a = 0, b = 0; char c; string str; vector<string> v; cin >> n; for (int i = 0; i < n; i++) { cin >> c >> str; (c == '+') ? a++ : b++; v.push_back(str); ...
package org.politicos.web.rest.vm; import java.time.ZonedDateTime; import java.util.Set; import org.politicos.domain.User; import org.politicos.service.dto.UserDTO; import javax.validation.constraints.NotNull; import javax.validation.constraints.Size; /** * View Model extending the UserDTO, which is meant to be used i...
/*@import url("//fonts.googleapis.com/css?family=Raleway:400");*/ /* line 12, ../../src/sass/messenger-theme-ice.sass */ ul.messenger-theme-ice { -moz-user-select: none; -webkit-user-select: none; -o-user-select: none; user-select: none; font-family: "Raleway", sans-serif; } /* line 16, ../../src/sass/messeng...
define(function () { console.log('file-shimmed.js'); });
# Elasticsearch Dockerfile # Pull base image. FROM elasticsearch:1.5.1 ADD http://stedolan.github.io/jq/download/linux64/jq /usr/local/bin/jq RUN chmod +x /usr/local/bin/jq ADD /<API key>.sh / RUN chmod +x /<API key>.sh RUN plugin -install mobz/elasticsearch-head CMD ["/<API key>.sh"]
package org.diorite.impl.connection.packets.play.server; import java.io.IOException; import org.apache.commons.lang3.builder.ToStringBuilder; import org.apache.commons.lang3.builder.ToStringStyle; import org.diorite.impl.connection.EnumProtocol; import org.diorite.impl.connection.<API key>; import org.diorite.impl.conn...
var log = require('winston') , Backbone = require('backbone') , tap = require('tap') , extend = require('util')._extend , TestResults = require('./test_results') var ProcessRunner = Backbone.Model.extend({ defaults: { type: 'process' } , initialize: function(attrs){ this.launcher = attrs.launcher ...
#include "buddy.hh" #if BUDDY_DEBUG #include "kstream.hh" #endif #include <cassert> #include <cstring> #include <iterator> using namespace std; buddy_allocator::buddy_allocator(void *base, size_t len, void *track_base, size_t track_len) { if (track_base == nullptr && track_len == 0) {...
package edu.umass.cs.pig.util; import java.lang.reflect.Constructor; import java.lang.reflect.Field; import java.lang.reflect.Method; public class ClassPrinter { public void print(Object obj) { for (Field f : obj.getClass().getDeclaredFields()) { f.setAccessible(true); System.out.pri...
/* $Id: xtmrctr_intr.c,v 1.1.2.1 2011/08/09 05:09:14 svemula Exp $ */ #include "xtmrctr.h" void XTmrCtr_SetHandler(XTmrCtr * InstancePtr, XTmrCtr_Handler FuncPtr, void *CallBackRef) { Xil_AssertVoid(InstancePtr != NULL); Xil_AssertVoid(FuncPtr != NULL); Xil_AssertVoid(InstancePtr->IsReady == <AP...
// +build linux darwin freebsd openbsd netbsd dragonfly package schedule import ( "fmt" "github.com/headmade/backuper/hmutil" ) func (m *Manager) writeCrontab(schedule string, cmd string) error { taskFormat := `crontab -l\ | ( grep -v 'gobackuper %s' ; echo '%s %s %s gobackuper %s >> /var/log/gobackuper_cron....
<?php namespace Omnimail\Common; class Credentials implements <API key> { private $credentials = array(); public function __construct($credentials) { $this->credentials = $credentials; } /** * @return array */ public function getCredentials() { return $this->credent...
using System.Collections.Generic; namespace Spect.Net.TestParser.Plan { <summary> Respresents a portmock plan </summary> public class PortMockPlan { <summary> The mocked port's address </summary> public ushort PortAddress { get; } <summary> The port pu...
<!DOCTYPE html PUBLIC "- <html> <head> <title>Maryland Archeology Month Events</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> </head> <body background="../../Images/white_Speckle_BG.gif"> <div align="center"> <!-- Begin Page Heading --> </div> <table width="100%" border="0" cel...
var Tile = require('../Tile'); var IsInLayerBounds = require('./IsInLayerBounds'); var CalculateFacesAt = require('./CalculateFacesAt'); var SetTileCollision = require('./SetTileCollision'); /** * Puts a tile at the given tile coordinates in the specified layer. You can pass in either an index * or a Tile object. If ...
#include "Shape.h" #define _USE_MATH_DEFINES // for C++ #include <cmath> #define _USE_MATH_DEFINES // for C #include <math.h> using namespace glm; // What is a shape? :P Shape::Shape(GLfloat* coords, GLsizei dataSize, GLuint program, bool isWater, bool isStar, bool isBox, ShaderHelpers* help) { glGenVertexArrays(1,...
require 'helper' class <API key> < Test::Unit::TestCase context 'EPP::Contact::Delete' do setup do @contact_delete = EPP::Contact::Delete.new('UK-39246923864') @delete = EPP::Commands::Delete.new(@contact_delete) @command = EPP::Requests::Command.new('ABC-123', @delete) @request = EPP::Re...
{% load cloud_extras %} {% load tz %} <!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"> <meta name="author" content="Jan Paricka"> <meta name="keyword" content=""> ...
.md-contact-chips .md-chips md-chip { padding: 0 25px 0 0; } [dir=rtl] .md-contact-chips .md-chips md-chip { padding: 0 0 0 25px; } .md-contact-chips .md-chips md-chip .md-contact-avatar { float: left; } [dir=rtl] .md-contact-chips .md-chips md-chip .md-contact-avatar { float: right; } .md-c...
package com.dpforge.tellon.core; import com.dpforge.tellon.core.parser.AnnotatedBlock; import com.dpforge.tellon.core.parser.ParsedSourceCode; import com.dpforge.tellon.core.parser.SourceCode; import com.dpforge.tellon.core.parser.SourceCodeParser; import com.dpforge.tellon.core.parser.resolver.AsIsWatcherResolver; imp...
# <API key> > info > > vue webpack skeleton skeleton[App Skeleton ](https://lavas.baidu.com/guide/vue/doc/vue/advanced/skeleton) github [https: [ PWA ](https://huangxuan.me/2017/07/12/<API key>/#-vue-) skeleton DOM html style JS html 1. skeleton 2. html skeleton skeleton html vue [](https://ssr.vuejs.org...
// Support code for writing backtracking recursive-descent parsers #include <string> #include <deque> #include <vector> #include <map> #include <queue> #include <wibble/test.h> #include <wibble/regexp.h> #ifndef WIBBLE_PARSE_H #define WIBBLE_PARSE_H namespace wibble { struct Position { std::string source; int l...
package tsi1_test import ( "fmt" "io/ioutil" "os" "path/filepath" "reflect" "regexp" "testing" "github.com/influxdata/influxdb/models" "github.com/influxdata/influxdb/tsdb" "github.com/influxdata/influxdb/tsdb/index/tsi1" ) // Bloom filter settings used in tests. const M, K = 409...
<!DOCTYPE HTML PUBLIC "- <!--NewPage <HTML> <HEAD> <!-- Generated by javadoc (build 1.5.0_06) on Sat Jun 03 13:46:23 EST 2006 --> <META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <TITLE> Uses of Class org.apache.bcel.generic.ArrayInstruction (jakarta-bcel 5.2 API) </TITLE> <LINK REL ="stylesheet...
<?php require('get-param.php'); require('enableCORS.php'); if (getParam('roomid')) { $filename = getcwd().'/rooms/'.getParam('roomid').'.json'; if (file_exists($filename)) { echo json_encode(array( 'isRoomExist' => true, 'roomid' => getParam('roomid') )); } else { ...
require_relative '../../spec_helper' require_relative 'fixtures/classes' describe "Module#included" do it "is invoked when self is included in another module or class" do begin m = Module.new do def self.included(o) $included_by = o end end c = Class.new { include m } ...
A project for live-reload functionality for [Phoenix](http://github.com/phoenixframework/phoenix) during development. ## Usage You can use `phoenix_live_reload` in your projects by adding it to your `mix.exs` dependencies: elixir def deps do [{:phoenix_live_reload, "~> 1.0"}] end ## Backends This project uses [`fs`](...
#include <assert.h> #include <malloc.h> #include <direct.h> #include <errno.h> #include <fcntl.h> #include <io.h> #include <limits.h> #include <sys/stat.h> #include <sys/utime.h> #include <stdio.h> #include "uv.h" #include "internal.h" #define UV_FS_ASYNC_QUEUED 0x0001 #define UV_FS_FREE_ARG0 0x0002 #def...
package com.microsoft.azure.management.resources.v2019_05_01.implementation; import com.microsoft.azure.arm.model.implementation.WrapperImpl; import com.microsoft.azure.management.resources.v2019_05_01.<API key>; import rx.Observable; import rx.functions.Func1; import com.microsoft.azure.Page; import com.microsoft.azur...
import { Command } from '../command/command'; /** * Property that controls grid edit unit. * * * `'cell'` data is editable through the grid cells. * * `'row'` data is editable through the grid rows. * * `'null'` data is not editable. */ export declare type EditStateMode = null | 'cell' | 'row'; /** * Indicates i...
// ServiceClient.h // OCMapper #import <Foundation/Foundation.h> @interface ServiceClient : NSObject - (void)fetchDataWithUrl:(NSString *)urlString returnType:(Class)returnType andCompletion:(void (^)(id result, NSError *error))completion; @end
<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE TS> <TS version="2.0" language="ru"> <defaultcodec>UTF-8</defaultcodec> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About HoboNickels</source> <translation>О HoboNickels</t...
package aimax.osm.data; import java.util.Collection; import java.util.List; import aimax.osm.data.entities.MapEntity; import aimax.osm.data.entities.MapNode; import aimax.osm.data.entities.MapWay; import aimax.osm.data.entities.WayRef; /** * Maintains a latitude longitude pair and provides some useful methods for * d...
(function() { "use strict"; var co = require('co'); var assert = require('assert'); describe("Ceramic Core", function() { var Author, BlogPost; var authorSchema, postSchema; var Ceramic; before(function() { return co(function*() { Ceramic = require("../lib/ceramic"); Author...
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http: <html xmlns="http: <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <title>Prototype Window Class : Documentation</title> <!-- Prototype Window Class Part --> <script type="text/javascript" src="javascripts/prototype.js...
<?php namespace Symfony\CS\Fixer\Symfony; use Symfony\CS\AbstractFixer; use Symfony\CS\Tokenizer\Tokens; final class <API key> extends AbstractFixer { /** * {@inheritdoc} */ public function isCandidate(Tokens $tokens) { return $tokens->isTokenKindFound(';'); } /** * {@inheritd...
require 'test_helper' class <API key> < ActionController::TestCase # test "the truth" do # assert true # end end
import Helper, { states } from './_helper'; import { module, test } from 'qunit'; module('Integration | ORM | Has Many | Basic | accessor', { beforeEach() { this.helper = new Helper(); } }); /* The reference to a belongs-to association is correct, for all states */ states.forEach((state) => { test(`the refe...
<?php namespace Oro\Bundle\ConfigBundle\Tests\Behat\Element; use Behat\Mink\Element\NodeElement; use Oro\Bundle\TestFrameworkBundle\Behat\Element\Element; class SidebarConfigMenu extends Element { public function clickLink($locator) { $this->find('css', 'a[data-action="accordion:expand-all"]')->click();...
#!/bin/bash # this script downloads the reference genome of Plasmodium falciparum from the Sanger centre wget -O ../data/Pf3D7_v2.1.5.fasta ftp://ftp.sanger.ac.uk/pub/project/pathogens/Plasmodium/falciparum/3D7/3D7.version2.1.5/Pf3D7_v2.1.5.fasta
var <API key> = [ [ "RollAttributes", "<API key>.html#<API key>", null ], [ "RollAttributes", "<API key>.html#<API key>", null ], [ "ToString", "<API key>.html#<API key>", null ], [ "ToString", "<API key>.html#<API key>", null ], [ "Roll1", "<API key>.html#<API key>", null ], [ "Roll2", "<API ke...
# NOTICE: THIS FILE IS AUTOGENERATED # MODIFICATIONS MAY BE LOST IF DONE IMPROPERLY # PLEASE SEE THE ONLINE DOCUMENTATION FOR EXAMPLES from swgpy.object import * def create(kernel): result = Tangible() result.template = "object/tangible/ship/crafted/chassis/<API key>.iff" result.<API key> = 8 result.stf...
code[class*="language-"], pre[class*="language-"] { font-family: Consolas, Menlo, Monaco, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", "Courier New", Courier, monospace; font-size: 14px; line-height...
const babel = require('rollup-plugin-babel'); const commonjs = require('<API key>'); const createBanner = require('create-banner'); const nodeResolve = require('<API key>'); const pkg = require('./package'); pkg.name = pkg.name.replace(/^.+\ const banner = createBanner({ case: 'PascalCase', data: { year: '2014-...
(function($) { FormValidation.I18n = $.extend(true, FormValidation.I18n || {}, { 'en_US': { lessThan: { 'default': 'Please enter a value less than or equal to %s', notInclusive: 'Please enter a value less than %s' } } }); FormValidation...
/** * @file SmallBox.java * @author Valery Samovich * @version 1.0.0 * @date 11/22/2014 */ package org.samovich.technologies.basics.concepts.classes.constructors.box; public class SmallBox { int length; int width; /* * Constructor Method: * 1. constructor is a method that has the same name as...
package main import ( "log" "net/http" "os" "github.com/go-sql-driver/mysql" "github.com/murder-hobos/murder-hobos/routes" ) func main() { // setup DB dbconfig := mysql.Config{ User: os.Getenv("MYSQL_USER"), Passwd: os.Getenv("MYSQL_PASS"), DBName:...
class CreateContacts < ActiveRecord::Migration def self.up create_table :contacts do |t| t.string :first_name t.string :last_name t.string :email_address t.string :phone_number t.integer :client_id t.timestamps end end def self.down drop_table :contacts end en...
<?php namespace Oro\Bundle\ApiBundle\Processor\Config\Shared\MergeConfig; use Oro\Bundle\ApiBundle\Util\ConfigUtil; class <API key> { /** * @param array $config * @param array $filtersConfig * * @return array */ public function mergeFiltersConfig(array $config, array $filtersConfig) ...
<!doctype html> <html> <head> <meta charset="utf-8"/> <title>CodeMirror: Compression Helper</title> <link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Droid+Sans|Droid+Sans:bold"/> <link rel="stylesheet" type="text/css" href="docs.css"/> </head> <body> <h1><span cl...
<!DOCTYPE html> <html> <head> <title>webpack Example</title> <script src="main.js"></script> </head> <body> </body> </html>
<!DOCTYPE html> <html> <head lang="en"> <meta charset="UTF-8"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta name="viewport" content="initial-scale=1, maximum-scale=1,user-scalable=no"> <style> html, body, #viewDiv { padding: 0; margin: 0; height: 100%; ...
package com.mb3364.twitch.api.models; import com.fasterxml.jackson.annotation.<API key>; import com.fasterxml.jackson.annotation.JsonProperty; import java.util.Date; @<API key>(ignoreUnknown = true) public class Team { @JsonProperty("_id") private long id; private String name; private String info; p...
Given(/^I am looking for a puppy to adopt$/) do @browser.goto 'http://puppies.herokuapp.com' end And(/^I adopt puppy (\d+)$/) do |puppy_number| index = (puppy_number.to_i)-1 @browser.button(:value => 'View Details', :index => index).click @browser.button(:value => 'Adopt Me!').click end And(/^I complete the ado...
/* style_box.cpp */ /* This file is part of: */ /* GODOT ENGINE */ /* a copy of this software and associated documentation files (the */ /* "Software"), ...
# <API key>: true require 'spec_helper' RSpec.describe Projects::LfsPointers::<API key> do let(:import_url) { 'http: let(:lfs_endpoint) { "#{import_url}/info/lfs/objects/batch" } let!(:project) { create(:project, import_url: import_url) } let(:new_oids) { { 'oid1' => 123, 'oid2' => 125 } } let(:remote_uri) { ...
var express = require('express'); var bodyParser = require('body-parser'); var cons = require('consolidate'); var routes = require('./server/routes.js'); //requesting my module routes var app = express(); app.use(bodyParser()); app.use(express.static(__dirname + '/')); app.engine('html', cons.swig); app.set('view engi...
var config = require('../config'); var imagemin = require('gulp-imagemin'); var runSequence = require('run-sequence'); var spritesmith = require('gulp.spritesmith'); gulp.task('sprites' ,function () { runSequence('generateSpriteFiles', 'sass'); }); gulp.task('generateSpriteFiles', function() { var spriteData = ...
/* * <API key> * * */ package co.iamdata.api.models; import java.util.*; public class NutrientInfoBuilder { //the instance to build private NutrientInfo nutrientInfo; /** * Default constructor to initialize the instance */ public NutrientInfoBuilder() { nutrientInfo = new NutrientI...
type TextEncodeOptions = { options?: boolean, ... }; declare class TextEncoder { encode(buffer: string, options?: TextEncodeOptions): Uint8Array, } declare class <API key> { constructor( stream: ReadableStream, underlyingSource: UnderlyingSource, size: number, highWaterMark: number, ): void, des...
# Cacman Jacman [README](/README.md) Jacman [Hexo](http: [](http: [ Jacman ](http://wuchong.me/blog/2014/11/20/how-to-use-jacman/) $ git clone https://github.com/wuchong/jacman.git themes/jacman **Jacman Hexo 2.7 ** `_config.yml``theme` `jacman`. cd themes/jacman git pull origin master ** `_config.yml` ** `/themes...
import { NgModule } from '@angular/core'; import { IonicModule } from 'ionic-angular'; import { <API key> } from './image-viewer.directive'; import { <API key> } from './image-viewer.component'; import { <API key> } from './image-viewer.controller'; var <API key> = (function () { function <API key>() { } <A...
import Economy from './economy'; export default tour; /** * Gets the name of users * * @param {Array} users * @return {String} name */ function usersToNames(users) { return users.map((user) => user.name); } /** * Determines the amount of earnings from tournaments * * @param {Number} sizeRequiredToEarn * @par...
/** * @file * Provides javascript methods for manage the visual help. */ (function ($, Drupal) { // Global variable base_path. var drupalBasePath = ""; // Hide the visual help for document ready $('.vcl-visual-help').hide(); $('.vcl-btn').text('Enable Visual Content Layout'); /** * Manage the display ...
local skynet = require "skynet" local skymgr = require "skynet.manager" skynet.start(function() -- master-service MASTER[] -- uniqueservice newservice local svc = assert(skynet.uniqueservice(true, "master-service")) skymgr.name("MASTER", svc) skynet.exit() end)
// DataLogger.h #ifndef _DATALOGGER_h #define _DATALOGGER_h #include <SdFat.h> #include "MuleDefines.h" #if defined(ARDUINO) && ARDUINO >= 100 #include "arduino.h" #else #include "WProgram.h" #endif typedef struct __attribute__ ((packed)) { // Floats are 32-bit on Teensy 3.x with Teensyduino 1.6.x // Do...
package tutorial.custom_icon_demo; import java.awt.*; import java.awt.event.*; import javax.swing.*; /* * CustomIconDemo.java (based on ButtonDemo.java) requires the following files: * ArrowIcon.java * images/middle.gif */ public class CustomIconDemo extends JPanel implements Actio...
import React from 'react'; import { Form, Button } from 'semantic-ui-react'; import PropTypes from 'prop-types'; import _ from 'lodash'; import './styles.scss'; function formatDate(date) { const d = new Date(date); const monthStr = (d.getMonth() + 1).toString(); const dayStr = d.getDate().toString(); const year...
name: CentOS 6.4 x86_64 [notes] description: CentOS 6.4 x86_64 [<a href="https://github.com/2creatives/vagrant-centos/releases/tag/v0.1.0">notes</a>] provider: VirtualBox link: https://github.com/2creatives/vagrant-centos/releases/download/v0.1.0/<API key>.box size: 301.5 MB category: boxes note: Retrived from vagrantb...