text stringlengths 3 1.05M |
|---|
<!doctype html>
<!--[if IE 7 ]> <html lang="en-gb" class="isie ie7 oldie no-js"> <![endif]-->
<!--[if IE 8 ]> <html lang="en-gb" class="isie ie8 oldie no-js"> <![endif]-->
<!--[if IE 9 ]> <html lang="en-gb" class="isie ie9 no-js"> <![endif]-->
<!--[if (gt IE 9)|!(IE)]><!--> <html lang="en-gb" class="no-js... |
package com.francetelecom.clara.cloud.presentation.designer.services.nodeprocessing;
import java.net.MalformedURLException;
import java.net.URL;
import org.apache.wicket.AttributeModifier;
import org.apache.wicket.Page;
import org.apache.wicket.ajax.AjaxRequestTarget;
import org.apache.wicket.ajax.form.OnChangeAjaxB... |
require "zlib"
require "tempfile"
require "http/request/body"
module HTTP
module Features
class AutoDeflate < Feature
attr_reader :method
def initialize(*)
super
@method = @opts.key?(:method) ? @opts[:method].to_s : "gzip"
raise Error, "Only gzip and deflate methods are su... |
layout: post
title: "Ten Thousand Tweets"
date: 2015-12-08
output: html_document
share: true
categories: blog
excerpt: "Visualizing My Twitter Archive with ggplot2"
tags: [rstats]
---
I started learning the statistical programming language R this past summer, and discovering Hadley Wickham's data visualization packa... |
PROG= find_interface
NO_MAN=
.include <bsd.prog.mk>
|
namespace chromeos {
namespace onc {
namespace {
scoped_ptr<base::StringValue> ConvertValueToString(const base::Value& value) {
std::string str;
if (!value.GetAsString(&str))
base::JSONWriter::Write(value, &str);
return make_scoped_ptr(new base::StringValue(str));
}
// This class is responsible to translat... |
/*
* Distributed FFT global defines
*/
#ifndef __DFFT_COMMON_H__
#define __DFFT_COMMON_H__
#include <dfft_lib_config.h>
#include "dfft_local_fft_config.h"
#include <mpi.h>
/*
* Data structure for a distributed FFT
*/
typedef struct
{
int ndim; /* dimensionality */
int *gdim; /* ... |
runit_service 'consul' do
action :disable
end
|
<?php
/**
* This code was generated by
* \ / _ _ _| _ _
* | (_)\/(_)(_|\/| |(/_ v1.0.0
* / /
*/
namespace Twilio\Rest\Supersim\V1;
use Twilio\Exceptions\TwilioException;
use Twilio\InstanceContext;
use Twilio\Values;
use Twilio\Version;
/**
* PLEASE NOTE that this class contains beta products th... |
bool MemoryBus::dataBreakpointActive = true;
Uint16 MemoryBus::dataBreakpointAddress = 0xFF41;//static_cast<Uint16>(MemoryMappedRegisters::IF); |
class QScrollArea;
class QPushButton;
class QFrame;
class TPaletteHandle;
class TCleanupStyle;
namespace DVGui {
class CleanupColorField;
}
//------------------------------------------------------------------
//********************************************************************************
// CleanupPaletteView... |
using System.Collections.Generic;
namespace Scripting.SSharp
{
internal static class HashSetExtensions
{
public static void AddRange<T>(this HashSet<T> hashset, IEnumerable<T> values)
{
foreach (T value in values)
hashset.Add(value);
}
}
}
|
module IntercomExport
class Reference
def initialize(value)
@value = value
end
def ==(other)
other.is_a?(self.class) && value == other.value
end
alias_method :eql?, :==
def hash
self.value.hash
end
attr_reader :value
end
end
|
using Cytoid.Storyboard.Videos;
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.Video;
namespace Cytoid.Storyboard.Sprites
{
public class VideoEaser : StoryboardRendererEaser<VideoState>
{
private VideoRenderer VideoRenderer { get; }
private VideoPlayer VideoPlayer => VideoRenderer.V... |
namespace Checkpoints
{
typedef std::map<int, uint256> MapCheckpoints;
//
// What makes a good checkpoint block?
// + Is surrounded by blocks with reasonable timestamps
// (no blocks before with a timestamp after, none after with
// timestamp before)
// + Contains no strange transactio... |
declare module ExampleApp {
export interface Result {
add: number;
subtract: number;
}
} |
layout: default
---
<div class="home">
<h1>Antisèches techniques</h1>
<p>Ce site référence mes notes sur l'exploitation de serveur GNU/Linux, sur le développement d'applications et sur la résolution de problèmes que j'ai pu rencontrer durant ma vie professionnelle.</p>
<p>J'espère qu'elles vous seront utiles&... |
using Drey.Logging;
using System;
using System.Collections.Concurrent;
using System.Threading;
namespace Drey.Configuration.ServiceModel
{
/// <summary>
/// Manages the list of polling clients within the system (both for releases, and packages.)
/// </summary>
public class PollingClientCollection : C... |
<?php
namespace App\Http\Controllers\Auth;
use App\Http\Controllers\Controller;
use Illuminate\Foundation\Auth\AuthenticatesUsers;
class LoginController extends Controller
{
/*
|--------------------------------------------------------------------------
| Login Controller
|----------------... |
git clone -b release https://github.com/roswell/roswell.git
cd roswell
sh bootstrap
./configure
make
sudo make install
ros install "$LISP"
|
// Copyright 2015 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.
package org.chromium.chrome.browser.enhancedbookmarks;
import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.PorterDuff... |
"""Constants in the Telegram network.
The following constants were extracted from the
`Telegram Bots FAQ <https://core.telegram.org/bots/faq>`_.
Attributes:
MAX_MESSAGE_LENGTH (:obj:`int`): 4096
MAX_CAPTION_LENGTH (:obj:`int`): 200
SUPPORTED_WEBHOOK_PORTS (List[:obj:`int`]): [443, 80, 88, 8443]
... |
require 'helper'
class Item
attr_accessor :name, :summary, :color, :supplier
end
class TestXmlcellent < Test::Unit::TestCase
def setup
@xml ||= <<-END
<items>
<item supplier="Dunder Mifflin">
<name>Item one</name>
<description color="red">Lorem ipsum dolor</description>
... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package br.faetec.backingbeans;
import br.faetec.model.dao.ComandoDAO;
import br.faetec.model.dto.ComandoDTO;
import java.io.Serializable;
import java.util.Collection;
import javax.faces.context.FacesContext;
import jav... |
#region license
// Copyright (c) 2005 - 2007 Ayende Rahien (ayende@ayende.com)
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without modification,
// are permitted provided that the following conditions are met:
//
// * Redistributions of source code must retain ... |
(function($, window, document) {
'use strict';
var defaults = {
activityFeedUrl: '/getActivityFeed',
watchThreadUrl: '/watchThread'
};
function Activity(options) {
this.opt = $.extend({}, defaults, options);
this.$body = $(document.body);
this.$window = $(window)... |
'use strict';
var gutil = require('gulp-util');
var through = require('through2');
var assign = require('object-assign');
var path = require('path');
var applySourceMap = require('vinyl-sourcemaps-apply');
var PLUGIN_NAME = 'gulp-sass';
//////////////////////////////
// Main Gulp Sass function
//////////////////////... |
package com.hanks.htextview;
import android.app.Application;
import android.test.ApplicationTestCase;
/**
* <a href="http://d.android.com/tools/testing/testing_android.html">Testing Fundamentals</a>
*/
public class ApplicationTest extends ApplicationTestCase<Application> {
public ApplicationTest() {
sup... |
module SessionsHelper
# Logs in the given user
def log_in(user)
session[:user_id] = user.id # save the id of the user to the browser
end
# Remembers a user in a persistent session.
def remember(user)
user.remember
cookies.permanent.signed[:user_id] = user.id
cookies.permanent[:remember_token] = user.reme... |
package com.github.mealingr.takeawayer.entities;
import javax.persistence.Entity;
import javax.persistence.Id;
import java.time.LocalDate;
@Entity
public class Customer {
@Id
private Long id;
private String name;
private String hashedPassword;
private String salt;
private Long drives;
pri... |
package com.amazonaws.services.codecommit.model;
import javax.annotation.Generated;
/**
* <p>
* The commit cannot be created because one or more changes in this commit duplicate actions in the same file path. For
* example, you cannot make the same delete request to the same file in the same file path twice, or m... |
class Rating < ActiveRecord::Base
include Comparable
html_schema_type :AggregateRating
@scale = 0..1
belongs_to :item, polymorphic: true
belongs_to :rater, polymorphic: true
validates :value, inclusion: { in: (0..1) }
after_initialize :set_defaults
def set_defaults
self.value ||= 0
sel... |
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null |
require 'test_helper'
class SessionsControllerTest < ActionController::TestCase
test "should get new" do
get :new
assert_response :success
end
test "should login" do
tester = teams(:one)
post :create, name: tester.name, password: 'secret'
assert_redirected_to cards_url
assert_equal teste... |
layout: post
title: "Why are we waiting to adjust vehicles prices?!"
date: 2016-06-27 04:00
categories: jekyll
permalink: /archivers/why-are-we-waiting-to-adjust-vehicle-prices
author: "Noah John"
---
<iframe width="560" height="315" src="https://www.youtube.com/embed/vA4SJ7yMWZY" frameborder="0" allowfullscreen></... |
<?xml version="1.0" encoding="UTF-8"?>
<rootTag>
<Award>
<AwardTitle>Graduate Research Fellowship Program (GRFP)</AwardTitle>
<AwardEffectiveDate>07/01/2015</AwardEffectiveDate>
<AwardExpirationDate>06/30/2020</AwardExpirationDate>
<AwardAmount>92000</AwardAmount>
<AwardInstrument>
<Value>F... |
<?xml version="1.0" encoding="utf-8"?>
<searchable xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:label="@string/app_name"
android:hint="@string/search_hint"/> |
- Rename Youtube method - ex. notifNoYoutubeData to loadYoutubeData
- Add tests for promise
|
<!--
To change this template, choose Tools | Templates
and open the template in the editor.
-->
<!DOCTYPE html>
<html>
<head>
<title>jQuery SelectBox plugin</title>
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
<link type="text/css" href="libs/jquery.linkselect/css/jquery.linkselect.css" ... |
use crate::methods::Method;
use crate::model::*;
use crate::params::*;
const API_JSON_RPC_VERSION: &str = "2.0";
/// Empty request - has nothing but api key inside.
/// Used in `getUsage` method.
pub type EmptyRequest = Request<ApiKeyParams>;
impl EmptyRequest {
/// Create an empty request.
pub fn new(method:... |
var Promise = require('bluebird');
var restler = require('restler');
var util = require('../../lib/util');
var logger = util.logger("couchbase");
var lib = module.exports;
lib.replicaSetup = function(component) {
logger.debug("Create External Cluster Reference");
// http://docs.couchbase.com/admin/admin/RE... |
package java.lang;
import java.lang.ref.Reference;
import java.lang.ref.ReferenceQueue;
import java.lang.ref.WeakReference;
import java.security.AccessController;
import java.security.AccessControlContext;
import java.security.PrivilegedAction;
import java.util.Map;
import java.... |
+++
title = "Patterns"
weight = 550
draft = true
+++
Many configuration languages take an inheritance-based approach to reducing
boilerplate.
CUE intentionally steers away from this approach and provides
an alternative.
|
package it.playfellas.superapp.logic.db.query;
import it.playfellas.superapp.InternalConfig;
import it.playfellas.superapp.tiles.TileShape;
/**
* Created by affo on 03/08/15.
*/
public class Shape extends Atom {
private TileShape shape;
public Shape(BinaryOperator op, TileShape shape) {
super(op);
... |
import java.util.Scanner;
public class p12_EqualPairs {
public static void main (String[] args) {
Scanner scanner = new Scanner(System.in);
int n = Integer.parseInt(scanner.nextLine());
int currSum = 0;
int prevSum = 0;
boolean areAllEqual = true;
int maxDiff = Integ... |
package medicalinfo.diseaseandcure;
import java.util.ArrayList;
import org.hibernate.Session;
import org.hibernate.Transaction;
import org.hibernate.criterion.Restrictions;
import com.jvmhub.tutorial.App;
public class ConsultDBPersistent implements ConsultDB{
public void save(Consult m) {
Session session = null;
... |
<?php
/**
* Spiral, Core Components
*
* @author Wolfy-J
*/
namespace Spiral\Tests\ORM\Fixtures;
use Spiral\ORM\Entities\RelationMap;
use Spiral\ORM\Record;
class BaseRecord extends Record
{
public function getRelations(): RelationMap
{
return $this->relations;
}
} |
package herddb.model.commands;
import herddb.model.DDLStatement;
import java.util.Set;
/**
* Create a TableSpace
*
* @author enrico.olivelli
*/
public class CreateTableSpaceStatement extends DDLStatement {
private final Set<String> replicas;
private final String leaderId;
private final int expectedR... |
namespace syncer {
class P2PInvalidator;
}
class Profile;
namespace invalidation {
// This service is a wrapper around P2PInvalidator. Unlike other
// InvalidationServices, it can both send and receive invalidations. It is used
// only in tests, where we're unable to connect to a real invalidations server.
class P... |
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2014 The Android Open Source Project
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/li... |
package org.neo4j.cluster.statemachine;
import java.util.concurrent.atomic.AtomicLong;
import org.neo4j.cluster.InstanceId;
/**
* Generate id's for state machine conversations. This should be shared between all state machines in a server.
* <p>
* These conversation id's can be used to uniquely identify conversat... |
FOUNDATION_EXPORT double AWSSQSVersionNumber;
//! Project version string for AWSSQS.
FOUNDATION_EXPORT const unsigned char AWSSQSVersionString[];
#import <AWSCore/AWSCore.h>
#import "AWSSQSService.h"
|
layout: post
title: The time I found myself wanting stuff waiting...
date: 2014-10-30T03:29:00.002Z
author: Marcus Hammarberg
tags:
- Tools - Lean
- Life of a consultant
- Kanban
- Agile
- Salvation Army
- Indonesia
modified_time: 2014-10-30T03:29:30.584Z
thumbnail: >-
http://4.bp.blogspot.com/-5tjLJXKatl... |
import { Callback, Connection } from '../connection';
import { EventEmitter } from 'events';
import { Stream } from 'stream';
interface DeployResult {
id: string;
checkOnly: boolean;
completedDate: string;
createdDate: string;
details?: object[];
done: boolean;
errorMessage?: string;
er... |
#include "connection.h"
#include <QtNetwork>
#include <QHeaderView>
#include <QScrollBar>
//#include "cmd.h"
#include "mainwindow.h"
#include <cstdlib>
bool Connection::handleTableCommand (DecodedCommand const & cmd, E_ReceiveMode mode)
{
if (getClosestFeatureState(e_data_table) == e_FtrDisabled)
return true;
// ... |
package com.google.android.exoplayer2.ext.ima;
import static com.google.android.exoplayer2.ext.ima.ImaUtil.expandAdGroupPlaceholder;
import static com.google.android.exoplayer2.ext.ima.ImaUtil.getAdGroupAndIndexInMultiPeriodWindow;
import static com.google.android.exoplayer2.ext.ima.ImaUtil.splitAdPlaybackStateForPer... |
package core.execution.tasks
import better.files.File
import ch.qos.logback.classic.Logger
import com.martiansoftware.nailgun.NGContext
import com.typesafe.scalalogging.LazyLogging
import core.config.FsbtModule
import core.config.compile.ExecutionConfig
import core.execution.Task
import scala.annotation.tailrec
case... |
<!DOCTYPE html>
<html lang="it">
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title>MOSAICO Responsive Email Designer</title>
<!--
COLORE INTENSE #9C010F
COLORE LIGHT #EDE8DA
TESTO LIGHT #3F3D33
TESTO INTENSE #ffffff
--><meta charset="utf-8">
<meta name="viewport" ... |
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null |
package org.sakaiproject.tool.assessment.ui.listener.author;
import javax.faces.context.FacesContext;
import javax.faces.event.AbortProcessingException;
import javax.faces.event.ActionEvent;
import javax.faces.event.ActionListener;
import org.sakaiproject.tool.assessment.ui.bean.author.AuthorBean;
import org.sakaipr... |
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null |
<div id="page-wrapper">
<div class="row">
<div class="col-lg-12">
<h2>
Profiles
<a href="<?= base_url('admin/profiles') ?>" class="btn btn-warning">Go back to profiles listing</a>
</h2>
</div>
<!-- /.col-lg-12 -->
</div>
<!-- /... |
/**
*<p>Title: </p>
*<p>Description: </p>
*<p>Copyright:TODO</p>
*@author
*@version 1.0
*/
package edu.common.dynamicextensions.domain.integration;
import edu.common.dynamicextensions.domain.DynamicExtensionBaseDomainObject;
import edu.wustl.common.actionForm.AbstractActionForm;
import edu.wu... |
.. bearychat.py documentation master file, created by
sphinx-quickstart on Fri Dec 30 15:17:02 2016.
You can adapt this file completely to your liking, but it should at least
contain the root `toctree` directive.
BearyChat.py
============
BearyChat.py is a SDK for `BearyChat <https://bearychat.com>`_.
Quick... |
package com.redshape.ui.application.handlers;
import com.redshape.ui.application.IApplication;
import com.redshape.ui.application.events.AppEvent;
import com.redshape.ui.application.events.IEventHandler;
import com.redshape.ui.utils.UIConstants;
import com.redshape.ui.utils.UIRegistry;
import javax.swing.*;
/**
*... |
* * *
license: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not... |
var assert = require('assert');
describe('apper', function () {
var apper = require('../'),
App = require('../lib/app');
it('should be a function', function () {
assert.equal('function', typeof apper);
});
it('should expose underlying app constructor', function () {
assert... |
title: Darley Avenue
date: 2016-08-17 15:30:00 Z
tags:
- homewares
- decoration
- accessories
- shopify
- e-commerce
- design
image: "/uploads/53%20-%20darleyavenue@2x.jpg"
store-link: http://www.shopdarleyavenue.co.uk
---
|
package ca.barrenechea.stickyheaders;
import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuItem;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.fragment.app.Fragment;
import androidx.fragment.app.... |
<?php
class RedeController extends Zend_Controller_Action
{
public function init()
{
/* Initialize action controller here */
}
public function indexAction()
{
// action body
}
public function areasAction()
{
// action body
}
public function perfilActi... |
extern crate syntex;
extern crate nue_codegen;
use std::env;
use std::path::Path;
fn main() {
let out_dir = env::var_os("OUT_DIR").unwrap();
for &(src, dst) in &[
("../macros/tests/code.rs", "code.rs"),
] {
let src = Path::new(src);
let dst = Path::new(&out_dir).join(dst);
... |
@interface TableViewController : UITableViewController
@end
|
module HealthSeven::V2_5_1
class RtbZ74 < ::HealthSeven::Message
attribute :msh, Msh, position: "MSH", require: true
attribute :msa, Msa, position: "MSA", require: true
attribute :errs, Array[Err], position: "ERR", multiple: true
attribute :sfts, Array[Sft], position: "SFT", multiple: true
attribute :qak, Qak... |
module Tinybucket
module Model
module Concerns
module Reloadable
extend ActiveSupport::Concern
included do
def load
return true if @_loaded
self.attributes = load_model.attributes
@_loaded = true
rescue => e
@_loaded = fal... |
import subprocess
import sys
data = sys.stdin.readlines()[0]
test = subprocess.Popen(["i3-msg","workspace "+data], stdout=subprocess.PIPE)
|
@interface CCPods : NSObject
@end
|
/* */
define( [
"./core",
"./var/concat",
"./var/push",
"./core/access",
"./manipulation/var/rcheckableType",
"./manipulation/var/rtagName",
"./manipulation/var/rscriptType",
"./manipulation/wrapMap",
"./manipulation/getAll",
"./manipulation/setGlobalEval",
"./manipulation/buildFragment",
"./manipulation/s... |
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ Copyright (c) 2014-2015 Evolveum and contributors
~
~ This work is dual-licensed under the Apache License 2.0
~ and European Union Public License. See LICENSE file for details.
-->
<shadow oid="3d96846e-c570-11e3-a80f-001e8c717e5b"
xmlns="http://midpoint.evo... |
Sider Changelog
===============
Version 0.3.0
-------------
Released on December 23, 2014. Beta release.
- Now Sider supports Python 3.3 or higher. Of course Python 2.6, Python 2.7,
and PyPy are still supported. Thanks to Eunchong Yu.
[:issue:`4` by Eunchong Yu]
- Fixed a bug that :class:`~sider.types.SortedS... |
/* $RuOBSD: snprintf.c,v 1.1 2004/04/19 12:53:43 form Exp $ */
/* $OpenBSD: snprintf.c,v 1.8 2003/06/02 20:18:37 millert Exp $ */
/*-
* Copyright (c) 1990, 1993
* The Regents of the University of California. All rights reserved.
*
* This code is derived from software contributed to Berkeley by
* Chris Torek.
*
... |
package org.apache.helix.monitoring.mbeans;
import java.lang.management.ManagementFactory;
import java.util.ArrayList;
import java.util.List;
import javax.management.JMException;
import javax.management.MBeanServer;
import javax.management.MalformedObjectNameException;
import javax.management.ObjectName;
import org... |
#include <aws/ec2/model/DescribePrefixListsResponse.h>
#include <aws/core/utils/xml/XmlSerializer.h>
#include <aws/core/AmazonWebServiceResult.h>
#include <aws/core/utils/StringUtils.h>
#include <aws/core/utils/logging/LogMacros.h>
#include <utility>
using namespace Aws::EC2::Model;
using namespace Aws::Utils::Xml... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null |
require 'familysearch/version'
require 'familysearch/gedcomx' # located in dependent familysearch-gedcomx gem
require 'familysearch/client'
|
/**
* CG Space Invaders
* CG45179 16'17
*
* @author: Rui Ventura ( ist181045 )
* @author: Diogo Freitas ( ist181586 )
* @author: Sara Azinhal ( ist181700 )
*/
import { Scene } from '../lib/threejs/scenes/Scene';
import { OrthographicCamera } from '../lib/threejs/cameras/OrthographicCamera';
import PlayerShip f... |
function hookQuickSearch() {
$('.quicksearch-field').each( function() {
var searchElems = $('.quicksearch-target').find( 'li' );
//var toggle = $(this).parents('.section').find('h3 .search-toggle');
// console.debug( "Toggle is: %o", toggle );
//var qsbox = $(this).parents('form').get( 0 );
$(this).quicksea... |
// Protocol Buffers - Google's data interchange format
// Copyright 2008 Google Inc. All rights reserved.
// https://developers.google.com/protocol-buffers/
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// ... |
Ti=Détails du transfert
sec=Les détails du transfert et, notamment, le cas échéant, les catégories particulières de {_données_à_caractère_personnel}, sont spécifiés dans l’appendice 1 qui fait partie intégrante des présentes clauses.
|
namespace mega
{
using namespace Windows::Foundation;
using Platform::String;
public enum class MErrorType
{
API_OK = 0,
API_EINTERNAL = -1, // internal error
API_EARGS = -2, // bad arguments
API_EAGAIN = -3, // request failed, retry with exponential backoff
API_ERATELIMIT = -4, // too many requests,... |
package com.google.gson;
import junit.framework.TestCase;
/**
* Unit tests for {@link GsonBuilder}.
*
* @author Inderjeet Singh
*/
public class GsonBuilderTest extends TestCase {
public void testCreatingMoreThanOnce() {
GsonBuilder builder = new GsonBuilder();
builder.create();
bu... |
import Ember from 'ember';
export default Ember.Route.extend({
model: function() {
var sequences = this.modelFor('treatise').get('sequences'),
store = this.get('store');
return new Ember.RSVP.Promise(function(resolve) {
Ember.RSVP.all(sequences.map(function(sequence) {
return store... |
@implementation IoBranchSdkBranchUniversalObjectProxy
-(id)init
{
return [super init];
}
-(void)_destroy
{
[super _destroy];
}
-(id)_initWithPageContext:(id<TiEvaluator>)context
{
// This method is one of the initializers for the proxy class. If the
// proxy is created without arguments then this ini... |
require.config({
shim: {
underscore: {
exports: '_'
},
backbone: {
deps: ['underscore', 'jquery'],
exports: 'Backbone'
},
bootstrap: {
deps: ['jquery'],
exports: '$.fn.popover'
},
marionette: {
deps: ['jquery', 'underscore', 'backbone'],
exports: 'Marionette'
}
},
paths: {
jque... |
import { execute, readAsset } from "./index";
export default (asset, compiler, stats, type) => {
let executed = execute(readAsset(asset, compiler, stats), type);
if (Array.isArray(executed)) {
executed = executed.map((module) => {
if (module[0] && typeof module[0].replace === "function") {
// es... |
namespace NuGetPackageExplorer.Types
{
public interface IFileEditorService
{
void Save(string filePath);
}
} |
. $1 $@
# EXPECTED_OUTPUTS should contains a semi comma separated list of output names
for i in $(echo $EXPECTED_OUTPUTS | tr ";" "\n")
do
# we prefix the output name to avoid collisions
echo EXPECTED_OUTPUT_$i=${!i}
done
# we need to sleep in order to ensure the output will be handled !
sleep 1 |
import {EWDLC} from "./framework/ewdlc.js"
import {initModules} from "./modules/modules.js"
$(document).ready(function () {
if($(".gameBoard").length == 0) return;
let ewdlc = window.ewdlc || new EWDLC("https://crazyman4865.com/eyewire/static");
window.ewdlc = ewdlc;
initModules();
ewdlc.init... |
package org.activiti.spring.components.config.java;
import org.activiti.engine.ProcessEngine;
/**
* callback for any configurations that want to override the defaults
* @author Josh Long
*/
public interface ActivitiConfigurer {
/***
* Build up the {@link ProcessEngine process engine}. The process engine
... |
// *******************
// * Data *
// *******************
var EDITOR = (function ($, parent) {
var my = parent.data = {},
toolbox = parent.toolbox,
step1_languagesloaded = false,
step2_xmlloaded = false,
step2_data = {},
// replace all line breaks in attributes wit... |
<soapenv:Envelope xsi:schemaLocation="http://schemas.xmlsoap.org/soap/envelope/ http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ord="http://infosys.tuwien.ac.at/a... |