answer
stringlengths
15
1.25M
# This migration comes from thinkspace_resource (originally 20150502000000) class <API key> < ActiveRecord::Migration def change add_column :<API key>, :file_fingerprint, :string end end
package com.microsoft.azure.management.network.v2020_04_01; import java.util.Map; import com.fasterxml.jackson.annotation.JsonProperty; /** * Tags object for patch operations. */ public class TagsObject { /** * Resource tags. */ @JsonProperty(value = "tags") private Map<String, String> tags; ...
package org.spongepowered.common.mixin.core.server.network; import net.minecraft.network.NetworkManager; import net.minecraft.network.login.server.S00PacketDisconnect; import net.minecraft.server.MinecraftServer; import net.minecraft.server.management.<API key>; import net.minecraft.server.network.<API key>; import net...
from otp.ai.AIBaseGlobal import * import <API key> from direct.directnotify import DirectNotifyGlobal from direct.fsm import ClassicFSM, State from direct.fsm import State from direct.task import Task import random from toontown.toonbase import ToontownGlobals from toontown.toonbase import TTLocalizer import CharStateD...
<?php namespace Rmc\Core\StaticPageBundle\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 ...
<!--?xml version="1.0"?--><html><head></head><body></body></html>
import React from 'react'; import { Link } from 'react-router'; import HotdotActions from '../actions/HotdotActions'; import HotdotObjStore from '../stores/HotdotObjStore'; import MyInfoNavbar from './MyInfoNavbar'; import Weixin from './Weixin'; class Hotdot extends React.Component { constructor(props) { ...
#ifndef CLIENTVERSION_H #define CLIENTVERSION_H // These need to be macros, as version.cpp's and bitcoin-qt.rc's voodoo requires it #define <API key> 1 #define <API key> 5 #define <API key> 1 #define <API key> 0 // Set to true for release, false for prerelease or test build #define <API key> true ...
<?php namespace PayU\Api\Response\Builder; use PayU\Api\Request\RequestInterface; use PayU\Api\Response\AbstractResponse; use Psr\Http\Message\ResponseInterface; /** * Interface BuilderInterface * * Provides a common interface to build response objects based on request context * * @package PayU\Api\Response\Builde...
using SolrExpress.Search.Parameter; using System; using System.Globalization; using System.Linq; using System.Text; namespace SolrExpress.Utility { <summary> Helper class used to extract information inside parameters </summary> internal static class ParameterUtil { <summary> Get the ...
import 'babel-polyfill'; import ReactDOM from 'react-dom'; import React from 'react'; import FastClick from 'fastclick'; import Router from './routes'; import Location from './core/Location'; import { addEventListener, removeEventListener } from './core/DOMUtils'; import { ApolloClient, <API key> } from 'react-apollo';...
var $M = require("@effectful/debugger"), $x = $M.context, $ret = $M.ret, $unhandled = $M.unhandled, $brk = $M.brk, $lset = $M.lset, $mcall = $M.mcall, $m = $M.module("file.js", null, typeof module === "undefined" ? null : module, null, "$", { __webpack_require__: typeof __webpack_require__...
# INTRODUCTION Triplie is an AI bot based on 2nd up to 5th order Markov model. It uses an SQLite database for storage. Triplie learns by creating 1. a dictionary of words 2. a graph representing valid 5-grams (consecutive groups of 5 words) encountered in the text 3. a graph of associations between words from senten...
module Shiphawk module Api # Company API # The following API actions provide the CRUD interface to managing a shipment's tracking. module ShipmentsStatus def <API key> options put_request status_path, options end end end end
import "bootstrap-slider"; import "bootstrap-switch"; export module profile { function onInfoSubmit() { var params: { [key: string]: string } = {}; $("#info-container .info-field").each(function() { let name: string = this.getAttribute("name"); if (name == null) { ...
// 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 following conditions: // all copies or substanti...
<?php // Moodle is free software: you can redistribute it and/or modify // (at your option) any later version. // Moodle is distributed in the hope that it will be useful, // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the defined('MOODLE_INTERNAL') || die(); $plugin->component = 'filter_podlille1'; //...
<?php $this->load->Model('exam/Exam_manager_model'); $this->load->model('Branch/Course_model'); $exams = $this->Exam_manager_model->exam_details(); $exam_type = $this->Exam_manager_model->get_all_exam_type(); $branch = $this->Course_model->order_by_column('c_name'); ?> <div class="row"> <div class=col-lg-12> ...
<?php namespace Augwa\QuickBooks\Model; /** * Master Account is the list of accounts in the master list. The master * list is the complete list of accounts prescribed by the French * Government. These accounts can be created in the company on a need * basis. The account create API needs to be used to create an acco...
/** * Entry point for CSS. */ .foo { color: black; }
require 'spec_helper' module Gisele module Compiling describe Gisele2Gts, "on_task_def" do before do subject subject.ith_state(0).initial! end subject do code = <<-GIS.strip task Main Hello end GIS Gisele2Gts.compile(code, :...
// This file is automatically generated. package adila.db; /* * Motorola Cliq-XT * * DEVICE: zeppelin * MODEL: MB501 */ final class zeppelin_mb501 { public static final String DATA = "Motorola|Cliq-XT|"; }
#include "transactiondesc.h" #include "guiutil.h" #include "lusocoinunits.h" #include "main.h" #include "wallet.h" #include "db.h" #include "ui_interface.h" #include "base58.h" #include <string> QString TransactionDesc::FormatTxStatus(const CWalletTx& wtx) { if (!wtx.IsFinal()) { if (wtx.nLockTime < LOC...
LIBEVENT_VERSION="2.1.11-stable" LIBEVENT_SHA256SUM="<SHA256-like>" rm -fR libevent* getpkg https://github.com/libevent/libevent/releases/download/release-${LIBEVENT_VERSION}/libevent-${LIBEVENT_VERSION}.tar.gz $LIBEVENT_SHA256SUM tar zxvf libevent-${LIBEVENT_VERSION}.tar.gz cd libevent-${LIBEVENT_VERSION} ./configure ...
<?php namespace Orinoco\Framework; use RuntimeException; class View { // layout name public $layout; // Orinoco\Framework\Http class private $http; // Orinoco\Framework\Route class private $route; // Passed controller's variables (to be used by view template) private $variables; // e...
/* 0. Normalize 1. Icons 2. General 3. Utilities 4. General 5. Single Post 6. Tag Archive 7. Third Party Elements 8. Pagination 9. Footer 10. Media Queries (Tablet) 11. Media Queries (Mobile) 12. Animations */ article, aside, details, figcaption, figure, foo...
<?php namespace ibrss\Http\Requests; class RegisterRequest extends Request { /** * Get the validation rules that apply to the request. * * @return array */ public function rules() { return [ 'email' => 'required|email|unique:users', 'password' => 'required...
package util; import java.io.<API key>; import java.io.<API key>; import java.io.ObjectInputStream; import java.io.ObjectOutputStream; public class ObjectCloner { // so that nobody can accidentally create an ObjectCloner object private ObjectCloner() { } // returns a deep copy of an object static pu...
import java.awt.*; public class ListFonts { public static void main(String[] args) { String[] fontNames = GraphicsEnvironment .<API key>() .<API key>(); for (int i = 0; i < fontNames.length; i++) System.out.println(fontNames[i]); } }
import { Event } from "../events/Event" import { EventDispatcher } from "../events/EventDispatcher" import { Browser } from "../utils/Browser" import { Byte } from "../utils/Byte" /** * * @eventType Event.OPEN * */ /*[Event(name = "open", type = "laya.events.Event")]*/ /** * * @eventType Event.MESSAGE * */ /*[Eve...
'use strict'; module.exports = require('./is-implemented')() ? Array.prototype.concat : require('./shim');
#!/bin/bash # this causes the script to exit if any line causes an error. if there are badly-behaved bits of script that you want to ignore, you can run "set +e" and then "set -e" again afterwards. set -e # setting the variable stylefile to be the string on the RHS of =. you can't have spaces around the =, annoyingly. ...
import React from "react"; import { Link } from "@curi/react-dom"; import { TitledPlainSection, HashSection, Paragraph, CodeBlock, Note, IJS } from "../../components/guide/common"; let meta = { title: "Apollo Integration" }; let setupMeta = { title: "Setup", hash: "setup" }; let looseMeta = { title:...
require 'net/http' require 'net/https' require 'active_merchant/billing/response' module ActiveMerchant #:nodoc: module Billing #:nodoc: # == Description # The Gateway class is the base class for all ActiveMerchant gateway implementations. # The standard list of gateway functions that most concrete gatewa...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; namespace DevDataControl { public partial class <API key> : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { } } }
require 'tilt/erb' module May class Templator class Template def initialize(path) @file = File.open(path, 'r') if path end def path @file.path end def body return '' unless @file @body ||= @file.read end end class Generator def init...
/** * before : before(el, newEl) * Inserts a new element `newEl` just before `el`. * * var before = require('dom101/before'); * var newNode = document.createElement('div'); * var button = document.querySelector('#submit'); * * before(button, newNode); */ function before (el, newEl) { if (type...
<? $page_title = "Mobile Grid System" ?> <?php include("includes/_header.php"); ?> <style> .example .row, .example .row .column, .example .row .columns { background: #f4f4f4; } .example .row { margin-bottom: 10px; } .example .row .column, .example .row .columns { background: #eee; border: 1px solid ...
package astilog import "flag" // Flags var ( AppName = flag.String("logger-app-name", "", "the logger's app name") Filename = flag.String("logger-filename", "", "the logger's filename") Verbose = flag.Bool("logger-verbose", false, "if true, then log level is debug") ) // Formats const ( FormatJSON = "...
<?php require_once('../../lib/Laposta.php'); Laposta::setApiKey("<API key>"); // initialize field with list_id $field = new Laposta_Field("BaImMu3JZA"); try { // get field info, use field_id or email as argument // $result will contain een array with the response from the server $result = $field->get("iPcyY...
import React, { PropTypes } from 'react'; import Page from './Page'; import ProjectListItem from './ProjectListItem'; import AspectContainer from './AspectContainer'; import BannerImage from './BannerImage'; import styles from './Projects.css'; const Projects = ({ projects }) => ( <Page Hero={() => <AspectC...
(function($) { var <API key> = function() { this.token = localStorage.getItem('token'); this.gitlab_host = localStorage.getItem('gitlab_host'); } <API key>.prototype.save = function() { localStorage.setItem('token', this.token); localStorage.setItem('gitlab_host', this.gitlab_host); $(this).tr...
<ts-form-field [validateOnChange]="validateOnChange" [control]="selfReference" [hideRequiredMarker]="hideRequiredMarker" [hint]="hint" [id]="id" [theme]="theme" cdk-overlay-origin #origin="cdkOverlayOrigin" > <ts-label *ngIf="label"> {{ label }} </ts-label> <div class="<API key>"> <ng-cont...
"use strict"; ace.define("ace/snippets/golang", ["require", "exports", "module"], function (require, exports, module) { "use strict"; exports.snippetText = undefined; exports.scope = "golang"; });
<API key> $MyInvocation try { . $PSScriptRoot\Get-PythonExe.ps1 $distdir = Get-VstsInput -Name "distdir" -Require $repository = Get-VstsInput -Name "repository" -Require $pypirc = Get-VstsInput -Name "pypirc" $username = Get-VstsInput -Name "username" $password = Get-VstsInput -Name "password" ...
<html><body> <h4>Windows 10 x64 (19041.208) 2004</h4><br> <h2><API key></h2> <font face="arial"> +0x000 Base : <a href="./_VF_AVL_TREE_NODE.html">_VF_AVL_TREE_NODE</a><br> +0x010 SessionId : Uint4B<br> </font></body></html>
#ifndef SIGNALS_H_ #define SIGNALS_H_ //Lightbarriers and Sensor #define INLET_IN_VAL 0b0000000000000001 #define INLET_OUT_VAL 0b0000000000000011 #define <API key> 0b0000000000000010 #define <API key> 0b0000000000000110 //#define SENSOR_HEIGHT 0b0000000000000100 #define SWITCH_IN_...
html { font-size: 12px; font-family: 'Rubik', sans-serif; } h1,h2,h3,h4,h5,h6 { font-family: 'Rubik Mono One',sans-serif; } header { text-align: center; } header h1 { margin: 0; } #countries-judged { margin-bottom: 2rem; min-height: 2rem; } #countries-judged.empty { border: 1px dashed; } #countrie...
<?php namespace Composer\Plugin; use Composer\Composer; use Composer\EventDispatcher\<API key>; use Composer\IO\IOInterface; use Composer\Package\Package; use Composer\Package\Version\VersionParser; use Composer\Repository\RepositoryInterface; use Composer\Package\AliasPackage; use Composer\Package\PackageInterface; us...
export default { modules: require('glob!./glob.txt'), options: { name: 'Comment', }, info: true, utils: {}, };
using Content.Shared.Sound; using Robust.Shared.GameObjects; using Robust.Shared.Serialization.Manager.Attributes; using Robust.Shared.ViewVariables; namespace Content.Server.Storage.Components { <summary> Allows locking/unlocking, with access determined by AccessReader </summary> [RegisterComponent] ...
using System; using System.Collections.Generic; using System.Text; namespace RaidScheduler.Domain.DomainModels.Combinations { <summary> Interface for Permutations, Combinations and any other classes that present a collection of collections based on an input collection. The enumerators that this class i...
using DragonSpark.Model.Results; namespace DragonSpark.Application.Security.Identity; public interface IUsers<T> : IResult<UsersSession<T>> where T : class {}
#!/usr/bin/env node process.env.FORCE_COLOR = true; const program = require('commander'); const package = require('../package.json'); /** * CLI Commands * */ program .version((package.name) + '@' + (package.version)); /** * Command for creating and seeding */ program .command('create [dataObject]', 'Genera...
+++ date = "2019-03-01T18:09:26-07:00" title = "Trust and Integrity" author = "Jessica Frazelle" description = "Some reflections on my recent adventures." +++ I stated in my first post on my [reflections of leadership in other industries](https://blog.jessfraz.com/post/<API key>/) that I would write a follow up post af...
var hb = require('handlebars') , fs = require('vinyl-fs') , map = require('vinyl-map') module.exports = function (opts, cb) { if (!opts || typeof opts === 'function') throw new Error('opts is required') if (!opts.origin) throw new Error('opts.origin is required') if (!opts.target) throw new Error('opts.target...
package boun.swe573.accessbadger; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; @Controller public class ABHelloWorld { @RequestMapping("/welcome") public String helloWorld() { String message = "<br><div style='text-align:center;'>" ...
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT // LIMITED TO, PROCUREMENT OF SUBSTIT...
# <API key>: true # == Schema Information # Table name: tags # id :uuid not null, primary key # shared :boolean not null # tag_name :string not null # created_at :datetime not null # updated_at :datetime not null # organization_...
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>class <API key> - RDoc Documentation</title> <script type="text/javascript"> var rdoc_rel_prefix = "./"; </script> <script src="./js/jquery.js"></script> <script src="./js/darkfish.js"></script> <link href="./css/fonts.css" rel="stylesheet"> <link href="./cs...
<dom-element id="email-reader"> <template> <!-- <iframe sandbox height="100%" width="100%" srcdoc="{{email.body}}"></iframe> --> </template> <script> Polymer({ is: 'email-reader' }) </script> </dom-element>
INSERT INTO customers (first_name, last_name) VALUES ('Nobita', 'Nobi'); INSERT INTO customers (first_name, last_name) VALUES ('Takeshi', 'Goda'); INSERT INTO customers (first_name, last_name) VALUES ('Suneo', 'Honekawa'); INSERT INTO customers (first_name, last_name) VALUES ('Shizuka', 'Minamoto');
#!/usr/bin/python # -*- coding: utf-8 -*- from scrapy.spider import Spider from scrapy.selector import Selector from my_settings import name_file, test_mode, difference_days from datetime import datetime, timedelta print "Run spider NewenglandFilm" file_output = open(name_file, 'a') <API key> = [] email_in_file = open(...
module Tabulo # @!visibility private module Util NEWLINE = /\r\n|\n|\r/ # @!visibility private def self.condense_lines(lines) join_lines(lines.reject(&:empty?)) end # @!visibility private def self.divides?(smaller, larger) larger % smaller == 0 end # @!visibility private ...
<?php //Get Variables $favuserid = $_POST['userid']; $ownprofile = $_POST['ownprofile']; $ownusername = $_POST['ownusername']; //Connect to mysql database $connection = mysql_connect("localhost", "6470", "6470") or die("mySQL Connection Error<br />\n"); $database='6470_main'; mysql_select_db($database) or die('Error, c...
var request = require('request'); var url = require('url'); var authenticate = require('./oauthentication'); var Request = function(obj){ this.obj = obj; }; Request.prototype.mailboxes = function(method, specific_url, params, callback){ /* * @params: * @ param : if user wants to call specific mailbox e.g. : / ...
<?php namespace Sasedev\Commons\SharedBundle\HtmlModel\Tags; use Sasedev\Commons\SharedBundle\HtmlModel\Attributes\Src; use Sasedev\Commons\SharedBundle\HtmlModel\Attributes\Type; use Sasedev\Commons\SharedBundle\HtmlModel\Attributes\Charset; use Sasedev\Commons\SharedBundle\HtmlModel\Attributes\Defer; use Sasedev\Comm...
use std::process::{Command,Output}; use std::io; use tmux::pane::Pane; use capture::retrieve_capture; use serde::Serializer; use serde::ser::Serialize; // Come back and question the accuracy of windows without names // that have active, or previous window designations. static NAME_REGEX: &'static str = r":\s(\w*)[$\*...
package gradebookdata; /** * Represents one row of the course table in the GradeBook database * * @author Eric Carlton * */ public class Course { private String name; private int weight; private int ID; /** * Create a course with all fields filled * * @param name * na...
#include "RDom.h" #include "Util.h" #include "IROperator.h" #include "IRPrinter.h" namespace Halide { using namespace Internal; using std::string; using std::vector; RVar::operator Expr() const { if (!min().defined() || !extent().defined()) { user_error << "Use of undefined RDom dimension: " << ...
(function () { 'use strict'; angular.module('atacamaApp').directive('atacamaIndicator', indicatorDirective); function indicatorDirective() { return { templateUrl: 'app/components/widgets/indicator/indicator.html', link: linkFunc, controller: '<API key>', controllerAs: 'vm', bindT...
#ifndef CONFIGURATION_H_ #define CONFIGURATION_H_ #include <string> #include <vector> #include <map> #include <mutex> namespace daf { class Config { private: std::string FileLocation; std::mutex Lock; std::map<std::string, std::string> Storage; public: Config(); Config(const char* loc); ...
define(['tantaman/web/css_manip/CssManip'], function(CassManip) { var el = CassManip.getStyleElem({ id: 'customBackgrounds', create: true }); /** * This is essentially a view class that * render the stylesheet of background classes whenever * new background classes are created...
import { sp } from "@pnp/sp"; import "@pnp/sp/webs"; import "@pnp/sp/user-custom-actions"; import { ISearchQuery } from "@pnp/sp/search"; import { Web } from "@pnp/sp/webs"; export default class <API key> { /** * <API key> */ public <API key> = async (webURL: string) => { let web = Web(webURL)...
#include <common.h> #include <dm.h> #include <malloc.h> #include <sdhci.h> #include <fdtdec.h> #include <linux/libfdt.h> #include <asm/gpio.h> #include <asm/arch/mmc.h> #include <asm/arch/clk.h> #include <errno.h> #include <asm/arch/pinmux.h> #ifdef CONFIG_DM_MMC struct s5p_sdhci_plat { struct mmc_config cfg; s...
package host import ( "errors" "io/ioutil" "path/filepath" "testing" "time" "github.com/NebulousLabs/Sia/crypto" "github.com/NebulousLabs/Sia/modules" "github.com/NebulousLabs/Sia/modules/renter" "github.com/NebulousLabs/Sia/types" ) const ( testUploadDuration = 20 // Duration in...
import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { Comp624Component } from './comp-624.component'; describe('Comp624Component', () => { let component: Comp624Component; let fixture: ComponentFixture<Comp624Component>; beforeEach(async(() => { TestBed.<API key>({ declarati...
#include "glprogram.h" #include <gl/gl3w.h> #include <cstdio> bool compileStatus(GLuint shader) { int ret; glGetShaderiv(shader, GL_COMPILE_STATUS, &ret); return ret; } bool linkStatus(GLuint program) { int ret; glGetProgramiv(program, GL_LINK_STATUS, &ret); return ret; } bool compileShader(GLui...
#include <climits> #include <cstdlib> #include <cstring> #include "orderline.h" #include "../src/schema/conversion.h" using namespace std; void OrderlineStore::add(string elements[10]) { add_instance(atoi(elements[0].c_str()), atoi(elements[1].c_str()), atoi(elements[2].c_str()), atoi(elements[3].c_str())...
using Microsoft.Owin.Security.OAuth; using System; using System.Collections.Generic; using System.Linq; using System.Web.Http; namespace CodeReaction.Web { public static class WebApiConfig { public static void Register(HttpConfiguration config) { // Configure Web API to use only bear...
require 'spec_helper' describe Emarsys::Broadcast::Email do it 'should validate valid email' do expect(Emarsys::Broadcast::Email::validate 'winston.smith-1984@big.brother.ru').to be_truthy expect(Emarsys::Broadcast::Email::validate 'abc@example.com').to be_truthy end it 'should not validate invalid email'...
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>That's Life</title> <style> body { margin: 0; background-color: #f0f0f0; } canvas { width: 100%; height: 100% } #ex1Slider .slider-s...
var dp = jQuery; dp.noConflict(); dp(document).ready(function() { //SMOOTH SCROLL dp('a[href^="#"]').bind('click.smoothscroll', function(e) { e.preventDefault(); dp('html,body').animate({ scrollTop: dp(this.hash).offset().top }, 1200); }); //SUPER SLIDES // dp('#ho...
<table width="90%" border="0"><tr><td><script>function openfile(url) {fullwin = window.open(url, "fulltext", "toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes");}</script><div class="layoutclass_pic"><div class="<API key>"><table class="ztable"><tr><th class="ztd1"><b>&nbsp;</b></...
<?php require "header.php"; require "menu.php"; session_start(); require "config.php"; require_once __DIR__ . '/src/Facebook/autoload.php'; $fb = new Facebook\Facebook([ 'app_id' => APP_ID, 'app_secret' => APP_SECRET, '<API key>' => APP_VERSION ]); $helper = $fb-><API key>(); $permissions = ['email']; // op...
<?php namespace Propel\Tests\Generator\Migration; /** * @group database */ class ForeignKeyTest extends MigrationTestCase { public function testAdd() { $originXml = ' <database> <entity name="migration_test_6"> <field name="id" type="integer" primaryKey="true" autoIncrement="true" /> ...
<?php namespace Theintz\PhpDaemon\Plugin; use Theintz\PhpDaemon\Daemon; use Theintz\PhpDaemon\Exception; use Theintz\PhpDaemon\IPlugin; use Theintz\PhpDaemon\Lib\Command; /** * Create a simple socket server. * Supply an IP and Port for incoming connections. Add any number of Command objects to parse client input. * ...
#include "bitcoinunits.h" #include <QStringList> BitcoinUnits::BitcoinUnits(QObject *parent): QAbstractListModel(parent), unitlist(availableUnits()) { } QList<BitcoinUnits::Unit> BitcoinUnits::availableUnits() { QList<BitcoinUnits::Unit> unitlist; unitlist.append(BTC); unitlist.append(mBTC);...
namespace AgileObjects.AgileMapper.Api.Configuration.Projection { <summary> Enables chaining of configurations for the same source and result type. </summary> <typeparam name="TSourceElement">The source type to which the configuration should apply.</typeparam> <typeparam name="TResultElement">The re...
#include <string> #include <vector> using std::string; using std::vector; // StrUtil class class StrUtils { public: /**Function used to trim empty character * from begin and end of the string * @param string& string to trim * @return string& trimed tring, same object of parameter ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SetupEnviroment { class Application { public static void Main(string[] args) { NameSelector.DoExample(); //IdSelector.Main(); //NoSuch...
using System; using System.Collections.Generic; using System.Dynamic; using System.Reflection; using Newtonsoft.Json; namespace HMS.SP{ <summary> <para>https://msdn.microsoft.com/en-us/library/office/dn600183.aspx#bk_Notes</para> </summary> public class Implementationnotes : SPBase{ [JsonPropert...
using System; using System.Collections.Generic; using System.Collections.Specialized; using System.Web.UI; using System.Web.UI.WebControls; using Vevo; using Vevo.Domain.DataInterfaces; using Vevo.Shared.Utilities; using Vevo.WebAppLib; using Vevo.Base.Domain; public partial class <API key> : Vevo.WebUI.International.<...
#include <stdio.h> #include <stdlib.h> static inline void swap(int *a, int *b) { int tmp = *a; *a = *b; *b = tmp; } static int <API key>(int* nums, int numsSize) { if (numsSize == 0) { return 1; } int i = 0; while (i < numsSize) { /* nums[i] should be i+1 and nums[nums[i] - 1...
<?php namespace Eeemarv\EeemarvBundle\Command; use Symfony\Bundle\FrameworkBundle\Command\<API key>; use Symfony\Component\Console\Input\InputArgument; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Input\InputOption; use Symfony\Component\Console\Output\OutputInterface; use MimeMailP...
define([ "./core", "./var/slice", "./callbacks" ], function( jQuery, slice ) { jQuery.extend({ Deferred: function( func ) { var tuples = [ // action, add listener, listener list, final state [ "resolve", "done", jQuery.Callbacks("once memory"), "resolved" ], ...
<reference path="../../../typings/index.d.ts" /> import * as React from 'react'; import * as ReactDOM from 'react-dom'; import { UserList } from '../components/users'; export class People extends React.Component<{}, {}> { render () { return ( <div className="row"> <div id="content"> <UserL...
var http = require("http"); var url = require("url"); function start(route, handle) { function onRequest(request, response) { var pathname = url.parse(request.url).pathname; console.log("Request for " + pathname + " received."); route(handle, pathname, response); } http.createSer...
using DandelionWebSockets import JSON import Base.== import DandelionSlack: on_event, on_reply, on_error, on_connect, on_disconnect, EventTimestamp, RTMWebSocket, send_text, stop, RTMClient, makerequest, wsconnect, HttpException import DandelionWebSockets: @mock, @mockfunct...
// UIColor+Rainbow.h // Rainbow UIColor Extension // 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 ...