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 |
|---|---|---|---|---|---|
#!/usr/bin/env python
#
# 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. See http://www.gnu.org/copyleft/gpl.html for
# ... | abn/python-bugzilla | examples/query.py | Python | gpl-2.0 | 3,441 |
/* Initialize
*/
var isMobile = {
Android: function() {
return navigator.userAgent.match(/Android/i);
},
BlackBerry: function() {
return navigator.userAgent.match(/BlackBerry/i);
},
iOS: function() {
return navigator.userAgent.match(/iPhone|iPad|iPod/i);
},
Opera: fun... | BellarmineBTDesigns/mashariki | wp-content/themes/pinnacle/assets/js/kt_main.js | JavaScript | gpl-2.0 | 9,445 |
<?php
/**
* sh404SEF - SEO extension for Joomla!
*
* @author Yannick Gaultier
* @copyright (c) Yannick Gaultier 2014
* @package sh404SEF
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
* @version 4.4.0.1725
* @date 2014-04-09
*/
// Security check to ensure this file is ... | LarsMog/elesbjerg.dk | administrator/components/com_sh404sef/views/analytics/tmpl/default_j2_sources.php | PHP | gpl-2.0 | 1,165 |
using System.IO;
using Nequeo.Cryptography.Key.Utilities.IO;
namespace Nequeo.Cryptography.Key.Asn1
{
public class BerGenerator
: Asn1Generator
{
private bool _tagged = false;
private bool _isExplicit;
private int _tagNo;
protected BerGe... | drazenzadravec/nequeo | Source/Components/Cryptography/Nequeo.Cryptography/Nequeo.Cryptography.Key/asn1/BERGenerator.cs | C# | gpl-2.0 | 2,356 |
<div class="wrap shopp">
<div class="icon32"></div>
<?php
shopp_admin_screen_tabs();
do_action('shopp_admin_notices');
?>
<?php if (count(shopp_setting('target_markets')) == 0) echo '<div class="error"><p>'.__('No target markets have been selected in your store setup.','Shopp').'</p></div>'; ?>
<?php $thi... | sharpmachine/greaterworkshealing.com | wp-content/plugins/shopp/core/ui/settings/taxrates.php | PHP | gpl-2.0 | 10,968 |
/******************************************************************************/
/* Mednafen Fast SNES Emulation Module */
/******************************************************************************/
/* input.cpp:
** Copyright (C) 2015-2019 Mednafen Team
**
** This program is... | libretro-mirrors/mednafen-git | src/snes_faust/input.cpp | C++ | gpl-2.0 | 11,450 |
<?php
class woocsvImport
{
public $importLog;
public $options;
public $header;
public $message;
public $options_default = array (
'seperator'=>',',
'skipfirstline'=>1,
'upload_dir' => '/csvimport/',
'blocksize' => 1,
'language' => 'EN',
'add_to_gallery' => 1,
'merge_products'=>1,
'add_to_ca... | ilfungo/bts | wp-content/plugins/woocommerce-csvimport/include/class-woocsv-csvimport.php | PHP | gpl-2.0 | 3,360 |
<?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\Form\Tests\Extension\Core\Type;
use Symfony\Component... | kikutou/rentalmotor | vendor/symfony/form/Tests/Extension/Core/Type/DateTypeTest.php | PHP | gpl-2.0 | 29,797 |
module Katello
module UINotifications
module Subscriptions
class SCADisableSuccess < UINotifications::AbstractNotification
private
def blueprint
@blueprint ||= NotificationBlueprint.find_by(name: 'sca_disable_success')
end
end
end
end
end
| snagoor/katello | app/services/katello/ui_notifications/subscriptions/sca_disable_success.rb | Ruby | gpl-2.0 | 298 |
<?php
namespace TYPO3\CMS\Workspaces\Controller;
/*
* This file is part of the TYPO3 CMS project.
*
* It is free software; you can redistribute it and/or modify it under
* the terms of the GNU General Public License, either version 2
* of the License, or any later version.
*
* For the full copyright and license... | liayn/TYPO3.CMS | typo3/sysext/workspaces/Classes/Controller/ReviewController.php | PHP | gpl-2.0 | 15,544 |
using System;
using System.Collections.Generic;
using System.Data;
using System.Drawing;
using System.Diagnostics;
using System.Windows.Forms;
using System.ComponentModel;
namespace Lcc.Entrada.Articulos
{
public partial class DetalleComprobante : ControlSeleccionElemento
{
protected bo... | lazarogestion/lazaro | Lcc/Entrada/Articulos/DetalleComprobante.cs | C# | gpl-2.0 | 47,695 |
<?php
/**
* Чистый Шаблон для разработки
* Шаблон вывода поста
* http://dontforget.pro
* @package WordPress
* @subpackage clean
*/
get_header(); // Подключаем хедер?>
<?php if ( have_posts() ) while ( have_posts() ) : the_post(); // Начало цикла ?>
<h1><?php the_title(); // Заголовок ?></h1>
<?php the_content();... | lexus65/yummy.loc | wp-content/themes/yummy-theme/single.php | PHP | gpl-2.0 | 1,240 |
#
# Gramps - a GTK+/GNOME based genealogy program
#
# Copyright (C) 2002-2006 Donald N. Allingham
#
# 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 you... | pmghalvorsen/gramps_branch | gramps/gen/filters/rules/person/_hasidof.py | Python | gpl-2.0 | 1,631 |
/*
* Copyright (c) 1998-2012 Caucho Technology -- all rights reserved
*
* This file is part of Resin(R) Open Source
*
* Each copy or derived work must preserve the copyright notice and this
* notice unmodified.
*
* Resin Open Source is free software; you can redistribute it and/or modify
* it under the terms o... | dwango/quercus | src/main/java/com/caucho/quercus/expr/ClassVirtualFieldExpr.java | Java | gpl-2.0 | 4,206 |
#include "punchestableview.h"
#include <qf/core/log.h>
#include <QDrag>
#include <QDragEnterEvent>
#include <QMimeData>
#include <QPainter>
#include <QPixmap>
PunchesTableView::PunchesTableView(QWidget *parent)
: Super(parent)
{
setDropIndicatorShown(false);
}
bool PunchesTableView::edit(const QModelIndex &index,... | arnost00/quickbox | quickevent/app/quickevent/plugins/Speaker/src/punchestableview.cpp | C++ | gpl-2.0 | 2,945 |
// prng.cpp or pseudo-random number generator (prng)
// Generates some pseudo-random numbers.
#include <iostream>
#include <iomanip>
using std::cout; // iostream
using std::endl;
using std::setw; // iomanip
// function generates random number
unsigned pseudoRNG() {
static unsigned seed = 5493; // some (any) initial s... | Grayninja/General | Programming/C++/5.Control_Flow/5.9-random-number-generation/prng.cpp | C++ | gpl-2.0 | 1,000 |
<?php if (!defined('BASEPATH')) exit('No direct script access allowed');
class System
{
function System()
{
if (!isset($this->CI))
{
$this->CI =& get_instance();
}
$this->settings_table = 'settings';
$this->template_table = 'templates';
$this->languages_table = 'languages';
$thi... | JasonBaier/Open-Blog | application/libraries/System.php | PHP | gpl-3.0 | 2,540 |
import string
import socket
import base64
import sys
class message:
def __init__(self, name="generate" ):
if name == "generate":
self.name=socket.gethostname()
else:
self.name=name
self.type="gc"
self.decoded=""
def set ( self, content=" " ):
... | LibraryBox-Dev/LibraryBox-core | piratebox_origin/piratebox/piratebox/python_lib/messages.py | Python | gpl-3.0 | 1,109 |
using System;
using Server;
using Server.Items;
namespace Server.Mobiles
{
public class Kurlem : BaseCreature
{
[Constructable]
public Kurlem()
: base( AIType.AI_Melee, FightMode.Aggressor, 22, 1, 0.2, 1.0 )
{
Name = "Kurlem";
Title = "the Caretaker";
Race = Race.Gargoyle;
Blesse... | greeduomacro/xrunuo | Scripts/Distro/Mobiles/Townfolk/Holy City/Kurlem.cs | C# | gpl-3.0 | 917 |
package instance
import (
"encoding/json"
)
// ID is the identifier for an instance.
type ID string
// Description contains details about an instance.
type Description struct {
ID ID
LogicalID *LogicalID
Tags map[string]string
}
// LogicalID is the logical identifier to associate with an instance.
t... | anarcher/infrakit.gcp | vendor/github.com/docker/infrakit/pkg/spi/instance/types.go | GO | gpl-3.0 | 1,223 |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Copyright © 2014 René Samselnig
#
# This file is part of Database Navigator.
#
# Database Navigator 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 vers... | resamsel/dbmanagr | scripts/toc.py | Python | gpl-3.0 | 1,614 |
# -*- coding: utf-8 -*-
"""
pygments.plugin
~~~~~~~~~~~~~~~
Pygments setuptools plugin interface. The methods defined
here also work if setuptools isn't installed but they just
return nothing.
lexer plugins::
[pygments.lexers]
yourlexer = yourmodule:YourLexer
formatter pl... | davy39/eric | ThirdParty/Pygments/pygments/plugin.py | Python | gpl-3.0 | 1,903 |
package com.amaze.filemanager.filesystem;
import android.content.Context;
import android.os.AsyncTask;
import android.os.Build;
import android.support.annotation.NonNull;
import android.support.v4.provider.DocumentFile;
import com.amaze.filemanager.exceptions.RootNotPermittedException;
import com.amaze.filemanager.ut... | martincz/AmazeFileManager | src/main/java/com/amaze/filemanager/filesystem/Operations.java | Java | gpl-3.0 | 24,347 |
/****************************************************************************
**
** Copyright (C) 2016 The Qt Company Ltd.
** Contact: https://www.qt.io/licensing/
**
** This file is part of Qt Creator.
**
** Commercial License Usage
** Licensees holding valid commercial Qt licenses may use this file in
** accordance w... | sailfish-sdk/sailfish-qtcreator | src/plugins/qmljstools/qmljstoolsplugin.cpp | C++ | gpl-3.0 | 4,284 |
<?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... | danielbonetto/twig_MVC | lang/es/theme_overlay.php | PHP | gpl-3.0 | 1,725 |
/*
Copyright (C) 2014-2019 de4dot@gmail.com
This file is part of dnSpy
dnSpy 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... | manojdjoshi/dnSpy | dnSpy/dnSpy/MainApp/DsToolWindowServiceCommands.cs | C# | gpl-3.0 | 19,003 |
'use strict';
/**
* Types of events
* @readonly
* @enum {number}
*/
var EventTypes = {
// Channel Events
/**
* A channel got connected
* @type {EventType}
*/
CONNECT: "connect",
/**
* A channel got disconnected
*/
DISCONNECT: "disconnect",
/**
* A cha... | Tschrock/FezBot | modules/eventtypes.js | JavaScript | gpl-3.0 | 3,753 |
namespace Allors.Repository
{
using System;
using Attributes;
#region Allors
[Id("d0f9fc0d-a3c5-46cc-ab00-4c724995fc14")]
#endregion
public partial class FaceToFaceCommunication : CommunicationEvent, Versioned
{
#region inherited properties
public CommunicationEventState Pr... | Allors/allors | Domains/Apps/Repository/Domain/Export/Apps/FaceToFaceCommunication.cs | C# | gpl-3.0 | 4,297 |
package com.xxl.job.admin.core.route.strategy;
import com.xxl.job.admin.core.route.ExecutorRouter;
import com.xxl.job.core.biz.model.ReturnT;
import com.xxl.job.core.biz.model.TriggerParam;
import java.util.*;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.ConcurrentMap;
/**
* 单个JOB对应的每个... | xuxueli/xxl-job | xxl-job-admin/src/main/java/com/xxl/job/admin/core/route/strategy/ExecutorRouteLFU.java | Java | gpl-3.0 | 3,053 |
package com.bioxx.tfc2.gui;
import java.awt.Rectangle;
import java.util.Collection;
import net.minecraft.client.Minecraft;
import net.minecraft.client.gui.GuiButton;
import net.minecraft.client.gui.inventory.GuiContainerCreative;
import net.minecraft.client.gui.inventory.GuiInventory;
import net.minecraft.client.rend... | CHeuberger/TFC2 | src/Common/com/bioxx/tfc2/gui/GuiInventoryTFC.java | Java | gpl-3.0 | 7,667 |
<?php
return [
'class' => 'yii\db\Connection',
'dsn' => 'mysql:host=127.0.0.1;dbname=manga_ranobe_storage_app',
'username' => 'travis',
'password' => '',
'charset' => 'utf8',
]; | gunmetal313/MangaRanobeStorageApp | helper_scripts/travis/db_mysql.php | PHP | gpl-3.0 | 198 |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/**
* FUEL CMS
* http://www.getfuelcms.com
*
* An open source Content Management System based on the
* Codeigniter framework (http://codeigniter.com)
*
* @package FUEL CMS
* @author David McReynolds @ Daylight Studio
* @copyright Co... | scotton34/sample | fuel/modules/fuel/libraries/Validator.php | PHP | gpl-3.0 | 10,348 |
/*
* GPXParser.java
*
* Copyright (c) 2012, AlternativeVision. All rights reserved.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License,... | RBerliner/freeboard-server | src/main/java/org/alternativevision/gpx/GPXParser.java | Java | gpl-3.0 | 30,515 |
<?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 yo... | jadzgauskas/oxidce | application/models/oxvoucherserie.php | PHP | gpl-3.0 | 4,795 |
var translations = {
'es': {
'One moment while we<br>log you in':
'Espera un momento mientras<br>iniciamos tu sesión',
'You are now connected to the network':
'Ahora estás conectado a la red',
'Account signups/purchases are disabled in preview mode':
'La i... | kbeflo/evilportals | archive/optimumwifi/assets/js/xlate.js | JavaScript | gpl-3.0 | 2,089 |
package it.ninjatech.kvo.async.job;
import it.ninjatech.kvo.model.ImageProvider;
import it.ninjatech.kvo.util.Logger;
import java.awt.Dimension;
import java.awt.Image;
import java.util.EnumSet;
public class CacheRemoteImageAsyncJob extends AbstractImageLoaderAsyncJob {
private static final long serialVe... | vincenzomazzeo/kodi-video-organizer | src/main/java/it/ninjatech/kvo/async/job/CacheRemoteImageAsyncJob.java | Java | gpl-3.0 | 1,058 |
/******************************************************************************/
/* */
/* X r d C m s L o g i n . c c */
/* ... | bbockelm/xrootd_old_git | src/XrdCms/XrdCmsLogin.cc | C++ | gpl-3.0 | 7,499 |
//
// Author : Toru Shiozaki
// Date : May 2009
//
#define NGRID 12
#define MAXT 64
#define NBOX 32
#define NBOXL 0
#define T_INFTY 11
#include <sstream>
#include <iostream>
#include <iomanip>
#include <vector>
#include "mpreal.h"
#include <map>
#include <cmath>
#include <string>
#include <cassert>
#include <fstream... | nubakery/bagel | src/integral/rys/interpolate/main.cc | C++ | gpl-3.0 | 22,012 |
<?php
/**
* LICENSE: The MIT License (the "License")
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* https://github.com/azure/azure-storage-php/LICENSE
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the L... | segej87/ecomapper | DataEntry/server_side/ecomapper-backend/vendor/microsoft/azure-storage/src/Table/Models/BatchOperation.php | PHP | gpl-3.0 | 2,844 |
/*
*\class PASER_Neighbor_Table
*@brief Class represents an entry in the neighbor table
*
*\authors Eugen.Paul | Mohamad.Sbeiti \@paser.info
*
*\copyright (C) 2012 Communication Networks Institute (CNI - Prof. Dr.-Ing. Christian Wietfeld)
* at Technische Universitaet Dortmund, ... | ngocthienle/SG_OMNeTpp | inetmanet-2.0/src/networklayer/manetrouting/PASER/paser_tables/PASER_Neighbor_Entry.cc | C++ | gpl-3.0 | 1,505 |
<?php
/**
* Copyright © 2016 Magento. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\PageCache\Test\Unit\Model;
use Magento\PageCache\Model\Config;
class ConfigTest extends \PHPUnit_Framework_TestCase
{
/**
* @var \Magento\PageCache\Model\Config
*/
protected $_mo... | rajmahesh/magento2-master | vendor/magento/module-page-cache/Test/Unit/Model/ConfigTest.php | PHP | gpl-3.0 | 4,719 |
<?php
/**
* Nooku Platform - http://www.nooku.org/platform
*
* @copyright Copyright (C) 2007 - 2014 Johan Janssens and Timble CVBA. (http://www.timble.net)
* @license GNU GPLv3 <http://www.gnu.org/licenses/gpl.html>
* @link https://github.com/nooku/nooku-platform for the canonical source repository
*... | babsgosgens/nooku-ember-example-theme | library/event/mixin.php | PHP | gpl-3.0 | 9,285 |
require 'nokogiri'
require 'digest'
class XMLReader
# uses nokogiri to extract all system information from scenario.xml
# This includes module filters, which are module objects that contain filters for selecting
# from the actual modules that are available
# @return [Array] Array containing Systems objects
... | cliffe/SecGen | lib/readers/xml_reader.rb | Ruby | gpl-3.0 | 1,407 |
<?php
// Heading
$_['heading_title'] = 'Blog Viewed Report';
// Text
$_['text_success'] = 'Success: You have modified the blog viewed report!';
// Column
$_['column_article_name'] = 'Article Name';
$_['column_author_name'] = 'Author Name';
$_['column_viewed'] = 'Viewed';
$_['column_percent'] = 'Percent';
... | dhananjaypingale2112/vc_fitness | upload/aplogin/language/english/simple_blog/report.php | PHP | gpl-3.0 | 415 |
<?php
namespace App\itnovum\openITCOCKPIT\Core\AngularJS;
class PdfAssets {
/**
* @return array
*/
static public function getCssFiles() {
return [
'/node_modules/bootstrap/dist/css/bootstrap.css',
'/smartadmin4/dist/css/vendors.bundle.css',
'/smartadmin... | trevrobwhite/openITCOCKPIT | src/itnovum/openITCOCKPIT/Core/AngularJS/PdfAssets.php | PHP | gpl-3.0 | 608 |
using LeagueSharp.Common;
using SharpDX;
using EloBuddy;
using LeagueSharp.Common;
namespace e.Motion_Katarina
{
public class Dagger
{
private static readonly int DELAY = 0;
private static readonly int MAXACTIVETIME = 4000;
private bool Destructable;
private Vector3 Position;
... | saophaisau/port | Core/Champion Ports/Katarina/e.Motion Katarina/Dagger.cs | C# | gpl-3.0 | 1,294 |
package org.obiba.mica.search.aggregations;
import org.obiba.mica.micaConfig.service.helper.AggregationMetaDataProvider;
import org.obiba.mica.micaConfig.service.helper.PopulationIdAggregationMetaDataHelper;
import org.springframework.stereotype.Component;
import javax.inject.Inject;
import java.util.Map;
@Component... | obiba/mica2 | mica-search/src/main/java/org/obiba/mica/search/aggregations/PopulationAggregationMetaDataProvider.java | Java | gpl-3.0 | 1,342 |
/**
* This file is part of d:swarm graph extension.
*
* d:swarm graph extension 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.
... | zazi/dswarm-graph-neo4j | src/main/java/org/dswarm/graph/delta/match/model/util/CSEntityUtil.java | Java | gpl-3.0 | 1,515 |
#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... | 151706061/MacroMedicalSystem | ImageServer/Model/EntityBrokers/IServerRuleApplyTimeEnumBroker.gen.cs | C# | gpl-3.0 | 1,219 |
#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... | 151706061/MacroMedicalSystem | ImageServer/Common/Exceptions/InvalidStudyStateOperationException.cs | C# | gpl-3.0 | 1,334 |
function assign(taskID, assignedTo)
{
$('.assign').width(150);
$('.assign').height(40);
$('.assign').load(createLink('user', 'ajaxGetUser', 'taskID=' + taskID + '&assignedTo=' + assignedTo));
}
function setComment()
{
$('#comment').toggle();
}
| isleon/zentao | module/task/js/view.js | JavaScript | gpl-3.0 | 252 |
/* Image.js
*
* copyright (c) 2010-2017, Christian Mayer and the CometVisu contributers.
*
* 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 o... | joltcoke/CometVisu | source/class/cv/parser/widgets/Image.js | JavaScript | gpl-3.0 | 2,083 |
<?php
echo("Discovery protocols:");
global $link_exists;
$community = $device['community'];
if ($device['os'] == "ironware")
{
echo(" Brocade FDP: ");
$fdp_array = snmpwalk_cache_twopart_oid($device, "snFdpCacheEntry", array(), "FOUNDRY-SN-SWITCH-GROUP-MIB");
if ($fdp_array)
{
unset($fdp_links);
for... | wojons/librenms | includes/discovery/discovery-protocols.inc.php | PHP | gpl-3.0 | 6,429 |
/*
Copyright 2014 Red Hat, Inc. and/or its affiliates.
This file is part of lightblue.
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 ... | dcrissman/lightblue-ldap | lightblue-ldap-hystrix/src/main/java/com/redhat/lightblue/hystrix/ldap/AbstractLdapHystrixCommand.java | Java | gpl-3.0 | 1,527 |
#include "intfile.hh"
dcmplx Pf8(const double x[], double es[], double esx[], double em[], double lambda, double lrs[], double bi) {
double x0=x[0];
double x1=x[1];
double x2=x[2];
dcmplx y[149];
dcmplx FOUT;
dcmplx MYI(0.,1.);
y[1]=1./bi;
y[2]=em[0];
y[3]=x0*x0;
y[4]=em[3];
y[5]=em[1];
y[6]=em[2];
y[7]=esx[0];
y[8]=y... | HEPcodes/FeynHiggs | extse/OasatPdep.app/SecDec3/loop/T1234m1234/together/epstothe1/f8.cc | C++ | gpl-3.0 | 5,226 |
/*
* Syncany, www.syncany.org
* Copyright (C) 2011 Philipp C. Heckel <philipp.heckel@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 3 of the License, or
* (a... | pviotti/stacksync-desktop | src/com/stacksync/desktop/watch/local/LocalWatcher.java | Java | gpl-3.0 | 4,196 |
/*
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2017 - ROLI Ltd.
JUCE is an open source library subject to commercial or open-source
licensing.
By using JUCE, you agree to the terms of both the JUCE 5 End-User Lic... | gbevin/HEELP | JuceLibraryCode/modules/juce_gui_basics/layout/juce_ScrollBar.cpp | C++ | gpl-3.0 | 12,905 |
<?php
/*
**************************************************************************************************************************
** CORAL Resources Module v. 1.2
**
** Copyright (c) 2010 University of Notre Dame
**
** This file is part of CORAL.
**
** CORAL is free software: you can redistribute it and/or modify it... | TAMULib/CORAL-Resources | admin/classes/domain/Resource.php | PHP | gpl-3.0 | 79,589 |
/*
* Meran - MERAN UNLP is a ILS (Integrated Library System) wich provides Catalog,
* Circulation and User's Management. It's written in Perl, and uses Apache2
* Web-Server, MySQL database and Sphinx 2 indexing.
* Copyright (C) 2009-2013 Grupo de desarrollo de Meran CeSPI-UNLP
*
* This file is part of Meran.
*
... | Desarrollo-CeSPI/meran | includes/aloha/util/arrays.js | JavaScript | gpl-3.0 | 3,812 |
// Copyright 2017 Jon Skeet. All rights reserved. Use of this source code is governed by the Apache License 2.0, as found in the LICENSE.txt file.
using System;
namespace NullConditional
{
class LoggingDemo
{
static void Main()
{
int x = 10;
Logger logger = new Logger()... | krazymirk/cs7 | CS7/CS7/NullConditional/LoggingDemo.cs | C# | gpl-3.0 | 460 |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="AssociationContains.cs" company="Allors bvba">
// Copyright 2002-2017 Allors bvba.
//
// Dual Licensed under
// a) the Lesser General Public Licence v3 (LGPL)
// b) the Allo... | Allors/allors | Platform/Database/Adapters/Allors.Adapters.Object.SqlClient/Predicates/AssociationContains.cs | C# | gpl-3.0 | 2,811 |
using System;
using System.Web;
using System.Web.Mvc;
using SmartStore.Core;
using SmartStore.Core.Domain.Catalog;
using SmartStore.Core.Domain.Customers;
using SmartStore.Core.Domain.Media;
using SmartStore.Core.Html;
using SmartStore.Services.Catalog;
using SmartStore.Services.Media;
using SmartStore.Services.Orders... | nitware/estore | src/Presentation/SmartStore.Web/Controllers/DownloadController.cs | C# | gpl-3.0 | 8,284 |
<?
function auth_check_login()
{
ob_start();
session_start();
if ( $_SESSION["auth_id"] != "BVS@BIREME" ) {
ob_end_clean();
header("Location: /admin/index.php?error=TIMEOUT");
exit;
}
ob_end_clean();
}
?> | SuporteCTRL/suitesaber | htdocs/site/site/admin/auth_check.php | PHP | gpl-3.0 | 261 |
/*
This source file is part of Rigs of Rods
Copyright 2005-2012 Pierre-Michel Ricordel
Copyright 2007-2012 Thomas Fischer
Copyright 2013-2014 Petr Ohlidal
For more information, see http://www.rigsofrods.com/
Rigs of Rods is free software: you can redistribute it and/or modify
it under the terms of the GNU Gene... | ulteq/rigs-of-rods | source/main/gfx/SkyXManager.cpp | C++ | gpl-3.0 | 6,681 |
/*
Copyright (C) 2011 Andrew Cotter
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 version.
This program is distributed in the ... | mjmg/Rgtsvm | src/helpers.hpp | C++ | gpl-3.0 | 7,286 |
/**
* This file is part of a demo that shows how to use RT2D, a 2D OpenGL framework.
*
* - Copyright 2015 Rik Teerling <rik@onandoffables.com>
* - Initial commit
* - Copyright 2015 Your Name <you@yourhost.com>
* - What you did
*/
#include "scene01.h"
Scene01::Scene01() : SuperScene()
{
// Start Timer ... | Thalliuss/RT2D_Project | demo/scene01.cpp | C++ | gpl-3.0 | 6,195 |
using UnityEngine;
using UnityEditor;
using System.Collections;
using System.Collections.Generic;
using Frontiers.World;
[CustomEditor(typeof(BannerEditor))]
public class BannerEditorEditor : Editor
{
protected BannerEditor be;
public void Awake()
{
be = (BannerEditor)target;
}
public override void OnIn... | SignpostMarv/FRONTIERS | Assets/Editor/Frontiers/BannerEditorEditor.cs | C# | gpl-3.0 | 436 |
<?php
// Heading
$_['heading_title'] = 'Cliente';
// Text
$_['text_login'] = 'Login';
$_['text_success'] = 'Hai modificato con successo i clienti!';
$_['text_approved'] = 'Hai attivato %s account!';
$_['text_wait'] = 'Attendi!';
$_['text_balance'] ... | censam/open_cart | multilanguage/OC-Europa-1-5-1-3-9.part01/upload/admin/language/italian/sale/customer.php | PHP | gpl-3.0 | 3,022 |
<?php
class OperationData {
public static $tablename = "operation";
public function OperationData(){
$this->name = "";
$this->product_id = "";
$this->q = "";
$this->cut_id = "";
$this->operation_type_id = "";
$this->is_oficial = "0";
$this->created_at = "NOW()";
}
public function add(){
$sql = "in... | cyberiaVirtual/kaluna_vta | core/modules/index/model/OperationData.php | PHP | gpl-3.0 | 19,750 |
/****************************************************************************
Copyright (c) 2011-2012 cocos2d-x.org
Copyright (c) 2013-2014 Chukong Technologies Inc.
http://www.cocos2d-x.org
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation... | corumcorp/redsentir | redsentir/static/juego/frameworks/cocos2d-html5/extensions/cocostudio/armature/CCArmature.js | JavaScript | gpl-3.0 | 18,849 |
#include "jednostki.h"
#include "generatormt.h"
#include "nucleus_data.h"
#include "calg5.h"
#include "util2.h"
using namespace std;
template < class T >
static inline T pow2 (T x)
{
return x * x;
}
static inline double bessj0(double x)
{
if(fabs(x)<0.000001)
return cos(x);
else
return sin(x)/x;
}
static... | cjusz/nuwro | src/nucleus_data.cc | C++ | gpl-3.0 | 68,022 |
package org.gnubridge.presentation.gui;
import java.awt.Point;
import org.gnubridge.core.Card;
import org.gnubridge.core.Direction;
import org.gnubridge.core.East;
import org.gnubridge.core.Deal;
import org.gnubridge.core.Hand;
import org.gnubridge.core.North;
import org.gnubridge.core.South;
import org.gnubridge.cor... | pslusarz/gnubridge | src/main/java/org/gnubridge/presentation/gui/OneColumnPerColor.java | Java | gpl-3.0 | 1,786 |
<b>Users Currently Logged In</b>
<ul>
<?php if (!empty($currentUsers)):foreach($currentUsers as $u):?>
<li>
<?php echo $u->getFullName();?>
</li>
<?php endforeach;endif;?>
</ul>
| 2pisoftware/cmfive | system/modules/admin/templates/index.tpl.php | PHP | gpl-3.0 | 214 |
<?php
/*******
Biblioteka implementująca BotAPI GG http://boty.gg.pl/
Copyright (C) 2013 GG Network S.A. Marcin Bagiński <marcin.baginski@firma.gg.pl>
This library is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Found... | michibo112/czacik.pl | MessageBuilder.php | PHP | gpl-3.0 | 7,896 |
<?php
/*
Gibbon, Flexible & Open School System
Copyright (C) 2010, Ross Parker
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 version.
... | dimas-latief/core | modules/Application Form/applicationForm.php | PHP | gpl-3.0 | 86,438 |
// uScript Action Node
// (C) 2011 Detox Studios LLC
using UnityEngine;
using System.Collections;
[NodePath("Actions/Assets")]
[NodeCopyright("Copyright 2011 by Detox Studios LLC")]
[NodeToolTip("Loads a PhysicMaterial")]
[NodeAuthor("Detox Studios LLC", "http://www.detoxstudios.com")]
[NodeHelp("http://docs.uscript... | neroziros/GameJam2017 | Assets/uScript/uScriptRuntime/Nodes/Actions/Assets/uScriptAct_LoadPhysicMaterial.cs | C# | gpl-3.0 | 1,905 |
/*global define*/
/*global test*/
/*global equal*/
define(['models/config'], function (Model) {
'use strict';
module('Config model');
test('Can be created with default values', function() {
var note = new Model();
equal(note.get('name'), '', 'For default config name is empty');
equ... | elopio/laverna | test/spec/Models/config.js | JavaScript | gpl-3.0 | 641 |
<?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 ... | iomad/iomad | blocks/tag_flickr/version.php | PHP | gpl-3.0 | 1,183 |
/*
* Copyright (C) 2013 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | s20121035/rk3288_android5.1_repo | packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/DictionaryWriter.java | Java | gpl-3.0 | 4,412 |
var searchData=
[
['operator_2a',['operator*',['../class_complex.html#a789de21d72aa21414c26e0dd0966313a',1,'Complex']]],
['operator_2b',['operator+',['../class_complex.html#a5a7bc077499ace978055b0e6b9072ee9',1,'Complex']]],
['operator_5e',['operator^',['../class_complex.html#a952d42791b6b729c16406e21f9615f9f',1,'... | philippeganz/mandelbrot | docs/search/functions_6.js | JavaScript | gpl-3.0 | 335 |
<?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 ... | stopfstedt/moodle | lib/editor/atto/plugins/recordrtc/version.php | PHP | gpl-3.0 | 1,229 |
# import re, os
# from jandy.profiler import Profiler
#
#
# class Base:
# def __init__(self):
# print('init call')
#
# def compile(self, str):
# re.compile(str)
#
# #
# p = Profiler("12K", "localhost:3000", 1)
# try:
# p.start()
# b = Base()
# b.compile("foo|bar")
# print("Hello ... | jcooky/jandy | jandy-python/tests/a.py | Python | gpl-3.0 | 457 |
# Copyright (C) 1998-2014 by the Free Software Foundation, Inc.
#
# This file is part of GNU Mailman.
#
# GNU Mailman 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... | adam-iris/mailman | src/mailman/bin/checkdbs.py | Python | gpl-3.0 | 7,696 |
# encoding: utf-8
import datetime
from south.db import db
from south.v2 import SchemaMigration
from django.db import models
class Migration(SchemaMigration):
def forwards(self, orm):
# Adding field 'InstanceApplication.network'
db.add_column('apply_instanceapplication', 'network', sel... | sunweaver/ganetimgr | apply/migrations/0005_add_application_network_field.py | Python | gpl-3.0 | 8,911 |
require 'uuid'
class CompassAeInstance < ActiveRecord::Base
attr_protected :created_at, :updated_at
has_tracked_status
has_many :parties, :through => :compass_ae_instance_party_roles
has_many :compass_ae_instance_party_roles, :dependent => :destroy do
def owners
where('role_type_id = ?', RoleType.com... | xuewenfei/compass_agile_enterprise | erp_base_erp_svcs/app/models/compass_ae_instance.rb | Ruby | gpl-3.0 | 1,077 |
<?php
/**
* LnmsCommand.php
*
* Convenience class for common command code
*
* 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 lat... | justmedude/librenms | app/Console/LnmsCommand.php | PHP | gpl-3.0 | 4,534 |
package com.example.mathsolver;
import android.annotation.TargetApi;
import android.app.Fragment;
import android.os.Build;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
@TargetApi(Build.VERSION_CODES.HONEYCOMB)
public class AreaFragmentRight ext... | RahulDadoriya/MathSolverApp | src/com/example/mathsolver/AreaFragmentRight.java | Java | gpl-3.0 | 580 |
# coding=utf-8
# This file is part of SickChill.
#
# URL: https://sickchill.github.io
# Git: https://github.com/SickChill/SickChill.git
#
# SickChill 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 vers... | dfalt974/SickRage | tests/sickchill_tests/show/show_tests.py | Python | gpl-3.0 | 4,719 |
/*
* ============================================================================
* GNU General Public License
* ============================================================================
*
* Copyright (C) 2015 Infinite Automation Software. All rights reserved.
*
* This program is free software: you can redist... | mlohbihler/BACnet4J | src/main/java/com/serotonin/bacnet4j/type/notificationParameters/CommandFailure.java | Java | gpl-3.0 | 4,277 |
<?php
/**
* Kodekit - http://timble.net/kodekit
*
* @copyright Copyright (C) 2007 - 2016 Johan Janssens and Timble CVBA. (http://www.timble.net)
* @license MPL v2.0 <https://www.mozilla.org/en-US/MPL/2.0>
* @link https://github.com/timble/kodekit for the canonical source repository
*/
namespace Kode... | nooku/nooku-framework | code/controller/permission/interface.php | PHP | gpl-3.0 | 2,175 |
// Font.cpp: ActionScript Font handling, for Gnash.
//
// Copyright (C) 2006, 2007, 2008, 2009, 2010 Free Software
// Foundation, Inc
//
// 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;... | atheerabed/gnash-fork | libcore/Font.cpp | C++ | gpl-3.0 | 8,960 |
<?php
/*
##########################################################################
# #
# Version 4 / / / #
# -----------__---/__---__------__----__---/---/- #
# ... | nerdiabet/webSPELL | languages/sr/admin/settings.php | PHP | gpl-3.0 | 11,568 |
using System.Linq;
using kino.Core.Framework;
using kino.Messaging;
namespace kino.Cluster
{
public partial class ScaleOutListener
{
private void ReceivedFromOtherNode(Message message)
{
if ((message.TraceOptions & MessageTraceOptions.Routing) == MessageTraceOptions.Routing)
... | iiwaasnet/kino | src/kino.Cluster/ScaleOutListener.Tracing.cs | C# | gpl-3.0 | 684 |
Bitrix 17.0.9 Business Demo = f37a7cf627b2ec3aa4045ed4678789ad
| gohdan/DFC | known_files/hashes/bitrix/modules/iblock/install/components/bitrix/iblock.vote/templates/stars/script.min.js | JavaScript | gpl-3.0 | 63 |
<?php
/**
* MyBB 1.8 Merge System
* Copyright 2014 MyBB Group, All Rights Reserved
*
* Website: http://www.mybb.com
* License: http://www.mybb.com/download/merge-system/license/
*/
// Disallow direct access to this file for security reasons
if(!defined("IN_MYBB"))
{
die("Direct initialization of this file is no... | PaulBender/merge-system | boards/phpbb3/pollvotes.php | PHP | gpl-3.0 | 2,116 |
<?php
/**
* Copyright © 2016 Magento. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\CatalogSearch\Setup;
use Magento\Framework\Setup\InstallSchemaInterface;
use Magento\Framework\Setup\ModuleContextInterface;
use Magento\Framework\Setup\SchemaSetupInterface;
/**
* @codeCoverage... | rajmahesh/magento2-master | vendor/magento/module-catalog-search/Setup/InstallSchema.php | PHP | gpl-3.0 | 1,022 |
/*
* Copyright (C) 2012 Krawler Information Systems Pvt Ltd
* 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
* as published by the Free Software Foundation; either version 2
* of the License, or (at your optio... | ufoe/Deskera-CRM | bpm-app/modulebuilder/src/main/java/com/krawler/portal/util/ListUtil.java | Java | gpl-3.0 | 8,286 |
<?php
/**
* Created by PhpStorm.
* User: mkt
* Date: 2015-10-28
* Time: 14:49
*/
namespace view;
require_once("view/ListView.php");
/**
* View that shows a list of unique sessions
* for a specific ip-number
*/
class SessionListView extends ListView
{
private $logSessions = array();
private static $... | js223kz/PHP_LOGGER | view/SessionListView.php | PHP | gpl-3.0 | 3,066 |
/**
* Copyright (c) 2012, Google Inc.
*
* 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 law or agre... | s20121035/rk3288_android5.1_repo | packages/apps/UnifiedEmail/src/com/android/mail/compose/FromAddressSpinner.java | Java | gpl-3.0 | 6,076 |
# coding: utf8
{
'"update" is an optional expression like "field1=\'newvalue\'". You cannot update or delete the results of a JOIN': '"update" is an optional expression like "field1=\'newvalue\'". You cannot update or delete the results of a JOIN',
'%Y-%m-%d': '%Y.%m.%d.',
'%Y-%m-%d %H:%M:%S': '%Y.%m.%d. %H:%M:%S',
'%s... | henkelis/sonospy | web2py/applications/sonospy/languages/hu.py | Python | gpl-3.0 | 4,428 |