code stringlengths 3 1.05M | repo_name stringlengths 4 116 | path stringlengths 4 991 | language stringclasses 9
values | license stringclasses 15
values | size int32 3 1.05M |
|---|---|---|---|---|---|
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.Design;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace FEFTwiddler.GUI.UnitViewer
{
[Designer("System.Windows... | Soaprman/FEFTwiddler | FEFTwiddler/GUI/UnitViewer/DragonVein.cs | C# | gpl-3.0 | 1,798 |
using UnityEngine;
using System.Collections;
using System;
namespace Frontiers.World.WIScripts
{
public class Key : WIScript
{
public override void OnInitialized ()
{
if (!worlditem.Is <QuestItem> ()) {
worlditem.Props.Name.DisplayName = State.KeyName;
}
}
public KeyState State = new KeyState ();
... | SignpostMarv/FRONTIERS | Assets/Scripts/GameWorld/WIScripts/Machines/Key.cs | C# | gpl-3.0 | 523 |
define(
"dojo/cldr/nls/nb/gregorian", //begin v1.x content
{
"dateFormatItem-Ehm": "E h.mm a",
"days-standAlone-short": [
"sø.",
"ma.",
"ti.",
"on.",
"to.",
"fr.",
"lø."
],
"months-format-narrow": [
"J",
"F",
"M",
"A",
"M",
"J",
"J",
"A",
"S",
"O",
"N",
"D"
],
"field-second-r... | AnthonyARM/javascript | rowing/dojo-release-1.13.0/dojo/cldr/nls/nb/gregorian.js.uncompressed.js | JavaScript | gpl-3.0 | 5,993 |
import Ember from 'ember';
export default Ember.Component.extend({
classNames: ['button-content'],
audio: Ember.inject.service(),
soundName: null,
rate: 1,
preloadSounds: function() {
this.get('audio');
}.on('init'),
actions: {
play() {
this.get('audio').play(this.get('soundName'), this.g... | hugoruscitti/huayra-procesing | app/components/p5-play-button.js | JavaScript | gpl-3.0 | 347 |
/*
* CPAchecker is a tool for configurable software verification.
* This file is part of CPAchecker.
*
* Copyright (C) 2007-2014 Dirk Beyer
* 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.
* You... | nishanttotla/predator | cpachecker/src/org/sosy_lab/cpachecker/cfa/model/ADeclarationEdge.java | Java | gpl-3.0 | 1,757 |
<?php
// Copyright (C) <2015> <it-novum GmbH>
//
// This file is dual licensed
//
// 1.
// 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, version 3 of the License.
//
// This program is distri... | it-novum/openITCOCKPIT | src/Template/element/downtimes_mass_service_delete.php | PHP | gpl-3.0 | 1,842 |
<?php
/* Copyright (C) 2012 Regis Houssin <regis.houssin@capnetworks.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 3 of the License, or
* (at your option) any later ... | woakes070048/crm-php | htdocs/langs/fi_FI/languages.lang.php | PHP | gpl-3.0 | 2,557 |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="ExtentTest.cs" company="Allors bvba">
// Copyright 2002-2012 Allors bvba.
//
// Dual Licensed under
// a) the Lesser General Public Licence v3 (LGPL)
// b) the Allors Licens... | Allors/allors | Platform/Database/Adapters/Tests.Static/Static/object/sqlclient/ExtentTest.cs | C# | gpl-3.0 | 10,380 |
<?php
/**
* Copyright © 2016 Magento. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\Framework\App\Test\Unit\View\Asset\MaterializationStrategy;
use \Magento\Framework\App\View\Asset\MaterializationStrategy\Factory;
use Magento\Framework\ObjectManagerInterface;
class FactoryTest... | rajmahesh/magento2-master | vendor/magento/framework/App/Test/Unit/View/Asset/MaterializationStrategy/FactoryTest.php | PHP | gpl-3.0 | 3,355 |
#coding=gbk
"""Convert HTML page to Word 97 document
This script is used during the build process of "Dive Into Python"
(http://diveintopython.org/) to create the downloadable Word 97 version
of the book (http://diveintopython.org/diveintopython.doc)
Looks for 2 arguments on the command line. The first argument is t... | qilicun/python | python2/diveintopythonzh-cn-5.4b/zh_cn/makerealworddoc.py | Python | gpl-3.0 | 2,374 |
<?php
/**
* Copyright © 2016 Magento. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\Tax\Test\Unit\Model;
class TaxRateManagementTest extends \PHPUnit_Framework_TestCase
{
/**
* @var \Magento\Tax\Model\TaxRateManagement
*/
protected $model;
/**
* @var \P... | rajmahesh/magento2-master | vendor/magento/module-tax/Test/Unit/Model/TaxRateManagementTest.php | PHP | gpl-3.0 | 3,944 |
/*
* log_ft_data.cpp
*
* Created on: Jul 9, 2010
* Author: dc
*/
#include <iostream>
#include <cstdio>
#include <cstdlib>
#include <syslog.h>
#include <signal.h>
#include <unistd.h>
#include <native/task.h>
#include <native/timer.h>
#include <boost/thread.hpp>
#include <boost/ref.hpp>
#include <boost/tup... | jhu-lcsr-forks/barrett | sandbox/log_ft_data.cpp | C++ | gpl-3.0 | 4,369 |
/*
Lehrstuhl fuer Energietransport und -speicherung
UNIVERSITAET DUISBURG-ESSEN
ef.Ruhr E-DeMa AP-2
Wissenschaftlicher Mitarbeiter:
Dipl.-Ing. Holger Kellerbauer
Das Linklayer-Paket "powerline" umfasst eine Sammlung von Modulen, die zur Simulation von Powerline-
Uebertragungsstrecken in intelligenten Energieverteil... | hoferr/SG_OMNeTpp | plc/src/Adapter_PLC_Base.cc | C++ | gpl-3.0 | 28,190 |
<?php
/*
##########################################################################
# #
# Version 4 / / / #
# -----------__---/__---__------__----__---/---/- #
# ... | nerdiabet/webSPELL | languages/sq/admin/ranks.php | PHP | gpl-3.0 | 2,358 |
/**
* Copyright (C) 2015 Envidatec GmbH <info@envidatec.com>
*
* This file is part of JECommons.
*
* JECommons 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 in version 3.
*
* JECommons is distributed... | AIT-JEVis/JECommons | src/main/java/org/jevis/commons/dataprocessing/v2/Task.java | Java | gpl-3.0 | 1,111 |
## roster_nb.py
## based on roster.py
##
## Copyright (C) 2003-2005 Alexey "Snake" Nezhdanov
## modified by Dimitur Kirov <dkirov@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... | 9thSenseRobotics/bosh_server | nbxmpp-0.1/nbxmpp/roster_nb.py | Python | gpl-3.0 | 13,001 |
using System.IO;
using System.Text;
using Microsoft.WindowsAzure.Storage.Blob;
namespace ScrewTurn.Wiki.Plugins.AzureStorage
{
/// <summary>
///
/// </summary>
public static class CloudBlobExtensions
{
/// <summary>
/// Uploads a string of text to a block blob.
/// </summ... | Askanio/STW6 | ScrewTurnWiki.AzureStorageProviders/CloudBlobExtensions.cs | C# | gpl-3.0 | 6,370 |
<?php
/**
* The view model to store the state of an ajax request/response in JSON objects.
*
* @author Jeremie Litzler
* @copyright Copyright (c) 2015
* @licence http://opensource.org/licenses/gpl-license.php GNU Public License
* @link https://github.com/WebDevJL/EasyMvc
* @since Version 1.0.0
* @package Base... | WebDevJL/EasyMVC | Library/ViewModels/BaseJsonVm.php | PHP | gpl-3.0 | 766 |
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Net;
using System.Web;
using System.Web.Mvc;
using System.Web.Security;
using ACE.Web.Models.Account;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using RestSharp;
namespace ACE.Web.Controllers
{
publ... | fantoms/ACE | Source/ACE.Web/Controllers/AccountController.cs | C# | gpl-3.0 | 2,291 |
# -*- coding: utf-8 -*-
from django.contrib import admin
from django.utils.translation import ugettext as _
from .models import AbuseReport, SearchTermRecord
admin.site.register(AbuseReport)
class SearchTermAdmin(admin.ModelAdmin):
list_display = ('__unicode__', 'ip_address', 'get_user_full_name', )
search... | piotrek-golda/CivilHubIndependantCopy | places_core/admin.py | Python | gpl-3.0 | 596 |
"""
================================================================================
Logscaled Histogram
================================================================================
| Calculates a logarithmically spaced histogram for a data map.
| Written By: Matthew Stadelman
| Date Written: 2016/03/07
| Last Mod... | stadelmanma/netl-ap-map-flow | apmapflow/data_processing/histogram_logscale.py | Python | gpl-3.0 | 2,486 |
#region License
// Copyright (c) 2013, ClearCanvas Inc.
// All rights reserved.
// http://www.ClearCanvas.ca
//
// This file is part of the ClearCanvas RIS/PACS open source project.
//
// The ClearCanvas RIS/PACS open source project is free software: you can
// redistribute it and/or modify it under the terms of the G... | mayioit/MacroMedicalSystem | Desktop/View/WinForms/CheckBoxStyle.cs | C# | gpl-3.0 | 1,515 |
package org.ovirt.engine.core.bll.transport;
import java.util.concurrent.TimeUnit;
import java.util.concurrent.TimeoutException;
import org.ovirt.engine.core.bll.Backend;
import org.ovirt.engine.core.common.businessentities.VDS;
import org.ovirt.engine.core.common.businessentities.VdsProtocol;
import org.ovirt.engine... | jtux270/translate | ovirt/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/transport/ProtocolDetector.java | Java | gpl-3.0 | 3,963 |
@extends('layouts.app')
@section('content')
<div class="container">
<div class="row">
<div class="col-md-8 col-md-offset-2">
<div class="panel panel-default">
<div class="panel-heading">Dashboard</div>
<div class="panel-body">
Hello {{Auth::g... | aneeshsudhakaran/laravel5.3demo | resources/views/frontend/dashboard.blade.php | PHP | gpl-3.0 | 602 |
/*
* This file is part of eduVPN.
*
* eduVPN 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 3 of the License, or
* (at your option) any later version.
*
* eduVPN is... | dzolnai/android | app/src/main/java/nl/eduvpn/app/adapter/MessagesAdapter.java | Java | gpl-3.0 | 3,444 |
/* This file is part of Jellyfish.
Jellyfish 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 3 of the License, or
(at your option) any later version.
Jellyfish is distributed ... | macieksk/Jellyfish | jellyfish/parse_dna.hpp | C++ | gpl-3.0 | 7,390 |
<?php
use Alchemy\Phrasea\Model\Serializer\CaptionSerializer;
use Symfony\Component\Yaml\Yaml;
/**
* @group functional
* @group legacy
*/
class caption_recordTest extends \PhraseanetTestCase
{
/**
* @var caption_record
*/
protected $object;
public function setUp()
{
parent::setUp... | bburnichon/Phraseanet | tests/classes/caption/recordTest.php | PHP | gpl-3.0 | 8,719 |
from ..daltools.util.full import init
Z = [8., 1., 1.]
Rc = init([0.00000000, 0.00000000, 0.48860959])
Dtot = [0, 0, -0.76539388]
Daa = init([
[ 0.00000000, 0.00000000, -0.28357300],
[ 0.15342658, 0.00000000, 0.12734703],
[-0.15342658, 0.00000000, 0.12734703],
])
QUc = init([-7.31176220, 0., 0., -5.432... | fishstamp82/loprop | test/h2o_data.py | Python | gpl-3.0 | 11,431 |
/***************************************************************
* This source files comes from the xLights project
* https://www.xlights.org
* https://github.com/smeighan/xLights
* See the github commit history for a record of contributing
* developers.
* Copyright claimed based on commit dates recorded in Githu... | smeighan/xLights | xSchedule/PlayList/PlayListItemAudioPanel.cpp | C++ | gpl-3.0 | 6,948 |
from __future__ import absolute_import, print_function, division
from mitmproxy import exceptions
import pprint
def _get_name(itm):
return getattr(itm, "name", itm.__class__.__name__)
class Addons(object):
def __init__(self, master):
self.chain = []
self.master = master
... | x2Ident/x2Ident_test | mitmproxy/mitmproxy/addons.py | Python | gpl-3.0 | 2,173 |
#! /usr/bin/env python
#################################################################################################
#
# Script Name: bip.py
# Script Usage: This script is the menu system and runs everything else. Do not use other
# files unless you are comfortable with the code.
#
# ... | SSCPS/bip-gam-v1 | bip.py | Python | gpl-3.0 | 1,835 |
/*
* Copyright (c) 2013 The Interedition Development Group.
*
* This file is part of CollateX.
*
* CollateX 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 3 of the License, or
* (at you... | faustedition/text | text-core/src/main/java/eu/interedition/text/xml/WhitespaceCompressor.java | Java | gpl-3.0 | 3,002 |
/*
* Copyright (C) 2016-2021 David Rubio Escares / Kodehawa
*
* Mantaro 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 3 of the License, or
* (at your option) any later version.
* M... | Mantaro/MantaroBot | src/main/java/net/kodehawa/mantarobot/commands/currency/profile/BadgeUtils.java | Java | gpl-3.0 | 2,976 |
# Copyright (C) 2012,2013
# Max Planck Institute for Polymer Research
# Copyright (C) 2008,2009,2010,2011
# Max-Planck-Institute for Polymer Research & Fraunhofer SCAI
#
# This file is part of ESPResSo++.
#
# ESPResSo++ is free software: you can redistribute it and/or modify
# it under the terms of t... | capoe/espressopp.soap | src/integrator/LangevinThermostat.py | Python | gpl-3.0 | 1,956 |
asm(1000){
var a = 1;
};
| soliton4/promiseLand-website | release/client/promiseland/playground/asmsyntax.js | JavaScript | gpl-3.0 | 27 |
<?php
/**
* Modify layout using filter
*/
/**
* Available actions (by ref)
* dynamic_block_{block_name}_before where block_name is name of block e.g. header. action can have two arguments "block" and "block_settings" as array
* dynamic_block_{block_name}_before_block_items
* dynamic_block_{block_name}_after wher... | simpleux/le-twentyeleven | extensions/hard_coded_filters.php | PHP | gpl-3.0 | 1,457 |
package monitor;
public interface RunnableWithResult<T> {
public T run() ;
}
| erseco/ugr_sistemas_concurrentes_distribuidos | Practica_02_monitores/monitor/RunnableWithResult.java | Java | gpl-3.0 | 84 |
/*
Copyright (C) 2013 Hong Jen Yee (PCMan) <pcman.tw@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 ve... | MoonLightDE/MoonLightDE | src/file-manager/libfm-qt/filepropsdialog.cpp | C++ | gpl-3.0 | 15,744 |
/************************************************************************
Extended WPF Toolkit
Copyright (C) 2010-2012 Xceed Software Inc.
This program is provided to you under the terms of the Microsoft Public
License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
This program can ... | Emudofus/BehaviorIsManaged | Librairies/WPFToolkit.Extended/Core/Converters/ColorToSolidColorBrushConverter.cs | C# | gpl-3.0 | 2,652 |
package handling.handlers;
import java.awt.Point;
import client.MapleClient;
import handling.PacketHandler;
import handling.RecvPacketOpcode;
import server.MaplePortal;
import tools.data.LittleEndianAccessor;
public class UseInnerPortalHandler {
@PacketHandler(opcode = RecvPacketOpcode.USE_INNER_PORTAL)
public st... | Maxcloud/Mushy | src/handling/handlers/UseInnerPortalHandler.java | Java | gpl-3.0 | 1,090 |
// This file is part of Hermes2D.
//
// Hermes2D 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.
//
// Hermes2D is distributed in th... | filipr/hermes | hermes2d/src/mesh/curved.cpp | C++ | gpl-3.0 | 26,263 |
// MonoGame - Copyright (C) The MonoGame Team
// This file is subject to the terms and conditions defined in
// file 'LICENSE.txt', which is part of this source code package.
namespace Microsoft.Xna.Framework.Content.Pipeline.Graphics
{
/// <summary>
/// Provides properties for managing a bone weight.
///... | Blucky87/Otiose2D | src/libs/MonoGame/MonoGame.Framework.Content.Pipeline/Graphics/BoneWeight.cs | C# | gpl-3.0 | 1,470 |
using WowPacketParser.Enums;
using WowPacketParser.Hotfix;
namespace WowPacketParserModule.V8_0_1_27101.Hotfix
{
[HotfixStructure(DB2Hash.WorldEffect, HasIndexInData = false)]
public class WorldEffectEntry
{
public uint QuestFeedbackEffectID { get; set; }
public byte WhenToDisplay { get; se... | TrinityCore/WowPacketParser | WowPacketParserModule.V8_0_1_27101/Hotfix/WorldEffectEntry.cs | C# | gpl-3.0 | 530 |
<?php
namespace TYPO3\Neos\Routing;
/*
* This file is part of the TYPO3.Neos package.
*
* (c) Contributors of the Neos Project - www.neos.io
*
* This package is Open Source Software. For the full copyright and license
* information, please view the LICENSE file which was distributed with this
* source code.
*/... | dimaip/neos-development-collection | TYPO3.Neos/Classes/TYPO3/Neos/Routing/BackendModuleArgumentsRoutePartHandler.php | PHP | gpl-3.0 | 2,168 |
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 1991-2010 OpenCFD Ltd.
\\/ M anipulation |
---------------... | OpenCFD/OpenFOAM-1.7.x | src/meshTools/meshSearch/meshSearch.C | C++ | gpl-3.0 | 22,990 |
#include "simulation/Elements.h"
//#TPT-Directive ElementClass Element_FRZZ PT_FRZZ 100
Element_FRZZ::Element_FRZZ()
{
Identifier = "DEFAULT_PT_FRZZ";
Name = "FRZZ";
Colour = PIXPACK(0xC0E0FF);
MenuVisible = 1;
MenuSection = SC_POWDERS;
Enabled = 1;
Advection = 0.7f;
AirDrag = 0.01f... | jacksonmj/Powder-Toy-Mods | src/simulation/elements/FRZZ.cpp | C++ | gpl-3.0 | 1,712 |
package net.minecraft.inventory;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.entity.player.InventoryPlayer;
import net.minecraft.init.Blocks;
import net.minecraft.init.Items;
import net.minecraft.item.Item;
import n... | Scrik/Cauldron-1 | eclipse/cauldron/src/main/java/net/minecraft/inventory/ContainerPlayer.java | Java | gpl-3.0 | 7,916 |
#include "spammer.h"
SpammerType Settings::Spammer::type = SpammerType::SPAMMER_NONE;
bool Settings::Spammer::say_team = false;
bool Settings::Spammer::KillSpammer::enabled = false;
bool Settings::Spammer::KillSpammer::sayTeam = false;
std::vector<std::string> Settings::Spammer::KillSpammer::messages = {
"$nick owne... | sneakyevilSK/sneakyevil.win | src/Hacks/spammer.cpp | C++ | gpl-3.0 | 6,876 |
package com.app.server.repository;
import com.athena.server.repository.SearchInterface;
import com.athena.annotation.Complexity;
import com.athena.annotation.SourceCodeAuthorClass;
import com.athena.framework.server.exception.repository.SpartanPersistenceException;
import java.util.List;
import com.athena.framework.ser... | applifireAlgo/appDemoApps201115 | bloodbank/src/main/java/com/app/server/repository/TitleRepository.java | Java | gpl-3.0 | 1,156 |
<?php
/**
* This file is part of OXID eShop Community Edition.
*
* OXID eShop Community Edition 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 3 of the License, or
* (at your option) any... | flow-control/oxideshop_ce | tests/Integration/Seo/PaginationSeoTest.php | PHP | gpl-3.0 | 31,918 |
//========= Copyright © 1996-2005, Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
// $NoKeywords: $
//=============================================================================//
#include <vgui/IBorder.h>
#include <vgui/IInputInternal.h>
#include <vgui/IPanel.h>
#include <vgui/IScheme.h>
#... | projectogs/OpenGoldSrc | goldsrc/vgui2/controls/PropertySheet.cpp | C++ | gpl-3.0 | 37,352 |
import gtk
class ExtensionFeatures:
SYSTEM_WIDE = 0
class MountManagerExtension:
"""Base class for mount manager extensions.
Mount manager has only one instance and is created on program startup.
Methods defined in this class are called automatically by the mount manager
so you need to implement them.
""... | Azulinho/sunflower-file-manager-with-tmsu-tagging-support | application/plugin_base/mount_manager_extension.py | Python | gpl-3.0 | 1,433 |
<?php // content="text/plain; charset=utf-8"
require_once ('jpgraph/jpgraph.php');
require_once ('jpgraph/jpgraph_gantt.php');
$graph = new GanttGraph();
$graph->SetBox();
$graph->SetShadow();
// Add title and subtitle
$graph->title->Set("Example of captions");
$graph->title->SetFont(FF_ARIAL,FS_BOLD,12);
... | boabo/pxp | lib/jpgraph/src/Examples/ganttex16.php | PHP | gpl-3.0 | 2,180 |
/*! @license Firebase v4.3.1
Build: rev-b4fe95f
Terms: https://firebase.google.com/terms/ */
"use strict";
//# sourceMappingURL=requestmaker.js.map
| chidelmun/Zikki | node_modules/firebase/storage/implementation/requestmaker.js | JavaScript | gpl-3.0 | 149 |
package cn.nukkit.math;
/**
* author: MagicDroidX
* Nukkit Project
*/
public class Vector3 implements Cloneable {
public double x;
public double y;
public double z;
public Vector3() {
this(0, 0, 0);
}
public Vector3(double x) {
this(x, 0, 0);
}
public Vector3(doub... | JupiterDevelopmentTeam/JupiterDevelopmentTeam | src/main/java/cn/nukkit/math/Vector3.java | Java | gpl-3.0 | 9,009 |
/*
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2020 - Raw Material Software Limited
JUCE is an open source library subject to commercial or open-source
licensing.
By using JUCE, you agree to the terms of... | danielrothmann/Roth-AIR | JuceLibraryCode/modules/juce_gui_basics/filebrowser/juce_FileTreeComponent.cpp | C++ | gpl-3.0 | 9,810 |
<?php
/**
*
* Copyright © 2016 Magento. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\Newsletter\Controller\Adminhtml\Template;
class NewAction extends \Magento\Newsletter\Controller\Adminhtml\Template
{
/**
* Create new Newsletter Template
*
* @return void
... | rajmahesh/magento2-master | vendor/magento/module-newsletter/Controller/Adminhtml/Template/NewAction.php | PHP | gpl-3.0 | 403 |
/*****************************************************************************
* Copyright (c) 2014-2019 OpenRCT2 developers
*
* For a complete list of all authors, please refer to contributors.md
* Interested in contributing? Visit https://github.com/OpenRCT2/OpenRCT2
*
* OpenRCT2 is licensed under the GNU Gener... | IntelOrca/OpenRCT2 | src/openrct2/world/TileElement.cpp | C++ | gpl-3.0 | 6,843 |
<?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle 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 3 of the License, or
// (at your option) any later version.
//
// Moodle ... | nitro2010/moodle | lib/editor/tinymce/plugins/tiny_mce_wiris/lib.php | PHP | gpl-3.0 | 2,050 |
var searchData=
[
['save_5fcomments',['save_comments',['../useful__functions_8php.html#af56aec073a82606e9a7dac498de28d96',1,'useful_functions.php']]],
['save_5fexperiment_5flist',['save_experiment_list',['../choose__experiments_8php.html#a5d24f39ae6c336d7828523216bce6fae',1,'choose_experiments.php']]],
['save_5fs... | mnd22/chaos-signup | html/search/functions_7.js | JavaScript | gpl-3.0 | 884 |
<?php
/**
*
* ThinkUp/webapp/_lib/model/class.UserMySQLDAO.php
*
* Copyright (c) 2009-2013 Gina Trapani
*
* LICENSE:
*
* This file is part of ThinkUp (http://thinkup.com).
*
* ThinkUp is free software: you can redistribute it and/or modify it under the terms of the GNU General Public
* License as published b... | agilee/ThinkUp | webapp/_lib/dao/class.UserMySQLDAO.php | PHP | gpl-3.0 | 7,596 |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package VerilogCompiler.SyntacticTree;
import VerilogCompiler.SemanticCheck.ErrorHandler;
import VerilogCompiler.SemanticCheck.ExpressionType;
import VerilogCompiler.SyntacticTree.Expressions.Expression;
/**
*
* @aut... | CastellarFrank/ArchSim | src/VerilogCompiler/SyntacticTree/Range.java | Java | gpl-3.0 | 1,723 |
import random
from google.appengine.api import memcache
from google.appengine.ext import ndb
SHARD_KEY_TEMPLATE = 'shard-{}-{:d}'
class GeneralCounterShardConfig(ndb.Model):
num_shards = ndb.IntegerProperty(default=20)
@classmethod
def all_keys(cls, name):
config = cls.get_or_insert(name)
... | VirtuosoChris/appengine | experimental/shardcounter_sync.py | Python | gpl-3.0 | 2,052 |
'use strict';
var async = require('async');
var nconf = require('nconf');
var querystring = require('querystring');
var meta = require('../meta');
var pagination = require('../pagination');
var user = require('../user');
var topics = require('../topics');
var plugins = require('../plugins');
var helpers = require('.... | An-dz/NodeBB | src/controllers/unread.js | JavaScript | gpl-3.0 | 3,327 |
# This file is part of Indico.
# Copyright (C) 2002 - 2016 European Organization for Nuclear Research (CERN).
#
# Indico 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 3 of the
# License, or (a... | belokop/indico_bare | indico/web/http_api/metadata/serializer.py | Python | gpl-3.0 | 2,039 |
<?php
/**
* Copyright © 2016 Magento. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\Sales\Model\Spi;
/**
* Interface ResourceInterface
*/
interface OrderPaymentResourceInterface
{
/**
* Save object data
*
* @param \Magento\Framework\Model\AbstractModel $object... | rajmahesh/magento2-master | vendor/magento/module-sales/Model/Spi/OrderPaymentResourceInterface.php | PHP | gpl-3.0 | 959 |
(function () {
'use strict';
angular.module('driver.tools.export', [
'ui.bootstrap',
'ui.router',
'driver.customReports',
'driver.resources',
'angular-spinkit',
]);
})();
| WorldBank-Transport/DRIVER | web/app/scripts/tools/export/module.js | JavaScript | gpl-3.0 | 225 |
"use strict";
exports.__esModule = true;
var vueClient_1 = require("../../bibliotheque/vueClient");
console.log("* Chargement du script");
/* Test - déclaration d'une variable externe - Possible
cf. declare
*/
function centreNoeud() {
return JSON.parse(vueClient_1.contenuBalise(document, 'centre'));
}
function vois... | hgrall/merite | src/communication/v0/typeScript/build/tchat/client/clientChat.js | JavaScript | gpl-3.0 | 3,134 |
(function ($) {
function FewbricksDevHelper() {
var $this = this;
/**
*
*/
this.init = function() {
$this.cssClassFull = 'fewbricks-info-pane--full';
if(!$this.initMainElm()) {
return;
}
$this.initToggler... | folbert/fewbricks | assets/scripts/info-pane.js | JavaScript | gpl-3.0 | 1,977 |
/**
* ...
* @author paul
*/
function initCBX(object, id, options) {
var design = "assets";
if(object == null){
jQuery.noConflict();
var cboxClass;
cboxClass = jQuery(id).attr("class");
if(jQuery.browser.msie && parseInt(jQuery.browser.version)<8 ){
jQuery(id).colorbox();
}
else{
if(cboxClass.ind... | PhoenixInteractiveNL/emuControlCenter | ecc-core/tools/3dGallery_scripts/circulargallery/colorbox/swf.js.communication.js | JavaScript | gpl-3.0 | 3,990 |
#include "gx2r_buffer.h"
#include "gx2r_displaylist.h"
#include "gx2_displaylist.h"
#include <common/log.h>
namespace gx2
{
void
GX2RBeginDisplayListEx(GX2RBuffer *displayList,
uint32_t unused,
GX2RResourceFlags flags)
{
if (!displayList || !displayList->buffer) {
... | petmac/decaf-emu | src/libdecaf/src/modules/gx2/gx2r_displaylist.cpp | C++ | gpl-3.0 | 1,114 |
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'newpage', 'eo', {
toolbar: 'Nova Paĝo'
} );
| vanpouckesven/cosnics | src/Chamilo/Libraries/Resources/Javascript/HtmlEditor/Ckeditor/src/plugins/newpage/lang/eo.js | JavaScript | gpl-3.0 | 226 |
// $Id: ActionAddClientDependencyAction.java 41 2010-04-03 20:04:12Z marcusvnac $
// Copyright (c) 2007 The Regents of the University of California. All
// Rights Reserved. Permission to use, copy, modify, and distribute this
// software and its documentation without fee, and without a written
// agreement is hereb... | ckaestne/LEADT | workspace/argouml_critics/argouml-app/src/org/argouml/uml/ui/foundation/core/ActionAddClientDependencyAction.java | Java | gpl-3.0 | 4,569 |
require 'spec_helper'
require 'rubybot/plugins/tweet'
require 'support/twitter_mock'
RSpec.describe Rubybot::Plugins::Tweet do
include Cinch::Test
describe '#commands' do
subject { described_class.new(make_bot).commands }
it('returns a single command') { is_expected.to have_exactly(1).items }
end
le... | robotbrain/rubybot | spec/rubybot/plugins/tweet_spec.rb | Ruby | gpl-3.0 | 908 |
var searchData=
[
['transfer_20commands',['Transfer Commands',['../group___d_a_p__transfer__gr.html',1,'']]]
];
| Stanford-BDML/super-scamp | vendor/CMSIS/CMSIS/Documentation/DAP/html/search/groups_74.js | JavaScript | gpl-3.0 | 114 |
"""Data models for referral system."""
from __future__ import unicode_literals
from builtins import map
from django.db import models
from django.core.urlresolvers import reverse
from pttrack.models import (ReferralType, ReferralLocation, Note,
ContactMethod, CompletableMixin,)
from followup... | SaturdayNeighborhoodHealthClinic/osler | referral/models.py | Python | gpl-3.0 | 6,199 |
//# MatrixInverse.cc: The inverse of an expression returning a Jones matrix.
//#
//# Copyright (C) 2005
//# ASTRON (Netherlands Institute for Radio Astronomy)
//# P.O.Box 2, 7990 AA Dwingeloo, The Netherlands
//#
//# This file is part of the LOFAR software suite.
//# The LOFAR software suite is free software: you can r... | kernsuite-debian/lofar | CEP/Calibration/BBSKernel/src/Expr/MatrixInverse.cc | C++ | gpl-3.0 | 1,851 |
// @flow
import React, { Component } from 'react'
import { withStyles } from 'material-ui/styles'
import Profile from 'models/Profile'
import IconButton from 'material-ui/IconButton'
import Typography from 'material-ui/Typography'
import FontAwesome from 'react-fontawesome'
import Avatar from 'components/common/Avatar'... | MichaelMure/TotallyNotArbore | app/components/profile/ShowProfile.js | JavaScript | gpl-3.0 | 2,101 |
package fr.ybo.transportscommun.activity.commun;
import android.widget.ImageButton;
public interface ChangeIconActionBar {
public void changeIconActionBar(ImageButton imageButton);
}
| ybonnel/TransportsRennes | TransportsCommun/src/fr/ybo/transportscommun/activity/commun/ChangeIconActionBar.java | Java | gpl-3.0 | 188 |
/* Copyright (C) 2003-2013 Runtime Revolution Ltd.
This file is part of LiveCode.
LiveCode is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License v3 as published by the Free
Software Foundation.
LiveCode is distributed in the hope that it will be useful, but WITH... | bright-sparks/livecode | engine/src/ipng.cpp | C++ | gpl-3.0 | 16,341 |
<?php
ob_start();
session_start();
if (session_status() == PHP_SESSION_NONE) {
require_once('index.php');
header($uri . '/index.php');
}
?>
<html>
<head>
<meta charset="UTF-8">
<meta name="description" content="Creates a new University by a Super Admin">
<title>Creat... | emcyroyale/COP4710-10 | CollegeEvents2/joinrso.php | PHP | gpl-3.0 | 4,944 |
<?php
/**
* Class for the definition of a widget that is
* called by the class of the main module
*
* @package SZGoogle
* @subpackage Widgets
* @author Massimo Della Rovere
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*/
if (!defined('SZ_PLUGIN_GOOGLE') or !SZ_PLUGIN_GOOGLE) di... | rossonet/maker_imola_city | app-root/data/plugins/sz-google/classes/widget/SZGoogleWidgetDriveSaveButton.php | PHP | gpl-3.0 | 4,458 |
<?php
//require_once 'PEAR.php';
// commented by yogatama for use in gtfw
//require_once 'oleread.inc';
///////
//define('Spreadsheet_Excel_Reader_HAVE_ICONV', function_exists('iconv'));
//define('Spreadsheet_Excel_Reader_HAVE_MB', function_exists('mb_convert_encoding'));
define('Spreadsheet_Excel_Reader_BIFF8', 0x... | 4n6g4/gtsdm | malra/gtfw_base3.2/main/lib/ExcelReader/reader.php | PHP | gpl-3.0 | 41,610 |
<?php
/** ---------------------------------------------------------------------
* app/helpers/htmlFormHelpers.php : miscellaneous functions
* ----------------------------------------------------------------------
* CollectiveAccess
* Open-source collections management software
* -----------------------------------... | collectiveaccess/providence | app/helpers/htmlFormHelpers.php | PHP | gpl-3.0 | 27,259 |
/*
* This file is part of EasyRPG Player.
*
* EasyRPG Player 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 3 of the License, or
* (at your option) any later version.
*
* EasyRPG Player... | Lobomon/Player-for-QT | src/audio.cpp | C++ | gpl-3.0 | 882 |
"""Add timetable related tables
Revision ID: 33a1d6f25951
Revises: 225d0750c216
Create Date: 2015-11-25 14:05:51.856236
"""
import sqlalchemy as sa
from alembic import op
from indico.core.db.sqlalchemy import PyIntEnum, UTCDateTime
from indico.modules.events.timetable.models.entries import TimetableEntryType
# rev... | belokop/indico_bare | migrations/versions/201511251405_33a1d6f25951_add_timetable_related_tables.py | Python | gpl-3.0 | 4,295 |
module ComboFieldTagHelper
def combo_field_tag(name, value, option_tags = nil, options = {})
select_placeholder = options[:select_placeholder] || "Select existing value"
input_placeholder = options[:input_placeholder] || "Enter new value"
id = options[:id]
klass = options[:class] || 'combo-field'
... | TGAC/brassica | app/helpers/combo_field_tag_helper.rb | Ruby | gpl-3.0 | 1,529 |
{
"": {
"domain": "ckan",
"lang": "cs_CZ",
"plural-forms": "nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;"
},
"An Error Occurred": [
null,
"Nastala chyba"
],
"Are you sure you want to perform this action?": [
null,
"Jste si jistí, že chcete provést tuto akci?"
],
"Can... | nucleo-digital/ckan-theme-cmbd | public/base/i18n/cs_CZ.js | JavaScript | gpl-3.0 | 2,840 |
package net.einsteinsci.betterbeginnings.items;
import net.einsteinsci.betterbeginnings.register.IBBName;
import net.minecraft.block.Block;
import net.minecraft.init.Blocks;
import net.minecraft.item.ItemStack;
import net.minecraft.item.ItemTool;
import java.util.HashSet;
import java.util.Set;
public abstract class ... | Leviathan143/betterbeginnings | src/main/java/net/einsteinsci/betterbeginnings/items/ItemKnife.java | Java | gpl-3.0 | 1,851 |
/****************************************************************************/
/// @file MSEdge.cpp
/// @author Christian Roessel
/// @author Jakob Erdmann
/// @author Christoph Sommer
/// @author Daniel Krajzewicz
/// @author Laura Bieker
/// @author Michael Behrisch
/// @author Sascha Krieg
/// @date Tue... | rudhir-upretee/SUMO_Src | src/microsim/MSEdge.cpp | C++ | gpl-3.0 | 17,842 |
package es.ucm.fdi.emf.model.ed2.diagram.sheet;
import org.eclipse.core.runtime.IAdaptable;
import org.eclipse.gmf.runtime.emf.type.core.IElementType;
import org.eclipse.gmf.runtime.notation.View;
import org.eclipse.jface.viewers.BaseLabelProvider;
import org.eclipse.jface.viewers.ILabelProvider;
import org.ecl... | RubenM13/E-EDD-2.0 | es.ucm.fdi.ed2.emf.diagram/src/es/ucm/fdi/emf/model/ed2/diagram/sheet/Ed2SheetLabelProvider.java | Java | gpl-3.0 | 2,246 |
######################## BEGIN LICENSE BLOCK ########################
# The Original Code is Mozilla Universal charset detector code.
#
# The Initial Developer of the Original Code is
# Netscape Communications Corporation.
# Portions created by the Initial Developer are Copyright (C) 2001
# the Initial Developer. All R... | disabler/isida3 | lib/chardet/sbcsgroupprober.py | Python | gpl-3.0 | 2,948 |
# frozen_string_literal: true
# How minitest plugins. See https://github.com/simplecov-ruby/simplecov/pull/756 for why we need this.
# https://github.com/seattlerb/minitest#writing-extensions
module Minitest
def self.plugin_simplecov_init(_options)
if defined?(SimpleCov)
SimpleCov.external_at_exit = true
... | BeGe78/esood | vendor/bundle/ruby/3.0.0/gems/simplecov-0.21.2/lib/minitest/simplecov_plugin.rb | Ruby | gpl-3.0 | 411 |
//***************************************************************************
//
// Copyright (c) 1999 - 2006 Intel Corporation
//
// 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
//
// ... | cnr-isti-vclab/meshlab | src/external/u3d/src/IDTF/FileScanner.cpp | C++ | gpl-3.0 | 16,279 |
cordova.define('cordova/plugin_list', function(require, exports, module) {
module.exports = [
{
"file": "plugins/cordova-plugin-device/www/device.js",
"id": "cordova-plugin-device.device",
"pluginId": "cordova-plugin-device",
"clobbers": [
"device"
]
},
{
... | Nullpo/Kallat-Tablero | platforms/browser/www/cordova_plugins.js | JavaScript | gpl-3.0 | 13,698 |
<?php
// Controller for latestdeaths.
class Deaths extends Controller {
public function index() {
require("config.php");
$this->load->database();
if(@$_REQUEST['world'] == 0)
$world = 0;
else
$world = (int)@$_REQUEST['world'];
$world_name = ($config['worlds'] == $world);
$players_deaths =... | avuenja/modernaac | system/application/controllers/deaths.php | PHP | gpl-3.0 | 2,690 |
# -*- Mode:Python; indent-tabs-mode:nil; tab-width:4 -*-
#
# Copyright (C) 2017 Canonical Ltd
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 3 as
# published by the Free Software Foundation.
#
# This program is distributed in the h... | sergiusens/snapcraft | snapcraft/internal/project_loader/grammar_processing/_part_grammar_processor.py | Python | gpl-3.0 | 4,927 |
#include <cmath>
#include <cfloat> // DBL_MAX
#include "Action_GIST.h"
#include "CpptrajStdio.h"
#include "Constants.h"
#include "DataSet_MatrixFlt.h"
#include "DataSet_GridFlt.h"
#include "DataSet_GridDbl.h"
#include "ProgressBar.h"
#include "StringRoutines.h"
#include "DistRoutines.h"
#ifdef _OPENMP
# include <omp.h>... | hainm/cpptraj | src/Action_GIST.cpp | C++ | gpl-3.0 | 83,454 |
<?php
/**
* Kiwitrees: Web based Family History software
* Copyright (C) 2012 to 2022 kiwitrees.net
*
* Derived from webtrees (www.webtrees.net)
* Copyright (C) 2010 to 2012 webtrees development team
*
* Derived from PhpGedView (phpgedview.sourceforge.net)
* Copyright (C) 2002 to 2010 PGV Development Team
* ... | kiwi3685/kiwitrees | includes/db_schema/db_schema_28_29.php | PHP | gpl-3.0 | 1,600 |
module.exports = { domain:"messages",
locale_data:{ messages:{ "":{ domain:"messages",
plural_forms:"nplurals=2; plural=(n != 1);",
lang:"el" },
"%(addonName)s %(startSpan)sby %(authorList)s%(endSpan)s":[ "%(addonName)s %(startSpan)s από %(authorList)s%(endSpan)s" ],
"Extension Metadata":[... | jasonthomas/addons-frontend | src/locale/el/amo.js | JavaScript | mpl-2.0 | 8,820 |