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 |
|---|---|---|---|---|---|---|---|---|
7aecdd1ff2cfa36cbc4abed8d6067320b2831b6ff088b10b63f675164257a3fb | import { PassThrough } from 'stream';
import { S3 } from 'aws-sdk';
import * as bodyParser from 'body-parser';
import { MD5 } from 'crypto-js';
import { NextFunction, Request, Response, Router } from 'express';
import * as sendRequest from 'request-promise-native';
import { UserClient as UserClientType } from 'common/u... | TypeScript | server/src/lib/api.ts | gozer/voice-web | mpl-2.0 | 11,969 | 411 | codeparrot/github-code |
f80137689f4f6c55643f19a3bbe7c7e2ec54ca939a562afc15d936b4f6418fe7 | package com.kreative.vexillo.ui;
import java.awt.Dimension;
import java.awt.Graphics;
import java.awt.Insets;
import java.awt.image.BufferedImage;
import java.io.File;
import javax.swing.JComponent;
import com.kreative.vexillo.core.Flag;
import com.kreative.vexillo.core.FlagRenderer;
public class FlagViewer extends J... | Java | main/java/Vexillo/src/com/kreative/vexillo/ui/FlagViewer.java | kreativekorp/vexillo | mpl-2.0 | 3,238 | 135 | codeparrot/github-code |
d4d75e2a3f8feb6eb27baca01f37f12c49200bee32bbddfe8a3dc553b8d81b58 | /**
* API access for tests
*
* Copyright (c) 2014-2015. Elec Research.
*
* 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/
*
* Authors: Mark Butler
*
**/
var... | JavaScript | server/test/api/utils/agAPI.js | elec-otago/agbase | mpl-2.0 | 2,581 | 103 | codeparrot/github-code |
89a49da0d46f6450b6cc113cc7a2d47fff6d6f8204e9212c6074921fd5f1623e | #include "aerial_autonomy/controllers/rpyt_based_relative_pose_controller.h"
#include "aerial_autonomy/log/log.h"
#include <glog/logging.h>
bool RPYTBasedRelativePoseController::runImplementation(
std::tuple<tf::Transform, tf::Transform, VelocityYawRate> sensor_data,
PositionYaw goal, RollPitchYawRateThrust &... | C++ | src/controllers/rpyt_based_relative_pose_controller.cpp | jhu-asco/aerial_autonomy | mpl-2.0 | 1,844 | 42 | codeparrot/github-code |
b28367f741ca96f2f6fd9a153d920082a9d8f21fe8c2100a1b7dee717495f541 | <?php
namespace Honeybee\Infrastructure\Migration;
use Honeybee\Infrastructure\Config\ConfigInterface;
use Honeybee\Common\Error\RuntimeError;
class MigrationService implements MigrationServiceInterface
{
const FILTER_PENDING = 'pending';
const FILTER_EXECUTED = 'executed';
protected $config;
prot... | PHP | src/Infrastructure/Migration/MigrationService.php | honeybee/honeybee | mpl-2.0 | 5,399 | 157 | codeparrot/github-code |
a67629ee92c5f9d662c8fe8f9107a35443198ae59a822ecf8f76db8432bb0b14 | <!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 `HTMLOptGroupElementMethods` trait in crate `script`.">
<me... | HTML | script/dom/bindings/codegen/Bindings/HTMLOptGroupElementBinding/trait.HTMLOptGroupElementMethods.html | servo/doc.servo.org | mpl-2.0 | 6,337 | 126 | codeparrot/github-code |
e2ba09677cdca7c9ea4a41092e1badd93cf34d33d5a555a38ccf4b2dbd31d94a | /*
* Copyright © 2014 - 2016 | Wurst-Imperium | All rights reserved.
*
* 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 tk.wurst_client.mods;
import ne... | Java | Wurst Client/src/tk/wurst_client/mods/FightBotMod.java | Elviond/Wurst-Client | mpl-2.0 | 2,615 | 88 | codeparrot/github-code |
11a3604e41a532520ede43bb2ac0f16f5426bd689f82c5d7ca543f0c742cbf23 | /**
PrivacySettings activity
**/
'use strict';
var Activity = require('../components/Activity');
var ko = require('knockout');
var user = require('../data/userProfile').data;
var onboarding = require('../data/onboarding');
var privacySettings = require('../data/privacySettings');
var showError = require('../modals... | JavaScript | app/source/js/activities/privacySettings.js | samwa/loconomics | mpl-2.0 | 3,911 | 118 | codeparrot/github-code |
a446356f3de74383aefcec39fbf97acb0d594475bca80de4ff08d6bc6a0fef13 | <!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 `receiveOctet_methodinfo` constant in crate `script`.">
<me... | HTML | script/dom/bindings/codegen/Bindings/TestBindingBinding/constant.receiveOctet_methodinfo.html | susaing/doc.servo.org | mpl-2.0 | 5,272 | 121 | codeparrot/github-code |
92441f77913a2853e2ae09bb726f07d438fffdd04a3afde468c8aaa713d24a6e | package terraform
import (
"fmt"
"log"
"github.com/hashicorp/go-multierror"
"github.com/hashicorp/hcl2/hcl"
"github.com/zclconf/go-cty/cty"
"github.com/hashicorp/terraform/addrs"
"github.com/hashicorp/terraform/configs"
"github.com/hashicorp/terraform/plans"
"github.com/hashicorp/terraform/providers"
"gith... | GO | terraform/eval_apply.go | iljaskevic/terraform | mpl-2.0 | 19,286 | 568 | codeparrot/github-code |
6ac78e995eaf44ac7e641d8f741c3afd7105be66d68f03e8a57cc5bb01660f60 | /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=8 sts=2 et sw=2 tw=80: */
/* 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... | C++ | dom/ipc/URLClassifierParent.cpp | Yukarumya/Yukarum-Redfoxes | mpl-2.0 | 2,088 | 66 | codeparrot/github-code |
370d26b2f3d956ca19e11b21745d49ddd612b964455050354483b65865101846 | #pragma once
#include <Signal/Signal.hpp>
#include <asio.hpp>
#include <boost/beast/core.hpp>
#include <boost/beast/websocket.hpp>
#include <boost/asio/bind_executor.hpp>
#include <boost/asio/io_service.hpp>
#include <boost/asio/strand.hpp>
#include <boost/asio/ip/tcp.hpp>
#include <deque>
#include <string>
#includ... | C++ | Websockets/Websockets/Session.hpp | dloman/DanLib | agpl-3.0 | 3,793 | 146 | codeparrot/github-code |
28a741ae265249bb592c8d729fc195da518e5dfdf9065235c9b7ac774a5f3a33 | //go:build windows
// +build windows
package positions
import (
"io/ioutil"
"os"
"path/filepath"
yaml "gopkg.in/yaml.v2"
)
// writePositionFile is a fall back for Windows because renameio does not support Windows.
// See https://github.com/google/renameio#windows-support
func writePositionFile(filename string, ... | GO | clients/pkg/promtail/positions/write_positions_windows.go | grafana/loki | agpl-3.0 | 647 | 34 | codeparrot/github-code |
2b0dd8829f37bc05488231e849a226f667214736db7758c7a95f602c4966cea1 | <?php
/**
* StoriesShared Peer.
*
* This table acts as a sub index to the publicly shared stories, which represents
* only 6-7% of 6+ million rows.
*
* Our first solution was to de-normalize stars and reports into the stories
* table. This works fine but uses approx 150mb of indexes. Since the shared
* stories... | PHP | src/lib/peer/StoriesSharedPeer.php | fabd/kanji-koohii | agpl-3.0 | 3,559 | 110 | codeparrot/github-code |
d5626ed22a6a1bcc67ea5d93859ae4b8adb31eb3c091190ab8471d67edab66e3 | /*
* 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, either ve... | Java | rules/rules-commons/src/test/java/org/asqatasun/rules/elementchecker/lang/detector/LanguageDetectorTest.java | Asqatasun/Asqatasun | agpl-3.0 | 18,803 | 404 | codeparrot/github-code |
5112d89d158c554aea4aa2f64b89b63580bde2d1cea30eb253336eb0b65a372f | /*
* videoToQuad
*
* Copyright (c) 2014-2015 FO... | C++ | videoToQuad.cpp | luxigo/videoToQuad | agpl-3.0 | 8,949 | 336 | codeparrot/github-code |
4e6a93cedc0c1f26cb750ef05914048ca8bbfe4a9175885ce560d8f154a5a761 | <?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 | classes/payroll_deduction/US/GA.class.php | joelwreed/TimeTrex | agpl-3.0 | 5,440 | 158 | codeparrot/github-code |
7da08afec5379051991fd103ee423cb4041b479fe255c7b99ce24420ff6fe5e9 | /*
* This program is part of the OpenLMIS logistics management information system platform software.
* Copyright © 2017 VillageReach
*
* 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, e... | JavaScript | src/openlmis-debounce/ng-model-debounce.directive.spec.js | OpenLMIS/openlmis-ui-components | agpl-3.0 | 4,052 | 109 | codeparrot/github-code |
c42df684feef03fbec80b4ae71734794be66071aececa2d06d41f7543feb9878 | import PropTypes from 'prop-types'
import React, { Component } from 'react'
import Scroll from 'react-scroll'
import { connect } from 'react-redux'
import pick from '../../../common/utils/pick'
import { StaticPage } from './'
import { TicketForm } from '../forms'
import { buyTicket } from '../actions/auth'
import { tr... | JavaScript | app/scripts/components/TicketWizard.js | adzialocha/hoffnung3000 | agpl-3.0 | 6,476 | 284 | codeparrot/github-code |
3a8a1e67b6da550cf69d383b7adbebff39123244cddcaff1d7e32e04c271d764 | package be.brickbit.lpm.catering.service.product.mapper;
import be.brickbit.lpm.catering.domain.ClearanceType;
import be.brickbit.lpm.catering.domain.Product;
import be.brickbit.lpm.catering.domain.ProductPreparation;
import be.brickbit.lpm.catering.service.product.command.CreateProductCommand;
import be.brickbit.lpm.... | Java | src/main/java/be/brickbit/lpm/catering/service/product/mapper/CreateProductCommandToEntityMapper.java | BrickbitSolutions/lpm-catering | agpl-3.0 | 2,360 | 61 | codeparrot/github-code |
c02bc872c59d4b7abe3e403225497fa3a877474806cb6cc0ff6f127fa93e7ed0 | /*
* Axelor Business Solutions
*
* Copyright (C) 2019 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 distributed... | Java | axelor-account/src/main/java/com/axelor/apps/account/web/NotificationController.java | ama-axelor/axelor-business-suite | agpl-3.0 | 2,140 | 54 | codeparrot/github-code |
6c9d62845c197fd79af7c0149cf5b35be0f2573ddf0f4bef33571bd3c166dd2f | import java.io.*;
import java.math.BigInteger;
import java.util.*;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.LinkedList;
import java.util.Map;
public class Ural{
class Reading{
public Reading(int id, int val){
this.id = id;
this.val = val;
}
int id;
in... | Java | Ural/1126. Magnetic Storms.java | oliverwreath/Open-Source-Algorithms | agpl-3.0 | 1,034 | 57 | codeparrot/github-code |
2e1fdddad27c486216923345ba9355160b8b8d2235ba11e4227b7ce1b78face0 | import urljoin = require("url-join")
import * as angular from 'angular'
import * as interfaces from './interfaces'
declare var BASE_URL: string
class TimeEntryService implements interfaces.ITimeEntryService {
base_url: string
$http: angular.IHttpService
postfix: string
//constructor($http: ng.)
constructo... | TypeScript | timeblob/js/services/timeentry.ts | dkieffer/timeblob | agpl-3.0 | 2,137 | 99 | codeparrot/github-code |
c51998fea6a355f4ce00b304a80929056249f157898401e92ec7dd5f6a311b19 | // This file is part of Mystery Dungeon eXtended.
// Copyright (C) 2015 Pikablu, MDX Contributors, PMU Staff
// 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 ... | C# | Scripting/Editor/EditorClass.cs | pmdcp/Server | agpl-3.0 | 1,356 | 43 | codeparrot/github-code |
e72ea1ab26566a00669980a337873b4472b65411772ffddba70b5d8709a66897 | <!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<link rel="SHORTCUT ICON" href="../../../../../img/clover.ico" />
<link rel="stylesheet" href="../../../../../aui/css/aui.min.css" media... | HTML | report/html/com/rapidminer/operator/learner/tree/ContainsSplitCondition.html | cm-is-dog/rapidminer-studio-core | agpl-3.0 | 79,859 | 1,230 | codeparrot/github-code |
c286b02d5840cbcaff40030c23bd707030e8753a25f3525b3b4528d7615b7221 | <?php
namespace Ladb\CoreBundle\Form\Type\Funding;
use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\FormBuilderInterface;
use Symfony\Component\OptionsResolver\OptionsResolver;
class ChargeType extends AbstractType {
public function buildForm(FormBuilderInterface $builder, array $options) {
$b... | PHP | src/Ladb/CoreBundle/Form/Type/Funding/ChargeType.php | lairdubois/lairdubois | agpl-3.0 | 661 | 31 | codeparrot/github-code |
62f90dd8911a5ff661b820a02b7cc2984cd28b3448edb0ad860066fca9d6810e | #!/bin/env ruby
# encoding: utf-8
#07-2013 Migration in Ruby On Rails 3.2 by Benjamin Ninassi
module ContratTypesHelper
def display_tree_recursive(tree, parent_id)
ret = "<ul>"
tree.each do |node|
if node.parent_id == parent_id
ret += "<li>"
ret += "- "+node.nom
ret += dis... | Ruby | app/helpers/contrat_types_helper.rb | INRIA/osc | agpl-3.0 | 2,902 | 86 | codeparrot/github-code |
b3812008d62b1f35c4407f0cbeababca43472bee10c5051aff753b568587a8db | <?php namespace App;
use App\BoardSetting;
use App\Option;
use App\Role;
use App\User;
use App\UserRole;
use App\Services\ContentFormatter;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletingTrait;
use DB;
use Cache;
use Collection;
use Event;
use App\Events\BoardWasCreated;
class... | PHP | app/Board.php | majestrate/infinity-next | agpl-3.0 | 13,930 | 681 | codeparrot/github-code |
d15b80aa22c1e15d2042a98209abfdf4668478a3a65391665b85faabd8818cac | #!/usr/bin/env python2
# -*- coding: utf-8 -*-
from __future__ import print_function
from itertools import chain
import data, datetime, argparse, sys
import numpy as np
import tensorflow as tf
from tensorflow.python.ops.rnn_cell import *
from utils import *
from kneser_ney import KneserNeyLM
from nltk.util import ... | Python | stacked.py | mafik/pargen | agpl-3.0 | 20,229 | 468 | codeparrot/github-code |
84522f1a888b67c355f18fd786183912eacf261fc9f9d8136a933b6c9e3a771b | <?php
/**
* HTML loading bar with only PHP and JS interface.
*
* PHP versions 4 and 5
*
* LICENSE: This source file is subject to version 3.0 of the PHP license
* that is available through the world-wide-web at the following URI:
* http://www.php.net/license/3_0.txt. If you did not receive a copy of
*... | PHP | classes/pear/HTML/Progress.php | joelwreed/TimeTrex | agpl-3.0 | 78,887 | 2,239 | codeparrot/github-code |
43a66a1b7b3c6d8a55fc2f7560eff3e74860f274a28b013a48d6d3b45f2fa2d8 | package it.makeit.zefiro.ws.resources;
import it.makeit.alfresco.AlfrescoHelper;
import it.makeit.jbrick.web.LocaleUtil;
import it.makeit.zefiro.Util;
import it.makeit.zefiro.dao.MessageBean;
import it.makeit.zefiro.dao.RelationBean;
import java.util.Locale;
import java.util.ResourceBundle;
import javax.s... | Java | zefiro/src/main/java/it/makeit/zefiro/ws/resources/Relation.java | MakeITBologna/zefiro | agpl-3.0 | 2,387 | 75 | codeparrot/github-code |
42aec504e2ede6e0061d9a6e37783af647e838427c21b8b0c5dd9e089074a3b7 | #!/bin/bash
#########################################################################################
### questo script svolge la sincronizzazione del repo foowd_alpha2 su VPS di sviluppo
###
### Di default si limita a runnare rsync con sudo, impostando i dovuti permessi ai files,
### pertanto accertarsi che l'utente... | Shell | script/foowdSync.sh | coder-molok/foowd_alpha2 | agpl-3.0 | 3,705 | 115 | codeparrot/github-code |
b8e0c767078db3fca1b9baed6736f7b96b6613a0fb30cdbf53edc262064884aa | /*
***** BEGIN LICENSE BLOCK *****
Copyright © 2009 Center for History and New Media
George Mason University, Fairfax, Virginia, USA
http://zotero.org
This file is part of Zotero.
Zotero is free software: you can redistribute it and/or modify
... | JavaScript | chrome/content/zotero/xpcom/proxy.js | hoehnp/zotero | agpl-3.0 | 31,424 | 951 | codeparrot/github-code |
694184c48ca805e97e26c90ec5b3212ea974ddab6dbf2e52861c7f4c964fb242 | // Fill out your copyright notice in the Description page of Project Settings.
#include "Block.h"
#include "BlockGenerator.h"
#include "Engine.h"
#include "Components/BoxComponent.h"
#include <math.h>
// Sets default values§
ABlock::ABlock()
{
// Set this actor to call Tick() every frame. You can turn this off to ... | C++ | Source/UnrealPianofall/Block.cpp | nicoboss/UnrealPianofall | agpl-3.0 | 2,134 | 65 | codeparrot/github-code |
5eb4210b9ad2bc4eb111a9dde1d18366e0cf272f96a8874b473f7e4a8aa15415 | # -*- coding:utf-8 -*-
#
# Copyright (C) 2011 Governo do Estado do Rio Grande do Sul
#
# Author: Lincoln de Sousa <lincoln@gg.rs.gov.br>
# Author: Rodrigo Sebastiao da Rosa <rodrigo-rosa@procergs.rs.gov.br>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Aff... | Python | gd/govpergunta/__init__.py | gabinetedigital/gd | agpl-3.0 | 11,247 | 317 | codeparrot/github-code |
52fcee7af2d86e3b1863c27ab2d75f91a73b871c69b79b45eec3ec05edc4b860 | <?php
/**
* Zend Framework
*
* LICENSE
*
* This source file is subject to the new BSD license that is bundled
* with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://framework.zend.com/license/new-bsd
* If you did not receive a copy of the ... | PHP | library/Zend/Tool/Project/Context/Zf/ControllerFile.php | WhiteLabelReady/WhiteLabelTransfer | agpl-3.0 | 6,990 | 224 | codeparrot/github-code |
23f4f459c6366c03170d206181b76af1a9b8c1d5babd22c36023a87da0d9d567 | package com.lastcalc.parsers.math;
import com.lastcalc.TokenList;
import com.lastcalc.parsers.Parser;
/**
* Created by ian on 5/31/15.
*/
public class ImplicitMultiply extends Parser {
private static TokenList template = TokenList.createD(org.jscience.mathematics.number.Number.class, org.jscience.mathematics.nu... | Java | src/main/java/com/lastcalc/parsers/math/ImplicitMultiply.java | sanity/LastCalc | agpl-3.0 | 1,102 | 37 | codeparrot/github-code |
ba3142477b334c63459dc246059080280d805ec459cf6e97dce3780eb8715876 | //
// Little Color Management System
// Copyright (c) 1998-2020 Marti Maria Saguer
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the "Software"),
// to deal in the Software without restriction, including without limitation
//... | C | Src/OSF/lcms2/src/cmsnamed.c | papyrussolution/OpenPapyrus | agpl-3.0 | 24,400 | 875 | codeparrot/github-code |
5873dd99bbedbba8905e8e64ebdc31371561a6aa77090299231d7b128440ba98 | <?php
/**
* OpenEyes.
*
* (C) Moorfields Eye Hospital NHS Foundation Trust, 2008-2011
* (C) OpenEyes Foundation, 2011-2014
* 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 Softwa... | PHP | protected/modules/PatientTicketing/widgets/BaseTicketAssignment.php | FiviumAustralia/OpenEyes | agpl-3.0 | 2,980 | 93 | codeparrot/github-code |
10f604c2aea968f9821098f0a74400849d4fa4160cbb3981b87c4ae30d86c2a3 | const internship = "INTERNSHIP";
const LEARNING_UNIT_FULL_SUBTYPE = "FULL";
const trans_existed_acronym = gettext('existed_acronym');
const trans_existing_acronym = gettext('existing_acronym');
const trans_invalid_acronym = gettext('invalid_acronym');
const trans_field_required = gettext('field_is_required');
const tra... | JavaScript | base/static/js/learning_unit_creation.js | uclouvain/osis_louvain | agpl-3.0 | 6,587 | 197 | codeparrot/github-code |
6feefb08d03df8d46a24d6055cf8b9b0422d8dd52544681e85f9e081c26a5b1f | <!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<link rel="SHORTCUT ICON" href="../../../../../img/clover.ico" />
<link rel="stylesheet" href="../../../../../aui/css/aui.min.css" media... | HTML | report/html/com/rapidminer/operator/features/aggregation/AggregationCrossover.html | cm-is-dog/rapidminer-studio-core | agpl-3.0 | 78,433 | 1,192 | codeparrot/github-code |
4d790288bf10e0468c76a4ab3155af6651dbca522644002eb163feeb19b4bd97 | #!/usr/bin/env node
'use strict';
/**
* Jasmine test suite to test validateRunParams function for abstractRPCEmulator
*/
const AbstractRPCEmulator = require('../../VDM/prototypes/abstractRPCLocker');
const unitTestUtils = require('./unitTestUtils');
const RPC_EMULATOR_MODEL = [{
name: 'SAMPLE RPC',
inputP... | JavaScript | prototypes/abstractRpcEmulatorVRParams-spec.js | vistadataproject/nonClinicalRPCs | agpl-3.0 | 5,924 | 164 | codeparrot/github-code |
0913750cb2a4f74e35b4c36e47f68472793501f6336bc8d404c84c2d8ddfb3cc | /*
* Copyright (C) 2010-2011 "Bio4j"
*
* This file is part of Bio4j
*
* Bio4j 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 ve... | Java | src/main/java/com/bio4j/neo4j/codesamples/RealUseCase1.java | bio4j/bio4j-neo4j | agpl-3.0 | 6,616 | 164 | codeparrot/github-code |
a0826f035c01e88633342e47ee186086e76679591f8c054c289618ce5580bc2e | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from datetime import timedelta
from decimal import Decimal
from django.db import models
from django.db import transaction
from django.utils.timezone import now
from django.db.models import Sum, Max, F
from audit_log.models.managers import AuditLog
cla... | Python | waterbilling/core/models.py | tombs/Water-Billing-System | agpl-3.0 | 53,833 | 1,481 | codeparrot/github-code |
160ad9f62ac39c6a756c9260409ee6fb2b7a9d28832efdb15ff29380cf49a2fe | /**
* Copyright (c) 2016 DeepCortex GmbH <legal@eventql.io>
* Authors:
* - Paul Asmuth <paul@eventql.io>
* - Laura Schlimmer <laura@eventql.io>
*
* This program is free software: you can redistribute it and/or modify it under
* the terms of the GNU Affero General Public License ("the license") as
* publishe... | C | src/eventql/sql/extensions/chartsql/chart_expression.h | eventql/eventql | agpl-3.0 | 3,458 | 108 | codeparrot/github-code |
ed105ec612cf89270c0c34c6dd593a66cae67aec49f506990c746e99293c0e49 | /////////////////////////////////////////////////////////////////////////
//
// ISABEL: A group collaboration tool for the Internet
// Copyright (C) 2009 Agora System S.A.
//
// This file is part of Isabel.
//
// Isabel is free software: you can redistribute it and/or modify
// it under the terms of the Affero GNU Ge... | C++ | lib/ICF2/examples/threads/testThreadedLoops.cc | ging/isabel | agpl-3.0 | 2,949 | 104 | codeparrot/github-code |
361e117ecd8ca24d7d4fbb3c9644ce75bb4036fb78c18168130985488b250eee | const moment = require("moment")
const isNaN = require("lodash/isNaN")
const forEach = require("lodash/forEach")
const isUndefined = require("lodash/isUndefined")
const cloneDeep = require("lodash/cloneDeep")
const isString = require("lodash/isString")
const { formatDate } = require("../utils")
const individuRessource... | JavaScript | backend/lib/openfisca/mapping/individu/index.js | sgmap/mes-aides-ui | agpl-3.0 | 4,534 | 160 | codeparrot/github-code |
a944d2014773f9321ee102dbb35221b5eb51ea27b24db3a0750a5862ca5aa6cc | <?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/Calls/metadata/quickcreatedefs.php | willrennie/SuiteCRM | agpl-3.0 | 7,680 | 185 | codeparrot/github-code |
7a339834efeea90ca8a206748228e9f14c05eeb1f13f6b63eccde29396eed982 | /* *********************************************************************
*
* This file is part of Full Metal Galaxy.
* http://www.fullmetalgalaxy.com
*
* Full Metal Galaxy is free software: you can redistribute it and/or
* modify it under the terms of the GNU Affero General Public License
* as publi... | Java | src/com/fullmetalgalaxy/model/PlanetType.java | kroc702/fullmetalgalaxy | agpl-3.0 | 2,081 | 80 | codeparrot/github-code |
d216a7d6a2133e77cfff57c4ef09162174442bb2536d1cdc8e8b84ce8d51c438 | /*
* The Kuali Financial System, a comprehensive financial management system for higher education.
*
* Copyright 2005-2017 Kuali, Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundat... | Java | kfs-core/src/test/java/org/kuali/kfs/sys/rest/helper/CollectionSerializationHelperTest.java | quikkian-ua-devops/will-financials | agpl-3.0 | 3,238 | 79 | codeparrot/github-code |
cf0ec2143a2912e5153411ba487c83e9b860ce78dbff595d6f4a3924a0763c2c | #!/usr/bin/env python
"""
A linting tool to check if templates are safe
"""
from enum import Enum
import os
import re
import sys
_skip_dirs = (
'/node_modules',
'/vendor',
'/spec',
'/.pycharm_helpers',
'/test_root',
'/reports/diff_quality',
'/common/static/xmodule/modules',
)
_skip_mako_dir... | Python | scripts/safe_template_linter.py | solashirai/edx-platform | agpl-3.0 | 30,181 | 868 | codeparrot/github-code |
50b1793f8ee478f202c650123dec34a84aea8839e2c7afbc659a2ce0891ca8c6 | package com.kanshu.kanshu.test.screen;
import android.support.v7.internal.view.menu.ActionMenuItemView;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.widget.Spinner;
import com.kanshu.kanshu.FeedbackActivity;
import com.kanshu.kanshu.R;
/**
* 'Page Object des... | Java | app/src/androidTest/java/com/kanshu/kanshu/test/screen/FeedbackScreen.java | asm-products/kanshu-android | agpl-3.0 | 1,581 | 54 | codeparrot/github-code |
7fa93ccc8187df222afcfc062bf95d22ec664bebe74c616d10ef16c080cc3be0 | <?php /* Smarty version Smarty-3.1.12, created on 2015-11-10 01:10:50
compiled from "/home/gam/themes/Backend/ExtJs/backend/base/component/Shopware.form.field.ArticleSearch.js" */ ?>
<?php /*%%SmartyHeaderCode:16791785025641360a06cef8-63232579%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_v... | PHP | var/cache/production_201510221322/templates/backend_en_GB_a0ba8/cc/15/6f/cc156fb3a355059aff31f6b91ab80666723a02f6.snippet.Shopware.form.field.ArticleSearch.js.php | gamchantoi/AgroSHop-UTUAWARDS | agpl-3.0 | 31,457 | 875 | codeparrot/github-code |
47552a9e0811c514217d1d41b4ed8ead67225b6be3e3c20b3183135b94d3a22b | """
Model to hold edx-video-pipeline configurations.
"""
from __future__ import absolute_import
from config_models.models import ConfigurationModel
from django.contrib.auth import get_user_model
from django.db import models
from django.utils.translation import ugettext_lazy as _
from opaque_keys.edx.django.models impor... | Python | openedx/core/djangoapps/video_pipeline/models.py | jolyonb/edx-platform | agpl-3.0 | 3,579 | 108 | codeparrot/github-code |
a263d8fda4f54beb9724b5db3b77abb2378995f39c3da7cd680cd632c79ea20f | /*
* Copyright (C) 2017 Popinz.co
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This progra... | JavaScript | js/directives/imageConverter.js | popinz/frontend-webapp | agpl-3.0 | 4,432 | 114 | codeparrot/github-code |
d40a5082f55a1de94eb47830aea8507e89639007be3da24bd351da85e10ef4ec | <?php
/*
------------------------------------------------------------------------
FusionInventory
Copyright (C) 2010-2016 by the FusionInventory Development Team.
http://www.fusioninventory.org/ http://forge.fusioninventory.org/
------------------------------------------------------------------------... | PHP | inc/inventoryruleentity.class.php | orthagh/fusioninventory-for-glpi | agpl-3.0 | 10,987 | 337 | codeparrot/github-code |
a96d6c7abb323d1412b4b50b9d9a1da406e7ddef01f4e48f92bf9553c671deb1 | <!DOCTYPE html>
<html lang="en"
>
<head>
<title>Archives - 40423145 上課筆記</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">
<style type="text/c... | HTML | blog/archives.html | 40423146/2016fallcadp_hw | agpl-3.0 | 19,016 | 389 | codeparrot/github-code |
adf10908d5d4aafa97de32f52e9aaa38919b5b278dd43fdfe0b47af631ad5be1 | namespace MathQGen.UI
{
partial class StepUC
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <par... | C# | MathQGen Source/MathQGen/UI/StepUC.Designer.cs | PixelZerg/MathQGen | agpl-3.0 | 4,625 | 109 | codeparrot/github-code |
1081825b392923d09d3f4953dd3539a515f1ebeb9b05ba69a3baf54cb03de9e4 | /*********************************************************************************
* Ephesoft is a Intelligent Document Capture and Mailroom Automation program
* developed by Ephesoft, Inc. Copyright (C) 2015 Ephesoft Inc.
*
* This program is free software; you can redistribute it and/or modify it under
* the term... | Java | Ephesoft_Community_Release_4.0.2.0/source/gxt/gxt-core/src/main/java/com/ephesoft/gxt/core/shared/dto/TableColumnInfoDTO.java | ungerik/ephesoft | agpl-3.0 | 10,027 | 399 | codeparrot/github-code |
f43059fab5ebf6f46cb97026fce6435096781ad21e8696fb743eef22fac32d73 | #
# Copyright (C) 2011 - present Instructure, Inc.
#
# This file is part of Canvas.
#
# Canvas is free software: you can redistribute it and/or modify it under
# the terms of the GNU Affero General Public License as published by the Free
# Software Foundation, version 3 of the License.
#
# Canvas is distributed in the ... | Ruby | lib/sis/account_importer.rb | venturehive/canvas-lms | agpl-3.0 | 4,029 | 113 | codeparrot/github-code |
b58b874d2d93cbc2653622fd65c5a7d9296e976ff006f5fca425dc73636cfe43 | import React from 'react';
import { Trans } from '@lingui/macro';
import { Link } from 'react-router-dom';
import DocumentTitle from 'interface/DocumentTitle';
import MasteryRadiusImage from 'interface/images/mastery-radius.png';
import ChangelogPanel from 'interface/ChangelogPanel';
import Panel from 'interface/other... | TypeScript | src/interface/AboutPage/AboutPage.tsx | ronaldpereira/WoWAnalyzer | agpl-3.0 | 5,099 | 142 | codeparrot/github-code |
422ccfadce7a2833f770c9e360a4515d479703489f8458b852b17e0670a36c0b | /**
* Copyright (C) 2001-2020 by RapidMiner and the contributors
*
* Complete list of developers available at our web site:
*
* http://rapidminer.com
*
* This program is free software: you can redistribute it and/or modify it under the terms of the
* GNU Affero General Public License as published by ... | Java | src/main/java/com/rapidminer/operator/preprocessing/discretization/DiscretizationModel.java | rapidminer/rapidminer-studio | agpl-3.0 | 12,668 | 365 | codeparrot/github-code |
c2ebb86b1903925f7ac7f7b42b5b04beb587e4a66bb57ade4925b22f2b749bab | {% extends "base.html" %}
{% load i18n static wger_extras %}
{% block title %}{% translate "Weight units" %}{% endblock %}
{% block content %}
<ul class="list-group">
{% for unit in object_list %}
<li class="list-group-item ">
{% if unit.id != 1 and unit.id != 2 %}
<div class="btn-group float... | HTML | wger/core/templates/weight_unit/list.html | wger-project/wger | agpl-3.0 | 1,331 | 45 | codeparrot/github-code |
6bd4d2b30dbff970f74471a943740acfce655b06f0712af80a28b9b370ab103d | /* 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/marchingCube.cpp | gladk/palabos | agpl-3.0 | 20,373 | 333 | codeparrot/github-code |
3718d693ff17d67fe95e8e44449d5380641a7d19f46fc881c110c8bc9e22cad4 | /*
* 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 graphml.architecture.create.model;
import graphml.architecture.common.Constants;
import graphml.architecture.common.MyEdge;
i... | Java | src/graphml/architecture/create/model/DataLoaderGephi.java | KSD-research-group/plugin4gephi | agpl-3.0 | 8,983 | 253 | codeparrot/github-code |
d3b507fcc10c4ced69725f75c39a06aa25cf8ecdce8b2be65ca6ae3ee9f05059 | package com.imcode.imcms.persistence.entity;
import com.imcode.imcms.model.Category;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy;
import javax.persistence.CollectionTable;
import javax.persistence.Column;
import... | Java | src/main/java/com/imcode/imcms/persistence/entity/Meta.java | imCodePartnerAB/imcms | agpl-3.0 | 8,486 | 261 | codeparrot/github-code |
34400f2c2824ea22bb2f1321600f6b6eea2fc004e5eb620757dc4decf3ab787c | /*
* TeleStax, Open Source Cloud Communications Copyright 2012.
* and individual contributors
* by the @authors tag. See the copyright.txt in the distribution for a
* full listing of individual contributors.
*
* This is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser ... | Java | cap/cap-api/src/main/java/org/restcomm/protocols/ss7/cap/api/service/circuitSwitchedCall/primitive/ControlType.java | RestComm/jss7 | agpl-3.0 | 1,711 | 57 | codeparrot/github-code |
5bc922498857d6c2efce238c20e6905ff6ab8459325d89259988571f67e30f8b | import _ from 'lodash';
/**
* Key used to group the results.
*
* @param {Object} result - a result.
* @returns {string} - the key to group by.
*/
function getKey(result) {
// Group the results by source and date
return result.sourceGroup.id + '.' + result.sourceType + '.' + result.date;
}
/**
* Group result... | JavaScript | src/app/patients/results/group-results.js | renalreg/radar-client | agpl-3.0 | 1,444 | 62 | codeparrot/github-code |
61050cfb0ff0f6141f82211f51c7cb0efcd9e649853e9ff50626458ad617fed8 | package cn.org.once.cstack.dto;
/**
* Created by nicolas on 25/08/2014.
*/
final public class LogResource {
private final String source;
private final String message;
public LogResource(String source, String message) {
if (source == null) {
throw new IllegalArgumentException("Source... | Java | cu-core/src/main/java/cn/org/once/cstack/dto/LogResource.java | cxxly/cstack | agpl-3.0 | 1,299 | 53 | codeparrot/github-code |
b976da415bdfdaeb6d7084f515d16374015503ec61da6d453115216fa2966bbf | using Quest.Lib.Trace;
using System;
namespace Quest.Lib.Optimiser.NelderMead
{
/// <summary>
/// an implementation of the Nelder-Mead optimisation algorithm. Use the Regress function
/// to perform the search.
/// </summary>
public sealed class NelderMeadSimplex : OptimiserBase
{
... | C# | src/Quest.Lib/Optimiser/NelderMead/NelderMeadSimplex.cs | Extentsoftware/Quest | agpl-3.0 | 13,827 | 316 | codeparrot/github-code |
85df5c12a2ab08f34a2bb773088daf12b376a2ccbc12c5c272468933a995c4a3 | /**
* Copyright (C) 2001-2017 by RapidMiner and the contributors
*
* Complete list of developers available at our web site:
*
* http://rapidminer.com
*
* This program is free software: you can redistribute it and/or modify it under the terms of the
* GNU Affero General Public License as published by the Free... | Java | src/main/java/com/rapidminer/tools/expression/internal/function/conversion/DateString.java | cm-is-dog/rapidminer-studio-core | agpl-3.0 | 7,936 | 232 | codeparrot/github-code |
4151c00d3010d359169834fd996bf341c6ce4de08a30fe4b642b29915010fe53 | import React from 'react';
import Relay from 'react-relay';
import {BernieText} from './styles/bernie-css';
import {Paper, List, ListItem} from 'material-ui';
import moment from 'moment';
export class AdminCallAssignment extends React.Component {
render() {
return (
<div>
<div style={BernieText.tit... | JavaScript | src/frontend/components/AdminCallAssignment.js | al3x/ground-control | agpl-3.0 | 855 | 38 | codeparrot/github-code |
0d6bbbb06be4b2a07da62b5ce512719d3be61e2100f52892289d2903d3314607 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | Lua | MMOCoreORB/bin/scripts/object/weapon/melee/2h_sword/crafted_saber/sword_lightsaber_two_handed_s8_gen4.lua | lasko2112/legend-of-hondo | agpl-3.0 | 6,243 | 142 | codeparrot/github-code |
24775ba041f62bc46dd2264ba3da883aee26eb28584ea9a021f0a73e5dd0a8e4 | /**Autor: Flávio Henrique
* 9 de abr de 2017ProjetoBootStrap2
*/
package com.flavio.dao.implementDaos;
import java.util.List;
import javax.persistence.EntityManager;
import com.flavio.dao.interfaceDao.ProdutoDao;
import com.flavio.model.Produto;
import com.flavio.util.jpa.EntityManagerProducer;
/**
* @author roo... | Java | src/main/java/com/flavio/dao/implementDaos/HibernateProdutoDao.java | flaviohenso/projeto-JSF2 | agpl-3.0 | 790 | 37 | codeparrot/github-code |
9cb6b1f4f83092e1c3971e360767e2fc698b545e20fa27316c125f5233915931 | /*
* The Kuali Financial System, a comprehensive financial management system for higher education.
*
* Copyright 2005-2017 Kuali, Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundat... | Java | kfs-core/src/main/java/org/kuali/kfs/fp/businessobject/IndirectCostAdjustmentDocumentAccountingLineParser.java | quikkian-ua-devops/will-financials | agpl-3.0 | 4,553 | 88 | codeparrot/github-code |
a260cd19ac93705a5664dfd75640a91d2c06c48384b8f8742133c07c8309fede | package services.dao
import scala.concurrent.Await
import scala.concurrent.duration.Duration
import org.joda.time.DateTime
import org.specs2.mutable.Specification
import models.ParamHelper
import models.User
import models.user.Account
import models.user.Column
import models.user.OptionUser
import models.user.Provide... | Scala | test/services/dao/DaoUserTest.scala | Froggies/Skimbo | agpl-3.0 | 10,071 | 273 | codeparrot/github-code |
2da58ac1f1258c34304f7868f716d761d1fc0c9b1aa61869ba40a1cb28400fc1 | /*
* jQuery Mobile Framework : temporary extension to port jQuery UI's datepicker for mobile
* Copyright (c) jQuery Project
* Dual licensed under the MIT or GPL Version 2 licenses.
* http://jquery.org/license
*/
(function($, undefined ) {
//cache previous datepicker ui method
var prevDp = $.fn.datepicker;
... | JavaScript | eyeos/extern/js/jquery/lib/jquerymobile/jquery.ui.datepicker.mobile.js | Seldaiendil/meyeOS | agpl-3.0 | 2,500 | 56 | codeparrot/github-code |
d3022bf06cf2f523ad5379a31fe1417bc8d66973f1bbcdf619399bbaaa34200a | /*
Nging is a toolbox for webmasters
Copyright (C) 2018-present Wenhui Shen <swh@admpub.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
... | GO | application/library/msgbox/table.go | admpub/nging | agpl-3.0 | 1,764 | 60 | codeparrot/github-code |
4c43716abaeedbc5d13fbeca68558e1dd27927de20232437a06afcc65d186864 | /*
Copyright (c) 2014-2019 AscEmu Team <http://www.ascemu.org>
This file is released under the MIT license. See README-MIT for more information.
*/
#pragma once
#include <cstdint>
#include "ManagedPacket.h"
#ifdef AE_TBC
namespace AscEmu::Packets
{
class SmsgUpdateAuraDuration : public ManagedPacket
{
p... | C | src/world/Server/Packets/SmsgUpdateAuraDuration.h | master312/AscEmu | agpl-3.0 | 1,121 | 52 | codeparrot/github-code |
67a36feb002ab484d5424336c46275e96ac5501fdeb895e79f1b5a0f2c9c1623 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script type="text/javascript" src="../../../dojo/dojo.js"
djConfig="isDebug: true, parseOnLoad: true"></script>
<style>
img {
padding... | HTML | dijit/demos/i18n/sprite.html | ftrotter/google_health_fail | agpl-3.0 | 3,758 | 299 | codeparrot/github-code |
dcf61c446a81aa22ebb6fc6960eb95cd9cf0a90ccddb7d9e996c49791a880968 | ---
layout: default
---
<div class="blog-index">
{% assign index = true %}
{% for post in site.categories.life %}
{% assign content = post.content %}
<article>
{% include article.html %}
</article>
{% endfor %}
<div class="pagination">
{% if paginator.next_page %}
<a class="prev" ... | HTML | octopress/.themes/libre/source/life/index.html | alpesis/k | agpl-3.0 | 826 | 39 | codeparrot/github-code |
61fbee4993b8ad4faae6c269d4749b0bf6384701d35134e655e81f416907d208 | //////////////////////////////////////////////////////////////////////////////
// This file is part of the Journey MMORPG client //
// Copyright © 2015-2016 Daniel Allendorf //
// //
// T... | C | Character/OtherChar.h | SYJourney/JourneyClient | agpl-3.0 | 2,621 | 65 | codeparrot/github-code |
d10a297cbbd131034f1cd0737f7ebfde7b11e3e3ca78a3c19c387a78c3d7bb57 | """Public interface managing the workflow for peer assessments.
The Peer Assessment Workflow API exposes all public actions required to complete
the workflow for a given submission.
"""
import logging
from django.db import DatabaseError, IntegrityError, transaction
from django.utils import timezone
from dogapi impo... | Python | openassessment/assessment/api/peer.py | Edraak/edx-ora2 | agpl-3.0 | 37,163 | 992 | codeparrot/github-code |
1f515970b80d324510bb613cd065dc6cb37dec144bfd7b762742bdebc42bfcb6 | namespace MyTested.AspNetCore.Mvc.Builders.Attributes
{
using System;
using System.Collections.Generic;
using Base;
using Internal.TestContexts;
using Utilities.Validators;
/// <summary>
/// Base class for attribute test builders.
/// </summary>
/// <typeparam name="TAttribute">Typ... | C# | src/MyTested.AspNetCore.Mvc.Abstractions/Builders/Attributes/BaseAttributeTestBuilder.cs | ivaylokenov/MyTested.Mvc | agpl-3.0 | 2,172 | 54 | codeparrot/github-code |
48a64ec06966690559ab1f21189f633e631be0b45761a3d6ce2b28c63ed8ffab | /*
* The Kuali Financial System, a comprehensive financial management system for higher education.
*
* Copyright 2005-2017 Kuali, Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundat... | Java | kfs-cg/src/main/java/org/kuali/kfs/module/cg/businessobject/SubContractor.java | quikkian-ua-devops/will-financials | agpl-3.0 | 9,792 | 287 | codeparrot/github-code |
221d2bf56031437b22231def7e5e08ace90fdb3799f4fde309f7190c9fa9ef1b | <?xml version="1.0" encoding="utf-8"?>
<!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>ActiveRecord::Integration</title>
<meta http-equiv="Content-Type"... | HTML | doc/api/classes/ActiveRecord/Integration.html | asm-products/visitmee | agpl-3.0 | 8,452 | 236 | codeparrot/github-code |
7a78b522309082dcb684066d4fa09e408c79974d5380959c4f9f986dbe7dec24 | /**
* Copyright (c) 2015 Genome Research Ltd.
*
* Author: Cancer Genome Project cgpit@sanger.ac.uk
*
* This file is part of WwDocker.
*
* WwDocker is free software: you can redistribute it and/or modify it under
* the terms of the GNU Affero General Public License as published by the Free
* Software Foundat... | Java | src/main/java/uk/ac/sanger/cgp/wwdocker/Control.java | cancerit/WwDocker | agpl-3.0 | 4,533 | 116 | codeparrot/github-code |
315488775e8ceae42ec3789e1208cd88dd9d864f8bc09f4887d56b919759ca3b | import React from "react"
import { Button, TextArea, Form, Input, Field } from "@fider/components"
import { actions, notify, Failure, Fider } from "@fider/services"
import { AdminBasePage } from "../components/AdminBasePage"
interface InvitationsPageState {
subject: string
message: string
recipients: string[]
... | TypeScript | public/pages/Administration/pages/Invitations.page.tsx | getfider/fider | agpl-3.0 | 4,671 | 132 | codeparrot/github-code |
d5d3b94c84afff17e608023e17520861b87e20524cec7ce6ef5d717506303808 | /**
* This file is part of Superdesk.
*
* Copyright 2013, 2014 Sourcefabric z.u. and contributors.
*
* For the full copyright and license information, please see the
* AUTHORS and LICENSE files distributed with this source code, or
* at https://www.sourcefabric.org/superdesk/license
*/
(function() {
'use s... | JavaScript | scripts/superdesk-search-providers/module.js | vladnicoara/superdesk-client-core | agpl-3.0 | 6,545 | 158 | codeparrot/github-code |
048cb6bbd0d41bab75fd31e896b0555eea7c4531fb1c7b7e80bcc93db610e13b | /*
* Copyright (c) 2013-2015 John Connor (BM-NC49AxAjcqVcF5jNPu85Rb8MJ2d9JqZt)
*
* This file is part of vanillacoin.
*
* vanillacoin is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License with
* additional permissions to the one published by the Free... | C++ | src/crypter.cpp | fczuardi/vanillacoin | agpl-3.0 | 5,285 | 244 | codeparrot/github-code |
36a5366a5a16a602160c47ed3b8e4b6324e0d6e4a70d5a71b3e20212ff528f5d | {% extends "base.html" %}
{% block css_header %}
<style type="text/css">
html, body {margin: 0; height: 100%; overflow: hidden}
</style>
{% endblock %}
{%block body_content%}
<!-- Navigation -->
<!-- ACTIVE -->
<nav class="navbar navbar-expand-lg fixed-top navbar-shrink" id="mainNav">
<div class="container">
... | HTML | ProBot_Server/ProbotProject/project/templates/user/active.html | VitorHugoAguiar/ProBot | agpl-3.0 | 10,159 | 220 | codeparrot/github-code |
64548d62b51564ec36cab93d06f4c2a0b262bdcaed01cbe0796d2ecd826dc161 | # -*- coding: utf-8 -*-
"""
This file is part of checkmate, a meta code checker written in Python.
Copyright (C) 2015 Andreas Dewes, QuantifiedCode UG
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 Fou... | Python | checkmate/contrib/plugins/git/lib/repository.py | programmdesign/checkmate | agpl-3.0 | 19,633 | 493 | codeparrot/github-code |
ed2e30323232ccc8d1988d4f9f51774aa612fe7038a237ded547b882d78cc202 | /*
* The Kuali Financial System, a comprehensive financial management system for higher education.
*
* Copyright 2005-2014 The Kuali Foundation
*
* 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 | work/src/org/kuali/kfs/fp/businessobject/CreditCardDetail.java | ua-eas/ua-kfs-5.3 | agpl-3.0 | 8,525 | 247 | codeparrot/github-code |
1535fd4669b21bbb7c326a40147fdc752d3f47dadef5bb9d69ae20cd08eb4878 | /* 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/. */
// The service-mixin is used in views that know about services, which is mostly
// OAuth services but also Sync.
... | JavaScript | js/scripts/views/mixins/service-mixin.js | ogasser/firefoxsync | agpl-3.0 | 7,276 | 236 | codeparrot/github-code |
b11313ac6483d29c52cf9952c5eb37478f5f00718ca4b62cf7705adf2b9e80b5 | 'use strict';
var fs = require('fs');
var directiveTemplate = fs.readFileSync(__dirname + '/scripteditor.html', { encoding: 'utf-8' });
var ScriptEditorController = [ '$scope', function($scope) {
/** Some more used workbench items */
var workbench = $scope.workbench;
var serverSession = workbench.serverSession;... | JavaScript | webapp/lib/scripteditor/directive/scripteditor.js | camunda/camunda-bpm-workbench | agpl-3.0 | 3,126 | 119 | codeparrot/github-code |
56065b048c47cf93b72f9a4123eb220e9bb8b69aa386c8ff2f90aa07d7884048 | package contrib.uk.org.lidalia.slf4jext;
import org.slf4j.Logger;
import org.slf4j.Marker;
import java.util.HashSet;
import java.util.Set;
import java.util.Arrays;
/**
* Enum modelling the logical levels implied by the way <a href="http://www.slf4j.org">SLF4J</a> has the same set of methods
* repeated with differ... | Java | src/contrib/uk/org/lidalia/slf4jext/Level.java | cinquin/mutinack | agpl-3.0 | 13,497 | 372 | codeparrot/github-code |
e1e6925eb1c0bb55a50b3fcb3fc73f26fb84880ab7e7eef6661072f991191a36 | /*
* This file is part of the AzerothCore Project. See AUTHORS file for Copyright information
*
* 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 (a... | C++ | src/server/scripts/EasternKingdoms/ZulGurub/boss_venoxis.cpp | ShinDarth/azerothcore-wotlk | agpl-3.0 | 12,537 | 368 | codeparrot/github-code |
ec9878dc7764f3b55fc508c022ec717d24f33797a6ca897425233a57df87d928 | <!DOCTYPE html>
<html lang="en">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"/>
<meta charset="utf-8"/>
<title> » Compilation errors
</title>
<meta name="author" content=""/>
<meta name="description" content=""/>
<lin... | HTML | director/Server/1.1/doc/reports/errors.html | pwarnimo/srvmon | agpl-3.0 | 22,120 | 393 | codeparrot/github-code |
d1afc367e4aaca9ec759faead9a2268db1f11a67906a630d670cfab3ffbe990c | <?php
/**
* Application model for Cake.
*
* This file is application-wide model file. You can put all
* application-wide model-related methods here.
*
* PHP 5
*
* CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
* Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org)
*
... | PHP | app/Model/AppModel.php | Rafiot/MISP | agpl-3.0 | 89,461 | 1,934 | codeparrot/github-code |
ee2383dd4f17ef840597eb2c4dad8f76d10b780c3a6382866bcbf85e7a26216c | # Copyright: Damien Elmes <anki@ichi2.net>
# -*- coding: utf-8 -*-
# License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
import sys
from anki.hooks import runHook
from aqt.qt import *
from aqt.utils import openLink
from anki.utils import isMac, isWin
import anki.js
# Bridge for Qt<->JS
######... | Python | aqt/webview.py | timrae/anki | agpl-3.0 | 5,072 | 162 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.