code
stringlengths
4
1.01M
language
stringclasses
2 values
'use strict';var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { if (typeof Reflect === "object" && typeof Reflect.decorate === "function") return Reflect.decorate(decorators, target, key, desc); switch (arguments.length) { case 2: return decorators.reduceRight(funct...
Java
# Makefile for Sphinx documentation # # You can set these variables from the command line. SPHINXOPTS = SPHINXBUILD = sphinx-build PAPER = BUILDDIR = build # User-friendly check for sphinx-build ifeq ($(shell which $(SPHINXBUILD) >/dev/null 2>&1; echo $$?), 1) $(error The '$(SPHINXBUILD)' command wa...
Java
#!/bin/bash fusermount -u ${MNT}/xiaomi
Java
window.hideAlert = function () { $('#alertMessage').addClass("hidden"); $('#alertMessage').text(""); }; window.showAlert = function (msg) { $('#alertMessage').text(msg); $('#alertMessage').addClass("alert-danger"); $('#alertMessage').removeClass("hidden"); $('#alertMessage').fadeOut(100).fadeI...
Java
-- ####################################### -- ## Project: HUD iLife ## -- ## For MTA: San Andreas ## -- ## Name: HudComponent_Weapons.lua ## -- ## Author: Noneatme ## -- ## Version: 1.0 ## -- ## License: See top Folder ## -- ####################################### -- FUNCTIONS / METHODS -- local cFu...
Java
#### Scripts ##### HashIncidentsFields - Fixed an issue where custom fields were returned by default as part of the incident object.
Java
using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using Satrabel.Starter.EntityFramework; using Abp.Authorization; using Abp.BackgroundJobs; using Abp.Notifications; names...
Java
--- weekly_roundup: true title: "Roundup: Agile subway, retrospectives and appreciation, instant GraphQL API, fun counterfeits, less workdays" date: '2018-07-20 13:00:00 BST' authors: - 'Elena Tanasoiu' tags: # (Delete as appropriate) - Culture --- ## Agile Subway Map - [Richard S](/people#richard-stobart) https...
Java
# iTerm2 Puppet Module for Boxen ## Usage ```puppet # Stable release include iterm2::stable # Dev release include iterm2::dev ``` ## Required Puppet Modules * boxen * stdlib
Java
@font-face { font-family: 'Voltaire'; src: url("assets/Voltaire.eot"); src: url("Voltaire.eot?#iefix") format("embedded-opentype"), url("assets/Voltaire.woff") format("woff"), url("assets/Voltaire.ttf") format("truetype"), url("assets/Voltaire.svg#webfont") format("svg"); }
Java
local pubsub = require "util.pubsub"; local st = require "util.stanza"; local jid_bare = require "util.jid".bare; local usermanager = require "core.usermanager"; local xmlns_pubsub = "http://jabber.org/protocol/pubsub"; local xmlns_pubsub_event = "http://jabber.org/protocol/pubsub#event"; local xmlns_pubsub_owner = "h...
Java
#include <rpc/rpc.h>
Java
/* * sha1.h * * Copyright (C) 1998, 2009 * Paul E. Jones <paulej@packetizer.com> * All Rights Reserved * ***************************************************************************** * $Id: sha1.h 12 2009-06-22 19:34:25Z paulej $ ****************************************************************************...
Java
--- title: Det nya förbundets präst date: 03/06/2021 --- Hebreerbrevet betonar starkt Jesus som vår överstepräst i den himmelska helgedomen. Där finns faktiskt Nya testamentets tydligaste utläggning om det nya förbundet med dess betoning på Kristus som överstepräst. Detta är inget sammanträffande. Kristus himmelska ...
Java
<?php /* * Copyright 2007-2013 Charles du Jeu - Abstrium SAS <team (at) pyd.io> * This file is part of Pydio. * * Pydio is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published by * the Free Software Foundation, either version 3 of the License, o...
Java
// // KRActivityIndicatorView.h // KRActivityIndicatorView // // Created by Krimpedance on 2017/05/10. // Copyright © 2017年 Krimpedance. All rights reserved. // #import <UIKit/UIKit.h> //! Project version number for KRActivityIndicatorView. FOUNDATION_EXPORT double KRActivityIndicatorViewVersionNumber; //! Proje...
Java
// // UIDevice+YYAdd.h // YYCategories <https://github.com/ibireme/YYCategories> // // Created by ibireme on 13/4/3. // Copyright (c) 2015 ibireme. // // This source code is licensed under the MIT-style license found in the // LICENSE file in the root directory of this source tree. // #import <UIKit/UIKit.h> /*...
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_101) on Wed Sep 21 04:14:05 CEST 2016 --> <title>com.snakybo.torch.graphics.shader (Torch Engine 1.0 API)</title> <meta name="date" content="20...
Java
define('controllers/panel',['require','jquery','backbone','utils/metrics','utils/browser','utils/video-player','utils/pubsub','controllers/panel-display'],function(require) { var $ = require('jquery'), Backbone = require('backbone'), Metrics = require('utils/metrics'), Browser = require('uti...
Java
// Design Basic Game Solo Challenge // This is a solo challenge // Your mission description:To complete a line of the same figure, horizontal, diagonal or vertical // Overall mission: To win all the time :) // Goals: make a line of the same kind before computer does // Characters:You and the computer // Objects:tic ...
Java
from django.conf import settings from django.conf.urls.defaults import patterns, url from django.core.exceptions import ObjectDoesNotExist, MultipleObjectsReturned from django.core.urlresolvers import NoReverseMatch, reverse, resolve, Resolver404 from django.db.models.sql.constants import QUERY_TERMS, LOOKUP_SEP from d...
Java
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; namespace Company { public partial class Site : System.Web.UI.MasterPage { protected void Page_Load(object sender, EventArgs e) { } } }
Java
/* Copyright (C) 1986-2001 by Digital Mars. */ #if __SC__ || __RCC__ #pragma once #endif #ifndef RC_INVOKED #pragma pack(__DEFALIGN) #endif #include <win32\scdefs.h> #include <win32\LMCONFIG.H> #ifndef RC_INVOKED #pragma pack() #endif
Java
<?php /** * Magento * * NOTICE OF LICENSE * * This source file is subject to the Open Software License (OSL 3.0) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://opensource.org/licenses/osl-3.0.php * If you did not re...
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. */ package com.microsoft.azure.management.monitor; import com.fasterxml.jackson.annotation...
Java
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("Co...
Java
// GridFS // Copyright(c) 2013 Siddharth Mahendraker <siddharth_mahen@me.com> // MIT Licensed exports.GridFS = require('./lib/GridFS'); exports.GridStream = require('./lib/GridStream');
Java
// @flow class A { x = [1, 2, 3]; y = 4; foo() { this.x = this.x.map(function (z) { this.y; // error, function has wrong this }); } } class B { x = [1, 2, 3]; y = 4; foo() { this.x = this.x.map(function (z) { this.y; // ok, function gets pass...
Java
import collectionClass from "./collections.class"; import collectionColor from "./collections.color"; function collectionBackgroundStyles(contentItem) { return ` .${collectionClass(contentItem)} { background-color: #${collectionColor(contentItem)}; } `; } export default collectionBackgroundStyles;
Java
<?php /** * @Created By ECMall PhpCacheServer * @Time:2015-01-17 18:28:59 */ if(filemtime(__FILE__) + 600 < time())return false; return array ( 'inbox' => '0', 'outbox' => '0', 'total' => 0, ); ?>
Java
/* Open Asset Import Library (assimp) ---------------------------------------------------------------------- Copyright (c) 2006-2018, assimp team All rights reserved. Redistribution and use of this software in source and binary forms, with or without modification, are permitted provided that the following condition...
Java
--[[ Copyright (c) 2016 Calvin Rose 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 to use, copy, modify, merge, publish, distribute, su...
Java
namespace SIM.Tool.Windows.MainWindowComponents { using System.Windows; using SIM.Instances; using SIM.Tool.Base; using SIM.Tool.Base.Plugins; using SIM.Tool.Windows.Dialogs; using JetBrains.Annotations; [UsedImplicitly] public class DatabaseManagerButton : IMainWindowButton { #region Public met...
Java
package com.xeiam.xchange.lakebtc.marketdata; import static org.fest.assertions.api.Assertions.assertThat; import java.io.IOException; import java.io.InputStream; import java.math.BigDecimal; import org.junit.Test; import com.fasterxml.jackson.databind.ObjectMapper; import com.xeiam.xchange.lakebtc.dto.marketdata.L...
Java
using System; using BEPUutilities.DataStructures; namespace BEPUutilities.ResourceManagement { /// <summary> /// Uses a spinlock to safely access resources. /// </summary> /// <typeparam name="T">Type of object to store in the pool.</typeparam> public class LockingResourcePool<T> : ResourcePool<T>...
Java
version https://git-lfs.github.com/spec/v1 oid sha256:71736be070607c3c30f4c139b063edf1b1ffa587cf725a0acc1e06c6d3af0e48 size 53235
Java
'use strict'; /** * Module dependencies. */ var mongoose = require('mongoose'), CurrentModel = mongoose.model('Attendance'), Schedule = mongoose.model('Schedule'), Group = mongoose.model('Group'), _ = require('lodash'); exports.attendance = function(req, res, next, id) { CurrentModel.load(id, function(err...
Java
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html><head><title>Plugin</title> <meta http-equiv="Content-Style-Type" content="text/css"> <style type="text/css"><!-- body { margin: 5px 5px 5px 5px; background-color: #ffffff; } /* ========== Text Styles ========== */ hr { color: #000000} ...
Java
#ifndef OSCTOOLS_HPP_INCLUDED #define OSCTOOLS_HPP_INCLUDED class OscOptionalUnpacker { ofxOscMessage & msg; int n; public: OscOptionalUnpacker(ofxOscMessage & m):msg(m),n(0){} OscOptionalUnpacker & operator >> (int & i) { if(n < msg.getNumArgs()) { i = msg.getArgAsI...
Java
package org.magcruise.gaming.executor.api.message; import org.magcruise.gaming.lang.Message; import org.magcruise.gaming.lang.SConstructor; public interface RequestToGameExecutor extends Message { @Override public SConstructor<? extends RequestToGameExecutor> toConstructor(ToExpressionStyle style); @Override pu...
Java
using System; using System.Collections.Generic; using System.Linq; using System.Text; using NUnit.Framework; namespace UnitTests { [TestFixture] public class ProjectTests { [TestFixtureSetUp] public void Initialize() { } [Test] public void TestCsvRename() ...
Java
import os import re from opsbro.collector import Collector # DMI have lot of useful information that detectors can use to know lot about the platform/hardware class Dmidecode(Collector): def launch(self): logger = self.logger logger.debug('getDmidecode: start') res = {} #...
Java
# Websocket Module | Since | Origin / Contributor | Maintainer | Source | | :----- | :-------------------- | :---------- | :------ | | 2016-08-02 | [Luís Fonseca](https://github.com/luismfonseca) | [Luís Fonseca](https://github.com/luismfonseca) | [websocket.c](../../../app/modules/websocket.c)| A websocket *clien...
Java
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //----------------------------------------...
Java
// // VOKManagedObjectMapper.h // Vokoder // // Copyright © 2015 Vokal. // #import <Foundation/Foundation.h> #import <CoreData/CoreData.h> #import "VOKCoreDataCollectionTypes.h" #import "VOKNullabilityFeatures.h" #import "VOKManagedObjectMap.h" NS_ASSUME_NONNULL_BEGIN /// An completion block to run after import...
Java
"use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _createSvgIcon = _interopRequireDefault(require("./utils/createSvgIcon")); var _jsxRuntime = require("react/jsx-runtime")...
Java
# Be sure to restart your server when you modify this file. Rails.application.config.session_store :cookie_store, key: '_ctgov_session'
Java
import dateformat from 'dateformat'; import { map } from "underscore"; import { getAccountById } from 'routes/root/routes/Banking/routes/Accounts/modules/accounts'; import { getCreditCardById, getPrepaidCardById } from 'routes/root/routes/Banking/routes/Cards/modules/cards'; import { getLoanById } from 'routes/root/rou...
Java
#include <iostream> #include <map> #include <stdexcept> using namespace std; int main(int argc, char* argv[]){ map<string, int> m; m["bob"] = 56; m["alice"] = 89; m["billy"] = 3; // print it out map<string,int>::iterator i; for(i = m.begin(); i != m.end(); i++){ cout << i->first << ": " << i->second <<...
Java
This directory contains samples for VMC organization APIs: Running the samples $ python organization_operations.py -r <refresh_token> * Testbed Requirement: - At least one org associated with the calling user.
Java
var assert = require('assert'); var num = require('../'); test('sub', function() { assert.equal(num.sub(0, 0), '0'); assert.equal(num.sub('0', '-0'), '0'); assert.equal(num.sub('1.0', '-1.0'), '2.0'); assert.equal(num('987654321987654321.12345678901').sub(100.012), '987654321987654221.11145678901');...
Java
require File.join(File.dirname(__FILE__), "/../spec_helper") describe "Firefox" do before(:each) do @browser = Firefox.new @url = "http://localhost" end describe "Cross OS Firefox", :shared => true do it "should be supported" do @browser.should be_supported end end describe "Mac O...
Java
<?php if (!$loader = @require_once __DIR__ . '/../vendor/autoload.php') { die("You must set up the project dependencies, run the following commands: wget http://getcomposer.org/composer.phar php composer.phar install --dev --prefer-source "); } /* @var $loader \Composer\Autoload\ClassLoader */ $loader->add('Doctr...
Java
using System.ComponentModel; namespace EncompassRest.Loans.Enums { /// <summary> /// PropertyValuationMethodType /// </summary> public enum PropertyValuationMethodType { /// <summary> /// Automated Valuation Model /// </summary> [Description("Automated Valuation Mode...
Java
/*! * vue-resource v1.5.3 * https://github.com/pagekit/vue-resource * Released under the MIT License. */ 'use strict'; /** * Promises/A+ polyfill v1.1.4 (https://github.com/bramstein/promis) */ var RESOLVED = 0; var REJECTED = 1; var PENDING = 2; function Promise$1(executor) { this.state = PENDING; this.val...
Java
console.log('argv[0]: '+process.argv[0]); console.log('argv[1]: '+process.argv[1]);
Java
//------------------------------------------------------------------------------ // <auto-generated> // このコードはツールによって生成されました。 // ランタイム バージョン:2.0.50727.8806 // // このファイルへの変更は、以下の状況下で不正な動作の原因になったり、 // コードが再生成されるときに損失したりします。 // </auto-generated> //----------------------------------------------------------...
Java
# Copyright (C) 2009 Pascal Rettig. require 'rss/2.0' class Feed::RssRenderer < ParagraphRenderer paragraph :feed paragraph :view_rss paragraph :rss_auto_discovery, :cache => true def feed paragraph_data = (paragraph.data || {}).symbolize_keys @handler_info = get_handler_info(:feed,:rss,pa...
Java
'use strict'; var Crawler = require('../lib/crawler'); var expect = require('chai').expect; var jsdom = require('jsdom'); var httpbinHost = 'localhost:8000'; describe('Errors', function() { describe('timeout', function() { var c = new Crawler({ timeout : 1500, retryTimeout : 1000, ...
Java
using System; using Xamarin.Forms; using System.Collections.ObjectModel; using System.Threading.Tasks; using System.Linq; namespace MyShop { public class StoresViewModel : BaseViewModel { readonly IDataStore dataStore; public ObservableCollection<Store> Stores { get; set;} public ObservableCollection<Grouping...
Java
"use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _createSvgIcon = _interopRequireDefault(require("./utils/createSvgIcon")); var _jsxRuntime = require("react/jsx-runtime")...
Java
{% extends "layout.html" %} {% block page_title %} Personal details {% endblock %} {% block content %} <main id="content" role="main"> {% include "../includes/phase_banner_alpha.html" %} <form action="contact-details" method="#" class="form"> <div class="grid-row"> <div class="column-two-thirds"> <hea...
Java
#!/usr/bin/python # convert LLVM GenAsmWriter.inc for Capstone disassembler. # by Nguyen Anh Quynh, 2019 import sys if len(sys.argv) == 1: print("Syntax: %s <GenAsmWriter.inc> <Output-GenAsmWriter.inc> <Output-GenRegisterName.inc> <arch>" %sys.argv[0]) sys.exit(1) arch = sys.argv[4] f = open(sys.argv[1]) li...
Java
#!/usr/bin/env perl use strict; use warnings; # Author: lh3 # # This script is literally translated from the C version. It has two funtionalities: # # a) compute the length of the reference sequence contained in an alignment; # b) collapse backward overlaps and generate consensus sequence and quality # # During the c...
Java
const PlotCard = require('../../plotcard.js'); class RiseOfTheKraken extends PlotCard { setupCardAbilities() { this.interrupt({ when: { onUnopposedWin: event => event.challenge.winner === this.controller }, handler: () => { this.game.addMe...
Java
using System.Drawing; using System.Drawing.Drawing2D; static class DrawHelper { public static GraphicsPath CreateRoundRect(float x, float y, float width, float height, float radius) { GraphicsPath gp = new GraphicsPath(); gp.AddLine(x + radius, y, x + width - (radius * 2), y); gp.AddAr...
Java
namespace Perspex.Controls { using Layout; public class RightDocker : Docker { public RightDocker(Size availableSize) : base(availableSize) { } public Rect GetDockingRect(Size sizeToDock, Margins margins, Alignments alignments) { var marginsCutout = marg...
Java
class CreateCollectSalaries < ActiveRecord::Migration def change create_table :collect_salaries do |t| t.belongs_to :user t.decimal :money, :precision => 10, :scale => 2 t.date :collect_date t.string :notes t.timestamps null: false end end end
Java
<?php /** * Amon: Integrate FuelPHP with Amon Exception & Logging * * @package Amon * @version v0.1 * @author Matthew McConnell * @license MIT License * @link http://github.com/maca134/fuelphp-amon */ Autoloader::add_core_namespace('Amon'); Autoloader::add_classes(array( 'Amon\\Error' ...
Java
#! /usr/bin/env ruby # # <script name> # # DESCRIPTION: # Get time series values from Graphite and create events based on values # # OUTPUT: # plain text # # PLATFORMS: # Linux # # DEPENDENCIES: # gem: sensu-plugin # gem: array_stats # # USAGE: # #YELLOW # # NOTES: # # LICENSE: # Copyright 2012 Ulf Mans...
Java
#include "machineoperand.h" #include "basicblock.h" #include <cassert> #include <iostream> #include <new> using namespace TosLang::BackEnd; MachineOperand::MachineOperand() : mKind{ OperandKind::UNKNOWN } { } MachineOperand::MachineOperand(const unsigned op, const OperandKind kind) { assert((kind == OperandKin...
Java
/* This file contains the sigma-delta driver implementation. */ #include "platform.h" #include "hw_timer.h" #include "task/task.h" #include "c_stdlib.h" #include "pcm.h" static const os_param_t drv_sd_hw_timer_owner = 0x70636D; // "pcm" static void ICACHE_RAM_ATTR drv_sd_timer_isr( os_param_t arg ) { cfg_t *...
Java
module Packet class Reactor include Core #set_thread_pool_size(20) attr_accessor :fd_writers, :msg_writers,:msg_reader attr_accessor :result_hash attr_accessor :live_workers #after_connection :provide_workers def self.server_logger= (log_file_name) @@server_logger = log_file_name ...
Java
<h3 class="title">How to Use</h3> <h5 class="htu-content"> <ul class="list-blank text-center"> <li class="list-item-header first"><h3>1</h3></li> <li>Add the AngularJS <a href="https://code.angularjs.org/1.2.16/angular-animate.min.js" target="_blank">ngAnimate</a> script to your project</li> <li class="lis...
Java
#!/bin/sh tar -xf $INPUT_CODE && mv ping /ping cd /ping && npm install
Java
/* * Copyright (c) 2017 Nathan Osman * * 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 to use, copy, modify, merge, publis...
Java
// // Reflect.cs: Creates Element classes from an instance // // Author: // Miguel de Icaza (miguel@gnome.org) // // Copyright 2010, Novell, Inc. // // Code licensed under the MIT X11 license // using System; using System.Collections; using System.Collections.Generic; using System.Reflection; using System.Text; using...
Java
using Microsoft.AspNet.Identity; using Microsoft.AspNet.Identity.EntityFramework; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Security.Claims; using System.Threading.Tasks; using System.Web; namespace Blog.Models { // You can add pro...
Java
<!DOCTYPE HTML> <html lang="en-US" > <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=11; IE=10; IE=9; IE=8; IE=7; IE=EDGE" /> <title>名词解释 | EMP用户手册</title> <meta content="text/html; charset=utf-8" http-equiv="Content-Type"> <meta nam...
Java
#!/usr/bin/env ruby require './lib/metalbird/authenticators/twitter.rb' url = 'https://api.twitter.com' authenticator = Metalbird::Authenticator::Twitter.new(url) authenticator.authenticate
Java
Retrieves the original email in a thread, including headers and attachments, when the reporting user forwarded the original email not as an attachment. You must have the necessary permissions in your email service to execute global search. - EWS: eDiscovery - Gmail: Google Apps Domain-Wide Delegation of Authority ##...
Java
import createSvgIcon from './utils/createSvgIcon'; import { jsx as _jsx } from "react/jsx-runtime"; export default createSvgIcon( /*#__PURE__*/_jsx("path", { d: "M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM8 17c-.55 0-1-.45-1-1v-5c0-.55.45-1 1-1s1 .45 1 1v5c0 .55-.45 1-1 1zm4 0c-.55 0...
Java
/*! * Bootstrap v3.3.5 (http://getbootstrap.com) * Copyright 2011-2015 Twitter, Inc. * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) */ /*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */ html { font-family: sans-serif; -webkit-text-size-adjust: 100%; ...
Java
--- title: 'Cine este Robul suferind (Isaia 50:4-10)' date: 28/02/2021 --- Dacă ar fi intenţionat să transmită doar informaţii, Isaia ar fi expus toate detaliile cu privire la Mesia dintr-odată. Dar, ca să înveţe, să convingă şi să îşi ajute audienţa să se întâlnească cu Robul Domnului, el creează o ţesătură bogată ...
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
#pragma once #include "net/uri.hpp" namespace http { using uri = net::uri; }
Java
import createSvgIcon from './utils/createSvgIcon'; import { jsx as _jsx } from "react/jsx-runtime"; export default createSvgIcon([/*#__PURE__*/_jsx("path", { d: "M12 4c4.41 0 8 3.59 8 8s-3.59 8-8 8-8-3.59-8-8 3.59-8 8-8m.06 9.34v2.14c-.92.02-1.84-.31-2.54-1.01-1.12-1.12-1.3-2.8-.59-4.13l-1.1-1.1c-1.28 1.94-1.07 4.59....
Java
#!/usr/bin/env python # -*- coding: utf-8 -*- import logging, os logging.basicConfig(level=logging.INFO) from deepy.networks import RecursiveAutoEncoder from deepy.trainers import SGDTrainer, LearningRateAnnealer from util import get_data, VECTOR_SIZE model_path = os.path.join(os.path.dirname(__file__), "models", "...
Java
namespace StringExtensions { using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Reflection; using System.Security.Cryptography; using System.Text; using System.Text.RegularExpressions; /// <summary> /// Static class provi...
Java
<?php declare(strict_types=1); namespace WyriMaps\Tests\BattleNet\Resource\Async\WorldOfWarcraft; use ApiClients\Tools\ResourceTestUtilities\AbstractEmptyResourceTest; use WyriMaps\BattleNet\Resource\Async\WorldOfWarcraft\EmptyQuest; final class EmptyQuestTest extends AbstractEmptyResourceTest { public function ...
Java
# Gsp [![Build Status](https://secure.travis-ci.org/viclm/gsp.png?branch=master)](http://travis-ci.org/viclm/gsp) [![Dependecies Status](https://david-dm.org/viclm/gsp.png)](https://david-dm.org/viclm/gsp) ## Intro Gsp encourages to use multiple git repositories for development and one subversion repository for produ...
Java
module.exports={A:{A:{"2":"K C G E B A WB"},B:{"2":"D u Y I M H"},C:{"1":"6 7","2":"0 1 2 3 UB z F J K C G E B A D u Y I M H N O P Q R S T U V W X w Z a b c d e f L h i j k l m n o p q r s t y SB RB","132":"v","578":"5 g"},D:{"1":"0 1 2 3 5 6 7 t y v g GB BB DB VB EB","2":"F J K C G E B A D u Y I M H N O P Q R S T U V ...
Java
SVG.G = SVG.invent({ // Initialize node create: 'g' // Inherit from , inherit: SVG.Container // Add class methods , extend: { // Move over x-axis x: function(x) { return x == null ? this.transform('x') : this.transform({ x: x - this.x() }, true) } // Move over y-axis , y: function(y) {...
Java
using System; using System.Collections.Generic; using System.Drawing; using System.Globalization; using System.IO; using System.Windows; using System.Windows.Data; using System.Windows.Media; using System.Windows.Media.Imaging; using System.Runtime.InteropServices; namespace Wox { public class ImagePathConverter :...
Java
--TEST-- /** test \n*/ --SKIPIF-- <?php if (!@include_once('PhpDocumentor/phpDocumentor/DocBlock/Lexer.inc')) { echo 'skip needs PhpDocumentor_DocBlock_Lexer class'; } ?> --FILE-- <?php require_once dirname(__FILE__) . DIRECTORY_SEPARATOR . 'setup.php.inc'; $result = $lexer->lex("/** test \n*/"); $phpt-...
Java
using System.Data.Entity.Migrations; namespace Cake.EntityFramework.TestProject.Postgres.Migrations { public partial class V7 : DbMigration { public override void Up() { } public override void Down() { } } }
Java
--- layout: post title: Objetos Validadores date: 2017-07-03 permalink: /:title description: Veja como fazer validações utilizando Objetos ao invés de utilizar programação procedural. image: /images/2017/photo-scott-webb-59043.jpg categories: - OO tags: - validação keywords: - freepascal - fpc - delphi - ...
Java
// This file is distributed under the BSD License. // See "license.txt" for details. // Copyright 2009-2012, Jonathan Turner (jonathan@emptycrate.com) // Copyright 2009-2015, Jason Turner (jason@emptycrate.com) // http://www.chaiscript.com #ifndef CHAISCRIPT_BOXED_VALUE_HPP_ #define CHAISCRIPT_BOXED_VALUE_HPP_ #inclu...
Java
/* * Copyright 2010-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "lice...
Java
/* * Copyright 2010-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in ...
Java