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
<?php namespace PhpOffice\PhpSpreadsheet\Worksheet; use ArrayObject; use PhpOffice\PhpSpreadsheet\Calculation\Calculation; use PhpOffice\PhpSpreadsheet\Cell\Cell; use PhpOffice\PhpSpreadsheet\Cell\Coordinate; use PhpOffice\PhpSpreadsheet\Cell\DataType; use PhpOffice\PhpSpreadsheet\Cell\DataValidation; use PhpOffice\P...
collectiveaccess/pawtucket2
vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Worksheet/Worksheet.php
PHP
gpl-3.0
89,151
function InstrumentSelector(list) { this.instruments = list; this.currentInstrument; this.updateInstrumentView(); } InstrumentSelector.prototype.addInstrument = function (type, url, colorCode) { var l = this.instruments.push(new Instrument(type, url, colorCode)); this.createInstrumentView(l-1); } InstrumentSele...
mqtlam/cloud-composer
release/beta_0.3/include/InstrumentSelector.js
JavaScript
gpl-3.0
2,208
<?php /** * OpenCart 1.5.2.1 Polskie Tłumaczenie * * This script is protected by copyright. It's use, copying, modification * and distribution without written consent of the author is prohibited. * * @category OpenCart * @package OpenCart * @author Andrzej Kłopotowski <aklopot@gmail.com> * @author ...
kzawner/andreaherbaty.pl
upload/catalog/language/polski/account/forgotten.php
PHP
gpl-3.0
1,273
from __future__ import unicode_literals from __future__ import absolute_import from django.views.generic.base import TemplateResponseMixin from wiki.core.plugins import registry from wiki.conf import settings class ArticleMixin(TemplateResponseMixin): """A mixin that receives an article object as a parameter (u...
Infernion/django-wiki
wiki/views/mixins.py
Python
gpl-3.0
1,668
import game as game import pytest import sys sys.path.insert(0, '..') def trim_board(ascii_board): return '\n'.join([i.strip() for i in ascii_board.splitlines()]) t = trim_board def test_new_board(): game.Board(3,3).ascii() == t(""" ... ... ... """) game.Board(4,3).ascii() == t(""" ....
fweidemann14/x-gewinnt
game/test_game.py
Python
gpl-3.0
3,095
#!/usr/bin/env ruby # # Usage: ruby load_data.rb *txt # require File.dirname(__FILE__) + '/../../../config/environment' require File.dirname(__FILE__) + '/../../load_utils' # First get hold of the region region = Region.find_or_initialize_by_region("Denmark") region.lat = 56.2639 region.lng = 9.5018 region.country = ...
guydavis/babynamemap
stats/europe/denmark/load_stats.rb
Ruby
gpl-3.0
1,307
/************************************************************************* * * The Contents of this file are made available subject to the terms of * the BSD license. * * Copyright 2000, 2010 Oracle and/or its affiliates. * All rights reserved. * * Redistribution and use in source and binary forms, with or...
qt-haiku/LibreOffice
odk/examples/java/Inspector/UnoTreeRenderer.java
Java
gpl-3.0
5,903
package antlr; /* ANTLR Translator Generator * Project led by Terence Parr at http://www.cs.usfca.edu * Software rights: http://www.antlr.org/license.html * * $Id: //depot/code/org.antlr/release/antlr-2.7.7/antlr/TreeBlockContext.java#2 $ */ /**The context needed to add root,child elements to a Tree. There * i...
salcedonia/acide-0-8-release-2010-2011
acide/antlr/TreeBlockContext.java
Java
gpl-3.0
1,263
""" A mode for working with Circuit Python boards. Copyright (c) 2015-2017 Nicholas H.Tollervey and others (see the AUTHORS file). 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...
carlosperate/mu
mu/modes/circuitpython.py
Python
gpl-3.0
10,028
import os from collections import defaultdict from django.conf import settings from django.contrib import messages from django.core.paginator import Paginator, InvalidPage, EmptyPage from django.core.urlresolvers import reverse from django.db.models import Count, Q from django.http import HttpResponseRedirect, Http404...
mPowering/django-orb
orb/views.py
Python
gpl-3.0
30,008
<?php /* * Starting player: Take the Starting player token and all the Food that has * accumulated on this Action space. Additionally, take 2 Ore (in games with 1 * to 3 players) or 1 Ruby (in games with 4 to 7 players) from the general * supply. (1 Food is added to this Action space every round.) */ namespace...
nanomuelle/caverna
src/Caverna/CoreBundle/Entity/ActionSpace/StartingPlayerActionSpace.php
PHP
gpl-3.0
2,605
package get_cocoa import ( "log" "github.com/gonum/plot" "github.com/gonum/plot/plotter" "github.com/gonum/plot/plotutil" "github.com/gonum/plot/vg" ) type PlotStruct struct { X float64 Y float64 } func Plot(series plotter.XYs) { p, err := plot.New() if err != nil { log.Fatal(err) } p.Title.Text = "Tim...
tchitchikov/instant_cocoa
src/get_cocoa/plotting.go
GO
gpl-3.0
566
require "rails_helper" RSpec.describe User::TeamsController, type: :controller do describe "GET #index" do context "when user is logged in" do login_user before(:each) do FactoryBot.create_list(:team_basis, 3, owner: @user) end it "returns http success" do get :index ...
tsolar/bp-tourneys
spec/controllers/user/teams_controller_spec.rb
Ruby
gpl-3.0
697
/* * Copyright (c) 2017 SamuelGjk <samuel.alva@outlook.com> * * This file is part of DiyCode * * DiyCode 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...
SamuelGjk/DiyCode
app/src/main/java/moe/yukinoneko/diycode/module/about/AboutActivity.java
Java
gpl-3.0
1,987
/** * \file IMP/atom/Selection.cpp * \brief Select a subset of a hierarchy. * * Copyright 2007-2017 IMP Inventors. All rights reserved. * */ #include "IMP/atom/hierarchy_tools.h" #include <IMP/SingletonContainer.h> #include <IMP/algebra/vector_generators.h> #include <IMP/atom/Atom.h> #include <IMP/atom/Chain....
shanot/imp
modules/atom/src/Selection.cpp
C++
gpl-3.0
41,273
<?php /** * The template for displaying the footer. * * Contains the closing of the #content div and all content after * * @package Bristol Big Youth Vote */ ?> </div><!-- #content --> <footer id="colophon" class="site-footer" role="contentinfo"> <ul class="acknowledgements"> <li><img src=...
DavidBiddle/bbyv-theme
footer.php
PHP
gpl-3.0
1,408
<?php /** Copyright 2011-2015 Nick Korbel This file is part of Booked Scheduler. Booked Scheduler 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 ve...
JoseTfg/booked3
lang/es.php
PHP
gpl-3.0
45,501
module ApplicationEnvironment protected def get_setting(key) @setting = Setting.find(:first, :conditions => ["key = ?", key], :limit => 1 ) return @setting.value end def path_for_thumbnail(thumbnail_name, username) path = Rails.root.join( get_setting('public_pictures_directory...
khanku/raillery
lib/application_environment.rb
Ruby
gpl-3.0
1,125
package madsdf.ardrone.controller.neuralnet; import com.google.common.eventbus.EventBus; import java.util.Arrays; import java.util.LinkedList; import java.util.ListIterator; import madsdf.shimmer.gui.AccelGyro; /** * Movement model implementing the abstract MovementModel and implementing the * processFeat...
heig-iict-ida/ardrone_gesture
src/madsdf/ardrone/controller/neuralnet/MeanDifferenceMedianMovement.java
Java
gpl-3.0
4,036
package edu.osu.cse5236.group9.dieta; import android.content.Intent; import android.os.Bundle; import android.support.v4.app.FragmentActivity; import android.support.v4.app.FragmentManager; import android.support.v4.app.FragmentTransaction; import android.util.Log; import android.view.View; import android.widget.TextV...
lisiyuan656/dieta
src/Dieta/app/src/main/java/edu/osu/cse5236/group9/dieta/DetailedResultsActivity.java
Java
gpl-3.0
4,468
class SiteController < ApplicationController skip_before_filter :authenticate_user!, only: [:index, :weixin, :weixin_mobile] layout :action_layout def index end def main @notices=General::Notice.where("date<=? AND e_date>=?", Date.today, Date.today ) end def presentation end def weixin end def wei...
ImJayQiu/ssics
app/controllers/site_controller.rb
Ruby
gpl-3.0
533
function glitch_frame(frame) { // bail out if we have no motion vectors let mvs = frame["mv"]; if ( !mvs ) return; // bail out if we have no forward motion vectors let fwd_mvs = mvs["forward"]; if ( !fwd_mvs ) return; // clear horizontal element of all motion vect...
JC-Morph/alghemy
lib/alghemy/scripts/mv_sink.js
JavaScript
gpl-3.0
805
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package cz.webarchiv.webanalyzer.dictionary; /** * * @author praso */ class Word implements java.lang.Comparable<Word> { private String word; public String getWord() { return word; } publi...
WebArchivCZ/webanalyzer
src/cz/webarchiv/webanalyzer/dictionary/Word.java
Java
gpl-3.0
800
<?php namespace OceanApplications\Postmen\Models; class Model { protected $acceptedCountries = ['ABW', 'AFG', 'AGO', 'AIA', 'ALA', 'ALB', 'AND', 'ARE', 'ARG', 'ARM', 'ASM', 'ATA', 'ATF', 'ATG', 'AUS', 'AUT', 'AZE', 'BDI', 'BEL', 'BEN', 'BES', 'BFA', 'BGD', 'BGR', 'BHR', 'BHS', 'BIH', 'BLM', 'BLR', 'BLZ', ...
oceanapplications/postmen
src/Models/Model.php
PHP
gpl-3.0
1,954
<?php /* Copyright (C) 2005 Rodolphe Quiedeville <rodolphe@quiedeville.org> * Copyright (C) 2005-2014 Laurent Destailleur <eldy@users.sourceforge.net> * Copyright (C) 2005-2010 Regis Houssin <regis.houssin@capnetworks.com> * Copyright (C) 2010-2013 Juanjo Menent <jmenent@2byte.es> * * This prog...
ozit/dolibarr
htdocs/admin/prelevement.php
PHP
gpl-3.0
9,338
package com.a4server.gameserver.network.packets.clientpackets; import com.a4server.gameserver.model.GameLock; import com.a4server.gameserver.model.GameObject; import com.a4server.gameserver.model.Hand; import com.a4server.gameserver.model.Player; import com.a4server.gameserver.model.inventory.AbstractItem; import com....
arksu/origin
server/src/com/a4server/gameserver/network/packets/clientpackets/InventoryClick.java
Java
gpl-3.0
5,303
#include "qtreversimenudialog.h" #include <QKeyEvent> #include <QApplication> #include <QDesktopWidget> #include "reversimenudialog.h" #include "qtaboutdialog.h" #include "qtreversimaindialog.h" #include "reversimenudialog.h" #include "ui_qtreversimenudialog.h" ribi::reversi::QtReversiMenuDialog::QtReversiMen...
richelbilderbeek/Reversi
qtreversimenudialog.cpp
C++
gpl-3.0
1,084
## # This module requires Metasploit: http://metasploit.com/download # Current source: https://github.com/rapid7/metasploit-framework ## require 'msf/core' class Metasploit3 < Msf::Auxiliary include Msf::Exploit::Remote::Tcp include Msf::Auxiliary::Dos def initialize(info = {}) super(update_info(info, ...
cSploit/android.MSF
modules/auxiliary/dos/http/nodejs_pipelining.rb
Ruby
gpl-3.0
2,959
/** * * Copyright (c) 2013-2014, Openflexo * Copyright (c) 2011-2012, AgileBirds * * This file is part of Gina-core, a component of the software infrastructure * developed at Openflexo. * * * Openflexo is dual-licensed under the European Union Public License (EUPL, either * version 1.1 of the License, o...
openflexo-team/gina
gina-api/src/main/java/org/openflexo/gina/model/widget/FIBTableAction.java
Java
gpl-3.0
8,774
<?php /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * * Copyright (c) 2001-2019 * * ...
JLuc/SPIP
ecrire/exec/base_repair.php
PHP
gpl-3.0
1,706
<?php class ModelOpenbayAmazonPatch extends Model { public function runPatch($manual = true) { $this->load->model('setting/setting'); $settings = $this->model_setting_setting->getSetting('openbay_amazon'); if ($settings) { $this->db->query(" CREATE TABLE IF NOT EXISTS `" . DB_PREFIX . "amazon_product_s...
villagedefrance/OpenCart-Overclocked
upload/admin/model/openbay/amazon_patch.php
PHP
gpl-3.0
1,268
#!/usr/bin/env python # -*- coding: utf-8 -*- # Copyright 2012 Tuukka Turto # # This file is part of satin-python. # # pyherc 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 ...
tuturto/satin-python
satin/label.py
Python
gpl-3.0
2,211
'use strict'; const {Application} = require('backbone.marionette'); const Geppetto = require('backbone.geppetto'); const debug = require( 'debug' )( 'dpac:app', '[Context]' ); const eventLog = require( 'debug' )( 'dpac:core.events', '\u2709' ); const app = module.exports = new Application(); const AppContext = Geppett...
d-pac/d-pac.client
src/scripts/core/App.js
JavaScript
gpl-3.0
957
package eiko.collections; public class CircularQueue<E extends Comparable<? super E>> extends AbstractCircularArray<E> { @SuppressWarnings("unchecked") public CircularQueue() { elements = (E[]) new Comparable[START_SIZE]; size = 0; start = 0; stop = 0; } public void enqueue(E element) { ...
thelasteiko/practice
algorithms/src/eiko/collections/CircularQueue.java
Java
gpl-3.0
587
/*** * Copyright 2013, 2014 Moises J. Bonilla Caraballo (Neodivert) * * This file is part of COMO. * * COMO 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. * * COMO is distributed in the hope that ...
moisesjbc/como
src/common/3d/light_data.hpp
C++
gpl-3.0
1,137
<?php /* * Copyright (c) 2011-2021 Lp Digital * * This file is part of BackBee Standalone. * * BackBee 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 * any later v...
backbee/backbee-php
Rest/Controller/Annotations/Pagination.php
PHP
gpl-3.0
1,222
jQuery(document).ready(function(jQuery){ jQuery('.smile-upload-media').click(function(e) { _wpPluploadSettings['defaults']['multipart_params']['admin_page']= 'customizer'; var button = jQuery(this); var id = 'smile_'+button.attr('id'); var uid = button.data('uid'); var rmv_btn = 'remove_'+button.attr('id');...
emergugue/emergugue_wp_theme
wp-content/plugins/convertplug/framework/lib/fields/media/media.js
JavaScript
gpl-3.0
5,553
from django.contrib.contenttypes.fields import GenericForeignKey, GenericRelation from django.contrib.contenttypes.models import ContentType from django.db import models from base.models import ModelloSemplice from base.tratti import ConMarcaTemporale class Giudizio(ModelloSemplice, ConMarcaTemporale): """ R...
CroceRossaItaliana/jorvik
social/models.py
Python
gpl-3.0
4,591
import {Component, Input, OnInit, ViewChild} from '@angular/core'; import {Messages} from "../../models/message"; import {Threadz} from "../../models/threadz"; import {HttpClient} from "@angular/common/http"; import {MatRipple} from "@angular/material"; import {FormBuilder, FormGroup} from "@angular/forms"; @Component...
whiteshadoww/smsWpc
src/app/components/content/content.component.ts
TypeScript
gpl-3.0
897
<?php namespace App\Repositories\Implementation\Cms; use App\Repositories\Contracts\Cms\Industry as IndustryInterface; use App\Repositories\Implementation\BaseImplementation; use App\Models\Industri as IndustryModels; use App\Models\IndustriTrans as IndustryTransModels; use App\Services\Transformation\Cms\Industry as...
kiki091/LintasEbtke
app/Repositories/Implementation/Cms/Industry.php
PHP
gpl-3.0
11,280
# -*- coding: utf-8 -*- # # Copyright (C) 2016 Taifxx # # 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....
Taifxx/xxtrep
context.addtolib/resources/lib/ext/li2_.py
Python
gpl-3.0
6,356
<?php /** * Mahara: Electronic portfolio, weblog, resume builder and social networking * Copyright (C) 2006-2009 Catalyst IT Ltd and others; see: * http://wiki.mahara.org/Contributors * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU G...
universityofglasgow/mahara
htdocs/auth/lib.php
PHP
gpl-3.0
84,268
/* * Copyright (C) 2015 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...
wiki2014/Learning-Summary
alps/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/LayerTests.java
Java
gpl-3.0
7,246
// Copyright © 2016 Gary W. Hudson Esq. // Released under GNU GPL 3.0 var lzwh = (function() {var z={ Decode:function(p) {function f(){--h?k>>=1:(k=p.charCodeAt(q++)-32,h=15);return k&1}var h=1,q=0,k=0,e=[""],l=[],g=0,m=0,c="",d,a=0,n,b; do{m&&(e[g-1]=c.charAt(0));m=a;l.push(c);d=0;for(a=g++;d!=a;)f()?d=(d+a>...
GWHudson/lzwh
lzwhutf16-min.js
JavaScript
gpl-3.0
1,186
<?php class ModelDefinitionForumCategory extends Model { public function addCategory($data) { $this->db->query("INSERT INTO " . DB_PREFIX . "forum_category SET parent_id = '" . (int)$data['parent_id'] . "', `top` = '" . (isset($data['top']) ? (int)$data['top'] : 0) . "', `column` = '" . (int)$data['column'] . "', s...
fahrettinaksoy/anet-support-center
public_html/admin/model/definition/forum_category.php
PHP
gpl-3.0
11,068
#include "../../../corpuslib_headers.h" #include "ClassifyLayer.h" namespace Corpus { namespace Tokenisation { namespace Layers { boost::shared_ptr<SPretoken> CClassifyLayer::GetNext() { // fetch next boost::shared_ptr<SPretoken> current(lower->GetNext()); // try to classify only...
accek/pantera-tagger
third_party/TaKIPI18/Linux/Corpus/Corpus/Tokenisation/Layers/ClassifyLayer.cpp
C++
gpl-3.0
726
#!/usr/bin/env python import argparse from . import core from . import gui def main(): parser = argparse.ArgumentParser( description="Track opponent's mulligan in the game of Hearthstone.") parser.add_argument('--gui', action='store_true') args = parser.parse_args() if args.gui: gui.m...
xor7486/mully
mully/__main__.py
Python
gpl-3.0
396
namespace WindowsFormsApplication4 { partial class TimeLinerSub { /// <summary> /// 必需的设计器变量。 /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// 清理所有正在使用的资源。 /// </summary> /// <param name="disposing">如果应...
lyn0328/Timeliner
Timeliner/TimeLinerSub.Designer.cs
C#
gpl-3.0
8,189
from api.callers.api_caller import ApiCaller from exceptions import ResponseTextContentTypeError from colors import Color import os from cli.arguments_builders.default_cli_arguments import DefaultCliArguments import datetime from cli.cli_file_writer import CliFileWriter from cli.formatter.cli_json_formatter import CliJ...
PayloadSecurity/VxAPI
cli/wrappers/cli_caller.py
Python
gpl-3.0
6,741
/* First created by JCasGen Wed Sep 07 16:18:03 EDT 2016 */ package edu.pitt.dbmi.xmeso.model.Model; import org.apache.uima.jcas.JCas; import org.apache.uima.jcas.JCasRegistry; import org.apache.uima.cas.impl.CASImpl; import org.apache.uima.cas.impl.FSGenerator; import org.apache.uima.cas.FeatureStructure; import org...
dbmi-pitt/xmeso
src/main/java/edu/pitt/dbmi/xmeso/model/Model/XmesoSentence_Type.java
Java
gpl-3.0
5,475
# -*- coding: utf-8 -*- ######################################################################### # # Copyright (C) 2016 OSGeo # # 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 ...
mcldev/geonode
geonode/security/views.py
Python
gpl-3.0
9,784
# Alternative during matching. Contains a list of symbols where each is tried. # Since we are parsing a CFG, there is no precedence to the alternatives. Only # fails if all alternatives fail. # # Example: # # str('a') | str('b') # matches either 'a' or 'b' # class Marpa::Atoms::Alternative < Marpa::Ato...
rhinton/libmarpa-bindings
ruby/marpa/atoms/alternative.rb
Ruby
gpl-3.0
3,452
#ifndef ATOOLS_Math_MathTools_H #define ATOOLS_Math_MathTools_H /* Declarations for discrete functions */ #ifdef __GNUC__ // GNU C++ Compiler #include <cmath> #include <cstdlib> /* if __GNUC__ == 3 && __GNUC_MINOR__ == 0. if defined __GNUC__ && defined __cplusplus && __GNUC_MINOR__ >= 8 if !def...
cms-externals/sherpa
ATOOLS/Math/MathTools.H
C++
gpl-3.0
8,456
ManageIndexes = { GridPanel : function(config) { config.autoExpandColumn = 'columns'; config.viewConfig = { forceFit: true }; ManageIndexes.GridPanel.superclass.constructor.call(this, config); }, gridPanelStore : function(data) { var store = new Ext.data.SimpleStore( { fields : data.fields }); ...
manusis/dblite
app/js/dblite/manageindexes.js
JavaScript
gpl-3.0
11,797
require 'package' class Kubectl < Package description 'Kubernetes command line tool' homepage 'https://kubernetes.io' version '1.7.0' source_url 'https://github.com/kubernetes/kubernetes/archive/v1.7.0.tar.gz' source_sha256 '0fe34180a4bb61384894616b1d348cc6350d1ebcbc071c67748864ffd2deb026' binary_url ({ ...
chromebrew/chromebrew-test
packages/kubectl.rb
Ruby
gpl-3.0
1,464
#include <string> #include <vector> #include <stdio.h> #include "graphics.h" #include "engine.h" #include "Lib/BufferedFile.h" #include "Lib/getvar.h" using namespace std; using namespace sf; int GraphicResources::GetGraphicCount() { return Graphics.size() - 1; } GraphicData& GraphicResources::GetGraphic(int Index)...
Nvreformat/Argentum-Engine
Source/graphics.cpp
C++
gpl-3.0
6,132
/* This file is part of the db4o object database http://www.db4o.com Copyright (C) 2004 - 2011 Versant Corporation http://www.versant.com db4o is free software; you can redistribute it and/or modify it under the terms of version 3 of the GNU General Public License as published by the Free Software Foundation. db4o ...
potty-dzmeia/db4o
src/db4oj/core/src/com/db4o/io/CachedIoAdapter.java
Java
gpl-3.0
13,271
/**************************************************************************** ** ** Copyright (C) 2016 The Qt Company Ltd. ** Contact: https://www.qt.io/licensing/ ** ** This file is part of the test suite of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:GPL-EXCEPT$ ** Commercial License Usage ** Licensees holding valid comm...
geminy/aidear
oss/qt/qt-everywhere-opensource-src-5.9.0/qtbase/tests/auto/widgets/dialogs/qfiledialog2/tst_qfiledialog2.cpp
C++
gpl-3.0
44,399
<?php declare(strict_types = 1); namespace AppBundle\Repository; use AppBundle\Model\Edit; use AppBundle\Model\Page; use AppBundle\Model\Project; /** * An EditRepository fetches data about a single revision. * @codeCoverageIgnore */ class EditRepository extends Repository { /** * Get an Edit instance giv...
x-Tools/xtools
src/AppBundle/Repository/EditRepository.php
PHP
gpl-3.0
2,791
<?php namespace app\modules\systemJournal\models; use app\components\custom\TSearchModelTools; use app\components\helpers\TimeHelper; use Yii; use yii\data\ActiveDataProvider; class SystemJournalSearch extends SystemJournal { const VIEW_MODE_ALL = 'All'; const VIEW_MODE_DELETED = 'Deleted'; use TSea...
eugene-siderka/randevu
modules/systemJournal/models/SystemJournalSearch.php
PHP
gpl-3.0
3,828
/*********************************************************************************** Copyright (C) 2014-2015 Ahmet Öztürk (aoz_2@yahoo.com) This file is part of Lifeograph. Lifeograph is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License a...
blhps/lifeograph-windows
src/win_wao.cpp
C++
gpl-3.0
17,191
<?php /** * @link https://github.com/old-town/workflow-zf2-toolkit * @author Malofeykin Andrey <and-rey2@yandex.ru> */ namespace OldTown\Workflow\ZF2\Toolkit\DoctrineWorkflowStory\Exception; use OldTown\Workflow\ZF2\Toolkit\Exception\InvalidArgumentException as Exception; /** * Class InvalidArgumentException...
old-town/workflow-zf2-toolkit
src/DoctrineWorkflowStory/Exception/InvalidArgumentException.php
PHP
gpl-3.0
488
// -------------------------------------------------------------------------------------------------- // Copyright (c) 2016 Microsoft Corporation // // 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 th...
maxfoow/MalmoExperience
Malmo-0.16.0-Windows-64bit/Minecraft/src/main/java/com/microsoft/Malmo/Utils/JSONWorldDataHelper.java
Java
gpl-3.0
8,861
/* * This file is part of EchoPet. * * EchoPet 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. * * EchoPet is distributed in th...
Borlea/EchoPet
modules/v1_14_R1/src/com/dsh105/echopet/compat/nms/v1_14_R1/entity/type/EntityEvokerPet.java
Java
gpl-3.0
2,379
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.IO; using System.Xml.Serialization; namespace SharpFtpServer { // TODO: Implement a real user store. [Obsolete] public static class UserStore { private static List<User> _users; static U...
staywarde/windows-iot-miniFTPServer
windows-iot-miniFTPServer/windows-iot-miniFTPServer/FTPServer/UserStore.cs
C#
gpl-3.0
1,300
/* * R Cloud - R-based Cloud Platform for Computational Research * at EMBL-EBI (European Bioinformatics Institute) * * Copyright (C) 2007-2015 European Bioinformatics Institute * Copyright (C) 2009-2015 Andrew Tikhonov - andrew.tikhonov@gmail.com * Copyright (C) 2007-2009 Karim Chine - karim.chine@m4x.org * * T...
andrewtikhonov/RCloud
rcloud-bench/src/main/java/workbench/views/basiceditor/highlighting/DocumentBlockLevels.java
Java
gpl-3.0
3,628
package com.benjaminsproule.cloud.domain; import lombok.AccessLevel; import lombok.Data; import lombok.NoArgsConstructor; import lombok.Setter; @Data @Setter(AccessLevel.PACKAGE) @NoArgsConstructor(access = AccessLevel.PACKAGE) public class Track { private String id; private String path; private Long trac...
gigaSproule/cloud-services
src/main/java/com/benjaminsproule/cloud/domain/Track.java
Java
gpl-3.0
618
function chkSubRes{{ $nIDtxt }}j{{ $j }}() { if (document.getElementById("n{{ $nIDtxt }}fld{{ $j }}").checked) { setSubResponses({{ $nID }}, "{{ $nSffx }}res{{ $j }}", true, new Array({{ $grankids }})); $("#n{{ $nIDtxt }}fld{{ $j }}sub").slideDown("fast"); } else { $("#n{{ $nIDtxt }}fld...
wikiworldorder/survloop
src/Views/forms/formtree-sub-response-ajax.blade.php
PHP
gpl-3.0
634
/* Copyright © 2007, 2008, 2009, 2010, 2011 Vladimír Vondruš <mosra@centrum.cz> This file is part of Kompas. Kompas is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License version 3 only, as published by the Free Software Foundation. ...
mosra/kompas-sdl
src/Matrix.cpp
C++
gpl-3.0
7,345
import "@/lang/locale/en" import './main'
leek-wars/leek-wars-client
src/main-en.ts
TypeScript
gpl-3.0
41
'use strict'; var winston = require('winston'), loggerUtils = require('alien-node-winston-utils'); module.exports = { port : 3000, // TODO this isnt setup for nginx yet server : { // Ports on which to run node instances. Should be n-1 instances, where n is the number of cores. enabledPorts : [30...
SeanCannon/club540
config/production.js
JavaScript
gpl-3.0
2,188
/* * jStorybook: すべての小説家・作者のためのオープンソース・ソフトウェア * Copyright (C) 2008 - 2012 Martin Mustun * (このソースの製作者) KMY * * このプログラムはフリーソフトです。 * あなたは、自由に修正し、再配布することが出来ます。 * あなたの権利は、the Free Software Foundationによって発表されたGPL ver.2以降によって保護されています。 * * このプログラムは、小説・ストーリーの制作がよりよくなるようにという願いを込めて再配布されています。 * あなたがこのプログラムを再配布するときは、G...
kmycode/jstorybook
src/jstorybook/view/pane/IComparablePane.java
Java
gpl-3.0
1,126
/* * Grakn - A Distributed Semantic Database * Copyright (C) 2016 Grakn Labs Limited * * Grakn 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...
fppt/mindmapsdb
grakn-graph/src/main/java/ai/grakn/graph/internal/CastingImpl.java
Java
gpl-3.0
3,785
package com.nilhcem.bblfr.core.dagger; import com.fasterxml.jackson.databind.DeserializationFeature; import com.fasterxml.jackson.databind.ObjectMapper; import com.jakewharton.picasso.OkHttp3Downloader; import com.nilhcem.bblfr.BBLApplication; import com.nilhcem.bblfr.BuildConfig; import com.nilhcem.bblfr.core.map.Loc...
Nilhcem/bblfr-android
app/src/main/java/com/nilhcem/bblfr/core/dagger/BBLModule.java
Java
gpl-3.0
1,947
//Copyright (c) 2011 Municipalidad de Rosario and Coop. de Trabajo Tecso Ltda. //This file is part of SIAT. SIAT is licensed under the terms //of the GNU General Public License, version 3. //See terms in COPYING file or <http://www.gnu.org/licenses/gpl.txt> package ar.gov.rosario.siat.gde.buss.bean; import java.util....
avdata99/SIAT
siat-1.0-SOURCE/src/buss/src/ar/gov/rosario/siat/gde/buss/bean/SerBanDesGen.java
Java
gpl-3.0
4,361
'use strict'; const path = require('path'); const os = require('os'); const fs = require('fs-extra'); const fieHome = require('fie-home'); const debug = require('debug')('core-report'); const fieUser = require('fie-user'); const execSync = require('child_process').execSync; const spawn = require('cross-spawn'); const ...
fieteam/fie
packages/fie-report/lib/utils.js
JavaScript
gpl-3.0
4,841
module.exports = { 'extends': ['google', 'plugin:react/recommended'], 'parserOptions': { 'ecmaVersion': 6, 'sourceType': 'module', 'ecmaFeatures': { 'jsx': true } }, 'env': { 'browser': true, }, 'plugins': [ 'react' ] };
BadgerTek/mern-skeleton
.eslintrc.client.js
JavaScript
gpl-3.0
293
#------------------------------------------------------------------------------- # Name: MissingPersomForm.py # # Purpose: Create Missing Person Flyer from data stored in the Subject # Information data layer within MapSAR # # Author: Don Ferguson # # Created: 12/12/2011 # Copyright: (...
dferguso/IGT4SAR
MissingPersonForm.py
Python
gpl-3.0
6,940
/** * Client. * @module client */ /** * View configuration. * @class ViewConfig */ function ViewConfig(resources) { this.playAnimations = true; this.resources = resources; } /** * Should we play animations? * @method setPlayAnimations */ ViewConfig.prototype.setPlayAnimations = function(value) { this.play...
limikael/netpoker
src/client/resources/ViewConfig.js
JavaScript
gpl-3.0
832
from kivy.lib import osc from time import sleep import pocketclient from kivy.utils import platform as kivy_platform SERVICE_PORT = 4000 def platform(): p = kivy_platform() if p.lower() in ('linux', 'waindows', 'osx'): return 'desktop' else: return p class Service(object): def __ini...
tshirtman/kpritz
service/main.py
Python
gpl-3.0
1,497
package it.niedermann.owncloud.notes.main.items.selection; import androidx.annotation.NonNull; import androidx.annotation.Nullable; import androidx.recyclerview.selection.ItemKeyProvider; import androidx.recyclerview.widget.RecyclerView; import static androidx.recyclerview.widget.RecyclerView.NO_POSITION; public cla...
stefan-niedermann/OwnCloud-Notes
app/src/main/java/it/niedermann/owncloud/notes/main/items/selection/ItemIdKeyProvider.java
Java
gpl-3.0
1,115
package com.github.cunvoas.iam.persistance.entity; import com.github.cunvoas.iam.persistance.entity.RessourceValeur; import javax.annotation.Generated; import javax.persistence.metamodel.ListAttribute; import javax.persistence.metamodel.SingularAttribute; import javax.persistence.metamodel.StaticMetamodel; @Generated...
cunvoas/springsecurity_iam
iam-core/src/main/java/com/github/cunvoas/iam/persistance/entity/Valeur_.java
Java
gpl-3.0
666
using System; using System.Collections.Generic; using System.Text; using libtcodWrapper; namespace RogueBasin { class MapGeneratorCave { Map baseMap; /// <summary> /// Chance of digging surrounding squares /// </summary> public int DiggingChance { get; se...
flend/roguelike
RogueBasin/RogueBasin/MapGeneratorCave.cs
C#
gpl-3.0
17,934
/* * Copyright (C) 2010-2015 JPEXS * * 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 prog...
izstas/jpexs-decompiler
src/com/jpexs/decompiler/flash/gui/player/MediaDisplayListener.java
Java
gpl-3.0
951
import cv2 import numpy as np import datetime as dt # constant faceCascade = cv2.CascadeClassifier('haarcascade_frontalface_alt.xml') OPENCV_METHODS = { "Correlation": 0, "Chi-Squared": 1, "Intersection": 2, "Hellinger": 3} hist_limit = 0.6 ttl = 1 * 60 q_limit = 3 # init variables total_count = 0 pre...
kvasnyj/face_counter
counter.py
Python
gpl-3.0
2,444
/* * EcologicalIndexEuclideanCommand.java Copyright (C) 2021. Daniel H. Huson * * (Some files contain contributions from other authors, who are then mentioned separately.) * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as publishe...
danielhuson/megan-ce
src/megan/clusteranalysis/commands/EcologicalIndexEuclideanCommand.java
Java
gpl-3.0
3,496
using Hyper.NodeServices.Contracts; namespace Hyper.NodeServices.Extensibility.EventTracking { /// <summary> /// Event arguments passed to an implementation of <see cref="IHyperNodeEventHandler"/> when the <see cref="IHyperNodeService"/> finishes executing the current task. /// </summary> public inter...
jheitz1117/Hyper
Hyper.NodeServices.Extensibility/EventTracking/ITaskCompletedEventArgs.cs
C#
gpl-3.0
549
/* * Copyright (C) 2014 Institute for Bioinformatics and Systems Biology, University Giessen, Germany * * 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 ...
rhilker/ReadXplorer
readxplorer-tools-transcriptionanalyses/src/main/java/de/cebitec/readxplorer/transcriptionanalyses/wizard/TranscriptionAnalysesWizardIterator.java
Java
gpl-3.0
13,878
/* * 08/06/2004 * * RSyntaxUtilities.java - Utility methods used by RSyntaxTextArea and its * views. * * This library is distributed under a modified BSD license. See the included * RSyntaxTextArea.License.txt file for details. */ package com.fr.design.gui.syntax.ui.rsyntaxtextarea; import java.aw...
fanruan/finereport-design
designer_base/src/com/fr/design/gui/syntax/ui/rsyntaxtextarea/RSyntaxUtilities.java
Java
gpl-3.0
42,360
#include "utf8.hpp" #include "utf8/utf8.h" #include <cstring> namespace core { UTF8String::UTF8String() {} UTF8String::UTF8String(const UTF8String& cp) : m_src(cp.m_src) {} UTF8String::UTF8String(const std::string& src) : m_src(src) {} UTF8String::~UTF8String() { ...
DWARVES/Project-Warrior
src/core/utf8.cpp
C++
gpl-3.0
1,932
<?php /** * \file T_Courses.php * \brief Associates an \e integer constant to each type of courses. */ error_reporting(E_ALL); if (0 > version_compare(PHP_VERSION, '5')) { die('This file was written for PHP 5'); } define("CM", 0); define("TD", 1); define("TP", 2); define("CONFERENCE", 3); define("EXAMEN", 4); def...
VeryTastyTomato/GaliDAV
types/T_Courses.php
PHP
gpl-3.0
345
/* Real-time Online/Offline Charging System (OCS) for Telecom & ISP environments Copyright (C) ITsysCOM GmbH 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 yo...
TeoV/cgrates
engine/balances.go
GO
gpl-3.0
23,880
package com.earth2me.essentials.textreader; import com.earth2me.essentials.CommandSource; import com.earth2me.essentials.I18n; import static com.earth2me.essentials.I18n._; import java.util.List; import java.util.Locale; import java.util.Map; public class TextPager { private final transient IText text; private fin...
DarkSino98/Essentials
Essentials/src/com/earth2me/essentials/textreader/TextPager.java
Java
gpl-3.0
4,490
// Copyright 2015 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "base/trace_event/trace_log.h" #include <algorithm> #include <cmath> #include <memory> #include <utility> #include "base/base_switches.h" #incl...
golden1232004/webrtc_new
chromium/src/base/trace_event/trace_log.cc
C++
gpl-3.0
59,466
/******************************************************************************* * Copyright (c) 2008,2010 itemis AG (http://www.itemis.eu) and others. * 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 ...
HelgeDMI/trollflow
java/org.eclipse.emf.mwe2.runtime.source_2.7.0.v201409021027/org/eclipse/emf/mwe2/runtime/Matches.java
Java
gpl-3.0
796
/* * 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 hope that it w...
waikato-datamining/adams-base
adams-core/src/main/java/adams/core/logging/MultiHandler.java
Java
gpl-3.0
4,758
package org.saga.shape; import org.bukkit.Material; import org.bukkit.block.Block; import java.util.HashSet; public class BlockFilter implements ShapeFilter { /** * Materials. */ private HashSet<Material> materials = new HashSet<>(); /** * If true then the check will return the reverse result. */ priva...
Olyol95/Saga
src/org/saga/shape/BlockFilter.java
Java
gpl-3.0
957
package org.activityinfo.ui.client.component.importDialog.validation; /* * #%L * ActivityInfo Server * %% * Copyright (C) 2009 - 2013 UNICEF * %% * 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 Foun...
LeoTremblay/activityinfo
server/src/main/java/org/activityinfo/ui/client/component/importDialog/validation/ValidationMappingGrid.java
Java
gpl-3.0
1,707
/******************************************************************************* * Copyright (c) 2011-2014 SirSengir. * All rights reserved. This program and the accompanying materials * are made available under the terms of the GNU Lesser Public License v3 * which accompanies this distribution, and is available at...
AnodeCathode/ForestryMC
src/main/java/forestry/apiculture/gui/ContainerAlveary.java
Java
gpl-3.0
1,213
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.IO; using System.Threading; using System.Threading.Tasks; using System.Windows.Controls; using System.Xml; using System.Diagnostics; using Newtonsoft.Json; using Newtonsoft.Json.Linq; namespace RunMusicOpenWPF { pub...
Dorion300/PlaylistMusicRun
RunMusicOpenWPF/Center/AppCenter.cs
C#
gpl-3.0
2,254