text
stringlengths
3
1.05M
<html> <head> <title>User agent detail - Mozilla/5.0 (Linux; Android 4.2.2; MK908 Build/JDQ39) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/32.0.1700.72 Safari/537.36 OPR/19.0.1340.69721</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.97.3/css/materialize.min....
<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <title>My Universe</title> <meta name="HandheldFriendly" content="True"> <meta name="MobileOptimized" content="320"> <meta name="apple-mobile-web-app-capable" content="yes"> <meta...
package strmangle import ( "math/rand" "strings" "time" ) func init() { rand.Seed(time.Now().UnixNano()) } var letterRunes = []rune("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789") // RandString generates a random string of length len using the chars in letterRunes func RandString(length int) s...
'use strict'; ////////////////////////////////////////////////////////////////////////// ////////////////////Primary Main Message Route ///////////////////////// //////////////////////////////////////////////////////////////////////// import ChatMessage from '../db/schemas/Message'; import bodyParser ...
ACCEPTED #### According to The Catalogue of Life, 3rd January 2011 #### Published in Trans. Mycol. Soc. Japan 32(2): 265 (1991) #### Original name Fasciatispora K.D. Hyde ### Remarks null
<?php /** * Customize API: WP_Customize_Nav_Menu_Item_Setting class * * @package WordPress * @subpackage Customize * @since 4.4.0 */ /** * Customize Setting to represent a nav_menu. * * Subclass of WP_Customize_Setting to represent a nav_menu taxonomy term, and * the IDs for the nav_menu_items associated wit...
Devise::Async.setup do |config| config.enabled = true config.backend = :sidekiq config.queue = :default end
using System.Collections.Generic; using System.Diagnostics; using System.Threading.Tasks; using Sloader.Config.Crawler; using Sloader.Config.Drop; namespace Sloader.Config { /// <summary> /// Root config entry, holds secrets, drops, crawler, etc. /// </summary> /// <example> /// Demo yml config (on...
""" Gets an overview of the file without using cache """ from collections import OrderedDict from flask import render_template from yapsy.IPlugin import IPlugin class Overview(IPlugin): def __init__(self): self.display_name = 'Overview' self.popularity = 10 self.cache = False self...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. using System; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; using System.IO; using System.Linq; using System.Net....
<?php namespace Lhm\Tests\Persistence\Migrations; use Lhm\Lhm; use Phinx\Db\Table; use Phinx\Migration\AbstractMigration; class IndexMigration extends AbstractMigration { public function up() { Lhm::setAdapter($this->getAdapter()); Lhm::changeTable('ponies', function (Table $ponies) { ...
// Copyright 2015 The Project Buendia Authors // // 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 agree...
namespace blink { LayoutNGTableCaption::LayoutNGTableCaption(Element* element) : LayoutNGBlockFlowMixin<LayoutTableCaption>(element) {} // Legacy method. void LayoutNGTableCaption::CalculateAndSetMargins( const NGConstraintSpace& constraint_space, const NGPhysicalFragment& physical_fragment) { NOT_DESTR...
using base::UserMetricsAction; using ui::DropTargetEvent; namespace { const int kTabStripAnimationVSlop = 40; // Inverse ratio of the width of a tab edge to the width of the tab. When // hovering over the left or right edge of a tab, the drop indicator will // point between tabs. const int kTabEdgeRatioInverse = 4; ...
/** * @fileoverview Tests for no-delete-var rule. * @author Ilya Volodin */ //------------------------------------------------------------------------------ // Requirements //------------------------------------------------------------------------------ var vows = require("vows"), assert = require("assert"), ...
"""Pagination support. """ from flask import abort, request, url_for class Page(object): def __init__(self, docs, pagenum, hpp=20): if pagenum < 1: abort(404) self.docs = docs[hpp * (pagenum - 1): hpp * pagenum].check_at_least(-1) self.pagenum = pagenum self.pages = (s...
#include "libpdb/pdbp.h" #include <errno.h> #include "libcl/cl.h" /* * Refresh pdb and addb when on-disk data structures may have changed. * * This cannot handle destructive changes, but can handle the kinds of * changes expected during an asynchronous write from another process. * * (Of course we need to...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging; using...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.InteropServices.WindowsRuntime; using Windows.Foundation; using Windows.Foundation.Collections; using Windows.Storage; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Controls.Primitive...
<?xml version="1.0" encoding="utf-8" standalone="yes" ?> <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> <channel> <title>2 on Jinlai Xu&#39;s Homepage</title> <link>http://jinlaixu.net/publication_types/2/</link> <description>Recent content in 2 on Jinlai Xu&#39;s Homepage</description> ...
using System; using NServiceBus; using NServiceBus.Installation.Environments; using NServiceBus.ObjectBuilder; class Program { static void Main() { Configure.Serialization.Json(); Configure configure = Configure.With(); configure.Log4Net(); configure.DefineEndpointName("Samples...
title: Context path: "/context/" --- ## Version 16.3 + [React’s ⚛️ new Context API](https://medium.com/dailyjs/reacts-%EF%B8%8F-new-context-api-70c9fe01596b) Kent C. Dodds ## Archive ⚠️ Context is an **advanced** feature. It is an experimental API and could break in future releases of React. See: [Why Not To Use C...
import {Operator} from '../Operator'; import {Observable} from '../Observable'; import {Subscriber} from '../Subscriber'; import {Subscription} from '../Subscription'; import {OuterSubscriber} from '../OuterSubscriber'; import {subscribeToResult} from '../util/subscribeToResult'; export function _switch<T>(): Observab...
/* Includes ------------------------------------------------------------------*/ #include "stm32l1xx_usart.h" #include "stm32l1xx_rcc.h" /** @addtogroup STM32L1xx_StdPeriph_Driver * @{ */ /** @defgroup USART * @brief USART driver modules * @{ */ /** @defgroup USART_Private_TypesDefinitions * @{ */ ...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>historical-examples: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../boots...
- Added a README file with details regarding pack usage.
https://pubchem.ncbi.nlm.nih.gov/summary/summary.cgi?cid=6047
<?xml version='1.0' encoding='UTF-8' standalone='no'?> <doxygen xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="compound.xsd" version="1.8.6"> <compounddef id="structboost_1_1geometry_1_1section" kind="struct" prot="public"> <compoundname>boost::geometry::section</compoundname...
All notable changes to this project will be documented in this file. #### 2.x Releases - `2.0.x` Releases - [2.0.0](#200), [2.1.0](#210) #### 1.x Releases - `1.2.x` Releases - [1.2.0](#120), [1.2.1](#121) - `1.1.x` Releases - [1.1.0](#110) - `1.0.x` Releases - [1.0.0](#100) ## [2.1.0](https://github.com/skladek/SKWe...
The RabbitEvents Publisher component provides an API to publish events across the application structure. More information is available in the [Nuwber's RabbitEvents documentation](https://github.com/nuwber/rabbitevents). The RabbitEvents Publisher is the part that lets all other microservices know that a payment succe...
from __future__ import unicode_literals from django import forms from django.conf import settings from django.contrib.contenttypes.models import ContentType from django.template.defaultfilters import filesizeformat from django.utils.translation import gettext_lazy as _ from .models import Attachment def validate_ma...
function main() { // Get the store reference var store = url.templateArgs.store_type + "://" + url.templateArgs.store_id; // Get the details of the tag if (json.has("name") == false || json.get("name").length == 0) { status.setCode(status.STATUS_BAD_REQUEST, "Name missing when creating tag"); ...
{# # 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 u...
QRCodeDialog::QRCodeDialog(const QString &addr, const QString &label, bool enableReq, QWidget *parent) : QDialog(parent), ui(new Ui::QRCodeDialog), model(0), address(addr) { ui->setupUi(this); setWindowTitle(QString("%1").arg(address)); ui->chkReqPayment->setVisible(enableReq); ui->lbl...
<?php namespace DTS\eBaySDK\ReturnManagement\Enums\Test; use DTS\eBaySDK\ReturnManagement\Enums\ReturnStatusInputType; class ReturnStatusInputTypeTest extends \PHPUnit_Framework_TestCase { private $obj; protected function setUp() { $this->obj = new ReturnStatusInputType(); } public fun...
var Engine = { clock: null, scene: null, camera: null, renderer: null, controls: null, container: null }; var gui, oX, oY; function showHelp() { // Custom buttoms var message_help = document.createElement( 'div' ); message_help.className = "message-box"; mess...
/* MIT license */ var clusterfck = (function() { var require = function(file, cwd) { var resolved = require.resolve(file, cwd || '/'); var mod = require.modules[resolved]; if (!mod) throw new Error( 'Failed to resolve module ' + file + ', tried ' + resolved ); var res = mod._cached ? mod._cached : mod(); ...
package com.amazonaws.services.qldb.model.transform; import java.math.*; import javax.annotation.Generated; import com.amazonaws.services.qldb.model.*; import com.amazonaws.transform.SimpleTypeJsonUnmarshallers.*; import com.amazonaws.transform.*; import com.fasterxml.jackson.core.JsonToken; import static com.fast...
package quotas //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 //distri...
// Copyright (c) .NET Foundation and contributors. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using System.Collections.Generic; using System.IO; using System.Linq; using NuGet.Frameworks; using NuGet.LibraryModel; using NuGe...
learn owin and identity 2.0
<?php namespace DCarbone\PHPFHIRGenerated\R4\PHPFHIRTests\FHIRElement\FHIRBackboneElement\FHIRCapabilityStatement; use PHPUnit\Framework\TestCase; use DCarbone\PHPFHIRGenerated\R4\FHIRElement\FHIRBackboneElement\FHIRCapabilityStatement\FHIRCapabilityStatementImplementation; /** * Class FHIRCapabilityStatementImple...
'use strict'; // This is a forwarding module to allow React to require React Native internals // as node dependency module.exports = require('UIManager');
#include "include/DRMExtractor.h" #include <arpa/inet.h> #include <utils/String8.h> #include <media/stagefright/foundation/ADebug.h> #include <media/stagefright/Utils.h> #include <media/stagefright/DataSource.h> #include <media/stagefright/MediaSource.h> #include <media/stagefright/MediaDefs.h> #include <media/stage...
 namespace Sezame { public enum SezameResultKey { Id, SharedSecret, Certificate, ClientCode, AuthenticationStatus } }
ACCEPTED #### According to International Plant Names Index #### Published in null #### Original name null ### Remarks null
package org.apache.batik.anim.dom; import java.util.ArrayList; import java.util.Iterator; import org.apache.batik.anim.values.AnimatablePointListValue; import org.apache.batik.anim.values.AnimatableValue; import org.apache.batik.dom.svg.AbstractSVGPointList; import org.apache.batik.dom.svg.ListBuilder; import org.ap...
'use strict'; var WeakMap = (WeakMap) ? WeakMap : require('es6-weak-map'); var Task = function(key, childs, filename, lineno) { function Constructor(key, childs, filename, lineno) { this.key = key; this._childs = childs; this.filename = filename; this.lineno = lineno; this._defined = [0]; } ...
package be.yurimoens.runemate.cdivination.task; import be.yurimoens.runemate.cdivination.Constants; import com.runemate.game.api.hybrid.entities.Npc; import com.runemate.game.api.hybrid.local.Camera; import com.runemate.game.api.hybrid.local.hud.interfaces.Inventory; import com.runemate.game.api.hybrid.queries.results...
const {cp} = require('shelljs'); module.exports = function copyFolder() { return (from, to) => cp('-rf', from, to); };
'use strict'; angular.module('workingRoom') .factory('Groups', function ($q, $http, $log) { var groups = null; var groupsList = {}; function destroy() { for (var groupId in groupsList) { groupsList[groupId].$destroy(); groupsList[groupId] = null...
<head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>{% if page.title %}{{ page.title | escape }}{% else %}{{ site.title | escape }}{% endif %}</title> <meta name="description" content="{{ page.excerpt ...
package DDS; /** * Generated from IDL interface "ExtDomainParticipantListener". * * @author JacORB IDL compiler V 2.3.0.3, 29-August-2007 * @version generated at 04-Feb-2010 12:13:57 */ public interface ExtDomainParticipantListener extends ExtDomainParticipantListenerOperations, DDS.ExtTopicListener, DDS.D...
require File.expand_path(File.dirname(__FILE__) + '/spec_helper') require File.expand_path(File.dirname(__FILE__) + '/../init.rb') describe "Undoable" do class TestUndoableModel include Undoable attr_accessor :id def create end def destroy end def update end # ...
/** * AdminLTE Demo Menu * ------------------ * You should not use this file in production. * This file is for demo purposes only. */ (function ($, AdminLTE) { "use strict"; /** * List of all the available skins * * @type Array */ var my_skins = [ "skin-blue", "skin-black", "skin-re...
<?xml version="1.0" encoding="utf-8"?> <application xmlns="http://ns.adobe.com/air/application/3.7"> <allowBrowserInvocation>true</allowBrowserInvocation> <!-- The ID of the provisioning profile --> <id>@project.id@</id> <versionNumber>0.1</versionNumber> <filename>@flash.file.name@.ipa</filename> <description> ...
<?php namespace kiwi\Database; use PDO; class Builder { /** * The PDO connection. * * @var PDO */ private $pdo; /** * The table to perform the query on. * * @var string */ private $table; /** * The query to run. * * @var string */ ...
import { View } from '../core/view'; import { Style } from '../styling/style'; import { ImageSource } from '../../image-source'; import { Color } from '../../color'; import { Property, InheritedCssProperty } from '../core/properties'; import { CoreTypes } from '../../core-types'; /** * Represents a class that provid...
package org.quartz.core; import org.knowm.sundial.plugins.AnnotationJobTriggerPlugin; import org.quartz.QuartzScheduler; import org.quartz.exceptions.SchedulerException; import org.quartz.plugins.management.ShutdownHookPlugin; import org.quartz.plugins.xml.XMLSchedulingDataProcessorPlugin; import org.slf4j.Logger; imp...
<?php /********************************************************** * Lidiun PHP Framework 6.0 - (http://www.lidiun.com) * * @Created in 26/08/2013 * @Author Dyon Enedi <dyonenedi@hotmail.com> * @By Dyon Enedi <dyonenedi@hotmail.com> * @Contributor Gabriela A. Ayres Garcia <gabriela.ayres.garcia@gmail.com>...
package io.gravitee.am.reporter.jdbc.dialect; import io.gravitee.am.model.ReferenceType; import io.gravitee.am.reporter.api.audit.AuditReportableCriteria; import io.reactivex.Single; import org.springframework.data.r2dbc.core.DatabaseClient; import java.time.Instant; import java.time.LocalDateTime; import java.time....
package com.izettle.messaging.serialization; import static org.junit.Assert.*; import com.fasterxml.jackson.databind.ObjectMapper; import com.izettle.java.UUIDFactory; import java.util.UUID; import org.junit.Test; public class UUIDModuleTest { private static ObjectMapper createMapper() { return new Obje...
package com.sunil.selectmutiple; import java.util.ArrayList; import java.util.List; import android.app.Activity; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.database.Cursor; import android.net.Uri; import android.os.Bundle; import android.pro...
<span class='st_facebook_hcount' displayText='Facebook'></span> <span class='st_googleplus_hcount' displayText='Google +'></span> <span class='st_twitter_hcount' displayText='Tweet'></span> <span class='st_email_hcount' displayText='Email'></span>
// // UIDevice_MKAdditions.m // DeviceHelper // // Created by Mugunth Kumar on 15-Aug-10. // Copyright 2010 Steinlogic. All rights reserved. // As a side note on using this code, you might consider giving some credit to me by // 1) linking my website from your app's website // 2) or crediting me inside the app's ...
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE PolicySet [ <!ENTITY xml "http://www.w3.org/2001/XMLSchema#"> <!ENTITY rule-combine "urn:oasis:names:tc:xacml:1.0:rule-combining-algorithm:"> <!ENTITY policy-combine "urn:oasis:names:tc:xacml:1.0:policy-combining-algorithm:"> <!ENTITY function "urn:oasis:names:tc:xacml:1...
#ifndef TENSORFLOW_C_EAGER_TAPE_H_ #define TENSORFLOW_C_EAGER_TAPE_H_ // Language-agnostic gradient tape. Does not perform backpropagation, just // maintains the data structures required to do so. #include <stack> #include <vector> #include "tensorflow/core/framework/tensor_shape.h" #include "tensorflow/core/framew...
import { createElement as h, Component } from 'react' import PropTypes from 'prop-types' import FileInputPlugin from '@uppy/file-input' import * as propTypes from './propTypes.js' /** * React component that renders an area in which files can be dropped to be * uploaded. */ class FileInput extends Component { com...
package org.apache.hadoop.yarn.client.api.impl; import java.net.InetSocketAddress; import java.util.ArrayList; import java.util.Collections; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; import org.apache.hadoop.classification.InterfaceAudience.LimitedPrivate; import org.apache.hadoop...
<?php defined('BASEPATH') or exit('No direct script access allowed'); /** * Oracle Forge Class * * @category Database * @author EllisLab Dev Team * @link http://codeigniter.com/user_guide/database/ */ class CI_DB_oci8_forge extends CI_DB_forge { /** * CREATE DATABASE statement * * @var strin...
package com.newrelic.metrics.publish.internal; import static org.junit.Assert.assertEquals; import org.junit.Test; public class DataCollectorTest { @Test public void testGetMetricFullName() { DataCollector collector = new DataCollector(); assertEquals("Component/Queries[queries/seco...
using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Threading.Tasks; using DiplomContentSystem.Core; using DiplomContentSystem.Dto; namespace DiplomContentSystem.Services.DiplomWorks { public class DiplomWorksService { private readonly IReposit...
<html><body> <style> body, h1, h2, h3, div, span, p, pre, a { margin: 0; padding: 0; border: 0; font-weight: inherit; font-style: inherit; font-size: 100%; font-family: inherit; vertical-align: baseline; } body { font-size: 13px; padding: 1em; } h1 { font-size: 26px; margin-bottom: 1em; } h2...
Factory.define :user_answer do |s| s.user { |c| c.association(:user) } s.answer { |c| c.association(:answer) } end
{% set section = include_dict.section %} <section id="{{ section.section_id }}" class="block block-hero"> {% if section.title %} <h1 class="block-title inner-sm">{{ section.title }}</h1> {% endif %} {% if section.content %} <div class="block-content inner-sm"> {{ section.content | markdownify }} </div> ...
package pubsub.messages; import java.nio.ByteBuffer; import pubsub.BaseSerializableStruct; import pubsub.localrendezvous.LocRCClient; import pubsub.util.Util; /** * * @author John Gasparis */ public abstract class Message extends BaseSerializableStruct { private MessageType.Type msgType; public Message(M...
package de.tum.in.niedermr.ta.runner.execution.exceptions; import de.tum.in.niedermr.ta.core.execution.id.IExecutionId; /** Timeout during an execution exception. */ public class TimeoutException extends ExecutionException { /** Serial version UID. */ private static final long serialVersionUID = 1L; /** Construc...
START_ATF_NAMESPACE typedef tagSTYLEBUFA *LPSTYLEBUFA; END_ATF_NAMESPACE
#include <stdlib.h> #include "tmalloc.h" /* * Convenience macros for accessing metadata/data. * * "block" = tmalloc_info_t + "data" */ #define BLK2DATA(blk) ((void*)((char*)(blk) + sizeof(tmalloc_info_t))) #define DATA2BLK(data) ((void*)((char*)(data) - sizeof(tmalloc_info_t))) #define INFO2BLK(info) ((voi...
using namespace std; #include <libxml/parser.h> #include <libxml/tree.h> class LangDef; class LangSetting { public: LangSetting(); ~LangSetting(); void loadFromXmlMemory(const char *buffer, int size, LangDef *langDef); void loadLangSetting(const std::string &xmlfile,LangDef*); void loadString(const...
<!DOCTYPE html> <html> <head> <title>Motivation</title> <meta charset="UTF-8"> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/3.0.3/normalize.css"> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/skeleton/2.0.4/skeleton.css"> <link href="../styles...
import React from 'react'; import { EditOutlined, EllipsisOutlined, SettingOutlined } from '@ant-design/icons'; import { Avatar, Card } from 'antd'; const { Meta } = Card; const App: React.FC = () => ( <Card style={{ width: 300 }} cover={ <img alt="example" src="https://gw.alipayobject...
#import "BodyNode.h" @interface StaticNode : BodyNode { } @end
require 'spec_helper' describe SnippetsFinder do include Gitlab::Allowable using RSpec::Parameterized::TableSyntax describe '#initialize' do it 'raises ArgumentError when a project and author are given' do user = build(:user) project = build(:project) expect { described_class.new(user, au...
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <!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>opera...
/** * Thrown when network requests to the Auth server fail. */ export class GenericError extends Error { constructor(public error: string, public error_description: string) { super(error_description); Object.setPrototypeOf(this, GenericError.prototype); } static fromPayload({ error, error_descr...
A Ruby wrapper around connecting to the [Riot API](https://developer.riotgames.com) This is an ALPHA version. Please open up issues or send a pull request for any bugs you find =) ## Installation Add this line to your application's Gemfile: ```ruby gem 'riot-api' ``` Or install it yourself as: ```shell $ gem inst...
using System; using System.Collections; using System.Collections.Generic; using System.Configuration; using System.Data; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.HtmlControls; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.IO; using...
<?php /* index.twig */ class __TwigTemplate_c3c875313b45e5e6407ed7ddbefea5f6490ed9dd6b0a6eea9b6ac967fbb4d928 extends Twig_Template { public function __construct(Twig_Environment $env) { parent::__construct($env); $this->parent = false; $this->blocks = array( ); } prot...
#if TARGET_OS_MAC /// Encapsulates the complexities of cleaning up after unsent mach messages. /// Call this after you mach_msg to clean up in case of errors. /// /// @param kr return value of mach_msg /// @param msg that was attempted to be sent CF_EXPORT void __CFMachMessageCheckForAndDestroyUnsentMessage(kern_re...
package org.apache.rya.indexing.entity.storage.mongo; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; import java.util.HashSet; import java.util.Optional; import java.util.Set; import org.apache.rya.api.domain.RyaType; import org.ap...
namespace pindrop { class AudioEngine; } namespace fpl { namespace zooshi { struct AssetManifest; class FullScreenFader; struct World; class LoadingState : public StateNode { public: LoadingState() : loading_complete_(false), asset_manager_(nullptr), asset_manifest_(nullptr), shader...
using namespace mono::redpine; // MARK: Op. Mode Frame SetOperatingModeFrame::SetOperatingModeFrame(WifiOperModes mode) : ManagementFrame(ModuleFrame::SetOperatingMode) { this->length = sizeof(operModeFrameSnd); this->operMode = mode; } void SetOperatingModeFrame::setDefaultConfiguration() { this->coexMo...
""" WSGI config for DevelopersShelf project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/1.9/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault("DJAN...
ACCEPTED #### According to The Catalogue of Life, 3rd January 2011 #### Published in null #### Original name null ### Remarks null
const componentAlertDialogModuleConstants = require('../../../../../shared/vm/modules/components/componentAlertDialogModuleConstants'); const dispatcher = require('../../../../lib/dispatcher').dispatcher; const VMModule = require('./../../VMModule').VMModule; export...
angular.module('ionicApp', ['ionic']) .controller('MainCtrl', function ($scope) { $scope.settingsList = [ { text: "Wireless", checked: true }, { text: "GPS", checked: false }, { text: "Bluetooth", checked: false } ]; $scope.pushNotificationChange = fu...
#include <iostream> #include <math.h> #include "uca.h" UCA::UCA(const DynamicParameter & dyn_p) :dp(dyn_p), bank(dp), nbanks(g_ip->nbanks), refresh_power(0) { int num_banks_ver_dir = 1 << ((bank.area.h > bank.area.w) ? _log2(nbanks)/2 : (_log2(nbanks) - _log2(nbanks)/2)); int num_banks_hor_dir = nbanks/num_...
<?xml version="1.0" encoding="utf-8"?> <ArrayOfAsset xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <Asset xsi:type="ImageFileTextureAsset"> <AssetPath>debugFont.tga</AssetPath> <BuildOrder>0</BuildOrder> <IgnoreToolChanges>false</IgnoreToolChanges> ...
'use strict'; var config = function($routeProvider) { $routeProvider. when('/page1', { templateUrl: 'scripts/app/templates/page1.html' }). when('/page2', { templateUrl: 'scripts/app/templates/page2.html' }). otherwise({ redirectTo: '/page1' }); }; module.exports = config;