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
f54c1fba42abcb6501e7688d0099628ee38584f838be096401bfc59c97b6a0d3
package org.silverpeas.quota.model; import static org.hamcrest.MatcherAssert.assertThat; import static org.hamcrest.Matchers.is; import java.math.BigDecimal; import org.junit.Test; import org.silverpeas.quota.contant.QuotaLoad; import org.silverpeas.quota.contant.QuotaType; import org.silverpeas.quota.exception.Quot...
Java
lib-core/src/test/java/org/silverpeas/quota/model/QuotaTest.java
NicolasEYSSERIC/Silverpeas-Core
agpl-3.0
3,444
133
codeparrot/github-code
03eb6787bb71f50b49c45bf2928839eb4082860b8a2e065b28a06a19b5aee360
/* cursus - Race series management program Copyright 2011, 2013-2014 Simon Arlott 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) an...
Java
src/main/java/uk/uuid/cursus/db/data/Class.java
lp0/cursus-core
agpl-3.0
2,928
112
codeparrot/github-code
603ead7b4b79a94c6e114eacc070295340212d49f13611127ea96f12dbaee0ee
<?php include_once("Parser/LexerBuilder.php"); include_once("Parser/AbstractParser.php"); include_once("Parser/ParserRule.php"); include_once("Parser/ParserToken.php"); class CalculatorRules extends LexerBuilder { function __construct() { $this->addTokens(['NUM', 'PLUS', 'MINUS', 'TIMES', 'EOD', 'DIVIDE', 'S...
PHP
calculator.php
oliverheins/PHPSimpleLexYacc
agpl-3.0
3,220
125
codeparrot/github-code
ed7cf05999ebd448d94350ac3b9cf35abe1fd6cfd94d1c5f0870b667c007f9aa
/** * Copyright (C) 2017 3D Repo Ltd * * 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 pro...
TypeScript
frontend/src/v4/routes/components/customTable/components/tableHeading/tableHeading.component.tsx
3drepo/3drepo.io
agpl-3.0
1,120
40
codeparrot/github-code
9c4eae2e39b941be8d119a1ab28fef210f66cf398dca644771f7c3cf72e10945
#include "postgres.h" #include "funcapi.h" #include "libpq-fe.h" #include "miscadmin.h" #include "pgstat.h" #include <sys/stat.h> #include <unistd.h> #include "access/htup_details.h" #include "distributed/multi_server_executor.h" #include "distributed/subplan_execution.h" #include "distributed/tuple_destination.h" ...
C
src/backend/distributed/executor/tuple_destination.c
citusdata/citus
agpl-3.0
8,881
314
codeparrot/github-code
55eb85b895c004dd3f3477475a4fdb4354a00815122776fdc8383eee36fbfca3
package com.simplyian.superplots.event; import org.bukkit.entity.Player; import org.bukkit.event.Event; import org.bukkit.event.block.BlockBreakEvent; import org.bukkit.event.block.BlockPlaceEvent; import org.bukkit.event.player.PlayerInteractEvent; import com.simplyian.superplots.SuperPlotsPlugin; import com.simplyi...
Java
src/main/java/com/simplyian/superplots/event/SPEventFactory.java
simplyianm/SuperPlots
agpl-3.0
1,881
60
codeparrot/github-code
b448d6b1070123ad41102af1420d8ff287a3682698c33b9bbe74f8a2ea23d23a
<!DOCTYPE html> <html lang="en" > <head> <title>Week 17 上課作業 - 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-width, initial-scale=1.0"> ...
HTML
blog/Week 17.html
40423214/2017springcd_hw
agpl-3.0
12,039
278
codeparrot/github-code
f2ee8ea356754ebcd7de9ad1681091a79408c1d82fb643fa0c2fc8496494fc7f
#ifndef SYSTEMCONTAINER_H #define SYSTEMCONTAINER_H #include <osg/Geode> #include <QMap> #include <QVarLengthArray> #include <QVector3D> #include <QVector4D> #include "ImageWindowGeode.h" #include "WaypointGroupNode.h" class SystemContainer { public: SystemContainer(); QVector3D& gpsLocalOrigin(void); ...
C
src/ui/map3D/SystemContainer.h
lis-epfl/qgroundcontrol
agpl-3.0
1,793
62
codeparrot/github-code
1e08aa3da5892b2d19155ba155a92538fd5cbd216279b2aee131cf202d309212
package com.danubetech.blockstore.client; import java.io.IOException; import org.json.simple.JSONArray; import org.json.simple.JSONObject; /** * Client interface to the Blockstore server. * * @author peacekeeper */ public interface BlockstoreClient { public JSONObject ping() throws IOException; public JSONOb...
Java
src/main/java/com/danubetech/blockstore/client/BlockstoreClient.java
projectdanube/blockstore-cli-java
agpl-3.0
3,994
51
codeparrot/github-code
4f22a224ecff56f0914365532bd659e2e22d58a16da0a9eef58fecad6a85cdb0
<!DOCTYPE html> <html lang="en" > <head> <title>40123156 cdw11 報告 - CDW11 網頁 (虎尾科大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-width, initial-scale=1.0"> <styl...
HTML
static/blog/40123156-cdw11-bao-gao.html
40323212/bg7_cdw11
agpl-3.0
32,410
622
codeparrot/github-code
775016799dffbe676641c87d0fe67862da60314d383731c460548a8e8c6a14dc
#ifndef VDOS_REGS_H #define VDOS_REGS_H #include "mem.h" #define FLAG_CF 0x00000001 #define FLAG_PF 0x00000004 #define FLAG_AF 0x00000010 #define FLAG_ZF 0x00000040 #define FLAG_SF 0x00000080 #define FLAG_OF 0x00000800 #define FLAG_TF 0x00000100 #define FLAG_IF 0x00000200 #define FLAG_DF 0x00000400 #define...
C
Src/OSF/vDOS/include/regs.h
papyrussolution/OpenPapyrus
agpl-3.0
3,164
122
codeparrot/github-code
65f68ad808a97ac7584cde8181879a3e9318ba4881a4a1bad14d1f0bb0da9516
/** * */ package syncleus.dann.neural.spiking.neuron_update_rules; import syncleus.dann.neural.spiking.SpikingNeuralNetwork.TimeType; import syncleus.dann.neural.spiking.SpikingNeuron; import syncleus.dann.neural.spiking.SpikingNeuronUpdateRule; /** * Hodgkin-Huxley Neuron. * * Adapted from software ...
Java
src/syncleus/dann/neural/spiking/neuron_update_rules/HodgkinHuxleyRule.java
automenta/java_dann
agpl-3.0
7,077
301
codeparrot/github-code
1d31fbded43a02123846df80c6de1ac5c4df8636005b002a6f0338e819d80e19
{% extends "mivs_base.html" %} {% block body %} {% if studio.is_new %} <h2>MAGFest Indie Videogame Showcase</h2> {% if c.CAN_SUBMIT_MIVS %} Please fill out information about your studio. You will then be prompted to enter information about the game(s) you are submitting. If you've already sub...
HTML
uber/templates/mivs/studio.html
magfest/ubersystem
agpl-3.0
4,755
112
codeparrot/github-code
0a7d813631f3d8c3ca0d57472c492597e9f2e641720ec22fda8abc1e967b4e97
///////////////////////////////////////////////////////////////////////////// // This file is part of the Journey MMORPG client // // Copyright © 2015-2016 Daniel Allendorf // // // // Th...
C
Util/Randomizer.h
SYJourney/JourneyClient
agpl-3.0
2,669
92
codeparrot/github-code
bfd5717759f757dca1f074dc8b9539e944971a8b7b21f8cb8b41cadece094aaf
#!/usr/bin/env python2 # -*- coding: utf-8 -*- ############################################################################## # # sci.AI EXE # Copyright(C) 2017 sci.AI # # This program is free software: you can redistribute it and / or modify # it under the terms of the GNU Affero General Public License...
Python
validator/__init__.py
sciAI/exe
agpl-3.0
1,545
47
codeparrot/github-code
4d989c47c43bee129b5665f67fc7a1053e237dec76fa9d551eaa125684adecfd
<?php /** * StatusNet, the distributed open-source microblogging tool * * People tags for a user * * PHP version 5 * * LICENCE: 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...
PHP
actions/peopletagsforuser.php
chimo/social
agpl-3.0
5,659
170
codeparrot/github-code
c5d67ff26eb397edfd780f91412d3442d0eed9b71013d72745ad655c7b2412aa
import { Dictionary } from 'lodash' import React, { createContext, Dispatch, useReducer } from 'react' import { IAgent, IHandoff } from '../../../types' import Reducer, { ActionType } from './Reducer' interface StoreType { state: StateType dispatch: Dispatch<ActionType> } export interface StateType { readonly...
TypeScript
modules/hitlnext/src/views/full/studio-sidebar/Store.tsx
botpress/botpress
agpl-3.0
783
31
codeparrot/github-code
912851b4d7b8718706dec3d4cd7d77082d8c670f92261d44cec8a4e566503ac5
/** * This file is part of CERMINE project. * Copyright (c) 2011-2018 ICM-UW * * CERMINE 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
cermine-impl/src/main/java/pl/edu/icm/cermine/metadata/extraction/enhancers/JournalVolumeIssueWithAuthorEnhancer.java
CeON/CERMINE
agpl-3.0
3,371
95
codeparrot/github-code
6b006f2ca6db59fe3327e347bad489a10eefb2ada20afca41b1c8fe565f6c127
/* This file is part of the OdinMS Maple Story Server Copyright (C) 2008 ~ 2010 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 it and/or modify it under the terms of the GNU Affero General Public License ...
Java
src/server/shops/HiredMerchant.java
TMS-v113/server
agpl-3.0
7,273
210
codeparrot/github-code
aa9fef7d95d13deb79e73bf2e867e935c237f737bb690db7fbed3314f93ece41
/* * Copyright (C) 2015 ElectronWill * * 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 d...
Java
src/org/mcphoton/world/ChunkCoordinates.java
MCPhoton/Photon-MC1.8
agpl-3.0
2,413
96
codeparrot/github-code
166b29d5dc01ca5a7c03f5335ea34d4ee5b37c71dcf7fbc21edeb927b8727ce0
/*////////////////////////////////////////////////////////////////// //// SKIRT -- an advanced radiative transfer code //// //// © Astronomical Observatory, Ghent University //// ///////////////////////////////////////////////////////////////// */ #ifndef CYLINDER2DDUSTGRID_HPP #define CYLI...
C++
SKIRTcore/Cylinder2DDustGrid.hpp
SKIRT/SKIRT
agpl-3.0
6,684
148
codeparrot/github-code
e21641d6a605c08e27862f408992b274ce5b3674ca213141f9c5d2bf35961f6d
// Copyright (C) 2004-2021 Artifex Software, Inc. // // This file is part of MuPDF. // // MuPDF 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) // ...
C
source/html/html-doc.c
ccxvii/mupdf
agpl-3.0
9,588
363
codeparrot/github-code
3cc111bda2a7e805c222765a6ff2f4430a2b3c3c89e94929bcf3b65c430e0e27
# -*- coding: utf-8 -*- # This file is part of Mconf-Web, a web application that provides access # to the Mconf webconferencing system. Copyright (C) 2010-2015 Mconf. # # This file is licensed under the Affero General Public License version # 3 or later. See the LICENSE file. # Mostly for space approvals, find the new...
Ruby
app/workers/space_notifications_worker.rb
mconftec/mconf-web-uergs
agpl-3.0
1,839
48
codeparrot/github-code
9fbfc6e3322bbebcde60d8a8de4aabd67066eccc2d5a70682367f4f43e24338d
=begin Camaleon CMS is a content management system Copyright (C) 2015 by Owen Peredo Diaz Email: owenperedo@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...
Ruby
app/controllers/camaleon_controller.rb
sanbiv/camaleon-cms
agpl-3.0
4,087
111
codeparrot/github-code
fcb58ee96784af1530754e40d72ba084b5feb43e18b155e673bbfa5a2957b0e7
<div id="footer" class="container-fluid"> <div class="restricted-max-width"> <div id="footer-spacer" class="col-xs-10 col-xs-offset-1"> <div class="footer-section logo col-xs-12 col-sm-6 col-md-6"> <p> {% set tw = h.get_theme_config('social.tw') %} ...
HTML
ckanext/gobar_theme/templates/footer.html
bishalkc/portal-andino-theme
agpl-3.0
3,805
68
codeparrot/github-code
76d44bbdf5cd252d6803df64a10fe3b166d45ad28bdc0a4caa4bf6cb1f82eb9f
<?php /** * @author Björn Schießle <bjoern@schiessle.org> * @author Joas Schilling <coding@schilljs.com> * @author phisch <git@philippschaffrath.de> * @author Roeland Jago Douma <rullzer@owncloud.com> * @author Vincent Petry <pvince81@owncloud.com> * * @copyright Copyright (c) 2017, ownCloud GmbH * @license AGP...
PHP
lib/private/Share20/DefaultShareProvider.php
jacklicn/owncloud
agpl-3.0
36,374
1,133
codeparrot/github-code
b1ab7887cf2ba840c77e0a31c3b5081cfb63c995322890c2cb74e4bcd4ad6202
/** * Copyright (c) 2011-2013 libwallet developers (see AUTHORS) * * This file is part of libwallet. * * libwallet 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 * Licen...
C++
src/transaction.cpp
BWallet/libwallet
agpl-3.0
2,793
81
codeparrot/github-code
7c73a9ad4e0d0a8fc13810a7e0f1077b3822870310ef1bf45543afe4dafa5b86
package ca.nengo.ui.lib.object.activity; import ca.nengo.ui.AbstractNengo; import ca.nengo.ui.lib.action.StandardAction; import ca.nengo.ui.lib.world.piccolo.WorldObjectImpl; import javax.swing.*; /** * An action which is tracked by the UI. Since tracked actions are slow and have * UI messages associated with them...
Java
nars_gui/src/main/java/ca/nengo/ui/lib/object/activity/TrackedAction.java
printedheart/opennars
agpl-3.0
1,496
68
codeparrot/github-code
79974087f2c287dac6fb2d31fe4cbbd88d633657c4323cf2d68236177ab56339
<?php /************************************************************************ Keosu is an open source CMS for mobile app Copyright (C) 2016 Pockeit 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 Foun...
PHP
src/Keosu/DataModel/PictureModelBundle/Controller/EditController.php
keosuofficial/keosu
agpl-3.0
4,543
147
codeparrot/github-code
b6eb5133891e1ca1b33b56d38352f8207cccd3b619bd652aaa628ba799fbabec
<?php /* @var $this TaskController */ /* @var $model Task */ /* @var $form TbActiveForm */ ?> <?php $form=$this->beginWidget('bootstrap.widgets.TbActiveForm', array( 'id'=>'calendar-task-form', 'enableAjaxValidation'=>false, 'htmlOptions'=>array('onclick'=> 'event.stopPropagation();'), )); ?> <?php // START ec...
PHP
linxone-beta/protected/modules/lbProject/views/task/popover_schedule.php
LinxHQ/linxbooks
agpl-3.0
1,594
47
codeparrot/github-code
8d33b9eff8ab94c0fa2adc37a56b7c6c1e08e9405c9ce88c6483a15268865d22
<?php if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point'); /********************************************************************************* * SugarCRM is a customer relationship management program developed by * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. * * This program is free so...
PHP
include/utils/external_cache/SugarCache_Zend.php
yinhm/sugarcrm
agpl-3.0
3,386
87
codeparrot/github-code
738872d130d89dfca4c140bb59e175e819e84309b3ba4ba0dfac41b15acc8792
/* * PetTrickCommand.h * * Created on: Dec 18, 2013 * Author: TheAnswer */ #ifndef PETTRICKCOMMAND_H_ #define PETTRICKCOMMAND_H_ #include "server/zone/objects/creature/commands/QueueCommand.h" #include "server/zone/objects/scene/SceneObject.h" #include "server/zone/objects/creature/ai/AiAgent.h...
C
MMOCoreORB/src/server/zone/objects/creature/commands/pet/PetTrickCommand.h
Tatwi/legend-of-hondo
agpl-3.0
4,429
124
codeparrot/github-code
e34bf444f9d70c668c0fdd25436e85f0c430b3acded4e1d03e450af26f279385
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package com.feezixlabs.util; import java.io.*; /** * * @author bitlooter */ public class FileSystem extends File { static final java.text.DateFormat dateFormat = new java.text.SimpleDateFormat("MM-dd-yyyy"); ...
Java
src/java/com/feezixlabs/util/FileSystem.java
apnadmin/appynotebook
agpl-3.0
4,113
127
codeparrot/github-code
14333e95e254ba2e69d5ed35616260995ed349b26474172db4f11a58afda847e
using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using SSCMS.Core.Utils; namespace SSCMS.Web.Controllers.Admin.Settings.Sites { public partial class SitesController { [HttpGet, Route(Route)] public async Task<ActionResult<GetResult>> Get() { if (!await _authMan...
C#
src/SSCMS.Web/Controllers/Admin/Settings/Sites/SitesController.Get.cs
siteserver/cms
agpl-3.0
1,997
58
codeparrot/github-code
689f4f8b1e5c42027e2036baa04ea6189120ef03f237aa8d95ee86660512a77d
'use strict'; // Load modules const i18n = require('../services/i18n'); const fs = require('fs'); var dateFormat = require('dateformat'); const Remarkable = require('remarkable'); const path = require('path'); const logger = require('../services/logger'); const config = require('../config/config'); const _ = require('...
JavaScript
src/server/services/helpers.js
BreakOutEvent/breakout-frontend
agpl-3.0
12,021
470
codeparrot/github-code
28e818299377ca2b05499c7de4460a48c330a55dbc969eed792d3d754ac5a600
#!/usr/bin/python #-*- coding: utf-8 -*- ########################################################### # © 2011 Daniel 'grindhold' Brendle and Team # # This file is part of Skarphed. # # Skarphed is free software: you can redistribute it and/or # modify it under the terms of the GNU Affero General Public License # as ...
Python
admin/installer/debian7_nginx/__init__.py
skarphed/skarphed
agpl-3.0
6,231
173
codeparrot/github-code
17a83a037b7be02217c7b71f66fb69c1f42f6506bfdbcdb02db38f74ea2f1064
--[[-- Image rendering module. ]] local ffi = require("ffi") local Device = require("device") local logger = require("logger") -- Will be loaded when needed local Mupdf = nil local Pic = nil local RenderImage = {} --- Renders image file as a BlitBuffer with the best renderer -- -- @string filename image file path -...
Lua
frontend/ui/renderimage.lua
lgeek/koreader
agpl-3.0
7,097
196
codeparrot/github-code
8669247a7c80979e5c533428e1036f013a93526cbe19cd71b76a022224deb3b0
define(function(require) { 'use strict'; var _ = require('underscore'); var PIXI = require('pixi'); var ArrowView = require('common/v3/pixi/view/arrow'); var Constants = require('constants'); var EFieldDetectorArrowView = ArrowView.extend({ initialize: function(options) { ...
JavaScript
capacitor-lab/src/js/views/e-field-detector-arrow.js
Connexions/simulations
agpl-3.0
3,929
149
codeparrot/github-code
61147c31d6f283d93a3eeb356bee075e25532e1dc7709058aa329ea113281525
import * as R from 'ramda'; import { getPatchPath } from 'xod-project'; import { isAmong } from 'xod-func-tools'; import { def } from './types'; import { CHANGE_TYPES } from './constants'; const isEqualPatchPaths = def( 'isEqualPatchPaths :: Patch -> Patch -> Boolean', R.useWith(R.equals, [getPatchPath, getPatchP...
JavaScript
packages/xod-fs/src/patchDiff.js
xodio/xod
agpl-3.0
1,762
66
codeparrot/github-code
5c4c241b30db1ffaa6ca889ff4f0183d0f2a43de79667973ecc30d23d330d027
DELETE FROM `weenie` WHERE `class_Id` = 619; INSERT INTO `weenie` (`class_Id`, `class_Name`, `type`, `last_Modified`) VALUES (619, 'zombierevenant', 10, '2019-02-10 00:00:00') /* Creature */; INSERT INTO `weenie_properties_int` (`object_Id`, `type`, `value`) VALUES (619, 1, 16) /* ItemType - Creature */ ...
SQL
Database/3-Core/9 WeenieDefaults/SQL/Creature/Undead/00619 Revenant.sql
LtRipley36706/ACE-World
agpl-3.0
47,373
514
codeparrot/github-code
61131657ad975186926b5b19f8d90621d9e21dba1b64188e9767a4f0cead84af
import 'mad/model/model'; import 'mad/model/serializer/cake_serializer'; /** * @inherits {mad.Model} * @parent index * * The GroupUser model * * @constructor * Creates a groupUser * @param {array} options * @return {passbolt.model.GroupUser} */ var GroupUser = passbolt.model.GroupUser = mad.Model.extend('pa...
JavaScript
app/webroot/js/app/model/group_user.js
et304383/passbolt_api
agpl-3.0
3,555
140
codeparrot/github-code
4853db0a9070154958d1e3d7280296b0e44dd274403a1ecda341b01b54c4f745
<?php /** * * SugarCRM Community Edition is a customer relationship management program developed by * SugarCRM, Inc. Copyright (C) 2004-2013 SugarCRM Inc. * * SuiteCRM is an extension to SugarCRM Community Edition developed by SalesAgility Ltd. * Copyright (C) 2011 - 2018 SalesAgility Ltd. * * This program is f...
PHP
modules/AOW_Actions/actions/actionComputeField.php
willrennie/SuiteCRM
agpl-3.0
26,137
783
codeparrot/github-code
7401bae68a15427e93b777684d3069ac540d880527733f1ae2f13d315dc2839f
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package automenta.spacegraph.ui; import automenta.spacegraph.Surface; import automenta.spacegraph.control.Pointer; import automenta.spacegraph.math.linalg.Vec3f; import automenta.spacegraph.shape.Drawable; import com.jo...
Java
nars_lab/src/main/java/automenta/spacegraph/ui/PointerLayer.java
printedheart/opennars
agpl-3.0
2,542
90
codeparrot/github-code
900114b7bd1f99c57ae2c192e397d8947b738d8d414058a47814e903d5369688
<?php /* * This file is part of FacturaSctipts * Copyright (C) 2014-2015 Carlos Garcia Gomez neorazorx@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...
PHP
model/grupo_clientes.php
CruzeroGroup2/facturacion_base
agpl-3.0
4,064
145
codeparrot/github-code
41aacde2292f948f56269e44f5208bf0cb0022ca086397a1465ea195f6a850a1
/* XOWA: the XOWA Offline Wiki Application Copyright (C) 2012 gnosygnu@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 ...
Java
dev/400_xowa/src/gplx/xowa/xtns/gallery/Gallery_itm_parser_tst.java
crosslink/xowa
agpl-3.0
7,202
113
codeparrot/github-code
78afda38ec7452a75ec0be59f91a448eb5c8fe017ac832b83518b979b267a68f
// Xiongxiong // Bearer token codec // AGPLv3 or later // Copyright (c) 2014, 2015 Genome Research Limited var crypto = require('crypto'); module.exports = function(/* privateKey, lifetime, algorithm OR hash */) { var privateKey, lifetime, algorithm, xiongxiong; // Parse arguments if (arguments.length) ...
JavaScript
index.js
wtsi-hgi/xiongxiong
agpl-3.0
5,003
164
codeparrot/github-code
544ef0a16e9acad3d1217a6063653c15b6e0db59318c320f53a25160e328ffd4
/** * Copyright (C) 2001-2017 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/operator/learner/functions/kernel/jmysvm/svm/SVM.java
boob-sbcm/3838438
agpl-3.0
36,219
1,451
codeparrot/github-code
f06ed39adf91d656e00d271aed488795fa4e1b9bc132bceded334079612ba2d2
<!doctype html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <title>{{title}}</title> <meta name="description" content="KoBoToolbox is a free toolkit for collecting and managing data in challenging environments and is the most widely-used tool in ...
HTML
kpi/templates/index.html
kobotoolbox/kpi
agpl-3.0
3,503
88
codeparrot/github-code
ebc05fec6f011f6e7fbf09d00f1d4610eb7b979cb3a2fe6144c40b92892de2b1
/* * Copyright (C) 2017 Cojen.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 progra...
Java
src/main/java/org/cojen/tupl/repl/SnapshotScore.java
cojen/Tupl
agpl-3.0
1,488
53
codeparrot/github-code
35abeea11450f8e766b6e2c8c7510df00aa835f7dfc64167215ffa567db71a8a
/* * Copyright 2011 Witoslaw Koczewsi <wi@koczewski.de>, Artjom Kochtchi * * 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 l...
Java
WEB-INF/classes/scrum/server/collaboration/CommentDao.java
MiguelSMendoza/Kunagi
agpl-3.0
2,317
78
codeparrot/github-code
580ce5d60a3d3d92c7fc2faf4c1f2791dd35842b45f27b7910731fba42fa6d42
<!DOCTYPE html> <html lang="en" > <head> <title>About Theacher - 2017Spring 協同產品設計實習 40439221</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-width, initial-scale=1.0"> ...
HTML
blog/category/about-theacher.html
40439221/2017springcd_hw
agpl-3.0
21,490
434
codeparrot/github-code
6607e1adb0fa833ccd43c094cf77a37d89bfa46042d6d143b8247530448d4d44
//{block name="backend/create_backend_order/controller/main"} // Ext.define('Shopware.apps.SwagBackendOrder.controller.Main', { /** * extends from the standard ExtJs Controller */ extend: 'Ext.app.Controller', snippets: { error: { customer: '{s namespace="backend/swag_backend...
JavaScript
engine/Shopware/Plugins/Default/Backend/SwagBackendOrder/Views/backend/swag_backend_order/controller/main.js
GerDner/luck-docker
agpl-3.0
30,375
837
codeparrot/github-code
994ac35b5c75aa770e04222509ebe4af6d6a8f2416f6e05a2892e5a4328e2148
OC.L10N.register( "files_sharing", { "Server to server sharing is not enabled on this server" : "Ο διαμοιρασμός μεταξύ διακομιστών δεν έχει ενεργοποιηθεί σε αυτόν το διακομιστή", "The mountpoint name contains invalid characters." : "Το όνομα σημείου προσάρτησης περιέχει μη έγκυρους χαρακτήρες.", "No...
JavaScript
apps/files_sharing/l10n/el.js
jacklicn/owncloud
agpl-3.0
9,658
119
codeparrot/github-code
4abf65815200a0d32d7493ff5a7513e76876d7f4d65cadcb188d882e1fd98d84
<?php declare(strict_types=1); /** * @copyright Copyright (c) 2020 Joas Schilling <coding@schilljs.com> * * @author Joas Schilling <coding@schilljs.com> * * @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...
PHP
apps/federatedfilesharing/lib/Migration/Version1010Date20200630191755.php
andreas-p/nextcloud-server
agpl-3.0
1,861
60
codeparrot/github-code
78eda142cb8f6acece9dd7a770cd645a2e130c03496b3174c398dc8ed8d48b14
<?php /* * This file is part of FacturaSctipts * Copyright (C) 2013-2015 Carlos Garcia Gomez neorazorx@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...
PHP
plugins/modificaciones_facturacion/model/cotizacion_proveedor.php
arielopez/test2
agpl-3.0
24,385
772
codeparrot/github-code
0edae6496ff80f1276534ce70550a7066f5e98723c965bda352ba6cf9db7c765
o2.xApplication.ConfigDesigner.options = { "multitask": true, "executable": false }; o2.xDesktop.requireApp("ConfigDesigner", "Script", null, false); o2.require("o2.xDesktop.UserData", null, false); o2.xApplication.ConfigDesigner.Main = new Class({ Extends: o2.xApplication.Common.Main, Implements: [Opti...
JavaScript
o2web/source/x_component_ConfigDesigner/Main.js
o2oa/o2oa
agpl-3.0
31,320
763
codeparrot/github-code
7a530aab91270f11b31290bc258aa3138e655c045069db799ebca824aa0d7183
/* * 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-web/src/main/java/org/silverpeas/core/web/util/viewgenerator/html/tabs/TabbedPaneTag.java
SilverDav/Silverpeas-Core
agpl-3.0
2,236
59
codeparrot/github-code
5e72d972ceb7fea01c85548eff2cb33a0308e9467892725aaef9423820a81141
define(function(require) { 'use strict'; var _ = require('underscore'); var PIXI = require('pixi'); var PixiView = require('common/v3/pixi/view'); var Colors = require('common/colors/colors'); var Vector2 = require('common/math/vector2'); var Constants = require('constants'); ...
JavaScript
geometric-optics/src/js/views/rays.js
Connexions/simulations
agpl-3.0
15,136
372
codeparrot/github-code
38148d58a4cce5625b6cb5f9c7c3125c96cc359e7b38a505c0b6e931fd3e4cfe
<?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
cosmogramme/php/integre_analyse_fichier_valeurs_distinctes.php
lolgzs/opacce
agpl-3.0
10,479
283
codeparrot/github-code
a1e778475d06fb842d4d9fd094960a80fdd3e030885ca9ef6e9728f8fc943219
function P(x, y) { return { x: x, y: y }; } function MapAnimFactory(type, args) { let func = null, glitched = false, origArgs = [...args]; switch(type) { case "sw": func = StandardWalk; break; case "dw": func = DiffWalk; break; case "as": func = AnimSeries; break; case "ds": func...
JavaScript
js/animation/mapAnims.js
HauntedBees/Farming-Fantasy
agpl-3.0
20,858
386
codeparrot/github-code
98e803c487e7e14302f16814c65efef03bcbf8652e49e11949bf7e7f70de06c2
/** * This file is part of the TA Buddy project. * Copyright (c) 2014-2015 Alexey Aksenov ezh@ezh.msk.ru * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU Affero General Global License version 3 * as published by the Free Software Foundation with the addition...
Scala
part-logic/src/main/scala/org/digimead/tabuddy/desktop/logic/payload/marker/serialization/encryption/XOR.scala
digimead/digi-TABuddy-desktop
agpl-3.0
7,036
164
codeparrot/github-code
65bb5211a374343ee93e46b9b54f4ecfe0b96079ba2221561945e616fcc70338
/* * ################################################################ * * ProActive Parallel Suite(TM): The Java(TM) library for * Parallel, Distributed, Multi-Core Computing for * Enterprise Grids & Clouds * * Copyright (C) 1997-2012 INRIA/University of * Nice-Sophia Antipolis/ActiveEon ...
Java
src/Extensions/org/objectweb/proactive/extensions/calcium/statistics/Timer.java
nmpgaspar/PainlessProActive
agpl-3.0
3,690
135
codeparrot/github-code
75442222c7ce7b1009a53098bb431b0d48968a378eb9c0be157271c99858d4ce
# Copyright 2018 ACSONE SA/NV # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). from odoo import _, fields, models class ResPartner(models.Model): _inherit = "res.partner" _allowed_inactive_link_models = ["res.partner"] _inactive_cascade = True sta_mandate_ids = fields.One2many( ...
Python
mozaik_mandate/models/res_partner.py
mozaik-association/mozaik
agpl-3.0
3,660
113
codeparrot/github-code
960504b362e33c49976a7d34404c61c44050da50af7b702daa574cdbfa95caac
// Copyright 2013 Canonical Ltd. // Licensed under the AGPLv3, see LICENCE file for details. package main import ( "fmt" "os" "github.com/juju/cmd" "github.com/juju/names" "gopkg.in/juju/charm.v4" "launchpad.net/gnuflag" "github.com/juju/juju/cmd/envcmd" "github.com/juju/juju/environs/config" ) // UpgradeC...
GO
cmd/juju/upgradecharm.go
jrwren/juju
agpl-3.0
5,126
169
codeparrot/github-code
cb48e4749b727daa3aed87400b3c5fb815e59393076863517135327eb18fc767
/* * This file is part of the PDF Split And Merge source code * Created on 21/ago/2014 * Copyright 2017 by Sober Lemur S.a.s. di Vacondio Andrea (info@pdfsam.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 * publish...
Java
pdfsam-gui/src/test/java/org/pdfsam/ui/info/KeywordsTabTest.java
torakiki/pdfsam
agpl-3.0
3,776
86
codeparrot/github-code
58f013b3d79351d25dcf7f650d909e5b4b8c40cf673d90b9baf313143de25905
/* This file is part of the Palabos library. * * Copyright (C) 2011-2017 FlowKit Sarl * Route d'Oron 2 * 1010 Lausanne, Switzerland * E-mail contact: contact@flowkit.com * * The most recent release of Palabos can be downloaded at * <http://www.palabos.org/> * * The library Palabos is free software: you can r...
C++
jlabos/src/plbWrapper/lattice/bcWrapper2D.hh
gladk/palabos
agpl-3.0
2,765
89
codeparrot/github-code
e864ef375e58c1955e8c78905e8f54a279969803c033902a5136b14edbc6e4a4
/** * This file is part of mycollab-dao. * * mycollab-dao 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. * * mycollab-dao is d...
Java
mycollab-dao/src/main/java/com/esofthead/mycollab/core/db/query/SearchFieldInfo.java
uniteddiversity/mycollab
agpl-3.0
2,028
92
codeparrot/github-code
3d66f6f57afa82bfb9c66ff7aede1596037b695e184b845d219ddcd84cc6ae10
<?php namespace CommonBundle\Component\FlashMessenger; class FlashMessage { const ERROR = 'danger'; const WARNING = 'warning'; const SUCCESS = 'success'; const NOTICE = 'info'; /** * @var string The FlashMessage's type */ private $type = ''; /** * @var string The FlashMess...
PHP
module/CommonBundle/Component/FlashMessenger/FlashMessage.php
LitusProject/Litus
agpl-3.0
1,138
63
codeparrot/github-code
8f20a58b857539b31a80d46116eb8b7f7fe1f447a578e657ebee6a1ed393a96e
<?php /** * * @file identify.php * @author Nils Laumaillé * @version 2.1.23 * @copyright (c) 2009-2015 Nils Laumaillé * @licensing GNU AFFERO GPL 3.0 * @link http://www.teampass.net * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WAR...
PHP
sources/identify.php
GPCsolutions/TeamPass
agpl-3.0
27,112
634
codeparrot/github-code
4d8318faf4d68a65a42c42dbbbb0caee5329804be0b53a1d8b5f979918e27945
<html><head><title>NBAÊý¾Ý¿â</title> <meta http-equiv="Content-Type" content="text/html; charset=gb2312"> <meta name="keywords" content="NBA,NBAÖ±²¥,Ö±²¥,Ò¦Ã÷,¼¼Êõͳ¼Æ,»ð¼ý,ºþÈË,ÈÈ»ð,¿Æ±È,°ÂÄá¶û,³£¹æÈü,NBA³£¹æÈü,¼¾ºóÈü,NBA¼¾ºóÈü,×ܾöÈü,NBA×ܾöÈü,¼¾Ç°Èü,NBA¼¾Ç°Èü,Èü³Ì,Ò×½¨Áª,ÐÛ¹,NBAÅÅÃû,ÅÅÃû,NBAÈü³Ì,ת»á,½»Ò×,ǩԼ,Çò...
HTML
match/scores/2011/12/70.html
MrLpk/nba
agpl-3.0
35,899
682
codeparrot/github-code
c6203bfc96a0b971153b98411241ac9db8ac422691b32d0e6ce5bbc71daf3802
package net.lospi.mogreet.core; import org.testng.annotations.BeforeMethod; import org.testng.annotations.Test; import static org.hamcrest.CoreMatchers.is; import static org.hamcrest.CoreMatchers.notNullValue; import static org.junit.Assert.assertThat; public class SendRequestTest { private String from; priv...
Java
mogreet/src/test/java/net/lospi/mogreet/core/SendRequestTest.java
JLospinoso/dailyc
agpl-3.0
1,993
68
codeparrot/github-code
62d034fb5a4405ed6f4fb6dbf4ff2736e904f74c6874e6bd96be3be71eae434c
/* * Copyright (c) 2006-2007 University of Utah and the Flux Group. * * {{{EMULAB-LICENSE * * This file is part of the Emulab network testbed software. * * This file 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 Fr...
Java
www/wireless-stats/src/DatasetModel.java
nmc-probe/emulab-nome
agpl-3.0
4,759
147
codeparrot/github-code
cd5c07d00929e6456fd4b107df04a315d3d7ef9c371ee22e4de057ecb25a5f45
/*Copyright (C) 2014 JD Software, 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 of the License, or (at your option) any later version. This prog...
Java
jdsurvey-core/src/main/java/com/jd/survey/dao/settings/InvitationDAOImpl.java
pku1001210910/JDeSurvey
agpl-3.0
5,161
186
codeparrot/github-code
4edd0836ff818ac9a6b970d7bd2a3d51c25368d767fbe46ede3c5df0592ab8b5
#include "frequency_meter.hh" #include <essentia/algorithm.h> #include <essentia/algorithmfactory.h> #include <QDebug> namespace Decomposer { struct FrequencyMeter::Private { std::vector<essentia::Real> input; std::vector<essentia::Real> filtered; essentia::Real frequency, confidence; std::unique_ptr<essentia:...
C++
guitar_tuner/frequency_meter.cc
maciekgajewski/decomposer
agpl-3.0
2,548
124
codeparrot/github-code
586d619d4ba586bff2ea218cfa924c6c6d33e588602951511683980e0a200742
# Copyright 2021 Alfredo de la Fuente - AvanzOSC # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). from odoo import models, fields, api class AccountGroup(models.Model): _inherit = 'account.group' length_account = fields.Integer( string='Length account', compute='_compute_length_a...
Python
account_headquarter/models/account_group.py
avanzosc/odoo-addons
agpl-3.0
1,098
32
codeparrot/github-code
38357fe1dd9042c92572c9f02f635e1622ddb778e4efe7939a1499aba00e245d
/* This file is part of Aaron Rest Server. Aaron Rest Server 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. Aaron Rest Server is ...
JavaScript
routes/permissions.js
ldbib/aaron-rest-server
agpl-3.0
3,450
106
codeparrot/github-code
fcfea012ec4445349854d7fb67eea48787526c7a031deadd78e7d52093953095
<%namespace name='static' file='/static_content.html'/> <%! from django.utils.translation import ugettext as _ from django.template.defaultfilters import escapejs %> ## The JS for this is defined in xqa_interface.html ${block_content} %if 'detached' not in tags: % if edit_link: <div> <a href="${edit_link}">Ed...
HTML
lms/templates/staff_problem_info.html
tanmaykm/edx-platform
agpl-3.0
5,292
151
codeparrot/github-code
5ceca79a91c989883191867e30d01ea83635cf00dd4b2d498f8f6b932034122d
# -*- coding: utf-8 -*- # (c) 2016 Alfredo de la Fuente - AvanzOSC # License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html from openerp import fields, models, api from openerp.addons.event_track_assistant._common import\ _convert_to_utc_date, _convert_to_local_date, _convert_time_to_float date2string = fi...
Python
sale_order_create_event_hour/wizard/wiz_event_append_assistant.py
avanzosc/event-wip
agpl-3.0
3,966
93
codeparrot/github-code
b5319e71eab1148a8634f1f587b66d8a22eeb841bea866bdaee77f96cc2f9b9f
# -*- coding: utf-8 -*- # @copyright (C) 2014-2015 #Developpeurs 'BARDOU AUGUSTIN - BREZILLON ANTOINE - EUZEN DAVID - FRANCOIS SEBASTIEN - JOUNEAU NICOLAS - KIBEYA AISHA - LE CONG SEBASTIEN - # MAGREZ VALENTIN - NGASSAM NOUMI PAOLA JOVANY - OUHAMMOUCH SALMA - RIAND MORGAN - TREIMOLEIRO ALEX - TRULLA AUREL...
Python
ehop/ehopSolidaire_providers_register/forms.py
ehopsolidaires/ehop-solidaires.fr
agpl-3.0
10,906
242
codeparrot/github-code
1735e42581e00b961163a0bc4ed9f1d16805bb0acd40d92d0eb65519741165f9
# ---------------------------------------------------------------------- # Numenta Platform for Intelligent Computing (NuPIC) # Copyright (C) 2013, Numenta, Inc. Unless you have an agreement # with Numenta, Inc., for a separate license for this software code, the # following terms and conditions apply: # # This progra...
Python
src/nupic/frameworks/opf/metrics.py
runt18/nupic
agpl-3.0
54,801
1,558
codeparrot/github-code
09eb0fede29391a6ca1db65308814717ef9beeb453888849834f21c4a2c6643f
local InfoMessage = require("ui/widget/infomessage") local InputContainer = require("ui/widget/container/inputcontainer") local InputDialog = require("ui/widget/inputdialog") local MultiInputDialog = require("ui/widget/multiinputdialog") local ConfirmBox = require("ui/widget/confirmbox") local CenterContainer = require...
Lua
frontend/apps/filemanager/filemanagersetdefaults.lua
NickSavage/koreader
agpl-3.0
12,932
346
codeparrot/github-code
355dc78e25913ce3dc79ffe27e0b928038c51d5a84ec57705f3cca508ea3aaa0
package ingswii.quizpro.biz.vo.ram; import java.io.Serializable; import java.util.List; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.JoinColumn; import javax.pers...
Java
src/ingswii/quizpro/biz/vo/ram/Convocatoria.java
alejandro-du/quizpro
agpl-3.0
3,290
143
codeparrot/github-code
88c217db62e1216a34134ec5c8442c0e61cc09dc6b307967289d051ef3c6dc86
<?php namespace App\Jobs\Dav; use App\Models\User\User; use Illuminate\Support\Arr; use Illuminate\Bus\Batchable; use Illuminate\Bus\Queueable; use App\Services\VCard\GetEtag; use App\Services\VCard\ImportVCard; use Illuminate\Support\Facades\Log; use Illuminate\Queue\SerializesModels; use Illuminate\Queue\InteractsW...
PHP
app/Jobs/Dav/UpdateVCard.php
monicahq/monica
agpl-3.0
3,786
128
codeparrot/github-code
1c16889e08e20b57bac1382978b16a682cce7553b0a550b54b135d7e0a294cad
/* * Copyright (c) 2016 BreizhCamp * [http://breizhcamp.org] * * This file is part of CFP.io. * * CFP.io 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 (a...
Java
src/test/java/io/cfp/multitenant/TenantFilterTest.java
cfpio/callForPapers
agpl-3.0
2,165
67
codeparrot/github-code
324dd0746cf94187569db276445f3cb813f8fdafeb4877c2a00022abdd4bb819
/**************************************************************************** * * (c) 2009-2020 QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org> * * QGroundControl is licensed according to the terms in the file * COPYING.md in the root of the source code directory. * ********************************...
C++
src/LogCompressor.cc
Hunter522/qgroundcontrol
agpl-3.0
7,339
219
codeparrot/github-code
891576c6fc72ccf3cdcf70803ba85c9e62a39ddc145bc03396adb6c153469f52
import datetime from django.db.models import Q from django.http import HttpResponse, HttpResponseServerError, Http404, HttpResponseNotFound, HttpResponseRedirect from django.shortcuts import render_to_response, get_object_or_404 from django.core.urlresolvers import reverse from django.contrib.auth.models import User f...
Python
django_rea/board/views.py
django-rea/nrp
agpl-3.0
46,450
941
codeparrot/github-code
38496db2c76797257e275d6736e604e6bac393bfb15b923075de6623ca43025a
import { Injectable } from '@angular/core'; import { CanActivate, ActivatedRouteSnapshot, RouterStateSnapshot } from '@angular/router'; import { Observable } from 'rxjs'; import { BehaviorSubject } from 'rxjs'; import { AppLocalization } from '@kaltura-ng/mc-shared'; import { AppAuthentication } from './app-authenticat...
TypeScript
src/shared/kmc-shell/auth/app-bootstrap.service.ts
kaltura/kmc-ng
agpl-3.0
4,598
114
codeparrot/github-code
1832b14c3c00c2590992036b271e640ace223b2dd20934cc8a3a794691419031
/** * Axelor Business Solutions * * Copyright (C) 2016 Axelor (<http://axelor.com>). * * 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 program is distribute...
Java
axelor-account/src/main/java/com/axelor/apps/account/service/bankorder/BankOrderCreateService.java
jph-axelor/axelor-business-suite
agpl-3.0
5,327
159
codeparrot/github-code
3cb6823738b4d5c81f3c6a1f511be5ade22135d33e51502c985fd6b61adb9cb2
use std::rc::Rc; use std::cell::RefCell; use std::net::SocketAddr; use std::collections::HashMap; use mio::net::TcpStream; use sozu_command::proxy::{self, LoadBalancingAlgorithms}; use super::{AppId,Backend,ConnectionError,load_balancing::*}; use server::push_event; #[derive(Debug)] pub struct BackendMap { pub bac...
Rust
lib/src/backends.rs
sozu-proxy/sozu
agpl-3.0
12,254
349
codeparrot/github-code
d4285ae042d3c58510e8a6c97148ad9f8875147a4a215ffd59309d7b6acc5f73
OC.L10N.register( "files", { "Storage is temporarily not available" : "Lagring är tillfälligt inte tillgänglig", "Storage invalid" : "Lagring ogiltig", "Unknown error" : "Okänt fel", "File could not be found" : "Fil kunde inte hittas", "Move or copy" : "Flytta eller kopiera", "Download" ...
JavaScript
apps/files/l10n/sv.js
andreas-p/nextcloud-server
agpl-3.0
15,039
206
codeparrot/github-code
ba6967bfe05cfca81a72671f7ba0d6bec045528b823b7855fc8d30309abc8916
function mainPlayer() { this.x = 100; this.y = 200; this.d = "u"; // "d", "l", "r", and combinations? this.sword = false; this.walking = false; this.bomb = false; this.bow = false; this.keyFrameRow = 0; this.keyFrame = 0; this.keyFrameN = 4; this.updateFrameN = 2; this.updateFrameDelay = 0; ...
JavaScript
html/js/game/.save/cp3/main_player.js
abetusk/dolor
agpl-3.0
14,224
672
codeparrot/github-code
03deddc9bb503c5fd229b5833bce1c6769c7e64dc7e7d96a8cbcfa136b94bdb4
$(document).ready(function() { // Hide GNU-cat $('#loading').hide(); // jQuery cycle plugin usage for screenshot slideshow $('.slideshow').cycle({ fx: 'fade', speed: 1000, timeout: 6000, }); // Show GNU-cat when the submit button is pressed $('input#submit'...
JavaScript
charsheet/static/js/home.js
FOSSRIT/charsheet
agpl-3.0
1,178
39
codeparrot/github-code
86f8a5137b27498f640dc59c9cda1f2d0fa58072b67828189603abe75dc1aa8b
package com.x.processplatform.assemble.surface.jaxrs.attachment; import com.x.base.core.container.EntityManagerContainer; import com.x.base.core.container.factory.EntityManagerContainerFactory; import com.x.base.core.project.Applications; import com.x.base.core.project.x_processplatform_service_processing; import com....
Java
o2server/x_processplatform_assemble_surface/src/main/java/com/x/processplatform/assemble/surface/jaxrs/attachment/ActionDeleteWithWorkCompleted.java
o2oa/o2oa
agpl-3.0
2,525
61
codeparrot/github-code
515ff4a0a7f280455a5ca08ef742cc7dcad2fb4ec4f72a9dd4a64bfec2cb53ee
<?php /** * Nooku Framework - http://www.nooku.org * * @copyright Copyright (C) 2011 - 2017 Johan Janssens and Timble CVBA. (http://www.timble.net) * @license GNU AGPLv3 <https://www.gnu.org/licenses/agpl.html> * @link https://github.com/timble/openpolice-platform */ use Nooku\Library; /** * Tag Controller ...
PHP
application/site/component/tags/controller/tag.php
timble/openpolice-platform
agpl-3.0
1,504
58
codeparrot/github-code
149d6f59ec4f0f1ec0fb79241592796a7f760ba381eb93609c2c65ffc552e3f8
(function($){ $.fn.extend({ renderChart: function() { return this.each(function() { var $chart = $(this); if ($chart.children().length > 0) return; var data = $.parseJSON($chart.html()); var saveHTML = $chart.html(); $chart.html('').show().parent(); ...
JavaScript
public/javascripts/src/fluxx.visualizations.js
ritchiea/fluxx_engine
agpl-3.0
3,923
117
codeparrot/github-code
906a60b45a8fc906e615216c363ab17f6573e6afa0297e7610c0772fe499a608
/* Copyright (c) 2016 eyeOS This file is part of Open365. Open365 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 ver...
JavaScript
keymaps/keymap.js
Open365/spice-web-client
agpl-3.0
6,798
194
codeparrot/github-code
f2f896e8961b9e7f170c355e645df7341289d7bcd36718f6000a8a04e6f75080
/** * Copyright 2013-2019 GenieACS Inc. * * This file is part of GenieACS. * * GenieACS 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) an...
TypeScript
lib/xml-parser.ts
zaidka/genieacs
agpl-3.0
9,904
361
codeparrot/github-code
68a7afcabb60d5ff5eae9e7668978b5eff219640d32129cd6870461f612f68aa
<!DOCTYPE html> <html lang="en" > <head> <title>2017/03/01 W2 - 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-width, initial-scale=1.0"> ...
HTML
blog/Week 2.html
40423236/2017springcd_bg5
agpl-3.0
14,402
323
codeparrot/github-code
3167564e8ff4e35e90a3a55aa47bae2beb9acc22eef7b46cf7c419cc57c47a76
package org.bimserver.database.actions; /****************************************************************************** * 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 * published by...
Java
BimServer/src/org/bimserver/database/actions/GetSerializerByContentTypeDatabaseAction.java
opensourceBIM/BIMserver
agpl-3.0
4,342
85
codeparrot/github-code
c81916c3f1c9ab0478495148480f40d8b38a374f88d112c440b331024cfd000d
/* * Copyright (C) 2012-2022 Online-Go.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 pr...
TypeScript
src/views/SignIn/SignIn.tsx
online-go/online-go.com
agpl-3.0
9,212
256
codeparrot/github-code