text
stringlengths
3
1.05M
FigureTransferCommand.prototype = new Command(); function FigureTransferCommand( /* String */ name, /* DrawingView */ view) { var argv = FigureTransferCommand.arguments; var argc = FigureTransferCommand.length; this.className = "Command"; /* DrawingView */ this.fView = null; if (arg...
(function() { "use strict"; var LOG = 'EmacsEdit: '; var msgEl = document.getElementById('EmacsEdit'); var emacsid = 0; // Uninque id for each editor on page we are invoked on. // Supported editors. Looked for in the DOM in the following order. var io = { CodeMirror: { find: '.CodeMirror', ...
var path = require('path') , fs = require('fs') , glob = require('glob') , xcode = require('xcode') , plist = require('plist-with-patches') , shell = require('shelljs') , cachedProjectFiles = {}; module.exports = { www_dir:function(project_dir) { return path.join(project_dir, 'www'); },...
from graphql import parse, validate from ...types import Schema, ObjectType, String from ..disable_introspection import DisableIntrospection class Query(ObjectType): name = String(required=True) @staticmethod def resolve_name(root, info): return "Hello world!" schema = Schema(query=Query) de...
![Market Session Screenshot](https://www.100incomes.com/content/images/2019/06/2019-06-13_12-28-59.jpg) The Market Sessions indicator is an indicator for the [Metatrader 4](http://www.metatrader4.com/) and [Metatrader 5](http://www.metatrader5.com/) platforms that has the following features (and more): ## Features - ...
from rest_framework import serializers from wq.db.rest.serializers import ModelSerializer from django.conf import settings class NextSlideSerializer(serializers.Serializer): id = serializers.ReadOnlyField(source='slug') transition = serializers.ReadOnlyField() icon = serializers.SerializerMethodField() ...
using System; using System.Collections.Generic; namespace VulkaNet { public struct VkSpecializationMapEntry { public int ConstantId; public int Offset; private IntPtr size; public int Size { get { return (int)size; } set { size = (IntPtr)value; } } } public static uns...
using namespace std; namespace coela { using namespace string_utils; const double ds9_display_offset = 0.5; //================================================================================ template<class coord_type> ImageGrid<coord_type>::ImageGrid(const RectangularRegion<coord_type> region_init, ...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using AutoMapper; using SOURCE.Domaine; using SOURCE.EspaceCandidature.Web.ViewModels.ViewModels; using SOURCE.Domaine.Composite; using SOURCE.Domaine.Results; using CommonViewModel = SOURCE.EspaceCandidature.Web.ViewModels.Pages.Comm...
MESSAGE = "I am covered in bees!"
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("va...
from __future__ import absolute_import, division, print_function from collections import Iterator from itertools import chain import operator import uuid from toolz import merge, unique, curry, first from .utils import concrete, funcname, methodcaller from . import base from .compatibility import apply from . import...
'''Copyright [2020] [Raswanth] Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software ...
/*! * Web Experience Toolkit (WET) / Boîte à outils de l'expérience Web (BOEW) * wet-boew.github.io/wet-boew/License-en.html / wet-boew.github.io/wet-boew/Licence-fr.html * v4.0.21-development - 2016-03-09 * */!function(a,b){"use strict";b.doc.on("click vclick","#update-progress",function(){var b=a("#updateTest"),...
package org.apache.flink.table.functions.hive; import org.apache.flink.table.api.DataTypes; import org.apache.flink.table.catalog.hive.client.HiveShimLoader; import org.apache.flink.table.types.DataType; import org.apache.hadoop.hive.ql.udf.generic.GenericUDAFCount; import org.apache.hadoop.hive.ql.udf.generic.Gene...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>equations: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.c...
namespace avatar { namespace opengl_utils { struct ObjectData { std::vector<QVector3D> vertices; std::vector<QVector2D> uvs; }; void deserializeObjectData(QString const & fileName, ObjectData & data); } }
namespace gpu { namespace gles2 { namespace { // Given a variable name | a[0].b.c[0] |, return |a|. std::string GetTopVariableName(const std::string& fullname) { size_t pos = fullname.find_first_of("[."); if (pos == std::string::npos) return fullname; return fullname.substr(0, pos); } } // namespace anony...
<!doctype html> <!-- Copyright 2016 Google Inc. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at https://www.apache.org/licenses/LICENSE-2.0 Unless required by app...
ACCEPTED #### According to The Catalogue of Life, 3rd January 2011 #### Published in null #### Original name null ### Remarks null
#include "DeleteNode.h" #include<lang/log/LogLevel.h> #include <commonlib/commonlib.h> #include "../expr/xpath/XPathAccessNode.h" namespace IAS { namespace Lang { namespace Model { namespace Stmt { /*************************************************************************/ DeleteNode::DeleteNode(Expr::XPath::XPath...
<?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>test-...
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head><title>R: Seamless R and C++ Integration</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <link rel="stylesheet" type="text/css" hr...
<?xml version="1.0" encoding="utf-8"?> <alpha xmlns:android="http://schemas.android.com/apk/res/android" android:fromAlpha="1.0" android:toAlpha="0.0" android:duration="100"> </alpha>
#include "jsonparser/reporter.hpp" using namespace jippi; field * ReporterFieldParser::parse(Json::Value& fieldJsonDocument) { reporter *reporterInfo = new reporter; reporterInfo->id = fieldJsonDocument["id"].asString(); reporterInfo->self = fieldJsonDocument["self"].asString(); reporterInfo->n...
declare var automapper: AutoMapperJs.AutoMapper;
package be.appfoundry.nfclibrary.utilities.sync; import android.content.Intent; import android.nfc.FormatException; import android.nfc.NfcAdapter; import android.nfc.Tag; import android.test.AndroidTestCase; import be.appfoundry.nfclibrary.constants.NfcPayloadHeader; import be.appfoundry.nfclibrary.exceptions.Insuf...
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="StemSeriesExamples.cs" company="OxyPlot"> // Copyright (c) 2014 OxyPlot contributors // </copyright> // <summary> // Provides examples for the <see cref="StemSeries" />. ...
#region S# License #endregion S# License namespace StockSharp.Algo.Indicators { using System; using System.ComponentModel; /// <summary> /// Senkou Span A line. /// </summary> public class IchimokuSenkouALine : LengthIndicator<decimal> { /// <summary> /// Initializes a new instance of the <see cref="Ichimo...
/** * Created by byron on 06/04/2015. * * Main app module */ 'use strict'; var potFlickr = angular.module('potFlickr', [ 'ngRoute', 'ngResource', 'ngSanitize', 'potFlickr.BackImage', 'potFlickr.CustomAnchor', 'potFlickr.AuthorFilter', 'potFlickr.HomeView', 'potFlickr.DetailView' ...
//https://github.com/jhuenges/highcharts-demo/blob/master/client/demos/gaugeReactiveDemo.js function buildoaWeightReactive() { var data = new Array(); data[0] = 0; var weight = Session.get('overallAvgWeight') console.log(); if(Session.get("overallAvgWeight") !== undefined) data[0] = M...
// Custom reveal.js integration (function(){ var isEnabled = true; document.querySelector( '.reveal' ).addEventListener( 'mousedown', function( event ) { var modifier = ( Reveal.getConfig().zoomKey ? Reveal.getConfig().zoomKey : 'alt' ) + 'Key'; if( event[ modifier ] && isEnabled ) { event.preventDefault(); ...
{% extends "../admin.html" %} {% block page_title %} Review licence {{ pData.LicenceSerialNo }} - GOV.UK {% endblock %} {% block content %} <main id="content" role="main"> {% from "custom_inc/waterdata.html" import permits %} {% for pNumber, pData in permits %} {% if pNumber==chosenPermitID %} <!-- intern...
module.exports = function() { return this.properties({ urls: { google: "www.google.com", apple: "www.apple.com" } }); };
require 'erb' require 'set' require 'enumerator' require 'stringio' require 'rbconfig' require 'uri' require 'thread' require 'pathname' require 'sass/root' require 'sass/util/subset_map' module Sass # A module containing various useful functions. module Util extend self # An array of ints representing t...
import i18n from '../i18n' import sound from '../sound' import settings from '../settings' import * as throttle from 'lodash/throttle' import { getChallenges } from '../xhr' import { Challenge, ChallengesData, isTimeControlClock, isTimeControlCorrespondence } from '../lichess/interfaces/challenge' let incoming: Array<...
using System; using FP.DevSpace2016.PicFlow.Contracts.FileHandler; using FP.DevSpace2016.PicFlow.Contracts.Messages; using FP.DevSpace2016.PicFlow.WebApp.Models; using Nancy; using Nancy.ModelBinding; namespace FP.DevSpace2016.PicFlow.WebApp.Modules { public class ImageModule : NancyModule { public I...
EditorFrame::EditorFrame(NamedObject *owner, nanogui::Widget *parent, const std::string nam, LinkableProperty *lp) : nanogui::Widget(parent), EditorWidget(owner, "FRAME", nam, this, lp) { } bool EditorFrame::mouseButtonEvent(const nanogui::Vector2i &p, int button, bool down, int modifiers) { using namespace nano...
var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; /* Tabulator v4.8.4 (c) Oliver Folkerd */ var Aj...
<!DOCTYPE html> <html> <head> <meta charset=utf-8 /> <title>Sistema Estad&iacute;stico de Contraste de Hip&oacute;tesis</title> <!-- <link rel="stylesheet" type="text/css" media="screen" href="css/master.css" /> --> <link type="text/css" href="css/ui-lightness/jquery-ui-1.8.19.custom.css" rel="stylesheet" /> ...
// Copyright (c) 2011 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/ui/views/tabs/browser_tab_strip_controller.h" #include "base/auto_reset.h" #include "base/command_line.h" #include "chrome/b...
using System; using Azure.Communication.JobRouter.Models; using Azure.Core; namespace Azure.Communication.JobRouter { /// <summary> The Communication Services error. </summary> internal partial class CommunicationErrorResponse { /// <summary> Initializes a new instance of CommunicationErrorResponse...
Traceroute on a map using Node.js, Express, socket.io and Leaflet. Geolocation data retrieval by [geoip](https://github.com/zulhilmizainuddin/geoip-webservice) web service. Supports Linux and Windows. http://georoute.tech ## Getting Started Install Node.js v6.2.2 or above. Install bower: npm install -g bower ...
package io.kimo.faker.ui.fragment; import android.view.View; import android.widget.TextView; import android.widget.Toast; import io.kimo.faker.R; import io.kimo.faker.mvp.BaseView; import io.kimo.faker.mvp.presenter.NumberPresenter; import io.kimo.faker.mvp.view.NumberView; public class NumberFragment extends BaseVi...
package com.btmatthews.maven.plugins.ldap.apache; import com.btmatthews.utils.monitor.Server; import com.btmatthews.utils.monitor.ServerFactory; /** * Factory that creates instances of {@link ApacheDSServer}. * * @author <a href="mailto:brian@btmatthews.com">Brian Matthews</a> * @since 1.1.0 */ public class Ap...
 // Module dependencies. var azureutil = require('../../../util/util'); var Constants = require('../../../util/constants'); var TableConstants = Constants.TableConstants; // Expose 'QueryTablesResultContinuation'. exports = module.exports = QueryTablesResultContinuation; /** * Creates a new QueryTablesResultContin...
layout: post title: V3GA Genesis tags: v3ga --- *This is part of the [V3GA Project][v3ga-overview].* ## What's in a name? I haven't posted here in a while, but rest assured that I've still been mulling over the various details of the project in the mean time. The most obvious thing that I've changed is the name. I w...
// // CollectionSortDetailViewController.m // Cooker // // Created by 叶旺 on 16/4/19. // Copyright © 2016年 class17. All rights reserved. // #import "CollectionSortDetailViewController.h" #import "CollectionSortDetailModel.h" #import "CollectionSortDetailModelCell.h" #import "CollectionSortDetailReusableView.h" #imp...
namespace States { enum State { STATE_NONE, STATE_INSTRUCTION_SPECIFIED, STATE_OPERAND1_SPECIFIED, STATE_LEA_DATA, STATE_LEA_INTERNAL }; }; namespace ProgramLineFlags { enum ProgramLineFlag { NO_FLAGS, OPERAND1_DEREFERENCE_REGISTER = 1, OPERAND2_DEREFERENCE_REGISTER = 2, OPERAND1_DEREFERENCE_HE...
package com.rtg.jmx; import java.io.IOException; import junit.framework.TestCase; /** */ public class RecordStatsTest extends TestCase { private static final String LS = System.lineSeparator(); public void test() throws IOException { final StringBuffer sb = new StringBuffer(); final RecordStats ds = ...
namespace { class CastTransportHostFilterTest : public testing::Test { public: CastTransportHostFilterTest() : task_environment_(content::BrowserTaskEnvironment::IO_MAINLOOP) { filter_ = new cast::CastTransportHostFilter(); static_cast<cast::CastTransportHostFilter*>(filter_.get()) ->Initializ...
'use strict'; var app = app || {}; page('/', app.homeController.setNavMenu); page('/about', app.aboutController.setNavMenu); page('/skills', app.skillController.setNavMenu); page('/projects', app.projectController.setNavMenu); page('/repos', app.repoController.loadRepos); page();
package cz.pfreiberg.knparser.parser; import cz.pfreiberg.knparser.domain.nemovitosti.RZpochr; import cz.pfreiberg.knparser.util.VfkUtil; public class RZpochrParser { public static RZpochr parse(String tokens[]) { int i = 0; RZpochr rZpochr = new RZpochr(); rZpochr.setId(VfkUtil.getLong(tokens, i+...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="en"> <head> <!-- Generated by javadoc (10.0.1) on Sat Aug 25 21:14:23 PDT 2018 --> <title>E-Index</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta name="da...
package com.hazelcast.client.config; import com.hazelcast.client.util.RandomLB; import com.hazelcast.client.util.RoundRobinLB; import com.hazelcast.config.CredentialsFactoryConfig; import com.hazelcast.config.EvictionPolicy; import com.hazelcast.config.InMemoryFormat; import com.hazelcast.config.InstanceTrackingConf...
using System; using System.Diagnostics; using System.Linq; using Microsoft.VisualStudio.TestTools.UnitTesting; using NeuralLogic; using NeuralLogic.Genetics; namespace NeuralLogicTest { [TestClass] public class FloatRecombinationTest { [TestMethod] public void TestThatResultIsCloseToParent...
package edu.ucsc.dbtune.metadata.extraction; import java.sql.Connection; import java.sql.DatabaseMetaData; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; import java.util.HashMap; import java.util.Map; import edu.ucsc.dbtune.metadata.Catalog; import edu.ucsc.dbtune.metadata.Column...
package org.apache.lucene.search; import org.apache.lucene.util.LuceneTestCase; import org.apache.lucene.analysis.SimpleAnalyzer; import org.apache.lucene.document.Document; import org.apache.lucene.document.Field; import org.apache.lucene.index.IndexReader; import org.apache.lucene.index.IndexWriter; import org.apa...
<!doctype html> <html lang="en"> <head> <title>Code coverage report for dist/</title> <meta charset="utf-8" /> <link rel="stylesheet" href="../prettify.css" /> <link rel="stylesheet" href="../base.css" /> <meta name="viewport" content="width=device-width, initial-scale=1"> <style type='text/css'...
from flask import request, g, jsonify from flask_cors import cross_origin from alerta.app.auth.utils import permission from alerta.app.models.alert import Alert from alerta.app.utils.api import process_alert, add_remote_ip from alerta.app.exceptions import ApiError, RejectException from . import webhooks def parse_...
import { models } from '@r/api-client'; const { Preferences } = models; import * as loginActions from 'app/actions/login'; import * as preferenceActions from 'app/actions/preferences'; // state will be an instance of the Preferences object so we can call // .set on it, even if the user isn't logged in or the request ...
<!doctype html> <html> <head> <title>Etude - 02-19-2014</title> <link href='http://fonts.googleapis.com/css?family=Exo+2:400,800,800italic|Goudy+Bookletter+1911' rel='stylesheet' type='text/css'> <link rel="stylesheet" href="../css/global.css"> <style type="text/css"> * { -webkit-box-sizing:...
/* Composer */ Mailpile.Composer = {}; Mailpile.Composer.Drafts = {}; Mailpile.Composer.Crypto = {}; Mailpile.Composer.Recipients = {}; Mailpile.Composer.Tooltips = {}; Mailpile.Composer.Body = {}; Mailpile.Composer.Attachments = {}; /* Composer - Create new instance of composer */ Mailpile.Composer.init = function(mi...
extern crate failure; extern crate pulldown_cmark as pulldown; extern crate reqwest; extern crate structopt; #[macro_use] extern crate structopt_derive; use std::fs::File; use pulldown::{Event, Parser, Tag}; use std::io::Read; use failure::{Error, ResultExt}; use structopt::StructOpt; #[derive(StructOpt, Debug)] stru...
package hello; import java.util.concurrent.atomic.AtomicLong; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestParam; import org.springframework.web.bind.annotation.RestController; @RestController public class GreetingController { private static f...
<Record> <Term>Benign Familial Pemphigus</Term> <SemanticType>Disease or Syndrome</SemanticType> <ParentTerm>Skin Diseases, Genetic</ParentTerm> <ParentTerm>Skin Diseases, Vesiculobullous</ParentTerm> <ClassificationPath>Congenital, Hereditary, and Neonatal Diseases and Abnormalities/Genetic Diseases, Inborn/Skin ...
enum class Rank { HighCard, OnePair, TwoPairs, ThreeOfKind, Straight, Flush, FullHouse, FourOfKind, StraightFlush, RoyalFlush }; enum class CardValue { Two, Three, Four, Five, Six, Seven, Eight, Nine, Ten, Jack, Queen, King, Ace }; enum class CardSuit { Hearts, Spades...
/*global angular, jQuery*/ (function ($) { angular .module('simplAdmin.cms') .controller('SpaceBarWidgetFormCtrl', ['$state', '$stateParams', 'spacebarWidgetService', 'translateService', SpaceBarWidgetFormCtrl]); function SpaceBarWidgetFormCtrl($state, $stateParams, spacebarWidgetService, tran...
<?xml version="1.0" encoding="utf-8"?> <selector xmlns:android="http://schemas.android.com/apk/res/android"> <item android:color="@color/primary" android:state_selected="true"/> <item android:color="@color/text_gray"/> </selector>
# ifndef LOCALE_IMPL_H # define LOCALE_IMPL_H #include <clocale> // C locale header file. #include <vector> #include <string> #include <stl/_locale.h> #include "c_locale.h" _STLP_BEGIN_NAMESPACE //---------------------------------------------------------------------- // Class _Locale_i...
from __future__ import print_function import argparse import hashlib import os import sys import traceback try: from urllib.parse import urlparse except ImportError: from urlparse import urlparse from bloom.logging import debug from bloom.logging import error from bloom.logging import info from bloom.logging...
package org.everit.authnr.qdsl.util.ri; import java.util.Objects; import org.everit.authentication.context.AuthenticationContext; import org.everit.authnr.qdsl.util.AuthnrQdslUtil; import org.everit.authorization.qdsl.util.AuthorizationQdslUtil; import com.querydsl.core.types.Expression; import com.querydsl.core.ty...
import typeProcessorFactory from '../src/lib/typeProcessorFactory.js'; import chai from 'chai'; const assert = chai.assert; describe('TypeProcessorFactory', function() { it('Should work for a valid type', function() { let ProcessorType = typeProcessorFactory.getProcessorType('int'); assert.ok(Proce...
require "skink/version" module Skink class ConfigurationError < RuntimeError; end end
namespace ui { extern const char kSamplePakContentsV4[]; extern const size_t kSamplePakSizeV4; extern const char kSampleCompressPakContentsV5[]; extern const size_t kSampleCompressPakSizeV5; extern const char kSampleCompressScaledPakContents[]; extern const size_t kSampleCompressScaledPakSize; extern const char kSampl...
namespace Rayon { class Config { public: Config(); void init(int ac, char** av); bool handleStoppingArgs() const; private: boost::program_options::options_description _description; boost::program_options::variables_map _variables; private: RAYON_GENERATE_PROPERTY_DECLARATION(...
<?php namespace Core\Http; /** * Description of Response * * @author softdream */ class Response extends \Phalcon\Http\Response { //put your code here public function redirect($locationPath = null, $baseUrl = null, $statusCode = null) { if($statusCode){ $this->setStatusHeader($code); ...
App.module("HeaderApp.Show", function (Show, App, Backbone, Marionette, $, _) { Show.Controller = App.Controllers.Base.extend({ initialize: function () { this.layoutView = this.getLayoutView(); this.listenTo(this.layoutView, 'show', this.onShowRegions); this.show(this.lay...
set -e DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )/.." DIRS="$DIR/parser $DIR/engine $DIR/macro $DIR $DIR/gen/build $DIR/integration-tests $DIR/gen/cmd" for CRATE in $DIRS; do pushd $CRATE echo "Publish: $CRATE" cargo publish popd sleep 30 # sometimes crates.io takes a moment, an...
/* * Author: Julian Sniffen * Description: * This file contains the cost class. */ #ifndef COST_H #define COST_H class Cost{ public: char dir; double cost; bool min; }; #endif
#include <libsolidity/InterfaceHandler.h> #include <libsolidity/AST.h> #include <libsolidity/CompilerStack.h> using namespace std; namespace dev { namespace solidity { /* -- public -- */ InterfaceHandler::InterfaceHandler() { m_lastTag = DocTagType::None; } std::unique_ptr<std::string> InterfaceHandler::getDocume...
<?xml version="1.0" encoding="UTF-8"?> <sem:triples uri="http://www.lds.org/vrl/publications-and-documents/ces-and-scriptures/proverbs-book-of-the-old-testament" xmlns:sem="http://marklogic.com/semantics"> <sem:triple> <sem:subject>http://www.lds.org/vrl/publications-and-documents/ces-and-scriptures/proverbs-book...
require("xhr"); var xhrAddEventListenerOrig = XMLHttpRequest.prototype.addEventListener; XMLHttpRequest.prototype.addEventListener = function(eventName, callback) { if (eventName === "readystatechange") { this.onreadystatechange = callback; } else if (eventName === "progress") { this.onprogress = callback;...
package ca.antonious.habittracker.models; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Calendar; import java.util.Date; import java.util.List; import java.util.UUID; import ca.antonious.habittracker.utils.DateUtils; import ca.antonious.habittracker.utils.Utils; /** * Created by Ge...
import math import threading import random import itertools import sys import os class Factory(): def __init__(self,input_dim,output_dim,head_start): self.input = self.rbl(input_dim) self.target = self.rbl(output_dim) self.output = [] self.head_start = head_start self.best = (0,1) self.best_depth = 0 ...
namespace Poco { class AbstractTimerCallback; class ThreadPool; class Foundation_API Timer: protected Runnable /// This class implements a thread-based timer. /// A timer starts a thread that first waits for a given start interval. /// Once that interval expires, the timer callback is called repeatedly /// in t...
#pragma hdrstop #endif #if wxUSE_FFILE #ifndef WX_PRECOMP #include "wx/intl.h" #include "wx/log.h" #endif #ifdef __WINDOWS__ #include "wx/msw/mslu.h" #endif #include "wx/ffile.h" // ============================================================================ // implementation // =========================...
<!-- HTML header for doxygen 1.8.6--> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" conte...
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>Struct median</title> <link rel="stylesheet" href="../../../../../../../doc/src/boostbook.css" type="text/css"> <meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> <link rel="home" href="../../../index.html" title=...
'use strict'; var should = require('should'); //jshint ignore:line var soften = require('../lib/index'); var gulpMock = {}; var task = null; gulpMock.task = function(name, deps, func) { task = func; }; var configMock = { soften: ['**/*.js', '**/*.json', '!./node_modules/**', '!./docs/**'] }; soften(gulpMock, ...
%-------------------------------------------------------------------------- % PMA_STRUCT_Sort.m % Optionally sort the labels before expanding the structured components %-------------------------------------------------------------------------- % %-------------------------------------------------------------------------...
<section data-ng-controller="ArticlesController" data-ng-init="find()"> <div class="page-header"> <h1>Articles</h1> </div> <div class="list-group"> <a data-ng-repeat="article in articles" data-ui-sref="articles.edit({articleId: article._id})" class="list-group-item"> <small class="list-group-item-te...
package net.sourceforge.safr.core.provider.support; import net.sourceforge.safr.core.invocation.MethodInvocation; import net.sourceforge.safr.core.invocation.ProceedingInvocation; import net.sourceforge.safr.core.provider.AccessManager; public class NoopAccessManager implements AccessManager { public void checkC...
TAG=$1 if [ -z $TAG ]; then echo "Usage: build.sh <tag>" exit; fi if [ -e dist/$TAG ]; then echo "rm -r dist/$TAG if you want to re-build" exit; fi if ! [[ $TAG =~ ^v[0-9]+\.[0-9]+\.[0-9]+(-dev.*)?$ ]]; then echo "Tag must be in the form of v0.6.4" exit; fi echo "--- BUILDING mapbox.js $TAG ...
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. using Microsoft.Data.Edm; namespace System.Web.Http.OData.Builder { /// <summary> /// Allows configuration to be performed for a complex type in a model. A ComplexTypeConfigura...
template<typename T, typename U> struct pair { }; template<typename ...Types> struct tuple { }; template<typename T, typename U> struct is_same { static const bool value = false; }; template<typename T> struct is_same<T, T> { static const bool value = true; }; namespace ExpandIntoFixed { templa...
from . import math
<?php namespace CoreProc\JuanNJuan\Http\Controllers; class WelcomeController extends Controller { /* |-------------------------------------------------------------------------- | Welcome Controller |-------------------------------------------------------------------------- | | This controller renders the "marke...
/*! * Appcelerator Redux v8.3 by Dawson Toth * http://tothsolutions.com/ * * NO WARRANTY EXPRESSED OR IMPLIED. USE AT YOUR OWN RISK. */ /** * Provide a central context for dealing with elements and configuring redux. */ var redux = function (selector) { return new redux.fn.init(selector); }; (func...
'use strict'; angular.module('tiimspotApp') .config(function ($stateProvider) { $stateProvider .state('settings', { parent: 'account', url: '/settings', data: { authorities: ['ROLE_USER'], pageTitle: 'global...