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 |
|---|---|---|---|---|---|---|---|---|
88a2ac97a91858689c29c994fcfc44400045fa85b0372bc64ad677c182ca5970 | /*
* Funambol is a mobile platform developed by Funambol, Inc.
* Copyright (C) 2008 Funambol, Inc.
*
* 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 with the addition of ... | Java | externals/java-sdk/syncml/src/main/java/com/funambol/syncml/client/FileSyncSource.java | zjujunge/funambol | agpl-3.0 | 8,195 | 199 | codeparrot/github-code |
62980946c2fb801fe9b75b6138ebfe6c9d694e2345f5acbbac37bfb47e226acf | /*
* Copyright (C) 2010 Romain Reuillon
*
* 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... | Scala | openmole-src/openmole/core/org.openmole.core.batch/src/main/scala/org/openmole/core/batch/control/UsageControl.scala | ISCPIF/PSEExperiments | agpl-3.0 | 1,170 | 38 | codeparrot/github-code |
85336a0856fff9455e6a5f59c8e2e0a43dfcef57e82859629b2ba5e27c43210c | # -*- coding: utf-8 -*-
##############################################################################
#
# OpenERP, Open Source Management Solution
# Copyright (C) 2013-2014 OpenERP (<http://www.openerp.com>).
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of t... | Python | openerp/fields.py | Antiun/odoo | agpl-3.0 | 75,603 | 1,886 | codeparrot/github-code |
fa87593ad1dc89ebffdf828c49878b01d5066becec1928992970e9870ee77add | package lila.game
import scala.concurrent.duration._
import lila.db.dsl._
import lila.memo.AsyncCache
import lila.user.UserRepo
final class CrosstableApi(
coll: Coll,
gameColl: Coll,
system: akka.actor.ActorSystem) {
import Crosstable.Result
private val maxGames = 20
def apply(game: Game): Fu[Op... | Scala | modules/game/src/main/CrosstableApi.scala | clarkerubber/lila | agpl-3.0 | 3,891 | 121 | codeparrot/github-code |
6c461a84109b449b4d76e359ad1f7547d28ee86c2f69ddb63dbfdc060a44a207 | package io.fidelcoria.ayfmap.controller;
import java.util.HashMap;
import java.util.Map;
import org.springframework.stereotype.Component;
import javafx.fxml.FXML;
import javafx.scene.control.Label;
import javafx.scene.control.Tab;
import javafx.scene.control.TabPane;
@Component
public class MainController {
@FXML... | Java | AssignmentPlanner/src/main/java/io/fidelcoria/ayfmap/controller/MainController.java | fidelcoria/AYFM-Scheduling | agpl-3.0 | 1,099 | 56 | codeparrot/github-code |
17fcb1c75d3717b9b133ca18e07f1cb193097edef441b29141fc77b7fa356307 | $(function() {
function FirmwareUpdaterViewModel(parameters) {
var self = this;
self.settingsViewModel = parameters[0];
self.loginState = parameters[1];
self.connection = parameters[2];
self.printerState = parameters[3];
self.configPathAvrdude = ko.observable();
... | JavaScript | OctoPrint-FirmwareUpdater/octoprint_firmwareupdater/static/js/firmwareupdater.js | mcecchi/SuperOcto | agpl-3.0 | 16,233 | 436 | codeparrot/github-code |
26601134137d96ed1bf5ef98ea855e79322df93d6487a10ccacc3672bee9e48c | <!DOCTYPE html>
<html lang="en"
>
<head>
<title>第14課 - forRange with Lists forRange與列表 - 2017Spring 協同產品設計實習 (虎尾科大MDE)</title>
<!-- Using the latest rendering mode for IE -->
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta charset="utf-8">
<meta name="viewport" content="width=device-widt... | HTML | blog/Lesson 14.html | 40423222/Python | agpl-3.0 | 13,107 | 300 | codeparrot/github-code |
1ca1c0cdadce514b15d8fdebe91932c78108d8ddb9673090ee331f9803d02a09 | /*******************************************************************************
* This file is part of Termitaria, a project management tool
* Copyright (C) 2008-2013 CodeSphere S.R.L., www.codesphere.ro
*
* Termitaria is free software; you can redistribute it and/or
* modify it under the terms of th... | Java | TermitariaAudit/JavaSource/ro/cs/logaudit/entity/Role.java | CodeSphere/termitaria | agpl-3.0 | 2,881 | 110 | codeparrot/github-code |
1c8555bbc119b5a60653dfdc52425b26127a326fc076b908652c0e1608d6a55b | --[[
catfact.lua
Returns cat facts.
Based on a plugin by matthewhesketh.
Copyright 2016 topkecleon <drew@otou.to>
This code is licensed under the GNU AGPLv3. See /LICENSE for details.
]]--
local JSON = require('dkjson')
local HTTP = require('socket.http')
local utilities = require('otouto.utiliti... | Lua | otouto/plugins/catfact.lua | bb010g/otouto | agpl-3.0 | 1,011 | 37 | codeparrot/github-code |
48d3a41d03a92aeeddb990b52edf44aa8da517654ae69d655108f32054672819 | package de.dvdb.domain.model.social;
import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
@Entity
@Table(name = "dvdb2_fbsession")
p... | Java | dvdb-ejb/src/main/java/de/dvdb/domain/model/social/FacebookSession.java | chris-dvdb/dvdb.de | agpl-3.0 | 961 | 53 | codeparrot/github-code |
de38421f9b7db1e5738c4506e1424583451d81849307cb4798a9711b657c7250 | # -*- coding: utf-8 -*-
import os
import shutil
import sys
import datetime
from invoke import task
from invoke.util import cd
from pelican.server import ComplexHTTPRequestHandler, RootedHTTPServer
CONFIG = {
# Local path configuration (can be absolute or relative to tasks.py)
'deploy_path': '..',
# Githu... | Python | internal/tasks.py | webcamoid/webcamoid.github.io | agpl-3.0 | 2,105 | 88 | codeparrot/github-code |
0b7877f6a7e4f6b805ae30055077fb77291fb8f694a5ac7c74f06169003d9624 | <?php
/**
* This file is part of the Checkbook NYC financial transparency software.
*
* Copyright (C) 2012, 2013 New York City
*
* 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 v... | PHP | source/webapp/sites/all/modules/custom/checkbook_trends/templates/debt_capacity_trends/pledged_rev_cov_nyc_trans.tpl.php | MomixSolutions/MyGovCenter | agpl-3.0 | 5,320 | 95 | codeparrot/github-code |
15930897c6e3cca16d7626b3c70cf457caf71fc7c2bb56a2b9f305c4ca33ade1 | /*
* _Bullseye.cpp
*
* Created on: Aug 21, 2015
* Author: yankai
*/
#include "_Bullseye.h"
#ifdef USE_OPENCV
#ifdef USE_CUDA
namespace kai
{
_Bullseye::_Bullseye()
{
m_abs = 90;
m_scale1 = 0.25;
m_scale2 = 0.0625;
m_thr1 = 200;
m_thr2 = 255;
}
_Bullseye::~_Bullseye()
{
}
bool _Bullseye::init(void*... | C++ | src/Detector/_Bullseye.cpp | yankailab/OpenKAI | agpl-3.0 | 2,195 | 133 | codeparrot/github-code |
088ae79c1aac49180560fe0bc27ba2173692900e28aca3ce16231ed1f6409e38 | <?php
/**
* SowerPHP
* Copyright (C) SowerPHP (http://sowerphp.org)
*
* Este programa es software libre: usted puede redistribuirlo y/o
* modificarlo bajo los términos de la Licencia Pública General Affero de GNU
* publicada por la Fundación para el Software Libre, ya sea la versión
* 3 de la Licencia, o (a su ... | PHP | website/Module/Honorarios/Model/BoletaTerceros.php | LibreDTE/libredte-webapp | agpl-3.0 | 12,703 | 318 | codeparrot/github-code |
df5d9c04e85faf2e78b98e8c52c6ea123d1d4561994be24c650b9fdd08ec1b3f | /*
* Copyright 1995-2016 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
* in the file LICENSE in the source distribution or at
* https://www.openssl.org/source/l... | C | libs-ext/openssl/crypto/cversion.c | FriendSoftwareLabs/friendup | agpl-3.0 | 1,997 | 87 | codeparrot/github-code |
b38d01e14649674994f25d66d67d4b9db6d8e1cbc45411d06e4cd8d2be3b0dc2 | #!/usr/bin/env python
from __future__ import print_function, division
import multiprocessing
import os
import csv
import datetime
import logging
from datetime import datetime
import argparse
import shutil
import math
from glob import glob
import gzip
from shi7 import __version__
from shi7.shi7 import TRUE_FALSE_DICT, ... | Python | shi7/shi7_learning.py | knights-lab/shi7 | agpl-3.0 | 15,977 | 392 | codeparrot/github-code |
1301faa3b846bedc2a7af8b2c89e98b0b52d62717e496793249a6d0b3e59ed0a | package cn.dlb.bim.ifc.engine.jvm;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.nio.file.Files;
import java.nio.file.Path;
import java.util.ArrayList;
import java.util.List;
import org.apache.commons.io.IOUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactor... | Java | src/cn/dlb/bim/ifc/engine/jvm/JvmRenderEngineFactory.java | shenan4321/BIMplatform | agpl-3.0 | 3,114 | 100 | codeparrot/github-code |
5117295ed68e6a8ac6c1640fb2489eb00de3e54a6c68213d8db6d982b70b232e | <div class="modal__header modal__header--flex">
<h3 class="modal__heading">{{ :: 'Monitoring settings' | translate }} <span ng-if="settings.desk" translate>for "{{settings.desk.name}}" Desk</span></h3>
<a href="" class="modal__close icn-btn" sd-hotkey="esc" ng-click="cancel()"><i class="icon-close-small"></i></... | HTML | scripts/apps/monitoring/views/aggregate-settings.html | marwoodandrew/superdesk-client-core | agpl-3.0 | 8,098 | 131 | codeparrot/github-code |
f228e749f17160f72492ebf2cbb737591e88c6f3199c6ecf1e696ff0256d3ba5 | using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using SSCMS.Dto;
using SSCMS.Utils;
namespace SSCMS.Web.Controllers.Admin.Common.Form
{
public partial class LayerImageUploadController
{
[HttpGet, Route(Route)]
public async Task<ActionResult<Options>> Get([FromQuery] SiteRequest r... | C# | src/SSCMS.Web/Controllers/Admin/Common/Form/LayerImageUploadController.Get.cs | siteserver/cms | agpl-3.0 | 1,030 | 33 | codeparrot/github-code |
72903d7ae59b0f40052447dcc235e137209e71731c35e4b2d91d1996c2c97fc5 | import React from 'react'
import {intlEnzyme} from 'tocco-test-util'
import MenuChildrenWrapper from './MenuChildrenWrapper'
import {StyledMenuChildrenWrapper} from './StyledComponents'
describe('admin', () => {
describe('components', () => {
describe('Navigation', () => {
describe('menuType', () => {
... | JavaScript | packages/apps/admin/src/components/Navigation/menuType/MenuChildrenWrapper.spec.js | tocco/tocco-client | agpl-3.0 | 2,143 | 64 | codeparrot/github-code |
fa700c9de983efeddc280ffed44b7d2db07f488c359bbb08a981866692d1bac6 | # -*- coding: utf-8 -*-
import time
from datetime import timedelta
class CookieJar:
def __init__(self, pluginname, account=None):
self.cookies = {}
self.plugin = pluginname
self.account = account
def add_cookies(self, clist):
for c in clist:
name = c.split("\t")[5... | Python | src/pyload/core/network/cookie_jar.py | vuolter/pyload | agpl-3.0 | 1,007 | 44 | codeparrot/github-code |
b324289b95987fa7c0836fdaa5e3f9ea03db74bf35fd8e21b9da3944374f0838 | /****************************************************************
* *
* Copyright 2001, 2009 Fidelity Information Services, Inc *
* *
* This source code contains the intellectual property *
* of its copyright holder(s), and is made available *
* under a license. If you do not know the terms of *
*... | C | sr_vvms/ojparams.c | ChristyV/fis-gtm | agpl-3.0 | 7,183 | 267 | codeparrot/github-code |
80f9a2c9409decdaf0dde72ad0ee8ad30d46bd518c886588d528859dd2bb9031 | #
# Copyright (C) 2011 - present Instructure, Inc.
#
# This file is part of Canvas.
#
# Canvas 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 of the License.
#
# Canvas is distributed in the ... | Ruby | app/controllers/context_modules_controller.rb | venturehive/canvas-lms | agpl-3.0 | 29,429 | 683 | codeparrot/github-code |
56d2ba333ff5e94c350790d69a53cfa7dc6663bdba9dfa8bad0d0e9fc7eb55ac | /*
* opencog/embodiment/Control/Procedure/ComboInterpreter.h
*
* Copyright (C) 2002-2009 Novamente LLC
* All Rights Reserved
* Author(s): Novamente team
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License v3 as
* published by th... | C | opencog/embodiment/Control/Procedure/ComboInterpreter.h | fakena/myoc4078 | agpl-3.0 | 4,853 | 131 | codeparrot/github-code |
e3d0f45aae6c2a9df09e5cb0d8410c46129cbd9129480790f3938a44c51b6a57 | <?php
/**
* Copyright (c) 2012, Agence Française Informatique (AFI). All rights reserved.
*
* AFI-OPAC 2.0 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.
*
* There are special exceptions to the ... | PHP | library/Class/Catalogue.php | lolgzs/opacce | agpl-3.0 | 19,445 | 627 | codeparrot/github-code |
ed81fd024fa9286e2b6c668f293cf639f5ea2e0c0a3b0fe227504757eb51ec88 | class WorkAssignmentPlugin < Noosfero::Plugin
def self.plugin_name
"Work Assignment"
end
def self.plugin_description
_("New kind of content for organizations.")
end
def self.can_download_submission?(user, submission)
return unless submission
submission.published? || (user && (submission.aut... | Ruby | plugins/work_assignment/lib/work_assignment_plugin.rb | EcoAlternative/noosfero-ecosol | agpl-3.0 | 2,790 | 86 | codeparrot/github-code |
c4058697429e731e58b0ab8e4438e2dbf58f9c852b065f1c32c5439421d58d85 | /*
* Copyright 2015 Erwin Müller <erwin.mueller@deventm.org>
*
* This file is part of sscontrol-httpd-yourls.
*
* sscontrol-httpd-yourls 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 ver... | Java | sscontrol-httpd-yourls/src/main/java/com/anrisoftware/sscontrol/httpd/yourls/YourlsServiceImpl.java | devent/sscontrol | agpl-3.0 | 10,068 | 283 | codeparrot/github-code |
401ba9fd010e73b5098005296521109357b7dab10fa87f049f494c462c03a9e3 | /*
* 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-core-util/src/test/java/elki/utilities/datastructures/KuhnMunkresWongTest.java | elki-project/elki | agpl-3.0 | 4,174 | 128 | codeparrot/github-code |
c499827dbde960a7619bb01c97e2776cb9ff4d2c9bf5d181d991903a485cc3f5 | #include <stddef.h>
#include "logger/logger.h"
#include "wrappers.h"
using namespace drivers::i2c;
I2CResult I2CFallbackBus::Write(const I2CAddress address, gsl::span<const uint8_t> inData)
{
const I2CResult systemBusResult = this->_innerBuses.Bus.Write(address, inData);
if (systemBusResult == I2CR... | C++ | libs/drivers/i2c/fallback.cpp | PW-Sat2/PWSat2OBC | agpl-3.0 | 1,832 | 58 | codeparrot/github-code |
10941be48a822f47e97389fac149c4810a640dff1ff6f630e78efe234e63b10e | <?php
/**
* Soap Handler Class
*
*
* @package Np_Soap
* @subpackage Np_Soap
* @copyright Copyright (C) 2012-2013 S.D.O.C. LTD. All rights reserved.
* @license GNU Affero Public License version 3 or later; see LICENSE.txt
*/
/**
* Np_Db Class Definition
*
* @package Np_Soa... | PHP | library/Np/Soap/Handler.php | mehulsbhatt/NPG | agpl-3.0 | 7,386 | 200 | codeparrot/github-code |
4437d91b6ac35391f66d6aba181b177956c675df895da165c453b4008685953d | # -*- coding: utf-8 -*-
# © 2014 Elico Corp (https://www.elico-corp.com)
# Licence AGPL-3.0 or later(http://www.gnu.org/licenses/agpl.html)
import time
from datetime import datetime
import openerp.addons.decimal_precision as dp
from openerp.osv import fields, osv
from openerp.tools import DEFAULT_SERVER_DATETIME_FOR... | Python | mrp_mo_nopicking/mrp.py | Elico-Corp/openerp-7.0 | agpl-3.0 | 4,434 | 95 | codeparrot/github-code |
6dd7d3d641e89e832db40c2be70439ae8c3e03433f787675ed4bf503fcd5b7fa | /**
* @(#)MediaExportParameters.java
*
* This file is part of the Non-Linear Book project.
* Copyright (c) 2012-2016 Anton P. Kolosov
* Authors: Anton P. Kolosov, et al.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License version... | Java | NLBL/src/main/java/com/nlbhub/nlb/domain/MediaExportParameters.java | Antokolos/NLB | agpl-3.0 | 3,959 | 106 | codeparrot/github-code |
0bc093e77f7caa77dd677802c54bda8947905c0f47ff8365ef6d08b9d4018ac4 | <!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="all"... | HTML | report/html/com/rapidminer/gui/dnd/top-risks.html | cm-is-dog/rapidminer-studio-core | agpl-3.0 | 8,312 | 207 | codeparrot/github-code |
71087019076fefab54ef07a5abb72c9e1aeffa387a0b3d35de2ac6f4d94293db | import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { AppModule } from '../../../../app.module';
import { MAT_DIALOG_DATA, MatDialog, MatDialogRef } from '@angular/material';
import { ConfirmDialogComponent } from './confirm-dialog.component';
describe('ConfirmDialogComponent', () => {
... | TypeScript | src/app/view/modules/dialog/confirm-dialog/confirm-dialog.component.spec.ts | dhlab-basel/Salsah | agpl-3.0 | 1,082 | 35 | codeparrot/github-code |
8bc2cfdeb66a6396b4e879009a457ffe0fbbc26d934c699b200358e5c2ba3b27 | {% extends 'task/default.html' %}
{% block task-content %}
<dl class="task__data">
{% if task.category %}
<dt>Category</dt>
<dd>{{ task.get_category_display }}</dd>
{% endif %}
{% if task.text %}
<dt>Message</dt>
<dd>{{task.text}}</dd>
{% endif %}
{% if task.user %}
... | HTML | muckrock/templates/task/flagged.html | MuckRock/muckrock | agpl-3.0 | 1,743 | 44 | codeparrot/github-code |
00df9596e418f3eaba99330447ebe89b64d8fa135f30ffb18fe59a1b5bea2778 | 'use strict';
var phonetic = require('phonetic');
var socketio = require('socket.io');
var _ = require('underscore');
var load = function(http) {
var io = socketio(http);
var ioNamespace = '/';
var getEmptyRoomId = function() {
var roomId = null;
do {
roomId = phoneti... | JavaScript | socket.js | ryanpetris/droppy | agpl-3.0 | 2,696 | 97 | codeparrot/github-code |
eb37bbaf20804c40768ca2503f4e6f8b4455385f16c50e2b677fa1c6505a3ca0 | /*
* Fluffy Meow - Torrent RSS generator for TV series
* Copyright (C) 2015 Victor Denisov
*
* 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
* (... | Java | src/main/java/org/plukh/fluffymeow/aws/AWSInstanceInfoProviderImpl.java | vdenisov/fluffy-meow | agpl-3.0 | 3,343 | 83 | codeparrot/github-code |
93e568ba56a938d4366eb004d46636db1dcfe51229b7b5cc0ed290b0f57f0480 | /*
* Copyright (c) 2011-2015 libbitcoin developers (see AUTHORS)
* Copyright (c) 2016-2017 metaverse core developers (see MVS-AUTHORS)
*
* This file is part of metaverse.
*
* metaverse is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License with
* ad... | C++ | src/lib/bitcoin/message/alert.cpp | sikamedia/metaverse | agpl-3.0 | 4,834 | 171 | codeparrot/github-code |
f3fb0f57d697c41e9d68434f433be250f64257fb1638e463e968c19b85c138a9 | module BABYLON {
export class Animation {
private _keys: Array<any>;
private _offsetsCache = {};
private _highLimitsCache = {};
private _stopped = false;
public _target;
private _easingFunction: IEasingFunction;
public targetPropertyPath: string[];
p... | TypeScript | Babylon.js-master/Babylon/Animations/babylon.animation.ts | brosnanyuen/Project-S | agpl-3.0 | 17,963 | 407 | codeparrot/github-code |
c022b663e001dbef4562aa39fcb0ded6f630a76d2c234b628e5bc8c1bb54491a | //
//{block name="backend/create_backend_order/view/toolbar"}
//
Ext.define('Shopware.apps.SwagBackendOrder.view.main.Toolbar', {
extend: 'Ext.toolbar.Toolbar',
alternateClassName: 'SwagBackendOrder.view.main.Toolbar',
alias: 'widget.createbackendorder-toolbar',
dock: 'top',
ui: 'shopware-ui',
... | JavaScript | engine/Shopware/Plugins/Default/Backend/SwagBackendOrder/Views/backend/swag_backend_order/view/main/toolbar.js | GerDner/luck-docker | agpl-3.0 | 8,411 | 243 | codeparrot/github-code |
2057283d9000b78aa89e880cd1247f52da5003b0a02b1de4dfd3969769dcd629 | /**
* 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/ProductServiceImpl.java | uniteddiversity/mycollab | agpl-3.0 | 2,122 | 54 | codeparrot/github-code |
2b1c03a7f1358ea43be54cdc4c9102ec04947095cde1a3e56dae165a724d0b7b | <?php
/*********************************************************************************
* SugarCRM Community Edition is a customer relationship management program developed by
* SugarCRM, Inc. Copyright (C) 2004-2012 SugarCRM Inc.
*
* This program is free software; you can redistribute it and/or modify it under
... | PHP | include/VarDefHandler/VarDefHandler.php | minh10huy/HiringBossCRM | agpl-3.0 | 7,729 | 229 | codeparrot/github-code |
a60f16ca84775f9d7f058c5e90a1b518761998f1950497b8ee8832ebcbd6ed58 | /*
* Copyright (C) 2000 - 2021 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 spec... | Java | core-services/pdc/src/main/java/org/silverpeas/core/pdc/pdc/model/PdcAxisValue.java | SilverDav/Silverpeas-Core | agpl-3.0 | 15,484 | 421 | codeparrot/github-code |
0e6822d7796f79b0eca9d42d597d276bbf916511b696f759efa37b09336ce838 | package io.github.jhg543.mellex.operation;
import com.google.common.base.Preconditions;
import com.google.common.base.Splitter;
import io.github.jhg543.mellex.ASTHelper.*;
import io.github.jhg543.mellex.antlrparser.DefaultSQLBaseListener;
import io.github.jhg543.mellex.antlrparser.DefaultSQLLexer;
import io.github.jhg... | Java | src/main/java/io/github/jhg543/mellex/operation/StringEdgePrinter.java | jhg543/mellex | agpl-3.0 | 11,043 | 317 | codeparrot/github-code |
3afc6f7a51c5ff10342df4a4e22b96711f133ff5452f5d023ef121ef551f6346 | require 'open_food_network/referer_parser'
module Admin
class EnterprisesController < ResourceController
before_filter :load_enterprise_set, :only => :index
before_filter :load_countries, :except => [:index, :register, :check_permalink]
before_filter :load_methods_and_fees, :only => [:new, :edit, :update... | Ruby | app/controllers/admin/enterprises_controller.rb | stveep/openfoodnetwork | agpl-3.0 | 9,547 | 253 | codeparrot/github-code |
ff1d3ad401253ee3b44b35f137332625af06d5d8921e2ca40218e7f57bf5ebf9 | package com.neverwinterdp.scribengin.dataflow.example.wire;
import java.util.Properties;
import com.neverwinterdp.message.Message;
import com.neverwinterdp.scribengin.dataflow.DataSet;
import com.neverwinterdp.scribengin.dataflow.Dataflow;
import com.neverwinterdp.scribengin.dataflow.DataflowDescriptor;
import com.ne... | Java | scribengin/dataflow/example/src/main/java/com/neverwinterdp/scribengin/dataflow/example/wire/ExampleWireDataflowSubmitter.java | DemandCube/NeverwinterDP | agpl-3.0 | 6,521 | 163 | codeparrot/github-code |
70bc8ba79c74071597bc4a84b7f7e1c4a9eb03103212c79011b60498662555fe | package com.gmail.nossr50.commands.party;
import org.bukkit.ChatColor;
import org.bukkit.command.Command;
import org.bukkit.command.CommandExecutor;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
import com.gmail.nossr50.mcMMO;
import com.gmail.nossr50.commands.CommandHelper;
impo... | Java | src/main/java/com/gmail/nossr50/commands/party/PCommand.java | javalangSystemwin/mcMMOPlus | agpl-3.0 | 4,799 | 136 | codeparrot/github-code |
540e0383be83e8f666e24fc8ae7b671f25dec14324f943de7e5fbe999c359bb3 | import { TYPES } from 'core/app/types'
import { StateManager } from 'core/dialog'
import { ContainerModule, interfaces } from 'inversify'
import { DecisionEngine } from './decision-engine'
import { DialogEngine } from './dialog-engine'
import { FlowService } from './flow/flow-service'
import { FlowNavigator } from './... | TypeScript | packages/bp/src/core/dialog/dialog.inversify.ts | botpress/botpress | agpl-3.0 | 1,613 | 46 | codeparrot/github-code |
dca821964121da6d631118a2eac4173bcc94783f5063e211cef8785aa5eeb096 | /*
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"
#include "WorldPacket.h"
namespace AscEmu::Packets
{
class CmsgQuestgiverRequestReward : public ManagedPa... | C | src/world/Server/Packets/CmsgQuestgiverRequestReward.h | AscEmu/AscEmu | agpl-3.0 | 1,093 | 46 | codeparrot/github-code |
2c5805a4120009679229e3b3d0c47f121fab8d40d656ffc1852b83c7e7b815c1 | <?php
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public License v3.0.
// See the LICENCE file in the repository root for full licence text.
namespace App\Libraries;
use App\Exceptions\UserVerificationException;
use App\Mail\UserVerification as UserVerificationMail;
use App\M... | PHP | app/Libraries/UserVerification.php | omkelderman/osu-web | agpl-3.0 | 4,310 | 159 | codeparrot/github-code |
cbad0f4c597585f07fca953860c2a3ff57fc43e2b076c65d55ec27afb90e3632 | /*
Copyright (C) 2015 Jack Fagner
This file is part of OpenTidl.
OpenTidl 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... | C# | OpenTidl/Methods/OpenTidlStreamMethods.cs | iamsi/OpenTidl | agpl-3.0 | 5,833 | 152 | codeparrot/github-code |
ea464eec1d1abc4c505aeee28e0a19620e991dc28efa7b82a1cff1a155ba1a69 | # -*- coding: utf-8 -*-
##############################################################################
#
# Infrastructure
# Copyright (C) 2014 Ingenieria ADHOC
# No email
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License... | Python | addons/infrastructure/database_type.py | zhaohuaw/odoo-infrastructure | agpl-3.0 | 2,270 | 62 | codeparrot/github-code |
101754046230b8a05f2e8f4f5326d6121a3482f72c27e92e33435ee2795f72b3 | # SPDX-License-Identifier: AGPL-3.0-or-later
"""
SepiaSearch (Videos)
"""
from json import loads
from dateutil import parser, relativedelta
from urllib.parse import urlencode
from datetime import datetime
# about
about = {
"website": 'https://sepiasearch.org',
"wikidata_id": None,
"official_api_documenta... | Python | searx/engines/sepiasearch.py | dalf/searx | agpl-3.0 | 2,928 | 103 | codeparrot/github-code |
d75784abfe68c147adf4fb58c77dba873aef3647f2ebdac8d67567f961ffe9cd | <?php
/*
Kevin Froman - Easy IPFS: easily interact with IPFS in php via this simple API
Copyright (C) 2017 Kevin Froman
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 ... | PHP | easy-ipfs.php | beardog108/seedbin | agpl-3.0 | 2,545 | 97 | codeparrot/github-code |
ee58112d3decc057d8630cebe719e72d0cd9eb205b3ca426a12dae8e4c6ca37a | import React from 'react';
import { render, waitForElement } from 'react-testing-library';
import FakeDataProvider from '@olimat/web/utils/test/FakeDataProvider';
import MockErrorProvider from '@olimat/web/utils/test/MockErrorProvider';
import MockNextContext from '@olimat/web/utils/test/MockNextContext';
import { ren... | TypeScript | packages/web/src/components/Exam/Details.test.tsx | iquabius/olimat | agpl-3.0 | 1,970 | 62 | codeparrot/github-code |
c016b989ff21fb9fc6fb2ecc87dedc9aedf850408e7228fc924e6f45f33ab1fd | {% extends "podcast-base.html" %}
{% load i18n %}
{% load humanize %}
{% load episodes %}
{% load podcasts %}
{% load devices %}
{% load charts %}
{% load utils %}
{% load menu %}
{% block mainmenu %}{{ "/podcast/"|main_menu }}{% endblock %}
{% block sectionmenu %}
{% if podcast.title %}
{{ "/podcast/"|section_menu... | HTML | mygpo/podcasts/templates/podcast.html | gpodder/mygpo | agpl-3.0 | 6,895 | 249 | codeparrot/github-code |
60629051dbc889d43ed995ca7319c1aed312ca4815fec623ed71d8f132a342ec | /*
Classe gerada automaticamente pelo MSTech Code Creator
*/
namespace MSTech.GestaoEscolar.BLL
{
using MSTech.Business.Common;
using MSTech.GestaoEscolar.Entities;
using MSTech.GestaoEscolar.DAL;
using System.Data;
using MSTech.Data.Common;
using System.Collections.Generic;
using System.Linq;
... | C# | Src/MSTech.GestaoEscolar.BLL/CLS_AlunoAvaliacaoTurmaQualidadeBO.cs | prefeiturasp/SME-SGP | agpl-3.0 | 5,771 | 129 | codeparrot/github-code |
bee6f87393ddeefdc7d1efb7ce845ca8fb16a7fe42d011779e924f0d4adb6d35 | import { createSlice, createEntityAdapter, Reducer, AnyAction, PayloadAction } from '@reduxjs/toolkit';
import { fetchAll, fetchDetails, install, uninstall, loadPluginDashboards, panelPluginLoaded } from './actions';
import { CatalogPlugin, PluginListDisplayMode, ReducerState, RequestStatus } from '../types';
import { ... | TypeScript | public/app/features/plugins/admin/state/reducer.ts | grafana/grafana | agpl-3.0 | 4,001 | 101 | codeparrot/github-code |
45011b584a1992d6f5a45703e064901f87f7fc215008c784b5c406295ce465a2 | # -*- coding: utf-8 -*-
#
# SPDX-FileCopyrightText: 2013-2021 Agora Voting SL <contact@nvotes.com>
#
# SPDX-License-Identifier: AGPL-3.0-only
#
import pickle
import base64
import json
import re
from datetime import datetime
from flask import Blueprint, request, make_response, abort
from frestq.utils import loads, du... | Python | public_api.py | agoravoting/election-orchestra | agpl-3.0 | 8,202 | 251 | codeparrot/github-code |
c5c373ee6c5ac805687274baf175bc2d58298aa095d1a564d2c1417d1a068380 | class ReportsController < ApplicationController
skip_load_and_authorize_resource
def expenses
@filter = params[:filter]
if (@type = params[:by_type]) && (@group = params[:by_group])
@expenses = ExpenseReport.by(@type, @group).accessible_by(current_ability)
if @filter
@filter.each { |k,v... | Ruby | app/controllers/reports_controller.rb | karthiksenthil/travel-support-program | agpl-3.0 | 1,429 | 42 | codeparrot/github-code |
67c6e153f8f93ecd88abe4786c191b083c9a755bfa0ac94e9e9eed40d95cf7ab | /*
* Claudia Project
* http://claudia.morfeo-project.org
*
* (C) Copyright 2010 Telefonica Investigacion y Desarrollo
* S.A.Unipersonal (Telefonica I+D)
*
* See CREDITS file for info about members and contributors.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the Affe... | Java | tcloud-server/src/main/java/com/telefonica/claudia/smi/deployment/ServiceItemResource.java | StratusLab/claudia | agpl-3.0 | 6,138 | 169 | codeparrot/github-code |
c5d5e68423a01133c4dc03300f9adcd3e79f49febe65ea899cfc52f828608288 | ace.define("ace/mode/jsx", ["require", "exports", "module", "ace/lib/oop", "ace/mode/text", "ace/tokenizer", "ace/mode/jsx_highlight_rules", "ace/mode/matching_brace_outdent", "ace/mode/behaviour/cstyle", "ace/mode/folding/cstyle"], function (e, t, n) {
function l() {
this.HighlightRules = o, this.$outdent ... | JavaScript | server/src/main/webapp/ace/src-min-noconflict/mode-jsx.js | ahammer/MySaasa | agpl-3.0 | 17,411 | 266 | codeparrot/github-code |
7a10d68ce459934cc1a570877a404e1c077d6f1960f7a145c92032b8a4d6ea38 | <?php
class TreeNode {
public $text = "";
public $id = "";
public $iconCls = "";
public $leaf = true;
public $draggable = false;
public $href = "#";
public $hrefTarget = "";
function __construct($id,$text,$iconCls,$leaf,$draggable,$href,$hrefTarget) {
$this->id = $id;
... | PHP | workflow/engine/methods/cases/casesToReviseTreeContent.php | carbonadona/pm | agpl-3.0 | 2,947 | 93 | codeparrot/github-code |
3b5b1e4ceb5f8206a2762e995d9cafd11e4990f5f6e60f419ac202257e601806 | # Copyright (C) 2021 OpenMotics BV
#
# 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 distribu... | Python | src/gateway/apartment_controller.py | openmotics/gateway | agpl-3.0 | 9,287 | 198 | codeparrot/github-code |
b14b83b749949bcef3786b10806095e68ee234ed25300f30e095d1f774bc5c27 | <?php
class MetadataPlugin extends KalturaPlugin
{
const PLUGIN_NAME = 'metadata';
const METADATA_FLOW_MANAGER_CLASS = 'kMetadataFlowManager';
const METADATA_COPY_HANDLER_CLASS = 'kMetadataObjectCopiedHandler';
const METADATA_DELETE_HANDLER_CLASS = 'kMetadataObjectDeletedHandler';
const BULK_UPLOAD_COLUM... | PHP | package/app/app/plugins/metadata/MetadataPlugin.php | MimocomMedia/kaltura | agpl-3.0 | 10,744 | 388 | codeparrot/github-code |
e0d1856d28b1582bf4e6b934c75424ef14cafffe85ae13fcb71b654881f98182 | import React from 'react';
import PropTypes from 'prop-types';
import ManaUsageGraph from './ManaUsageGraph';
class HealingDoneGraph extends React.PureComponent {
static propTypes = {
start: PropTypes.number.isRequired,
end: PropTypes.number.isRequired,
offset: PropTypes.number.isRequired,
healingBy... | JavaScript | src/parser/shared/modules/resources/mana/ManaUsageChartComponent.js | yajinni/WoWAnalyzer | agpl-3.0 | 3,101 | 98 | codeparrot/github-code |
d437fcc0887eb915bf8aa8ae769981e1787413ca06b7b377189d605eccb7b7cc | /*
* Copyright (c) 2015 - 2016 Memorial Sloan-Kettering Cancer Center.
*
* This library is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY, WITHOUT EVEN THE IMPLIED WARRANTY OF MERCHANTABILITY OR FITNESS
* FOR A PARTICULAR PURPOSE. The software and documentation provided hereunder
* is ... | Java | core/src/main/java/org/mskcc/cbio/portal/util/GeneticProfileUtil.java | bihealth/cbioportal | agpl-3.0 | 3,897 | 97 | codeparrot/github-code |
e05237db778838da3352f3e4e3066fdd521104e2f5bd5795955f67c502793574 | "use strict";
require("./setup");
var exchange = require("../src/exchange"),
assert = require("assert"),
config = require("config"),
async = require("async");
describe("Exchange", function () {
describe("rounding", function () {
it("should round as expected", function() {
assert.equal( excha... | JavaScript | test/exchange.js | OpenBookPrices/openbookprices-api | agpl-3.0 | 2,486 | 82 | codeparrot/github-code |
7850d7c10b5d574cf89ba8525767c609178b91f6083c593b49a42758934bc602 | package com.alessiodp.parties.bukkit.addons.external.skript.expressions;
import ch.njol.skript.classes.Changer;
import ch.njol.skript.doc.Description;
import ch.njol.skript.doc.Examples;
import ch.njol.skript.doc.Name;
import ch.njol.skript.doc.Since;
import ch.njol.skript.expressions.base.SimplePropertyExpression;
im... | Java | bukkit/src/main/java/com/alessiodp/parties/bukkit/addons/external/skript/expressions/ExprPartyName.java | AlessioDP/Parties | agpl-3.0 | 1,576 | 61 | codeparrot/github-code |
c584b39b51286a11830f2ae1f6735cdb2efa1bd2489fd3831922bf35b26469ff | /**
* Copyright (C) 2001-2020 by RapidMiner and the contributors
*
* Complete list of developers available at our web site:
*
* http://rapidminer.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 ... | Java | src/main/java/com/rapidminer/gui/new_plotter/configuration/LineFormat.java | rapidminer/rapidminer-studio | agpl-3.0 | 6,597 | 221 | codeparrot/github-code |
5064953b653f109a2b4c50494824127ff68e1b2042f90adec877e20a00492763 | package com.nexusplay.containers;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.math.BigInteger;
import java.sql.SQLException;
import org.apache.commons.io.IOUtils;
import com.nexusplay.db.SubtitlesD... | Java | src/com/nexusplay/containers/Change.java | AlexCristian/NexusPlay | agpl-3.0 | 4,573 | 171 | codeparrot/github-code |
58ba3bb57b0249f962157fcca62b116330479ec5fc846e226a5436e9c0ebaeae |
from ctypes import *
import ctypes.util
import threading
import os
import sys
from warnings import warn
from functools import partial
import collections
import re
import traceback
# vim: ts=4 sw=4 et
if os.name == 'nt':
backend = CDLL('mpv-1.dll')
fs_enc = 'utf-8'
else:
import locale
lc, enc = locale... | Python | mpv.py | Frechdachs/python-mpv | agpl-3.0 | 42,232 | 922 | codeparrot/github-code |
ead700e43136b586f2a8095d7bf51c816952c994d7ec6c43049e5325928b0b73 | /*
* The Kuali Financial System, a comprehensive financial management system for higher education.
*
* Copyright 2005-2017 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 Foundat... | Java | kfs-purap/src/main/java/org/kuali/kfs/module/purap/document/validation/impl/RequisitionNewIndividualItemValidation.java | quikkian-ua-devops/will-financials | agpl-3.0 | 2,205 | 49 | codeparrot/github-code |
0550400be969a249501c73eb16469833ca1e23803df90127218bc1af73ece5ee | // License: MIT
#pragma once
//\brief: TypeFlags, mostly used to define updatePackets.
//\note: check out class inheritance. it is not true that every unit is "just" a creature.
/*
object
- unit
- - player
- - creature
- - - pet <- probably wrong inheritance from summon not from creature
- - - totem <- probably ... | C | src/world/Objects/ObjectDefines.h | master312/AscEmu | agpl-3.0 | 2,026 | 82 | codeparrot/github-code |
faabb7d30777a52c55b134bb03fc27f2e76f0ea59776d5800e04de24af654498 | <?php
declare(strict_types=1);
/**
* @copyright Copyright (c) 2020, Morris Jobke <hey@morrisjobke.de>
*
* @author Morris Jobke <hey@morrisjobke.de>
*
* @license GNU AGPL version 3 or any later version
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affe... | PHP | lib/private/Files/Mount/ObjectStorePreviewCacheMountProvider.php | andreas-p/nextcloud-server | agpl-3.0 | 4,483 | 152 | codeparrot/github-code |
707b5463295db455093ea4c8458d2f845ccba066a439f190899790744cfe920a | <!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.mi... | HTML | report/html/com/rapidminer/tools/expression/internal/function/bitwise/top-risks.html | cm-is-dog/rapidminer-studio-core | agpl-3.0 | 8,553 | 207 | codeparrot/github-code |
fa5fbc6cc59a503a16eea89ca961c6671ade5acfe8c56ea02b9c4d3e2c2b75af | # --
# Kernel/GenericInterface/Operation/Session/SessionCreate.pm - GenericInterface SessionCreate operation backend
# Copyright (C) 2001-2014 OTRS AG, http://otrs.com/
# --
# This software comes with ABSOLUTELY NO WARRANTY. For details, see
# the enclosed file COPYING for license information (AGPL). If you
# did not r... | Perl | Kernel/GenericInterface/Operation/Session/SessionCreate.pm | rahulvador/CoreHD | agpl-3.0 | 3,682 | 143 | codeparrot/github-code |
90fa0fa5cc17b2d258163a0fe0eceb40e46850c4b230e8848898b1c90b241f8a | <div id="detail_{{ object.id }}" class="detail box ui-draggable ui-droppable expanded expanded-padding">
<div class="box-header">
<div class="box-name ui-draggable-handle">
<i class="fa fa-fw fa-search"></i>
<span>Details of subscription {{ object.name }}</span>
</div>
... | HTML | gluon/saas/templates/subscription.html | inspyration/django-gluon | agpl-3.0 | 9,050 | 163 | codeparrot/github-code |
23262caa1aab1e352bc2d130687de48fd098fedcc865ab0701e0e1f6db047382 | package storage
import (
"fmt"
"strings"
"time"
mgo "github.com/ilius/mgo"
"github.com/ilius/mgo/bson"
)
func ModifyIndexTTL(db mgo.Database, collection string, index mgo.Index) error {
keyInfo, err := mgo.ParseIndexKey(index.Key)
if err != nil {
return err
}
expireAfterSeconds := int(index.ExpireAfter / ... | GO | pkg/scal/storage/index_ttl.go | ilius/starcal-server | agpl-3.0 | 1,140 | 49 | codeparrot/github-code |
62588b401270c8e2f45e020ee9cbb674f745064a05a5a33c844bb3542716e75f | /**
* Copyright (C) 2000 - 2012 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 spe... | Java | web-core/src/main/java/com/stratelia/silverpeas/peasCore/SilverpeasWebUtil.java | NicolasEYSSERIC/Silverpeas-Core | agpl-3.0 | 5,021 | 131 | codeparrot/github-code |
eb3e53dc47571857bad0d402d426b6b189228d1b900c82d2fe6a423ccaf1f632 | /*
* Copyright (c) 2012 - 2020 Splice Machine, Inc.
*
* 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) ... | Java | splice_si_api/src/main/java/com/splicemachine/si/impl/Tracer.java | splicemachine/spliceengine | agpl-3.0 | 4,164 | 125 | codeparrot/github-code |
b55a4751f1f4ea70ea0e1abaa0da4aab89d2b631c7b5709060a202605abcad70 | /*
* JBILLING CONFIDENTIAL
* _____________________
*
* [2003] - [2012] Enterprise jBilling Software Ltd.
* All Rights Reserved.
*
* NOTICE: All information contained herein is, and remains
* the property of Enterprise jBilling Software.
* The intellectual and technical concepts contained
* herein are proprie... | Java | src/java/com/sapienter/jbilling/server/user/CompanyWS.java | rahith/ComtalkA-S | agpl-3.0 | 3,574 | 120 | codeparrot/github-code |
59b750864f21da5404f42f73692966dda2c3392ff1228a6ed79bc81e24615585 | /*
* 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 | integration/api/src/main/java/org/phenotips/variantStoreIntegration/VariantStoreVariant.java | phenotips/variant-store | agpl-3.0 | 3,411 | 83 | codeparrot/github-code |
cf71620cfcb79f3722aa465849ddfe64e732d108add4f35e65f2ced714a61e01 | /*
* Copyright (C) 2000 - 2016 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 spec... | Java | core-services/personalOrganizer/src/main/java/org/silverpeas/core/personalorganizer/service/JournalDAO.java | auroreallibe/Silverpeas-Core | agpl-3.0 | 30,469 | 789 | codeparrot/github-code |
67aee19737c7f532333e8332808fe82a4ce7826b96d4cb407ca767dc3d8969b7 | /**
* 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 | lib-core/src/main/java/com/stratelia/webactiv/beans/admin/SpaceProfileInstManager.java | CecileBONIN/Silverpeas-Core | agpl-3.0 | 14,175 | 389 | codeparrot/github-code |
26cc80bac1a827fe6add9ab429aa46aa1380a3ce2e399de4809d23f83c9c6ed5 | package org.bimserver.database.query.literals;
/******************************************************************************
* Copyright (C) 2009-2019 BIMserver.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
* publi... | Java | BimServer/src/org/bimserver/database/query/literals/StringLiteral.java | opensourceBIM/BIMserver | agpl-3.0 | 1,207 | 32 | codeparrot/github-code |
2b05ef0d89cd5291e4bf6dc1be77d00d0a270e6245b300bfe90565fb45d7537b | <?php
/**
* Manager for Plus
*
* !! Most of Plus is handled via Discovery or Wire\Paywall !!
*/
namespace Minds\Core\Plus;
use Minds\Core\Di\Di;
use Minds\Core\Config;
use Minds\Core\Data\ElasticSearch;
use Minds\Core\Data\Cassandra;
use Minds\Core\Wire\Paywall\PaywallEntityInterface;
use Minds\Core\Rewards\Contri... | PHP | Core/Plus/Manager.php | Minds/engine | agpl-3.0 | 8,138 | 286 | codeparrot/github-code |
4df9fb01c5b7b16efc0f17f6b2fdb3071b7e9d8bf9d78ae903ec81fb053869d2 | <?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<!-- template designed by Marco Von Ballmoos -->
<title>Docs For Class Zend_Uri</title>
<... | HTML | include/ZendGdata/documentation/api/core/Zend_Uri/Zend_Uri.html | MarStan/sugar_work | agpl-3.0 | 17,772 | 528 | codeparrot/github-code |
d6430400504c45f04cb1979dc60290ab64652a7805582b102e16b92a93d1f083 | /*
* This file is part of Kotaka, a mud library for DGD
* http://github.com/shentino/kotaka
*
* Copyright (C) 2018, 2021 Raymond Jennings
*
* 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 Fo... | C | mud/home/Verb/sys/verb/ooc/wiz/sitebans.c | shentino/kotaka | agpl-3.0 | 2,528 | 146 | codeparrot/github-code |
0fb061ff2aff62a99661e28a04ba6a38b042f994009a1b5781456477f8bda4b5 | /********
* This file is part of Ext.NET.
*
* Ext.NET 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.
*
... | C# | Ext.Net/Factory/Config/RadialAxisConfig.cs | codeyu/Ext.NET.Community | agpl-3.0 | 3,283 | 122 | codeparrot/github-code |
8b2e40a0b0e1ae225b219c16359eceeaf77de803c84db786ccbdea756fe53fc2 | package uploads
import (
"context"
"errors"
"fmt"
"io/ioutil"
"os"
"path/filepath"
"regexp"
"sync"
"time"
"github.com/go-kit/log/level"
"github.com/prometheus/client_golang/prometheus"
"github.com/grafana/loki/pkg/storage/chunk"
"github.com/grafana/loki/pkg/storage/chunk/local"
chunk_util "github.com/g... | GO | pkg/storage/stores/shipper/uploads/table_manager.go | grafana/loki | agpl-3.0 | 7,136 | 266 | codeparrot/github-code |
cbee909a2d6d99dd167f0673d824af4f123cde5e73cddcf8062dbff19c2ebd6f | /*
* SessionShiny.cpp
*
* Copyright (C) 2009-12 by RStudio, Inc.
*
* Unless you have received this program directly from RStudio pursuant
* to the terms of a commercial license agreement with RStudio, then
* this program is licensed to you under the terms of version 3 of the
* GNU Affero General Public License.... | C++ | src/cpp/session/modules/shiny/SessionShiny.cpp | nvoron23/rstudio | agpl-3.0 | 3,808 | 141 | codeparrot/github-code |
c9ae58c1d9b0717b588e5eaa8d4544343fe608f92effb963842e02b2a063601b | 'use strict';
/**
* @ngdoc directive
* @name GO.Core.CustomFields.goCustomFieldsEdit
*
* @description
* Prints custom fields form fieldsets.
*
*
* @param {string} ngModel The customFields model property of the model the customFields belong to
* @param {string} serverModel The custom fields server model.
*... | JavaScript | app/core/directives/custom-fields/custom-fields-edit-directive.js | Intermesh/groupoffice-webclient | agpl-3.0 | 5,358 | 142 | codeparrot/github-code |
0963cb4c2af8057efa7d9ddfb913f93fff455dced53a7d5c35be2b4f139d1344 | /*
Copyright (C) 2017 Cloudbase Solutions 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 your option) any later version.
This program is distribute... | TypeScript | src/components/molecules/DropdownFilter/DropdownFilter.tsx | aznashwan/coriolis-web | agpl-3.0 | 4,086 | 167 | codeparrot/github-code |
f7562afcadc7327bf971170c6a31caa2d04fa47b3eb50467e26637bf22f6c70a | """
Block Depth Transformer
"""
from __future__ import absolute_import
from openedx.core.djangoapps.content.block_structure.transformer import BlockStructureTransformer
class BlockDepthTransformer(BlockStructureTransformer):
"""
Keep track of the depth of each block within the block structure. In case
o... | Python | lms/djangoapps/course_api/blocks/transformers/block_depth.py | ESOedX/edx-platform | agpl-3.0 | 2,059 | 67 | codeparrot/github-code |
7781860cdadf7e83d49525b522bbe50ea72cf44754c269bec440dfda222603a5 | #!/usr/bin/env ruby
# Exit codes:
# 0 Test run successful (even with reruns)
# 1 Unspecified error
# 2 Linting failed
# 4 No profile given
# 8 Gettext isn't installed
# 16 Gettext files did not validate
# 32 Cucumber failed
# 64 Rspec failed
# TODO: Use Open4 to continuously flush STDOUT output from the ... | Ruby | bin/run_tests.rb | psy-q/vinylla | agpl-3.0 | 2,817 | 117 | codeparrot/github-code |
5b40b6af00e5815bfe250c5e24fa46de136101180fc81291f41fd2e92bf4cc4c | # Copyright 2018 ACSONE SA/NV
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
import ast
from odoo import api, exceptions, models, _
class MailComposeMessage(models.TransientModel):
_inherit = 'mail.compose.message'
@api.model
def _get_priorities(self):
"""
Load priorities... | Python | mail_job_priority/wizards/mail_compose_message.py | mozaik-association/mozaik | agpl-3.0 | 1,920 | 51 | codeparrot/github-code |
7c9d2fc212f6bdb4bc4594e59f0b3a0bd1bea3dc77176e8ad1a295eeabb0b00c | <?php
/**
* @package Billing
* @copyright Copyright (C) 2012-2016 BillRun Technologies Ltd. All rights reserved.
* @license GNU Affero General Public License Version 3; see LICENSE.txt
*/
/**
* This is a prototype for a services action.
*
*/
abstract class Billrun_ActionManagers_Services_... | PHP | library/Billrun/ActionManagers/Services/Action.php | BillRun/system | agpl-3.0 | 905 | 35 | codeparrot/github-code |
1ff3e1db79cbbc425bed9eeeb8af6dd280258a74948ca34f40e5449cd7ecf6d0 | <table mat-table
*ngIf="dataSource"
[dataSource]="dataSource"
[trackBy]="tableTrackerFn"
class="ya-data-table">
<ng-container matColumnDef="order">
<th mat-header-cell *matHeaderCellDef style="width: 1px">#</th>
<td mat-cell *matCellDef="let queue">
{{ queue.order }}
</t... | HTML | yamcs-web/src/main/webapp/src/app/commanding/queues/QueuesTable.html | m-sc/yamcs | agpl-3.0 | 3,243 | 100 | codeparrot/github-code |
26b6149828f13c26100a09da94907cfbb785dce192e2d6f7ed7412ae57e7b3b1 | /*
* _ _ _
* | | | | | |
* | | __ _| |__ ___ ___ __ _| |_ Labcoat (R)
* | |/ _` | '_ \ / __/ _ \ / _` | __| Powerful development environment for Quirrel.
* | | (_| | |_) | (_| (_) | (_| | |_ Copyright (C) 2010 - 2013... | JavaScript | js/ace/mode/csharp.js | precog/labcoat-legacy | agpl-3.0 | 2,838 | 83 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.