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
3cc3a9170791add9a672706912452642f9f01e28b5b39f8bada5d7669a99ac1d
/** * Copyright (c) 2020, RTE (http://www.rte-france.com) * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ package com.powsybl.cgmes.extensions; import com.googl...
Java
cgmes/cgmes-extensions/src/main/java/com/powsybl/cgmes/extensions/CgmesIidmMappingXmlSerializer.java
powsybl/powsybl-core
mpl-2.0
10,184
199
codeparrot/github-code
bae7804a674f906a48fb6e543c5a6e856bfb30ade0cea6009fc7c5cbb0009674
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="generator" content="rustdoc"> <meta name="description" content="API documentation for the Rust `MemoryOrdering` enum in crate `js`."> <meta name="keywords...
HTML
js/jsapi/enum.MemoryOrdering.html
susaing/doc.servo.org
mpl-2.0
5,316
115
codeparrot/github-code
97e6ad27fecebb67aa477a5fa7bc88493b6853e7728216bf6ab4562aceb6d338
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (the "License"); you may not use this file except in compliance with * the Lic...
C++
widget/src/xpwidgets/nsBaseDragService.cpp
tmhorne/celtx
mpl-2.0
19,046
598
codeparrot/github-code
035a10091eb7db2471d2a6ffa29d28592ff1adacf551ec52ed631b3510371522
/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ load('lib/WindowManager'); load('lib/textIO'); var { Promise } = Cu.import('resource://gre/modules/Promise...
JavaScript
modules/main.js
clear-code/correct-encoding
mpl-2.0
7,498
210
codeparrot/github-code
139d134335f677d7e2d1f13f087552e7698a22d0af7543bc576d69d6923a0632
/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ use extra::url; use extra::url::Url; use collections::HashMap; use std::os; /** Create a URL object from a string...
Rust
src/components/util/url.rs
mrobinson/servo
mpl-2.0
7,571
206
codeparrot/github-code
7ed154ce3d0adf881efa2abfd60929837711a3c9646afb21354b69d5b7d2be67
$(function() { /** * |DATABUS_CHART| * *********************************************************************** * REQUIRED FOR DATABUS URI -- START -- * *********************************************************************** * * The following information MUST be present in the chart code or the * Databus chart ...
JavaScript
webapp/public/Charts/HighCharts/HighStock_TimeSeries_Updating-30s_GRAY.js
deanhiller/databus
mpl-2.0
9,600
389
codeparrot/github-code
d887ab4b296902f67885f01cd5bd7e5777f6c1a2f463f95b92fcaddbc365b3f5
// Copyright 2019 Global Phasing Ltd. // // A subset of CAD functionality. #include <gemmi/mtz.hpp> #include <gemmi/fileutil.hpp> // for file_open #define GEMMI_PROG mtzmix #include "options.h" #include <stdio.h> using gemmi::Mtz; namespace { enum OptionIndex { Force=4, Asu, ToggleEndian }; const option::Descripto...
C++
src/mixmtz.cpp
project-gemmi/gemmi
mpl-2.0
2,427
85
codeparrot/github-code
04f7b7b0551333548776f58dadad184ff8290f2c0cbe3bb82e5f30308971d3ae
/** * File generated with scripts/generateBoard.py: * Copyright (C) 2017 Cezary Gapinski cezary.gapinski@gmail.com * * \file * \brief Definition of LEDs for NUCLEO-F103RB * * \author Copyright (C) 2016-2017 Kamil Szczygiel http://www.distortec.com http://www.freddiechopin.info * * \par License * This Source C...
C++
examples/NUCLEO-F103RB/NUCLEO-F103RB-leds.cpp
CezaryGapinski/DistortosPinConfigGenerator
mpl-2.0
1,229
43
codeparrot/github-code
a77051fe68692309730f69c5bcaa7bbbfe12f0e41ecaeca2974ad63b6a7a3dea
import React from 'react' import styled from 'styled-components' import Text from './Text' import { colors } from '../styles' const PersonImage = styled.img` object-fit: cover; object-position: center; width: 250px; height: 250px; border-radius: 5%; ` const PersonGridItemDiv = styled.div` margin-right: 4...
JavaScript
src/components/PersonGridItem.js
ucladevx/website
mpl-2.0
1,380
61
codeparrot/github-code
7d30b74b5c902080906a014b9287335e133ad041ad6baeb99fce9e819ed7abb0
/* * Copyright (c) 2016 CrystalCraftMC * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ package org.jnbt; import java.io.Closeable; import java.io.DataInputS...
Java
src/main/java/org/jnbt/NBTInputStream.java
CrystalCraftMC/CrystalSpace
mpl-2.0
4,353
155
codeparrot/github-code
0b1968f88e57ef0ef158692a97251af6ee2171f11fa1dcf9282c4258ba74d6da
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #include "WebGLContext.h" #include...
C++
dom/canvas/WebGLContextFramebufferOperations.cpp
Yukarumya/Yukarum-Redfoxes
mpl-2.0
5,848
229
codeparrot/github-code
71cb8daeff90d016f6adced1a2be17209d7d5d242211a6fc418b7639ba4748d4
# mozilla/prettyprinters.py --- infrastructure for SpiderMonkey's auto-loaded pretty-printers. import gdb import re # Decorators for declaring pretty-printers. # # In each case, the decoratee should be a SpiderMonkey-style pretty-printer # factory, taking both a gdb.Value instance and a TypeCache instance as # argume...
Python
js/src/gdb/mozilla/prettyprinters.py
Yukarumya/Yukarum-Redfoxes
mpl-2.0
14,426
369
codeparrot/github-code
8d5c3668ab933e28b3678725f069081255122e7664a44aa6c42cdbcfb9682a64
/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ //! Creates CSS boxes from a DOM tree. use layout::block::BlockFlowData; use layout::float::FloatFlowData; use la...
Rust
src/components/main/layout/box_builder.rs
Aalhad/CanvasRenderingContext2DMozilla
mpl-2.0
27,154
636
codeparrot/github-code
df76c9ebe7c5d38319c9507334c0cf678ccd492ab2d83b66f6f2cf0bf801d2cf
/* * Copyright 2016 - 2021 gary@drinkingtea.net * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ // NOTE: this file is compiled as ARM and not THUMB, so don't...
C++
src/nostalgia/core/gba/irq.arm.cpp
wombatant/nostalgia
mpl-2.0
1,274
52
codeparrot/github-code
3136f8955ad2031e68847deba09881fe39dcd926eaee9451be3a82ed05786ebf
/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ //! Selector matching. use dom::PresentationalHintsSynthetizer; use element_state::*; use error_reporting::Stdout...
Rust
components/style/selector_matching.rs
pathway27/servo
mpl-2.0
19,523
468
codeparrot/github-code
d95c7e1faf52a2ceb040f3b77ffb22c5cc9528bf57ef6fd35ef0d26df79042a9
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="generator" content="rustdoc"> <meta name="description" content="API documentation for the Rust `message` mod in crate `websocket`."> <meta name="keywords"...
HTML
websocket/ws/message/index.html
servo/doc.servo.org
mpl-2.0
4,685
125
codeparrot/github-code
92053254ff31b13886e1a4cf3d2c2c83948c0ad03f995b896663b137d1a5376e
package org.openmrs.module.openhmis.commons.api.entity; import java.util.List; import org.junit.Assert; import org.junit.Before; import org.junit.Test; import org.openmrs.Role; import org.openmrs.api.UserService; import org.openmrs.api.context.Context; import org.openmrs.module.openhmis.commons.api.TestCons...
Java
api/src/test/java/org/openmrs/module/openhmis/commons/api/entity/LazyRoleTest.java
k-joseph/openmrs-module-openhmis.commons
mpl-2.0
917
33
codeparrot/github-code
fba33da058439defa1a7869d5ae049f95adac9b8e37f8347e826bdd75dbfef0b
#include <QMessageBox> #include "LuaConsole.h" #include "runtime/PluginHandler.h" #include "extra/lua/lua.h" #define PROMPT ">> " LuaConsole::LuaConsole(sol::state_view lua, QWidget *parent) : QConsole(parent, LUA_COPYRIGHT), m_lua(lua) { runtime::initialize(m_lua); plugin_handler = nullptr; // Redi...
C++
gui/LuaConsole.cpp
jeychenne/dolmen
mpl-2.0
2,629
112
codeparrot/github-code
ca2fb580110a4b7556c3d2f57b4dce0b6ad1baa20424ec3422e7db2a72ddbb5f
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (the "License"); you may not use this file except in compliance with * the Lic...
C++
layout/printing/nsPrintObject.cpp
tmhorne/celtx
mpl-2.0
3,394
102
codeparrot/github-code
cb5b190b985212805792b2fda3aae8c11e28138f6c95b79ac0a9ab47681ded6d
{% extends 'base.html' %} {% block title %}{{ page_title(_('MDN payment terms')) }}{% endblock %} {% block site_meta %} {{ super() }} {% set seo_description = _('MDN payment terms') %} {% set social_title = _('MDN payment terms') %} <meta property="og:description" content="{{ seo_description }}"> ...
HTML
kuma/payments/jinja2/payments/terms.html
jwhitlock/kuma
mpl-2.0
3,208
63
codeparrot/github-code
245960dd6bb4d438eaeab8e5fac73b8fdb993b7b93c9632a181db0da10216112
package com.ns.mutiphotochoser.sample; import android.app.Activity; import android.content.Intent; import android.graphics.Bitmap; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.util.DisplayMetrics; import android.widget.GridView; import com.nostra13.universalimageloader.cac...
Java
app/src/main/java/com/ns/mutiphotochoser/sample/MainActivity.java
xiaolifan/MutiPhotoChoser
mpl-2.0
4,279
109
codeparrot/github-code
d1b71562ff8201c4087a3673e9228fb05cbb7a131ad7a87f8481d36197fac543
/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #ifndef _CCAPI_H_ #define _CCAPI_H_ #include "mozilla/Assertions.h" #include "mozilla/Util.h" #if defined(__cplu...
C
signaling/src/sipcc/core/includes/ccapi.h
lail3344/fennec_hw_enabling
mpl-2.0
48,139
1,585
codeparrot/github-code
072c4822459590f3eac36bfb34a66ba62042a0a3be6901d9b87e613f4ed5738e
/* -*- Mode: C++; tab-width: 20; indent-tabs-mode: nil; c-basic-offset: 2 -*- * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #ifndef MOZILLA_GFX_TYPES_H_ #define...
C
gfx/2d/Types.h
Yukarumya/Yukarum-Redfoxes
mpl-2.0
13,384
510
codeparrot/github-code
dcd54a9c3dbb8dbba207ad22da057b08bdeac589eceaf7928c134c6099b9ac7b
 namespace Sparkle.Services.Networks.Events { using Sparkle.Common.DataAnnotations; using Sparkle.Entities.Networks; using Sparkle.Services.Networks.Lang; using Sparkle.Services.Networks.Models; using Sparkle.Services.Resources; using SrkToolkit.DataAnnotations; using SrkToolkit.Do...
C#
src/Sparkle.Services/Networks/Events/EditEventRequest.cs
SparkleNetworks/SparkleNetworks
mpl-2.0
4,279
115
codeparrot/github-code
a92be70f2908606575b249626914f3e777b7a459b2a57d62fc6d6135aa61c76f
var shortLink; function getLink(){ var link = document.forms["myForm"]["long_url"].value; var pref_l = document.forms["myForm"]["pref_url"].value; if (str.length == 0) { document.getElementById("result").innerHTML = ""; return; } else { var xmlhttp = new XMLHttpRequest(); xmlhttp.onreadystat...
JavaScript
js/getlink.js
brolaugh/shortLink
mpl-2.0
947
34
codeparrot/github-code
9413b25f2bb276e1da3b708fa5c741592c39e1f0e6c98e87d6a19f0a33310d6e
/* * qtft 视频驱动的 SPI 子系统 * SPI 注册成功后,再进一步注册 framebuffer * * 依赖:spi_bcm2708 (SPI controller driver) * * 注意:不可先加载 spidev (User mode SPI device interface) 模块, * 因为它会占用 chip_select 0~1,导致本模块无法加载。 * * Copyright (C) 2014 concefly <h.wenjian@openrpi.org> * Copyright (C) 2014 openRPi * * 代码遵循GNU协议 * * 文档:? ...
C
video/spi_qtft/qtft_spi.c
openRPi/module
mpl-2.0
3,050
161
codeparrot/github-code
83d0aa600f6aa554b5ed6b8adbe117c3ce5fcc284faf850a0d01c80ceb72e066
/** * software for projectmanagement and documentation * * @FeatureDomain Collaboration * @author Michael Schreiner <michael.schreiner@your-it-fellow.de> * @category collaboration * @copyright Copyright (c) 2014, Michael Schreiner * @...
Java
yaio-app-core/src/main/java/de/yaio/app/core/nodeservice/TaskNodeService.java
das-praktische-schreinerlein/your-all-in-one
mpl-2.0
12,522
264
codeparrot/github-code
0f22cbf7a4f8c3d2227fa08c2defdded0ecc88eae25711ee179143b2841938bd
package orm import ( "gnd.la/orm/driver" ) var ( ErrInTransaction = driver.ErrInTransaction ErrNotInTransaction = driver.ErrNotInTransaction ErrFinished = driver.ErrFinished ) type Tx struct { Orm // Parent orm o *Orm tx driver.Tx done bool } // Begin just returns ErrInTransaction when call...
GO
orm/transaction.go
rainycape/gondola
mpl-2.0
1,921
96
codeparrot/github-code
0445f4faee27c59ad88860502167687df8f61177bb6926d74d68767fae81698c
package bifrost.transaction.wallet import bifrost.{NodeViewComponent, NodeViewModifier, PersistentNodeViewModifier} import bifrost.transaction.Transaction import bifrost.transaction.box.proposition.Proposition import scala.util.Try /** * Abstract interface for Vault, a storage for node-specific informatio...
Scala
src/main/scala/bifrost/transaction/wallet/Vault.scala
Topl/Project-Bifrost
mpl-2.0
846
30
codeparrot/github-code
88f0ef4253e7b8da1097dfec65d7e5d7e3dcb2680dea07fc6eed57dcea091c4d
#ifndef IMAGE_REPO_H_ #define IMAGE_REPO_H_ #include "repo.h" class ImageRepo : public Repo { public: ImageRepo(boost::filesystem::path path, const std::string &expires, std::string correlation_id) : Repo(Uptane::RepositoryType::Image(), std::move(path), expires, std::move(correlation_id)) {} void addBinar...
C
src/uptane_generator/image_repo.h
advancedtelematic/sota_client_cpp
mpl-2.0
1,527
31
codeparrot/github-code
16b8476e6b4d359bb940a5349223fffd8c8cac24d465905d7cea9cbbbefcb349
var OHMS = (function(OHMS) { var LaTeXAnswer = function(question, data) { this.text = data.text; this.max_pts = data.max_pts; this.solution = data.solution; OHMS.Answer.apply(this, arguments); } LaTeXAnswer.prototype = new OHMS.Answer(); LaTeXAnswer.prototype.bind_events = function () { var text...
JavaScript
WWW/js/latexanswer.js
jonathan-taylor/ohms
mpl-2.0
1,506
59
codeparrot/github-code
5da27b2ddf120631fa83f5bd5d5fa7848bd75ce95e13a22fa7f5952153a36530
/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ package notifications import ( "encoding/json" "net/http" h "github.com/ernestio/api-gateway/helpers" "githu...
GO
controllers/notifications/update.go
ErnestIO/api-gateway
mpl-2.0
1,768
82
codeparrot/github-code
0f3f4bc18639d283fcd0957db8d05c6c7bad7993d0f768b64c861d9d1a478a64
//-------------------------------------------------------------------------- // Switcher.cpp - rudimentary context-switching functionality. // ------------------- // copyright : (C) 2007 by Lucian Landry // email : lucian_b_landry@yahoo.com //---------------...
C++
Switcher.cpp
LucianLandry/arctic
mpl-2.0
1,415
48
codeparrot/github-code
fb9232649728919ecb3cf2996e47bddf21c0d43fd7a1d13de748e39fccc857f1
/* * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ import { defaultPlayerStateModel } from './EntityState'; import { createDefaultOnUpdated, createDefaultOnReady...
TypeScript
library/src/camelotunchained/game/GameClientModels/FriendlyTargetState.ts
csegames/Camelot-Unchained
mpl-2.0
1,294
45
codeparrot/github-code
c47d24fe9b6c5e90e053c41d92f0a327c332170a739b6cbf2d579f7a30c14a7d
class RepositoryColumnsController < ApplicationController include InputSanitizeHelper ACTIONS = %i( create index create_html available_asset_type_columns available_columns ).freeze before_action :load_vars, except: ACTIONS before_action :load_vars_nested, only: ACTIONS be...
Ruby
app/controllers/repository_columns_controller.rb
Ducz0r/scinote-web
mpl-2.0
9,080
295
codeparrot/github-code
4af348b7e2e9481db0b9237b6f230b57177430b66773c9ba7708077f3183fc38
/* * Copyright 2004-2013 H2 Group. Multiple-Licensed under the H2 License, * Version 1.0, and under the Eclipse Public License, Version 1.0 * (http://h2database.com/html/license.html). * Initial Developer: H2 Group */ package org.h2.store.fs; import java.io.FileNotFoundException; import java.io.IOException; impor...
Java
src/main/org/h2/store/fs/FilePathZip.java
miloszpiglas/h2mod
mpl-2.0
10,762
396
codeparrot/github-code
909a08c672b29dd3b13d16f43a6e58520fce967a38c68a0c8cede4b721751dcb
<?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>File: match_rule_set.rb</title> <meta http-equiv="Conten...
HTML
doc/files/lib/match_rule_set_rb.html
openlogic/ossdiscovery
agpl-3.0
3,380
146
codeparrot/github-code
5c77a0a338481bcd4fd01e1fe97c3166dd906848aca57d433061636597c6929d
<div class="panel panel-default"> <div class="panel-heading"> <?php if (!empty($advancedCustom->showOnlyEncoderAutomaticResolutions)) { include './index_formats.php'; } ?> </div> <div class="panel-body"> <ul class="nav nav-tabs"> <l...
PHP
view/index_shareVideos.php
DanielnetoDotCom/YouPHPTube-Encoder
agpl-3.0
10,297
194
codeparrot/github-code
34e385e76b8abb31b2e57854cdd18e0ef3d291b56df34b3c7c5c4e42f0ee1ae0
<!DOCTYPE html> <html> <head> <title>Dave's Life On Hold</title> <meta name="description" content="Tales from the edge of the future..." /> <meta name="HandheldFriendly" content="True" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <link rel="stylesheet" type="text/css" href="//fonts.google...
HTML
www/dloh.org/test.html
cthulhuology/blog
agpl-3.0
6,481
124
codeparrot/github-code
4a35150792035977df9bb2f9df1810af18ce6c83fd244caa63a09f14723342f0
<!DOCTYPE html> <html lang="en" > <head> <title>Search - 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/search.html
40423157/2017springcd_hw
agpl-3.0
10,889
250
codeparrot/github-code
7ac1dc2dff560fb2ea0b2f47e8e98d15c48e804a37729489ecb796d301465d54
/* Copyright (C) 2014 Omega software d.o.o. This file is part of Rhetos. 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 (...
C#
CommonConcepts/Plugins/Rhetos.Dom.DefaultConcepts/RowPermissions/RowPermissionsRuleDenyReadCodeGenerator.cs
Rhetos/Rhetos
agpl-3.0
1,778
45
codeparrot/github-code
5b29b04d416c079f6482012781767b99988eaf8583d47b1a733d83aff33ba552
""" Student and course analytics. Serve miscellaneous course and student data """ from shoppingcart.models import PaidCourseRegistration, CouponRedemption, Invoice, RegistrationCodeRedemption from django.contrib.auth.models import User import xmodule.graders as xmgraders from django.core.exceptions import ObjectDoesNo...
Python
lms/djangoapps/instructor_analytics/basic.py
LearnEra/LearnEraPlaftform
agpl-3.0
12,491
285
codeparrot/github-code
068435c7a55e18db6167f356b0efe85a026704542698f06405141e8a6364c57f
package eu.musesproject.server.contextdatareceiver; /* * #%L * MUSES Server * %% * Copyright (C) 2013 - 2014 S2 Grupo * %% * 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 ...
Java
src/main/java/eu/musesproject/server/contextdatareceiver/ConnectionCallbacksImpl.java
MusesProject/MusesServer
agpl-3.0
15,191
390
codeparrot/github-code
e9ddb266db446eef5b611c5bc8655548ab6686d21bade59b9ec592471191c210
/* * Copyright (c) John Murray, 2015. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version....
Java
src/burp/JDHttpListener.java
nccgroup/JDSer-ngng
agpl-3.0
3,595
82
codeparrot/github-code
5e30d4afb2ae8ff7063c1f3e923a1e2e4dd97d184f4d608ec1c5b3999c8bb0f8
/** Released as open source by Gabriel Caudrelier Developed by Gabriel Caudrelier, gabriel dot caudrelier at gmail dot com https://github.com/metrodango/pip3line Released under AGPL see LICENSE for more information **/ #include "masterthread.h" #include <QFile> #include "../tools/textprocessor.h" #include "../tools...
C++
cmdline/masterthread.cpp
metrodango/pip3line
agpl-3.0
3,493
128
codeparrot/github-code
92206e9b130fd284d59088473c0cac2abc044a3875d3a70c3eb3a94bd71aae71
<?php /** * @copyright Copyright (c) 2016, ownCloud, Inc. * * @author Andreas Fischer <bantu@owncloud.com> * @author Björn Schießle <bjoern@schiessle.org> * @author Joas Schilling <coding@schilljs.com> * @author Lukas Reschke <lukas@statuscode.ch> * @author Morris Jobke <hey@morrisjobke.de> * @author Owen Winkl...
PHP
core/Command/Upgrade.php
pixelipo/server
agpl-3.0
11,629
304
codeparrot/github-code
579cbaa1ef1a6c24ae26b5b688184050151540683084596f14e99c5843e56555
$(function() { var cloudmade = L.tileLayer('http://{s}.tile.osm.org/{z}/{x}/{y}.png', { attribution: '&copy; <a href="http://osm.org/copyright">OpenStreetMap</a> contributors' }); var map = L.map('map',{zoom: 15}).addLayer(cloudmade); var osmGeocoder = new L.Control.OSMGeocoder(); map.addCon...
JavaScript
mm-drone-api/src/main/webapp/resources/js/droneApp.js
MicroMappers/Service
agpl-3.0
18,909
502
codeparrot/github-code
83474158342a20921deb84a0463f2d9f3665c8c93f507df26487a78fdaa037f8
using System.Collections.Generic; using System.Collections; using System.Linq; using System; namespace HarkLib.AI { // http://numenta.com/assets/pdf/whitepapers/hierarchical-temporal-memory-cortical-learning-algorithm-0.2.1-en.pdf public class Cell { public CellOutputS...
C#
src/AI/HTM/Cell.cs
OpenHark/HarkLib
agpl-3.0
939
41
codeparrot/github-code
b6a26b96ee276921946c1d8c4667c863a1f2474cdb23607bd75d380453de0540
// =================================================================================================== // _ __ _ _ // | |/ /__ _| | |_ _ _ _ _ __ _ // | ' </ _` | | _| || | '_/ _` | // |_|\_\__,_|_|\__|\_,_|_| \_...
Java
src/main/java/com/kaltura/client/services/KalturaServerNodeService.java
moskiteau/KalturaGeneratedAPIClientsJava
agpl-3.0
6,992
153
codeparrot/github-code
dc9d21fec78dbac2dfdb188da0a608e0f6207008d27f31d02d69dfdf10b7fee1
/** * Copyright (C) 2001-2019 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/tree/NominalSplitCondition.java
aborg0/rapidminer-studio
agpl-3.0
1,988
66
codeparrot/github-code
278b97f5044814583c554bbc84d8ec777c1bcfe0b8477ec93a8baece22de13b7
"""Initial migration Revision ID: 771555241255 Revises: 73b22ccbe472 Create Date: 2017-04-24 09:15:59.549855 """ # revision identifiers, used by Alembic. revision = '771555241255' down_revision = '73b22ccbe472' branch_labels = None depends_on = None from alembic import op import sqlalchemy as sa import residue t...
Python
alembic/versions/771555241255_initial_migration.py
magfest/ubersystem
agpl-3.0
3,407
85
codeparrot/github-code
1dfb085a2e0f32bdccc2fb5bd48b9d07bbea302977dfa671b32fc54dacdcaaa7
/* ================================================================ * Copyright (c) 2000-2003 CollabNet. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * 1. Redistributions of source ...
Java
noodle/src/java/org/tigris/noodle/servlets/NoodleTest.java
stefandtw/feedthecat
agpl-3.0
5,660
138
codeparrot/github-code
6502aff56cf1e26fd1f332ef76b1d893c3eaaafc60be9e2209abdb8ceff147fb
// // Dragon-cpp is for developing GPGPU learning algorithms to play the game of Go. // Copyright (C) 2017 OpsResearch LLC // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published // by the Free Software Foundat...
C
src/libdrgn/Game.h
opsresearch/dragon-cpp
agpl-3.0
1,241
50
codeparrot/github-code
48050b8d2fbe16059175877fe17999c8c858231fcb48b4bffc974409461b8887
<?php namespace Qcm\QuestionnairesBundle\Controller; use Symfony\Component\HttpFoundation\Request; use Symfony\Bundle\FrameworkBundle\Controller\Controller; use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method; use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; use Sensio\Bundle\FrameworkExtraBundle\C...
PHP
src/Qcm/QuestionnairesBundle/Controller/QcmController.php
YoureInTrouble/YoureInTrouble
agpl-3.0
8,869
314
codeparrot/github-code
265d47a22bebb52e3268cc9db5b1e68c125734f10802e0b3a7f60aff2a809f39
/* This file is part of the Xapagy Cognitive Architecture Copyright (C) 2008-2017 Ladislau Boloni 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/org/xapagy/ui/prettyhtml/PwQueryLinks.java
Xapagy/Xapagy
agpl-3.0
18,661
542
codeparrot/github-code
e292e56e326361abf4e55c5b1bd6627bffe959f017c1cf1aeda90f93cb6b92aa
<?php /*-------------------------------------------------------+ | PHP-Fusion Content Management System | Copyright (C) PHP-Fusion Inc | https://www.phpfusion.com/ +--------------------------------------------------------+ | Filename: table-update.php | Author: Core Development Team (coredevs@phpfusion.com) +----------...
PHP
includes/jquery/tables/table-update.php
php-fusion/PHP-Fusion
agpl-3.0
3,702
103
codeparrot/github-code
efab4cd40b9a675214167073ac06921e0b213be99d0b89cf5829a6b730d8af66
# -*- coding: utf-8 -*- ############################################################################## # # OpenERP, Open Source Management Solution # Copyright (C) 2004-2009 Tiny SPRL (<http://tiny.be>). # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU...
Python
openerp/tools/translate.py
quanvm009/codev7
agpl-3.0
45,384
1,126
codeparrot/github-code
8ea31e551ebd7d2997cac64701c82dd83561cd9caa6a34f286c5c8a8040d8ca2
/* * opencog/cogserver/server/BuiltinRequestsModule.cc * * Copyright (C) 2008 by OpenCog Foundation * All Rights Reserved * * Written by Gustavo Gama <gama@vettalabs.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License v3 as...
C++
opencog/cogserver/server/BuiltinRequestsModule.cc
andre-senna/opencog
agpl-3.0
12,465
386
codeparrot/github-code
e7be1d4be8e7c33dc25aa3f90539adf6178cbf5716bc6737dd954088a730dfcf
package net.sf.odinms.net.channel.handler; import java.awt.Point; import java.util.List; import java.util.Random; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import net.sf.odinms.client.MapleClient; import net.sf.odinms.net.MaplePacket; import net.sf.odinms.server.life.MapleMonster; import net.sf.odinms...
Java
src/src/net/sf/odinms/net/channel/handler/MoveLifeHandler.java
Micah-S/hidden-ms
agpl-3.0
4,101
109
codeparrot/github-code
1bd11376239756392992825fe4e326697ddfe13754714aa46cecdb530c2cff12
/** * Basics modules instances * * @author Viacheslav Lotsmanov * @license GNU/AGPLv3 * @see {@link https://github.com/web-izmerenie/jhdanaya/blob/master/LICENSE-AGPLv3|License} */ var $ = require('jquery'); module.exports = { getVal: null, getLocalText: null, dynamicLoadApi: null, loadImg: null, }; // "dy...
JavaScript
bitrix/templates/main/scripts/src/basics.js
web-izmerenie/jhdanaya
agpl-3.0
1,807
89
codeparrot/github-code
4a9aec824454ae4d33c0783def87815ddf6fdfe6169d1369f1ac2ce45aad63f5
<?php /********************************************************************************* * TimeTrex is a Payroll and Time Management program developed by * TimeTrex Payroll Services Copyright (C) 2003 - 2010 TimeTrex Payroll Services. * * This program is free software; you can redistribute it and/or modify it under...
PHP
interface/policy/EditRecurringHoliday.php
joelwreed/TimeTrex
agpl-3.0
5,539
152
codeparrot/github-code
3fc5b62bf8ddb8cce42fa11bfa94c56fcc90b72ba0818668036c0f4173ab248a
module.exports = (bot, logger, helper) => { bot.onText(new RegExp('^/(?:언어변경|언어|lang|langset)+(?:@' + global.botinfo.username + ')? ?$'), async (msg, match) => { if (Math.round((new Date()).getTime() / 1000) - msg.date <= 180) { const chatid = msg.chat.id let temp try { logger.info('chat...
JavaScript
src/modules/c_lang.js
small-sunshines/gjmoribot
agpl-3.0
1,877
43
codeparrot/github-code
ec141df90cfcba25a38ca1489f6a39c78b8abb7ea4ec081c2d5495b2834ee470
/* Copyright 2008-2018 Clipperz Srl This file is part of Clipperz, the online password manager. For further information about its features and functionalities please refer to http://www.clipperz.com. * Clipperz is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Pub...
JavaScript
frontend/delta/js/Clipperz/PM/UI/Components/ExtraFeatures/DataImport/CSV/Labels.js
clipperz/password-manager
agpl-3.0
4,223
123
codeparrot/github-code
2a45eb76c1d7bda8c7f2c629e0c72d05c39b0378a73ed3458f800d2e6c862893
package Sanger::CGP::Vagrent::GenomicRegionDumper::SubstitutionGenomicRegionDumper; ##########LICENCE########## # Copyright (c) 2014 Genome Research Ltd. # # Author: Cancer Genome Project cgpit@sanger.ac.uk # # This file is part of VAGrENT. # # VAGrENT is free software: you can redistribute it and/or modify it under #...
Perl
lib/Sanger/CGP/Vagrent/GenomicRegionDumper/SubstitutionGenomicRegionDumper.pm
cancerit/VAGrENT
agpl-3.0
7,605
234
codeparrot/github-code
7653ffbebf704894f4e42328ddf6454219f1dd39d5b6b456646848e01e1b94aa
/* * This is part of Geomajas, a GIS framework, http://www.geomajas.org/. * * Copyright 2008-2015 Geosparc nv, http://www.geosparc.com/, Belgium. * * The program is available in open source according to the GNU Affero * General Public License. All contributions in this program are covered * by the Geomajas Contr...
Java
plugin/print/impl/src/main/java/org/geomajas/gwt2/plugin/print/client/PrintServiceImpl.java
geomajas/geomajas-project-client-gwt2
agpl-3.0
5,283
129
codeparrot/github-code
119a5a89fab7a5fc3973ec0890e984b92301f9ee8ac581eb829bdc4c8cca9424
class NotifyTicketRelease def run events = Event.where("ticket_release_date = current_date") events.each{ |e| process_event(e) } end def process_event(event) puts "Notifying ticket release for #{event.name}" group_structure = {} addresses = [] Role.find_by_symbol(:admin).users.each { |...
Ruby
app/jobs/notify_ticket_release.rb
kentorgbg/kulturproceduren
agpl-3.0
2,031
63
codeparrot/github-code
569692ecf548ff73b7aa25008ac30ec0b426dd5ffb0a10dab5bb3401e33f2fcd
define('jst/roles/newRole', ["compiled/handlebars_helpers","compiled/util/registerTemplateCss"], function (Handlebars) { var template = Handlebars.template, templates = Handlebars.templates = Handlebars.templates || {}; templates['roles/newRole'] = template(function (Handlebars,depth0,helpers,partials,data) { hel...
JavaScript
public/javascripts/jst/roles/newRole.js
owly/canvassy
agpl-3.0
2,938
56
codeparrot/github-code
6486e76d629680548527b956cb2b5c38bef16df9f636214b491178a890c6c164
############################################## # $Id: 16_STACKABLE_CC.pm 8666 2015-05-30 18:05:25Z rudolfkoenig $ package main; use strict; use warnings; ##################################### sub STACKABLE_CC_Initialize($) { my ($hash) = @_; LoadModule("CUL"); $hash->{Match} = "^\\*"; $hash->{DefFn} =...
Perl
fhem/FHEM/16_STACKABLE_CC.pm
joergps/SmartLogistics
agpl-3.0
7,556
267
codeparrot/github-code
a63ce68f970b594bc20e81a781ee0d8b1b5966239815be8641175fd9ea66c621
import { t } from '@lingui/macro'; import { formatPercentage } from 'common/format'; import SPELLS from 'common/SPELLS'; import { SpellLink } from 'interface'; import Analyzer, { Options, SELECTED_PLAYER } from 'parser/core/Analyzer'; import Events, { ApplyDebuffEvent, DamageEvent, RefreshDebuffEvent, RemoveDeb...
TypeScript
analysis/huntermarksmanship/src/modules/talents/SerpentSting.tsx
anom0ly/WoWAnalyzer
agpl-3.0
7,350
224
codeparrot/github-code
45ba5749322194fee50dfbdccd2a15298e997d7c47ab0ab363835f1896aa0940
<!doctype html> <html class="theme-next mist use-motion" lang="zh-Hans"> <head><meta name="generator" content="Hexo 3.8.0"> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"> <meta http-equiv="Ca...
HTML
archives/2019/05/index.html
RcoIl/RcoIl.github.io
agpl-3.0
27,392
1,114
codeparrot/github-code
9010e4122a8d5f6902a27618c459050cccca601f10995d7c5c22f52e07648c1b
/* * Moon++ Scripts for Ascent MMORPG Server * Copyright (C) 2005-2007 Ascent Team <http://www.ascentemu.com/> * Copyright (C) 2007-2008 Moon++ Team <http://www.moonplusplus.info/> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as pu...
C
src/scripts/src/Common/EasyFunctions.h
albag/Ultraxion-WoW
agpl-3.0
11,427
369
codeparrot/github-code
8e7500faa9d51d5c3a4fdf3697641674ac0efb52c027bd026a1450f656c5338a
/** * Shopware 4.0 * Copyright © 2012 shopware AG * * According to our dual licensing model, this program can be used either * under the terms of the GNU Affero General Public License, version 3, * or under a proprietary license. * * The texts of the GNU Affero General Public License with an additional ...
JavaScript
templates/_default/backend/order/view/batch/window.js
lmaslag/test
agpl-3.0
7,189
233
codeparrot/github-code
de677f3aa51c7fdfeba12d5eccfe7ee20f57192ea22717d9f9378b99cbe0797c
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package jcog.signal.meter.event; import jcog.signal.meter.FunctionMeter; import jcog.util.MutableLong; /** * * @author me */ publi...
Java
util/src/main/java/jcog/signal/meter/event/HitMeter.java
automenta/narchy
agpl-3.0
1,482
71
codeparrot/github-code
d05fa0d0a87b44bf99fc475adf1f13b0b1f889c95d75e6ae83fb7ee1df22e8af
/* * Data Hub Service (DHuS) - For Space data distribution. * Copyright (C) 2013,2014,2015 GAEL Systems * * This file is part of DHuS software sources. * * 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 Fre...
Java
core/src/main/java/fr/gael/dhus/service/StatisticsService.java
jletellier/DataHubSystem
agpl-3.0
7,798
238
codeparrot/github-code
2b0341a373d25634166c44f2f44d7428ca805a5804a6d4a48c114a060b51a083
<?php /********************************************************************************* * Zurmo is a customer relationship management program developed by * Zurmo, Inc. Copyright (C) 2012 Zurmo Inc. * * Zurmo is free software; you can redistribute it and/or modify it under * the terms of t...
PHP
app/protected/extensions/zurmoinc/framework/utils/ListAttributesSelector.php
zurmo/Zurmo
agpl-3.0
6,527
162
codeparrot/github-code
71ea180b799c458a607e737e0d84eb0473f9ca8a7f1789fdd2c9a7263ab08441
import copy import glob import fnmatch import os import logging import yaml log = logging.getLogger("subiquitycore.netplan") def _sanitize_inteface_config(iface_config): for ap, ap_config in iface_config.get('access-points', {}).items(): if 'password' in ap_config: ap_config['password'] = '<R...
Python
subiquitycore/netplan.py
CanonicalLtd/subiquity
agpl-3.0
5,471
164
codeparrot/github-code
67b2bd6c970e3d0ffc7ba95a64c5da5d7cd3c6d1965841020f3900988f7bd912
<?php /** * @author Joas Schilling <coding@schilljs.com> * @author Laurens Post <lkpost@scept.re> * * @copyright Copyright (c) 2016, ownCloud GmbH. * @license AGPL-3.0 * * This code is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License, version 3, ...
PHP
core/Command/User/Add.php
IljaN/core
agpl-3.0
4,689
151
codeparrot/github-code
bfada3e6c07a839903dfaf187ce32ef08e8a769e0a8bf57abd0c21db6849eafa
<?php namespace Chart; /** * Ressource class * @author Anthony * @since 21/05/2013 */ class Ressource{ /** * @var boolean */ private $ieOnly; /** * @var array */ private $ieMaxVersion; /** * @var string */ private $url; /** * Ressource constructor */ public function __construct($url){ $this->url ...
PHP
src/Chart/Ressource.class.php
Gnuk/bcc-tukey
agpl-3.0
782
68
codeparrot/github-code
d280a491b1dd4084b9bf0117a18c5eff08eb99eb083ba1e5e8ccf8fa52a468ef
/* * Copyright 2010, Institute of Geological & Nuclear Sciences Ltd or * third-party contributors as indicated by the @author tags. * * 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, eithe...
Java
src/test/java/gov/usgs/anss/query/filefactory/SacPhasePickTest.java
GeoNet/GeoNetCWBQuery
agpl-3.0
1,571
53
codeparrot/github-code
ff17f6533c14f096b12ccc3eb32ec5f5de481de2eebb01cee83f81182e12d7f3
/******************************************************************************* * (C) Copyright 2016 Jérôme Comte and Dorian Cransac * * This file is part of djigger * * djigger is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published b...
Java
client-ui/src/main/java/io/djigger/aggregation/filter/NodeFilter.java
denkbar/djigger
agpl-3.0
1,679
49
codeparrot/github-code
d4b32978d8c7cbc380e21d289e1a5c4b215a67d21946e495c69a612baba581d8
/** * Copyright (C) 2001-2019 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/tools/math/AverageVector.java
aborg0/rapidminer-studio
agpl-3.0
3,719
135
codeparrot/github-code
6f9ed0714f592531fa2c0c045b0e762fe9ece68205a11c36930ed4bdf5ee6ece
// © 2016 and later: Unicode, Inc. and others. // License & terms of use: http://www.unicode.org/copyright.html /* ******************************************************************************* * Copyright (C) 2012-2016, International Business Machines * Corporation and others. All Rights Reserved. ******************...
C
Src/OSF/icu/icu4c/include/internal/uitercollationiterator.h
papyrussolution/OpenPapyrus
agpl-3.0
4,727
163
codeparrot/github-code
71023b0c4574c29ae8f1bdeba215ff1f0083f6aac6e8f4dbd37d3b422e1054d8
# -*- coding: utf-8 -*- # # http://www.privacyidea.org # (c) cornelius kölbel, privacyidea.org # # 2018-11-21 Cornelius Kölbel <cornelius.koelbel@netknights.it> # Remove the audit log based statistics # 2016-12-20 Cornelius Kölbel <cornelius.koelbel@netknights.it> # Restrict download to certain ti...
Python
privacyidea/api/audit.py
privacyidea/privacyidea
agpl-3.0
4,478
151
codeparrot/github-code
0b8f3f267dec5829ef7e79e116db24dacaa02ed8a028eecbf9b2597a9c1e038f
/* * Electronic Logistics Management Information System (eLMIS) is a supply chain management system for health commodities in a developing country setting. * * Copyright (C) 2015 John Snow, Inc (JSI). This program was produced for the U.S. Agency for International Development (USAID). It was prepared under the USAI...
Java
modules/report/src/main/java/org/openlmis/report/model/report/CategorizationVaccineUtilizationPerformanceReport.java
USAID-DELIVER-PROJECT/elmis
agpl-3.0
1,716
35
codeparrot/github-code
0846d4ac953ca79791c01cb6919eadf9d6671ccbc8dcf69fcc469731341ce415
<?php /* * Fusio * A web-application to create dynamically RESTful APIs * * Copyright (C) 2015-2020 Christoph Kappestein <christoph.kappestein@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 F...
PHP
src/Backend/View/Rate.php
k42b3/fusio-impl
agpl-3.0
3,831
113
codeparrot/github-code
1acdb247b94bfec61e2d6500504252448d63ec32f9a93e1398e65f9d9bd1ae9c
# -*- coding: utf-8 -*- from __future__ import unicode_literals import sys from intelmq.lib import utils from intelmq.lib.bot import Bot from intelmq.lib.harmonization import IPAddress from intelmq.lib.message import Event class CymruFullBogonsParserBot(Bot): def process(self): report = self.receive_mes...
Python
intelmq/bots/parsers/cymru_full_bogons/parser.py
sch3m4/intelmq
agpl-3.0
1,188
44
codeparrot/github-code
d4c941d2d7faf2b38aa8edd10deb39ee8913a100ddf9add3bd0149c29547b12f
/* 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++
src/offLattice/offLatticeBoundaryCondition3D.hh
gladk/palabos
agpl-3.0
30,098
715
codeparrot/github-code
3d6213aa2a3d3bea8881f34b23ac82c09045b72b3440a25de5cb55f2b44d7838
/* * Copyright (C) 2013-2018 The enviroCar project * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. * * ...
Java
rest/src/test/java/org/envirocar/server/rest/encoding/AbstractEncodingTest.java
autermann/enviroCar-server
agpl-3.0
2,558
76
codeparrot/github-code
76b70b6739f033a208b09214d61e2a0c4825ab0427364addc844cf2b3d080a5a
/******** * This file is part of Ext.NET. * * Ext.NET is free software: you can redistribute it and/or modify * it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE as * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. * ...
C#
Ext.Net/Factory/Builder/PieSeriesBuilder.cs
codeyu/Ext.NET.Community
agpl-3.0
6,657
197
codeparrot/github-code
13d6f09f6830d3035dda5a044e435794e5dbdbbce55e02d2d40fbdd7d6c923cf
import codecs input_filename = '/home/jittat/mydoc/directadm53/payment/assignment.csv' quota_filename = '/home/jittat/mydoc/directadm53/payment/quota.txt' output_filename = '/home/jittat/mydoc/directadm53/payment/assignment-added.csv' def read_quota(): q_data = { 'nat_id': {}, 'firstname': {}, ...
Python
scripts/filter_quota.py
jittat/ku-eng-direct-admission
agpl-3.0
1,880
65
codeparrot/github-code
e2a1509abc32c60c0b6fc24bb8bfa7572eb8e60c72cecd949202ab333d0c48d2
<?php declare(strict_types=1); /** * @author Christoph Wurst <christoph@winzerhof-wurst.at> * @author Thomas Müller <thomas.mueller@tmit.eu> * * Mail * * This code is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License, version 3, * as published b...
PHP
lib/Service/ContactsIntegration.php
ChristophWurst/mail
agpl-3.0
2,970
119
codeparrot/github-code
54d984c6d0199b7671c04b13d6193efc08aeb00a58297d03ec22f3c4a3b070f6
/* * Copyright (c) 2009 Digital Bazaar, Inc. All rights reserved. */ #include "bitmunk/portmapper/PortMapper.h" #include "bitmunk/common/Logging.h" #include "monarch/upnp/ControlPoint.h" #include "monarch/upnp/DeviceDiscoverer.h" using namespace monarch::config; using namespace monarch::rt; using namespace monarch:...
C++
cpp/portmapper/PortMapper.cpp
digitalbazaar/bitmunk
agpl-3.0
3,116
146
codeparrot/github-code
cfd2dd4d69417e4e0409ce8902a179e1c6dbcd7ba4d29302f218c99c3f83fadb
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html lang="en"> <head> <title>Source code</title> <link rel="stylesheet" type="text/css" href="../../../../../../stylesheet_fedx.css" title="Style"> </head> <body> <div class="sourceContainer"> <pre><span cla...
HTML
doc/javadoc/src-html/com/fluidops/fedx/evaluation/iterator/FilteringInsertBindingsIteration.html
semagrow/fork-fedX
agpl-3.0
5,877
129
codeparrot/github-code
ff77264f46089062cdc6ae7e0c6c3e3147dfe5d91d0ba46a3dc703a899d5c2aa
""" This module contains celery task functions for handling the management of subtasks. """ from time import time import json from celery.utils.log import get_task_logger from celery.states import SUCCESS, READY_STATES, RETRY from django.db import transaction from django.core.cache import cache from instructor_task....
Python
lms/djangoapps/instructor_task/subtasks.py
abo-abo/edx-platform
agpl-3.0
17,270
365
codeparrot/github-code
463b95591f972ad93d674e3cf188595eed937a58aa20d8952ab0989efaf14a6f
package com.legstar.avro.cob2avro; import static org.junit.Assert.*; import java.util.HashSet; import java.util.Map; import java.util.Set; import org.apache.avro.Schema; import org.apache.avro.generic.GenericRecord; import org.junit.Before; import org.junit.Test; import com.legstar.base.context.CobolContext; import...
Java
legstar.avro.cob2avro/src/test/java/com/legstar/avro/cob2avro/Cob2AvroVisitorTest.java
legsem/legstar.avro
agpl-3.0
20,370
535
codeparrot/github-code
e47352b8a70ef722719d13c2fce43b2fb89772e1b42eb355d89c5f65f8808a49
<?php /** * MyStoriesTable Component. * * Component parameters: * * stories_uid * profile_page * */ class MyStoriesTableComponent extends sfComponent { public function execute($request) { // component parameters $userId = $this->stories_uid; $isProfile = $this->profile_page; // ens...
PHP
src/apps/koohii/modules/study/actions/MyStoriesTableComponent.class.php
kanji-koohii/kanji-koohii
agpl-3.0
2,605
91
codeparrot/github-code
62e376d4e3c1f2668d8a68ae77afa1541a358abb0b247888a5087bec11b87164
package org.bimserver.interfaces.objects; /****************************************************************************** * 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 * publishe...
Java
PluginBase/generated/org/bimserver/interfaces/objects/SServerLog.java
opensourceBIM/BIMserver
agpl-3.0
3,357
137
codeparrot/github-code
425f47847f806a5cf8461137bfb32711103d6dcbc654562dc739ffa7c73166bc
// Copyright 2010-2012 RethinkDB, all rights reserved. #ifndef CLUSTERING_ADMINISTRATION_NAMESPACE_METADATA_HPP_ #define CLUSTERING_ADMINISTRATION_NAMESPACE_METADATA_HPP_ #include <map> #include <set> #include <string> #include <utility> #include "utils.hpp" #include <boost/bind.hpp> #include "clustering/administrat...
C++
src/clustering/administration/namespace_metadata.hpp
isidorn/test2
agpl-3.0
9,495
227
codeparrot/github-code
8c80ce7434139690d0f6ea439bd7fbc6211fb4b14c30081d03fe2f8d864e77a4
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package com.TP1.actions; import com.google.gson.Gson; import com.TP1.Modeles.DAO.Connexion; import com.TP1.Modeles.DAO.QuestionDAO; im...
Java
src/java/com/TP1/actions/FindQuizAction.java
nickbaz/Site-questionnaire-TP1-JavaWeb
agpl-3.0
3,774
116
codeparrot/github-code
021c7cad7271d5ab3fca4b0df70d05a8a49292ce98539050f0c533005dda2cf0
/****************************************************************************** Copyright (C) 2002-2015 Argentum Online & Dakara Online Developers 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 So...
C++
src/General.cpp
DakaraOnline/dakara-server
agpl-3.0
39,782
1,384
codeparrot/github-code