code stringlengths 3 1.01M | repo_name stringlengths 5 116 | path stringlengths 3 311 | language stringclasses 30
values | license stringclasses 15
values | size int64 3 1.01M |
|---|---|---|---|---|---|
# just for compatibility; requiring "sha1" is obsoleted
#
# $RoughId: sha1.rb,v 1.4 2001/07/13 15:38:27 knu Exp $
# $Id: sha1.rb 2062 2006-06-10 19:14:15Z headius $
require 'digest/sha1'
SHA1 = Digest::SHA1
class SHA1
def self.sha1(*args)
new(*args)
end
end
| nicksieger/advent-jruby | vendor/jruby-1.1.6RC1/lib/ruby/1.8/sha1.rb | Ruby | mit | 269 |
module E.Binary() where
import Data.Binary
import E.Type
import FrontEnd.HsSyn()
import Name.Binary()
import Support.MapBinaryInstance
import {-# SOURCE #-} Info.Binary(putInfo,getInfo)
instance Binary TVr where
put TVr { tvrIdent = eid, tvrType = e, tvrInfo = nf} = do
put eid
put e
putIn... | m-alvarez/jhc | src/E/Binary.hs | Haskell | mit | 5,542 |
/*************************************************************************/
/* canvas_layer.h */
/*************************************************************************/
/* This file is part of: */
/* ... | DustinTriplett/godot | scene/main/canvas_layer.h | C | mit | 3,187 |
<?php
/*
* This file is part of the Sylius package.
*
* (c) Paweł Jędrzejewski
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
declare(strict_types=1);
namespace Sylius\Bundle\ProductBundle\Form\Type;
use Sylius\Component\Produ... | pjedrzejewski/Sylius | src/Sylius/Bundle/ProductBundle/Form/Type/ProductOptionValueChoiceType.php | PHP | mit | 3,559 |
import Stream from "./stream";
/*
Check whether an object is a stream or not
@public
@for Ember.stream
@function isStream
@param {Object|Stream} object object to check whether it is a stream
@return {Boolean} `true` if the object is a stream, `false` otherwise
*/
export function isStream(object) {
return obje... | thejameskyle/ember.js | packages/ember-metal/lib/streams/utils.js | JavaScript | mit | 9,391 |
<h3>About SlimIt</h3>
<p>
SlimIt is a JavaScript minifier
</p>
<h3>Useful Links</h3>
<ul>
<li><a href="http://pypi.python.org/pypi/slimit">SlimIt @ PyPI</a></li>
<li><a href="http://github.com/rspivak/slimit">SlimIt @ GitHub</a></li>
</ul>
<h3>Author</h3>
<p>
<a href="http://ruslanspivak.com">
<img src="{{ ... | slideclick/slimit | docs/source/_templates/sidebarintro.html | HTML | mit | 770 |
#include "qrcodedialog.h"
#include "ui_qrcodedialog.h"
#include "bitcoinunits.h"
#include "guiconstants.h"
#include "guiutil.h"
#include "optionsmodel.h"
#include <QPixmap>
#include <QUrl>
#include <qrencode.h>
QRCodeDialog::QRCodeDialog(const QString &addr, const QString &label, bool enableReq, QWidget *parent) :
... | chronokings/huntercoin | src/qt/qrcodedialog.cpp | C++ | mit | 4,361 |
import { ViewResources } from 'aurelia-templating';
import { Validator } from '../validator';
import { ValidateResult } from '../validate-result';
import { Rule } from './rule';
import { ValidationMessageProvider } from './validation-messages';
/**
* Validates.
* Responsible for validating objects and properties.
*/... | manuel-guilbault/aurelia-validation | dist/system/implementation/standard-validator.d.ts | TypeScript | mit | 1,838 |
// 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.
using Xunit;
namespace System.Numerics.Tests
{
public class logTest
{
private static int s_samples ... | mokchhya/corefx | src/System.Runtime.Numerics/tests/BigInteger/log.cs | C# | mit | 9,543 |
<?php
/**
* Tests for the Diffie-Hellman key exchange implementation in the
* OpenID library.
*
* PHP versions 4 and 5
*
* LICENSE: See the COPYING file included in this distribution.
*
* @package OpenID
* @author JanRain, Inc. <openid@janrain.com>
* @copyright 2005-2008 Janrain, Inc.
* @license http://www.... | Symfony-Plugins/ysfOpenPlugin | test/unit/openid/Auth/OpenID/DiffieHellman.php | PHP | mit | 4,896 |
/*************************************************************
*
* MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/Arrows.js
*
* Copyright (c) 2009-2016 The MathJax Consortium
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with th... | masterfish2015/my_project | 半导体物理/js/mathjax/unpacked/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/Arrows.js | JavaScript | mit | 3,734 |
using System;
using System.Diagnostics;
using System.IO;
using System.Collections.Generic;
using System.Reflection;
using System.Web;
using System.Security;
using System.Security.Permissions;
namespace umbraco.BusinessLogic.Utils
{
/// <summary>
/// Represents the Umbraco Typeresolver class.
... | dampee/Umbraco-CMS | src/umbraco.businesslogic/Utils/TypeResolver.cs | C# | mit | 7,946 |
# -*- coding: utf-8 -*-
# This technical data was produced for the U. S. Government under Contract No. W15P7T-13-C-F600, and
# is subject to the Rights in Technical Data-Noncommercial Items clause at DFARS 252.227-7013 (FEB 2012)
from django.contrib.gis.db import models
class AOIManager(models.GeoManager):
def ... | stephenrjones/geoq | geoq/core/managers.py | Python | mit | 1,155 |
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>basic_raw_socket::async_send (1 of 2 overloads)</title>
<link rel="stylesheet" href="../../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" hr... | rkq/cxxexp | third-party/src/boost_1_56_0/doc/html/boost_asio/reference/basic_raw_socket/async_send/overload1.html | HTML | mit | 8,903 |
// ==++==
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// ==--==
/*============================================================
**
** Class: Stream
**
**
** Purpose: Abstract base class for all Streams. Provides
** default implementations of asynchronous reads & writes, in
** terms of the s... | smaillet-ms/llilum | Zelig/Zelig/RunTime/Framework/mscorlib/System/IO/Stream.cs | C# | mit | 19,739 |
# Taken from https://gist.github.com/238158/487a411c392e1fb2a0c00347e32444320f5cdd49
module ActiveResource
#
# The FakeResource fakes ActiveResources so that no real resources are transferred. It catches the creation methods
# and stores the resources internally instead of sending to a remote service and respond... | chase439/chargify_api_ares | spec/support/fake_resource.rb | Ruby | mit | 2,402 |
/****************************************************************************
** Meta object code from reading C++ file 'client.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.4.0)
**
** WARNING! All changes made in this file will be lost!
**************************************************************... | xiaojuntong/opencvr | 3rdparty/onvifc/win32/GeneratedFiles/Release/moc_client.cpp | C++ | mit | 2,654 |
"""
Support for EnOcean binary sensors.
For more details about this platform, please refer to the documentation at
https://home-assistant.io/components/binary_sensor.enocean/
"""
import logging
import voluptuous as vol
from homeassistant.components.binary_sensor import (
BinarySensorDevice, PLATFORM_SCHEMA, SENS... | xifle/home-assistant | homeassistant/components/binary_sensor/enocean.py | Python | mit | 2,747 |
// 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.
/*++
Module Name:
directory.c
Abstract:
Implementation of the file WIN API for the PAL
Revision Histo... | sperling/coreclr | src/pal/src/file/directory.cpp | C++ | mit | 17,336 |
// 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 1.0.1.0
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
n... | AzCiS/azure-sdk-for-net | src/SDKs/DataLake.Analytics/Management.DataLake.Analytics/Generated/Models/USqlTableValuedFunction.cs | C# | mit | 3,189 |
<?php
return [
'contact' => '联系我们',
'name' => '名字',
'email' => '邮箱',
'message' => '信息',
'name_placeholder' => '请输入全名',
'email_placeholder' => '您的邮箱',
'message_placeholder' => '我们可以怎样帮助您?',
'contact_us' => '联系我们!',
'... | nicerway/tongyong | resources/lang/zh-CN/about.php | PHP | mit | 504 |
/*
* Copyright 2010 The Closure Compiler 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... | joshuamiller/hbg-crime | src/cljs/google_maps_api_v3.js | JavaScript | mit | 99,957 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Phaser Source: src/input/Input.js</title>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<link type="text/css" rel="stylesheet" href="styles/default.css">
<link type="text/css" rel="sty... | pzyu/orbital-game | phaser/docs/src_input_Input.js.html | HTML | mit | 66,187 |
<polymer-element name="the-panel" attributes="edge size handle open automatic" on-click="{{ handleClicked }}">
<template>
<style>
@host {
:scope {
position: fixed;
overflow: hidden;
}
}
</style>
<content select="header"></content>
<content select="main">... | rasata/noflo-ui | elements/the-panel.html | HTML | mit | 3,402 |
// 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
namespace DotNetNuke.Tests.Core.ComponentModel.Helpers
{
public interface IService
{
int Id { ge... | EPTamminga/Dnn.Platform | DNN Platform/Tests/DotNetNuke.Tests.Core/ComponentModel/Helpers/IService.cs | C# | mit | 335 |
/*
* This file is part of Sponge, licensed under the MIT License (MIT).
*
* Copyright (c) SpongePowered <https://www.spongepowered.org>
* Copyright (c) contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Softwar... | ryantheleach/SpongeCommon | src/main/java/org/spongepowered/common/mixin/core/block/state/MixinIBlockState.java | Java | mit | 9,567 |
var assert = require('assert');
var Globals = require('../../lib/globals/expect.js');
var common = require('../../common.js');
var CommandQueue = common.require('core/queue.js');
module.exports = {
'test Queue' : {
beforeEach: function (done) {
CommandQueue.reset();
Globals.beforeEach.call(this, done... | PatrickCrawford/herdacity-e2e | tests/src/core/testQueue.js | JavaScript | mit | 1,238 |
<?php
/**
* CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
* Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
*
* Licensed under The MIT License
* For full copyright and license information, please see the LICENSE.txt
* Redistributions of files must retain the above copyrig... | xdxdVSxdxd/HumanEcosystemsv3 | vendor/cakephp/cakephp/src/Database/Connection.php | PHP | mit | 20,537 |
/***************************************************************************
file : xml.cpp
created : Sat Mar 18 23:50:46 CET 2000
copyright : (C) 2000 by Eric Espie
email : torcs@free.fr
version : $Id: xml.cpp,v 1.4.2.1 2008/11/09... | ugo-nama-kun/gym_torcs | vtorcs-RL-color/src/libs/txml/xml.cpp | C++ | mit | 12,278 |
/*
* This file is part of Sponge, licensed under the MIT License (MIT).
*
* Copyright (c) SpongePowered <https://www.spongepowered.org>
* Copyright (c) contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Softwar... | SpongePowered/SpongeCommon | src/main/java/org/spongepowered/common/data/processor/data/item/ItemFireworkEffectDataProcessor.java | Java | mit | 4,628 |
$(function() {
$widget = $('#calendar-widget')
if ($widget.length) {
$.get('/events/calendar.json', function(data){
$widget.fullCalendar({
editable: false,
header: {
left: 'title',
firstDay: 1,
center: '',
aspectRatio: 1,
right: 'today pr... | yazug/rdo-website | source/javascripts/lib/cal-widget.js | JavaScript | mit | 388 |
# - Config file for the glfw3 package
# It defines the following variables
# GLFW3_INCLUDE_DIR, the path where GLFW headers are located
# GLFW3_LIBRARY_DIR, folder in which the GLFW library is located
# GLFW3_LIBRARY, library to link against to use GLFW
set(GLFW3_VERSION "3.1.1")
####### Expanded from @PACKAGE... | jazztext/VRRayTracing | src/pathtracer/CMU462/deps/glfw/src/glfw3Config.cmake | CMake | mit | 1,113 |
//
// $Id$
//
// QKQueryStringAdditions.h
// QueryKit
//
// Created by Stuart Connolly (stuconnolly.com) on July 12, 2012
// Copyright (c) 2012 Stuart Connolly. All rights reserved.
//
// Permission is hereby granted, free of charge, to any person
// obtaining a copy of this software and associated documentation... | Shooter7119/sequel-pro | Frameworks/QueryKit/Source/QKQueryStringAdditions.h | C | mit | 1,405 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using WX.Model.ApiResponses;
namespace WX.Model.ApiRequests
{
public class GetCurrentAutoreplyInfoRequest : ApiRequest<GetCurrentAutoreplyInfoResponse>
{
internal override string Method
{
get { re... | JamesYing/JCWX | Business/Model/ApiRequests/GetCurrentAutoreplyInfoRequest.cs | C# | mit | 850 |
/*
Simple DirectMedia Layer
Copyright (C) 1997-2014 Sam Lantinga <slouken@libsdl.org>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this ... | eastcowboy2002/gles-study | glesstudy/jni/SDL/src/thread/psp/SDL_systhread.c | C | mit | 2,961 |
<?php
/*
* This file is part of the Sylius package.
*
* (c) Paweł Jędrzejewski
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
declare(strict_types=1);
namespace Sylius\Bundle\ResourceBundle\Routing;
use Symfony\Component\Confi... | vihuvac/Sylius | src/Sylius/Bundle/ResourceBundle/Routing/Configuration.php | PHP | mit | 1,988 |
/*!
@header FrontiaACL.h
@abstract Frontia权限控制类。
@version 1.00 2013/08/05 Creation
@copyright (c) 2013 baidu. All rights reserved.
*/
#import <Foundation/Foundation.h>
@class FrontiaAccount;
@interface FrontiaACL : NSObject
//@property (nonatomic, assign) int publicAccess;
/*!
@method initWithDictionary
@ab... | AngerDragon/ADShop | DragonUperClouds/baidu/Frontia.framework/Versions/Current/Headers/FrontiaACL.h | C | mit | 2,079 |
using UnityEngine;
using System;
public static class GoEaseAnimationCurve
{
public static Func<float, float, float, float, float> EaseCurve( GoTween tween )
{
if (tween == null)
{
Debug.LogError("no tween to extract easeCurve from");
}
if (tween.easeCurve == null)
{
Debug.LogError("no curve found ... | bah-interactivemedia/ReInventNASA2014 | Client/Assets/Plugins/GoKit/easing/GoEaseAnimationCurve.cs | C# | mit | 461 |
/*
* Copyright 2010 Red Hat, Inc. and/or its affiliates.
*
* 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 ap... | rokn/Count_Words_2015 | testing/drools-master/drools-core/src/main/java/org/drools/core/command/impl/GenericCommand.java | Java | mit | 815 |
#pragma once
/**
* \file NETGeographicLib/SphericalHarmonic2.h
* \brief Header for NETGeographicLib::SphericalHarmonic2 class
*
* NETGeographicLib is copyright (c) Scott Heiman (2013)
* GeographicLib is Copyright (c) Charles Karney (2010-2012)
* <charles@karney.com> and licensed under the MIT/X11 License.
* For ... | JanEicken/MA | libs/GeographicLib-1.43/dotnet/NETGeographicLib/SphericalHarmonic2.h | C | mit | 12,636 |
import map from './map';
export default map; | hoka-plus/p-01-web | tmp/babel-output_path-MNyU5yIO.tmp/modules/lodash/collection/collect.js | JavaScript | mit | 44 |
/********************************************************************++
Copyright (c) Microsoft Corporation. All rights reserved.
--********************************************************************/
using System;
using System.Collections;
using System.Management.Automation;
using System.Management.Automation.Hos... | bingbing8/PowerShell | src/Microsoft.PowerShell.ConsoleHost/host/msh/ProgressNode.cs | C# | mit | 19,385 |
/**
* @author Richard Davey <rich@photonstorm.com>
* @author Mat Groves (@Doormat23)
* @copyright 2016 Photon Storm Ltd.
* @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License}
*/
/**
* New version of PIXI.ComplexPrimitiveShader
*
* @class Phaser.Renderer.Canvas... | clark-stevenson/phaser | v3/merge/renderer/webgl/shaders/ComplexPrimitiveGraphics.js | JavaScript | mit | 3,947 |
/* reset styling (prevent conflicts with bootstrap, materialize.css, etc.) */
div.jsoneditor .jsoneditor-search input {
height: auto;
border: inherit;
}
div.jsoneditor .jsoneditor-search input:focus {
border: none !important;
box-shadow: none !important;
}
div.jsoneditor table {
border-collapse: collapse;
... | extend1994/cdnjs | ajax/libs/jsoneditor/5.24.0/jsoneditor.css | CSS | mit | 39,083 |
<?php
/* SVN FILE: $Id$ */
/**
* JavascriptHelperTest file
*
* Long description for file
*
* PHP versions 4 and 5
*
* CakePHP(tm) Tests <https://trac.cakephp.org/wiki/Developement/TestSuite>
* Copyright 2006-2008, Cake Software Foundation, Inc.
*
* Licensed under The Open Group Test Suite License
* Redistr... | kamil-bluechip/cake-1.2.5 | tests/cases/libs/view/helpers/javascript.test.php | PHP | mit | 27,847 |
// <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... | jackmagic313/azure-sdk-for-net | sdk/healthcareapis/Microsoft.Azure.Management.HealthcareApis/src/Generated/IPrivateLinkResourcesOperations.cs | C# | mit | 3,475 |
<?php
namespace Backend\Modules\FormBuilder\Actions;
use Backend\Core\Engine\Base\Action as BackendBaseAction;
use Backend\Core\Language\Language as BL;
use Backend\Core\Engine\Model as BackendModel;
use Backend\Core\Engine\Csv as BackendCSV;
use Backend\Modules\FormBuilder\Engine\Model as BackendFormBuilderModel;
/... | mathiashelin/forkcms | src/Backend/Modules/FormBuilder/Actions/ExportData.php | PHP | mit | 6,635 |
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Discord;
using Discord.WebSocket;
using NadekoBot.Modules.Administration.Common;
using NadekoBot.Services;
using NadekoBot.Services.Database.Models;
using NLog;
namespace NadekoB... | Blacnova/NadekoBot | src/NadekoBot/Modules/Administration/Services/ProtectionService.cs | C# | mit | 7,587 |
'''Package for Banded Min Hash based Similarity Calculations'''
from min_hash import *
| ClickSecurity/data_hacking | data_hacking/min_hash/__init__.py | Python | mit | 87 |
/**
* A promise-based Q-JSGI server and client API.
* @module
*/
/*whatsupdoc*/
var HTTP = require("http"); // node
var HTTPS = require("https"); // node
var URL = require("url2"); // node
var Q = require("q");
var Reader = require("./reader");
/**
* @param {respond(request Request)} respond a JSGI responder fun... | uistyleguide/uistyleguide.github.io | node_modules/dgeni-packages/node_modules/q-io/http.js | JavaScript | mit | 11,726 |
# Copyright 2011-2013 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 "license" fil... | HelainSchoonjans/LogstashRabbitMQExample | logstash-producer/vendor/bundle/jruby/1.9/gems/aws-sdk-1.35.0/lib/aws/simple_workflow/workflow_type.rb | Ruby | mit | 6,707 |
//
// Copyright (c) 2014 VK.com
//
// 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... | shustreek/vk-android-sdk-master | vksdk_library/src/main/java/com/vk/sdk/api/httpClient/VKImageOperation.java | Java | mit | 3,403 |
/**
* Determines whether any element of an observable sequence satisfies a condition if present, else if any items are in the sequence.
* @param {Function} [predicate] A function to test each element for a condition.
* @returns {Observable} An observable sequence containing a single element determining wh... | ldcvia/ldcvia-teamroom | node_modules/bower/node_modules/insight/node_modules/inquirer/node_modules/rx/src/core/linq/observable/some.js | JavaScript | mit | 1,118 |
using System;
using NUnit.Framework;
using Umbraco.Core.Models;
using Umbraco.Core.Models.Membership;
using Umbraco.Core.Models.Rdbms;
using Umbraco.Core.Persistence;
using Umbraco.Core.Persistence.Repositories;
using Umbraco.Tests.TestHelpers;
namespace Umbraco.Tests.Persistence.Querying
{
[TestFixtur... | bowserm/Umbraco-CMS | src/Umbraco.Tests/Persistence/Querying/PetaPocoSqlTests.cs | C# | mit | 3,453 |
/**
* The position and size of the Bitmap Text in global space, taking into account the Game Object's scale and world position.
*
* @typedef {object} Phaser.Types.GameObjects.BitmapText.GlobalBitmapTextSize
* @since 3.0.0
*
* @property {number} x - The x position of the BitmapText, taking into account the x posit... | photonstorm/phaser | src/gameobjects/bitmaptext/typedefs/GlobalBitmapTextSize.js | JavaScript | mit | 707 |
version https://git-lfs.github.com/spec/v1
oid sha256:0e7889c818b4129a08bc3843ba39b2e1118e6cfd3f186b1abf15037cd5599dd6
size 547
| yogeshsaroya/new-cdnjs | ajax/libs/dojo/1.7.8/cldr/nls/fr/number.js | JavaScript | mit | 128 |
import { TestBed, async } from '@angular/core/testing';
import { AppComponent } from './app.component';
describe('AppComponent', () => {
beforeEach(async(() => {
TestBed.configureTestingModule({
declarations: [
AppComponent
],
}).compileComponents();
}));
it('should create the app', as... | Toxicable/angular | aio/content/examples/interpolation/src/app/app.component.spec.ts | TypeScript | mit | 475 |
<?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\DependencyInjection\Dumper;
use Symfony\Component\Dep... | Milkyway2605/EasyStage_Symfony | vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Dumper/PhpDumper.php | PHP | mit | 54,466 |
---
layout: default
---
{% include JB/setup %}
{% include themes/Snail/archive.html %}
| gameindie/gameindie.github.io | _layouts/archive.html | HTML | mit | 87 |
#!/usr/bin/php
<?php
/**
* demo_user_dict.php
*
* PHP version 5
*
* @category PHP
* @package /src/cmd/
* @author Fukuball Lin <fukuball@gmail.com>
* @license MIT Licence
* @version GIT: <fukuball/jieba-php>
* @link https://github.com/fukuball/jieba-php
*/
ini_set('memory_limit', '600M');
require_on... | MeicaiRose/jieba-php | src/cmd/demo_user_dict.php | PHP | mit | 1,005 |
// Copyright (c) 2017-2019 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <chainparams.h>
#include <index/txindex.h>
#include <script/standard.h>
#include <test/setup_common.h>
#include <uti... | CryptArc/bitcoin | src/test/txindex_tests.cpp | C++ | mit | 2,799 |
var traceur = require('traceur');
var traceurGet = require('../lib/utils').traceurGet;
var ParseTreeTransformer = traceurGet('codegeneration/ParseTreeTransformer.js').ParseTreeTransformer;
var ModuleSpecifier = traceurGet('syntax/trees/ParseTrees.js').ModuleSpecifier;
var createStringLiteralToken = traceurGet('codegen... | CharlesSanford/personal-site | node_modules/systemjs-builder/compilers/esm.js | JavaScript | mit | 8,859 |
#Get-SPOAzureADManifestKeyCredentials
Creates the JSON snippet that is required for the manifest json file for Azure WebApplication / WebAPI apps
##Syntax
```powershell
Get-SPOAzureADManifestKeyCredentials -CertPath <String>
```
##Parameters
Parameter|Type|Required|Description
---------|----|--------|-----------
|Cer... | pschaeflein/PnP-PowerShell | Documentation/GetSPOAzureADManifestKeyCredentials.md | Markdown | mit | 760 |
/*******************************************************************************
* Copyright (c) 2012-2017 Codenvy, S.A.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available ... | cdietrich/che | plugins/plugin-orion/che-plugin-orion-editor/src/main/java/org/eclipse/che/ide/editor/orion/client/incremental/find/IncrementalFindReportStatusObserver.java | Java | epl-1.0 | 3,917 |
package fitnesse.testsystems.slim;
import org.junit.Assert;
import org.junit.Test;
public class CustomComparatorRegistryTest {
@Test
public void useConverterFromCustomizing() {
CustomComparatorRegistry customComparatorRegistry = new CustomComparatorRegistry();
customComparatorRegistry.addCustomComparato... | rbevers/fitnesse | test/fitnesse/testsystems/slim/CustomComparatorRegistryTest.java | Java | epl-1.0 | 706 |
package fitnesse.wikitext.parser;
import fitnesse.html.HtmlUtil;
import java.util.Calendar;
import java.util.Locale;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
public class FormattedExpression {
public static final Pattern formatParser = Pattern.compile("^[ \\t]*((%[-#+ 0,(]*[0-9.]*([a-zA-Z]... | jdufner/fitnesse | src/fitnesse/wikitext/parser/FormattedExpression.java | Java | epl-1.0 | 3,301 |
/* $Id$ $Revision$ */
/* vim:set shiftwidth=4 ts=8: */
/*************************************************************************
* Copyright (c) 2011 AT&T Intellectual Property
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.... | ellson/graphviz | lib/vmalloc/vmclear.c | C | epl-1.0 | 1,705 |
package net.minecraft.server;
public class ItemSeedFood extends ItemFood {
private int b;
private int c;
public ItemSeedFood(int i, int j, float f, int k, int l) {
super(i, j, f, false);
this.b = k;
this.c = l;
}
public boolean interactWith(ItemStack itemstack, EntityHuma... | JashGaming/JashCraft | src/main/java/net/minecraft/server/ItemSeedFood.java | Java | gpl-2.0 | 1,253 |
/* ScummVM - Graphic Adventure Engine
*
* ScummVM is the legal property of its developers, whose names
* are too numerous to list here. Please refer to the COPYRIGHT
* file distributed with this source distribution.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of ... | blorente/scummvm | engines/fullpipe/scenes/scene10.cpp | C++ | gpl-2.0 | 5,863 |
/*
* Copyright (C) 2010 Samsung Electronics
* Minkyu Kang <mk7.kang@samsung.com>
*
* Configuation settings for the SAMSUNG Universal (EXYNOS4210) board.
*
* See file CREDITS for list of people who contributed to this
* project.
*
* This program is free software; you can redistribute it and/or
* modify it unde... | itgb/opCloudRouter | qca/src/u-boot/include/configs/s5pc210_universal.h | C | gpl-2.0 | 8,287 |
//@HEADER
// ************************************************************************
//
// Kokkos v. 2.0
// Copyright (2014) Sandia Corporation
//
// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
// the U.S. Government retains certain rights in this softwa... | crtrott/lammps | lib/kokkos/example/global_2_local_ids/G2L.hpp | C++ | gpl-2.0 | 7,594 |
/* Copyright (c) 2011, Code Aurora Forum. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
* only version 2 as published by the Free Software Foundation.
*
* This program is distributed in the hope th... | jomeister15/ICS-SGH-I727-kernel | include/linux/wcnss_wlan.h | C | gpl-2.0 | 1,535 |
/* ----------------------------------------------------------------------
LIGGGHTS - LAMMPS Improved for General Granular and Granular Heat
Transfer Simulations
LIGGGHTS is part of the CFDEMproject
www.liggghts.com | www.cfdem.com
Christoph Kloss, christoph.kloss@cfdem.com
Copyright 2009-2012 JKU Li... | tm1249wk/WASHLIGGGHTS-2.3.7 | src/fix_sph_density_summation.cpp | C++ | gpl-2.0 | 7,151 |
### GIVEN
Given /^I have no tags$/ do
# Tag.delete_all if Tag.count > 1
# silence_warnings {load "#{Rails.root}/app/models/fandom.rb"}
end
Given /^basic tags$/ do
step %{the default ratings exist}
step %{the basic warnings exist}
Fandom.where(name: "No Fandom", canonical: true).first_or_create
step %{the ... | elzj/otwarchive | features/step_definitions/tag_steps.rb | Ruby | gpl-2.0 | 13,617 |
<?php
namespace Drupal\Tests\field\Kernel\Migrate\d6;
use Drupal\Core\Entity\Entity\EntityViewDisplay;
use Drupal\Tests\migrate_drupal\Kernel\d6\MigrateDrupal6TestBase;
/**
* Upgrade field formatter settings to entity.display.*.*.yml.
*
* @group migrate_drupal_6
*/
class MigrateFieldFormatterSettingsTest extends... | morethanthemes/magazine-lite | site/core/modules/field/tests/src/Kernel/Migrate/d6/MigrateFieldFormatterSettingsTest.php | PHP | gpl-2.0 | 9,097 |
<?php
if (realpath (__FILE__) === realpath ($_SERVER["SCRIPT_FILENAME"]))
exit("Do not access this file directly.");
?>
<optgroup label="<?php echo esc_attr (_x ("Authorize.Net (Buy Now)", "s2member-admin", "s2member")); ?>">
<option value="1-L-BN" selected="selected"><?php echo esc_html (_x ("One Time (for lifetime ... | qyom/pipstation | wp-content/plugins/s2member-pro/includes/templates/options/authnet-membership-ccap-terms.php | PHP | gpl-2.0 | 400 |
// Noise++ Library
// Copyright (c) 2008, Urs C. Hanselmann
// 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 the above copyright notice,
//... | egor200021/Minecraft-LCMod-J16-woolio | 3libs/noisepp/NoiseEndianUtils.cpp | C++ | gpl-2.0 | 1,798 |
/****************************************************************************************
* Copyright (c) 2008 Seb Ruiz <ruiz@kde.org> *
* Copyright (c) 2008 Leo Franchi <lfranchi@kde.org> *
* ... | orangejulius/amarok | src/databaseimporter/itunes/ITunesImporterConfig.h | C | gpl-2.0 | 2,040 |
/*
* 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 ... | SpoonLabs/astor | examples/math_32/src/main/java/org/apache/commons/math3/stat/regression/UpdatingMultipleLinearRegression.java | Java | gpl-2.0 | 3,605 |
#include "IRA.hpp"
#include <limits>
#include <algorithm>
#include <cmath>
#include <iostream>
#include <cassert>
// References:
// 1. D.C. Sorensen, "Implicit Application of Polynomial Filters in
// a k-Step Arnoldi Method", SIAM J. Matr. Anal. Apps., 13 (1992),
// pp 357-385.
// 2. R.B. Lehouc... | gevero/S4 | S4r/IRA.cpp | C++ | gpl-2.0 | 51,407 |
<?php
/**
* An AbstractScopeTest allows for tests that extend from this class to
* listen for tokens within a particluar scope.
*
* PHP version 5
*
* @category PHP
* @package PHP_CodeSniffer
* @author Greg Sherwood <gsherwood@squiz.net>
* @author Marc McIntyre <mmcintyre@squiz.net>
* @copyright 2006 ... | mlti/learning-repository-system- | profiles/syntiro/modules/custom/curriculum/phpdocx/lib/php_codesniffer/CodeSniffer/Standards/AbstractScopeSniff.php | PHP | gpl-2.0 | 7,909 |
/*************************************************************************
*
* file : RecycledEntityId.cs
* copyright : (C) The WCell Team
* email : info@wcell.org
* last changed : $LastChangedDate: 2008-01-31 12:35:36 +0100 (to, 31 jan 2008) $
* last author : $LastChangedBy: tobz $
* revision : ... | WCell/WCell | Services/WCell.RealmServer/Misc/RecycledEntityId.cs | C# | gpl-2.0 | 5,490 |
// $Id: OS_NS_Thread.cpp 91523 2010-08-27 14:18:02Z johnnyw $
#include "ace/OS_NS_Thread.h"
#if !defined (ACE_HAS_INLINED_OSCALLS)
# include "ace/OS_NS_Thread.inl"
#endif /* ACE_HAS_INLINED_OSCALLS */
#include "ace/OS_NS_stdio.h"
#include "ace/Sched_Params.h"
#include "ace/OS_Memory.h"
#include "ace/OS_Thread_Adapte... | Khira/La-Confrerie | dep/ACE_wrappers/ace/OS_NS_Thread.cpp | C++ | gpl-2.0 | 175,634 |
/*
* Copyright (C) 2015 AChep@xda <artemchep@gmail.com>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* Th... | hgl888/AcDisplay | project/app/src/main/java/com/achep/acdisplay/services/switches/AlarmSwitch.java | Java | gpl-2.0 | 7,436 |
<?php
/**
* Relais: Check if logged-in patron can order an item.
*
* PHP version 7
*
* Copyright (C) Villanova University 2018.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2,
* as published by the Free Software Foundati... | arto70/NDL-VuFind2 | module/VuFind/src/VuFind/AjaxHandler/RelaisInfo.php | PHP | gpl-2.0 | 2,568 |
/* SPDX-License-Identifier: GPL-2.0 */
#include <stdio.h>
#include <linux/netlink.h>
#include <linux/wwan.h>
#include "utils.h"
#include "ip_common.h"
static void print_explain(FILE *f)
{
fprintf(f,
"Usage: ... wwan linkid LINKID\n"
"\n"
"Where: LINKID := 0-4294967295\n"
);
}
static void explain(void)
{
pr... | jpirko/iproute2_mlxsw | ip/iplink_wwan.c | C | gpl-2.0 | 1,380 |
/* SPDX-License-Identifier: GPL-2.0-only */
/*
* Copyright (C) 2013 - ARM Ltd
* Author: Marc Zyngier <marc.zyngier@arm.com>
*/
#ifndef __ASM_ESR_H
#define __ASM_ESR_H
#include <asm/memory.h>
#include <asm/sysreg.h>
#define ESR_ELx_EC_UNKNOWN (0x00)
#define ESR_ELx_EC_WFx (0x01)
/* Unallocated EC: 0x02 */
#define... | rperier/linux | arch/arm64/include/asm/esr.h | C | gpl-2.0 | 12,729 |
/*
* Copyright 2009-2011 Freescale Semiconductor, Inc.
*
* SPDX-License-Identifier: GPL-2.0+
*/
#include <common.h>
#ifdef CONFIG_SYS_P4080_ERRATUM_SERDES8
#include <hwconfig.h>
#endif
#include <asm/fsl_serdes.h>
#include <asm/immap_85xx.h>
#include <asm/io.h>
#include <asm/processor.h>
#include <asm/fsl_law.h>
#i... | luckyboy/uboot | u-boot-2013.10/arch/powerpc/cpu/mpc85xx/fsl_corenet_serdes.c | C | gpl-2.0 | 23,192 |
<?php
/**
* ILS driver test
*
* PHP version 5
*
* Copyright (C) Villanova University 2011.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2,
* as published by the Free Software Foundation.
*
* This program is distributed... | PetraZabickova/VuFind-2.x | module/VuFind/tests/unit-tests/src/VuFindTest/ILS/Driver/XCNCIPTest.php | PHP | gpl-2.0 | 1,475 |
/*MT*
MediaTomb - http://www.mediatomb.cc/
subscription_request.cc - this file is part of MediaTomb.
Copyright (C) 2005 Gena Batyan <bgeradz@mediatomb.cc>,
Sergey 'Jin' Bostandzhyan <jin@mediatomb.cc>
Copyright (C) 2006-2010 Gena Batyan <bgeradz@mediatomb.cc>,
... | jonabbey/mediatomb | src/subscription_request.cc | C++ | gpl-2.0 | 1,771 |
/*
* Copyright (c) 2003, 2007-11 Matteo Frigo
* Copyright (c) 2003, 2007-11 Massachusetts Institute of Technology
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the ... | mesjetiu/grandorgue-es | src/fftw/src/rdft/scalar/r2cb/r2cbIII_64.c | C | gpl-2.0 | 49,177 |
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/interrupt.h>
#include <linux/irq.h>
#include <linux/spinlock.h>
#include <linux/list.h>
#include <linux/device.h>
#include <linux/err.h>
#include <linux/debugfs.h>
#include <linux/seq_file.h>
#include <linux/gpio.h>
#include <linux/of_gpio.h>
#include ... | freak07/Kirisakura_Pixel | drivers/gpio/gpiolib.c | C | gpl-2.0 | 52,492 |
/** @file
Provides services to print debug and assert messages to a debug output device.
The Debug library supports debug print and asserts based on a combination of macros and code.
The debug library can be turned on and off so that the debug code does not increase the size of an image.
Note that a reserved ... | felixsinger/coreboot | src/vendorcode/intel/edk2/edk2-stable202005/MdePkg/Include/Library/DebugLib.h | C | gpl-2.0 | 21,986 |
<?php
$langues = array(
'langue' => 'Ελληνικά',
'locale' => 'hellenic',
'addVirtual' => 'Προσθήκη ενός VirtualHost',
'backHome' => 'Επιστροφή στην Αρχική σελίδα',
'VirtualSubMenuOn' => 'Το αντικείμενο <code>υπομενού VirtualHost</code> πρέπει να τεθεί σε (Ανοιχτό) στις <code>Ρυθμίσεις Wamp</code> Μενού Δεξιού Κλικ... | cchin013/uecsite2017 | wamplangues/add_vhost_hellenic.php | PHP | gpl-2.0 | 3,577 |
/*
* SROM format definition.
*
* Copyright (C) 1999-2014, Broadcom Corporation
*
* Unless you and Broadcom execute a separate written software license
* agreement governing use of this software, this software is licensed to you
* under the terms of the GNU General Public License version 2 (the "GPL"),
* av... | davidmueller13/arter97_bb | drivers/net/wireless/bcmdhd/include/bcmsrom_fmt.h | C | gpl-2.0 | 17,360 |
//# LELLattCoordBase.h: The base letter class for lattice coordinates in LEL
//# Copyright (C) 1998,1999,2000,2001
//# Associated Universities, Inc. Washington DC, USA.
//#
//# This library is free software; you can redistribute it and/or modify it
//# under the terms of the GNU Library General Public License as publis... | bmerry/casacore | lattices/LEL/LELLattCoordBase.h | C | gpl-2.0 | 3,656 |
html, body{height:100%;}
.mceContentBody{height:100%;min-width:90%;padding:5px;}
body, td, pre {color:#000; font-family:Verdana, Arial, Helvetica, sans-serif; font-size:11px; margin:8px;}
body {background:#FFF;}
body.mceContentReset {background: #FFFFFF none !important; color:#000000 !important; text-align:left !im... | sdc/DevonStudioSchool | components/com_jce/editor/tiny_mce/themes/advanced/skins/default/content.css | CSS | gpl-2.0 | 1,395 |
/* ScummVM - Graphic Adventure Engine
*
* ScummVM is the legal property of its developers, whose names
* are too numerous to list here. Please refer to the COPYRIGHT
* file distributed with this source distribution.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of ... | joeriedel/scummvm | engines/tucker/sequences.cpp | C++ | gpl-2.0 | 28,796 |
/* Zebra mlag header.
* Copyright (C) 2018 Cumulus Networks, Inc.
* Donald Sharp
*
* This file is part of FRR.
*
* FRR is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version ... | freerangerouting/frr | zebra/zebra_mlag.h | C | gpl-2.0 | 2,377 |
using System;
using Server.Targeting;
namespace Server.Spells.Sixth
{
public class ExplosionSpell : MagerySpell
{
private static readonly SpellInfo m_Info = new SpellInfo(
"Explosion", "Vas Ort Flam",
230,
9041,
Reagent.Bloodmoss,
Reagent.Mand... | SirGrizzlyBear/ServUOGrizzly | Scripts/Spells/Sixth/Explosion.cs | C# | gpl-2.0 | 4,788 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.