text
stringlengths
3
1.05M
namespace boost { // Used as a default template argument internally, merely to // indicate "use the default", this can also be passed by users // explicitly in order to specify that the default should be used. struct use_default; # ifndef BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION // the incompleteness of us...
class Post < ActiveRecord::Base tracks :title, :body end
<?php use yii\db\Migration; use DotPlant\EntityStructure\models\Entity; use DotPlant\EntityStructure\models\StructureTranslation; class m160905_111034_dotplant_structure_add_to_entity extends Migration { public function up() { $this->addColumn( Entity::tableName(), 'tree_icon',...
<!DOCTYPE HTML> <html lang="de"> <head> <!-- Generated by javadoc (17) on Mon Sep 05 10:37:44 CEST 2022 --> <title>Uses of Class org.freedesktop.dbus.errors.Timeout (dbus-java-parent 4.2.0 API)</title> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta http-equiv="Content-Type" content="text/htm...
<!DOCTYPE html> <html> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css"> <link rel="stylesheet" href="http://chrissalam.com/languages/font-mfizz.css"> <link href='https://fonts.googleapis.com/css?family=Megrim' rel='stylesheet' type='text/css'> <link href='https:...
/* * 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 distributed under t...
namespace boost { namespace intrusive { template<class VoidPointer> struct any_node { typedef any_node node; typedef typename pointer_rebind<VoidPointer, node>::type node_ptr; typedef typename pointer_rebind<VoidPointer, const node>::type const_node_ptr; ...
cleanup() { echo echo "========== Cleanup ==========" if ! glance image-list; then return fi for image in $(glance image-list | grep -e cirros-0.3.3 -e yardstick-trusty-server -e Ubuntu-14.04 \ -e yardstick-vivid-kernel | awk '{print $2}'); do echo "Deleting image $image......
package org.knowm.xchange.gateio.service; import java.io.IOException; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.stream.Collectors; import org.knowm.xchange.Exchange; import org.knowm.xchange.currency.CurrencyPair; import org.knowm.xchange.dto.ma...
revamped portfolio website with MEAN stack This project is generated with [yo angular generator](https://github.com/yeoman/generator-angular) version 0.11.1.
(function() { less.modules["source-map"] = function() {
Backbone.Wreqr = (function(Backbone, Marionette, _){ "option strict"; var Wreqr = {}; // Handlers // -------- // A registry of functions to call, given a name Wreqr.Handlers = (function(Backbone, _){ "option strict"; // Constructor // ----------- var Handlers = function(){ ...
/** * Module requirements. */ var Transport = require('../../transport') , EventEmitter = process.EventEmitter , crypto = require('crypto') , parser = require('../../parser'); /** * Export the constructor. */ exports = module.exports = WebSocket; /** * HTTP interface constructor. Interface compatible w...
/** * @module ol/geom/flat/contains */ import { forEachCorner } from '../../extent.js'; /** * @param {Array<number>} flatCoordinates Flat coordinates. * @param {number} offset Offset. * @param {number} end End. * @param {number} stride Stride. * @param {import("../../extent.js").Extent} extent Extent. * @return...
<?php namespace JMS\SecurityExtraBundle\DependencyInjection; use Symfony\Component\HttpKernel\DependencyInjection\Extension; use Symfony\Component\Config\FileLocator; use Symfony\Component\Config\Definition\Processor; use Symfony\Component\Config\Definition\Builder\TreeBuilder; use Symfony\Component\DependencyInjec...
<!-- @license Copyright (c) 2014 The Polymer Project Authors. All rights reserved. This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt The complete set of contributors may be found at http:/...
#ifndef BERRYMESSAGETEST_H_ #define BERRYMESSAGETEST_H_ #include <berryTestCase.h> namespace berry { class MessageTest : public TestCase { public: MessageTest(const std::string& testName); static CppUnit::Test* Suite(); void TestMessage(); void TestMessageWithReturn(); void TestMessage1(); void Te...
var emg_lib = require("jsupm_emg"); // The was tested with the EMG Muscle Signal Reader Sensor Module // Instantiate a EMG on analog pin A0 var emg_obj = new emg_lib.EMG(0); console.log("Calibrating...."); emg_obj.calibrate(); var myInterval = setInterval(function() { console.log(emg_obj.value()); }, 100); // When...
// mlx_new_window.m #import <Cocoa/Cocoa.h> #import <OpenGL/gl3.h> #import <AppKit/NSOpenGLView.h> #include <stdio.h> #include "mlx_int.h" #include "mlx_new_window.h" NSOpenGLPixelFormatAttribute pfa_attrs[] = { NSOpenGLPFADepthSize, 32, NSOpenGLPFAOpenGLProfile, NSOpenGLProfileVersionLegacy, 0 };...
package android.widget.layout.frame; import android.test.ActivityInstrumentationTestCase; import android.test.suitebuilder.annotation.MediumTest; import android.test.ViewAsserts; import android.app.Activity; import android.view.View; import android.widget.layout.frame.FrameLayoutGravity; import com.android.framework...
/* crypto/x509/x509_obj.c */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * * This package is an SSL implementation written * by Eric Young (eay@cryptsoft.com). * The implementation was written so as to conform with Netscapes SSL. * * This library is free for commercial and n...
#ifndef ZEPHYR_INCLUDE_SYS_KOBJECT_H #define ZEPHYR_INCLUDE_SYS_KOBJECT_H #include <stdint.h> #include <stddef.h> #ifdef __cplusplus extern "C" { #endif struct k_thread; struct k_mutex; struct z_futex_data; /** * @brief Kernel Object Types * * This enumeration needs to be kept in sync with the lists of kernel o...
var axios = /******/ (function(modules) { // webpackBootstrap /******/ // The module cache /******/ var installedModules = {}; /******/ /******/ // The require function /******/ function __webpack_require__(moduleId) { /******/ /******/ // Check if module is in cache /******/ if(installedModules[moduleId]) /***...
<?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE xliff PUBLIC "-//XLIFF//DTD XLIFF//EN" "http://www.oasis-open.org/committees/xliff/documents/xliff.dtd" > <xliff version="1.0"> <file original="global" source-language="en" datatype="plaintext"> <header /> <body> <!-- Actions --> <trans-unit> ...
ACCEPTED #### According to International Plant Names Index #### Published in null #### Original name null ### Remarks null
const size_t OmniboxPopupModel::kNoMatch = -1; OmniboxPopupModel::OmniboxPopupModel( OmniboxPopupView* popup_view, OmniboxEditModel* edit_model) : view_(popup_view), edit_model_(edit_model), hovered_line_(kNoMatch), selected_line_(kNoMatch), selected_line_state_(NORMAL) { edit_mod...
package org.jasig.cas.console.groovy; import groovy.lang.Binding; import groovy.lang.GroovyClassLoader; import org.apache.commons.io.IOUtils; import org.codehaus.groovy.tools.shell.Groovysh; import org.codehaus.groovy.tools.shell.IO; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.io.InputStream;...
<?php class Mage_Core_Model_Mysql4_Design_Theme extends Varien_Directory_Collection { public function load() { $packages = $this->getData('themes'); if (is_null($packages)) { $packages = Mage::getModel('core/design_package')->getThemeList(); $this->setData('themes', $pa...
<!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_91) on Mon Jun 06 14:51:20 EDT 2016 --> <title>org.apache.cassandra.transport.messages Class Hierarchy (apache-cassandra API)</title> <meta nam...
/** * Module dependencies. */ var express = require('express') , stylus = require('stylus') , sio = require('socket.io') , path = require('path') , fs = require('fs'); /** * App. */ var app = express.createServer(); /** * Initial port to listen to. */ var port = 3000; /** * Transport to test with....
<?xml version="1.0" encoding="utf-8"?> <!-- links --> <!ENTITY lang 'zh'> <!ENTITY zf.manual.link 'http://framework.zend.com/manual/en/'> <!ENTITY php.manual.link 'http://www.php.net/manual/en/'> <!-- manual.xml.in --> <!ENTITY book.ti...
<?php namespace Esprit\SeminaireBundle\Tests\Controller; use Symfony\Bundle\FrameworkBundle\Test\WebTestCase; class SeminaireControllerTest extends WebTestCase { /* public function testCompleteScenario() { // Create a new client to browse the application $client = static::createClient(); ...
from __future__ import unicode_literals from django.test import SimpleTestCase from localflavor.ma.forms import MAPostalCodeField, MAProvinceField, MAProvinceSelect, MARegionField, MARegionSelect PROVINCE_SELECT_OUTPUT = ''' <select name="province"> <option value="01">01 - Al Hoceima</option> <o...
#include <linux/export.h> #include <linux/gfp.h> #include <linux/init.h> #include <linux/kernel.h> #include <linux/pci.h> #include <linux/string.h> #include <asm/pci-bridge.h> #include <asm/ppc-pci.h> /** * eeh_dev_init - Create EEH device according to OF node * @dn: device node * @data: PHB * * It will create...
package com.intellij.openapi.util; public class EmptyRunnable implements Runnable { public static final Runnable INSTANCE = new EmptyRunnable(); public static Runnable getInstance() { return INSTANCE; } @Override public void run() { } }
using System.Runtime.CompilerServices; namespace System.Html.Data.Files { [ScriptIgnoreNamespace] [ScriptImport] public sealed class FileError { private FileError() { } [ScriptField] public string Name { get { return String.Empty; }...
Linkcoin 0.8.x BETA ==================== Copyright (c) 2009-2014 Bitcoin Developers Copyright (c) 2011-2014 Linkcoin Developers Distributed under the MIT/X11 software license, see the accompanying file COPYING or http://www.opensource.org/licenses/mit-license.php. This product includes software developed by the OpenS...
package org.kkrolczyk.schowek.modules.Todos; import android.app.Activity; import android.app.AlertDialog; import android.content.DialogInterface; import android.content.Intent; import android.database.Cursor; import android.os.Bundle; import android.util.Log; import android.util.Pair; import android.view.Menu; import ...
import React from 'react' import { shallow } from 'enzyme' import Feature from '.' const wrap = (props = {}) => shallow(<Feature title="Test" {...props} />).dive() it('renders children when passed in', () => { const wrapper = wrap({ children: 'test' }) expect(wrapper.contains('test')).toBe(true) }) it('renders p...
package SanrioCharacterRanking::M::Character; use strict; use warnings; use utf8; use 5.012; use parent qw/SanrioCharacterRanking::M/; use Amon2::Declare; sub daily_votes { my ($class, $id) = @_; c()->db->search_by_sql(" SELECT TO_CHAR(statuses.created_at, 'YYYY-MM-DD') AS date, ...
#include <sys/types.h> #ifndef NULL #define NULL 0 #endif extern char *strcat(), *strncat(), *strcpy(), *strncpy(), *index(); extern char *rindex(), *strstr(), *syserrlst(); extern int strcmp(), strncmp(), strcasecmp(), strncasecmp(), strlen(); extern int memcmp(); extern char *memccpy(), *memchr(), *memcpy(), *me...
dojo.provide("dojox.date.tests.timezoneFormatting"); dojo.require("dojox.date.timezone"); dojo.require("dojo.date"); tests.register("dojox.date.tests.timezoneFormatting", [ { name: "timezone format", setUp: function(){ var partLocaleList = ["en-us", "fr-fr", "es", "de-at", "ja-jp", "zh-cn"]; dojo.for...
set -o errexit set -o nounset set -o pipefail # generate-internal-groups generates everything for a project with internal types, e.g. an # user-provided API server based on k8s.io/apiserver. if [ "$#" -le 5 ] || [ "${1}" == "--help" ]; then cat <<EOF Usage: $(basename $0) <generators> <output-package> <internal-api...
using namespace Platform; using namespace Windows::ApplicationModel; using namespace Windows::ApplicationModel::Activation; using namespace Windows::ApplicationModel::Core; using namespace Windows::UI::Core; using namespace Windows::UI::ViewManagement; ref class View sealed : public IFrameworkView { public: View(U...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE400_Resource_Exhaustion__connect_socket_for_loop_81.h Label Definition File: CWE400_Resource_Exhaustion.label.xml Template File: sources-sinks-81.tmpl.h */ /* * @description * CWE: 400 Resource Exhaustion * BadSource: connect_socket Read data using a connect s...
<TS language="id" version="2.1"> <context> <name>AddressBookPage</name> <message> <source>Right-click to edit address or label</source> <translation>Klik-kanan untuk mengubah alamat atau label</translation> </message> <message> <source>Create a new address</source> <trans...
import { AbstractControlDirective } from './abstract_control_directive'; /** * A directive that contains multiple {@link NgControl}s. * * Only used by the forms module. * * @experimental */ export class ControlContainer extends AbstractControlDirective { /** * Get the form to which this container belong...
package ber import ( "errors" "fmt" "io" ) func readLength(reader io.Reader) (length int, read int, err error) { // length byte b, err := readByte(reader) if err != nil { if Debug { fmt.Printf("error reading length byte: %v\n", err) } return 0, 0, err } read++ switch { case b == 0xFF: // Invalid...
package org.apache.wicket.request.parameter; import java.util.Collections; import java.util.List; import java.util.Set; import org.apache.wicket.request.IRequestParameters; import org.apache.wicket.util.string.StringValue; /** * Read only empty {@link IRequestParameters}. * * @author Matej Knopp */ public clas...
<?php class Google_Service_Compute_SubnetworkAggregatedList extends Google_Model { public $id; protected $itemsType = 'Google_Service_Compute_SubnetworksScopedList'; protected $itemsDataType = 'map'; public $kind; public $nextPageToken; public $selfLink; public function setId($id) { $this->id = $...
#if !defined(FUSION_REPLACE_IF_08182005_0939) #define FUSION_REPLACE_IF_08182005_0939 #include <boost/fusion/support/config.hpp> #include <boost/fusion/view/transform_view/transform_view.hpp> #include <boost/fusion/algorithm/transformation/detail/replace_if.hpp> #include <boost/fusion/support/is_sequence.hpp> #includ...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--NewPage--> <HTML> <HEAD> <TITLE> CharacterSprmCompressor (POI API Documentation) </TITLE> <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style"> <SCRIPT type="text/javascrip...
<!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/html; charset=utf-8" /> <title>CMAKE_&lt;LANG&gt;_VISIBILITY_PRESET &mdash; CMake 3....
"""Imports for the plist parser plugins.""" from plaso.parsers.plist_plugins import airport from plaso.parsers.plist_plugins import appleaccount from plaso.parsers.plist_plugins import bluetooth from plaso.parsers.plist_plugins import ipod from plaso.parsers.plist_plugins import install_history from plaso.parsers.plis...
package yaml import ( "bufio" "bytes" "encoding/json" "fmt" "io" "io/ioutil" "strings" "unicode" "github.com/ghodss/yaml" "github.com/golang/glog" ) // ToJSON converts a single YAML document into a JSON document // or returns an error. If the document appears to be JSON the // YAML decoding path is not u...
class KeyValues; // This interface is actually exported by the shader API DLL. #define DEBUG_TEXTURE_INFO_VERSION "DebugTextureInfo001" abstract_class IDebugTextureInfo { public: // Use this to turn on the mode where it builds the debug texture list. // At the end of the next frame, GetDebugTextureList() will r...
<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> <link rel="SHORTCUT ICON" href="../../../../../img/clover.ico" /> <link rel="stylesheet" href="../../../../../aui/css/aui.min.css" media...
/** * @hidden */ export class PointerEvents { /** * @param {?} plt * @param {?} ele * @param {?} pointerDown * @param {?} pointerMove * @param {?} pointerUp * @param {?} option */ constructor(plt, ele, pointerDown, pointerMove, pointerUp, option) { this.plt = plt; ...
package content // import "google.golang.org/api/content/v2sandbox" import ( "bytes" "encoding/json" "errors" "fmt" context "golang.org/x/net/context" ctxhttp "golang.org/x/net/context/ctxhttp" gensupport "google.golang.org/api/gensupport" googleapi "google.golang.org/api/googleapi" "io" "net/http" "net/url...
<!DOCTYPE html> <html> <head> <script src="../../../../processing.js"></script> <link rel="stylesheet" href="../../../style.css" /> </head> <body> <h1><a href="http://asalga.wordpress.com">Andor Salga</a></h1> <h2>Test for <a href="https://processing-js.lighthouseapp.com/projects/41284-processi...
.class Landroid/view/ViewPropertyAnimator$1; .super Ljava/lang/Object; .source "ViewPropertyAnimator.java" # interfaces .implements Ljava/lang/Runnable; # annotations .annotation system Ldalvik/annotation/EnclosingClass; value = Landroid/view/ViewPropertyAnimator; .end annotation .annotation system Ldalvik/anno...
#ifndef BOOST_FLYWEIGHT_FACTORY_TAG_HPP #define BOOST_FLYWEIGHT_FACTORY_TAG_HPP #if defined(_MSC_VER)&&(_MSC_VER>=1200) #pragma once #endif #include <boost/config.hpp> /* keep it first to prevent nasty warns in MSVC */ #include <boost/parameter/parameters.hpp> #include <boost/type_traits/is_base_and_derived.hpp> n...
"use strict"; var __extends = (this && this.__extends) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; function __() { this.constructor = d; } d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); }; var Subscriber_1 = require('../Subscriber'); /**...
package org.elasticsearch.common.lucene; import org.apache.lucene.index.LeafReader; import org.elasticsearch.index.shard.ShardId; import org.elasticsearch.index.shard.ShardUtils; import java.util.Collection; import java.util.Collections; import java.util.HashMap; import java.util.HashSet; import java.util.IdentityH...
/** * UI-Router Extras: Sticky states, Future States, Deep State Redirect, Transition promise * Monolithic build (all modules) * @version 0.0.13 * @link http://christopherthielen.github.io/ui-router-extras/ * @license MIT License, http://www.opensource.org/licenses/MIT */ (function(angular, undefined){ "use stri...
id: bad87fee1348bd9aec908853 title: Add id Attributes to Bootstrap Elements challengeType: 0 videoUrl: '' localeTitle: Añadir atributos de ID a los elementos Bootstrap --- ## Description <section id="description"> Recuerde que además de los atributos de clase, puede asignar a cada uno de sus elementos un atributo <cod...
<a href='https://github.com/angular/angular.js/edit/v1.3.x/docs/content/guide/bootstrap.ngdoc?message=docs(guide%2FBootstrap)%3A%20describe%20your%20change...' class='improve-docs btn btn-primary'><i class="glyphicon glyphicon-edit">&nbsp;</i>Improve this Doc</a> <h1 id="bootstrap">Bootstrap</h1> <p>This page explain...
package org.keycloak.quarkus.runtime.integration.jaxrs; import javax.ws.rs.ext.Provider; import java.lang.annotation.Annotation; import java.lang.reflect.Type; import org.jboss.resteasy.spi.ContextInjector; import org.keycloak.common.ClientConnection; import org.keycloak.common.util.Resteasy; import org.keycloak.qu...
var app = angular.module("ag", ["pascalprecht.translate", "$httpProvider"]); app.config((growlProvider:angular.growl.IGrowlProvider, $httpProvider:angular.IHttpProvider) => { var ttl:angular.growl.IGrowlTTLConfig = { success: 5000, error: 4000 }; growlProvider.globalTimeToLive(ttl) ...
/*! UIkit 2.20.2 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ (function(core) { if (typeof define == "function" && define.amd) { // AMD define("uikit", function(){ var uikit = window.UIkit || core(window, window.jQuery, window.document); uikit.load = function(res...
<?php namespace Assetic\Filter; use Assetic\Asset\AssetInterface; use Assetic\Exception\FilterException; /** * UglifyJs filter. * * @link https://github.com/mishoo/UglifyJS * @author André Roaldseth <andre@roaldseth.net> */ class UglifyJsFilter extends BaseNodeFilter { private $uglifyjsBin; private $n...
# http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an 'AS IS' BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing pe...
<?php /** * @see Zend_Controller_Router_Route_Interface */ #require_once 'Zend/Controller/Router/Route/Interface.php'; /** * @see Zend_Controller_Router_Route_Module */ #require_once 'Zend/Controller/Router/Route/Module.php'; /** * @see Zend_Controller_Dispatcher_Interface */ #require_once 'Zend/Controller/Di...
class btCollisionShape; class btCollisionObject; class btTransform; #include "bullet/LinearMath/btScalar.h" // for SIMD_FORCE_INLINE definition #define BT_DECLARE_STACK_ONLY_OBJECT \ private: \ void* operator new(size_t size); \ void operator delete(void*); struct btCollisionObjectWrapper; struct btCollisionObje...
<!DOCTYPE html> <!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]--> <!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]--> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>CodeIgniter Overview &mdash; CodeIgniter 3.0.0 do...
from agol import AGOL class geocodeService(AGOL): """Geocode Service object, that inherits properties from the AGOL object.""" def geocodeAddresses(self): """ The geocodeAddresses operation is performed on a Geocode Service resource. \ The result of this operation is a resource represe...
package main import ( "fmt" "os/exec" "strconv" "strings" "github.com/go-check/check" ) func (s *DockerSuite) TestInspectImage(c *check.C) { imageTest := "emptyfs" imageTestID := "511136ea3c5a64f264b78b5433614aec563103b4d4702f3ba7d4d2698e22c158" id, err := inspectField(imageTest, "Id") c.Assert(err, check.I...
'use strict'; exports.__esModule = true; var _react = require('react'); var _createHelper = require('./createHelper'); var _createHelper2 = _interopRequireDefault(_createHelper); var _createEagerFactory = require('./createEagerFactory'); var _createEagerFactory2 = _interopRequireDefault(_createEagerFactory); fun...
package rapture.jmx; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; import java.util.Map; import java.util.concurrent.ExecutionException; import org.junit.Before; import org.junit.Test; public class JmxAppCacheTest { @Before public void setup() { if (!Jm...
require 'webmock' class Spinach::Features::ProjectHooks < Spinach::FeatureSteps include SharedAuthentication include SharedProject include SharedPaths include RSpec::Matchers include RSpec::Mocks::ExampleMethods include WebMock::API step 'project has hook' do @hook = create(:project_hook, project: c...
'use strict'; module.exports = { secure: { ssl: true, privateKey: './config/sslcerts/key.pem', certificate: './config/sslcerts/cert.pem' }, port: process.env.PORT || 8443, db: { uri: process.env.MONGOHQ_URL || process.env.MONGOLAB_URI || 'mongodb://' + (process.env.DB_1_PORT_27017_TCP_ADDR || '...
dpkg --add-architecture armhf dpkg --add-architecture arm64 echo 'deb [arch=arm64,armhf] http://ports.ubuntu.com/ xenial main restricted universe multiverse' >> /etc/apt/sources.list.d/armhf.list echo 'deb [arch=arm64,armhf] http://ports.ubuntu.com/ xenial-updates main restricted universe multiverse' >> /etc/apt/source...
using SDKTemplate; using System; using System.Threading.Tasks; using Windows.Devices.SmartCards; using Windows.Storage; using Windows.UI.Core; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Navigation; using static NfcSample.NfcUtils; // The Blank Page item template is documented at http:...
<?php namespace yii\validators; use Yii; use yii\base\Component; use yii\base\NotSupportedException; /** * Validator is the base class for all validators. * * Child classes should override the [[validateValue()]] and/or [[validateAttribute()]] methods to provide the actual * logic of performing data validation....
package org.elasticsearch.common.io; import java.io.IOException; import java.io.Reader; /** * */ public class FastCharArrayReader extends Reader { /** * The character buffer. */ protected char buf[]; /** * The current buffer position. */ protected int pos; /** * The...
DataBases ========= DataBases
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Zh...
package org.jetbrains.idea.maven.wizards; import com.intellij.openapi.application.AccessToken; import com.intellij.openapi.application.ApplicationManager; import com.intellij.openapi.module.ModifiableModuleModel; import com.intellij.openapi.module.Module; import com.intellij.openapi.options.ConfigurationException; im...
<?xml version="1.0" encoding="UTF-8"?> <!-- You may freely edit this file. See commented blocks below for --> <!-- some examples of how to customize the build. --> <!-- (If you delete it and reopen the project it will be recreated.) --> <!-- By default, only the Clean and Build commands use this build script. --> <!-- ...
int motorPin = D4; // int ledPin = D7; int potPin = A0; String thisID = Spark.deviceID(); boolean myTurn = true; int maxPosn = 4000; int minPosn = 3000; // To debug using LED flashing on pin D7, uncomment // the lines above and below. // two blinks for a publish // four blinks for a subscription event rec...
import _plotly_utils.basevalidators class GridwidthValidator(_plotly_utils.basevalidators.NumberValidator): def __init__( self, plotly_name="gridwidth", parent_name="layout.geo.lataxis", **kwargs ): super(GridwidthValidator, self).__init__( plotly_name=plotly_name, pare...
cask 'silverlight' do version '5.1.50901.0' sha256 :no_check # required as upstream package is updated in-place url 'https://download.microsoft.com/download/0/3/E/03EB1393-4F4E-4191-8364-C641FAB20344/50901.00/Silverlight.dmg' name 'Silverlight' homepage 'https://www.microsoft.com/silverlight/' pkg 'silver...
package org.apache.sling.ide.eclipse.ui.wizards.np; import org.apache.maven.archetype.catalog.Archetype; import org.apache.maven.artifact.versioning.DefaultArtifactVersion; import org.apache.sling.ide.eclipse.ui.WhitelabelSupport; public class NewSlingBundleWizard extends AbstractNewMavenBasedSlingApplicationWizard ...
package org.kuali.rice.krad.uif.control; import org.apache.commons.lang.StringUtils; import org.kuali.rice.krad.datadictionary.parse.BeanTag; import org.kuali.rice.krad.datadictionary.parse.BeanTagAttribute; import org.kuali.rice.krad.datadictionary.parse.BeanTags; import org.kuali.rice.krad.uif.component.Comp...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. /*===================================================================== ** ** Source: GetFileTime.c ** ** Purpose: ...
//----------------------------------------------------------------------------- // Copyright (c) 2013 GarageGames, LLC // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to // deal in the Software without restricti...
package ru.stqa.pft.mantis.tests; import biz.futureware.mantis.rpc.soap.client.IssueData; import biz.futureware.mantis.rpc.soap.client.MantisConnectLocator; import biz.futureware.mantis.rpc.soap.client.MantisConnectPortType; import org.openqa.selenium.remote.BrowserType; import org.slf4j.Logger; import org.slf4j.Logge...
'use strict'; var bitcore = require('bitcore'); var $ = bitcore.util.preconditions; var aes = require('aes'); var AES = function AES() {}; AES.encrypt = function(messagebuf, keybuf) { var key = AES.buf2words(keybuf); var message = AES.buf2words(messagebuf); var a = new aes(key); var enc = a.encrypt(message);...
"use strict"; var Promise = require('bluebird'), Product = require('../models/product'); /** * Seed the database * @returns {Promise} */ module.exports = function () { var promises = [ new Product({ name: 'Product 1', description: 'Product 1 description', price: 10.99 }).save(), new Product({ name: 'Pr...
<?xml version="1.0"?> <doc> <assembly> <name>System.Windows.Interactivity</name> </assembly> <members> <member name="T:System.Windows.Interactivity.AttachableCollection`1"> <summary> Represents a collection of IAttachedObject with a shared AssociatedObject and...