text
stringlengths
3
1.05M
import { HTTP } from 'meteor/http'; import { _ } from 'meteor/underscore'; import { Forms } from '../../forms/Forms.js'; import { APIThrottler } from './APIThrottler'; const regExps = { regulamentLink : new RegExp('regulament_','ig'), formularRecomandareLink : new RegExp('recomandare_','ig'), adeverintaLink : new R...
/** * returns the minimum element of array of numbers * @module order-statistics/Min * @type {Function} * @param {Array} list list of Numbers * @returns {Number} minimum Number */ module.exports = (list) => Math.min(...list)
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Mercy</title> <link rel="stylesheet" href="heroes.css"> </head> <body id="body"> <div> <!-- Header with link to homepage --> </div> <div> <!-- Background Image Start --> <div class="heroimages"> <!-- Top Start --> <div> ...
'use strict'; const authentication = require('./authentication'); const routes = require('./routes'); module.exports = { authentication, routes };
SYNONYM #### According to The Catalogue of Life, 3rd January 2011 #### Published in Docums Mycol. 22(no. 88): 27 (1993) #### Original name Lepiota langei Locq., 1945 ### Remarks null
<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/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>de.jpaw.bonaparte-dsl</groupId> <art...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--NewPage--> <HTML> <HEAD> <!-- Generated by javadoc (build 1.6.0_45) on Thu Oct 13 19:29:18 UTC 2016 --> <META http-equiv="Content-Type" content="text/html; charset=UTF-8"> <TITLE> Uses of Package liquibase.seriali...
#ifndef DBUS_PYTHON_H #define DBUS_PYTHON_H #include <Python.h> #include <dbus/dbus.h> #if PY_MAJOR_VERSION >= 3 #define PY3 #define PYDBUS_CAPSULE_NAME "_dbus_bindings._C_API" #endif DBUS_BEGIN_DECLS typedef void (*_dbus_py_func_ptr)(void); typedef dbus_bool_t (*_dbus_py_conn_setup_func)(DBusConnection *, void ...
package com.intellij.ide.ui; import com.intellij.ide.IdeBundle; import com.intellij.ide.ui.laf.darcula.DarculaInstaller; import com.intellij.openapi.editor.ex.util.EditorUtil; import com.intellij.openapi.options.BaseConfigurable; import com.intellij.openapi.options.SearchableConfigurable; import com.intellij.openapi....
#ifdef FLAC_MUSIC #include "SDL_loadso.h" #include "SDL_mixer.h" #include "dynamic_flac.h" flac_loader flac = { 0, NULL }; #ifdef FLAC_DYNAMIC int Mix_InitFLAC() { if ( flac.loaded == 0 ) { flac.handle = SDL_LoadObject(FLAC_DYNAMIC); if ( flac.handle == NULL ) { return -1; ...
using UnityEngine; public class CameraController : MonoBehaviour { public Transform player; [SerializeField] private float zoomSpeed = 3f; private Vector3 distanceToPlayer; private void Start() { Camera.main.transform.LookAt(player.position + Vector3.up); distanceToPlayer = transform.position - player.pos...
var getoldblocked = function() { var recs = Meteor.http.call('GET','http://oabutton.cottagelabs.com/query/blocked/_search?q=*&size=10000').data; //var urlemails = {}; var userlocs = {}; var recs_keys_fixed = []; for ( var i in recs.hits.hits ) { var rec = recs.hits.hits[i]._source; if (rec.metadata ==...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="description" content="para projetos e negocios"> <meta name="author" content="formiga"> <title>...
layout: tools title: Nitrous.io link: https://t.co/JRdNbnPwyr --- **Edit: Nitrous rolled out a major upgrade that is too slow and unreliable for serious use. I now recommend Cloud9 over Nitrous.** Nitrous is an online coding environment and IDE that works in any browser. I use in in my chromebook to make this site...
layout: page author: Hugo Nguyen title: Work is Timeless, Stake is Not link: https://medium.com/@hugonguyen/work-is-timeless-stake-is-not-554c4450ce18 category: Proof-of-work date: Oct 12, 2018 lesson: 17 ---
<?php namespace MComponent\WX\SWA\WeChat\OpenPlatform; use MComponent\WX\SWA\WeChat\Core\Exceptions\InvalidArgumentException; use MComponent\WX\SWA\WeChat\Server\Guard as ServerGuard; use MComponent\WX\SWA\WeChat\Support\Collection; use Pimple\Container; use Slim\Http\Request; use Slim\Http\Response; class Guard exte...
import logging import time from .util import save logger = logging.getLogger(__name__) class Saver: def __init__(self): self.last_saving_time = time.perf_counter() def save(self, trials, params, config, force=False): now = time.perf_counter() path = config.get("path", None) ...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>pts: Not compatible</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css" rel="...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <title>Editor</title> <style type="text/css" media="screen"> body { overflow: hidden; } #editor { margin: 0; position: absolute; top: 0;...
using namespace swift; using namespace rewriting; /// Dumps the rewrite step that was applied to \p term. Mutates \p term to /// reflect the application of the rule. void RewriteStep::dump(llvm::raw_ostream &out, RewritePathEvaluator &evaluator, const RewriteSystem &system...
import logging def etree_indent(node, level=0): """Indent an ElementTree so that it will pretty print.""" ws = '\n' + level * ' ' if len(node): node.text = ws + ' ' node.tail = ws for child in node: etree_indent(child, level+1) node[-1].tail = ws elif leve...
layout: page title: About permalink: "/about/" --- My name is Matt
 #pragma once #include <aws/lambda/Lambda_EXPORTS.h> #include <aws/core/utils/memory/stl/AWSString.h> #include <aws/lambda/model/ThrottleReason.h> #include <utility> namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace Lambda { nam...
package io.opentelemetry.resourceproviders; import static java.util.logging.Level.FINE; import static java.util.logging.Level.WARNING; import java.io.IOException; import java.io.InputStream; import java.nio.file.Files; import java.nio.file.Path; import java.util.ArrayDeque; import java.util.Deque; import java.util....
package cn.canlnac.OnlineCourseFronten.controller.test; import cn.canlnac.OnlineCourseFronten.controller.FileController; import cn.canlnac.OnlineCourseFronten.entity.*; import cn.canlnac.OnlineCourseFronten.service.*; import cn.canlnac.OnlineCourseFronten.util.ExcelReader; import cn.canlnac.OnlineCourseFronten.vo.Test...
> Add icons and context menus to the system's notification area. Process: [Main](../glossary.md#main-process) `Tray` is an [EventEmitter][event-emitter]. ```javascript const { app, Menu, Tray } = require('electron') let tray = null app.whenReady().then(() => { tray = new Tray('/path/to/my/icon') const contextMe...
import java.io.File; public class Solution { public static void main(String[] args) { //String[ ] files; //String[ ] nodes; // Creating objects for input files File files = new File("data" + File.pathSeparator + "address.dat"); File nodes = new File("data" + File.pathSeparator + "address.dat"); ...
<?php /* Smarty version 3.1.30, created on 2016-11-06 21:06:39 from "/home/ubuntu/workspace/codeigniter/application/views/templates/example.tpl" */ /* @var Smarty_Internal_Template $_smarty_tpl */ if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array ( 'version' => '3.1.30', 'unifunc' => 'content_581f9b5f25958...
SYNONYM #### According to The Catalogue of Life, 3rd January 2011 #### Published in null #### Original name null ### Remarks null
from __future__ import print_function from __future__ import unicode_literals from __future__ import division from __future__ import absolute_import # testClasses.py # -------------- # Licensing Information: Please do not distribute or publish solutions to this # project. You are free to use and extend these projects f...
typedef enum D3D10_SB_TOKENIZED_PROGRAM_TYPE { D3D10_SB_PIXEL_SHADER = 0, D3D10_SB_VERTEX_SHADER = 1, D3D10_SB_GEOMETRY_SHADER = 2, // D3D11 Shaders D3D11_SB_HULL_SHADER = 3, D3D11_SB_DOMAIN_SHADER = 4, D3D11_SB_COMPUTE_SHADER ...
class Builder(): def reset(self): pass def set_url(self, url): pass def set_name(self, name): pass def set_hyperlinks(self, hyperlinks): pass def set_text(self, text): pass def set_tittle(self, tittle): pass def se...
<?xml version="1.0" encoding="UTF-8"?> <project version="4"> <component name="ChangeListManager"> <list default="true" id="b0268e19-6faf-4819-b1f4-0de9f0b0806a" name="Default" comment="" /> <ignored path="RoyalOakCommunitySchool.iws" /> <ignored path=".idea/workspace.xml" /> <ignored path="$PROJECT_DI...
package examples; import static java.lang.Math.PI; import static java.lang.Math.abs; import static java.lang.Math.exp; import static java.lang.Math.pow; import static java.lang.Math.sin; import static java.lang.Math.sqrt; import java.util.ArrayList; import ro.jgal.Chromosome; import ro.jgal.Consts; import ro.jgal.Cr...
class EOLBase < ActiveRecord::Base self.abstract_class = true establish_connection(:eol) end
import React from 'react'; import PropTypes from 'prop-types'; import { connect } from 'react-redux'; import { getConcludedIssuesExceptLatest } from 'features/issue/selectors'; import { concludedIssueListIsEnabled } from 'features/userSettings/selectors'; import ConcludedIssue from '../ConcludedIssue'; import css from ...
<phpunit backupGlobals="false" backupStaticAttributes="false" bootstrap="bootstrap.php" colors="true" convertErrorsToExceptions="true" convertNoticesToExceptions="true" convertWarningsToExceptions="true" processIsolation="false" stopOnFailure="false" syntaxCheck="false"> <testsuites> <testsuite name="Dieg0v...
#include "GrSoftwarePathRenderer.h" #include "GrContext.h" #include "GrSWMaskHelper.h" #include "GrVertexBuffer.h" //////////////////////////////////////////////////////////////////////////////// bool GrSoftwarePathRenderer::canDrawPath(const GrDrawTarget*, const GrPipelineB...
<?php /** * Search Customer Model * * @category Mage * @package Mage_Adminhtml * @author Magento Core Team <core@magentocommerce.com> */ class Mage_Adminhtml_Model_Search_Customer extends Varien_Object { /** * Load search results * * @return Mage_Adminhtml_Model_Search_Customer ...
namespace Pomdog { namespace Detail { namespace Skeletal2D { AnimationClipNode::AnimationClipNode(std::shared_ptr<AnimationClip> const& animationClipIn) : clip(animationClipIn) {} //----------------------------------------------------------------------- AnimationTimeInterval AnimationClipNode::Length() const { ...
#include "config.h" #ifndef lint static const char sccsid[] = "@(#)cl_screen.c 10.49 (Berkeley) 9/24/96"; #endif /* not lint */ #include <sys/types.h> #include <sys/queue.h> #include <bitstring.h> #include <curses.h> #include <errno.h> #include <signal.h> #include <stdio.h> #include <stdlib.h> #include <string.h> ...
#pragma once #include <functional> #include "tscore/Diags.h" #include "I_RecDefs.h" #include "I_RecAlarms.h" #include "I_RecSignals.h" #include "I_RecEvents.h" #include "tscpp/util/MemSpan.h" struct RecRecord; //------------------------------------------------------------------------- // Diagnostic Output //----...
package com.dubture.composer.ui.pex; import org.eclipse.core.runtime.IPath; import org.eclipse.dltk.core.IScriptFolder; import org.pdtextensions.core.ui.extension.INamespaceResolver; import com.dubture.composer.core.ComposerPlugin; import com.dubture.composer.core.resources.IComposerProject; public class NamespaceRe...
 #pragma once #include <aws/apigateway/APIGateway_EXPORTS.h> #include <aws/apigateway/APIGatewayRequest.h> #include <aws/core/utils/memory/stl/AWSString.h> #include <utility> namespace Aws { namespace APIGateway { namespace Model { /** * <p>A request to delete the ClientCertificate resource.</p><p><h3>See Also...
class CreateNat < ActiveRecord::Migration def self.up create_table :nat, :id => false do |t| t.integer :sticky t.integer :port t.integer :proto t.string :hostname, :limit => '256' end add_index :nat, [ :port, :proto, :hostname ], :unique => false, :name => 'nat_map_port_proto' e...
require 'representable/json' class SongRepresenter < Representable::Decorator include Representable::JSON property :title property :track collection :composers end
<?php namespace Oro\Bundle\FilterBundle\Filter; class FilterUtility { const CONDITION_OR = 'OR'; const CONDITION_AND = 'AND'; const CONDITION_KEY = 'filter_condition'; const BY_HAVING_KEY = 'filter_by_having'; const ENABLED_KEY = 'enabled'; const TYPE_KEY = 'type'; ...
#include "GNMTBench.h" std::unique_ptr<InferBenGNMTBench::Results> InferBenGNMTBench::Run(std::shared_ptr<GNMTModel> model, uint32_t batch_size, std::shared_ptr<GNMTExtraResources> extraResources, double seconds) { std::vector<std::shared_ptr<GNMTModel>> models = {model}; ...
<?php namespace AppBundle\DataFixtures\ORM; use AppBundle\DataFixtures\Helper\FixtureHelper; use AppBundle\Entity\OrderProduct; use AppBundle\Entity\Product; use Doctrine\Common\Persistence\ObjectManager; class OrderProductFixtures extends FixtureHelper { public function load(ObjectManager $manager) { ...
@interface Behavior(BlowingGrass) -(CCAction *) windyGrass: (NSDictionary *) params; @end
layout: page title: Predictability in Speech and brain. description: a project with a background image img: /assets/img/12.jpg importance: 1 category: work --- Every project has a beautiful feature showcase page. It's easy to include images in a flexible 3-column grid format. Make your photos 1/3, 2/3, or full width. ...
import { useEffect } from 'react'; import { graphql, requestSubscription } from 'react-relay'; import { useAppContext } from '@app/hooks/useAppContext'; const subscription = graphql` subscription useViewerAccessibleTadaUpdatedSubscription { viewerAccessibleTadaUpdated { node { id name ...
(function($){ var cache = {}; var tmpl = function tmpl(str, data){ // Figure out if we're getting a template, or if we need to // load the template - and be sure to cache the result. var fn = !/\W/.test(str) ? cache[str] = cache[str] || tmpl($("#" + str).html()) : // Generate a reusable function that wi...
.class public Lcom/sec/android/app/CscFeatureTagEmergencyMode; .super Ljava/lang/Object; .source "CscFeatureTagEmergencyMode.java" # static fields .field public static final Bool_NoTag:Z = false .field public static final Int_NoTag:I = 0x0 .field public static final Str_NoTag:Ljava/lang/String; = "" .field public ...
<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/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>org.sonatype.oss</groupId> <artifactId>oss-parent</ar...
/** * General purpose CRUD operation for MongoDB collections. * usage: * REST Operation (GET | POST | PUT | DELETE) on this URL pattern: * /:collectionName * /:collectionName/:objectId (for getById, deleteById * * @type {*|exports|module.exports} */ var express = require('express'); var crudRouter = express.R...
"use strict"; let jefferson = require("express-jefferson"); let mountie = require("express-mountie"); let path = require("path"); let drugs = require("../../middleware/drugs"); let cache = require("../../middleware/cache"); let router = jefferson.router({ proxies: [require("express-jefferson/proxies/promise-handle...
<?php namespace JoliTypo; interface LocaleAwareFixerInterface { /** * @param $locale */ public function setLocale($locale); }
<?xml version="1.0" encoding="utf-8" ?> <dds xmlns="http://www.eprosima.com/XMLSchemas/fastRTPS_Profiles"> <profiles> <transport_descriptors> <transport_descriptor> <transport_id>tcp_transport_client</transport_id> <type>TCPv4</type> </transport_descri...
ACCEPTED #### According to International Plant Names Index #### Published in null #### Original name null ### Remarks null
package com.effektif.mongo; import com.mongodb.BasicDBObject; public class Fields { protected BasicDBObject fields = new BasicDBObject(); public Fields include(String... fields) { if (fields!=null) { for (String field: fields) { this.fields.put(field, 1); } } return this; }...
<!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 (1.8.0_92) on Wed Jul 27 21:19:22 CEST 2016 --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Uses of Interface net.sourc...
var _ = require('lodash'), execSync = require('child_process').execSync; // TODO: get git command from shell var gitExec = 'git'; function Git (path) { this.path = path; } Git.prototype.clear = function () { this.files = { staged : [], unstaged: [] }; this.selected = { staged : [], ...
require 'spree_core' require 'spree_additional_taxonomy_info/engine'
from tempest_lib.api_schema.response.compute.v2_1 import parameter_types list_flavors = { 'status_code': [200], 'response_body': { 'type': 'object', 'properties': { 'flavors': { 'type': 'array', 'items': { 'type': 'object', ...
<!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 (version 1.7.0_02) on Mon Feb 16 06:15:22 CET 2015 --> <meta http-equiv="Content-Type" content="text/html" charset="utf-8"> <title>org.gradle.api.arti...
<?php namespace Kunstmaan\MultiDomainBundle\DependencyInjection; use Symfony\Component\Config\Definition\Builder\TreeBuilder; use Symfony\Component\Config\Definition\ConfigurationInterface; /** * This is the class that validates and merges configuration from your app/config files. * * To learn more see {@link htt...
'use strict'; /** * @fileoverview Login routing */ const config = require('config'); const types = require('punchcard-content-types'); const multipart = require('connect-multiparty'); const multipartMiddleware = multipart(); const bcrypt = require('bcrypt-nodejs'); const acl = require('../auth/acl'); const getUserI...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>icharate: 58 s 🏆</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css" rel="st...
<?xml version="1.0" encoding="utf-8"?> <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:id="@+id/widget_icon_root" android:layout_width="match_parent" android:layout_height="match_parent" android:gravity="center" andro...
import datetime from ..settings import * class Site(Site): project_name = 'apc' is_demo_site = True # ignore_dates_after = datetime.date(2019, 5, 22) the_demo_date = datetime.date(2015, 3, 12) default_ui = "lino.modlib.extjs" # default_ui = "lino_react.react" def get_plugin_configs(self)...
module Wombat module Service module Config class Definition < Hash def initialize(config_path = nil) @config_path = config_path super end def populate return self unless @config_path initialize_copy(JSON.parse(JSON.dump(YAML.load_file(@config_...
module Mastermind class CodePegs #set of 4 numbers 1-6, duplicates allowed def initialize end def self.create_peg_set peg_set = [] 4.times {peg_set << create_peg} peg_set end def self.create_peg rpeg = Random.new peg = rpeg.rand(1..6) peg end def self.peg_set_valid?(pegs)...
package org.pentaho.platform.dataaccess.datasource.ui.admindialog; import org.pentaho.agilebi.modeler.services.IModelerServiceAsync; import org.pentaho.gwt.widgets.client.utils.i18n.ResourceBundle; import org.pentaho.platform.dataaccess.datasource.IDatasourceInfo; import org.pentaho.platform.dataaccess.datasource.wi...
 #pragma once #include <aws/glue/Glue_EXPORTS.h> #include <aws/core/utils/memory/stl/AWSString.h> #include <aws/core/utils/memory/stl/AWSVector.h> #include <utility> namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace Glue { names...
<?xml version="1.0" encoding="utf-8"?> <!-- ~ Copyright 2016 Hippo Seven ~ ~ 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 ~ ...
var _ = require('lodash') var chalk = require('chalk') var spawn = require('child_process').spawn var getNextColorFn = (function () { var colors = [ 'green', 'yellow', 'blue', 'magenta', 'cyan', 'gray' ] var i = -1 return function () { i++ if (i >= colors.length) { i = 0 ...
/*! This crate contains a proof-of-concept implementation for the `parse-generics-and-where` RFC. It requires the `rustc` nightly from 2016-04-06. As this is a proof-of-concept compiler plugin, you should avoid using this crate *directly*. Instead, you should use the stable `parse-generics-shim` crate if possible. ...
package org.kiji.mapreduce; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertTrue; import java.io.File; import java.io.IOException; import java.util.Set; import com.google.common.base.Preconditions; import com.google.common.collect.Sets; import org.apache.commons.io.FileUtils; impo...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); /* | ------------------------------------------------------------------------- | URI ROUTING | ------------------------------------------------------------------------- | This file lets you re-map URI requests to specific controller functions. | | T...
<?php namespace SoftDeleteable\Fixture\Entity; use Gedmo\Mapping\Annotation as Gedmo; use Doctrine\ORM\Mapping as ORM; use Doctrine\Common\Collections\ArrayCollection; /** * @ORM\Entity */ class Child extends MappedSuperclass { /** * @ORM\Column(name="title", type="string") */ pri...
import java.util.Vector; /** * Acts as a factory and container for Components of all tastes. */ public class ComponentSystem{ /** * Default-CTor */ //TODO: dynamically sized containers. Either a vector or a arraylist. ComponentSystem(){ rComps = new RenderableComponent[2605]; pComps = new...
@implementation QueryShareUsers - (VIHOME_CMD)cmd { return VIHOME_CMD_QUERY_SHARE_USERS; } - (NSDictionary *)payload { if (self.uid) { [sendDic setObject:self.uid forKey:@"uid"]; } return sendDic; } @end
using System; using Xwt.Backends; using System.Windows.Controls; using System.Windows.Media; using System.Windows; using System.Windows.Markup; namespace Xwt.WPFBackend { public class ScrollViewBackend : WidgetBackend, IScrollViewBackend { private static readonly ResourceDictionary ScrollViewResourceDictionary; ...
<?xml version="1.0" encoding="utf-8"?> <ua.parus.pmo.parus8claims.gui.TextView xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/TextView" style="@style/small" android:layout_width="match_parent" android:layout_height="wrap_content" android:gravity="right" android:singl...
number: 106 date: 2018-01-29 10:00:00 title: "Tools for Thinking and Tools for Systems" authors: "Robin Rendle" tags: - Precision - Tools site: "CSS-Tricks" address: "https://css-tricks.com/tools-thinking-tools-systems/" --- Herein lies the problem: our current tools encourage me to design the finished product first...
/* -*- Mode: C++; c-basic-offset: 4; indent-tabs-mode: t; tab-width: 4 -*- */ /* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (the "License"); you may not use this file except in compliance with * the Licen...
package flarestar.bdd.assertions.matchers; import org.hamcrest.BaseMatcher; import org.hamcrest.Description; import java.util.Map; /** * TODO */ public class ContainsAllKeysMatcher extends BaseMatcher<Map<?, ?>> { private Object[] expectedKeys; private boolean checkExact; public ContainsAllKeysMatche...
import nox @nox.session(py=False, name="cheese list") @nox.parametrize("cheese", ["cheddar", "jack", "brie"]) def snack(unused_session, cheese): print("Noms, {} so good!".format(cheese))
// Copyright 2013 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. /* This file contains the code to check for useless function comparisons. A useless comparison is one like f == nil as opposed to f() == nil. */ package main ...
ACCEPTED #### According to The Catalogue of Life, 3rd January 2011 #### Published in in Wang & Chen, Mycotaxon 76: 294 (2000) #### Original name Hypotrachyna asiatica Sheng L. Wang, J. B. Chen & Elix ### Remarks null
SPPromise is a wrapper library over the [SharePoint 2010 JSOM](http://msdn.microsoft.com/fr-fr/library/hh372944(v=office.14).aspx) APIs, packaged as a jQuery plugin. The name comes from the jQuery [Promise](http://api.jquery.com/promise/) objects, which are extensively used to streamline the usage of the underlying ayn...
using System; using System.Globalization; using Semver.Test.Builders; using Semver.Test.Helpers; using Xunit; namespace Semver.Test { public class PrereleaseIdentifierTests { [Theory] [InlineData("ident", null)] [InlineData("42", 42)] [InlineData("-42", null)] ...
ACCEPTED #### According to World Register of Marine Species #### Published in null #### Original name null ### Remarks null
require 'google/container/network/get' require 'google/container/property/boolean' require 'google/container/property/cluster_name' require 'google/container/property/string' require 'google/hash_utils' require 'puppet' require 'yaml' Puppet::Type.type(:gcontainer_kube_config).provide(:google) do mk_resource_methods...
<?php function connect() { try { $con = new PDO("mysql:host=localhost;charset=utf8mb4", "cosmin", "cosmin"); $con->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); } catch (PDOExceptinon $pikatchu) { echo "Error connecting to database " . $pikachu->getMessage(); } $con->quer...
public class solution{ public int divide(int divident, int divisor){ int sign = 1; if((divident> 0 && divisor<0)||(divident<0 && divisor>0)){ sign = -1; } long ldivident = Math.abs((long)divident); long ldivisor = Math.abs((long)divisor); if(ldivisor==0) return Integer.MAX_VALUE; if(ldivident==0|| l...
class chat_server; class chat_channel; class chat_user_manager; using chat_channel_ptr = std::shared_ptr<chat_channel>; class chat_user : public std::enable_shared_from_this<chat_user> { public: //chat_user(const chat_user&) = delete; //chat_user& operator=(const chat_user&) = delete; chat_user(boost::...
layout: page title: Gamble Tech Show date: 2016-05-24 author: Jose Carson tags: weekly links, java status: published summary: Cras convallis ex turpis, at sollicitudin elit eleifend sagittis. Cras. banner: images/banner/people.jpg booking: startDate: 10/18/2019 endDate: 10/23/2019 ctyhocn: HARPAHX groupCode: GT...
/* $('head').append( '<input type="text" id="lostdate">' ); */ describe("LostForm functionality test", function() { function notAUploader(){}; var uploader = new notAUploader(); it("Alert when uploader is not valid", function() { spyOn(window,'alert'); var lostForm = new LostForm(uploader);...