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 |
|---|---|---|---|---|---|---|---|---|
345c0c47e515bcf6fc116788e4e2b604cf6a4e6f5087359fc10c2ab1cb1ba43b | # -*- coding: utf-8 -*-
# © 2011 Raphaël Valyi, Renato Lima, Guewen Baconnier, Sodexis
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
from odoo import api, models, fields
class ExceptionRule(models.Model):
_inherit = 'exception.rule'
rule_group = fields.Selection(
selection_add... | Python | sale_exception/models/sale.py | kittiu/sale-workflow | agpl-3.0 | 2,006 | 72 | codeparrot/github-code |
65d0e0ff710a9fce23d8edf67923ba44d9651f2d9ff8e26cb9ba67ac44b52233 | /**
* Axelor Business Solutions
*
* Copyright (C) 2016 Axelor (<http://axelor.com>).
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License, version 3,
* as published by the Free Software Foundation.
*
* This program is distribute... | Java | axelor-base/src/main/java/com/axelor/apps/report/engine/EmbeddedReportSettings.java | jph-axelor/axelor-business-suite | agpl-3.0 | 1,672 | 64 | codeparrot/github-code |
c5e851edb29bb29f631df61bd3490e7ea39eb2613e4dc029e6b0a88a18244a80 | /*
* See the NOTICE file distributed with this work for additional
* information regarding copyright ownership.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of... | Java | components/gene-panels/api/src/main/java/org/phenotips/panels/internal/DefaultGenePanelFactoryImpl.java | phenotips/phenotips | agpl-3.0 | 3,561 | 100 | codeparrot/github-code |
77664f7fd53a5f8da0687459246bda8adfd40178cfa9e316202644d952126a1f | <?php
/**
* @name FRadios
* @abstract
* @author
* @version 1.0
*/
class FRadios extends ObjetoHTML{
//function FRadios($nombre=null,$idObjeto=null,$titulo=null,$valorPorDefecto=null,$claseEstilo=null,$filas=null,$columnas=null){
function FRadios($idObjeto, $nombre, $propiedades, $tipoSalida... | PHP | ideComponentes/XMLFormulario/ObjetoHTML.1.FRadios.php | ideSoluciones/ideLibrerias | agpl-3.0 | 1,854 | 57 | codeparrot/github-code |
d8090e3af03bb896e0ed478833559d75279380fba3994ab8685d0cd247e4e0b1 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace BloodOfEvil.Utilities
{
/// <summary>
/// Permet de placer un widget (position 2D) à la position 2D correspondant à un point 3D.
/// </summary>
[RequireComponent(typeof(RectTransform))]
public class FollowWidge... | C# | Blood Of Evil/Assets/Project/Scripts/Utilities/Specific To Unity/UI/FollowWidgetTarget.cs | HaddadBenjamin/Blood-Of-Evil-Remake-2 | agpl-3.0 | 902 | 34 | codeparrot/github-code |
227cd0aa79dd2615932c5bd878d0f2b4b999a39d0d33c519c4476e6c23205c5e | /*
* Copyright (C) 2006-2021 Music Technology Group - Universitat Pompeu Fabra
*
* This file is part of Essentia
*
* Essentia is free software: you can redistribute it and/or modify it under
* the terms of the GNU Affero General Public License as published by the Free
* Software Foundation (FSF), either version... | C++ | src/algorithms/rhythm/noveltycurve.cpp | MTG/essentia | agpl-3.0 | 11,968 | 319 | codeparrot/github-code |
8f0b1804a29a56a79db090a7154e41e47681595819ef817726ac542128493f0b | /*
* Copyright (C) 2000 - 2021 Silverpeas
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* As a spec... | Java | core-services/workflow/src/test/java/org/silverpeas/core/workflow/engine/user/TestContext.java | SilverDav/Silverpeas-Core | agpl-3.0 | 5,406 | 147 | codeparrot/github-code |
20a7422ab40f76c9f78d2084c8a35755815ae2c27550f82fe104b9f32a4d3684 | DROP FUNCTION IF EXISTS authz_assessment(bigint,jsonb);
DROP FUNCTION IF EXISTS authz_assessment(bigint,jsonb,text);
DROP FUNCTION IF EXISTS authz_assessment(bigint,jsonb,timestamptz,text);
CREATE OR REPLACE FUNCTION
authz_assessment (
IN assessment_id bigint,
IN authz_data JSONB,
IN req_da... | SQL | sprocs/authz_assessment.sql | jakebailey/PrairieLearn | agpl-3.0 | 2,912 | 77 | codeparrot/github-code |
ed3776303d0819d06e9a74989cc7f26087e72934f3e5d13625cfece3dffbe8a2 | <?php
class LXAccountsBeforeAndAfterSaveMethods
{
// This static array moves between both logics hooks
protected static $fetchedRow = array();
//before_save methods
public function saveFetchedRowBS(&$bean, $event, $arguments)
{
if (!empty($bean->id)) {
self::$fetchedRow[$bean->... | PHP | custom/modules/Accounts/logic_hooks_before_and_after_save.php | lionixevolve/LionixCRM | agpl-3.0 | 2,460 | 69 | codeparrot/github-code |
98d1bdc0b7f60427e378f2254f165dc8b5e6d332ad310a891495fdb3ccd45ffa | <?php /* Smarty version Smarty-3.1.12, created on 2015-11-10 08:30:04
compiled from "/home/gam/themes/Backend/ExtJs/backend/article/view/statistics/list.js" */ ?>
<?php /*%%SmartyHeaderCode:26187293356419cfc310a83-16781450%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->... | PHP | var/cache/production_201510221322/templates/backend_en_GB_a0ba8/86/06/7a/86067a412b8785c84946044ac7202a4e6858133e.snippet.list.js.php | gamchantoi/AgroSHop-UTUAWARDS | agpl-3.0 | 11,697 | 239 | codeparrot/github-code |
f6a6d29ce14746f6660d02ec5359fdaf55ebc99c8f33b6d2b43f16059cdfb153 | package org.powertools.database;
public abstract class Table extends Source {
public final String _tableName;
// TODO: use reflection to determine name?
public final String _instanceName;
public Table(String tableName, String instanceName) {
this._tableName = tableName;
... | Java | power-tools-parent/power-tools-database/src/main/java/org/powertools/database/Table.java | MartinGijsen/PowerTools | agpl-3.0 | 1,220 | 51 | codeparrot/github-code |
06927d257bb5142925250271f6fe447e54429646431193f34eb854b6807299c0 | package notes
import (
"fmt"
"math/rand"
"regexp"
"strings"
"time"
)
const (
DATEFORMATGETPARAM = "02/01/2006"
DATEHOURFORMATPRINT = "02/01/2006 Mon 15:04"
HOURFORMATPRINT = "15:04"
DATEFORMATPRINT = "02 Jan 2006"
DATEFORMATFORHTML = "Monday, 02 January 2006"
MAXWORDSRESUMEBODY = 20
)
var null... | GO | model/notes/note.go | sdemingo/worgenda | agpl-3.0 | 4,350 | 203 | codeparrot/github-code |
cf1f9cd10a902b27d5698e57f33857271ea70902ac29d1d7cced66107e6f3461 | /* Class1_Sub7 - Decompiled by JODE
* Visit http://jode.sourceforge.net/
*/
public class Class1_Sub7 extends Animable {
public static RSString aRSString_2590
= RSString.newRsString("Schlie-8en");
public static int anInt2591;
public int anInt2592;
public static int anInt2593;
... | Java | clients/client508/src/main/java/Class1_Sub7.java | moparisthebest/MoparScape | agpl-3.0 | 11,760 | 292 | codeparrot/github-code |
20f550fff6f0cfbc8a3cd31b6364d5693c184c468878670b2b92e8bd716e412f | import SPELLS from 'common/SPELLS';
import { AbilityEvent, Ability, CastEvent, EndChannelEvent } from 'parser/core/Events';
import { Options } from 'parser/core/Module';
import CoreChanneling from 'parser/shared/modules/Channeling';
import Penance from '../spells/Penance';
const PENANCE_MINIMUM_RECAST_TIME = 3500; //... | TypeScript | analysis/priestdiscipline/src/modules/core/Channeling.ts | Juko8/WoWAnalyzer | agpl-3.0 | 2,306 | 75 | codeparrot/github-code |
b3b5879061b32ca7345db7117aa0fdf0452ebea92433333e5f169b653a6b52b3 | <?php
namespace CanalTP\NavitiaIoCoreApiBundle\Entity;
use Doctrine\ORM\EntityRepository;
use InvalidArgumentException;
class UserRepository extends EntityRepository
{
public function findUsersBetweenDates(
\DateTime $startDate,
\DateTime $endDate,
$sortField = 'id',
$sortOrder = ... | PHP | Entity/UserRepository.php | CanalTP/NavitiaIoCoreApiBundle | agpl-3.0 | 1,294 | 43 | codeparrot/github-code |
0e455deb683c762eb66c4c4e80278fbc1eb865187fe60f750547688ef7282e79 | """
Key-value store that holds XBlock field data read out of Blockstore
"""
from collections import namedtuple
from weakref import WeakKeyDictionary
import logging
from xblock.exceptions import InvalidScopeError, NoSuchDefinition
from xblock.fields import Field, BlockScope, Scope, UserScope, Sentinel
from xblock.fiel... | Python | openedx/core/djangoapps/xblock/runtime/blockstore_field_data.py | stvstnfrd/edx-platform | agpl-3.0 | 16,343 | 353 | codeparrot/github-code |
8dc010feb603e7a27f7f68186f6a77551400b463bc7931893f59110419e89649 | # Yith Library Server is a password storage server.
# Copyright (C) 2012-2013 Yaco Sistemas
# Copyright (C) 2012-2013 Alejandro Blanco Escudero <alejandro.b.e@gmail.com>
# Copyright (C) 2012-2013 Lorenzo Gil Sanchez <lorenzo.gil.sanchez@gmail.com>
#
# This file is part of Yith Library Server.
#
# Yith Library Server is... | Python | yithlibraryserver/user/__init__.py | lorenzogil/yith-library-server | agpl-3.0 | 2,517 | 57 | codeparrot/github-code |
54de93072ca5b27a72d1a2b0d0698923c63c9ec9ddb58f07b6efdacea2ceedf8 | # -*- coding: utf-8 -*-
# This file is part of Mconf-Web, a web application that provides access
# to the Mconf webconferencing system. Copyright (C) 2010-2012 Mconf
#
# This file is licensed under the Affero General Public License version
# 3 or later. See the LICENSE file.
class PrivateMessagesController < Applicati... | Ruby | app/controllers/private_messages_controller.rb | mconftec/mconf-web-cedia | agpl-3.0 | 4,373 | 150 | codeparrot/github-code |
7565fa250c272c382b7f8ad535bab7969a333548aeee286f6c35e31ba3c65f33 | /**
* This file is part of huborcid.
*
* huborcid 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.
*
* huborcid is distri... | Java | src/main/java/it/cineca/pst/huborcid/web/rest/exception/TokenNotFoundException.java | Cineca/OrcidHub | agpl-3.0 | 1,148 | 44 | codeparrot/github-code |
02aac583e9669e62dfe0ef8a597e4c19a361f2e1b2f1a1b1688f153b321eb637 | // i18n.js
App.i18n = {
strings: {},
loaded: false,
setLanguage: function(languageCode, callback) {
this.languageCode = languageCode;
App.localStorage.set('selected_interface_locale', languageCode);
this.loadStrings(callback);
},
getLanguage: function(languageCode) {
return this.languageCode;
},
transla... | JavaScript | public/scripts/app/i18n.js | jeka-kiselyov/dimeshift | agpl-3.0 | 1,657 | 68 | codeparrot/github-code |
29594e9986f95549ab896042ea68e5cb7426d9a8746a8df067c083ca1f700b2f | <!DOCTYPE html>
<html lang="en"
>
<head>
<title>40123232 cdw11 報告 - CDW11 網頁 (虎尾科大MDE)</title>
<!-- Using the latest rendering mode for IE -->
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<styl... | HTML | static/blog/40123232-cdw11-bao-gao.html | 2015fallhw/cdw11 | agpl-3.0 | 34,281 | 669 | codeparrot/github-code |
54bc3bb1735317cb49a30e5bec1a501cc43cd6bf3b119d9b8172b561e43c9ea0 | -- MySQL dump 10.13 Distrib 5.6.25, for debian-linux-gnu (x86_64)
--
-- Host: 192.168.1.15 Database: pipedot
-- ------------------------------------------------------
-- Server version 5.6.25-0ubuntu1
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARAC... | SQL | schema.sql | bet0x/pipecode | agpl-3.0 | 42,302 | 1,372 | codeparrot/github-code |
7ee9a47b73fe5648926a91d398def8d9e2fbfe30ce56b02d17c89663e99c7859 | /*
* ADL Designer
* Copyright (c) 2013-2014 Marand d.o.o. (www.marand.com)
*
* This file is part of ADL2-tools.
*
* ADL2-tools is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of... | Java | designer/src/main/java/org/openehr/designer/repository/AbstractFileBasedArchetypeRepository.java | lonangel/adl-designer | agpl-3.0 | 10,086 | 258 | codeparrot/github-code |
d0c4341406e1bc513aba3f18da09e079a07c8dd6961b47c5664c8cf198218c1d | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml;
using com.paralib.paraquick.qbxml.Serializers;
using System.Xml.Serialization;
namespace com.paralib.paraquick.qbxml
{
public abstract class MsgSet
{
p... | C# | paraquick-qbxml/MsgSet.cs | theparagroup/paraquick | agpl-3.0 | 2,320 | 89 | codeparrot/github-code |
8d4f8afee01b5f718422d69109323877fb8eb7f48156aa2c236ab71ab2033de1 | /*
* Ktunaxa Referral Management System.
*
* Copyright (C) see version control system
*
* 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 y... | Java | map/src/main/java/org/ktunaxa/referral/client/form/DiscussEvaluationForm.java | ktunaxa/rms | agpl-3.0 | 2,031 | 64 | codeparrot/github-code |
1484a190a5e3ad949b4e8a137600f6997c319afde1393eb06901f4c7feee9d1a | package info.nightscout.androidaps.events;
import info.nightscout.androidaps.MainApp;
import info.nightscout.androidaps.R;
/**
* Created by mike on 19.02.2017.
*/
public class EventPumpStatusChanged {
public static final int CONNECTING = 0;
public static final int CONNECTED = 1;
public static final int... | Java | app/src/main/java/info/nightscout/androidaps/events/EventPumpStatusChanged.java | AdrianLxM/AndroidAPS | agpl-3.0 | 1,763 | 61 | codeparrot/github-code |
545c667da4d040047a0f273fbc12aa342d1e11de2f28dd30169b14fb6aa4da3a | /*
Copyright (c) 2014-2019 AscEmu Team <http://www.ascemu.org>
This file is released under the MIT license. See README-MIT for more information.
*/
#include "GuildRankInfo.h"
#include "GuildBankRightsAndSlots.h"
#include "Log.hpp"
#include "Database/Database.h"
#include "Server/MainServerDefines.h"
GuildRankInfo::Gu... | C++ | src/world/Management/GuildRankInfo.cpp | master312/AscEmu | agpl-3.0 | 4,694 | 153 | codeparrot/github-code |
79f242db69263afd27e12a46902fa8011d4b2ff2b104ee128b1b9703e7a9ed09 | /*
* Copyright (C) 2000 - 2013 Silverpeas
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* As a spec... | Java | lib-core/src/main/java/com/silverpeas/thumbnail/control/ThumbnailDummyHandledFile.java | CecileBONIN/Silverpeas-Core | agpl-3.0 | 3,231 | 111 | codeparrot/github-code |
ca17bb14d4f5f6cfe8659c294e76058d0964b83e441729eadecd1a9e8cd02105 | package org.opencps.dossiermgt.scheduler;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;
import com.liferay.portal.kernel.json.JSONArray;
import com.liferay.portal.kernel.json.JSONObject;
public class DossierSyncUtils {
public static final String dossierId = "dossierId";
p... | Java | modules/backend-dossiermgt/backend-dossiermgt-service/src/main/java/org/opencps/dossiermgt/scheduler/DossierSyncUtils.java | VietOpenCPS/opencps-v2 | agpl-3.0 | 1,518 | 59 | codeparrot/github-code |
69bf71a75db8006ca0fb84fbdadd22ff5e758a2651902d22354684cd8d20c358 | /*
* 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... | JavaScript | modules/openlmis-web/src/main/webapp/public/js/demographics/controller/base-demographic-estimate-controller.js | USAID-DELIVER-PROJECT/elmis | agpl-3.0 | 3,940 | 119 | codeparrot/github-code |
ce7a7882f61397298985cc53007580999722a606cb7c003f101431f0f278e74a | /*
* DbUtils.java
EVE Online Ratting Advisor
Copyright (C) 2016 Anibal Muñoz Calero
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published
by the Free Software Foundation, either version 3 of the License, or
... | Java | src/rattingadvisor/DbUtils.java | ANBAL534/EORA | agpl-3.0 | 10,710 | 329 | codeparrot/github-code |
a6f16ae7cecedd761c15ebdfd5161666055d6b7ca4d0ddc07a87d514c3fcee65 | /*
* This program was produced for the U.S. Agency for International Development. It was prepared by the USAID | DELIVER PROJECT, Task Order 4. It is part of a project which utilizes code originally licensed under the terms of the Mozilla Public License (MPL) v2 and therefore is licensed under MPL v2 or later.
*
* T... | JavaScript | modules/openlmis-web/src/main/webapp/public/js/vaccine/demographics/controller/district-demographic-estimate-controller.js | kelvinmbwilo/vims | agpl-3.0 | 3,037 | 84 | codeparrot/github-code |
ec4055f818008507fb0a51e2f2bc30b9d6e45b1dc26c334a82cf361704d4e10e | <?PHP
/**
* OpenEyes
*
* Copyright OpenEyes Foundation, 2017
*
* This file is part of OpenEyes.
* OpenEyes 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 ... | PHP | protected/components/odtTemplateManager/ODTTable.php | FiviumAustralia/OpenEyes | agpl-3.0 | 2,498 | 82 | codeparrot/github-code |
589b770eb37d232b13ca22b6b7db83720808f7d31af350326e64ce0e9bcb8fcb | #!/bin/bash
#Setup a Kyotocabinet database and convert data
set -o errexit -o nounset
KCNAME="/usr/local/tmp/KCKONKORDANZ.db"
function Usage {
echo "usage: $0 [--create-database bsz_concordance_file] issn_to_superior_map outfile"
}
function SetupDatabase {
local mapping_file=$1
kchashmgr create -otr -tc $... | Shell | cpp/rewrite_issn_to_superior_map.sh | ubtue/ub_tools | agpl-3.0 | 1,121 | 45 | codeparrot/github-code |
09f9c1e45ae3de11b01a546510651827f643ad6f26d9e57c2ab5078309c51650 |
{% if user.accounts.mail.usable.count == 0 %}
{% if user.accounts.mail.unusable.count > 0 %}
<div class="alert alert-warning" role="alert">{% trans "No working mail account. Please check your parameters." %}</div>
<div><a
href="{% url 'mailaccount_list_create' %}"
data-tooltip="tooltip"
... | HTML | oneflow/core/templates/sources-list/mail.html | WillianPaiva/1flow | agpl-3.0 | 3,051 | 89 | codeparrot/github-code |
72768c8d45d53542841c75da9e48e5faf13e50c8d160158c754546d0306861a7 | ####################################################################################################
#
# GroupedPurchaseOrder - A Django Application.
# Copyright (C) 2014 Fabrice Salvaire
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public Lic... | Python | GroupedPurchaseOrder/bootstrap/components.py | FabriceSalvaire/grouped-purchase-order | agpl-3.0 | 6,955 | 175 | codeparrot/github-code |
c751d30d07f4537700c6f363a3d721930f98e0a22ca607f91fbb25b4c870779f | /*Copyright (c) Shelloid Systems LLP. All rights reserved.
The use and distribution terms for this software are covered by the
GNU Affero General Public License 3.0 (http://www.gnu.org/licenses/agpl-3.0.html)
which can be found in the file LICENSE at the root of this distribution.
By using this software in any fashion,... | JavaScript | basic-admin/routes/user/signup.js | jayaraj-poroor/vpt-web | agpl-3.0 | 1,917 | 51 | codeparrot/github-code |
80ed020a4ecbba71e87e367a02699bb86a33fecdad131e6eae143fc01928761e | /**
* This file is part of the TA Buddy project.
* Copyright (c) 2013 Alexey Aksenov ezh@ezh.msk.ru
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Affero General Global License version 3
* as published by the Free Software Foundation with the addition of t... | Scala | part-logic/src/main/scala/org/digimead/tabuddy/desktop/logic/ui/wizard/NewGraphWizard.scala | digimead/digi-TABuddy-desktop | agpl-3.0 | 9,313 | 189 | codeparrot/github-code |
daf2f89a5a3e46b96fdb67a983e5d35104f79f4afdb5fd3c5f8eac433cdd5881 | import json
from decimal import Decimal
from django import forms
class MoneyField(forms.DecimalField):
def __init__(self, **kwargs):
kwargs["decimal_places"] = 2
for f in ["min_value", "max_value"]:
if f in kwargs:
kwargs[f] = Decimal(kwargs[f]) / 100
super()._... | Python | agir/donations/form_fields.py | lafranceinsoumise/api-django | agpl-3.0 | 1,946 | 65 | codeparrot/github-code |
4fe9e0314f2fdd6374f6487c4145d9fa1d1e8d3bdb2e05b5eeb5d82ce75f4470 | var BUFFER_SIZE = 2048;
var div = 1;
var context = new AudioContext();
var masterNode = context.createScriptProcessor(BUFFER_SIZE*4, 2, 2);
var nodes = [];
var eqs = [];
loadSample = function(url) {
var request = new XMLHttpRequest();
request.open('GET', url, true);
request.responseType = 'arraybuffer... | JavaScript | test.js | echo66/PhaseVocoderJS | agpl-3.0 | 6,660 | 225 | codeparrot/github-code |
983e38d5cba8389b90d435f7e5075ead77d7362eaf77b275e4ebf6a617359315 | {% extends "front/layout.html" %}
{% load static %}
{% block title %}Les équipes thématiques de l'espace programme{% endblock %}
{% block main %}
<h2>Les équipes thématiques de l'espace programme</h2>
<div class="row">
<div class="col-md-6">
<p><strong>Les équipes thématiques de l'espace programme</str... | HTML | agir/groups/templates/groups/thematic_teams.html | lafranceinsoumise/api-django | agpl-3.0 | 2,731 | 63 | codeparrot/github-code |
4d1f8a145f263b192a49e0ba23eb4163512c7e120c1e55b0fb65983e72672eb3 | // (c) Copyright Fernando Luis Cacciola Carballal 2000-2004
// Use, modification, and distribution is subject to the Boost Software
// License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
// See library home page at http://www.boost.org/libs/numeric/conv... | C++ | tiny_boost/boost/numeric/conversion/conversion_traits.hpp | jbruestle/aggregate_btree | agpl-3.0 | 1,364 | 40 | codeparrot/github-code |
8216bbb92d21216f5d99552a426630b8a30a9dd689536e6817cd8bc73ebcdfd0 | <?php
/**
* @link https://github.com/demodyne/demodyne
* @copyright Copyright (c) 2015-2017 Demodyne (https://www.demodyne.org)
* @license http://www.gnu.org/licenses/agpl.html GNU Affero General Public License
*/
namespace DGIModule\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* CommentThumb
*
* @ORM\... | PHP | module/DGIModule/src/DGIModule/Entity/SearchEntity.php | demodyne/demodyne | agpl-3.0 | 6,122 | 374 | codeparrot/github-code |
b6d42b99ed2a3ba5452923eaba756549f39a00304ba48f4f27312c9479c44210 | <?php
/*
All Emoncms code is released under the GNU Affero General Public License.
See COPYRIGHT.txt and LICENSE.txt.
---------------------------------------------------------------------
Emoncms - open source energy visualisation
Part of the OpenEnergyMonitor project:
http://openenergymonitor... | PHP | Modules/user/user_controller.php | euqip/emoncms | agpl-3.0 | 4,539 | 81 | codeparrot/github-code |
dd0ce2139b1a5a7dca794e7dccb319432e59711cdf24f081cd726e6067792fee | /********
* 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/Ext/Data/AfterRecordDeletedEventArgs.cs | codeyu/Ext.NET.Community | agpl-3.0 | 2,805 | 100 | codeparrot/github-code |
87e2892bb9c7c9bad222fb0c64869d8aa587cd2315854a893ee1c20f10c38d72 | # --
# Kernel/System/CustomerAuth/DB.pm - provides the db authentication
# Copyright (C) 2001-2014 OTRS AG, http://otrs.com/
# --
# This software comes with ABSOLUTELY NO WARRANTY. For details, see
# the enclosed file COPYING for license information (AGPL). If you
# did not receive this file, see http://www.gnu.org/lic... | Perl | Kernel/System/CustomerAuth/DB.pm | PortgasDAce/otrs | agpl-3.0 | 8,793 | 288 | codeparrot/github-code |
6ff0e8949a8814690a30fb6c48bbc7ec27779c9642e5951aad629d04046bae2f | /*
* Asqatasun - Automated webpage assessment
* Copyright (C) 2008-2020 Asqatasun.org
*
* This file is part of Asqatasun.
*
* Asqatasun 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, e... | Java | engine/contentloader/src/test/java/org/asqatasun/contentloader/FileContentLoaderFactoryImplTest.java | Asqatasun/Asqatasun | agpl-3.0 | 2,028 | 67 | codeparrot/github-code |
5bd21d65c8c29034b90152645dc7634e373c07aab0937fc79b38666319c68d57 | /*
************************************************************************
******************* CANADIAN ASTRONOMY DATA CENTRE *******************
************** CENTRE CANADIEN DE DONNÉES ASTRONOMIQUES **************
*
* (c) 2011. (c) 2011.
* Government of Canada Gouver... | Java | cadc-keygen/src/main/java/ca/nrc/cadc/keygen/Main.java | opencadc/core | agpl-3.0 | 6,617 | 159 | codeparrot/github-code |
89f9f386d36387e97b02caf6ebd84d27c0335119e1bf19dd5d51401b7a77a053 | //
// Copyright (C) 2013-2017 University of Amsterdam
//
// 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.
//
/... | C | JASP-Desktop/analysisforms/anovarepeatedmeasuresform.h | aknight1-uva/jasp-desktop | agpl-3.0 | 2,338 | 75 | codeparrot/github-code |
c2de14d46b6ace021194617a2b0963888d1a68517ed3063634815f8bb4de3d50 | /*
* ################################################################
*
* ProActive Parallel Suite(TM): The Java(TM) library for
* Parallel, Distributed, Multi-Core Computing for
* Enterprise Grids & Clouds
*
* Copyright (C) 1997-2015 INRIA/University of
* Nice-Sophia Antipolis/ActiveEon
... | Java | scheduler-portal/src/test/java/org/ow2/proactive_grid_cloud_portal/scheduler/client/SchedulerModelImplTest.java | lpellegr/scheduling-portal | agpl-3.0 | 6,556 | 177 | codeparrot/github-code |
1b2c6fe44d8df228a3f3774137902648e57ebdaacd43c117afca7b96fa0014c1 | /*
* ################################################################
*
* ProActive Parallel Suite(TM): The Java(TM) library for
* Parallel, Distributed, Multi-Core Computing for
* Enterprise Grids & Clouds
*
* Copyright (C) 1997-2011 INRIA/University of
* Nice-Sophia Antipolis/ActiveEon
... | Java | src/resource-manager/src/org/ow2/proactive/resourcemanager/selection/SelectionManager.java | acontes/scheduling | agpl-3.0 | 21,348 | 526 | codeparrot/github-code |
14f3fc70666da20053f4b0d426fbe88cbc1132c777da7d04dcfea160852e93d5 | {% extends "bootstrap/base.html" %}
{% import "bootstrap/wtf.html" as wtf %}
{% import "bootstrap/fixes.html" as fixes %}
{% from "bootstrap/utils.html" import flashed_messages %}
{% from "macroses.html" import metrika %}
{% block navbar %}
{{ nav.top_nav.render(renderer='myrenderer') }}
{% endblock %}
{% block c... | HTML | MWUI/templates/layout.html | deljus/predictor | agpl-3.0 | 1,817 | 62 | codeparrot/github-code |
5c824998140d06f36860811f8045e7e472fe5ba8b3d80d53dd73b5c9039414b1 | // Copyright 2013, 2014 Canonical Ltd.
// Licensed under the AGPLv3, see LICENCE file for details.
package local
import (
"fmt"
"io/ioutil"
"os"
"os/exec"
"path/filepath"
"regexp"
"strings"
"sync"
"syscall"
"github.com/juju/errors"
"github.com/juju/utils/arch"
"github.com/juju/utils/proxy"
"github.com/j... | GO | provider/local/environ.go | fwereade/juju | agpl-3.0 | 19,101 | 585 | codeparrot/github-code |
def534c70e3ca559b8a12a30cf95235801dd46522e86e18f9b3b39b1bed95208 | /*
* jHears, acoustic fingerprinting framework.
* Copyright (C) 2009-2010 Juha Heljoranta.
*
* This file is part of jHears.
*
* jHears is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either ver... | Java | jhears-server/src/main/java/org/jhears/server/SegmentCacheSearch.java | inter6/jHears | agpl-3.0 | 9,028 | 292 | codeparrot/github-code |
cac0ac183086b23580a3c42eee2be0424570e0073f7ad6655c5259d90ea4d75a | # include <worldlib.h>
# include <worldlib/proximity.h>
# include <devlib.h>
# include <type.h>
# include <data.h>
/*
* This keeps track of forward and reverse relations between objects and
* object details. This replaces the PLACEMENT_D service. By distributing
* this, we can scale to larger worlds and not run int... | C | mud/usr/WorldLib/lib/comp/relations.c | jgsmith/second-contract | agpl-3.0 | 10,335 | 364 | codeparrot/github-code |
4894567778133fbd27642889d1dba8f356e521adea7724c58b5e16f62a6ae2e1 | {% load staticfiles %}
<script src="{% static 'js/leaflet.js' %}"></script>
<script>
var map = L.map('map');
var osm = L.tileLayer('http://{s}.tile.osm.org/{z}/{x}/{y}.png', {
attribution: '© <a href="http://osm.org/copyright">OpenStreetMap</a> contributors'
});
osm.addTo(map);
map.s... | HTML | casv/core/templates/core/map.html | igor-rodrigues01/casv | agpl-3.0 | 941 | 37 | codeparrot/github-code |
6b1944c00896a420b35a8331454bb3636ad0b02b1dbc8136fc404f503b5726ac | var C = crel2;
var ventana = API.widget.create();
var textarea;
C(ventana,
C('button', ['onclick', local_set_test], 'LOCAL SET test'),
C('button', ['onclick', local_get_test], 'LOCAL GET test'),
C('button', ['onclick', local_delete_test], 'LOCAL DELETE test'),
C('button', ['onclick', local_delete_all_test], 'LO... | JavaScript | widgets/test/main.js | forestrf/CoolStartNet | agpl-3.0 | 6,066 | 280 | codeparrot/github-code |
642c5c63bc47b4d175f1f069baff61b7ce7f746991da1fe3096a94ac5bcd6af3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Claims;
using System.Threading.Tasks;
using Merp.Registry.CommandStack.Commands;
using Merp.Registry.Web.Api.Internal.Models.Company;
using Microsoft.AspNetCore.Http;
using Rebus.Bus;
namespace Merp.Registry.Web.Api.Internal.Work... | C# | src/Merp.Registry.Web.Api.Internal/WorkerServices/CompanyControllerWorkerServices.cs | mastreeno/Merp | agpl-3.0 | 2,311 | 64 | codeparrot/github-code |
1effe09629531a575b3dbf7904b29ae26f2b1c51d4dc13a8a38649dff16da719 | <?php
/**
* @author Jörn Friedrich Dreyer <jfd@butonic.de>
* @author Morris Jobke <hey@morrisjobke.de>
* @author Robin Appelman <icewind@owncloud.com>
* @author Robin McCorkell <robin@mccorkell.me.uk>
* @author Stefan Weil <sw@weilnetz.de>
* @author Vincent Petry <pvince81@owncloud.com>
*
* @copyright Copyright... | PHP | lib/private/Files/Storage/Wrapper/PermissionsMask.php | jacklicn/owncloud | agpl-3.0 | 4,606 | 139 | codeparrot/github-code |
40650ef3d9dc12ee39e89d076a0225ea5debe409766171690d74b6a36a742f0f | /*
* Kuali Coeus, a comprehensive research administration system for higher education.
*
* 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, eithe... | Java | coeus-impl/src/test/java/org/kuali/kra/award/printing/service/impl/AwardPrintingServiceImplTest.java | ColostateResearchServices/kc | agpl-3.0 | 8,656 | 202 | codeparrot/github-code |
5b122db8d1456f2e100c3597d4dd53cd3c96af72f59c2d93f7557cb5e6a68fbc | (function() {
"use strict";
angular.module("blocktrail.setup")
.factory("newAccountFormService", function($log, $http, $q, _, cryptoJS, device, CONFIG, launchService, settingsService, trackingService) {
return new NewAccountFormService($log, $http, $q, _, cryptoJS, device, CONFIG, launc... | JavaScript | src/js/modules/setup/services/new-account-form/new-account-form.service.js | blocktrail/blocktrail-wallet | agpl-3.0 | 4,234 | 124 | codeparrot/github-code |
91f3ad50dbcaddc1b4642968430c31b789b9ec13e74bc541cafe6b2e12dc4f95 | # Copyright (c) 2015 Ultimaker B.V.
# Uranium is released under the terms of the AGPLv3 or higher.
import sys
import os
import signal
import platform
from PyQt5.QtCore import Qt, QObject, QCoreApplication, QEvent, pyqtSlot, QLocale, QTranslator, QLibraryInfo, QT_VERSION_STR, PYQT_VERSION_STR
from PyQt5.QtQml import Q... | Python | UM/Qt/QtApplication.py | onitake/Uranium | agpl-3.0 | 13,585 | 339 | codeparrot/github-code |
a3f46f0286fb00276647b44a277b71b50487eb509f294a909d501cbc38fac935 | package dynagent.common.basicobjects;
public class EssentialProperty implements Cloneable{
private Integer uTask=null;
private Integer idto=null;
private Integer prop=null;
private String uTaskName=null;
private String idtoName=null;
private String propName=null;
public EssentialProperty(Integer uTask, Inte... | Java | Common/src/dynagent/common/basicobjects/EssentialProperty.java | semantic-web-software/dynagent | agpl-3.0 | 1,653 | 72 | codeparrot/github-code |
557e19f11fab4c8d958e4a5017124ac5b24f5eaea920249c364fd00175de93c7 | """
Asset compilation and collection.
"""
from __future__ import print_function
import argparse
from paver.easy import sh, path, task, cmdopts, needs, consume_args, call_task
from watchdog.observers import Observer
from watchdog.events import PatternMatchingEventHandler
import glob
import traceback
from .utils.envs imp... | Python | pavelib/assets.py | torchingloom/edx-platform | agpl-3.0 | 6,729 | 235 | codeparrot/github-code |
f0be32aceeec4aa87c980e9ead0be4802a8ca8cebeb1d47c618e1c242f59122a | using System;
using System.Collections.Generic;
using System.Linq;
using Newtonsoft.Json;
using ToSic.Eav.Data;
using ToSic.Eav.Data.Shared;
using ToSic.Eav.ImportExport.Json.V1;
namespace ToSic.Eav.ImportExport.Json
{
public partial class JsonSerializer
{
public string Serialize(IContentType contentT... | C# | ToSic.Eav.ImportExport/Json/JsonSerializer_ContentType.cs | 2sic/eav-server | agpl-3.0 | 5,090 | 118 | codeparrot/github-code |
24f90daef2232fe90147ccaee053ba7c049dbb6abd6cfe0aea1d192afb91fb29 | /**
* Copyright (C) 2016 splone UG
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License, version 3,
* as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,... | C | src/rpc/connection/connection.h | splone/splonebox-core | agpl-3.0 | 1,878 | 58 | codeparrot/github-code |
fde12af470188a5ec93be049bfbc00ab164bf8c993c50e60e7badcd8402e629f | /* Copyright 2018 Onestein
* License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). */
odoo.define('website_lazy_load_image.lazy_image_loader', function (require) {
'use strict';
var Class = require('web.Class');
var mixins = require('web.mixins');
/**
* Handles lazy loading of images.
... | JavaScript | website_lazy_load_image/static/src/js/frontend.js | Vauxoo/website | agpl-3.0 | 3,060 | 110 | codeparrot/github-code |
8492abca57040096e03049499dd3f97949694a5bf48a756425ca031a53cefcee | /* @flow */
import React, { Component, PropTypes } from 'react';
import ReactNative from 'react-native';
import shallowEqual from 'shallowequal';
import Colors from '../../../Colors';
import AppText from '../AppText';
import ListItem from '../ListItem';
import Icon from '../Icon';
import Time from '../Time';
import Ac... | JavaScript | src/ui/components/views/Homescreen/RoomItem.js | Anup-Allamsetty/pure | agpl-3.0 | 3,980 | 195 | codeparrot/github-code |
40604f2ba219d125e457a575063eb20e5ef6beb2787a3db82dd40fd177c8000e | /*
* Include everything.
*/
var net = require('net');
var MudClient = require("./mudclient.js");
var MudRooms = require("./mudrooms.js");
/*
* I wanted to make this a field on a MudServer class and node decided it wanted to monkeypatch my scope and break that idea.
*/
var clients = []
/*
* As much as I feel thi... | JavaScript | mudserver.js | duaneking/nodejs-derpmud | agpl-3.0 | 6,399 | 260 | codeparrot/github-code |
2f25723eeb91f70e93b01be46e9d5fd546839a98bc4e360c0b6db35fce8167ab | // Xerus - A General Purpose Tensor Library
// Copyright (C) 2014-2017 Benjamin Huber and Sebastian Wolf.
//
// Xerus is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as published
// by the Free Software Foundation, either version 3 of the License,... | C++ | src/xerus/tensorNetwork.cpp | libxerus/xerus | agpl-3.0 | 55,043 | 1,508 | codeparrot/github-code |
e34f62c568f079a9be6479c57343acc81b401ef8d87cea83666f94196f7020df | <?php
// Copyright (C) 2010-2015 Combodo SARL
//
// This file is part of iTop.
//
// iTop 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 ... | PHP | application/webpage.class.inc.php | changi67/itop | agpl-3.0 | 35,137 | 1,243 | codeparrot/github-code |
9599b0e5b335e8aebf6e974e4a00d3df1b96aa12dcc01cbe14915679c736389d | <?php
/*********************************************************************************
* LdShake is a platform for the social sharing and co-edition of learning designs
* Copyright (C) 2009-2012, Universitat Pompeu Fabra, Barcelona.
*
* (Contributors, alpha. order) Abenia, P., Carralero, M.A., Chacón, J., He... | PHP | mod/lds/views/default/lds/browselist.php | GTI-Learning/LdShake | agpl-3.0 | 5,474 | 98 | codeparrot/github-code |
d05f62227fcda2c56f70eca76b2a063e0399faaab3a6b94c3e71c76104da6706 | <?php
/**
* Part of the Fuel framework.
*
* @package Fuel
* @version 1.5
* @author Fuel Development Team
* @license MIT License
* @copyright 2010 - 2013 Fuel Development Team
* @link http://fuelphp.com
*/
define('DS', DIRECTORY_SEPARATOR);
define('CRLF', chr(13).chr(10));
setup_autoloader... | PHP | fuel/core/bootstrap.php | elmuerte/steamfruitcake | agpl-3.0 | 11,768 | 250 | codeparrot/github-code |
fe728f6debb8f24da43d2ae9053b8e892a8d9c833cb571b4abb05e96e1246a2f | /*
* Copyright 2011-2014 Matthew Cosand
*/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data.Entity.Spatial;
using System.Data.Entity;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Kcsara.Da... | C# | src/website/Models/MeshNodeStatus.cs | mcosand/KCSARA-Database | agpl-3.0 | 1,372 | 51 | codeparrot/github-code |
376dbb5a8c6075266242de2af632e4e5553e6b8b5d20a39d68cfb14c279116b3 | <?php
/**
*
* SugarCRM Community Edition is a customer relationship management program developed by
* SugarCRM, Inc. Copyright (C) 2004-2013 SugarCRM Inc.
*
* SuiteCRM is an extension to SugarCRM Community Edition developed by SalesAgility Ltd.
* Copyright (C) 2011 - 2018 SalesAgility Ltd.
*
* This program is f... | PHP | modules/Administration/PasswordManager.php | pgorod/SuiteCRM | agpl-3.0 | 8,780 | 213 | codeparrot/github-code |
64b2fc7aa3f23337077a8c1bc985090ae0b4dcdc93760bf2a61c3deb3b7f4593 | import React, { useRef, useState, useLayoutEffect, useEffect } from 'react';
import { GrafanaTheme, DataQueryError, LogRowModel, textUtil } from '@grafana/data';
import { css, cx } from '@emotion/css';
import { Alert } from '../Alert/Alert';
import { LogRowContextRows, LogRowContextQueryErrors, HasMoreContextRows } fr... | TypeScript | packages/grafana-ui/src/components/Logs/LogRowContext.tsx | grafana/grafana | agpl-3.0 | 6,927 | 237 | codeparrot/github-code |
5f1cce50b0582e5a1fb49722264550d5a9029c3ac9276a36e01cef1740495b18 | package org.bimserver.notifications;
/******************************************************************************
* 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 th... | Java | BimServer/src/org/bimserver/notifications/ChangeProgressTopicOnRevisionTopic.java | opensourceBIM/BIMserver | agpl-3.0 | 1,976 | 48 | codeparrot/github-code |
800ca9c9ec8a835de0ab836e7d280dbf99e9cd6758d249e719f8709489b98080 | //Create an event node
var Event = (function($) { return function(properties) {
this.properties = properties;
this.blip = null;
this.listing = null;
this.className = properties.event_type_name.replace(/[^\w]/ig,"-").toLowerCase();
this.LatLng = [parseFloat(this.properties.latitude),
... | JavaScript | js/MapManager.js | Bernie-2016/EventMap | agpl-3.0 | 31,622 | 776 | codeparrot/github-code |
047d1b433be02aa476101cfe0721cd50c5df75601077ed494fdfb43930f2e3b1 | export default (original) => {
const url = getHashUrl(original);
let [path, params] = url.split('?');
if (path.length >= 2) {
path = path.replace(/\/$/, '');
}
if (params) {
params = parseSearchParams(params);
} else {
params = {}
}
const actual = path + joinSearchParams(params);
ret... | JavaScript | src/util/parseUrl.js | regenduft/kartevonmorgen | agpl-3.0 | 1,271 | 69 | codeparrot/github-code |
b938d5e7eb6fcf55223cb13912e79fbb317972734eb973f6a32f1e7dd8d2ca46 | /*
XOWA: the XOWA Offline Wiki Application
Copyright (C) 2012 gnosygnu@gmail.com
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later ... | Java | dev/400_xowa/src_490_xnde/gplx/xowa/Xop_xnde_wkr__include_basic_tst.java | crosslink/xowa | agpl-3.0 | 4,080 | 83 | codeparrot/github-code |
067996dcd1d15030de32ecba9ed93d5acdd190337f521197eea5a4aa86f0f2a1 | <?php
/*-------------------------------------------------------+
| PHP-Fusion Content Management System
| Copyright (C) PHP-Fusion Inc
| https://www.php-fusion.co.uk/
+--------------------------------------------------------+
| Filename: gallery/gallery_admin.php
| Author: PHP-Fusion Development Team
+-----------------... | PHP | infusions/gallery/gallery_admin.php | slb4life/php-fusion | agpl-3.0 | 22,221 | 472 | codeparrot/github-code |
3565e83e063ab8dd3de949eacfad59dcf159380fa305111c9a38e691deac2443 | /*
* decaffeinate suggestions:
* DS207: Consider shorter variations of null checks
* Full docs: https://github.com/decaffeinate/decaffeinate/blob/master/docs/suggestions.md
*/
//##############################################################################
//
// CoCalc: Collaborative web-based calculation
// Copyri... | JavaScript | src/smc-util/immutable-types.js | DrXyzzy/smc | agpl-3.0 | 3,924 | 138 | codeparrot/github-code |
dbd0221b35d7f90a878e94183d6f93ea8556ad4bd751a83012594ce110742baf | /*
* Food Inspector - Choose well to eat better
* Copyright (C) 2016 Frédéric Letellier
*
* 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 th... | Java | app/src/main/java/com/fredericletellier/foodinspector/data/source/remote/CountryCategoryRemoteDataSource.java | fredericletellier/udacity-capstone | agpl-3.0 | 4,314 | 103 | codeparrot/github-code |
f7880cd00879df952bf2908a9d853a046de2d9e81abab2db00b5e4e82e0f7223 | // Copyright 2010-2014 RethinkDB, all rights reserved.
#ifndef CLUSTERING_ADMINISTRATION_SERVERS_CONFIG_CLIENT_HPP_
#define CLUSTERING_ADMINISTRATION_SERVERS_CONFIG_CLIENT_HPP_
#include <map>
#include <set>
#include <string>
#include "containers/incremental_lenses.hpp"
#include "clustering/administration/metadata.hpp... | C++ | src/clustering/administration/servers/config_client.hpp | sebadiaz/rethinkdb | agpl-3.0 | 3,584 | 89 | codeparrot/github-code |
9ea4d092acd4890d0eaa4a71a46cc3fc4dd0670eaa72085bab2994a20a9d514e | module Api
class EnterprisesController < Spree::Api::BaseController
before_filter :override_owner, only: [:create, :update]
before_filter :check_type, only: :update
before_filter :override_sells, only: [:create, :update]
before_filter :override_visible, only: [:create, :update]
respond_to :json
... | Ruby | app/controllers/api/enterprises_controller.rb | oeoeaio/openfoodnetwork | agpl-3.0 | 2,325 | 76 | codeparrot/github-code |
b46848520819af294b0c13150896f278942ea0f4eb05749de7deeeef3e63333f | # SPDX-License-Identifier: AGPL-3.0-or-later
# lint: pylint
# pylint: disable=missing-module-docstring, missing-function-docstring
import typing
import math
import contextlib
from timeit import default_timer
from operator import itemgetter
from searx.engines import engines
from .models import HistogramStorage, Counte... | Python | searx/metrics/__init__.py | dalf/searx | agpl-3.0 | 8,348 | 234 | codeparrot/github-code |
4a02e7184d9d8eb5e6b8b87852860d23cc4f1d9ce7f29890e125439b7216e3e6 | #!/usr/bin/env python
# encoding: utf-8
import os
import geoip2.database
from geoip2.errors import AddressNotFoundError
from cortexutils.analyzer import Analyzer
class MaxMindAnalyzer(Analyzer):
def dump_city(self, city):
return {
'confidence': city.confidence,
'geoname_id': city.... | Python | analyzers/MaxMind/geo.py | CERT-BDF/Cortex-Analyzers | agpl-3.0 | 3,380 | 101 | codeparrot/github-code |
3428044719fef2c50e59f8a60ea4f8fc5cf4a9e6b5e53ec7c5f2b43ca8c55d33 | <?php namespace Dotink\Flourish {
/**
* Represents a directory on the filesystem, also provides static directory-related methods
*
* @copyright Copyright (c) 2007-2011 Will Bond, others
* @author Will Bond [wb] <will@flourishlib.com>
* @author Will Bond, iMarc LLC [wb-imarc] <will@imarc.net>
* @a... | PHP | src/Directory.php | dotink/flourish-filesystem | agpl-3.0 | 14,671 | 567 | codeparrot/github-code |
178e6e47881959090b97a0a60ef54d2db5e6197586db266955e40f517d8cd920 | var PlayerWrapper = function() {
this.underlyingPlayer = 'aurora';
this.aurora = {};
this.sm2 = {};
this.duration = 0;
this.volume = 100;
return this;
};
PlayerWrapper.prototype = _.extend({}, OC.Backbone.Events);
PlayerWrapper.prototype.play = function() {
switch(this.underlyingPlayer) {
case 'sm2':
thi... | JavaScript | js/app/playerwrapper.js | pellaeon/music | agpl-3.0 | 4,269 | 173 | codeparrot/github-code |
061c3924950def4eb4d177314e1a085325f00eaabdbf6cc77e8c071872deb5fe | package controllers
/*
import javax.inject.Inject
import com.mohiva.play.silhouette.api._
import com.mohiva.play.silhouette.api.exceptions.ProviderException
import com.mohiva.play.silhouette.api.repositories.AuthInfoRepository
import com.mohiva.play.silhouette.impl.providers._
import models.services.UserService
import... | Scala | project/app/controllers/SocialAuthController.scala | yoo-haemin/hufs-planner | agpl-3.0 | 2,685 | 68 | codeparrot/github-code |
8f094022165876dcb3472a54c83abbda128e2a90f0a124bba91f2bec597ebbc6 | //------------------------------------------------------------------------------
// Copyright (c) 2012, 2013, 2014, 2015 Francesco Paraggio.
//
// Author: Francesco Paraggio fparaggio@gmail.com
//
// This file is part of WindSimBattery
//
// WindSimBattery is free software: you can redistribute it and/or modify it ... | C# | WindSim.Batch.Core/BatchRun.cs | fparaggio/WindSimBattery | agpl-3.0 | 5,052 | 109 | codeparrot/github-code |
81771358bfa0918feb83ac77c20ee809abac28953271bd2f3d5e0bb24385aa49 | using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Estream.Cart42.Web.Domain
{
public class Upload
{
[Key, DatabaseGenerated(DatabaseGeneratedO... | C# | eStream.Store/Domain/Uploads.cs | eStream/Cart42 | agpl-3.0 | 837 | 34 | codeparrot/github-code |
5fb8f6671b10e4395dcabe0bf98d749438b584012fd939707a0bab1a45d58e4d |
<div class="card">
<div class="card-divider">
{% if task.assignment %}
<h4>{{ task.assignment.article.title|safe }}</h4>
{% else %}
<h4>{{ task.proofing_task.assignment.article.title|safe }}</h4>
{% endif %}
</div>
<div class="card-section">
{% if typ... | HTML | src/templates/admin/elements/proofing/proofreader_card.html | BirkbeckCTP/janeway | agpl-3.0 | 1,386 | 33 | codeparrot/github-code |
6243e334675dc3c5f6e5b2f1e87f1faf08fa7d7d2f6fa7b3543c7c16d5f38a30 | package no.smalltypes.telephone.norway;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import no.smalltypes.telephone.IllegalPhoneNumberException;
public final class NorwegianLandlineNumber extends NorwegianPhoneNumber {
private static final Pattern pattern = Pattern.compile("(\\d{2})(\\d{2})(\\d{2... | Java | src/main/java/no/smalltypes/telephone/norway/NorwegianLandlineNumber.java | Haakon-Lotveit/SmallObjects | agpl-3.0 | 3,269 | 77 | codeparrot/github-code |
9bbfec6736525baecbda08645c61cf1a1dd97b4f1ac5737779164447b4e5ca7f | <?php
namespace App\Http\Controllers;
use Exception;
use GrahamCampbell\Binput\Facades\Binput;
use App\Facades\PageRepository;
use App\Http\Requests\PageRequest;
use App\Models\Page;
use App\Services\GridService;
use App\Services\PagesService;
use GrahamCampbell\Credentials\Facades\Credentials;
use Illuminate\Support... | PHP | app/Http/Controllers/PageController.php | laracmf/laracmf | agpl-3.0 | 7,436 | 287 | codeparrot/github-code |
2091ec4e1ad763a710a64e9781b70b53cb492b44bdf47021ae46e0b34b89013f | package gplx.gfui.controls; import gplx.*; import gplx.gfui.*;
import gplx.gfui.draws.*; import gplx.gfui.gfxs.*;
import gplx.core.strings.*;
public class GfuiBorderMgr {
public PenAdp All() {return all;} public GfuiBorderMgr All_(PenAdp v) {SyncPens(true); all = v; return this;} PenAdp all;
public PenAdp Left(... | Java | _150_gfui/src/main/java/gplx/gfui/controls/GfuiBorderMgr.java | gnosygnu/xowa_android | agpl-3.0 | 2,676 | 54 | codeparrot/github-code |
d303b8267300b9f684a167c9c43e061f19e86534aa6fe3703de36c1793bbf217 | <title>Android Player SDK and Environment Setup - Getting Started</title>
<meta name="description" content="VPaaS allows you to build cloud video services, supplies SDKs, and works on all devices, media workflows, and applications. Pay as you go.
">
<meta property="st:title" content="Android Player SDK and En... | HTML | assets/documentation/Mobile-Video-Player-SDKs/Android-Getting-Started.html | kaltura/developer-platform | agpl-3.0 | 10,241 | 267 | codeparrot/github-code |
2ef4a3dc4c658cac8d7336731f5aa0c2c5a576a31dac421aab0a5daedf210ccc | class Author < ActiveRecord::Base
has_many :topic_notifications, :dependent => :destroy
attr_accessible :author_email, :notify_me, :last_posted_at
scope :get_user, lambda{ |email| where('author_email = ?', email) }
def Author.notifier?(author_email)
author = Author.where(author_email:author_email).firs... | Ruby | app/models/author.rb | asharma-ror/bbc | agpl-3.0 | 1,070 | 37 | codeparrot/github-code |
6670fd5bfc474730cd3e33728611faf3280437d5aa8077fcab33406f47bf238a | /*
* Copyright (C) 2019 ScyllaDB
*/
/*
* This file is part of Scylla.
*
* Scylla 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... | C++ | cql3/statements/function_statement.hh | avikivity/scylla | agpl-3.0 | 2,724 | 73 | codeparrot/github-code |
f85e4a9e1ac14dbc4d3394b5cc70cdeb0ce3dcf69a8740de478295a937af9e78 | <?php defined('SYSPATH') or die('No direct script access.');
/***********************************************************
* add1.php - View
* This software is copy righted by Etherton Technologies Ltd. 2011
* Writen by John Etherton <john@ethertontech.com>
* Started on 12/06/2011
***************************************... | PHP | application/views/mymaps/add2.php | kobotoolbox/kobomaps | agpl-3.0 | 7,188 | 229 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.