code
stringlengths
4
1.01M
language
stringclasses
2 values
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } }...
Java
//===--- JumpDiagnostics.cpp - Protected scope jump analysis ------*- C++ -*-=// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
Java
// Copyright 2009-2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 #pragma once #include "trianglei.h" #include "triangle_intersector_moeller.h" #include "triangle_intersector_pluecker.h" namespace embree { namespace isa { /*! Intersects M triangles with 1 ray */ template<int M, int Mx, bool...
Java
<div class="container-fluid landing"> <div id="almari"> <center> <h1 id="alm">Almari</h1> <h2 id="sub">Elegant clothing. Delivered.</h2> </center> </div> <div class="sec1"> <div class="row" id="toprow"> <div class="col-md-6" id="borrow"> <center> ...
Java
// 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. // ==++== // // // ==--== // **************************************************************************** // File: ...
Java
--- title: ເວລາສຳລັບຄວາມດຸ່ນດ່ຽງ date: 16/12/2020 --- `ອ່ານມັດທາຍ 12:11-13 ແລະ ລູກາ 13:10-17. ຂໍ້ພຣະຄຳພີເຫຼົ່ານີ້ສະແດງໃຫ້ພວກເຮົາເຫັນວ່າ ພຣະເຢຊູໄດ້ຊົງສອນປະຊາຊົນໃນສະໄໝນັ້ນແລະໃນສະໄໝຂອງເຮົາເຖິ່ງເລື່ອງໃດ?` ພຣະເຢຊູໄດ້ຮັກສາຄົນເຈັບປ່ວຍໃນວັນສະບາໂຕ ການອັດສະຈັນຂອງພຣະອົງໄດ້ເຮັດໃຫ້ຊາວຢິວນັ້ນເລີ່ມສົນທະນາກັນກ່ຽວກັບຄຳຖາມຝ່າຍຈິດວິນ...
Java
[![Docker Hub](http://img.shields.io/badge/docker-hub-brightgreen.svg?style=flat)](https://registry.hub.docker.com/u/hopsoft/ruby-rbx/) [![Gratipay](http://img.shields.io/badge/gratipay-contribute-009bef.svg?style=flat)](https://gratipay.com/hopsoft/) # Trusted Docker Image for Rubinius Ruby ## Use the Trusted Image ...
Java
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html><head><title></title> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta name="generator" content="Doxygen 1.8.13"/> <link rel="stylesheet" type="text/css" href="search...
Java
# Borrowed from: https://github.com/ahornung/octomap-release # Copyright (c) 2009-2012, K. M. Wurm, A. Hornung, University of Freiburg # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # # * Re...
Java
import * as React from "react"; import { CarbonIconProps } from "../../"; declare const Opacity24: React.ForwardRefExoticComponent< CarbonIconProps & React.RefAttributes<SVGSVGElement> >; export default Opacity24;
Java
<?php /** * This file is part of DomainSpecificQuery * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. * * @author Nicolò Martini <nicmartnic@gmail.com> */ namespace DSQ\Test\Compiler; use DSQ\Compiler\CompilerChain; use DSQ\Expressi...
Java
/// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import <Foundation/Foundation.h> #import "DBSerializableProtocol.h" @class DBTEAMLOGAdminAlertSeverityEnum; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `AdminAlertSeverityEnum` unio...
Java
import os import pygtk pygtk.require('2.0') import gtk from gtkcodebuffer import CodeBuffer, SyntaxLoader class Ui(object): """ The user interface. This dialog is the LaTeX input window and includes widgets to display compilation logs and a preview. It uses GTK2 which must be installed an importable...
Java
#Javascript Introduction/Javascript简介 JavaScript is the programming language of the Web. The overwhelming majority of modern websites use JavaScript, and all modern web browsers—on desktops, game consoles, tablets, and smart phones—include JavaScript interpreters, making Java-Script the most ubiquitous programming lan...
Java
'use strict'; var convert = require('./convert'), func = convert('findLastIndexFrom', require('../findLastIndex')); func.placeholder = require('./placeholder'); module.exports = func; //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL2NsaWVudC9saWIvbG9kYXNoL2Zw...
Java
<?php /** * Functions related to starring private messages. * * @package BuddyPress * @subpackage MessagesStar * @since 2.3.0 */ // Exit if accessed directly. defined( 'ABSPATH' ) || exit; /** UTILITY **************************************************************/ /** * Return the starred messages slug. Defau...
Java
<!doctype html> <html> <head> <title>Radian to degree</title> <script src="/require.js"></script> <!-- ATTENTION: Remove in non-test code --> <script src="/requireconfig.js"></script> </head> <body> </body> </html>
Java
<?php namespace Illuminate\Cache; use Closure; use Exception; use Carbon\Carbon; use Illuminate\Contracts\Cache\Store; use Illuminate\Database\ConnectionInterface; class DatabaseStore implements Store { use RetrievesMultipleKeys; /** * The database connection instance. * * @var \Illuminate\Da...
Java
package net.sf.esfinge.metadata.validate.minValue;
Java
/* * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ '...
Java
<?php /* * This file is part of the Symfony package. * * (c) Fabien Potencier <fabien@symfony.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Bundle\FrameworkBundle\Test; use Symfony\Bundle\Fr...
Java
using System; using System.IO; using System.Text; using System.Text.RegularExpressions; using Ical.Net.DataTypes; namespace Ical.Net.Serialization.DataTypes { public class RequestStatusSerializer : StringSerializer { public RequestStatusSerializer() { } public RequestStatusSerializer(Serializ...
Java
# angucomplete-alt contributors (sorted alphabeticaly) --- ### [@alexbeletsky: Alexander Beletsky](https://github.com/alexbeletsky) * Publish to NPM #111, #121 ### [@alindber: Andy Lindberg](https://github.com/alindber) * Required support #23 * Auto match #29 ### [@andretw: Andre Lee](https://github.com/andretw) ...
Java
<?php return array( //Use the below link to get the parameters to be passed. //http://www.tig12.net/downloads/apidocs/wp/wp-includes/PHPMailer.class.html#det_fields_to "type"=>array( // Sets Mailer to send message using PHP mail() function. (true, false) "IsMail"=>false, // Sets Mailer to send message usi...
Java
<?php namespace Oro\Bundle\ApiBundle\Tests\Unit\Processor; use Doctrine\Common\Annotations\AnnotationReader; use Symfony\Component\Form\Extension\Validator\ValidatorExtension; use Symfony\Component\Form\FormBuilder; use Symfony\Component\Form\FormExtensionInterface; use Symfony\Component\Form\Forms; use Symfony\Comp...
Java
# How to write your own technology Starting with ENB version 0.8, we recommend using the `BuildFlow` helper for writing technologies. [The helper source code](https://github.com/enb/enb/blob/master/lib/build-flow.js) This guide doesn't cover all `BuildFlow` features. For a complete list of methods with descriptions,...
Java
.help { cursor: help; display: inline-block; font-size: 18px; margin-left: .33em; vertical-align: middle; }
Java
--- layout: page-fullwidth subheadline: "Celebration" title: "Tết Nguyên Đán 2015" meta_teaser: "Tet Nguyen Đan 2015 at VACSF" teaser: 'Celebration of <font face="Open Sans">Tết Nguyên Đán</font> (Lunar New Year) of 2015 at <font face="Open Sans">Hội Thánh Tin Lành Việt Nam</font> in the city of San Francisco (VACSF). ...
Java
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = function (fn /*, ...args*/) { var args = (0, _slice2.default)(arguments, 1); return function () /*callArgs*/{ var callArgs = (0, _slice2.default)(arguments); return fn.apply(null, args....
Java
/**************************************************************************** Copyright (c) 2010-2012 cocos2d-x.org Copyright (c) 2009-2010 Ricardo Quesada Copyright (c) 2011 Zynga Inc. http://www.cocos2d-x.org Permission is hereby granted, free of charge, to any person obtaining a copy of this software and asso...
Java
# app The `app` module is responsible for controlling the application's lifecycle. The following example shows how to quit the application when the last window is closed: ```javascript const app = require('electron').app; app.on('window-all-closed', function() { app.quit(); }); ``` ## Events The `app` object emi...
Java
'use strict'; var path = require('path'); var helpers = require('yeoman-generator').test; var assert = require('yeoman-assert'); describe('test framework', function () { describe('mocha', function () { before(function (done) { helpers.run(path.join(__dirname, '../app')) .inDir(path.join(__dirname, ...
Java
/*jshint maxstatements:false*/ define(function (require, exports) { "use strict"; var moment = require("moment"), Promise = require("bluebird"), _ = brackets.getModule("thirdparty/lodash"), CodeInspection = brackets.getModule("language/CodeIn...
Java
#!/bin/bash source ../common.sh subsection "oh-my-zsh" sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" chsh -s /bin/zsh mv "${HOME}/.zshrc.pre-oh-my-zsh" "${HOME}/.zshrc"
Java
<article id="post-<?php print $ID ?>" <?php post_class(); ?>> <div class="tb-short-img"> <?php toebox\inc\ToeBox::HandleFeaturedImage(); ?> </div> <?php print \toebox\inc\ToeBox::FormatListTitle($post_title, get_the_permalink()); ?> <div class="entry-metadata"> <!-- TODO: allow setting for...
Java
<!DOCTYPE html> <html lang="en"> <head> <title>ABNFImportError Enumeration Reference</title> <link rel="stylesheet" type="text/css" href="../css/jazzy.css" /> <link rel="stylesheet" type="text/css" href="../css/highlight.css" /> <meta charset="utf-8"> <script src="../js/jquery.min.js" defer></scri...
Java
#include "stdafx.h" #include "light.h" using namespace graphic; cLight::cLight() { } cLight::~cLight() { } void cLight::Init(TYPE type, const Vector4 &ambient, // Vector4(1, 1, 1, 1), const Vector4 &diffuse, // Vector4(0.2, 0.2, 0.2, 1) const Vector4 &specular, // Vector4(1,1,1,1) const Vector3 &direction...
Java
/** * \file * * \brief Autogenerated API include file for the Atmel Software Framework (ASF) * * Copyright (c) 2012 Atmel Corporation. All rights reserved. * * \asf_license_start * * \page License * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided t...
Java
<?php declare(strict_types=1); /* * This file is part of eelly package. * * (c) eelly.com * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Eelly\SDK\Order\Api; use Eelly\SDK\EellyClient; use Eelly\SDK\Order\Service\Lik...
Java
#region "Copyright" /* FOR FURTHER DETAILS ABOUT LICENSING, PLEASE VISIT "LICENSE.txt" INSIDE THE SAGEFRAME FOLDER */ #endregion #region "References" using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Data.SqlClient; using SageFrame.Web.Utilities; #endregion names...
Java
# -*- coding: utf-8 -*- # Copyright (c) 2020, Frappe Technologies and contributors # For license information, please see license.txt from __future__ import unicode_literals # import frappe from frappe.model.document import Document class WebPageBlock(Document): pass
Java
// // Source code recreated from a .class file by IntelliJ IDEA // (powered by Fernflower decompiler) // package cn.sharesdk.demo.utils; import android.annotation.TargetApi; import android.content.Context; import android.database.ContentObserver; import android.database.Cursor; import android.graphics.BitmapFactory; ...
Java
var Path = require('path'); var Hapi = require('hapi'); var server = new Hapi.Server(); var port = process.env.PORT || 5000; server.connection({ port: port }); server.views({ engines: { html: require('handlebars') }, path: Path.join(__dirname, 'views') }); server.route([ { path: '/', ...
Java
// // Copyright (c) 2014-2015, THUNDERBEAST GAMES LLC All rights reserved // // 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 restriction, including without limitation the rights //...
Java
//----------------------------------------------------------------------------- // Verve // Copyright (C) - Violent Tulip //----------------------------------------------------------------------------- function VControllerPropertyList::CreateInspectorGroup( %this, %targetStack ) { %baseGroup = Parent::CreateInspec...
Java
module Cms::PublicFilter extend ActiveSupport::Concern include Cms::PublicFilter::Node include Cms::PublicFilter::Page include Mobile::PublicFilter include Kana::PublicFilter included do rescue_from StandardError, with: :rescue_action before_action :set_site before_action :set_request_path ...
Java
<h1>Home</h1> <p>You're logged in!!</p> <p><a href="#/login">Logout</a></a></p>
Java
// Copyright 2019 The Gitea Authors. All rights reserved. // Use of this source code is governed by a MIT-style // license that can be found in the LICENSE file. package queue import ( "errors" "strings" "code.gitea.io/gitea/modules/log" "github.com/go-redis/redis" ) // RedisQueueType is the type for redis que...
Java
/** * @file fly_id3.h * * Declaration of the pianobarfly ID3 helper functions. These are helper * functions to assist with creating an ID3 tag using the libid3tag library. */ /* * Copyright (c) 2011 * Author: Ted Jordan * * Permission is hereby granted, free of charge, to any person obtaining a copy * of t...
Java
package velir.intellij.cq5.util; import javax.jcr.Node; import javax.jcr.NodeIterator; import javax.jcr.RepositoryException; import javax.jcr.Session; import java.util.ArrayList; import java.util.List; /** * Utility class for helping work with Repository objects. */ public class RepositoryUtils { /** * Hide defa...
Java
<html> <META HTTP-EQUIV=Content-Type Content="text/html; charset=utf8"> <!-- Mirrored from lis.ly.gov.tw/lghtml/lawstat/version2/02409/0240996011200.htm by HTTrack Website Copier/3.x [XR&CO'2010], Sun, 24 Mar 2013 09:19:03 GMT --> <head><title>法編號:02409 版本:096011200</title> <link rel="stylesheet" type="text/css" href=...
Java
/**************************************************************************** Copyright (c) 2011-2013,WebJet Business Division,CYOU http://www.genesis-3d.com.cn Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal ...
Java
#include "GlobalSystems.h" namespace globalSystem { WindowManagerGL window; TimeData time; MouseData mouse; KeyPressData keys; TextureManager textures; ModelManager models; DynamicFloatMap runtimeData; RandomNumberGenerator rng; Font gameFont; Font gameFontLarge;...
Java
/* Define to 1 if you have the <stdlib.h> header file. */ /*#define HAVE_STDLIB_H 1*/
Java
/** * Module dependencies. */ var api = require('lib/db-api'); var config = require('lib/config'); var express = require('express'); var jwt = require('lib/jwt'); var passport = require('passport'); var log = require('debug')('democracyos:auth:facebook:routes'); var User = require('lib/models').User; var fbSignedPar...
Java
using System; using System.Linq; using System.Threading.Tasks; using Microsoft.Azure.WebJobs.Host; using Microsoft.ProjectOxford.Face; using Microsoft.ProjectOxford.Face.Contract; namespace Novanet { public static class FaceServiceClientExtensions { public static async Task CreatePersonGroupIfNotExisin...
Java
# Latte-lang 规范 # 目录 1. [起步](#p1) 1. [基础语法](#p1-1) 2. [文件结构](#p1-2) 2. [基础](#p2) 1. [字面量](#p2-1) 2. [基本类型](#p2-2) 3. [控制流](#p2-3) 3. [类和对象](#p3) 1. [类与继承](#p3-1) 2. [接口](#p3-2) 3. [字段和方法](#p3-3) 4. [修饰符](#p3-4) 5. [Data Class](#p3-5) 6. [实例化](#p3-6) 7. [Object Class](#p3-7) 8. [隐式转换](#p3-8) 4. [函数类和Lambd...
Java
<?xml version="1.0" ?><!DOCTYPE TS><TS language="th_TH" version="2.0"> <defaultcodec>UTF-8</defaultcodec> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About Linkcoin</source> <translation>เกี่ยวกับ บิตคอย์น</translation> ...
Java
#region Using directives using System; using System.Data; using System.Data.Common; using System.Collections; using System.Collections.Generic; using System.Diagnostics; using Nettiers.AdventureWorks.Entities; using Nettiers.AdventureWorks.Data; #endregion namespace Nettiers.AdventureWorks.Data.Bases...
Java
# Be sure to restart your server when you modify this file. Hypermedia::Application.config.session_store :cookie_store, key: '_hypermedia_session' # Use the database for sessions instead of the cookie-based default, # which shouldn't be used to store highly confidential information # (create the session table with "r...
Java
#ifndef ANONCOIN_MINER_H #define ANONCOIN_MINER_H #include <stdint.h> typedef long long int64; typedef unsigned long long uint64; class CBlock; class CBlockHeader; class CBlockIndex; struct CBlockTemplate; class CReserveKey; class CScript; #ifdef ENABLE_WALLET class CWallet; void AnoncoinMiner(CWallet *pwallet);...
Java
<TS language="hi_IN" version="2.1"> <context> <name>AddressBookPage</name> <message> <source>Create a new address</source> <translation>नया पता लिखिए !</translation> </message> <message> <source>Copy the currently selected address to the system clipboard</source> <transla...
Java
// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // re...
Java
// © 2000 NEOSYS Software Ltd. All Rights Reserved.//**Start Encode** function form_postinit() { //enable/disable password changing button neosyssetexpression('button_password', 'disabled', '!gusers_authorisation_update&&gkey!=gusername') //force retrieval of own record if (gro.dictitem('USER...
Java
// MIT License. Copyright (c) 2016 Maxim Kuzmin. Contacts: https://github.com/maxim-kuzmin // Author: Maxim Kuzmin using Autofac; using Autofac.Core; using Makc2017.Core.App; using System.Collections.Generic; using System.Linq; namespace Makc2017.Modules.Dummy.Caching { /// <summary> /// Модули. Модуль "Dum...
Java
/** * @fileoverview added by tsickle * @suppress {checkTypes,extraRequire,uselessCode} checked by tsc */ /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ /** * @m...
Java
package queue; /** * Queue server metadata manager. * * @author Thanh Nguyen <btnguyen2k@gmail.com> * @since 0.1.0 */ public interface IQsMetadataManager { }
Java
<?php /* * This file is part of the Symfony package. * * (c) Fabien Potencier <fabien@symfony.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\Routing\Generator; use Symfony\Component\Routing\Rout...
Java
'use strict'; const path = require('path'), mongoose = require('mongoose'), Promise = require('bluebird'), errorHandler = require(path.resolve('./modules/core/server/controllers/errors.server.controller')), _ = require('lodash'); mongoose.Promise = Promise; const User = mongoose.model('User'); const ...
Java
using System.Linq; using System.Threading.Tasks; using JSONAPI.Documents; using Newtonsoft.Json; namespace JSONAPI.Json { /// <summary> /// Default implementation of ISingleResourceDocumentFormatter /// </summary> public class SingleResourceDocumentFormatter : ISingleResourceDocumentFormatter { ...
Java
/*jshint unused:false*/ var chai = require('chai'), expect = chai.expect; var request = require('supertest'); module.exports = function() { 'use strict'; this.Then(/^The JSON is returned by issuing a "GET" at the specified uri:$/, function(json, callback) { request(this.serverLocation) .get('/hello...
Java
// Copyright (c) DotSpatial Team. All rights reserved. // Licensed under the MIT license. See License.txt file in the project root for full license information. using System; using System.ComponentModel; using System.Drawing; using System.Drawing.Design; using System.Windows.Forms; using System.Windows.Forms.D...
Java
<?xml version="1.0" encoding="utf-8"?> <!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" xml:lang="en" lang="en"> <head> <title>deprecation.rb</title> <meta http-equiv="Content-Type" content="t...
Java
/* global sinon, setup, teardown */ /** * __init.test.js is run before every test case. */ window.debug = true; var AScene = require('aframe').AScene; beforeEach(function () { this.sinon = sinon.sandbox.create(); // Stub to not create a WebGL context since Travis CI runs headless. this.sinon.stub(AScene.prototy...
Java
/// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import <Foundation/Foundation.h> #import "DBSerializableProtocol.h" @class DBPAPERImportFormat; @class DBPAPERPaperDocCreateArgs; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `PaperD...
Java
#container{ width: 750px; margin: 0 auto; text-align: left; } #header { position: relative; top:2px; } #menu{ float: left; width: 150px; } #anchorMenu{ position: fixed; top: auto; width: 8em; left: auto; margin: -2.5em 0 0 0; z-index: 5; overflow: hidden; padding-top: 20px; } #mainArea{ ...
Java
<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Frames &mdash; Leap Motion C++ SDK v3.1 documentation</title> <link rel="stylesheet" href="../../cpp/_static/bootstrap-3.0.0/css/...
Java
{% raw %}{% extends "wagtailadmin/home.html" %} {% load wagtailcore_tags wagtailsettings_tags %} {% get_settings %} {% block branding_welcome %} Welcome {% if settings.pages.SiteBranding.site_name %}to {{ settings.pages.SiteBranding.site_name }}{% endif %} {% endblock %}{% endraw %}
Java
public enum CoffeePrice { Small = 50, Normal = 100, Double =200 }
Java
<!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_66-internal) on Tue Dec 08 09:28:01 GMT 2015 --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Uses of Class org.a...
Java
"use strict"; var mathUtils = require("./math-utils"); exports.shuffle = function(array) { var len = array.length; for ( var i=0; i<len; i++ ) { var rand = mathUtils.randomInt(0,len-1); var temp = array[i]; array[i] = array[rand]; array[rand] = temp; } };
Java
# -*- coding: utf-8 -*- # # Cloud Robotics FX 会話理解API用メッセージ # # @author: Osamu Noguchi <noguchi@headwaters.co.jp> # @version: 0.0.1 import cloudrobotics.message as message APP_ID = 'SbrApiServices' PROCESSING_ID = 'RbAppConversationApi' # 会話メッセージ # class ConversationMessage(message.CRFXMessage): def __init__...
Java
Rails.application.routes.draw do namespace :admin do namespace :reports do get 'deliveries' => 'deliveries#index' end get 'users' => 'users#index' get 'users/:id' => 'users#show' end root to: 'pages#index' end
Java
/* eslint quote-props: ["error", "consistent"] */ // Japanese Hirajoshi scale // 1-4-2-1-4 // Gb G B Db D Gb export default { 'a': { instrument: 'piano', note: 'a4' }, 'b': { instrument: 'piano', note: 'eb3' }, 'c': { instrument: 'piano', note: 'd6' }, 'd': { instrument: 'piano', note: 'eb4' }, 'e': { inst...
Java
<html> <META HTTP-EQUIV=Content-Type Content="text/html; charset=utf8"> <!-- Mirrored from lis.ly.gov.tw/lghtml/lawstat/version2/01583/0158388122800.htm by HTTrack Website Copier/3.x [XR&CO'2010], Sun, 24 Mar 2013 09:13:25 GMT --> <head><title>法編號:01583 版本:088122800</title> <link rel="stylesheet" type="text/css" href=...
Java
// Copyright (c) to owners found in https://github.com/AArnott/pinvoke/blob/master/COPYRIGHT.md. All rights reserved. // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. namespace PInvoke { using System.Runtime.InteropServices; /// <content> /// Conta...
Java
package arn // PersonName represents the name of a person. type PersonName struct { English Name `json:"english" editable:"true"` Japanese Name `json:"japanese" editable:"true"` } // String returns the default visualization of the name. func (name *PersonName) String() string { return name.ByUser(nil) } // ByUse...
Java
package testdata import ( . "goa.design/goa/v3/dsl" ) var ConflictWithAPINameAndServiceNameDSL = func() { var _ = API("aloha", func() { Title("conflict with API name and service names") }) var _ = Service("aloha", func() {}) // same as API name var _ = Service("alohaapi", func() {}) // API name + 'api' su...
Java
/** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import {async, fakeAsync, tick} from '@angular/core/testing'; import {AsyncTestCompleter, beforeEach, describe, inje...
Java
// ========================================================================== // Project: SproutCore Metal // Copyright: ©2011 Strobe Inc. and contributors. // License: Licensed under MIT license (see license.js) // ========================================================================== require('sproutcore-metal...
Java
require 'rubygems' require 'active_support' require 'active_merchant' class GatewaySupport #:nodoc: ACTIONS = [:purchase, :authorize, :capture, :void, :credit, :recurring] include ActiveMerchant::Billing attr_reader :gateways def initialize Dir[File.expand_path(File.dirname(__FILE__) + '/../active_merc...
Java
/* * Copyright (c) 2011-2015 Håkan Edling * * This software may be modified and distributed under the terms * of the MIT license. See the LICENSE file for details. * * http://github.com/piranhacms/piranha * */ using System; using System.Collections.Generic; namespace Piranha.Extend { /// <...
Java
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="GetNodeScriptsTest.cs" company="automotiveMastermind and contributors"> // © automotiveMastermind and contributors. Licensed under MIT. See LICENSE and CREDITS for details. // </...
Java
<?php /* SonataAdminBundle:CRUD:base_list_flat_inner_row.html.twig */ class __TwigTemplate_16b98d4be50387198a258942bcac860cb5e7d142e913464f9538849439128cff extends Twig_Template { public function __construct(Twig_Environment $env) { parent::__construct($env); $this->parent = false; $t...
Java
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en_US" lang="en_US"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Qt 4.8: t...
Java
var Promise = require('ember-cli/lib/ext/promise'); module.exports = { normalizeEntityName: function() {}, afterInstall: function() { var addonContext = this; return this.addBowerPackageToProject('jquery-ui', '1.10.1') .then(function() { return addonContext.addBowerPackageToProject('jquer...
Java
import time import random from random import randint # from library import Trigger, Axis # from library import PS4 from library import Joystick import RPi.GPIO as GPIO # remove!!! from emotions import angry, happy, confused # from pysabertooth import Sabertooth # from smc import SMC from library import LEDDisplay from...
Java
## # This code was generated by # \ / _ _ _| _ _ # | (_)\/(_)(_|\/| |(/_ v1.0.0 # / / # # frozen_string_literal: true module Twilio module REST class Api < Domain class V2010 < Version class AccountContext < InstanceContext class ApplicationList < ListResource ...
Java
<?php namespace Omnipay\Braintree\Message; /** * Find Customer Request * * @method CustomerResponse send() */ class FindCustomerRequest extends AbstractRequest { public function getData() { return $this->getCustomerData(); } /** * Send the request with specified data * * @pa...
Java
#!/usr/bin/env python # -*- coding: utf-8 -*- # # pywim documentation build configuration file, created by # sphinx-quickstart on Tue Jul 9 22:26:36 2013. # # This file is execfile()d with the current directory set to its # containing dir. # # Note that not all possible configuration values are present in this # autog...
Java