id stringlengths 64 64 | content stringlengths 500 100k | language stringclasses 29
values | path stringlengths 4 333 | repo stringlengths 5 116 | license stringclasses 15
values | size int64 500 100k | lines int64 26 8.06k | source stringclasses 1
value |
|---|---|---|---|---|---|---|---|---|
aef9d88d267df10b412ce412cc8362f764990341419e5348edd4b591a678ec6d | # -*- coding: utf-8 -*-
from __future__ import print_function
from __future__ import unicode_literals
from __future__ import division
from copy import deepcopy
from django.utils.translation import ugettext as _
from opentreemap.util import json_from_request
from treemap.models import Species
from treema... | Python | opentreemap/manage_treemap/views/fields.py | maurizi/otm-core | agpl-3.0 | 8,599 | 236 | codeparrot/github-code |
94ce3e8ec357b36900dfbd2204c9c1d48be896b89a94da589899fb8bee8f983b | # -*- coding: utf-8 -*-
##############################################################################
#
# OpenERP - Account balance reporting engine
# Copyright (C) 2009 Pexego Sistemas Informáticos. All Rights Reserved
# $Id$
#
# This program is free software: you can redistribute it and/or modify
# it... | Python | openerp/addons_extra/account_balance_reporting/account_balance_reporting_report.py | jmesteve/saas3 | agpl-3.0 | 22,001 | 441 | codeparrot/github-code |
e8092345ca81ce6748062bf0cdf9249753b5b1fbfadda88fac3b4ce70f86e373 | /**
* Mailvelope - secure email with OpenPGP encryption for Webmail
* Copyright (C) 2012 Thomas Oberndörfer
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License version 3
* as published by the Free Software Foundation.
*
* This p... | JavaScript | common/ui/keyring/keyRing.js | linagora/mailvelope | agpl-3.0 | 15,494 | 467 | codeparrot/github-code |
62ac2137f22abf658107f0d0b83040a78ccde9e3b2db5cea181104155dcb4678 | {% extends "C4CApplication/MyCare4Care.html" %}
{% load staticfiles %}
{% load i18n %}
{% block link %}<link rel="stylesheet" href="../../static/css/profile.css">{% endblock %}
{% block menu%}
<center>
<div style="border-width:2px;border-color:navy;border-style:solid;
background-color:#ffffff;margin:2em;width:... | HTML | Care4Care/C4CApplication/templates/C4CApplication/ModifProfile.html | dsarkozi/care4care-sdp-grp4 | agpl-3.0 | 3,362 | 102 | codeparrot/github-code |
f727d02f382cec1c8ab1c92d2bd4606843fdc0a1320462bc48db1265a34e66db | <%inherit file="main.html" />
<%namespace name='static' file='static_content.html'/>
<%!
from django.utils.translation import ugettext as _
from django.template import RequestContext
import third_party_auth
from third_party_auth import pipeline
from microsite_configuration import microsite
from django.core.urlresolvers... | HTML | lms/templates/dashboard.html | mushtaqak/edx-platform | agpl-3.0 | 9,513 | 239 | codeparrot/github-code |
3283f6cda0736cbd7fbc94b240049adefd4d7c7bfa499c70f3b3b2ea9f1793b3 | package qa.qcri.mm.trainer.api.entity;
import qa.qcri.mm.trainer.api.store.CodeLookUp;
import javax.persistence.*;
import java.io.Serializable;
import java.util.Date;
/**
* Created with IntelliJ IDEA.
* User: jilucas
* Date: 9/18/13
* Time: 4:11 PM
* To change this template use File | Settings | File Templates.... | Java | core/mm-trainer-api/src/main/java/qa/qcri/mm/trainer/api/entity/ClientApp.java | jikimlucas/micromappers | agpl-3.0 | 4,787 | 210 | codeparrot/github-code |
8d09f481dbe118a4d2ca3980c7a89dae4175f091042bd0b7f7bd7e8bba9a8ffb | <?php
namespace ShakeTheNations\Console\Command;
use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
class InteractiveCommand extends BaseCommand
{
protected function configure()
{
parent::configure(... | PHP | src/ShakeTheNations/Console/Command/InteractiveCommand.php | ronanguilloux/ShakeTheNations | agpl-3.0 | 1,804 | 54 | codeparrot/github-code |
7f4d7f59f41321bd418431eddb928a1be4263d81c5f43ccb8a02fa755c243e52 | /* quvi
* Copyright (C) 2013 Toni Gundogdu <legatvs@gmail.com>
*
* This file is part of quvi <http://quvi.sourceforge.net/>.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, eith... | C | src/sig.c | legatvs/quvi-tool | agpl-3.0 | 1,882 | 75 | codeparrot/github-code |
befb68ba3ba7ab9f7388760d59279585d10bd0b26622c064f4dc03f614166b5d | from datetime import timedelta
from django.http import JsonResponse
from django.utils import timezone
from django.views.decorators.csrf import csrf_exempt
from django.views.decorators.http import require_POST, require_http_methods
from agir.events.models import JitsiMeeting
@csrf_exempt
@require_POST
def jitsi_reser... | Python | agir/events/views/jitsi_views.py | lafranceinsoumise/api-django | agpl-3.0 | 1,940 | 57 | codeparrot/github-code |
b3cba1a5004d1f2d7e92c139cdc656c196967836deba343ad5cb65369e3d39fe | package org.mechaverse.manager.service.model;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.OneToOne;
import javax.persistence.Table;
/**
* Represents the result of a task execution.
*/
@Entity... | Java | manager/mechaverse-manager-service/src/main/java/org/mechaverse/manager/service/model/Result.java | thorntonv/mechaverse | agpl-3.0 | 942 | 50 | codeparrot/github-code |
864b972fc923254ea347e9e2e4fc03caba9768f5607b3a4a242975362a9119a6 | #!/usr/bin/env python
'''
**Purpose**
Module contains functions to manage the database table XFERO_COTS_Pattern
**Unit Test Module:** test_crud_XFERO_COTS_Pattern.py
**Process Flow**
.. figure:: ../process_flow/manage_cots_patterns.png
:align: center
Process Flow: Manage COTS Pattern
*External dependenci... | Python | src/xfero/db/manage_cots_pattern.py | tickbox-smc-ltd/xfero | agpl-3.0 | 15,606 | 559 | codeparrot/github-code |
a23926d3e617f52b313ab64dda794b720634642cfdc484ea053dec5771b7e515 | /**************************** vectorf512.h *******************************
* Author: Agner Fog
* Date created: 2014-07-23
* Last modified: 2019-11-17
* Version: 2.01.00
* Project: vector class library
* Description:
* Header file defining 512-bit floating point vector classes
*
* Instructions: se... | C | core/src/main/c/share/vcl/vectorf512.h | bluestreak01/questdb | agpl-3.0 | 76,618 | 2,039 | codeparrot/github-code |
67ac73a8b462026fd46401ecf81b464d9fef453e60bb47895d5e67f4e7d255e6 |
local function pre_process(msg)
local data = load_data(_config.moderation.data)
-- SERVICE MESSAGE
if msg.action and msg.action.type then
local action = msg.action.type
-- Check if banned user joins chat by link
if action == 'chat_add_user_link' then
local user_id = msg.from.id
print('Che... | Lua | plugins/banhammer.lua | BeyondTeam/TeleBeyond | agpl-3.0 | 16,015 | 441 | codeparrot/github-code |
13e792f532b10e403d108b7cec0a0621a22416d7ec2240f5c78af65932ede94e | package protocolsupport.utils.netty;
import java.util.zip.DataFormatException;
import java.util.zip.Inflater;
import io.netty.buffer.ByteBuf;
import io.netty.util.Recycler;
import io.netty.util.Recycler.Handle;
public class Decompressor {
protected static final Recycler<Decompressor> recycler = new Recycler<>() {
... | Java | src/protocolsupport/utils/netty/Decompressor.java | ProtocolSupport/ProtocolSupport | agpl-3.0 | 1,688 | 60 | codeparrot/github-code |
9d6c27c9ce65f27caefd82db30800a883dbb346dd7ad6acb4adeca9b38fb232d | /*
* Encog(tm) Java Examples v3.2
* http://www.heatonresearch.com/encog/
* https://github.com/encog/encog-java-examples
*
* Copyright 2008-2013 Heaton Research, 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 ... | Java | example/example/neural/boltzmann/BoltzTSP.java | automenta/java_dann | agpl-3.0 | 5,149 | 186 | codeparrot/github-code |
f3b78d6d6678c7122b586b711773add9c4ec023c4182ac6e503e8e499b2c82c8 | package eu.brosbit.opos.snippet
import scala.xml.Unparsed
import _root_.net.liftweb.util._
import _root_.net.liftweb.common._
import net.liftweb._
import http.{S, SHtml, SessionVar}
import mapper.By
import _root_.eu.brosbit.opos.model._
import json.JsonDSL._
import json.JsonAST.JObject
import json.JsonParser
import or... | Scala | src/main/scala/eu/brosbit/opos/snippet/LoginSn.scala | mikolajs/osp | agpl-3.0 | 5,133 | 173 | codeparrot/github-code |
d2a60945c9bc24ae67e2a8bc86d41aff1b9f27826dc1f64572383a88d3e209cb | load('nashorn:mozilla_compat.js');
/*
This file is part of the OdinMS Maple Story Server
Copyright (C) 2008 Patrick Huy <patrick.huy@frz.cc>
Matthias Butz <matze@odinms.de>
Jan Christian Meyer <vimes@odinms.de>
This program is free software: you can redistribute ... | JavaScript | npc/2030010.js | NoetherEmmy/intransigentms-scripts | agpl-3.0 | 1,883 | 66 | codeparrot/github-code |
25b87f91dc92ba3245b2984d7baa61c562ba52b943e5cdf3910776ee28dd748a | /*
* Copyright (c) 2002-2014, Universite catholique de Louvain (UCL), Belgium
* Copyright (c) 2002-2014, Professor Benoit Macq
* Copyright (c) 2001-2003, David Janssens
* Copyright (c) 2002-2003, Yannick Verschueren
* Copyright (c) 2003-2007, Francois-Olivier Devaux
* Copyright (c) 2003-2014, Antonin Descampe
*... | C | Src/OSF/openjpeg/wrapping/java/openjp2/JavaOpenJPEGDecoder.c | papyrussolution/OpenPapyrus | agpl-3.0 | 27,716 | 886 | codeparrot/github-code |
4c048ae2225ae24acc6cdaf1205dbe14e119f2b97bc5ded3c21a9b0629c04023 | package utils;
import static java.util.Arrays.asList;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.util.Collections;
import java.util.List;
import org.alfresco.webservice.test.BaseWebServiceSystemTest;
import org.apache.commons.lang3.Validate;
import org.cmdb... | Java | dms/alfresco/src/test/java/utils/DmsServiceResource.java | jzinedine/CMDBuild | agpl-3.0 | 8,718 | 289 | codeparrot/github-code |
bd11f9df1cce1caa3c80bf52eaae789e16f74c7cb440ffde456fea10d69023a1 | /* Copyright (C) 2016 synapticpath.com - All Rights Reserved
This file is part of Pi-Secure.
Pi-Secure 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... | Java | src/main/java/com/synapticpath/pisecure/modules/LogglyEventLoggerModule.java | jmarvan/pi-secure | agpl-3.0 | 6,448 | 219 | codeparrot/github-code |
5d61cdbb81348b1aae64560035b9082f7f91c6f36e13acee01d5a825099edb3c | (function () {
var ns = $.namespace('pskl.devtools');
ns.DrawingTestPlayer = function (testRecord, step) {
this.initialState = testRecord.initialState;
this.events = testRecord.events;
this.referencePng = testRecord.png;
this.step = step || ns.DrawingTestPlayer.DEFAULT_STEP;
this.callbacks = []... | JavaScript | src/js/devtools/DrawingTestPlayer.js | mikicompany/piskel | agpl-3.0 | 5,001 | 152 | codeparrot/github-code |
cf52a80924fc93d0836adfd8210548feaf3bb1dbda9f3f2ddae77f64b59fab52 | /*
* Copyright 2015 Westfälische Hochschule
*
* This file is part of Poodle.
*
* Poodle is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any... | Java | src/main/java/de/whs/poodle/controllers/instructor/ExerciseDiffController.java | whs-poodle/poodle | agpl-3.0 | 2,052 | 57 | codeparrot/github-code |
f944578be6e0d488ec9e8425ac2a50f53f6fd4bc4b79a8eca843c2688ede6de6 |
//{namespace name=backend/application/main}
//{block name="backend/application/Shopware.window.Progress"}
Ext.define('Shopware.window.Progress', {
extend: 'Ext.window.Window',
title: '{s name="progress_window/title"}Delete items{/s}',
alias: 'widget.shopware-progress-window',
layout: {
... | JavaScript | templates/_default/backend/base/application/Shopware.window.Progress.js | lmaslag/test | agpl-3.0 | 32,735 | 896 | codeparrot/github-code |
8223ae645342ab20d991fbf91e34240dd6c9e9306e9b7892d4ad49405c585803 | #
# Author:: Johannes Krude
# Copyright:: (c) Johannes Krude 2009
# License:: AGPL3
#
#--
# This file is part of filehosting.
#
# filehosting is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either versi... | Ruby | lib/filehosting/webdependencies.rb | johannesk/filehosting | agpl-3.0 | 4,155 | 141 | codeparrot/github-code |
b09df59f6cbe6c37eac43e957499470f2896b23bbe2e14af381e8069231376de | // -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*-
define(['jquery'], function($) {
"use strict";
$.fn.uploadify = function(url) {
var $elem = $(this), $input = $elem.next('input');
var BOUNDARY = ' -- 598275094719306587185414';
// Stolen from http://demos.hacks.mozilla.or... | JavaScript | sweettooth/static/js/uploader.js | magcius/sweettooth | agpl-3.0 | 2,457 | 70 | codeparrot/github-code |
4709258b91cd45aa8e0db09486e7750e662c8910863442ed6630866a51cafd25 | # -*- coding: utf-8 -*-
##############################################################################
#
# OpenERP, Open Source Management Solution
# Copyright (C) 2004-2009 Tiny SPRL (<http://tiny.be>).
# Copyright (C) 2010-2014 OpenERP s.a. (<http://openerp.com>).
#
# This program is free software: you ca... | Python | openerp/tools/misc.py | colinligertwood/odoo | agpl-3.0 | 42,315 | 1,215 | codeparrot/github-code |
c0893010207216efd87eb5087279b2e3859e30becb9c786d62c66e4dad6f80db | /**
* Mutinack mutation detection program.
* Copyright (C) 2014-2016 Olivier Cinquin
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, version 3.
*
* This program is distributed i... | Java | src/uk/org/cinquin/mutinack/misc_util/exceptions/AssertionFailedException.java | cinquin/mutinack | agpl-3.0 | 1,098 | 35 | codeparrot/github-code |
05bfc2a5a0c12ddb344cf910075f973e62b9a4dd4461defeec0935127afffd07 | -- phpMyAdmin SQL Dump
-- version 4.7.0
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Aug 30, 2017 at 09:55 AM
-- Server version: 10.1.25-MariaDB
-- PHP Version: 7.1.7
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET AUTOCOMMIT = 0;
START TRANSACTION;
SET time_zone = "+00:00";
/*!40101 SET @OLD... | SQL | docs/config/firstaide.sql/firstaide.sql | fatimarafiqui/FirstAide-web | agpl-3.0 | 2,448 | 105 | codeparrot/github-code |
50947337d3d03868b365490aa3b3153f0040e68bd348cd9536bf1498f5e05f10 | /*
jBilling - The Enterprise Open Source Billing System
Copyright (C) 2003-2011 Enterprise jBilling Software Ltd. and Emiliano Conde
This file is part of jbilling.
jbilling is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Fre... | Java | test/functional/com/sapienter/jbilling/server/process/BillingProcessTest.java | WebDataConsulting/billing | agpl-3.0 | 56,033 | 1,263 | codeparrot/github-code |
3b410b7f4edfb1f11a8becb46f259aa606bc92a8925b508b67a3636adf31d3b6 |
/*
* Copyright (C) 2017 Atelier Cartographique <contact@atelier-cartographique.be>
*
* 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 di... | TypeScript | view/src/components/legend-tools/index.ts | be-lb/sdi-clients | agpl-3.0 | 1,046 | 37 | codeparrot/github-code |
d2eb67923cb6a2251205c7e6f3201bbb40477cc6b9a96d8db78bc61c178a68e4 | <?php
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
/**
* Billing receiver for payment gateway.
*
* @author idan
*/
class Billrun_Receiver_NonCDRs_PaymentGateway extends Bill... | PHP | library/Billrun/Receiver/NonCDRs/PaymentGateway.php | BillRun/system | agpl-3.0 | 3,409 | 113 | codeparrot/github-code |
18e9c0978a4e40c1f174f87118da9a7b61aad8bb9bb97b35646154751ac1db6d | import copy
from ereuse_devicehub.resources.device.schema import Device
from ereuse_devicehub.resources.device.settings import DeviceSubSettings
class Mobile(Device):
imei = {
'type': 'string',
'unique': True
}
meid = {
'type': 'string',
'unique': True
}
type = {
... | Python | ereuse_devicehub/resources/device/mobile/settings.py | eReuse/DeviceHub | agpl-3.0 | 722 | 31 | codeparrot/github-code |
a8ecac8e0736e6de54817c5ef4e5c4806c0083c93f22f1ac620ee79459104871 | package pl.pcz.wimii.mind.mypressure.fragments;
import java.util.ArrayList;
import java.util.List;
import java.util.Stack;
import pl.pcz.wimii.mind.mypressure.R;
import android.app.Activity;
import android.app.ProgressDialog;
import android.os.AsyncTask;
import android.os.Bundle;
import android.support.v... | Java | src/pl/pcz/wimii/mind/mypressure/fragments/JournalListFragment.java | KajetanSuchanski/MyPressure | agpl-3.0 | 4,243 | 153 | codeparrot/github-code |
8e21265554b61a3c4fadeed49d8552b541d3b4f5b7e4db06646669179de3617b | /*--!>
This file is part of Nebula, a multi-purpose library mainly written in C++.
Copyright 2015-2016 outshined (outshined@riseup.net)
(PGP: 0x8A80C12396A4836F82A93FA79CA3D0F7E8FBCED6)
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License... | C | code/foundation/chrono/monotonic_clock.h | defudger/nebula | agpl-3.0 | 1,714 | 52 | codeparrot/github-code |
4d691814372fecfaf40ff45b9c2393d075abd7a7ec35054ab2c6ed31f15ba37c | /*
* RESTHeart - the Web API for MongoDB
* Copyright (C) 2014 - 2015 SoftInstigate Srl
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at ... | Java | src/test/java/org/restheart/test/integration/PatchDBIT.java | rafaelsisweb/restheart | agpl-3.0 | 3,894 | 79 | codeparrot/github-code |
0039ee404b8f4d1c60df58d5d738437e1d1548f577ccc666fea8cc6ebf8d8493 | package com.github.ocelotwars;
import com.github.ocelotwars.engine.Player;
import com.github.ocelotwars.engine.Playground;
import com.github.ocelotwars.engine.commandsource.CommandSource;
import com.github.ocelotwars.engine.game.Game;
import com.github.ocelotwars.engine.victory.LessThanResourcesLeftVictoryCondition;
i... | Java | src/main/java/com/github/ocelotwars/OcelotWars.java | ocelot-wars/ocelot-wars | agpl-3.0 | 1,796 | 41 | codeparrot/github-code |
c94f0c199c8c4829a39ff63e2c670f7b56c6587d48a54e159be6eb8a1fe04d6c | /***********************************************************************************************
* File Info: $Id: ScatterPlotChart.java,v 1.3 2003/11/02 13:23:11 nathaniel_auvil Exp $
* Copyright (C) 2002
* Author: Nathaniel G. Auvil
* Contributor(s):
*
* Copyright 2002 (C) Nathaniel G. Auvil. All Rights R... | Java | glob3/igolibs/libs/jCharts-0.7.5/src/org/jCharts/axisChart/ScatterPlotChart.java | AsherBond/MondocosmOS | agpl-3.0 | 9,740 | 238 | codeparrot/github-code |
2edf7d2ac0942c339f49914c6a3596a4af56f760c4071f1bb0c13600ca90543f | /*
* AscEmu Framework based on ArcEmu MMORPG Server
* Copyright (c) 2014-2022 AscEmu Team <http://www.ascemu.org>
* Copyright (C) 2005-2011 MaNGOS <http://getmangos.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... | C++ | dep/libmpq/libmpq/mpq_libmpq.cpp | AscEmu/AscEmu | agpl-3.0 | 3,843 | 131 | codeparrot/github-code |
f3e030a2e0f5639d1fbafb7b333c0b87d16f6138f8df445b4a61dc675f323eeb | /**
******************************************************************************
* @file TIM/TIM_PWMInput/Src/main.c
* @author MCD Application Team
* @version V1.2.5
* @date 29-January-2016
* @brief This example shows how to use the TIM peripheral to measure the
* frequency and... | C | STM32Cube_FW_F4_V1.11.0/Projects/STM324xG_EVAL/Examples/TIM/TIM_PWMInput/Src/main.c | mariobarbareschi/stm32-compiler-docker | agpl-3.0 | 11,027 | 318 | codeparrot/github-code |
f7d74a333712a4a59029307ec0c0f048c58c7fe7bbb7a301f2d815b9ac577b2f | package chikachi.discord.core.test.impl;
import net.dv8tion.jda.client.requests.restaction.pagination.MentionPaginationAction;
import net.dv8tion.jda.core.JDA;
import net.dv8tion.jda.core.Region;
import net.dv8tion.jda.core.entities.*;
import net.dv8tion.jda.core.managers.AudioManager;
import net.dv8tion.jda.core.mana... | Java | src/test/java/chikachi/discord/core/test/impl/FakeGuild.java | Chikachi/DiscordIntegrationCore | agpl-3.0 | 8,115 | 413 | codeparrot/github-code |
abb42496cbd169c6f0b87017de307c70dc46ee3910939bbf882df945958afaf4 | <?php
/**
* zCorrecteurs.fr est le logiciel qui fait fonctionner www.zcorrecteurs.fr
*
* Copyright (C) 2012-2018 Corrigraphie
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, eit... | PHP | src/Zco/Bundle/UserBundle/Controller/AdminController.php | zcorrecteurs/zcorrecteurs.fr | agpl-3.0 | 8,174 | 236 | codeparrot/github-code |
ba76ac787450d756f5b4a4fbf0879e9f740b937cc56ff3c741b225597175ad6d | <?php
/**
* Zend Framework
*
* LICENSE
*
* This source file is subject to the new BSD license that is bundled
* with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://framework.zend.com/license/new-bsd
* If you did not receive a copy of the license an... | PHP | library/Zend/Search/Lucene/Index/Writer.php | Sparfel/iTop-s-Portal | agpl-3.0 | 33,552 | 842 | codeparrot/github-code |
ae2f8f3d04b2580e4c8ebf463c703d9f480587944609a5badc5197b113f4f926 | # coding=UTF-8
from django.shortcuts import redirect
from bellum.common.alliance import isAllied
from bellum.common.session.login import must_be_logged
from bellum.common.session import getAccount, getRace
from bellum.common.session.mother import getCurrentMother
from djangomako.shortcuts import render_to_response, ren... | Python | space/views/planetview.py | piotrmaslanka/bellum | agpl-3.0 | 4,242 | 108 | codeparrot/github-code |
fed67c819e3fc8a018eb15f36b2dd4c7ff7bcbad979a927ade01452a6d171e20 | import warnings
from django.conf import settings
from django.utils.translation import gettext as _
from rest_framework import serializers
from rest_framework.utils import model_meta
from .models import Comment
class CommentSerializer(serializers.ModelSerializer):
"""Attention: This class is deprecated, use
... | Python | adhocracy4/comments/serializers.py | liqd/adhocracy4 | agpl-3.0 | 7,379 | 206 | codeparrot/github-code |
9a45c88d0da6d117a954a0e62491552d5a462ed5738fb66bacdcc5fd7eb9439a | /* Copyright 2016-2018, 2020 Lingfei Wang
*
* This file is part of Findr.
*
* Findr is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any la... | C | pij/gassist/llr.c | lingfeiwang/findr | agpl-3.0 | 14,092 | 416 | codeparrot/github-code |
a1191f1a066d2211eb8d6567ad8e20f014181c27b444853ae9fd91495f9a1a61 | // ===================================================================================================
// _ __ _ _
// | |/ /__ _| | |_ _ _ _ _ __ _
// | ' </ _` | | _| || | '_/ _` |
// |_|\_\__,_|_|\__|\_,_|_| \_... | Java | KalturaClient/src/main/java/com/kaltura/client/types/QuizUserEntryBaseFilter.java | kaltura/KalturaGeneratedAPIClientsAndroid | agpl-3.0 | 2,308 | 71 | codeparrot/github-code |
b0e820c7de3b0b4c2e12e6e7d45fee1e6cd87c757c7bebfa541db914e824fe3f | <!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>
2017 Spring 機械設計工程系協同產品設計實習
</title>
<meta name="description" content="A framework for easily creating beautiful presentations using HTML">
<meta name="author" content="Hakim El Hattab">
<meta name="apple-mobile-web-app-capable"... | HTML | index.html | 40223233/2017springcd_hw | agpl-3.0 | 5,835 | 205 | codeparrot/github-code |
6d23b780a2ebf7eb94d5812ca3e00566136bec3b5fed712eab9970639b7327d9 | package com.puresoltechnologies.toolshed.client.parts;
import java.util.Optional;
import com.puresoltechnologies.javafx.perspectives.PartHeaderToolBar;
import com.puresoltechnologies.javafx.perspectives.parts.AbstractViewer;
import com.puresoltechnologies.javafx.perspectives.parts.PartOpenMode;
import com.puresoltech... | Java | toolshed/application/src/main/java/com/puresoltechnologies/toolshed/client/parts/MethodProfileTreeTableViewer.java | PureSolTechnologies/Purifinity | agpl-3.0 | 3,958 | 119 | codeparrot/github-code |
7e240422a1d8024826e9852fc9fcb868916695a3fd2462fc2cda9682a0126bae | <?php
/**
* Class CompositeNode
*
* @version 1.0.2
* @author v.raskin
* @package vsword.node
*/
abstract class CompositeNode extends Node {
protected $childrens = array();
/**
* @return int
*/
public function addNode(INode $node) {
$this->childrens[] = $node;
$node->setParent($this);
return sizeof(... | PHP | lib/vsword/vsword/node/CompositeNode.php | HuntedHive/humhub-modules-evidence | agpl-3.0 | 1,034 | 70 | codeparrot/github-code |
9e03313d723b391b051992f98f555ab760a338ee42f724f1e3b2269d9b555d9d | /*
The contents of this file are subject to the Mozilla Public License Version 1.1
(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.mozilla.org/MPL/
Software distributed under the License is distributed on an "AS IS" basis, WITHOUT
W... | Java | nars_gui/src/main/java/ca/nengo/ui/model/icon/IconImage.java | printedheart/opennars | agpl-3.0 | 3,717 | 132 | codeparrot/github-code |
041325786eb2b05ad0166cd6d7437951c3d2a2523b30361f36be7cc794a0de63 | /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
*
* This file is part of xlslib -- A multiplatform, C/C++ library
* for dynamic generation of Excel(TM) files.
*
* Copyright 2010-2013 Ger Hobbelt All Rights Reserved.
*
* Redistribution and use in source and binary forms, with or wit... | C++ | Src/OSF/Excel/xlslib/formula_expr.cpp | papyrussolution/OpenPapyrus | agpl-3.0 | 27,332 | 1,102 | codeparrot/github-code |
ff89ae473fc02658c11718e1181479126e8f236d7154c15791abb3756d0d37c0 | /*
* Kuali Coeus, a comprehensive research administration system for higher education.
*
* Copyright 2005-2015 Kuali, Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, eithe... | Java | coeus-impl/src/main/java/org/kuali/kra/institutionalproposal/home/InstitutionalProposal.java | rashikpolus/MIT_KC | agpl-3.0 | 56,061 | 1,616 | codeparrot/github-code |
6c6b4ea87f152052f98e475a8bd4291bc3d38644e6d9537f5dbf076327eba54d | <?php
/**
* authSources_New.php
*
* ProcessMaker Open Source Edition
* Copyright (C) 2004 - 2011 Colosa Inc.23
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 o... | PHP | workflow/engine/methods/authSources/authSources_New.php | tomolimo/processmaker-server | agpl-3.0 | 3,528 | 78 | codeparrot/github-code |
f913849241a76b7c2371a43ae7fb6656af3ea4f61975d07d305075e942e0ca94 | import React from 'react';
import PropTypes from 'prop-types';
import ImmutablePropTypes from 'react-immutable-proptypes';
import Permalink from 'flavours/glitch/components/permalink';
import Avatar from 'flavours/glitch/components/avatar';
import DisplayName from 'flavours/glitch/components/display_name';
import IconB... | JavaScript | app/javascript/flavours/glitch/features/follow_requests/components/account_authorize.js | vahnj/mastodon | agpl-3.0 | 2,008 | 50 | codeparrot/github-code |
c406a1f0a9e6fe01b7235315bc77c568c882c2207fdb8cc0b137693420abfa62 | package com.gmail.nossr50.skills.repair;
import java.util.Map;
import java.util.Map.Entry;
import org.bukkit.Material;
import org.bukkit.Sound;
import org.bukkit.enchantments.Enchantment;
import org.bukkit.entity.Player;
import org.bukkit.inventory.ItemStack;
import org.bukkit.inventory.PlayerInventory;
import org.bu... | Java | src/main/java/com/gmail/nossr50/skills/repair/RepairManager.java | jhonMalcom79/mcMMO_pers | agpl-3.0 | 12,064 | 360 | codeparrot/github-code |
15dd6257e251587410ddd3f055ddc904602a218e3820170b997d258335c07152 | /*
* rdjpgcom.c
*
* Copyright (C) 1994-1997, Thomas G. Lane.
* Modified 2009 by Bill Allombert, Guido Vollbeding.
* This file is part of the Independent JPEG Group's software.
* For conditions of distribution and use, see the accompanying README file.
*
* This file contains a very simple stand-alone app... | C | DesktopEditor/cximage/jpeg/rdjpgcom.c | ONLYOFFICE/core | agpl-3.0 | 14,998 | 519 | codeparrot/github-code |
5cec0151245c5a94ca83862e1a61ca2914d213b67c5941748fd463d1fa12c95a | /*
Copyright (C) 2017 Kagucho <kagucho.net@gmail.com>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published
by the Free Software Foundation, either version 3 of the License, or (at
your option) any later version.
This progr... | GO | configuration/example/configuration.go | kagucho/tsubonesystem3 | agpl-3.0 | 2,087 | 67 | codeparrot/github-code |
3d7bac7c9feea246ffec372e6c6771e9d95e7ad4a589d7f03b98cb054628c7ab | /*
* See the NOTICE file distributed with this work for additional
* information regarding copyright ownership.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of... | Java | components/vocabularies/hpo/api/src/main/java/org/phenotips/vocabulary/internal/solr/HumanPhenotypeOntology.java | alexhenrie/phenotips | agpl-3.0 | 6,201 | 181 | codeparrot/github-code |
c471aed42442763f726b44d749e7d7fe57db72dbdfa4c71cb36b936c737c73b9 | <?php
namespace Tokenly\LaravelApiProvider\Middleware;
use Closure;
use Exception;
use Illuminate\Http\Exceptions\HttpResponseException;
use Illuminate\Http\JsonResponse;
use Illuminate\Validation\ValidationException;
use Tokenly\LaravelEventLog\EventLog;
class HandleAPIErrors {
/**
* Create a new filter i... | PHP | src/Middleware/HandleAPIErrors.php | tokenly/laravel-api-provider | agpl-3.0 | 4,061 | 115 | codeparrot/github-code |
c090ead7820a0fedf29285893ea0fdfbcaffbb0463e32d89531c26277ca5f46e | from mitxmako.shortcuts import render_to_response
from django.http import HttpResponse
from .models import poll_store
from datetime import datetime
from django.utils import timezone
import json
import urllib2
from math import floor
def poll_form_view(request, poll_type=None):
if poll_type:
return render_t... | Python | lms/djangoapps/polls/views.py | EduPepperPDTesting/pepper2013-testing | agpl-3.0 | 3,557 | 110 | codeparrot/github-code |
6af6e6f97a09091c9bef7348e5f84cf21e6feb84306379e7d2fcb6bff42ca9df | /**
* Copyright (C) 2000 - 2013 Silverpeas
*
* This program is free software: you can redistribute it and/or modify it under the terms of the
* GNU Affero General Public License as published by the Free Software Foundation, either version 3
* of the License, or (at your option) any later version.
*
* As a specia... | Java | test-core/src/main/java/com/silverpeas/components/model/AbstractSpringJndiDaoTest.java | CecileBONIN/Silverpeas-Core | agpl-3.0 | 4,898 | 139 | codeparrot/github-code |
d1c75a9409d263a0053af54962c6ed63676fa85442fc116597fcbb5d5b9adfce | import _ from 'lodash';
ArchiveService.$inject = ['desks', 'session', 'api', '$q', 'search', '$location', 'config'];
export function ArchiveService(desks, session, api, $q, search, $location, config) {
/**
* Adds 'task' property to the article represented by item.
*
* @param {Object} item
* @pa... | JavaScript | scripts/apps/archive/services/ArchiveService.js | jerome-poisson/superdesk-client-core | agpl-3.0 | 7,934 | 214 | codeparrot/github-code |
bd74435c2a66512d9aa78fa0ce4edc51e8931c51f4d9654cde316e343c2b4d8e | {% extends "base.html" %}
{%- block page -%}
{% block skip %}
<div class="hide"><a href="#content">{{ _('Skip to content') }}</a></div>
{% endblock %}
{#
Override the header on a page by page basis by extending this block. If
making sitewide header changes it is preferable to override the header.html
file.
#}
{%- bl... | HTML | ckanext/project/templates/page.html | Cadasta/ckanext-project | agpl-3.0 | 4,268 | 132 | codeparrot/github-code |
346ef5c7851292df1d37d51d73cad8398d6d21b3a8967369c1707ff499672ad0 | using System;
using System.Collections.Generic;
using System.Reflection;
using System.Text;
using FreecraftCore.Serializer.Internal;
using JetBrains.Annotations;
namespace FreecraftCore.Serializer
{
public sealed class EncoderCharacterSizeStrategy
{
public int Compute([NotNull] Encoding encoding)
{
if (encod... | C# | src/FreecraftCore.Serializer/Encoding/EncoderCharacterSizeStrategy.cs | FreecraftCore/FreecraftCore.Serializer | agpl-3.0 | 1,951 | 46 | codeparrot/github-code |
463413fd36aebf9af1e53870b151aa60c1933ba93af2ee445976881c79eba88d | package com.neverwinterdp.scribengin.storage.sink;
import org.apache.hadoop.fs.FileSystem;
import com.google.inject.Inject;
import com.google.inject.Singleton;
import com.neverwinterdp.scribengin.storage.StorageDescriptor;
import com.neverwinterdp.scribengin.storage.StreamDescriptor;
import com.neverwinterdp.scribeng... | Java | V2/core/src/main/java/com/neverwinterdp/scribengin/storage/sink/SinkFactory.java | DemandCube/Scribengin | agpl-3.0 | 1,625 | 47 | codeparrot/github-code |
38e1498a64ae63ec5f76f5510c7467126c9a60fc1516a9d25f89add90dccabea | <?php
/**
* Zend Framework
*
* LICENSE
*
* This source file is subject to the new BSD license that is bundled
* with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://framework.zend.com/license/new-bsd
* If you did not receive a copy of the license an... | PHP | library/Zend/Mime/Part.php | Sparfel/iTop-s-Portal | agpl-3.0 | 6,288 | 218 | codeparrot/github-code |
c9a8cc32f27f8f6995190f6199bd1e93c672da69f1f34e134cf11a603037eed8 | <?php
/**
* TwoFactor SMS Delegate
*/
namespace Minds\Core\Security\TwoFactor\Delegates;
use Minds\Core\Data\cache\PsrWrapper;
use Minds\Core\Di\Di;
use Minds\Core\Features\Manager;
use Minds\Core\Log;
use Minds\Core\Router\Exceptions\UnauthorizedException;
use Minds\Core\Security\TwoFactor as TwoFactorService;
use ... | PHP | Core/Security/TwoFactor/Delegates/SMSDelegate.php | Minds/engine | agpl-3.0 | 4,831 | 142 | codeparrot/github-code |
e2848dadbfa7b5890fa0dde194d9a7ed00075bae9ba9a63840690c661258fa84 | ///////////////////////////////////////////////////////////////////////////////
//Copyright (C) 2014 Joliciel Informatique
//
//This file is part of Talismane.
//
//Talismane is free software: you can redistribute it and/or modify
//it under the terms of the GNU Affero General Public License as published by
//the Free ... | Java | talismane_machine_learning/src/main/java/com/joliciel/talismane/machineLearning/features/FunctionDescriptorParser.java | joliciel-informatique/talismane | agpl-3.0 | 15,642 | 395 | codeparrot/github-code |
35107cbf2d1baced7267e3df93f3399450bac3ba4aee67e2393115964766a9a7 | /*
* This file is part of ELKI:
* Environment for Developing KDD-Applications Supported by Index-Structures
*
* Copyright (C) 2019
* ELKI Development Team
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* t... | Java | elki-clustering/src/main/java/elki/clustering/hierarchical/birch/CentroidEuclideanDistance.java | elki-project/elki | agpl-3.0 | 2,635 | 88 | codeparrot/github-code |
ed67948eac451f98d5c07dccb144ca60814f0f5b0a44abf94d7b1493d0b02a14 | "use strict";
var fs = require('fs');
var expect = require('chai').expect;
global.window = {
ejs: require('ejs'),
}
var swagger = require('../ott.openapi.json');
var CodeTemplate = require('../codegen');
describe('Sample Code', function() {
this.timeout(5000);
var testCases = [{
name: 'simple',
servi... | JavaScript | test/ott-codegen.js | kaltura/developer-platform | agpl-3.0 | 2,588 | 89 | codeparrot/github-code |
2aed20aa287043983422783cad29387a373a748a954889c3950f20aa9b4207bc | /**
* Copyright 2015 Telefonica Investigación y Desarrollo, S.A.U
*
* This file is part of iotagent project.
*
* iotagent is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published
* by the Free Software Foundation, either version 3 of the License,... | C++ | src/util/device_collection.cc | guerrerocarlos/fiware-IoTAgent-Cplusplus | agpl-3.0 | 9,846 | 293 | codeparrot/github-code |
8512aac54aaa824e5bc46f9f778fc74f7eaa1f88444d81a8f7d92424fcddd9f5 | //BewertungErfassungsServiceImpl.java
//
// Licensed under the AGPL - http://www.gnu.org/licenses/agpl-3.0.txt
// (c) SZE-Development Team
package net.sf.sze.service.impl.zeugnis;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;
import java.util.List;
import javax.annotation.Reso... | Java | src/main/java/net/sf/sze/service/impl/zeugnis/BewertungErfassungsServiceImpl.java | opensource21/sze | agpl-3.0 | 5,028 | 154 | codeparrot/github-code |
14796af59de8ae96b72d666d876bbcf18c184f123e54cba54511c6048acd2439 | ##############################################################################
#
# OSIS stands for Open Student Information System. It's an application
# designed to manage the core business of higher education institutions,
# such as universities, faculties, institutes and professional schools.
# The core ... | Python | learning_unit/views/learning_unit_class/tutor_repartition.py | uclouvain/OSIS-Louvain | agpl-3.0 | 6,167 | 148 | codeparrot/github-code |
8198e33e671526357ab19b0f9f69d6d2421780762c13a42543b5e633bf969dc8 | #!/usr/bin/env python
# -*- coding: utf-8 -*-
################################################################################
#
# qooxdoo - the new era of web development
#
# http://qooxdoo.org
#
# Copyright:
# 2006-2010 1&1 Internet AG, Germany, http://www.1und1.de
#
# License:
# LGPL: http://www.gnu.org/li... | Python | devtools/qooxdoo-1.5-sdk/tool/pylib/ecmascript/frontend/Scanner.py | Seldaiendil/meyeOS | agpl-3.0 | 8,958 | 273 | codeparrot/github-code |
4ce1a557d9c6a370c93cbc3d0044fc60477c5b83080d51f8a506122de5f1514a | /*
* Copyright (c) 2016 Villu Ruusmann
*
* This file is part of JPMML-XGBoost
*
* JPMML-XGBoost is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your opt... | Java | pmml-xgboost/src/main/java/org/jpmml/xgboost/Regression.java | jpmml/jpmml-xgboost | agpl-3.0 | 1,495 | 48 | codeparrot/github-code |
fab170f46f24bbcb0090c0c86f8d00577a68a39863c6905c3afa66a90e6aa638 | DELETE FROM `weenie` WHERE `class_Id` = 7979;
INSERT INTO `weenie` (`class_Id`, `class_Name`, `type`, `last_Modified`)
VALUES (7979, 'grievvervirulent', 10, '2019-02-10 00:00:00') /* Creature */;
INSERT INTO `weenie_properties_int` (`object_Id`, `type`, `value`)
VALUES (7979, 1, 16) /* ItemType - Creature *... | SQL | Database/3-Core/9 WeenieDefaults/SQL/Creature/Grievver/07979 Virulent Grievver.sql | ACEmulator/ACE-World | agpl-3.0 | 4,456 | 75 | codeparrot/github-code |
8718223852f87696526961a3f2fc43027dc186882f67123741b3aebe90b280a7 | /*
* ADL2-core
* Copyright (c) 2013-2014 Marand d.o.o. (www.marand.com)
*
* This file is part of ADL2-core.
*
* ADL2-core is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
... | Java | adl-parser/src/test/java/org/openehr/adl/parser/adl15/ArchetypeReferenceTest.java | lonangel/adl2-core | agpl-3.0 | 2,536 | 60 | codeparrot/github-code |
1990168747089fb781d25531b5ff51c6b63f4695b6e61126e74aeec9aef606d9 | /*
* This file is part of Splice Machine.
* Splice Machine is free software: you can redistribute it and/or modify it under the terms of the
* GNU Affero General Public License as published by the Free Software Foundation, either
* version 3, or (at your option) any later version.
* Splice Machine is distributed i... | Java | db-engine/src/main/java/com/splicemachine/db/impl/sql/compile/DateTypeCompiler.java | splicemachine/spliceengine | agpl-3.0 | 5,700 | 148 | codeparrot/github-code |
e756ad372b71664f5d30ddedb3ac73ba1a2d55e0bbeefb52df804a3297ebc8ed | /*
Copyright (C) 2018 Eugene Lockett gene@noonian.org
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is... | JavaScript | server/api/datasource/packaging/pkg_mgr_wrappers.js | ChiweenieDijon/noonian | agpl-3.0 | 7,232 | 306 | codeparrot/github-code |
fc4daae85d421e72b6397ac0749fc3d17bfeb3b2598202dd5efdc8b8d17daf64 | /* ************************************************************************
qooxdoo - the new era of web development
http://qooxdoo.org
Copyright:
2004-2009 1&1 Internet AG, Germany, http://www.1und1.de
License:
LGPL: http://www.gnu.org/licenses/lgpl.html
EPL: http://www.eclipse.org/org/d... | JavaScript | devtools/qooxdoo-sdk/framework/source/class/qx/io/PartLoader.js | FireWalkerX/eyeOS-FOSS-V.2.0 | agpl-3.0 | 3,362 | 116 | codeparrot/github-code |
b72d30c8aa8d1cc21c3f536fc1edf27e1cc245c821239decf174eeb3d95738f1 | package protocolsupport.protocol.packet.middle.impl.clientbound.play.noop;
import protocolsupport.protocol.packet.middle.base.clientbound.play.MiddleWorldParticle;
import protocolsupport.protocol.packet.middle.impl.clientbound.IClientboundMiddlePacketV10;
import protocolsupport.protocol.packet.middle.impl.clientbound.... | Java | src/protocolsupport/protocol/packet/middle/impl/clientbound/play/noop/NoopWorldParticle.java | ProtocolSupport/ProtocolSupport | agpl-3.0 | 2,677 | 54 | codeparrot/github-code |
2b0170bbda6ae57dabeca8844e8dc356044ff9df62431cbfcbba97f47451f050 | <!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<link rel="SHORTCUT ICON" href="../../../../../img/clover.ico" />
<link rel="stylesheet" href="../../../../../aui/css/aui.min.css" media... | HTML | report/html/com/rapidminer/operator/learner/associations/FrequentItemSetAttributeCreator.html | cm-is-dog/rapidminer-studio-core | agpl-3.0 | 76,313 | 1,105 | codeparrot/github-code |
c6505caa9d66b7135c7a2f79542814c34e67abe5219cb16f0879c19f8cb6f4ac | <?php
/**
* Zend Framework
*
* LICENSE
*
* This source file is subject to the new BSD license that is bundled
* with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://framework.zend.com/license/new-bsd
* If you did not receive a copy of th... | PHP | library/Zend/Gdata/Gapps/Extension/Login.php | WhiteLabelReady/WhiteLabelTransfer | agpl-3.0 | 17,714 | 486 | codeparrot/github-code |
a863ff8b42f30cf70c9899f5f5156e46a93e11cca4609aa7ebf1d9502a902d49 | # Copyright (C) 2006-2021 Music Technology Group - Universitat Pompeu Fabra
#
# This file is part of Essentia
#
# Essentia is free software: you can redistribute it and/or modify it under
# the terms of the GNU Affero General Public License as published by the Free
# Software Foundation (FSF), either version 3 of the ... | Python | src/python/essentia/algorithms.py | MTG/essentia | agpl-3.0 | 5,502 | 143 | codeparrot/github-code |
b9ee9991745449d273d51f9dff2fa76e220de378c5cca833bc7e920960bd0087 | /*
* RapidMiner
*
* Copyright (C) 2001-2011 by Rapid-I and the contributors
*
* Complete list of developers available at our web site:
*
* http://rapid-i.com
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public Lice... | Java | src/com/rapidminer/gui/look/icons/RadioButtonIcon.java | aborg0/rapidminer-vega | agpl-3.0 | 1,604 | 57 | codeparrot/github-code |
f6692c4f270cbece5d85f25a29ef2035a121fce1e10a201297f508057c3e9b5c | /*
Copyright (c) 2014-2022 AscEmu Team <http://www.ascemu.org>
This file is released under the MIT license. See README-MIT for more information.
*/
#pragma once
#include <cstdint>
#include "ManagedPacket.h"
namespace AscEmu::Packets
{
class SmsgCharDelete : public ManagedPacket
{
public:
uint8_t ... | C | src/world/Server/Packets/SmsgCharDelete.h | AscEmu/AscEmu | agpl-3.0 | 851 | 40 | codeparrot/github-code |
4385b3e0bd5f1ee62b33a0ed59914b0c67bca59b48aa88a2853479c63d3b5e54 | // @flow
import window from "libs/window";
import Store from "oxalis/store";
function getOrganization() {
const { activeUser } = Store.getState();
return activeUser != null ? activeUser.organization : null;
}
function gtagGuard(...params) {
if (typeof window.gtag !== "undefined" && window.gtag !== null) {
... | JavaScript | frontend/javascripts/oxalis/model/helpers/analytics.js | scalableminds/webknossos | agpl-3.0 | 1,289 | 47 | codeparrot/github-code |
b2d1a6f75f1ac749bba886723d8e9036c24fc270bd6512775dde49e1508ecb66 | <?php
/**
* Shopware 4.0
* Copyright © 2013 shopware AG
*
* According to our dual licensing model, this program can be used either
* under the terms of the GNU Affero General Public License, version 3,
* or under a proprietary license.
*
* The texts of the GNU Affero General Public License with an additional
*... | PHP | engine/Shopware/Plugins/Community/Backend/SwagUpdateCheck/Components/UpdateCheck/Store/CommunityStore.php | flyingSkull/shopware | agpl-3.0 | 4,873 | 143 | codeparrot/github-code |
cc2d4d3f8e732a599e767d162d4ae610c1f869e378c1164011836d476e9cf40c | /*
* Copyright (C) 2017 B3Partners B.V.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This progra... | Java | viewer/src/main/java/nl/b3p/viewer/search/PDOKSearchClient.java | mvdstruijk/flamingo | agpl-3.0 | 4,364 | 123 | codeparrot/github-code |
387124a094d4362388cca25ef22cce09da4d064171cb999f953da019a6f8f754 | <?php
/**
* @author Joas Schilling <coding@schilljs.com>
*
* @copyright Copyright (c) 2018, ownCloud GmbH
* @license AGPL-3.0
*
* This code is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License, version 3,
* as published by the Free Software Founda... | PHP | apps/updatenotification/lib/Notification/BackgroundJob.php | pollopolea/core | agpl-3.0 | 4,941 | 190 | codeparrot/github-code |
400461a453e5359f11fd69084ff30155098f158a1bc285b91847fa5679ede44a | <?php
/*
* StatusNet - the distributed open-source microblogging tool
* Copyright (C) 2008, 2009, StatusNet, Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 ... | PHP | actions/repliesrss.php | charlycoste/StatusNet | agpl-3.0 | 2,817 | 85 | codeparrot/github-code |
a7aec367f9bb176fe684bdb41b3b4f5ec655624ebde346d604bfde9716afb60f | # -*- coding: utf-8 -*-
##############################################################################
#
# OpenERP, Open Source Management Solution
# Copyright (C) 2004-2010 Tiny SPRL (<http://tiny.be>).
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU... | Python | addons/account/report/account_aged_partner_balance.py | songmonit/CTTMSONLINE | agpl-3.0 | 21,185 | 409 | codeparrot/github-code |
3977ecebc3b0afdfe01f490576c3fca5026807697bc84b39aa5b808e6e5d0b37 | /**
* Copyright (C) 2019 Jens Heuschkel
*
* 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 progr... | Java | src/de/opendiabetes/vault/cli/CliVaultExport.java | OpenDiabetes/OpenDiabetesVault | agpl-3.0 | 5,408 | 124 | codeparrot/github-code |
3ad08b0e7f72731d9bb8ff6ba5579737e29fbb80415fc60fb65b0eedbf782fb0 | /**
* This file is part of mycollab-services.
*
* mycollab-services 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.
*
* mycolla... | Java | mycollab-services/src/main/java/com/esofthead/mycollab/module/crm/service/ibatis/MeetingServiceImpl.java | uniteddiversity/mycollab | agpl-3.0 | 4,564 | 115 | codeparrot/github-code |
f3e79394d82197acf120db3c9d13796357b1afeb1c401ef85e1a327838273dfb | import { RichUtils } from "draft-js";
const createBasePlugin = () => {
const store = {};
return {
initialize: pluginFunctions => {
Object.assign(store, pluginFunctions);
},
// Handle base command
handleKeyCommand: command => {
const editorState = store.getEditorState();
const ne... | JavaScript | src/editor/plugins/base/index.js | omega-bbs/mua | agpl-3.0 | 765 | 31 | codeparrot/github-code |
6d9de0b8662ac00b145f9e21c729dc8efb662dc7b2a48c98bb23cd3a03b5c2e9 | <%!
from django.utils.translation import ugettext as _
from django.template.defaultfilters import escapejs
%>
<%namespace name='static' file='../static_content.html'/>
<%block name="js_extra">
<%static:js group='certificates_wv'/>
<!--<script src="https://unpkg.com/sweetalert/dist/sweetalert.min.js"></script>-->
<scrip... | HTML | lms/templates/certificates/_accomplishment-banner.html | kmoocdev2/edx-platform | agpl-3.0 | 11,740 | 231 | codeparrot/github-code |
ad3e4804ab81589e8ed3b85d182e0fd027c16bb2272925a91e390a23401318bf | package com.x.attendance.assemble.control.jaxrs.attendancestatistic;
import java.util.List;
import javax.servlet.http.HttpServletRequest;
import org.apache.commons.beanutils.PropertyUtils;
import org.apache.commons.lang3.StringUtils;
import com.google.gson.JsonElement;
import com.x.attendance.assemble.control.Busin... | Java | o2server/x_attendance_assemble_control/src/main/java/com/x/attendance/assemble/control/jaxrs/attendancestatistic/ActionListStdForTopUnitNextWithFilter.java | o2oa/o2oa | agpl-3.0 | 3,415 | 92 | codeparrot/github-code |
d1cf55eb00be567d8c1c834298b3b1b29e90db0390a78e367fcea8a1b535aed5 | <?php
/*
*
* ____ _ _ __ __ _ __ __ ____
* | _ \ ___ ___| | _____| |_| \/ (_)_ __ ___ | \/ | _ \
* | |_) / _ \ / __| |/ / _ \ __| |\/| | | '_ \ / _ \_____| |\/| | |_) |
* | __/ (_) | (__| < __/ |_| | | | | | | | __/_____| | | | __/
* |_| \___/ \___... | PHP | src/pocketmine/utils/MainLogger.php | ExtraCorePE/ExtraCorePE | agpl-3.0 | 7,240 | 260 | codeparrot/github-code |
99191b1e5e66b17650d2eb314be8da924b90f23d68948b39e8cf0f1af4004352 | <?php
namespace SPHERE\Application\Platform\Gatekeeper\Authorization\Account;
use SPHERE\Application\People\Person\Service\Entity\TblPerson;
use SPHERE\Application\Platform\Gatekeeper\Authorization\Access\Service\Entity\TblRole;
use SPHERE\Application\Platform\Gatekeeper\Authorization\Account\Service\Data;
use SPHERE\... | PHP | Application/Platform/Gatekeeper/Authorization/Account/Service.php | hannesk001/SPHERE-Framework | agpl-3.0 | 27,262 | 883 | codeparrot/github-code |
4c9891a93b0a2d62f257d74058812a40198460f2d2e2aa2f8fb32e3141d3d43e | /**
* Copyright (C) 2010 Cubeia Ltd <info@cubeia.com>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
... | Java | server/game/src/main/client/com/cubeia/games/poker/client/PokerTextClient.java | StarFlight/Poker-Galore | agpl-3.0 | 5,397 | 191 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.