answer
stringlengths
15
1.25M
<?php namespace Bake\Shell\Task; use Cake\Console\Shell; use Cake\Core\Configure; use Cake\Database\Exception; use Cake\Database\Schema\Table; use Cake\Datasource\ConnectionManager; use Cake\ORM\TableRegistry; use Cake\Utility\Inflector; use Cake\Utility\Text; use DateTimeInterface; /** * Task class for creating and u...
using System; namespace _14.MagicLetter { class Program { static void Main(string[] args) { char letter1 = char.Parse(Console.ReadLine()); char letter2 = char.Parse(Console.ReadLine()); string letter3 = Console.ReadLine(); for (char i = letter1; i ...
<?php namespace Metro; use Monolog\Handler\HandlerInterface; use Monolog\Handler\PsrHandler; use Monolog\Logger; use Psr\Log\LoggerInterface; class Worker { /** @var ConsumableQueue */ private $metro; /** @var JobExecutor */ private $jobExecutor; /** @var string[] */ private $queues; /** @va...
<?php namespace EasiestWay\MainBundle\Entity; use Doctrine\ORM\Mapping as ORM; use FOS\UserBundle\Model\User as BaseUser; /** * User */ class User extends BaseUser { /** * @var integer */ protected $id; /** * Get id * * @return integer */ public function getId() { ...
package algorithms.sorting; import java.util.Scanner; /* * Sample Challenge * This is a simple challenge to get things started. Given a sorted array (ar) * and a number (V), can you print the index location of V in the array? * * Input Format: * There will be three lines of input: * * V - the value that has to ...
require 'resque' require 'resque/plugins/heroku_scaler/version' require 'resque/plugins/heroku_scaler/config' require 'resque/plugins/heroku_scaler/manager' require 'resque/plugins/heroku_scaler/worker' require 'resque/plugins/heroku_scaler/resque' module Resque module Plugins module HerokuScaler class << s...
# Pool server This software includes: * A pool master for miner handling * A pool controller ## Warning The software is not well tested and it's a work in progress, use at your own risk. ## Requirements * golang * python2 * python2 flask * python2 requests * python2 pysqlite3 ## Configuration For first, configure the p...
using Newtonsoft.Json.Linq; using System.Collections.Generic; namespace BlizzardAPI.Wow.DataResources { public class CharacterRaces { private List<CharacterRace> races = new List<CharacterRace>(); public List<CharacterRace> Races { get => races; set => races = value; } public CharacterRa...
from datetime import datetime from flask import Blueprint, render_template from flask_cas import login_required from timecard.api import <API key> from timecard.models import config, admin_required admin_views = Blueprint('admin', __name__, url_prefix='/admin', template_folder='templates') @admin_views.route('/') @admi...
<!doctype html> <html lang="en"> <head> <meta charset="UTF-8"> <title> CSS </title> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="<API key>+PmSTsz/K68vbdEjh4u" crossorigin="anonymous"> <link rel="stylesheet" href="https://maxcdn.bootstra...
using System; using System.Collections; using System.Drawing; using System.Windows.Forms; namespace LifeSimulation.Core.GUI { public class StartScreen : Form { #region Private Variables private TableLayoutPanel _layout; private CheckedListBox _checkedListRaces; private Button _bu...
import os # Build paths inside the project like this: os.path.join(BASE_DIR, ...) BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) # Quick-start development settings - unsuitable for production # SECURITY WARNING: keep the secret key used in production secret! SECRET_KEY = '$-2ijwgs8-3i*r#j@1ian5x...
<script src="flowplayer-6.0.5/flowplayer.min.js'"></script> <script src="flowplayer-6.0.5/flowplayer.dashjs.min.js'"></script> <script src="flowplayer-6.0.5/flowplayer.hlsjs.min.js'"></script> <script src="flowplayer-6.0.5/flowplayer.quality-selector.min.js'"></script> <link rel="flowplayer-6.0.5/skin/functional.css"/>...
.<API key>{ background: none repeat scroll 0 0 #fff; float: left; left: 0; margin-right: 10px; margin-top: 4px; overflow: hidden; width: 117px; } .<API key>>span{ background: url("./images/selectlabg.jpg") no-repeat scroll 100px 16px rgba(0, 0, 0, 0); border: 1px solid #e6e6e6; c...
package sx1272 const ( SX1272_REG_LR_FIFO byte = 0x00 // Common settings <API key> = 0x01 <API key> = 0x06 <API key> = 0x07 <API key> = 0x08 // Tx settings <API key> = 0x09 <API key> = 0x0A SX1272_REG_LR_OCP = 0x0B // Rx settings SX1272_REG_LR_LNA = 0x0C // LoR...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace HTLib2.Bioinfo { public partial class ForceField { public class PwVdw : INonbonded, <API key> { public virtual string[] FrcFldType { get { return new string[] { "Nonbonded", "LennardJones"...
var __extends = (this && this.__extends) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; function __() { this.constructor = d; } d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); }; function __export(m) { for (var p in m) if (!exports.hasOw...
import { h } from 'preact'; import JustNotSorry from '../src/components/JustNotSorry.js'; import { configure, mount } from 'enzyme'; import Adapter from '<API key>'; configure({ adapter: new Adapter() }); describe('JustNotSorry', () => { const justNotSorry = mount(<JustNotSorry />); let editableDiv1; let editable...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <title>Mypy</title> <meta property="og:title" content="Mypy" /> <meta property="og:image" content="https://rcalsaverini.github.io/images/me.png" /> <meta name...
<html><body> <h4>Windows 10 x64 (18362.113)</h4><br> <h2><API key></h2> <font face="arial"> +0x000 SafeInputValidation : Pos 0, 1 Bit<br> +0x000 Padding : Pos 1, 1 Bit<br> +0x000 <API key> : Pos 2, 1 Bit<br> +0x000 AllocateHeapFromEnv : Pos 3, 1 Bit<br> </font></body></html>
<!doctype html> <html lang="en"> <head> <title>Code coverage report for test/features/support/page-objects/style.js</title> <meta charset="utf-8" /> <link rel="stylesheet" href="../../../../prettify.css" /> <link rel="stylesheet" href="../../../../base.css" /> <meta name="viewport" content="width=de...
from cryptography.hazmat import backends from cryptography.hazmat.primitives.asymmetric import ec, dsa, rsa # Crypto and Cryptodome have same API if random(): from Crypto.PublicKey import DSA from Crypto.PublicKey import RSA else: from Cryptodome.PublicKey import DSA from Cryptodome.PublicKey import RSA...
module Travis::API::V3 class Models::Message < Model self.inheritance_column = :none belongs_to :subject, polymorphic: true scope :ordered, -> do order(%Q{ CASE WHEN level = 'alert' THEN '0' WHEN level = 'error' THEN '1' WHEN level = 'warn' THEN '2' WHEN level...
import re import urllib import hashlib from django import template from django.conf import settings URL_RE = re.compile(r'^https?://([-\w\.]+)+(:\d+)?(/([\w/_\.]*(\?\S+)?)?)?', re.IGNORECASE) EMAIL_RE = re.compile(r'^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,4}$', re.IGNORECASE) GRAVATAR_URL_PREFIX = 'http: D...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Windows.Forms; namespace RemoteSurf { static class Program { <summary> The main entry point for the application. </summary> [STAThread] static void Main() ...
package viewModel import java.net.URI import com.thetestpeople.trt.model._ import com.thetestpeople.trt.model.jenkins._ import com.thetestpeople.trt.utils.http.Credentials object <API key> { def apply(fullConfig: <API key>): <API key> = <API key>( credentialsOpt = fullConfig.config.credentialsOpt, rer...
import { Category } from '../../../stories/storiesHierarchy'; export const storySettings = { category: Category.COMPONENTS, storyName: 'ColorPicker', dataHook: '<API key>', };
package com.microsoft.azure.management.storage.v2019_04_01; import com.microsoft.azure.management.storage.v2019_04_01.implementation.SkuInner; import java.util.Map; import com.fasterxml.jackson.annotation.JsonProperty; import com.microsoft.rest.serializer.JsonFlatten; /** * The parameters that can be provided when upd...
FROM ubuntu:wily MAINTAINER Adam Szalkowski <adam.szalkowski@bbv.ch> RUN apt-get -qq update && apt-get -qq install -y --fix-missing --<API key> \ build-essential \ autoconf \ automake \ libtool \ make \ m4 \ gawk \ autoconf-archive \ flex \ bison \ gdb \ gettext \ bin...
<?php namespace App\Events\Stats; use App\Events\Event; class <API key> extends Event { }
import { detectState, RepoState } from '../Repo' import logger from '../../Logger' import { spawnSync, <API key>, SpawnSyncReturns } from 'child_process' jest.mock('child_process') jest.mock('../../Logger') afterEach(() => jest.resetAllMocks()) type spawnSyncFn = (command: string, args?: readonly string[], options?: <A...
import Client from '@bugsnag/core/client' import _NetInfo, { NetInfoState } from '@<API key>/netinfo' import plugin from '../' jest.mock('@<API key>/netinfo', () => ({ addEventListener: jest.fn() })) const NetInfo = _NetInfo as jest.Mocked<typeof _NetInfo> describe('plugin: react native connectivity breadcrumbs', () ...
process.env.NODE_ENV = 'test'; var chai = require('chai'); var chaihttp = require('chai-http'); chai.use(chaihttp); var expect = chai.expect; require(__dirname + '/../app.js'); describe('the error handler function', function() { it('should return a status of 500', function(done) { chai.request('localhost:3000') ...
<?php namespace Psalm\Issue; class <API key> extends CodeIssue { public const ERROR_LEVEL = -1; public const SHORTCODE = 239; }
require 'rails/generators/active_record' module ActiveRecord module Generators class ModelGenerator < Base argument :attributes, :type => :array, :default => [], :banner => "field:type field:type" <API key> class_option :timestamps, :type => :boolean class_option :parent, :type => :str...
<?php declare(strict_types=1); namespace TSwiackiewicz\AwesomeApp\Application\User\Command; use TSwiackiewicz\AwesomeApp\DomainModel\User\Password\UserPassword; use TSwiackiewicz\AwesomeApp\SharedKernel\User\UserId; /** * Class <API key> * @package TSwiackiewicz\AwesomeApp\Application\User\Command */ class <API key>...
using System; using Abp.Application.Features; using Abp.Auditing; using Abp.BackgroundJobs; using Abp.Dependency; using Abp.Domain.Uow; using Abp.Events.Bus; using Abp.Notifications; using Abp.Runtime.Caching.Configuration; namespace Abp.Configuration.Startup { <summary> Used to configure ABP and modules on sta...
# <API key>: true require "rails_helper" RSpec.describe ArticlesController, type: :routing do describe "routing" do it "recognizes and generates #index" do expect(get: "/").to route_to(controller: "articles", action: "index") end it "recognizes and generates #index with rss format" do expect(g...
module SfdcConnect # Utility for validating reponses from SFDC REST calls module ResponseValidator def validate_response(response) raise "HTTP Error #{response.code}: #{response.parsed_response}" if response.code >= 400 raise "SFDC Error: #{response['error']} - #{response['error_description']}" if r...
package storagesync // 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/auto...
<?php namespace Hyperframework\Cli; use Hyperframework\Cli\Test\TestCase as Base; class <API key> extends Base { public function testParse() { $result = OptionConfigParser::parse([[ 'name' => 'test', 'short_name' => 't', 'repeatable' => true, 'required' => tru...
"""Test.""" import pytest TM_TABLE = [ ([0, 1, 1, 0, 1], True), ([0], True), ([1], False), ([0, 1, 0, 0], False), ] @pytest.mark.parametrize("n, result", TM_TABLE) def test_is_thue_morse(n, result): """Test.""" from is_thue_morse import is_thue_morse assert is_thue_morse(n) == result
# my-ascii-art package Converts to ascii ![A screenshot of your package](https://f.cloud.github.com/assets/69169/2290250/<API key>.gif)
// "node scripts/<API key>.js && node packages/app-test/synchronize.js && node packages/<API key>/scripts/<API key>.js && lerna bootstrap", 'use strict'; require('./<API key>.js'); require('../packages/app-test/synchronize.js'); require('../packages/<API key>/scripts/<API key>.js'); const fs = require('fs-extra'); con...
from fastapi.testclient import TestClient from docs_src.request_files.tutorial001 import app client = TestClient(app) openapi_schema = { "openapi": "3.0.2", "info": {"title": "FastAPI", "version": "0.1.0"}, "paths": { "/files/": { "post": { "responses": { ...
'use strict'; var mongoose = require('mongoose'); var bcrypt = require('bcrypt'); var eat = require('eat'); var userSchema = new mongoose.Schema({ name: { type: String, required: true }, email: { type: String, required: true, unique: true, trim: true }, username: { type: String, ...
#include "math.h" #include "robot.h" #include "stdio.h" #include "stdlib.h" #include "sys/time.h" #include "time.h" #define TIMES 500 int get_info(int argc, char **argv, double *arms, double *angles, double *gx, double *gy); void moveArm(int arm, double angle); void output(mat3_t m, double error, struct timeval tv, clo...
import matplotlib.pyplot as plt import numpy as np def logHist(X, N=30,fig=None, noclear=False, pdf=False, **kywds): ''' Plot logarithmic histogram or probability density function from sampled data. Args: X (numpy.ndarray): 1-D array of sampled values N (Optional[int]): Number of bins (d...
layout: page permalink: /categories/ title: Categories <div id="archives"> {% for category in site.categories %} <div class="archive-group"> {% capture category_name %}{{ category | first }}{% endcapture %} <div id="#{{ category_name | slugize }}"></div> <p></p> <h3 class="category-head">{{ category_n...
#include <ncore/sys/wait.h> #include "thread_pool.h" namespace ncore { ThreadPool::ThreadPool() : work_threads_(), running_(0) { exec_proc_.Register(this, &ThreadPool::DoJobs); } ThreadPool::~ThreadPool() { fini(); } bool ThreadPool::init(size_t thread_number) { if(!thread_number) return false; ...
import * as React from "react"; import * as noUiSlider from "nouislider"; export interface SVSliderProps { value: number; maxSvs: number; max: number; onUpdate: (svs: number) => void; } export class <API key> extends React.Component<SVSliderProps> { private sliderElRef: React.RefObject<HTMLDivElement>; cons...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class PD_IS_10_model extends CI_Model { protected $db2; protected $db3; public function __construct() { parent:: __construct(); $this->db2 = $this->load->database('lib', TRUE); $this->db3 = $this->load->databas...
<!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"> <![endif] <!--[if IE 8]> <html class="no-js lt-ie9"> <![endif] <!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]--> <head> <!-- Meta-Information --> <title>Kaleo | Sear...
require File.expand_path(File.join(File.dirname(__FILE__),"..",'/spec_helper')) describe IControl::Base do use_vcr_cassette "IControl::Base", :record => :all, :match_requests_on => [:uri, :method, :body] # Change :record => :new_episodes when done describe "Concurrent invocation" do it "should allow to be calle...
# == Schema Information # Table name: releases # id :integer not null, primary key # tag_name :string # published_at :datetime # created_at :datetime not null # updated_at :datetime not null # Indexes # <API key> (published_at) class Release < ApplicationRecord end
#include <cassert> #include <miopen/fusion.hpp> #include <miopen/logger.hpp> namespace miopen { std::ostream& operator<<(std::ostream& stream, const FusionOpDescriptor& x) { MIOPEN_LOG_ENUM(stream, x.kind(), <API key>, <API key>, <API k...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package com.semantic.swing.tree.querybuilder; import java.util.ArrayList; import java.util.List; import org.apache.lucene.search.BooleanQuery; import org.apache.lucene.search.Query; /** * * @author Christian Plonka (cp...
module ActiveRecord module Confirmable extend ActiveSupport::Concern included do <API key> :confirmed after_rollback :check_confirming end def check_confirming errors.messages.delete( :confirmed ) self.confirmed = errors.empty? ? '1' : ''...
package ru.sigma.test.learning.data; public class ExponentialDemo { public static void main(String[] args) { double x = 11.635; double y = 2.76; System.out.printf("The value of " + "e is %.4f%n", Math.E); System.out.printf("exp(%.3f) " + "is %.3f%n", x...
using System; using System.Collections.Generic; using System.Data; using System.Text; namespace Sweet.BRE { public sealed class BreakStm : ActionStm { private BooleanStm _condition; public BreakStm() : this(null) { } public BreakStm(BooleanStm condition) ...
#-- encoding: UTF-8 require 'spec_helper' RSpec.describe "Nomener::Cleaner" do context "with reformat" do it "returns the same string given" do expect(Nomener::Cleaner.reformat("Joe \"John\" O'Smith")).to eq "Joe \"John\" O'Smith" end it "returns the string with curved double quotes replaced" do ...
# Cookbook Name:: dovecot # Recipe:: default %w{dovecot-core dovecot-imapd dovecot-pop3d}.each do |p| package "#{p}" do action :install end end cookbook_file '/etc/dovecot/dovecot.conf' do source 'dovecot.conf' mode 0644 end
# <API key>: true describe Nanoc::Core::<API key> do let(:cache) { described_class.new(config: config) } let(:items) { [item] } let(:item) { Nanoc::Core::Item.new('asdf', {}, '/foo.md') } let(:item_rep) { Nanoc::Core::ItemRep.new(item, :default) } let(:other_item) { Nanoc::Core::Item.new('asdf', {}, '/sneaky....
<!DOCTYPE html> <html lang=ko> <head> <meta charset="utf-8"> <title>ES6+ES7</title> <script src="let-1.js" defer></script> </head> <body> </body> </html>
#include <psl1ght/lv2/net.h> #include <psl1ght/lv2/errno.h> #include <sys/socket.h> #include <sys/select.h> #include <netinet/in.h> #include <arpa/inet.h> #include <netdb.h> #include <stdio.h> #include <string.h> #define <API key> #include <errno.h> int h_errno = 0; #define FD(socket) (socket & ~SOCKET_FD_MASK) void* _...
// * WARNING * // This file is generated! // Changes made to this file will be overwritten. If changes are // required to the generated code, the service_crategen project // must be updated to generate the changes. #![doc( html_logo_url = "https://raw.githubuserconten...
const UrlPathValidator = require('../../../services/validators/url-path-validator') const referenceIdHelper = require('../../helpers/reference-id-helper') const BenefitOwner = require('../../../services/domain/benefit-owner') const ValidationError = require('../../../services/errors/validation-error') const insertBenef...
<?php declare(strict_types=1); namespace Cortex\Foundation\Http\Middleware; use Closure; use Exception; use Illuminate\Http\Request; class <API key> { protected $response; /** * Handle an incoming request. * * @param \Illuminate\Http\Request $request * @param \Closure $next ...
<?php namespace kosssi\MyAlbumsBundle\DependencyInjection; use Symfony\Component\Config\Definition\Builder\TreeBuilder; use Symfony\Component\Config\Definition\<API key>; class Configuration implements <API key> { /** * {@inheritDoc} */ public function <API key>() { $treeBuilder = new Tree...
<?php return array( 1 => '/^[\x{002d}0-9a-z\x{3447}\x{3473}\x{359E}\x{360E}\x{361A}\x{3918}\x{396E}\x{39CF}\x{39D0}' . '\x{39DF}\x{3A73}\x{3B4E}\x{3C6E}\x{3CE0}\x{4056}\x{415F}\x{4337}\x{43AC}' . '\x{43B1}\x{43DD}\x{44D6}\x{464C}\x{4661}\x{4723}\x{4729}\x{477C}\x{478D}' . '\x{4947}\x{497A}\x{497D}\x{4982}\x{4983}\...
<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <title>React Taxonomy Picker consumer</title> </head> <body> <noscript> You need to enable JavaScript to run this app. </noscript> <div id...
from __future__ import unicode_literals from django.utils import six import pytest from nicedjango.utils.compact_csv import CsvReader @pytest.fixture def stream(): csv = b'''"a\xc2\x96b\\"c'd\\re\\nf,g\\\\",1,NULL,""\n'''.decode('utf-8') return six.StringIO(csv) def test_reader_raw(stream): r = CsvReader(st...
import { moduleForComponent, test } from 'ember-qunit'; import hbs from '<API key>'; moduleForComponent('memo-card', 'Integration | Component | memo card', { integration: true }); test('it renders', function(assert) { assert.expect(2); // Set any properties with this.set('myProperty', 'value'); // Handle any ac...
module.exports = function (grunt) { grunt.initConfig({ less: { test: { src: 'test/test.less', dest: 'test/test.css' } } }) grunt.loadNpmTasks('grunt-contrib-less') grunt.registerTask('default', ['less']) }
# encoding: utf-8 # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is # regenerated. module Azure::Kusto::Mgmt::V2020_02_15 module Models # Class representing an iot hub data connection. class <API key> < DataConnection includ...
import os os.environ.setdefault("<API key>", "readbacks.settings") from django.core.wsgi import <API key> application = <API key>()
# Contributor Code of Conduct As contributors and maintainers of this project, and in the interest of fostering an open and welcoming community, we pledge to respect all people who contribute through reporting issues, posting feature requests, updating documentation, submitting pull requests or patches, and other activ...
(function () { 'use strict'; // Setting up route angular .module('app.users') .run(appRun); // appRun.$inject = ['$stateProvider']; /* @ngInject */ function appRun(routerHelper) { routerHelper.configureStates(getStates()); } function getStates() { return [...
'use strict'; const {app} = require('electron'); const appName = app.getName(); module.exports = { label: appName, submenu: [{ label: 'About ' + appName, role: 'about', params: { version: '1.0.0' } }, { type: 'separator' }, { label: 'Preference...
(function($) { "use strict"; /** * Main controller class for jaoselect input * @param {Object} settings for widget * @param {JQuery} model initial <select> element, we hide it and use like a "model" layer */ var JaoSelect = function(settings, model) { // Delete previously created...
#pragma once // of this software and associated documentation files (the "Software"), to // deal in the Software without restriction, including without limitation the // sell copies of the Software, and to permit persons to whom the Software is // furnished to do so, subject to the following conditions: // all copies o...
from pxl_object import PxlObject from pxl_vector import PxlVector class PxlSprite(PxlObject): def __init__(self, size, position): pass
// Get all of our fake login data //var login = require('../login.json'); exports.view = function(req, res){ var goalname =req.params.goalname; res.render('add-milestone', {'time' : req.cookies.startTime, 'goalname': goalname}); }; exports.timePost = function(req,res){ var startTime = req.params.startTime; ...
# Laravel Language File Creator [![Build Status](https: [![SensioLabsInsight](https: [![Scrutinizer Code Quality](https: [![Code Coverage](https: [![Latest Stable Version](https: [![License](https: ## About This package creates a ready-to-go language file for Laravel from an array or a traversable object (i.e. collecti...
import {ElementRef, NgZone} from '@angular/core'; import {Direction} from '@angular/cdk/bidi'; import {coerceElement} from '@angular/cdk/coercion'; import {ViewportRuler} from '@angular/cdk/scrolling'; import {_getShadowRoot} from '@angular/cdk/platform'; import {Subject, Subscription, interval, <API key>} from 'rxjs';...
# Authentication ## Introduction Raptor supports user login and token based authentication in order to handle authentication and authorization to access and use the Raptor APIs. Users will be able to get credentials for the various entities needing to access specific platform capabilities via Raptor API: credentials ar...
<?php //constants for debug() function (in lib.php) define("DEBUG_OUTPUT_TYPE", "html"); // command_line, html define("<API key>", true); //error reporting level define("DEPLOYMENT", "development"); // production, development require 'database_config.php'; ?>
#include "chainparams.h" #include "db.h" #include "net.h" #include "main.h" #include "addrman.h" #include "ui_interface.h" #ifdef WIN32 #include <string.h> #endif #ifdef USE_UPNP #include <miniupnpc/miniwget.h> #include <miniupnpc/miniupnpc.h> #include <miniupnpc/upnpcommands.h> #include <miniupnpc/upnperrors.h> #endif...
<?php echo "holitas"; echo $_GET['url']; ?>
Template.index.onCreated( () => { let template = Template.instance(); template.autorun(()=> { template.subscribe('wishList'); }); }); Template.index.helpers({ contentReady() { return Template.instance().subscriptionsReady(); }, wishItems() { return Wish.find().fetch(); } });
<md-content> <br> <md-toolbar> <div class="md-toolbar-tools"> <button md-button class="md-icon-button" aria-label="Settings" (click)="clicked('Menu')"> <i md-icon>menu</i> </button> <h2> <span>Toolbar with Icon Buttons</span> ...
# Ember CLI segment [![Build Status](https: Ember CLI addons that provides a clean and easy way to integrate your Ember application with [Segment.com](https: ## Installation * `ember install:addon ember-cli-segment` ## Configuration/Logging Add your Segment `WRITE_KEY` to the `segment` config object for Analytics.js to...
""" Test suite for the embedded <script> extraction """ from BeautifulSoup import BeautifulSoup from nose.tools import raises, eq_ from csxj.datasources.parser_tools import media_utils from csxj.datasources.parser_tools import twitter_utils from tests.datasources.parser_tools import test_twitter_utils def make_soup(htm...
import random from urllib import urlopen import sys WORD_URL = "http://learncodethehardway.org/words.txt" WORDS = [] PHRASES = { "class %%%(%%%):": "Make a class named %%% that is-a %%%.", "class %%%(object):\n\tdef __init__(self, ***)" : "class %%% has-a __init__ hat takes self and *** paramete...
<head> <title>survey-app</title> </head> <body> <nav class="navbar navbar-default"> <ol class="breadcrumb"> <li><h2><a class="homeLink" href="#">Survey App</a></h2></li> <li><a href="#">About</a></li> <li> {{> loginButtons }} </li> {{#if currentUser}} <...
# Electron Starter Kit [![Join the chat at https: > Assemblable barebone project for Electron. This starter kit helps you to quick start a basically electron application and you can the advanced electron application including reusable components that installed through recipe system MIT @electronkr
# Vent A simple tunneling system designed to make a small footprint HTTP server behind a firewall available on a different machine with a public IP address. ## details A complete running system would involve three machines: - A client running a web browser - The tunneling server running at least python, available on a ...
jQuery(document).ready(function($){$(".slide8").remove();});
module <API key> def <API key> @<API key> ||= Markdown.new(description) end def description_html @description_html ||= <API key>.html.html_safe end def description_text @description_text ||= <API key>.text.html_safe end end
var throttle = require( "../throttle" ); // Fire callback at end of detection period var func = throttle(function() { // Do stuff here console.log( "throttled" ); }, 200 ); func();