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
7f7f38c606ff9e4e2dc68bb5947756d89b07aa51dc0d8aa65b93d25d384e13af
/* The Conflict of Interest (COI) module of Kuali Research Copyright © 2005-2016 Kuali, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your ...
JavaScript
test/test-utils.js
kuali/research-coi
agpl-3.0
5,481
219
codeparrot/github-code
0714436fb0ea2400fa0740dc1be30159041c8f5a35f792817f111a1dc77f6c41
#!/usr/bin/python """ Copyright 2012 Paul Willworth <ioscode@gmail.com> This file is part of Galaxy Harvester. Galaxy Harvester 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 th...
Python
waypointMaps.py
clreinki/GalaxyHarvester
agpl-3.0
2,719
101
codeparrot/github-code
e3573b171d09cbce38a0cc2bdc96f9df0340686b4cb61eeb55eda43f4a8a5a83
<?php namespace PlentyConnector\Connector\IdentityService; use Assert\Assertion; use PlentyConnector\Connector\IdentityService\Exception\NotFoundException; use PlentyConnector\Connector\IdentityService\Storage\IdentityStorageInterface; use PlentyConnector\Connector\ValidatorService\ValidatorServiceInterface; use Plen...
PHP
Connector/IdentityService/IdentityService.php
jochenmanz/plentymarkets-shopware-connector
agpl-3.0
5,023
199
codeparrot/github-code
e938ebe955dc8eac757a63f4ae0ce5dd4d3be7e804f22f4dafa43741c6debcd2
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <!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> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>Writi...
HTML
docs/articles/inmemory/C/index.html
hyc/BerkeleyDB
agpl-3.0
56,624
1,326
codeparrot/github-code
ad4942ba0b9ea60769ea1787a777e7e5ad06bb5fc528347e0039f74f23917d3b
<?php /* * @author Anakeen * @license http://www.fsf.org/licensing/licenses/agpl-3.0.html GNU Affero General Public License * @package FDL */ /** * generate interface for the rdition of document * * @author Anakeen 2003 * @version $Id: editcard.php,v 1.76 2008/11/10 16:53:06 eric Exp $ * @license http://www.fsf...
PHP
Zone/Fdl/editcard.php
Eric-Brison/dynacase-core
agpl-3.0
8,796
259
codeparrot/github-code
c3ccdc6daccb6edc60168d903828473e3a295d582b77cfcc2261ea631ae1acd5
package org.geomajas.layer.geotools; import java.io.IOException; import java.io.Serializable; import java.util.List; import java.util.Map; import org.geotools.data.AbstractDataStoreFactory; import org.geotools.data.DataStore; import org.geotools.data.store.ContentDataStore; import org.geotools.data.store.ContentEntry...
Java
plugin/layer-geotools/geotools/src/test/java/org/geomajas/layer/geotools/DummyJdbcFactory.java
geomajas/geomajas-project-server
agpl-3.0
1,533
54
codeparrot/github-code
d9a476e304d16b969608b6daa739f28e5bb54adc74667ea3f6ac7ef9dabff253
/** * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved. * * This library is free software; you can redistribute it and/or modify it under * the terms of the GNU Lesser General Public License as published by the Free * Software Foundation; either version 2.1 of the License, or (at your option) * any later...
Java
portlets/opencps-portlet/docroot/WEB-INF/service/org/opencps/processmgt/NoSuchProcessStepDossierPartException.java
hltn/opencps
agpl-3.0
1,112
40
codeparrot/github-code
925f74ec9b83fd36d32ea9235a0e83df5185609670f8889da79acb37ac2804d8
/* * 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 * the...
Java
elki-core-util/src/test/java/elki/utilities/datastructures/heap/HeapPerformanceTest.java
elki-project/elki
agpl-3.0
4,083
129
codeparrot/github-code
276ed4dd479ba07d083a84b759a95dc295c81ae8503d5478b1fdfa58044e2005
/* This file is part of the HeavenMS MapleStory Server Copyleft (L) 2016 - 2019 RonanLana This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation version 3 as published by the F...
JavaScript
scripts/quest/21613.js
ronancpl/MapleSolaxiaV2
agpl-3.0
2,413
62
codeparrot/github-code
e7e7b9108706f04d7fc920137fd92d6baa21bf8dcee496fcd000cc1c5e8a16ed
bpmnGatewayInclusive=function(width,_30ab){ VectorFigure.call(this); this.stroke =1; }; bpmnGatewayInclusive.prototype=new VectorFigure; bpmnGatewayInclusive.prototype.type="bpmnGatewayInclusive"; bpmnGatewayInclusive.prototype.paint=function(){ VectorFigure.prototype.paint.call(this); if(typeof workflow.zoomf...
JavaScript
workflow/engine/templates/bpmn/GatewayInclusive.js
carbonadona/pm
agpl-3.0
3,734
101
codeparrot/github-code
503c65ae1b61ac9d46f9c7f8edf369b8f5f23a03ed71b3586e82d1658461bb62
<?php namespace Controller; /** * Project controller (Settings + creation/edition) * * @package controller * @author Frederic Guillot */ class Project extends Base { /** * List of projects * * @access public */ public function index() { if ($this->userSession->isAdmin()...
PHP
app/Controller/Project.php
crwilliams/kanboard
agpl-3.0
13,002
440
codeparrot/github-code
832e371d4852b44e738bda2e4500a5282911eefe094e45024053421f8838324f
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/GetAllUsersDatabaseAction.java
opensourceBIM/BIMserver
agpl-3.0
2,879
59
codeparrot/github-code
aa6ed2bc6ec2cfd621479f3343062cb001011534cc906ee9a2908d48fa881dc0
package gplx.core.stores; import gplx.*; import gplx.core.*; import gplx.core.strings.*; public class DataRdr_ { public static final DataRdr Null = new DataRdr_null(); public static DataRdr as_(Object obj) {return obj instanceof DataRdr ? (DataRdr)obj : null;} public static DataRdr cast(Object obj) {try {ret...
Java
_100_core/src/main/java/gplx/core/stores/DataRdr_.java
gnosygnu/xowa_android
agpl-3.0
3,982
58
codeparrot/github-code
dc9c1a8f6665679a7805cec2ae028435d102694b0c7d4fbebe3f928829d7688a
<?php /** * @author Björn Schießle <schiessle@owncloud.com> * @author Joas Schilling <nickvergessen@owncloud.com> * @author Morris Jobke <hey@morrisjobke.de> * @author Robin Appelman <icewind@owncloud.com> * @author Roeland Jago Douma <roeland@famdouma.nl> * @author Thomas Müller <thomas.mueller@tmit.eu> * @auth...
PHP
apps/files_sharing/api/local.php
lrytz/core
agpl-3.0
20,001
642
codeparrot/github-code
0185c753e37033bdedcc3710c4ad4c13df2afe774843cab8c9e8f58d1450f23a
""" Learning Tools Interoperability (LTI) module. Resources --------- Theoretical background and detailed specifications of LTI can be found on: http://www.imsglobal.org/LTI/v1p1p1/ltiIMGv1p1p1.html This module is based on the version 1.1.1 of the LTI specifications by the IMS Global authority. For authenticat...
Python
common/lib/xmodule/xmodule/lti_module.py
mtlchun/edx
agpl-3.0
37,531
909
codeparrot/github-code
302f4a890019a509b35f97d290db01b1ac0c5bf7dc131ac22a68d8414702d2cd
/* * Copyright (c) 2013-2016 John Connor (BM-NC49AxAjcqVcF5jNPu85Rb8MJ2d9JqZt) * * This file is part of vcash. * * vcash is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License with * additional permissions to the one published by the Free Software *...
C++
src/hd_keychain.cpp
xCoreDev/vanillacoin
agpl-3.0
19,176
809
codeparrot/github-code
ca33d6d46f5a68e404e81b0ee7519b28e3f9e1f1191df1d74ef83a582561b36d
from django.template import Library, Node, TemplateSyntaxError, Variable from django.conf import settings from django.core import urlresolvers import hashlib import re register = Library() class ViewNode(Node): def __init__(self, parser, token): self.args = [] self.kwargs = {} tokens = ...
Python
overlord/templatetags/view_tag.py
meymarce/overlord
agpl-3.0
2,130
64
codeparrot/github-code
4c276b96973f89f12d032d0b015910c316c308f8c760f71af0a9dc38a69dd84b
// SLPRINTF.C // (c) Marco Paland (info@paland.com) 2014-2019, PALANDesign Hannover, Germany // license The MIT License (MIT) // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without res...
C
Src/SLib/slprintf.c
papyrussolution/OpenPapyrus
agpl-3.0
55,312
1,544
codeparrot/github-code
38747732035da268f2fd5450927a5a1d3690ed902a531b7e5ce335f480269ef7
import { clone } from 'lodash'; export class SqlPartDef { type: string; style: string; label: string; params: any[]; defaultParams: any[]; wrapOpen: string; wrapClose: string; separator: string; constructor(options: any) { this.type = options.type; if (options.label) { this.label = opt...
TypeScript
public/app/angular/components/sql_part/sql_part.ts
grafana/grafana
agpl-3.0
1,657
75
codeparrot/github-code
8d68b45639d034a5e29ce6bef40ec8d9a83a982d549b4e730a5f9b3ca6176869
########################################################################### # Concurrent WSGI server - webserver3h.py # # # # Tested with Python 2.7.9 on Ubuntu 14.04 & Mac OS X # ################...
Python
wegrow-cloudside/elf-data-collector/webserver4/server-again.py
hamishcunningham/fishy-wifi
agpl-3.0
6,539
183
codeparrot/github-code
39f135e243c2d2af6c58af16031f9b2a6b8ec4a2a453464e6e74f9202108418e
/* This file is part of Archivematica. Copyright 2010-2013 Artefactual Systems Inc. <http://artefactual.com> Archivematica 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 ...
JavaScript
src/dashboard/src/media/js/ingest/ingest_file_browser.js
sevein/archivematica
agpl-3.0
14,811
441
codeparrot/github-code
ced45b48f22bcdc4c515331d73093a449b38380b31c14bf17c526a7652444040
/* ************************************************************************ ******************* CANADIAN ASTRONOMY DATA CENTRE ******************* ************** CENTRE CANADIEN DE DONNÉES ASTRONOMIQUES ************** * * (c) 2011. (c) 2011. * Government of Canada Gouver...
Java
cadc-access-control-admin/src/main/java/ca/nrc/cadc/ac/admin/ContextImpl.java
opencadc/ac
agpl-3.0
7,954
267
codeparrot/github-code
3edc88d6d8fb0f6a96de0395e08a91e220acec2bc9430892faec141cdd6742da
package jlib.datastream.intraprocess; import java.io.Closeable; import java.io.IOException; import java.util.ArrayList; import jlib.datastream.ezio.LineReaderObject; import jlib.events.Command; import jlib.utils.e.event.DuplicateCommandException; import jlib.utils.e.oop.NonUniqueIdentifierException; /** ...
Java
src/jlib/datastream/intraprocess/BackgroundDaemon.java
JDierberger1/JDierberger
agpl-3.0
6,700
232
codeparrot/github-code
a89f0fae415aa64db60f5c447f4d093c50f1551f371d7570d0b2e29bd39a2a60
/* * This file is part of SerialPundit. * * Copyright (C) 2014-2020, Rishi Gupta. All rights reserved. * * The SerialPundit is DUAL LICENSED. It is made available under the terms of the GNU Affero * General Public License (AGPL) v3.0 for non-commercial use and under the terms of a commercial * license for com...
Java
modules/usb/src/com/serialpundit/usb/SerialComUSB.java
RishiGupta12/serial-communication-manager
agpl-3.0
25,768
489
codeparrot/github-code
07e94b784743b666b267ea9d143585e8d1f4121938af99db1b80fbe01a8b7ddc
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <!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> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>db_en...
HTML
docs/api_reference/C/db_env_set_func_write.html
zheguang/BerkeleyDB
agpl-3.0
5,104
124
codeparrot/github-code
2dce1c6fa8c2fdf7c741c437b4d28b7393e4fd3b2a30845cddea970c6ad6060d
import SPELLS from 'common/SPELLS/index'; /* * Fields: * int: spell scales with Intellect * crit: spell scales with (is able to or procced from) Critical Strike * hasteHpm: spell does more healing due to Haste, e.g. HoTs that gain more ticks * hasteHpct: spell can be cast more frequently due to Haste, basically a...
JavaScript
src/parser/shared/modules/features/SpellInfo.js
FaideWW/WoWAnalyzer
agpl-3.0
5,070
177
codeparrot/github-code
ffbf7320943b2a5f67ceeda94d8b4ddf275b38373dc22a3ca65996c69ca993f2
/** * @author Anakeen * @license http://www.fsf.org/licensing/licenses/agpl-3.0.html GNU Affero General Public License */ // Utility function to add an event listener function addEvent(o,e,f){ if (o.addEventListener){ o.addEventListener(e,f,true); return true; } else if (o.attachEvent){ return o.attachEvent("on...
JavaScript
Zone/Ui/widget-document.js
Eric-Brison/dynacase-core
agpl-3.0
80,955
2,252
codeparrot/github-code
2be204a45975ef88d4912b0231a70462925cc3d3a24119cdb27b0de0d05348d0
<?php namespace App\Http\Controllers; use enshrined\svgSanitize\Sanitizer; use App\Helpers\Helper; use App\Http\Requests\ImageUploadRequest; use App\Http\Requests\SettingsSamlRequest; use App\Http\Requests\SetupUserRequest; use App\Models\Setting; use App\Models\User; use App\Notifications\FirstAdminNotification; use...
PHP
app/Http/Controllers/SettingsController.php
ppavlov28/snipe-it
agpl-3.0
44,314
1,260
codeparrot/github-code
d95100724708deeee2e588f6b33f004ce5d9795a985c9265f1f02bea793c9496
/* * (c) Copyright Ascensio System SIA 2010-2014 * * This program is a free software product. You can redistribute it and/or * modify it under the terms of the GNU Affero General Public License (AGPL) * version 3 as published by the Free Software Foundation. In accordance with * Section 7(a) of the GNU AGPL i...
C
ActiveX/ASCOfficePPTXFile/PPTXFormat/Limit/TextStrike.h
devsarr/ONLYOFFICE-OnlineEditors
agpl-3.0
2,590
93
codeparrot/github-code
9b00b175af135e942ae20144fad69598f4ad71ccae3f20c589eae689f32dcb87
/* ************************************************************************ qooxdoo - the new era of web development http://qooxdoo.org Copyright: 2004-2009 1&1 Internet AG, Germany, http://www.1und1.de License: LGPL: http://www.gnu.org/licenses/lgpl.html EPL: http://www.eclipse.org/org/d...
JavaScript
devtools/qooxdoo-1.5-sdk/framework/source/class/qx/data/controller/Form.js
Seldaiendil/meyeOS
agpl-3.0
11,935
379
codeparrot/github-code
ad115fe35102cd47fb054af208248165e647eb4266ba9af52e117e2fb8955988
<?php namespace BioSounds\Security; use Exception; class Session { /** * @throws Exception */ public function startSecureSession() { $session_name = 'biosounds_session'; $secure = false; $httpOnly = true; // Forces sessions to only use cookies. if (!ini_s...
PHP
src/src/BioSounds/Security/Session.php
nperezg/biosounds
agpl-3.0
1,424
47
codeparrot/github-code
6ff27806f6e9f4d15c6a43290f82d5a82daf0dee29c69c0c9d469336516c9793
import SPELLS from 'common/SPELLS'; import RESOURCE_TYPES from 'game/RESOURCE_TYPES'; import Analyzer, { SELECTED_PLAYER } from 'parser/core/Analyzer'; import Events from 'parser/core/Events'; import STATISTIC_ORDER from 'parser/ui/STATISTIC_ORDER'; import TalentStatisticBox from 'parser/ui/TalentStatisticBox'; import ...
JavaScript
analysis/deathknightblood/src/modules/talents/Heartbreaker.js
anom0ly/WoWAnalyzer
agpl-3.0
1,692
62
codeparrot/github-code
9cbb13953075c5a0f834fdd493ad2baec52732cdd534d5adf9355260ee81cd3c
@(stylesheets: Html = Html(""), scripts: Html = Html(""))(content: Html)(footer: Html = Html("")) @import com.feth.play.module.pa.views.html._ @import be.objectify.deadbolt.java.views.html._ @import be.objectify.deadbolt.core.utils.TemplateUtils._ <!DOCTYPE html> <html> <head> <title>Shall We Debate?</title> ...
HTML
app/views/main.scala.html
amosjyng/ShallWeDebate
agpl-3.0
4,615
111
codeparrot/github-code
c02c2bb71673b134bb69663b6f1b9baa2ab0ba0471c04f542a2e12697366f98a
using System; using ImGui; using ImGui.Rendering.Composition; namespace ImGui.Rendering { internal partial class DrawingContent { public bool ReadRecord(out DrawLineCommand record) { record = default; unsafe { fixed (byte* pByte = this.buffer...
C#
src/ImGui/Rendering/DrawingContent.Read.cs
zwcloud/ImGui
agpl-3.0
13,918
397
codeparrot/github-code
b152436e51395ed516e1142b3c20234253f4d62f01b7cf4ba10231eb6ae8bf07
#################################################################################################### # Copyright (C) 2016 by Ingo Keller, Katrin Lohan # # <brutusthetschiepel@gmail.com> # # ...
Python
pyJD/EZModule.py
BrutusTT/pyJD
agpl-3.0
8,093
230
codeparrot/github-code
216f8d12869391adf239ba0642e6bda409c73145a691e5d24dbc1128f5bbaf46
/* MiracleGrue - Model Generator for toolpathing. <http://www.grue.makerbot.com> Copyright (C) 2011 Far McKon <Far@makerbot.com>, Hugo Boyer (hugo@makerbot.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 ...
C++
src/mgl/shrinky.cc
makerbot/Miracle-Grue
agpl-3.0
33,552
899
codeparrot/github-code
cb76dbd4fe58a56ba54a15a8322c3663e6bb2a27f0d7e9bf2d768a84d7032502
import os from xbrowse_server import xbrowse_controls from django.core.management.base import BaseCommand from xbrowse_server.base.models import Project, Individual, VCFFile from xbrowse_server import sample_management class Command(BaseCommand): def add_arguments(self, parser): parser.add_argument('ar...
Python
xbrowse_server/base/management/commands/add_vcf_to_project.py
macarthur-lab/xbrowse
agpl-3.0
1,768
47
codeparrot/github-code
fb27eeadbdb08a25e552567d6497d5d89eac9f4f816d814a6247ea8b60ef9b3c
from __future__ import print_function import time from flask import Flask, session, url_for from flask_debugtoolbar import DebugToolbarExtension from weblablib import WebLab, requires_active, weblab_user, poll app = Flask(__name__) # XXX: IMPORTANT SETTINGS TO CHANGE app.config['SECRET_KEY'] = 'something random' # e...
Python
examples/simple/example.py
weblabdeusto/weblablib
agpl-3.0
3,126
86
codeparrot/github-code
0f90b0e4ee69412dd75b130a4ed208f14f6d2e989191a7c24276bef5dd53097e
/* * ################################################################ * * 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/mixedlocation/UniversalBodyWrapper.java
acontes/programming
agpl-3.0
10,651
288
codeparrot/github-code
70e2f8b43a2eec9efc76c19b10b401431e48771ebceb0a5572d2b9d4f4bd39da
/** ****************************************************************************** * @file BSP/Src/sram.c * @author MCD Application Team * @version V1.0.3 * @date 29-January-2016 * @brief This example code shows how to use the SRAM Driver ***************************************************...
C
STM32Cube_FW_F4_V1.11.0/Projects/STM32469I_EVAL/Examples/BSP/Src/sram.c
mariobarbareschi/stm32-compiler-docker
agpl-3.0
10,854
323
codeparrot/github-code
7f34b27fd2887d8e1bd77e3d525a173adf997138b8c84f2c0f4b01643989bb5b
# -*- coding: utf-8 -*- """ Class_LabExperimBased provides functionalities for data handling of data obtained in lab experiments in the field of (waste)water treatment. Copyright (C) 2016 Chaim De Mulder This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General P...
Python
wwdata/Class_LabExperimBased.py
cdemulde/wwdata
agpl-3.0
7,474
241
codeparrot/github-code
2bbcd18e7b05022d9b382a90fb1e3c73b8276940f5cfbb90489849062f56627d
import { State, Selector, Action, StateContext } from '@ngxs/store'; import { Injectable } from '@angular/core'; import { DetttagliTipologieService } from '../../../../core/service/dettagli-tipologie/dettagli-tipologie.service'; import { TriageService } from '../../../../core/service/triage/triage.service'; import { ...
TypeScript
src/frontend/launcherComponent/src/app/shared/store/states/triage-chiamata-modal/triage-chiamata-modal.state.ts
vvfosprojects/sovvf
agpl-3.0
6,729
166
codeparrot/github-code
e10d68b451d67846924472bf5af3013ac142e1b1e6dfedb1a7a5c61465d28f8c
/* * * Copyright 2015 IK4-Tekniker All Rights Reserved * * This file is part of Health Questionnaire SE at FISTAR https://www.fi-star.eu/ * * Health Questionnaire SE 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 Softwar...
Java
HQSE_code/HQSE_WebServices_Code_BETA/commons.mng.bo/src/main/java/es/tekniker/framework/ktek/entity/KtekLoginEntity.java
ik4tekniker/FISTAR-Health-Questionnaire-SE
agpl-3.0
3,255
144
codeparrot/github-code
4bad26982ca998e5f83a492f6f41637a784f3414f48f1b392534fd94fe1fa681
'use strict'; const _ = require('underscore'); const Handlebars = require('handlebars'); const moment = require('moment'); const VPREmulatorModel = require('./vprEmulatorModel'); const toFMDateTime = require('../vdmUtils').toFMDateTime; class VPRPatientEmulator extends VPREmulatorModel { template() { retu...
JavaScript
vprEmulator/vprEmulatorPatientModel.js
vistadataproject/MVDM
agpl-3.0
3,784
108
codeparrot/github-code
af6c83e9659fcf5126baf17ac9c6cb970848121ffbb26898a28f1834daced101
<?php /* * jQuery File Upload Plugin PHP Example 5.7 * https://github.com/blueimp/jQuery-File-Upload * * Copyright 2010, Sebastian Tschan * https://blueimp.net * * Licensed under the MIT license: * http://www.opensource.org/licenses/MIT */ error_reporting(E_ALL | E_STRICT); //require('upload.class.php'); //...
PHP
server/upload/index.php
iesoretania/atica.old
agpl-3.0
7,441
190
codeparrot/github-code
032501ea641d33e749638f63845764f9dfc106f7628440bd9e12918c45c4c48f
"""course_discovery URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.8/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') C...
Python
course_discovery/urls.py
cpennington/course-discovery
agpl-3.0
1,899
47
codeparrot/github-code
7001be8da70ea5064b8034ad90af556758e9c8ba1bfd7cad5b2135108acb3b1a
<?php namespace Html2Text; use PHPUnit\Framework\TestCase; class LinkTest extends TestCase { const TEST_HTML = '<a href="http://example.com">Link text</a>'; public function testDoLinksAfter() { $expected =<<<EOT Link text [1] Links: ------ [1] http://example.com EOT; $html2text = new ...
PHP
src/core/libs/html2text/test/LinkTest.php
nicholasryan/CorePlus
agpl-3.0
2,604
110
codeparrot/github-code
4b7c6172d0fe1febc5bc61e783b10bc7d0e21a46ff2a787f4e2676d7d406277e
/** * This file is part of agora-gui-admin. * Copyright (C) 2015-2016 Agora Voting SL <agora@agoravoting.com> * agora-gui-admin 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...
JavaScript
avAdmin/admin-directives/elcensus/add-csv-modal.js
agoravoting/agora-gui-admin
agpl-3.0
1,844
56
codeparrot/github-code
6f91bea89e2f0bc3adc0e8090e666c26b1ae3bbac67d20cc854558f742be108e
<?php namespace Chill\PersonBundle\Entity; use Doctrine\ORM\Mapping as ORM; use Symfony\Component\Validator\ExecutionContextInterface; use CL\CLHistoryBundle\Entity\IsHistoryContainer; use CL\CLHistoryBundle\Entity\HasHistory; use CL\CLHistoryBundle\Entity\HistoryHelper; /** * Person */ class Person implements IsH...
PHP
Entity/Person.php
Champs-Libres/ChillPersonBundle
agpl-3.0
19,328
811
codeparrot/github-code
d7ee9627324f6a48635a793de5cc8ccc4c82c76343efc0661b270ed2bd3f6f4a
<?php /** * StatusNet, the distributed open-source microblogging tool * * Register a new user account * * 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,...
PHP
actions/register.php
zcopley/zcopleys-statusnet-clone
agpl-3.0
22,427
614
codeparrot/github-code
00f8ede2cbef854b1c078827e76259de20a2c322d040e5830c3f54d1037a09b2
#include "CLP.h" #include <sstream> #include <iostream> namespace osuCrypto { void CLP::parse(int argc, char const*const* argv) { if (argc > 0) { std::stringstream ss; auto ptr = argv[0]; while (*ptr != 0) ss << *ptr++; ...
C++
crislib/libscapi/lib/libOTe/cryptoTools/cryptoTools/Common/CLP.cpp
cris-iisc/mpc-primitives
agpl-3.0
4,799
201
codeparrot/github-code
4ea0562605648592ce5766b908e7eca84857c24fd915f5cbde2fa1334d6c41be
/* carsharing-ds: car sharing datasource for the integreen cloud Copyright (C) 2015 TIS Innovation Park - Bolzano/Bozen - Italy 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 ...
Java
src/main/java/it/bz/tis/integreen/carsharingbzit/ConnectorLogic.java
tis-innovation-park/carsharing-ds
agpl-3.0
14,481
307
codeparrot/github-code
1e4400d6992fe90e9237b56ea8fa30f3cd993546a68ba1466add4625c66cb94a
/* Copyright (C) 2014 Härnösands kommun 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. Th...
JavaScript
src/main/javascript/action/Print.js
Sundsvallskommun/OpenEMap-WebUserInterface
agpl-3.0
9,600
223
codeparrot/github-code
8d8d104d361ad40079b9f7a51aeab484edf711bb13a86828f605ede68bffa974
/* * MemMapEquation.h * * Created on: 4 mar 2015 * Author: Daniel */ #ifndef MODULES_CLUSTERING_CLUSTERING_MEMMAPEQUATION_H_ #define MODULES_CLUSTERING_CLUSTERING_MEMMAPEQUATION_H_ #include "MapEquation.h" #include "FlowData.h" // #include "InfoNode.h" #include "../utils/Log.h" #include <vector> #include <...
C
src/core/MemMapEquation.h
mapequation/infomap
agpl-3.0
6,260
200
codeparrot/github-code
bdfc1b43d24146b2314b4d82520b2fbae87e503c619f6b9f0fa7fed7eebcf788
/* @flow */ import oEmbedStorage from './oEmbedStorage'; import getContentType from './getContentType'; import regexes from './regexes'; import providers from './providers'; import type { Embed } from './oEmbedTypes'; function getProperty(prop: string, type: ?string): RegExp { if (typeof type === 'string') { retur...
JavaScript
src/modules/oembed/oEmbed.js
Anup-Allamsetty/pure
agpl-3.0
3,946
175
codeparrot/github-code
1ce1f2e4c024086d8854999f41e2552de9b69cd2d53a5e9fd5c742bc87cda929
package net.wayward_realms.waywardchat.irc; import net.wayward_realms.waywardchat.WaywardChat; import org.pircbotx.Channel; import org.pircbotx.PircBotX; import org.pircbotx.User; import org.pircbotx.hooks.ListenerAdapter; import org.pircbotx.hooks.events.MessageEvent; public class IrcMessageListener extends Listener...
Java
WaywardChat/src/main/java/net/wayward_realms/waywardchat/irc/IrcMessageListener.java
WaywardRealms/Wayward
agpl-3.0
872
31
codeparrot/github-code
1ffecafbc15c9a9d4c0b5098cc4c1e88d9b52d3011f10a0bd731fe4bbfd7160d
/*Students' performance manipulation*/ /*Konstantinos Spalas, cst08094 * Only me in group */ #include <stdio.h> #define N 3//Here we change the amount of students allowed to store.Now is until three. //All the functions take as parameter the array of students //Presume that the values(ID,age,sex and degree) stored...
C
studentsPerformanceManipulation/Students'_performance_manipulation.c
konnnGit/University
agpl-3.0
4,182
160
codeparrot/github-code
c493112f188d26541a1a9c9ba55b4b92515bd9efb73c939a8080dc5a7b1e7bc7
(function (factory) { if (typeof define === 'function') { if(define.amd) { define(['common/metastore', 'jslet', 'mock/employee-mock'], factory); } else { define(function(require, exports, module) { module.exports = factory(); }); } } else { factory(); } })(fu...
JavaScript
democn/dbcontrol/table/basic.js
jslet/jslet
agpl-3.0
2,861
99
codeparrot/github-code
e78504f90894b58cf27239ee0cd2e2b7b4aea0734066790bb56a2fb6bd81c7a1
using System; using Terraria.Localization; namespace HamstarHelpers.Services.Network.Scraper { /// <summary> /// Represents scraped data for the settings of a sent network packet. The actual payload of the generated /// packet is internal to `NetMessage.SendData(...)` (for now). /// </summary> public class Scra...
C#
HamstarHelpers/Services/Network/Scraper/ScrapedSentData.cs
hamstar0/tml-hamstarhelpers-mod
agpl-3.0
2,036
81
codeparrot/github-code
954496975acae208580f5048b4ff6d8b8dd896f1062f7bb5a7e692882bcd401a
<?php namespace App\Models; use App\Models\Requestable; use App\Models\SnipeModel; use App\Presenters\Presentable; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\SoftDeletes; use Watson\Validating\ValidatingTrait; /** * Model for Asset Models. Asset Models contain higher level * attributes...
PHP
app/Models/AssetModel.php
bytepark/snipe-it
agpl-3.0
7,207
237
codeparrot/github-code
d78dc9855f835fd32f1767c4e5e5bf8c3c7c89cdfe62d98653d627188b064511
############################################################################## # # Copyright (C) 2014 Comunitea Servicios Tecnológicos All Rights Reserved # $Kiko Sánchez <kiko@comunitea.com>$ # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero Gen...
Python
project-addons/product_outlet_loss/models/product.py
Comunitea/CMNT_004_15
agpl-3.0
1,851
48
codeparrot/github-code
202ba4814e689cfc7f0917548b7c8d914238d34a144ee63229ff7e58c9a02bf2
<?php /** * @package api * @subpackage objects */ class KalturaReportExportFile extends KalturaObject { /** * @var string */ public $fileId; /** * @var string */ public $fileName; private static $map_between_objects = array ( "fileId", "fileName", ); public function getMapBetweenObjects() { ...
PHP
api_v3/lib/types/report/export/KalturaReportExportFile.php
kaltura/server
agpl-3.0
628
39
codeparrot/github-code
7046a474851480eff3830e1455071b5f71e949f1d032a45a0ae5ef1546f04b39
<?php /** * * Manages the batch mechanism * * @package Core * @subpackage Batch */ class kBatchManager { /** * batch createFlavorAsset orgenize a convert job data * * @param flavorParamsOutputWrap $flavor * @param int $partnerId * @param int $entryId * @param string $flavorAsse...
PHP
package/app/app/alpha/apps/kaltura/lib/batch2/kBatchManager.php
MimocomMedia/kaltura
agpl-3.0
12,374
376
codeparrot/github-code
7af20b0f7cbc07a7d558c1c8663562d635f56e7e54be87396e73ae8d8fea0538
<!DOCTYPE html public "-//W3C//DTD HTML 4.0 Transitional//EN"> <!--StkHavingList--> <HTML> <HEAD> <META http-equiv="content-type" content="text/html; charset=Shift_JIS"> <TITLE>松井証券</TITLE> <SCRIPT language="JavaScript"> <!-- var sent=false; function sendCheck(){ if(sent){ return false; }else{ sent=true; return true; }...
HTML
test/MatsuiCoJp/https%3A%2F%2Fwww.deal.matsui.co.jp%2Fservlet%2FITS%2Fstock%2FStkHavingList.utf8.01.html
ak1211/tractor
agpl-3.0
10,770
313
codeparrot/github-code
67b2a215540092a2c8234a6fec1d8f1780086c3517fed9a754bd55b9141e8c13
#!/bin/sh ################################################################# # # # Copyright 2013 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 # # th...
Shell
com/gencert.sh
nars1/YottaDBtest
agpl-3.0
6,260
194
codeparrot/github-code
70142e510804e8980fd40551910d87e9b4f38512695f787609a295985fe64818
////////////////////////////////////////////////////////////////// // // FreeLing - Open Source Language Analyzers // // Copyright (C) 2014 TALP Research Center // Universitat Politecnica de Catalunya // // This library is free software; you can redistribute it and/or // modify it ...
C++
src/libfreeling/semdb.cc
TALP-UPC/freeling
agpl-3.0
9,732
289
codeparrot/github-code
409e870378703451854c9cd841886dd0275e3ebb2f0a4e9c4bcecc1229d27fdf
# Recall is a program for storing bookmarks of different things # Copyright (C) 2012 Cal Paterson # # 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 # ...
Python
src/recall/people.py
calpaterson/recall
agpl-3.0
3,665
106
codeparrot/github-code
11641f43d8c1b05e71f8709b06f3a70ac9622cbf25d2fe525631503e1371ca54
/* * jPOS Project [http://jpos.org] * Copyright (C) 2000-2010 Alejandro P. Revilla * * 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 ...
Java
modules/pm_struts/src/org/jpos/ee/pm/struts/actions/FieldProcessingActionSupport.java
jpaoletti/jPOS-Presentation-Manager
agpl-3.0
5,057
125
codeparrot/github-code
1e5dd656dbd75c3a7f567d629ec3599520d569800c6dea688af1b419819c81f9
from collections import defaultdict from fs.errors import ResourceNotFoundError import logging import inspect import re from path import path from django.http import Http404 from django.conf import settings from .module_render import get_module from xmodule.course_module import CourseDescriptor from xmodule.modulestor...
Python
lms/djangoapps/courseware/courses.py
abo-abo/edx-platform
agpl-3.0
11,362
332
codeparrot/github-code
6e52a96b43fe3c458f9a993f9231d78c5680216242c5f3167be541cb69cae72f
/* * Copyright (c) 2014 * * This file is licensed under the Affero General Public License version 3 * or later. * * See the COPYING-README file. * */ (function() { OC.Update = { _started : false, /** * Start the upgrade process. * * @param $el progress list element */ start: function($el, o...
JavaScript
core/js/update.js
lrytz/core
agpl-3.0
3,085
105
codeparrot/github-code
03d2fe7aedd3c4611bbe731991bac35ffd3c9b1555b272fff73bb24cb32bc0e8
/* * This file is part of Kotaka, a mud library for DGD * http://github.com/shentino/kotaka * * Copyright (C) 2018, 2020, 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 Softw...
C
mud/home/Game/initd.c
shentino/kotaka
agpl-3.0
3,367
151
codeparrot/github-code
6ec0558b5883cdb5600cfa1a0570e5e4046d0313e58a2d72a2ed5f92ea817fb9
/* * Copyright 2012 McEvoy Software 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 p...
Java
milton-server/src/main/java/io/milton/http/json/PropPatchJsonResource.java
FullMetal210/milton2
agpl-3.0
5,053
142
codeparrot/github-code
a267eeb80bb1e4e7c6e6d59528d56faa453afb279d8e94f2602a630a09fe04dd
<?php /** * Ask the server to silently close the connection. * * @author Ivan Shumkov * @package Rediska * @subpackage Commands * @version 0.5.10 * @link http://rediska.geometria-lab.net * @license http://www.opensource.org/licenses/bsd-license.php */ class Rediska_Command_Quit extends Rediska_Command_Abstra...
PHP
lib/Rediska/Command/Quit.php
laclasse-com/php-cas-server
agpl-3.0
1,076
51
codeparrot/github-code
a1092e879926cad9c9134915e795db6501c3f2b45bbc8c38f54a56fe20beb4ec
{% load uploadtemplate i18n daguerre compress %} {% load url from future %} <!doctype html> <!--[if lt IE 7]> <html class="no-js ie6 oldie" lang="en"> <![endif]--> <!--[if IE 7]> <html class="no-js ie7 oldie" lang="en"> <![endif]--> <!--[if IE 8]> <html class="no-js ie8 oldie" lang="en"> <![endif]--> <!--[if gt ...
HTML
localtv/templates/localtv/__base.html
pculture/mirocommunity
agpl-3.0
4,464
121
codeparrot/github-code
5c4de255aaf7837f8bc57b81c686cb67d132c794e3539a4482bd275c874f86e6
import request from './request' export type UUID = string export type DateTime = string // for options see class names here: https://github.com/GothenburgBitFactory/taskwarrior/blob/01696a307b6785be973e3e6428e6ade2a3872c1e/src/columns/ColUDA.h#L36 export type TaskwarriorDataType = 'string' | 'numeric' | 'date' | 'dur...
TypeScript
ui/src/clients/tasks.ts
coddingtonbear/inthe.am
agpl-3.0
2,548
99
codeparrot/github-code
863ba2972220f84de3f510ff83b2cc2d5b76a4481f62696679cb1bbbb75d1b30
############################################################################ # # OSIS stands for Open Student Information System. It's an application # designed to manage the core business of higher education institutions, # such as universities, faculties, institutes and professional schools. # The core bu...
Python
base/views/learning_units/detail.py
uclouvain/osis_louvain
agpl-3.0
2,248
51
codeparrot/github-code
c530b181e71868e1bba242c288eb6c3fa1ada71a1e3ad5aa71cb26b9919d1b98
/* This file is part of VoltDB. * Copyright (C) 2008-2013 VoltDB 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 la...
Java
src/frontend/org/voltdb/plannodes/SchemaColumn.java
kobronson/cs-voltdb
agpl-3.0
8,242
250
codeparrot/github-code
82431ffc1470912df89f6b08c77cf2967f7ec7ab9d35571913e8a29e50a64ed1
{%extends "base.html"%} {% comment %} Copyright 2010 Lorenzo Benfenati, Andrea Zucchelli" This file is part of MyMovieCollection. MyMovieCollection 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....
HTML
templates/viewtitle.html
lebenf/couchtv
agpl-3.0
6,933
187
codeparrot/github-code
9f5caaeafc6c55316926d988133d251f3607d5f808ca9e2af92678dd3a257b1b
/* This file is part of Ingen. Copyright 2007-2016 David Robillard <http://drobilla.net/> Ingen 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 any later versi...
C++
src/Log.cpp
drobilla/ingen
agpl-3.0
3,977
169
codeparrot/github-code
c0c2fa83039d4526e2725c7b0fd2f87b4921fc99386fdf259c84be731707eee8
""" Views for contract feature """ import logging from edxmako.shortcuts import render_to_response from django.contrib.auth.models import User from django.contrib.auth import authenticate, login from django.shortcuts import redirect from django.core.urlresolvers import reverse from biz.djangoapps.ga_manager.models impo...
Python
biz/djangoapps/gx_login/views.py
nttks/edx-platform
agpl-3.0
3,215
87
codeparrot/github-code
b5f8812f6a20441e1446e3c044ef1642e142a2e5edae24ad563a88ac015a13ea
$def with (id, topic) $var metatitle: $topic.title ($topic.hashtag) $var metadesc: $topic.title $var menu: $var title: <div class="span12"> <h2>$topic.title</h2><a href="/topic/$topic.id">$topic.hashtag</a> $topic.votes<a href="/topic/$topic.id/upvote"><i class="icon-star-empty"></i></a></small> <br> </div> <div...
HTML
templates/topic/show.html
credibilityio/credibility-webpy
agpl-3.0
3,534
99
codeparrot/github-code
4c7cd5c8186d67f48e88cf767acfe172315e7eefcd4dabb4f01722749155329b
/** * Copyright (c) 2000-present Liferay, Inc. All rights reserved. * * This library is free software; you can redistribute it and/or modify it under * the terms of the GNU Lesser General Public License as published by the Free * Software Foundation; either version 2.1 of the License, or (at your option) * any la...
Java
portlets/opencps-portlet/docroot/WEB-INF/service/org/opencps/dossiermgt/service/persistence/ServiceConfigActionableDynamicQuery.java
hltn/opencps
agpl-3.0
1,346
37
codeparrot/github-code
bdd04f1b5f5be9bd0a8416457e09767aba6c19c34a7993966e0e2d30e35889a3
# This file is part of VoltDB. # Copyright (C) 2008-2018 VoltDB Inc. # # Permission is hereby granted, free of charge, to any person obtaining # a copy of this software and associated documentation files (the # "Software"), to deal in the Software without restriction, including # without limitation the rights to use, c...
Python
tools/voter.d/voter.py
simonzhangsm/voltdb
agpl-3.0
2,792
70
codeparrot/github-code
99c5346316dd736c7cfeff3f4038cf05814e60b1fc44db46b4a464c1e1095b18
'use strict'; describe('itemListService', function() { beforeEach(module('superdesk.mocks')); beforeEach(module('superdesk.templates-cache')); beforeEach(module('superdesk.itemList')); beforeEach(module(function($provide) { $provide.service('api', function($q) { return function ApiS...
JavaScript
client/app/scripts/superdesk/itemList/itemList_spec.js
plamut/superdesk
agpl-3.0
8,544
281
codeparrot/github-code
c3301c3f3236dd716cfdbf3fc2e8334ba3d5ad244554b26bade7a41e15ca5749
/** * The Seeks proxy and plugin framework are part of the SEEKS project. * Copyright (C) 2009 Emmanuel Benazera, juban@free.fr * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Software Foundation, eit...
C++
src/plugins/websearch/clustering.cpp
Psycojoker/seeks
agpl-3.0
8,174
265
codeparrot/github-code
e0f47355a5fb20843df7de8e8469427cb50cea0ff8c3a3d2c6f63545a213f958
/********************************************************************* * Portions COPYRIGHT 2016 STMicroelectronics * * Portions SEGGER Microcontroller GmbH & Co. KG * * Solutions for real time microcontroller applications * ********************************...
C
STM32Cube_FW_F4_V1.11.0/Projects/STM32F429I-Discovery/Applications/STemWin/STemWin_SampleDemo/Demo/GUIDEMO_Cursor.c
mariobarbareschi/stm32-compiler-docker
agpl-3.0
7,522
243
codeparrot/github-code
c7e4785f6290c8d637f21feecede9c9c1786d3cfd7c2d27021922468d5f4bc2f
package org.neo4j.extensions.spring.indexes; import java.util.Map; /** * UserIndex indexed properties. * * * @author bradnussbaum * @version 0.1.0 * * @since 0.1.0 * */ public enum UserIndex { lastModifiedTime(IndexType.user_exact), email(IndexType.user_fulltext), name(IndexType.user_fullt...
Java
neo4j-extensions-spring/src/main/java/org/neo4j/extensions/spring/indexes/UserIndex.java
objectundefined/neo4j-extensions
agpl-3.0
632
40
codeparrot/github-code
9aa6495e6fdc3dbc67e904eedd5026bf39ebf93095ac8698e7c10034e1ba9f10
<style> </style> <ARTICLE ID="Article_1"> <HEADER ID="Header_Article_1"> <H2>Building Projects</H2> <SECTION ID="Section_18"> <H3>Week 14 </H3> <H3>Build Log Instructions</H3> <li> build log instructions are due</li> <li><a href="/blog/blog.html">build log </a></li> </SECTION> ...
HTML
indexcontent.html
LadZone/LadZone.github.io
agpl-3.0
9,427
360
codeparrot/github-code
354791d1caacda1666573541f584e42743f4f0075a35f565b22d1fa85c6cdf9c
<?php /*-------------------------------------------------------+ | SYSTOPIA Donation Receipts Extension | | Copyright (C) 2013-2019 SYSTOPIA | | Author: N. Bochan | | B. Endres | | http://www.systop...
PHP
CRM/Donrec/Lang/De/Xx.php
systopia/de.systopia.donrec
agpl-3.0
7,167
210
codeparrot/github-code
ba4ae26b718b701a3afe1781293edca832de953921d4c845201a2006588ea117
var status = 0; var minlvl = 100; var maxlvl = 255; var minplayers = 1; var maxplayers = 6; var time = 15; var open = true; function start() { status = -1; // and when they click lets fight make it turn to a really cool ifght song :D LOL ok like the Zakum battle song? kk and btw uhm can you add a message ...
JavaScript
scripts/npc/2102000.js
ZenityMS/forgottenstorysource
agpl-3.0
3,619
78
codeparrot/github-code
a797b5430182daabd1d2f8bc63716681d8108214abb16626bddf169f72655b22
package scrum.server.files; import ilarkesto.io.IO; import scrum.server.admin.User; public class File extends GFile { // --- dependencies --- // --- --- public void deleteFile() { IO.delete(getJavaFile()); } public java.io.File getJavaFile() { return new java.io.File(getProject().getFileRepositoryPath() ...
Java
src/main/java/scrum/server/files/File.java
hogi/kunagi
agpl-3.0
989
51
codeparrot/github-code
c505f1848037ea0ab9a633003b0b4eb8ca042fb635c8de1a634dcc66b3b308eb
/* This file is part of the Juju GUI, which lets users view and manage Juju environments within a graphical interface (https://launchpad.net/juju-gui). Copyright (C) 2012-2013 Canonical Ltd. This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License...
JavaScript
app/views/notifications.js
jrwren/juju-gui
agpl-3.0
7,674
257
codeparrot/github-code
ec81b628bba3677e08efe255aa50b9df2298ad2dc707894416c2d79894ce8730
# -*- coding: utf-8 -*- ############################################################################## # For copyright and license notices, see __openerp__.py file in module root # directory ############################################################################## from openerp import fields, models, api, _ from op...
Python
l10n_ar_invoice/models/afip.py
adrianpaesani/odoo-argentina
agpl-3.0
6,822
197
codeparrot/github-code
3b029a3be716a75f795c5cf40bd95f8a0f540598e8186462864446412e5a58cd
"""Add is_loud and pronouns columns to PanelApplicant Revision ID: bba880ef5bbd Revises: 8f8419ebcf27 Create Date: 2019-07-20 02:57:17.794469 """ # revision identifiers, used by Alembic. revision = 'bba880ef5bbd' down_revision = '8f8419ebcf27' branch_labels = None depends_on = None from alembic import op import sq...
Python
alembic/versions/bba880ef5bbd_add_is_loud_and_pronouns_columns_to_.py
magfest/ubersystem
agpl-3.0
2,103
64
codeparrot/github-code
fd750872931d02e2e10b043173d7df10203e516732bb0f3b85e2b9b8096d9b02
/** * Copyright (C) 2016 The Language Archive, Max Planck Institute for Psycholinguistics * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your o...
Java
arbil-commons/src/main/java/nl/mpi/arbil/userstorage/CommonsSessionStorage.java
TheLanguageArchive/Arbil
agpl-3.0
10,338
226
codeparrot/github-code
d9fc00c3e92949d4789e72d1408b6cc947efe871a3f87acea0e7e510d691075d
/* * SPDX-FileCopyrightText: 2006-2009 Dirk Riehle <dirk@riehle.org> https://dirkriehle.com * SPDX-License-Identifier: AGPL-3.0-or-later */ package org.wahlzeit.servlets; import java.io.*; import javax.servlet.*; import javax.servlet.http.*; /** * A null servlet. */ public class NullServlet extends AbstractSe...
Java
src/main/java/org/wahlzeit/servlets/NullServlet.java
dirkriehle/wahlzeit
agpl-3.0
786
39
codeparrot/github-code
7f23b01edf4fc8c2a7bdb9127df8fbecfd42ed9bf34ead1de619a19c8650fd21
/* * RapidMiner * * Copyright (C) 2001-2011 by Rapid-I and the contributors * * Complete list of developers available at our web site: * * http://rapid-i.com * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public Lice...
Java
src/com/rapidminer/gui/flow/ProcessPanel.java
aborg0/rapidminer-vega
agpl-3.0
6,427
188
codeparrot/github-code
c1693c6616595b7abb2e38e7540a5320459aa3dfa5be131f1c443b035417bc64
'use strict'; const async = require('async'); const mongoose = require('mongoose'); const UserNotification = mongoose.model('Usernotification'); const DEFAULT_LIMIT = 50; const DEFAULT_OFFSET = 0; module.exports = { countForUser, create, get, getAll, getForUser, remove, setAcknowledged, setAllRead, ...
JavaScript
backend/core/notification/usernotification.js
heroandtn3/openpaas-esn
agpl-3.0
2,510
114
codeparrot/github-code
2f51d2d178cce4da7d49bc84abd5a944206d0093cc59f6adf1045901f6c4d012
'use strict'; angular.module('hopsWorksApp') .controller('DatasetsCtrl', ['$scope', '$q', '$mdSidenav', '$mdUtil', '$log', 'DataSetService', 'JupyterService', '$routeParams', '$route', 'ModalService', 'growl', '$location', 'MetadataHelperService', '$rootScope', 'DelaProjectService', 'DelaCl...
JavaScript
hopsworks-web/yo/app/scripts/controllers/datasetsCtrl.js
FilotasSiskos/hopsworks
agpl-3.0
46,695
1,066
codeparrot/github-code
571a783bfe05f0770b53a11e65fec3ac0bc48ba5f0b67e4181a50f614feafd9b
/** * Carousel controller * * @author Hein Bekker <hein@netbek.co.za> * @copyright (c) 2015 Hein Bekker * @license http://www.gnu.org/licenses/agpl-3.0.txt AGPLv3 */ (function (window, angular, undefined) { 'use strict'; angular .module('nb.carousel') .controller('nbCarouselController', nbCarouselControll...
JavaScript
src/js/nb-carousel.controller.js
netbek/nb-carousel
agpl-3.0
8,617
365
codeparrot/github-code