answer
stringlengths
15
1.25M
define(['knockout', 'grammar', 'productionrule', 'utils'], function(ko, Grammar, ProductionRule, utils) { 'use strict'; function <API key>(grammar) { var unreachable = [], nt = grammar.nonTerminalSymbols(), s = grammar.<API key>(); for (var i = 0, l = nt.length; i < l; +...
/** * Uploader implementation - with the Connection object in ExtJS 4 * */ Ext.define('MyApp.ux.panel.upload.uploader.ExtJsUploader', { extend : 'MyApp.ux.panel.upload.uploader.AbstractXhrUploader', requires : [ 'MyApp.ux.panel.upload.data.Connection' ], config : { /** * @cfg {String} [m...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading; using NSubstitute; using Nancy; using Nancy.Routing; using PactNet.Logging; using PactNet.Mocks.MockHttpService; using PactNet.Mocks.MockHttpService.Nancy; using Xunit; namespace PactNet.Tests.Mocks.MockHttpServi...
"use strict"; var <API key> = require("@babel/runtime/helpers/<API key>"); Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _createSvgIcon = <API key>(require("./utils/createSvgIcon")); var _jsxRuntime = require("react/jsx-runtime"); var _default = (0, _createSvgIcon.defaul...
var jazz = require("../lib/jazz"); var fs = require("fs"); var data = fs.readFileSync(__dirname + "/foreach_object.jazz", "utf8"); var template = jazz.compile(data); template.eval({"doc": { "title": "First", "content": "Some content" }}, function(data) { console.log(data); });
/** * @fileoverview This is the interface to the Google maps API v2 * * @author Guenter Richter guenter.richter@maptune.com * @version 0.9 */ /* ...................................................................* * global vars * * .............................
import InputValidator from "../../common/js/InputValidator.js"; import ObjectUtilities from "../../common/js/ObjectUtilities.js"; import Action from "./Action.js"; import DefaultFilters from "./DefaultFilters.js"; import InitialState from "./InitialState.js"; var Reducer = {}; Reducer.root = function(state, action) { ...
{% extends 'layout.html' %} {% block heading %}Coming soon{% endblock %} {% block body %} {{ message }} {% endblock %} {% block footer_nav %} <li> <a href="{{ root }}">Back home</a> </li> {% endblock %}
package com.github.mlk.queue.codex; import com.github.mlk.queue.Queuify; import com.github.mlk.queue.implementation.Module; public class Utf8StringModule implements Module { public static Utf8StringModule utfStrings() { return new Utf8StringModule(); } @Override public void bind(Queuify.Builder ...
ig.module( 'plusplus.config-user' ) .defines(function() { ig.CONFIG_USER = { // no need to do force entity extended checks, we won't mess it up // because we know to have our entities extend ig.EntityExtended <API key>: false, // auto sort AUTO...
package hudson.triggers; import antlr.ANTLRException; import com.google.common.base.Preconditions; import hudson.Extension; import hudson.Util; import hudson.console.AnnotatedLargeText; import hudson.model.AbstractBuild; import hudson.model.AbstractProject; import hudson.model.Action; import hudson.model.<API key>; imp...
package com.karuslabs.commons.command.synchronization; import java.util.List; import org.bukkit.entity.Player; import org.bukkit.event.player.<API key>; import org.bukkit.scheduler.BukkitScheduler; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtendWith; import org.mockito.junit.jupiter.Moc...
<html dir="LTR"> <head> <meta http-equiv="Content-Type" content="text/html; charset=Windows-1252" /> <meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5" /> <title>DebugAppender Constructor ()</title> <xml> </xml> <link rel="stylesheet" type="text/css" href="MSD...
<?php namespace Omnipay\Common\Message; use Mockery as m; use Omnipay\TestCase; class <API key> extends TestCase { public function testDefaultMethods() { $response = m::mock('\Omnipay\Common\Message\AbstractResponse[isSuccessful]'); $this->assertFalse($response->isRedirect()); $this->ass...
# encoding: utf-8 require 'spec_helper' describe Github::Authorization do let(:client_id) { '234jl23j4l23j4l' } let(:client_secret) { '<API key>' } let(:code) { 'c9798sdf97df98ds'} let(:site) { 'http://github-ent.example.com/' } let(:options) { {:site => site} } subject(:github) { Github.new(options) } af...
require File.expand_path('../spec_helper', __FILE__) module Danger describe DangerProse do it 'is a plugin' do expect(Danger::DangerProse < Danger::Plugin).to be_truthy end describe 'with Dangerfile' do before do @dangerfile = testing_dangerfile @prose = testing_dangerfile.pros...
'use strict' const path = require('path') const hbs = require('express-hbs') module.exports = function (app, express) { hbs.registerHelper('asset', require('./helpers/asset')) app.engine('hbs', hbs.express4({ partialsDir: path.resolve('app/client/views/partials'), layoutsDir: path.resolve('app/client/views/...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>LCOV - result.info - c++/7.1.0/bits/stl_pair.h - functions</title> <link rel="stylesheet" type="text/css" href="../../../gcov.css"> </head> <body> <t...
// Name: wx/msw/notebook.h // Purpose: MSW/GTK compatible notebook (a.k.a. property sheet) // RCS-ID: $Id$ // Licence: wxWindows licence #ifndef _NOTEBOOK_H #define _NOTEBOOK_H #if wxUSE_NOTEBOOK // headers #include "wx/control.h" // wxNotebook class WXDLLIMPEXP_CORE wxNotebookPageInfo : public wxOb...
// Polyfills if ( Number.EPSILON === undefined ) { Number.EPSILON = Math.pow( 2, - 52 ); } if ( Number.isInteger === undefined ) { // Missing in IE Number.isInteger = function ( value ) { return typeof value === 'number' && isFinite( value ) && Math.floor( value ) === value; }; } if ( Math.sign ...
<?php namespace PHPExiftool\Driver\Tag\FlashPix; use JMS\Serializer\Annotation\ExclusionPolicy; use PHPExiftool\Driver\AbstractTag; /** * @ExclusionPolicy("all") */ class LockedPropertyList extends AbstractTag { protected $Id = 65538; protected $Name = 'LockedPropertyList'; protected $FullName = 'mixed'; ...
import supertest from 'supertest'; import { publicChannelName, privateChannelName } from './channel.js'; import { roleNameUsers, <API key>, roleScopeUsers, <API key>, roleDescription } from './role.js'; import { username, email, adminUsername, adminPassword } from './user.js'; export const request = supertest('http://l...
<?php defined('BX_DOL') or die('hack attempt'); define("<API key>", 0); define("<API key>", 1); /** * Base class for Installer classes in modules engine. * * The class contains different check functions which are used during the installation process. * An object of the class is created automatically with modules in...
<?php namespace Illuminate\Database\Eloquent; use Exception; use ArrayAccess; use JsonSerializable; use Illuminate\Support\Arr; use Illuminate\Support\Str; use Illuminate\Contracts\Support\Jsonable; use Illuminate\Contracts\Support\Arrayable; use Illuminate\Contracts\Routing\UrlRoutable; use Illuminate\Contracts\Queue\...
using System.Collections.Concurrent; using System.Collections.Generic; using System.Linq; using ECommon.Components; using ECommon.Scheduling; using ECommon.Socketing; using EQueue.Protocols; namespace EQueue.Broker.Client { public class ConsumerManager { private readonly <API key><string, ConsumerGroup>...
<?php namespace Phrest\Skeleton\v1\Requests\Users; use Phrest\SDK\Request\AbstractRequest; use Phrest\SDK\Request\RequestOptions; use Phrest\SDK\PhrestSDK; class CreateUserRequest extends AbstractRequest { /** * @var string */ private $path = '/v1/users/'; /** * @var string */ public $name = null; ...
'use strict'; // Require the module. const gulpRequireTasks = require('gulp-require-tasks'); const gulp = require('gulp'); const env = require('../index'); // Call it when necessary. gulpRequireTasks({ // Pass any options to it. Please see below. path: env.inConfigs('gulp', 'tasks')// This is default }); gulp.task(...
// Uncomment the following to provide samples for PageResult<T>. Must also add the Microsoft.AspNet.WebApi.OData // package to your project. /#define <API key> using System; using System.Collections; using System.Collections.Generic; using System.Diagnostics; using System.Diagnostics.CodeAnalysis; using System.Linq; us...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace CacheCow.Server.EntityTagStore.SqlServer { internal class ColumnNames { public static string CacheKeyHash = "CacheKeyHash"; public static string RoutePattern = "RoutePattern"; public static st...
import * as React from "react"; import { CarbonIconProps } from "../../"; declare const Laptop24: React.<API key>< CarbonIconProps & React.RefAttributes<SVGSVGElement> >; export default Laptop24;
<!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"> <title> Singapore Gurkhas 070216 Gcspf Gurkha Contingent Archives Kkg 23</title> <!-- URL Structures --> <link rel="canonical" h...
<!DOCTYPE html> <!--[if IE 7]> <html class="ie ie7" lang="en"> <![endif] <!--[if IE 8]> <html class="ie ie8" lang="en"> <![endif] <!--[if !(IE 7) | !(IE 8) ]><!--> <html> <head lang="en"> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=n...
using System; using System.ComponentModel; using System.Web; using System.Web.Security; using System.Xml.Linq; using System.Xml.XPath; using Umbraco.Core; using Umbraco.Core.Dictionary; using Umbraco.Core.Dynamics; using Umbraco.Core.Models; using Umbraco.Core.Security; using Umbraco.Core.Services; using Umbraco.Core.X...
* { margin: 0px; padding: 0px; } body{ overflow:hidden; background-color: black; } @font-face { font-family: Bang; src: url('bang.ttf'); } @media screen and (max-height: 650px) { #clouds{ height: 220px; } } } #wrapper { width: 100%; height: 100%; } #score { color: #fff; font-family: Bang; font-size: 1.6e...
use std::str::FromStr; fn read_line() -> String { let mut input = String::new(); std::io::stdin().read_line(&mut input).expect("Could not read stdin!"); input } fn read_multiple<F>(sep: &str) -> Vec<F> where F: FromStr { read_line().trim().split(sep).map(|token| token.parse().ok().unwrap()).collect() } fn gcd(a...
layout: page status: publish published: true title: 'MPC IN THE NEWS: Where We Came From and Where We Went, State by State' author: mpcit teaser: 'The folks at the NYT''s Upshot recently did a piece charting how Americans have moved between states since 1900, using Census microdata obtained from ipums.org, the MPC'...
/** * Gulp tasks for wrapping Browserify modules. */ const browserify = require("browserify"); const gulp = require("gulp"); const sourcemaps = require("gulp-sourcemaps"); const uglify = require("gulp-uglify"); const path = require("path"); const through2 = require("through2"); const buffer = require("vinyl-buffer");...
<!DOCTYPE html PUBLIC "- <html xmlns="http: <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <title>GLM_GTX_string_cast: String cast</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <link href="doxygen.css" rel="stylesheet" type="text/css"/> </head> <body> <!-- Generated by Do...
/* * Special implementations of built-in functions and methods. * * Optional optimisations for builtins are in Optimize.c. * * General object operations and protocols are in ObjectHandling.c. */ ///////////////// Globals.proto //////////////////// static PyObject* __Pyx_Globals(void); /*proto*/ ///////////////// ...
// Commom Plugins (function($) { 'use strict'; // Scroll to Top Button. if (typeof theme.PluginScrollToTop !== 'undefined') { theme.PluginScrollToTop.initialize(); } // Tooltips if ($.isFunction($.fn['tooltip'])) { $('[data-tooltip]:not(.manual), [data-plugin-tooltip]:not(.manual...
package main import ( "encoding/json" "fmt" "io/ioutil" "log" "net/http" "net/url" "os" "os/user" "path/filepath" "strings" "golang.org/x/net/context" "golang.org/x/oauth2" "golang.org/x/oauth2/google" gmail "google.golang.org/api/gmail/v1" "github.com/codegan...
'use strict'; const BitcrusherProps = { bits: { type: 'number', bounds: [1, 16], defaultValue: 4 }, normfreq: { type: 'number', bounds: [0, 1], step: 0.1, defaultValue: 0.1 }, bufferSize: { type: 'number', bounds: [256, 16384], ...
#include "<API key>.hpp" namespace Sn { <API key>::<API key>(QWidget* parent) : QListWidget(parent), m_mouseDown(false) { setFocusPolicy(Qt::NoFocus); <API key>(Qt::ScrollBarAlwaysOff); setMovement(QListView::Static); setResizeMode(QListView::Adjust); setViewMode(QListView::IconMode); <A...
import os import sys from Bio import SeqIO f = open(sys.argv[1], 'rU') out = open(sys.argv[2], 'w') for records in SeqIO.parse(f, 'fastq'): SeqIO.write(records, out, 'fasta')
require 'strscan' # Parses a gem.deps.rb.lock file and constructs a LockSet containing the # dependencies found inside. If the lock file is missing no LockSet is # constructed. class Gem::RequestSet::Lockfile # Raised when a lockfile cannot be parsed class ParseError < Gem::Exception # The column where the err...
define({ "_widgetLabel": "Tra cứu Địa lý", "description": "Duyệt đến hoặc Kéo <a href='./widgets/GeoLookup/data/sample.csv' tooltip='Download an example sheet' target='_blank'> trang tính </a> tại đây để mô phỏng và thêm các dữ liệu bản đồ vào trang tính đó.", "selectCSV": "Chọn một CSV", "loadingCSV": "Đang tả...
var chai = require("chai") var should = chai.should(); chai.use(require("chai-http")); var request = chai.request(require("./server")) var db = require("mongojs")("test") describe("CRUD Handler", () => { before(done => { done() }) beforeEach(done => { db.dropDatabase(done); }) after(...
{-# LANGUAGE <API key> #-} {-# LANGUAGE FlexibleInstances #-} {-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE TemplateHaskell #-} {-# LANGUAGE Arrows #-} module Main where import Opaleye import Data.Profunctor.Product import Data.Profunctor.Product.Default import Data.Profunctor.Product.TH ...
"use strict"; devdiv.directive('devDiv', [function () { return { restrict: 'E', link: function (scope, iElement, iAttrs) { iElement.addClass("dev-div"); iElement.addClass("row"); } }; }]) devdiv.controller('NameCtrl', function ($scope, $watch) { });
(function() { 'use strict'; /* Filters */ var md5 = function (s) { if (!s) return ''; function L(k, d) { return (k << d) | (k >>> (32 - d)); } function K(G, k) { var I, d, F, H, x; F = (G & 2147483648); H = (k & 2147483648); I = (G & 1073741824); d = (k & 107374...
// All ZZZ Projects products: Entity Framework Extensions / Bulk Operations / Extension Methods /Icon Library using System; using System.IO; public static partial class Extensions { <summary> Changes the extension of a @this string. </summary> <param name="this"> The @this information to modify. The...
<?php defined('BASEPATH') OR exit('No direct script access allowed.'); $config['useragent'] = 'PHPMailer'; // Mail engine switcher: 'CodeIgniter' or 'PHPMailer' $config['protocol'] = IS_WINDOWS_OS ? 'smtp' : 'mail'; // 'mail', 'sendmail', or 'smtp' $config['mailpath'] = '/usr/sbin/s...
'use strict'; import 'vs/css!./glyphMargin'; import { DynamicViewOverlay } from 'vs/editor/browser/view/dynamicViewOverlay'; import { ViewContext } from 'vs/editor/common/view/viewContext'; import { RenderingContext } from 'vs/editor/common/view/renderingContext'; import * as viewEvents from 'vs/editor/common/view/view...
package net.ontrack.core.security; import lombok.Data; import net.ontrack.core.model.AccountSummary; @Data public class <API key> { private final int project; private final AccountSummary account; private final ProjectRole role; }
require 'set' require 'sprockets/http_utils' require 'sprockets/<API key>' require 'sprockets/uri_utils' module Sprockets module Resolve include HTTPUtils, PathDependencyUtils, URIUtils # Public: Find Asset URI for given a logical path by searching the # environment's load paths. # resolve("applic...
(function (subdivision) { 'use strict'; var count = 0; var builders; var defaultBuilder; function buildInternal(type, addin, options, meta) { var builder = subdivision.getBuilder(type); if (builder.preBuildTarget) { addin = buildInternal(builder.preBuildTarget, addin, opt...
// This file is automatically generated. // Please do not change this file! interface CssExports { 'button': string; 'buttonItemCount': string; 'checked': string; 'level': string; 'selector': string; } export const cssExports: CssExports; export default cssExports;
import argparse import asyncio import gc import os.path import pathlib import socket import ssl PRINT = 0 async def echo_server(loop, address, unix): if unix: sock = socket.socket(socket.AF_UNIX, socket.SOCK_STREAM) else: sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) sock.sets...
<?php namespace PHPExiftool\Driver\Tag\MXF; use JMS\Serializer\Annotation\ExclusionPolicy; use PHPExiftool\Driver\AbstractTag; /** * @ExclusionPolicy("all") */ class EventStart extends AbstractTag { protected $Id = '060e2b34.0101.0102.07020103.03030000'; protected $Name = 'EventStart'; protected $FullName...
<?php namespace Soda\Cms\Database\Repositories\Contracts; use Illuminate\Http\Request; use Soda\Cms\Database\Models\Contracts\ContentInterface; interface <API key> extends <API key> { public function findBySlug($slug); public function listFolder(Request $request, ContentInterface $contentFolder); public fun...
(function( root, factory ) { if( typeof define === 'function' && define.amd ) { // AMD. Register as an anonymous module. define( function() { root.Reveal = factory(); return root.Reveal; } ); } else if( typeof exports === 'object' ) { // Node. Does not wor...
#!/usr/bin/python # -*- coding: utf-8 -*- # This program is free software: you can redistribute it and/or modify # (at your option) any later version. # This program is distributed in the hope that it will be useful, # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # @author : beaengine@gmail...
class Base { public: Resource *p; Base() { p = createResource(); } virtual void f() { //has virtual function } ~Base() { //wrong: is non-virtual freeResource(p); } }; class Derived: public Base { public: Resource *dp; Derived() { dp = createResource2(); } ...
#endregion using System; using System.Collections; using System.Diagnostics; using System.Globalization; using System.IO; using System.Xml; using System.Xml.Serialization; using newtelligence.DasBlog.Runtime.Proxies; using newtelligence.DasBlog.Util; namespace newtelligence.DasBlog.Runtime { [Serializable] [Xml...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <math.h> #undef SCI_NAMESPACE #include <Scintilla.h> #include "iup.h" #include "iup_object.h" #include "iup_attrib.h" #include "iup_str.h" #include "iupsci.h" static char* <API key>(Ihandle *ih) { if(<API key>(ih, SCI_GETCURSOR, 0, 0) == SC_CURSORWAI...
var Example = Example || {}; Example.staticFriction = function() { var Engine = Matter.Engine, Render = Matter.Render, Runner = Matter.Runner, Body = Matter.Body, Composites = Matter.Composites, Events = Matter.Events, MouseConstraint = Matter.MouseConstraint, ...
{% if isTopPage() %} {% set unportalizedPath = '/top-' + Date.now() %} {% else %} {% set unportalizedPath = page.path|replace('(\/)$', '') %} {% endif %} <div class="modal" id="unportalize"> <div class="modal-dialog"> <div class="modal-content"> <form role="form" id="unportalize-form" onsubmit="re...
package com.softserve.app.repository; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; import static org.mockito.Mockito.when; import java.util.ArrayList; import java.util.List; import org.junit.Test; import org.junit.runner.RunWith; import org.mockito.Mock; import org.mockito....
##Search in Rotated Sorted Array II Total Accepted: 60092 Total Submissions: 188639 Difficulty: Medium Follow up for "Search in Rotated Sorted Array": What if duplicates are allowed? Would this affect the run-time complexity? How and why? Write a function to determine if a given target is in the arr...
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802 // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2015.07.16 at 03:24:22 PM EEST package org.ecloudmanager.tmrk.cloudapi.model; import javax.xm...
var searchData= [ ['vertical_5fline',['vertical_line',['../<API key>.html#<API key>',1,'AbstractBoard']]] ];
TR_INFO: request information about an active transaction this is the aux. library to encode the request buffer and decode the reply buffer. encode(options_t) -> encoded options string decode(info_buf, info_buf_len) -> decoded info table USAGE: - use it with <API key>() to encode the info request and...
package runner import ( "strings" "testing" "gopkg.in/stretchr/testify.v1/assert" ) var fuzzList = ` ' " - '%20 '%20; =%20' =%20; =%20 \x23 \x27 \x3D%20\x3B' \x3D%20\x27 \x27\x4F\x52 SELECT * \x27\x6F\x72 SELECT * 'or%20select * admin' <>"'%;)(&+ '%20or%20''=' '%20or%20'x'='x "%20or%20"x"="x ')%20or%20('x'=...
import flask from donut import auth_utils from donut.modules.account import blueprint, helpers @blueprint.route("/request") def request_account(): """Provides a form to request an account.""" return flask.render_template("request_account.html") @blueprint.route("/request/submit", methods=["POST"]) def <API key>...
<!DOCTYPE html> <html ng-app="recoveryApp" lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <script type="text/javascript" src="bower_components/angular/angular.js"></script> <script type="text/javascript" src="bower_components/sjcl/sjcl.js"><...
package org.ominidi.api.controller; import org.ominidi.api.exception.ConnectionException; import org.ominidi.api.exception.NotFoundException; import org.ominidi.api.model.Errors; import org.ominidi.domain.model.Feed; import org.ominidi.domain.model.Post; import org.ominidi.facebook.service.PageFeedService; import org.s...
#include "jsonobject.h" #include "jsonparser.h" namespace amgcommon { namespace json { JsonObject::JsonObject(string rawJson) { this->originalJson = rawJson; this->root = JsonNode(); } JsonObject::JsonObject(const JsonObject &a) { this-...
default rel %define XMMWORD %define YMMWORD %define ZMMWORD section .text code align=64 EXTERN OPENSSL_ia32cap_P global <API key> ALIGN 16 <API key>: mov QWORD[8+rsp],rdi ;WIN64 prologue mov QWORD[16+rsp],rsi mov rax,rsp $L$<API key>: mov rdi,rcx mov rsi,rdx mov ...
package org.datasyslab.geospark.utils; import org.junit.Test; import static org.junit.Assert.assertEquals; import static org.junit.Assert.fail; public class RDDSampleUtilsTest { /** * Test get sample numbers. */ @Test public void <API key>() { assertEquals(10, RDDSampleUtils.getSampleN...
<?php /* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ /** * Include file Image/Graph/Axis.php */ require_once 'Image/Graph/Axis.php'; class <API key> extends Image_Graph_Axis { /** * The labels shown on the axis * @var array * @access private */ var $_labels = false; /**...
var _ = require('lodash'); var color =require('colors'); var fs =require('fs'); var config = require('../config.js'); var path = require('path'); var mongoose = require("mongoose"); var lcommon = require('lush').common; console.log(config.db); mongoose.connect(config.db,function (err) { if(err){ throw new Error...
namespace SalesDatabase.Models { using System.Collections.Generic; public class StoreLocation { public StoreLocation() { this.SalesInStore = new HashSet<Sale>(); } public int Id { get; set; } public string LocationName { get; set; } public ICollect...
# -*- coding:utf-8 -*- from re import sub from itertools import islice # mm/dd/yyyy # sub with open("./log.log","r") as f: for line in islice(f,0,None): #print sub("(\d{4})-(\d{2})-(\d{2})",r"\2/\3/\1",line) print sub("(?P<year>\d{4})-(?P<month>\d{2})-(?P<day>\d{2})",r"\g<month>/\g<day>/\g<>",line)
MACRO(ADD_PCH SOURCE_FILES NO_PCH_FILES PROJECT_PATH PCH_PATH_LOCAL PCH_FILE_NAME) SET(<API key> ${PCH_PATH_LOCAL}) IF (${<API key>} STREQUAL "./" OR ${<API key>} STREQUAL ".") SET(<API key>) ELSE() SET(<API key> ${<API key>}/) ENDIF() SET(<API key> ${PROJECT_PATH}/${<API key>}${PCH_...
/* form elements */ input[type="submit"], input[type="text"], input[type="password"], input[type="submit"], input[type="tel"], button[type="button"], button[type="submit"], textarea { -webkit-appearance: none; -moz-appearance: none; -o-appearance: none; border-radius: 0 !important; } input[type="text"] ...
module Supa class Builder <API key> = %w(attribute virtual object namespace collection append).freeze def initialize(subject, representer:, tree:) @subject = subject @representer = representer @tree = tree end <API key>.each do |command| klass = Supa::Commands.const_get(command...
import org.scalatest.{Matchers, FunSuite} class SeriesTest extends FunSuite with Matchers { test("slices of one") { Series.slices(1, "") should be (List()) Series.slices(1, "01234") should be (List(List(0), List(1), List(2), List(3), List(4))) } test("slices of two") { Series.slices(2, "") shoul...
/** * Copyright (c) 2016 by Silicon Laboratories Inc. All rights reserved. * * http: *****************************************************************************/ #include "uart_1.h" #if <API key> == 1 // declare variable needed for autopage enter/exit #define DECL_PAGE uint8_t savedPage // enter autopage section ...
define(["widgetjs/widgetjs", "lodash", "jquery", "prettify", "code", "bootstrap"], function(widgetjs, lodash, jQuery, prettify, code) { var examples = {}; examples.modals = code({ group: "Modals", label: "Modals", links: ["http://getbootstrap.com/javascript/#modals"], example : f...
class <API key> < ActiveRecord::Migration def change add_column :questions, :correct_answer, :integer, :default => nil end end
module.exports = require('./lib/dustjs-browserify');
namespace GE.WebUI.ViewModels { public sealed class VMGameMenuEmptyGame { public string IconPath { get; set; } public string GoodImagePath { get; set; } public string BadImagePath { get; set; } } }
/* orconfig.h. Generated from orconfig.h.in by configure. */ /* orconfig.h.in. Generated from configure.ac by autoheader. */ #include <openssl/opensslv.h> /* Define if building universal (internal helper macro) */ /* #undef <API key> */ /* tor's configuration directory */ #define CONFDIR "/usr/local/etc/tor" /* Def...
// This source file is part of appleseed. // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // copies of the Software, and to permit persons to whom the Software is // furnished to do so, subject to the follow...
#ifndef <API key> #define <API key> #include <iterator> #include <functional> #include <asio/deadline_timer.hpp> #include <asio/streambuf.hpp> #include <boost/network/protocol/http/algorithms/linearize.hpp> #include <boost/network/protocol/http/response.hpp> #include <boost/network/protocol/http/traits/resolver_policy....
import React from 'react' import Icon from 'react-icon-base' const IoTshirtOutline = props => ( <Icon viewBox="0 0 40 40" {...props}> <g><path d="m11.4 6.7l-8.1 2.4 0.8 2.5 3.1-0.3 3-0.4-0.2 3-1.1 19.9h17.2l-1.1-19.9-0.2-3 3 0.4 3.1 0.3 0.8-2.5-8.1-2.4c-0.5 0.6-1 1.1-1.6 1.5-1.2 0.8-2.7 1.2-4.5 1.2-2.7-0.1-...
import {<API key>} from './<API key>'; import {NgbDate} from '../ngb-date'; import {Injectable} from '@angular/core'; const <API key> = new Date(1882, 10, 12); const GREGORIAN_LAST_DATE = new Date(2174, 10, 25); const HIJRI_BEGIN = 1300; const HIJRI_END = 1600; const ONE_DAY = 1000 * 60 * 60 * 24; const MONTH_LENGTH = ...
# Supported tags and respective `Dockerfile` links - [`3.1.23`, `3.1`, `3`, `latest` (*Dockerfile*)](https://github.com/docker-library/celery/blob/<SHA1-like>/Dockerfile) [![](https: For more information about this image and its history, please see [the relevant manifest file (`library/celery`)](https: For detailed ...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Permalinks</title> <link rel="stylesheet" href="../assets/css/ghost.min.css"> <!-- Styles not needed for this. Just to get around various bits that Ember handles for us. --> <style> @media (max-width: 900px) { ...
<?php namespace Chamilo\Application\Weblcms\Tool\Implementation\ExamAssignment\Ajax\Component; use Chamilo\Application\Weblcms\Tool\Implementation\ExamAssignment\Ajax\Manager; use Symfony\Component\HttpFoundation\JsonResponse; class ListUsersComponent extends Manager { /** * @return string */ function...