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 |
|---|---|---|---|---|---|---|---|---|
75332714f14bdf9d3c80ddd21bcc9480708efc77bd587132c0c81da6499a7211 | from __future__ import absolute_import, print_function, division
import collections
import logging
from six.moves import StringIO
import numpy as np
import theano
from theano.configparser import config
import theano.tensor as T
import theano.sandbox.cuda as cuda
from theano.compile import Mode
from .mode import get_m... | Python | Vpy34/lib/python3.5/site-packages/theano/compile/nanguardmode.py | Weihonghao/ECM | agpl-3.0 | 12,284 | 354 | codeparrot/github-code |
15b4002dc4380ba0189a736edd3bcfce3861a4d2d5126532ea8629c3594cb1e5 | # -*- coding: utf-8 -*-
# Copyright (C) 2014-present Taiga Agile LLC
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later ver... | Python | taiga/events/management/commands/emit_notification_message.py | taigaio/taiga-back | agpl-3.0 | 1,345 | 35 | codeparrot/github-code |
ec8a6c810cab524095e29c420e988d799b3a36e0597c1aa7229c1b2ce435ec8c | # Copyright (c) 2014 by Ecreall under licence AGPL terms
# available on http://www.gnu.org/licenses/agpl.html
# licence: AGPL
# author: Vincent Fretin, Amen Souissi
import transaction
from substanced.util import get_oid
from dace.processinstance.event import DelayedCallback
from dace.util import (
find_catalog... | Python | dace/objectofcollaboration/system.py | ecreall/dace | agpl-3.0 | 2,093 | 80 | codeparrot/github-code |
a072cd561e9bb93cc44e815b77dd07c02926e1d346015fe42fdd6cf46d48c6eb | """
THIS MODULE IS DEPRECATED IN FAVOR OF https://github.com/edx/xblock-lti-consumer
Learning Tools Interoperability (LTI) module.
Resources
---------
Theoretical background and detailed specifications of LTI can be found on:
http://www.imsglobal.org/LTI/v1p1p1/ltiIMGv1p1p1.html
This module is based on the ve... | Python | common/lib/xmodule/xmodule/lti_module.py | jolyonb/edx-platform | agpl-3.0 | 37,872 | 918 | codeparrot/github-code |
48ef5006a1a5e71f9998bac825f51d9bd0c4b97c06254b50db480321c6591088 | /* ---------------------------------------------------------------------
* Numenta Platform for Intelligent Computing (NuPIC)
* Copyright (C) 2014, Numenta, Inc. Unless you have an agreement
* with Numenta, Inc., for a separate license for this software code, the
* following terms and conditions apply:
*
* This ... | Java | src/test/java/org/numenta/nupic/ParametersTest.java | hgulcan/badr_htm | agpl-3.0 | 8,781 | 235 | codeparrot/github-code |
df5b81ef95c1668e4087aedce139df1929f5381a234dfc3806c0b445d7fa08bc | /*
* Funambol is a mobile platform developed by Funambol, Inc.
* Copyright (C) 2003 - 2007 Funambol, Inc.
*
* 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 with the addit... | C++ | src/cpp/common/spds/SyncItem.cpp | pohly/funambol-cpp-client-api | agpl-3.0 | 12,326 | 466 | codeparrot/github-code |
e891ce57e0c0147c5ba72e11a15bc59a7d6a9f6c07d5c1fbf6eec001d47c46c4 | # Task is the base class of ... tasks! Its instances represents tasks that must
# be confirmed by someone (like an environment administrator) or by noosfero
# itself.
#
# The specific types of tasks <em>must</em> override the #perform method, so
# the actual action associated to the type of task can be performed. See t... | Ruby | app/models/task.rb | joenio/noosfero | agpl-3.0 | 8,896 | 313 | codeparrot/github-code |
8001be640cc346ccf3e61f4d5b288ee9f47945b82cd48321591821149cd967b3 | /*
* ============================================================================
* Copyright (C) 2017 Kaltura Inc.
*
* Licensed under the AGPLv3 license, unless a different license for a
* particular library is specified in the applicable library path.
*
* You may obtain a copy of the License at
* https://ww... | Java | playkit/src/main/java/com/kaltura/playkit/api/phoenix/PhoenixErrorHelper.java | shaoliancheng/videoplayer-android-tv | agpl-3.0 | 3,291 | 98 | codeparrot/github-code |
1fd71bf98a6ab31565062deb6486579d998779a4cac11322c0398352c2cc2fc0 | <?php
/**
* OpenEyes.
*
* (C) Moorfields Eye Hospital NHS Foundation Trust, 2008-2011
* (C) OpenEyes Foundation, 2011-2013
* 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/OphCiExamination/models/OphCiExamination_Refraction_Sphere_Integer.php | FiviumAustralia/OpenEyes | agpl-3.0 | 2,804 | 87 | codeparrot/github-code |
891ff14017e0361069309ed3cd4c10c17ae3c5c207fb8c14eb0589625cd2a641 | ---
layout: post
title: Teaching About Copyright and Fair Use for Media Literacy Education
date: 2009-05-26 11:46:55.000000000 -04:00
categories:
- ccLearn
- Weblog
tags:
- American University
- Australia
- best practices
- Center for Social Media
- Center for Social Media at AU
- code
- code of best practices in fair ... | HTML | _source/_posts/2009-05-26-teaching-about-copyright-and-fair-use-for-media-literacy-education.html | creativecommons/www2015 | agpl-3.0 | 2,105 | 39 | codeparrot/github-code |
573a5e3eb61a05710f22e922e9b6afb2ae014450d491eb37bb06522c91ab6164 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" con... | HTML | docs/inherits.html | DjangoChained/TchouTchouGo | agpl-3.0 | 8,682 | 124 | codeparrot/github-code |
f182e690cb922ec6c8561e5abaed4d4d6cf716e792e6f54e8a59d01f840d8797 | /**
* 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 the Free... | Java | src/test/java/com/rapidminer/tools/expression/internal/function/AntlrParserEqualsTest.java | rapidminer/rapidminer-studio | agpl-3.0 | 29,639 | 793 | codeparrot/github-code |
d63121f71230cd642cab7d66b564dbe86e006972de8884128439d8583fd6005b | /*
* Copyright (C) 2016-2020 the original author or authors
*
* 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 versio... | Java | src/main/java/space/npstr/wolfia/domain/settings/ChannelSettingsService.java | napstr/wolfia | agpl-3.0 | 4,620 | 143 | codeparrot/github-code |
65d381e8928fac0b87e4fc4a00eec6e8c3126a6601e74b0b573b3190fe583029 | #include "f2c.h"
#include "blaswrap.h"
/* Table of constant values */
static integer c__1 = 1;
static doublereal c_b8 = 0.;
/* Subroutine */ int dlarft_(char *direct, char *storev, integer *n, integer *
k, doublereal *v, integer *ldv, doublereal *tau, doublereal *t,
integer *ldt)
{
/* System gener... | C | bundler-sfm/lib/clapack/SRC/dlarft.c | AsherBond/MondocosmOS | agpl-3.0 | 8,313 | 268 | codeparrot/github-code |
ddabc9e0a1f13edb8fb6de06a39001732dfc4db56a0a588e8af657ccf2fd1dfa | (function (mw, $) {
"use strict";
mw.webcast = mw.webcast || {};
mw.webcast.CuePointsManager = mw.KBasePlugin.extend({
/* DEVELOPER NOTICE: you should not set any property directly here (they will be shared between instances) - use the setup function instead */
setup: function () {
... | JavaScript | modules/BorhanSupport/resources/webcast/cuePointsManager.js | bordar/mwEmbed | agpl-3.0 | 24,015 | 502 | codeparrot/github-code |
58bb707e6829a3f30318d278b3e2e3a11c682eb06b2d7c54f0013ae704fccf93 | --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/sword/crafted_saber/sword_lightsaber_one_handed_s12_gen2.lua | lasko2112/legend-of-hondo | agpl-3.0 | 6,233 | 143 | codeparrot/github-code |
ed670a1fe7498f0c73f4717dfe560090252fb13ca473f531689b8e84858f96aa | <?php namespace Controllers\Admin;
use AdminController;
use Input;
use Lang;
use Redirect;
use Setting;
use DB;
use Sentry;
use Consumable;
use Str;
use Validator;
use View;
use User;
use Actionlog;
use Mail;
use Datatable;
use Slack;
use Config;
class ConsumablesController extends AdminController
{
/**
* Sh... | PHP | app/controllers/admin/ConsumablesController.php | csd-dev/snipe-it | agpl-3.0 | 13,330 | 385 | codeparrot/github-code |
a9f8a797da0fea91fadfa6c2d7c330434d1eb32a440266ab849243496206c692 | /*******************************************************************************
*
* Copyright (c) 2009, 2019 Erik Berglund.
*
* This file is part of Conserve.
*
* Conserve is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public Lic... | Java | conserve/src/com/github/conserveorm/tools/Tools.java | ConserveORM/main | agpl-3.0 | 9,247 | 330 | codeparrot/github-code |
399fe92e28d1eae75c148899813a30a81c0d11856df0e3d08e897f4c3d6b78ba | #ifndef __DS_H__
#define __DS_H__
#include <stdint.h>
#include <malloc.h>
// declare a vector
#define VEC(t) \
struct { \
size_t len, alloc; \
t* data; \
}
// initialisze a vector
#define VEC_INIT(x) \
do { \
(x)->data = NULL; \
(x)->len = 0; \
(x)->alloc = 0; \
} while(0)
// helpers
#define VEC_LEN(x) ((x)... | C | src/ds.h | yzziizzy/model_viewer | agpl-3.0 | 2,802 | 147 | codeparrot/github-code |
4e8b39a0837f5561480cf2461b719068ccb9296e76e501c60af84db2b71cc27b | package com.x.bbs.assemble.control.jaxrs;
import javax.servlet.FilterChain;
import javax.servlet.ServletException;
import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;
import javax.servlet.annotation.WebFilter;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletRes... | Java | o2server/x_bbs_assemble_control/src/main/java/com/x/bbs/assemble/control/jaxrs/BBSJaxrsFilter.java | o2oa/o2oa | agpl-3.0 | 2,182 | 65 | codeparrot/github-code |
70d9a5d27bac93cb83315eb4c0c12ffcb1d845fb4f83fc708f50c5cac05bc1da | /**
* Axelor Business Solutions
*
* Copyright (C) 2005-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 distr... | Java | axelor-web/src/main/java/com/axelor/web/service/SearchService.java | donsunsoft/axelor-development-kit | agpl-3.0 | 2,829 | 96 | codeparrot/github-code |
df4986c067f16b6433b4b937c076c4dbcdf32d3f2793eb88b025e51d60d47b81 | package org.opencps.statistic.rest.dto;
public class GetDossierRequest extends CommonRequest {
public String getRegisterBookCode() {
return registerBookCode;
}
public void setRegisterBookCode(String registerBookCode) {
this.registerBookCode = registerBookCode;
}
public String getProcessNo() {
return proces... | Java | modules/backend-statistic-rest/src/main/java/org/opencps/statistic/rest/dto/GetDossierRequest.java | VietOpenCPS/opencps-v2 | agpl-3.0 | 7,272 | 316 | codeparrot/github-code |
f28046a687dcf8f0b0b69e760513d95452be86bfd21f5a94517524a487c21797 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace HearthAnalyzer.Core.Cards.Minions
{
/// <summary>
/// Implements the Southsea Deckhand
///
/// Has <b>Charge</b> while you have a weapon equipped.
/// </summary>
/// <r... | C# | HearthAnalyzer.Core/Cards/Minions/SouthseaDeckhand.cs | kwluo90/HearthAnalyzer | agpl-3.0 | 969 | 36 | codeparrot/github-code |
7063cfb425cea2835194d5e3e61028293e6b2b63c7cae2c9850f04d5d0bfb321 | # Copyright (c) 2001-2015, Canal TP and/or its affiliates. All rights reserved.
#
# This file is part of Navitia,
# the software to build cool stuff with public transport.
#
# Hope you'll enjoy and contribute to this project,
# powered by Canal TP (www.canaltp.fr).
# Help us simplify mobility and open public tr... | Python | source/navitiacommon/navitiacommon/utils.py | francois-vincent/navitia | agpl-3.0 | 3,570 | 112 | codeparrot/github-code |
1a446586da7e6c8c27113feec897d94b1aeaecb2784aeddde7b23e159e0bb601 | /* CrappyDBMS, a simple relational DBMS written in Java.
Copyright (C) 2008 Facundo Manuel Quiroga <facundoq@gmail.com>
This file is part of CrappyDBMS.
CrappyDBMS is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free... | Java | crappydbms/CrappyDBMS/src/org/crappydbms/datadictionary/InvalidStoredRelationNameException.java | facundoq/toys | agpl-3.0 | 1,244 | 43 | codeparrot/github-code |
392bbec5a40a7b4048a89ed559537112e73327617d1b9622e3727c87e2951418 | /*
* Java World of Warcraft Emulation Project
* Copyright (C) 2015-2020 JavaWoW
*
* 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 op... | Java | src/main/java/com/github/javawow/data/input/GenericLittleEndianAccessor.java | JavaWoW/JavaWoW | agpl-3.0 | 6,013 | 243 | codeparrot/github-code |
1ade574ff5a830c73e8f5cff89f4619b11ca468f7f15ed3d23c7e96e79c7bf69 | <?php
/*--------------------------------------------------------------+
| PHP-Fusion 7 Content Management System |
+--------------------------------------------------------------+
| Copyright © 2002 - 2013 Nick Jones |
| http://www.php-fusion.co.uk/ |
+------... | PHP | clancash_panel/ccp_cats.php | globeFrEak/clancash | agpl-3.0 | 5,203 | 125 | codeparrot/github-code |
1226851c484fdd2121ac86c4a70fb854a11fe0998092f2bc1d0896faef6b61b7 | 'use strict';
import _ from 'lodash/core';
export default class AnalyzerEditController {
constructor(
$log,
$uibModalInstance,
definition,
globalConfig,
baseConfig,
configuration,
analyzer,
mode
) {
'ngInject';
this.$log = $log;
this.$uibModalInstance = $uibModalInstan... | JavaScript | www/src/app/pages/admin/organizations/components/analyzers/analyzer.edit.controller.js | CERT-BDF/Cortex | agpl-3.0 | 2,137 | 86 | codeparrot/github-code |
9a99fff2d24e49770a5d1f488cb9a9d1394983c1bdff9ca6c515f713d7a9890b | <?php
/**
* This software package is licensed under `AGPL, Commercial` license[s].
*
* @package maslosoft/zamm
* @license AGPL, Commercial
*
* @copyright Copyright (c) Peter Maselkowski <pmaselkowski@gmail.com>
* @link https://maslosoft.com/zamm/
*/
namespace Maslosoft\Zamm\Decorators;
use Maslosoft\Zamm\Int... | PHP | src/Decorators/AbstractDecorator.php | Maslosoft/Zamm | agpl-3.0 | 1,752 | 90 | codeparrot/github-code |
48670c469bde94e2893ddf154bdccbba83088b1576f4adb1f30144e9b2948b45 | <?php
/*********************************************************************************
* Zurmo is a customer relationship management program developed by
* Zurmo, Inc. Copyright (C) 2013 Zurmo Inc.
*
* Zurmo is free software; you can redistribute it and/or modify it under
* the terms of t... | PHP | app/protected/modules/export/models/ExportItem.php | zurmo/Zurmo | agpl-3.0 | 5,179 | 114 | codeparrot/github-code |
5d8ec83cc49dd0cfb71c8712b75196ddcc6dcfbd2bcb68a255a27f90eccbaee6 | ---------------------------------------------------------
-- SQL script for the schema generation of the TriggerDB
--
-- This script simply combines scripts that have been
-- developed before (see comments below)
-- In this combination the names of tables and attributes
-- have been changed in order to follow a ... | SQL | resources/Atlas/schemata/1159354265.sql | DAINTINESS-Group/Hecate | agpl-3.0 | 64,120 | 1,583 | codeparrot/github-code |
5e000215fb6622ec2e6f045e20772d02974a70652f57924fc23cff4baecd9133 | # -*- coding: utf-8 -*-
###############################################################################
#
# OpenERP, Open Source Management Solution
# Copyright (C) 2004-2009 Tiny SPRL (<http://tiny.be>). All Rights Reserved
# d$
#
# This program is free software: you can redistribute it and/or modify
#... | Python | production_line_statistic/statistic.py | cherrygirl/micronaet7 | agpl-3.0 | 4,479 | 112 | codeparrot/github-code |
43978700e9735f77493aec97e25099513d54530d9a1fc4a03f696c7de1035602 | package crypto
import (
"crypto/rand"
"encoding/base64"
"io"
"time"
)
// GenerateRandomBytes returns securely generated random bytes. It will return
// an error if the system's secure random number generator fails to function
// correctly, in which case the caller should not continue.
func GenerateRandomBytes(n i... | GO | pkg/crypto/utils.go | sebn/cozy-stack | agpl-3.0 | 1,043 | 42 | codeparrot/github-code |
15bb908b24d71cbef6f6f80a82ee751b03185e6a90c4af63bf53c63154c1cae3 | <?php
// +-----------------------------------------------------------+
// | The source code packaged with this file is Free Software, |
// | licensed under the AFFERO GENERAL PUBLIC LICENSE. |
// | Please see: |
// | http://www.affero.org/oagpl.html for more infor... | PHP | www/includes/html_comment.php | xakutin/deTapeo | agpl-3.0 | 7,780 | 168 | codeparrot/github-code |
57c30ed3f8838c59f0e0c41e660fbdc71fb476a9255d236967dfad6be26d2246 | /*
mycloudportal - Self Service Portal for the cloud.
Copyright (C) 2012-2013 Mycloudportal Technologies Pvt Ltd
This file is part of mycloudportal.
mycloudportal 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... | Java | src/main/java/in/mycp/utils/Commons.java | MCPTech/mycp | agpl-3.0 | 14,178 | 424 | codeparrot/github-code |
91690a071a4e8ce1f9376e4619c30063d59952d2b83ae8a31d8509bba189ce4b | # -*- encoding: utf-8 -*-
##############################################################################
#
# 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... | Python | cost_simulator/models/simulation_template.py | avanzosc/cost_simulator | agpl-3.0 | 4,268 | 95 | codeparrot/github-code |
2e43fe670e38dcf3e466b845700236623d82b352258bff929d103596966b93d4 | package org.demo.sga;
/**
* <p>
* 遗传算法主程序
* </p>
* 2016年2月2日
*
* @author <a href="http://weibo.com/u/5131020927">Q-WHai</a>
* @see <a href="http://blog.csdn.net/lemon_tree12138">http://blog.csdn.net/lemon_tree12138</a>
* @version 0.1.1
*/
public class SGA {
private static final int GENE_COUPLE = 22; // ... | Java | src/org/demo/sga/SGA.java | William-Hai/SimpleDemo | agpl-3.0 | 2,160 | 100 | codeparrot/github-code |
0ac1bc8f8c4073b8ff43f2f8a78895d80d84ce987cf47b7ef845f6e8e35a0368 | # This file is part of Shuup.
#
# Copyright (c) 2012-2016, Shoop Commerce Ltd. All rights reserved.
#
# This source code is licensed under the AGPLv3 license found in the
# LICENSE file in the root directory of this source tree.
"""
Patched version of Django's Makemessages that works with Jinja2.
Works by monkey patch... | Python | shuup/core/management/commands/makemessages.py | suutari/shoop | agpl-3.0 | 5,247 | 165 | codeparrot/github-code |
40205b960e8886fa5b8b7672813fa57da3ce504fec68a118bebb385398ab2be1 | /*******************************************************************************
* This file is part of Termitaria, a project management tool
* Copyright (C) 2008-2013 CodeSphere S.R.L., www.codesphere.ro
*
* Termitaria is free software; you can redistribute it and/or
* modify it under the ter... | Java | TermitariaTS/src/ro/cs/ts/ws/client/cm/entity/WSProject.java | CodeSphere/termitaria | agpl-3.0 | 5,590 | 206 | codeparrot/github-code |
ab79b8b92a55a8ad7335ec743fc568f56f623edc4e44f9e169001685fa74ef4d | /*Copyright 2016 Agileworks*/
package nl.agiletech.flow.cmp.exec.requesthandlers;
import java.io.PrintWriter;
import java.util.logging.Logger;
import nl.agiletech.flow.cmp.exec.ProjectExecutor;
import nl.agiletech.flow.cmp.exec.RequestHandler;
import nl.agiletech.flow.cmp.exec.Response;
import nl.agiletech.flow.commo... | Java | cmp/src/main/java/nl/agiletech/flow/cmp/exec/requesthandlers/ReportRequest.java | moinc/flow | agpl-3.0 | 1,295 | 39 | codeparrot/github-code |
bc46506be18c4637751309932a6400012c35107b9eb671bdf72cf16e9bc7af67 | # -*- coding: utf-8 -*-
from datetime import date
from django import forms
from django.forms.util import ErrorList
from openedx.core.djangoapps.ga_operation.ga_operation_base_form import (GaOperationEmailField,
FIELD_NOT_INPUT, INVALID_EMAIL)
... | Python | lms/djangoapps/ga_operation/forms/search_by_email_and_period_date_form.py | nttks/edx-platform | agpl-3.0 | 1,598 | 53 | codeparrot/github-code |
4e88078724714cb204b4990d2d96d6ca189996c4234f50869dd53ec34370d1f2 | <!DOCTYPE html>
<html lang="en"
>
<head>
<title>Week 6-單連桿onshape繪製 - 2017Spring 協同產品設計實習 (虎尾科大MDE)</title>
<!-- Using the latest rendering mode for IE -->
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.... | HTML | blog/Week 6.html | 40423214/2017springcd_hw | agpl-3.0 | 12,571 | 287 | codeparrot/github-code |
bf547bfce0693199078e305b4027e2c1c9c320936b293d9478a001b6b9c7254e | // jshint esversion: 8
const _ = require('lodash');
const express = require('express');
const moment = require('moment');
const authHelper = require('../helpers/authentication');
const recurringEventsHelper = require('../helpers/recurringEvents');
const permissionHelper = require('../helpers/permissions');
const redi... | JavaScript | controllers/teams.js | schul-cloud/schulcloud-client | agpl-3.0 | 36,630 | 1,440 | codeparrot/github-code |
758b5c34bc5b7907f0b250701101ad18cd6539e4ba022888e209856986d8f333 | package nl.wietmazairac.bimql.get.attribute;
/******************************************************************************
* Copyright (C) 2009-2017 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
* publish... | Java | BimQL/src/nl/wietmazairac/bimql/get/attribute/GetAttributeSubIfcFillAreaStyleHatching.java | opensourceBIM/bimql | agpl-3.0 | 3,203 | 97 | codeparrot/github-code |
3334e8c47c5a82395a3f6391443bd94338072c146a98516d5dccfd7afbc4b489 | /*
* (c) Copyright Ascensio System SIA 2010-2019
*
* This program is a free software product. You can redistribute it and/or
* modify it under the terms of the GNU Affero General Public License (AGPL)
* version 3 as published by the Free Software Foundation. In accordance with
* Section 7(a) of the GNU AGPL... | C# | Test/Applications/TeamlabDocControlService/TeamlabDocControlService/ServiceSource/RequestResolvers/ClearFolderResolver.cs | ONLYOFFICE/core | agpl-3.0 | 2,858 | 76 | codeparrot/github-code |
5becbd44dc8180c85f9a114f7c0a00c489f516537c4848b14172e603bb46d8fa | 'use strict';
Room.prototype.creepMem = function(role, targetId, targetRoom, level, base) {
return {
role: role,
routing: {
targetRoom: targetRoom || this.name,
targetId: targetId,
},
level: level,
base: base,
};
};
/**
* get priority from config for a creep.
*
* @param {Object... | JavaScript | src/prototype_room_creepbuilder.js | TooAngel/screeps | agpl-3.0 | 14,622 | 530 | codeparrot/github-code |
eea9a4a0080730f15c86a1591d302958445ddd0e933a11160134ab47a0e843eb | /*
* ArgonMS MapleStory server emulator written in Java
* Copyright (C) 2011-2013 GoldenKevin
*
* 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, ... | Java | src/argonms/login/character/LoginCharacter.java | Kevin-Jin/argonms-server | agpl-3.0 | 12,106 | 321 | codeparrot/github-code |
07d8143d6c7d7bac8ec56760806b59e673c569ec1a7bca1f3d7b9d4ca54b4269 | package edu.mit.kc.roleintegration;
import java.security.KeyStore;
import java.security.KeyStoreException;
import java.security.NoSuchAlgorithmException;
import java.security.UnrecoverableKeyException;
import java.util.ArrayList;
import java.util.List;
import javax.net.ssl.KeyManager;
import javax.net.ssl.KeyManagerF... | Java | coeus-impl/src/main/java/edu/mit/kc/roleintegration/CentralRoleServiceImpl.java | rashikpolus/MIT_KC | agpl-3.0 | 7,150 | 203 | codeparrot/github-code |
807b6fa3b96c7ba35f356d7ffb765666838dd00883e3d4ed69b200168190a5bd | /* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
... | JavaScript | public/javascripts/ace/ace/edit_session.js | reidab/icecondor-server-rails | agpl-3.0 | 20,733 | 715 | codeparrot/github-code |
3e6d203b9e25d1e5f3635331b2bf95d7438f52b00388a6059858b41eb99e45a9 | <?php declare(strict_types=1);
/**
* Copyright (C) 2017 Johnny Robeson <johnny@localmomentum.net>
*
* 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... | PHP | src/GameBundle/Controller/DtoFormFactory.php | lazerball/HitTracker | agpl-3.0 | 1,785 | 52 | codeparrot/github-code |
f311f7f22daee8d5b6303bd192dc9dc55e90c6f51d944ba3f227a19e4812b1d0 | #include "mupdf/fitz.h"
fz_buffer *
fz_new_buffer(fz_context *ctx, size_t size)
{
fz_buffer *b;
size = size > 1 ? size : 16;
b = fz_malloc_struct(ctx, fz_buffer);
b->refs = 1;
fz_try(ctx)
{
b->data = fz_malloc(ctx, size);
}
fz_catch(ctx)
{
fz_free(ctx, b);
fz_rethrow(ctx);
}
b->cap = size;
b->len =... | C | source/fitz/buffer.c | tribals/mupdf | agpl-3.0 | 9,063 | 438 | codeparrot/github-code |
3563e4256046fba1f37c579bbd0f3aec3ea9e930def5c4a6374777ebcd6538ed | \documentclass{acm_proc_article-sp}
%\documentclass{sig-alternate}
%\documentclass[10pt]{article}
%\documentclass[11pt]{article}
%\RequirePackage{paper}
\hyphenation{gen-er-ic}
\begin{document}
\title{Demeter Aspects}
\subtitle{[Extended Abstract]}
\numberofauthors{3}
\author{
\alignauthor Karl Lieberherr\\
Johan... | TeX | public/dougo/demeter-aspects-poster/poster.tex | dougo/steak-place | agpl-3.0 | 8,681 | 201 | codeparrot/github-code |
a1b472e1adf36ff6a6323c823c96165383436296d3322ebe1a53170e8f3c54c7 | /***************************************************************************
modifyconstraintteachersminhoursdailyform.h - description
-------------------
begin : Sept. 21, 2007
copyright : (C) 2007 by Lalescu Liviu
email ... | C | src/interface/modifyconstraintteachersminhoursdailyform.h | rodolforg/fet | agpl-3.0 | 1,845 | 43 | codeparrot/github-code |
ee723dcd1055e2912c5253e9d19e2c9b51e89e1cbedbbe9ede8dc80e5b5d0b46 | C=======================================================================
C CSP_OPGROW, Subroutine for CASUPRO sugarcane model, based on
C OPGROW, Subroutine, G. Hoogenboom, J.W. Jones
C-----------------------------------------------------------------------
C Generates output file for daily growth variables
C--... | FORTRAN | models/pdssat45/source/csm45/Source045/CSP_OPGROW.f90 | glotter/psims | agpl-3.0 | 46,622 | 1,210 | codeparrot/github-code |
fb361a34bf42e21c9d8029a0ec389f4f0925e3e418e16b52bcad7d945fc4c0ea | <!DOCTYPE html>
<html lang="en"
>
<head>
<title>40323149 final 報告 - CD期末考週 網頁 (虎尾科大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">
<sty... | HTML | static/blog/40323149-final-bao-gao.html | 40323150/2016springcd_aG9 | agpl-3.0 | 25,399 | 538 | codeparrot/github-code |
6e0e6ef9a024d9c7d3935babff4ac22dfeab5dc26ddc6e9b579b8ab96ca37b90 | #!/usr/bin/env python
# -*- coding: utf-8; tab-width: 4; indent-tabs-mode: t -*-
#
# NetProfile: Access module - Models
# © Copyright 2013-2015 Alex 'Unik' Unigovsky
#
# This file is part of NetProfile.
# NetProfile is free software: you can redistribute it and/or
# modify it under the terms of the GNU Affero General P... | Python | netprofile_access/netprofile_access/models.py | nikitos/npui | agpl-3.0 | 23,664 | 996 | codeparrot/github-code |
90f52288f8267667b69d063cb64ebf776611b3f1aae3813cea0a986736817735 | <?php
/*
* Copyright (C) 2006-2020 Alex Lance, Clancy Malcolm, Cyber IT Solutions
* Pty. Ltd.
*
* This file is part of the allocPSA application <info@cyber.com.au>.
*
* allocPSA is free software: you can redistribute it and/or modify it
* under the terms of the GNU Affero General Public License as published by
... | PHP | time/timeSheet.php | cyberitsolutions/alloc | agpl-3.0 | 42,862 | 966 | codeparrot/github-code |
26e6ef56e58653bb93810567c9211f27b872e97adaa211f365ca34208af887db | """
simpleSetup2: runs POST the JS setup
NOTE: for 1.2 USERS (and their signatures) still done here. Next jsSetup will take this over and the User setup part
will be removed from here.
"""
import os
import sys
import logging
import time
sys.path = ['rasUtilities'] + sys.path
import OSEHRASetup
from OSEHRAHelper impo... | Python | setupDocker/pySetup/simpleSetup2.py | vistadataproject/nodeVISTA | agpl-3.0 | 5,139 | 151 | codeparrot/github-code |
a757318cd3bc4b29565b337f36f8cb1e3d6334e75da0f9ca718e5a0c6b35349d | <!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/ports/metadata/AbstractPrecondition.html | cm-is-dog/rapidminer-studio-core | agpl-3.0 | 53,892 | 889 | codeparrot/github-code |
16171f73ac79103985af5104ea05452c34f18306aeab1b10131b9856479dec48 | #include "postgres.h"
#include <unistd.h>
#include <sys/stat.h>
#include "executor/spi.h"
#if PG_VERSION_NUM >= 90300
#include "access/htup_details.h"
#endif
#include "catalog/pg_type.h"
#include "fmgr.h"
#include "funcapi.h"
#include "mb/pg_wchar.h"
#include "miscadmin.h"
#include "port.h"
#include "storage/fd.h"
#... | C | file.c | pgoracle/pgora-builtin | agpl-3.0 | 22,912 | 1,091 | codeparrot/github-code |
60d1a18f2e7a42651d0d5948e3f49ccc848a91b9c142f6a38c3095a737d7b7c6 | /********
* This file is part of Ext.NET.
*
* Ext.NET is free software: you can redistribute it and/or modify
* it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
... | C# | Ext.Net/Factory/Builder/LabelableBuilder.cs | codeyu/Ext.NET.Community | agpl-3.0 | 14,519 | 377 | codeparrot/github-code |
d81fb635581c5890eef6bd3e9ab989ea87a6c5c58f4ce614b26a90dc8c42f249 | package com.puresoltechnologies.toolshed.client.profiles;
import static java.nio.ByteOrder.LITTLE_ENDIAN;
import java.io.Closeable;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.nio.charset.Charset;
import java.util.function.BiConsumer;
import org.slf4j.Logger;
im... | Java | toolshed/application/src/main/java/com/puresoltechnologies/toolshed/client/profiles/IdsReader.java | PureSolTechnologies/Purifinity | agpl-3.0 | 5,038 | 135 | codeparrot/github-code |
21b0414da6b2e4e5a12973ec138ee1c5a6dff2c3cb5e1331a2b29dac3de0ab1c | // <copyright file="TileMapControl.Scroll.cs" company="Public Domain">
// Copyright (c) 2018 Nelson Garcia. All rights reserved
// Licensed under GNU Affero General Public License.
// See LICENSE in project root for full license information, or visit
// https://www.gnu.org/licenses/#AGPL
// </copyright... | C# | src/Controls/TileMapControl.Scroll.cs | bonimy/MushROMs | agpl-3.0 | 4,477 | 162 | codeparrot/github-code |
c530b3c438cc6bf75c286f89942bd321084f08fb61b64cbcf745f774dce28cd0 | package com.x.file.assemble.control.jaxrs.recycle;
import java.util.List;
import com.x.base.core.container.EntityManagerContainer;
import com.x.base.core.container.factory.EntityManagerContainerFactory;
import com.x.base.core.entity.JpaObject;
import com.x.base.core.project.annotation.FieldDescribe;
import com.x.base... | Java | o2server/x_file_assemble_control/src/main/java/com/x/file/assemble/control/jaxrs/recycle/ActionList.java | o2oa/o2oa | agpl-3.0 | 1,708 | 53 | codeparrot/github-code |
10979e7f5fdab4c904d2d052f3655d8bc6b7e3da44418a489511e69856099e27 | #!/usr/bin/env python
# -*- coding: utf8 -*-
import sys
import bs4
import json
import re
def xml2json(s):
global timestamp
timestamp = 0
s = s.replace(u'\xa0', u' ')
soup = bs4.BeautifulSoup(s, features="lxml")
intervention_vierge = {"intervenant": "", "contexte": ""}
intervention_vierge["sourc... | Python | batch/hemicycle/parse_hemicycle.py | regardscitoyens/nosdeputes.fr | agpl-3.0 | 4,970 | 113 | codeparrot/github-code |
1c1bd3c0980cd8470f8159e3e74a7c108abcf15b7c0e07a5e72f87c3ce6ab859 | <?php
namespace Karambol\Bootstrap;
use Karambol\KarambolApp;
use Silex\Provider\SecurityServiceProvider;
use Karambol\Security\UserProvider;
use Karambol\Security\UserFoundEvent;
use Karambol\RuleEngine\RuleEngine;
use Karambol\AccessControl\Voter\RuleEngineAccessControlVoter;
use Karambol\RuleEngine\RuleEngineVaria... | PHP | src/Bootstrap/SecurityBootstrap.php | Bornholm/karambol | agpl-3.0 | 1,244 | 49 | codeparrot/github-code |
7114f0388225b42d2374dc23911b228d8cd2cb73de441303359047c0122b330c | import React from 'react';
import { shallow } from 'enzyme';
import { UnThemedQueryField } from './QueryField';
import { Editor } from 'slate';
import { createTheme } from '@grafana/data';
describe('<QueryField />', () => {
it('should render with null initial value', () => {
const wrapper = shallow(
<UnThe... | TypeScript | packages/grafana-ui/src/components/QueryField/QueryField.test.tsx | grafana/grafana | agpl-3.0 | 4,906 | 124 | codeparrot/github-code |
2655c8dc60f4d25bfe776da042de4ce30dd1aec7dc7fe45c0381a4c2a50c06a0 | # coding=utf-8
"""
Implements PowerManagement functions using /sys/class/power_supply/*
See doc/linux for platform-specific details.
"""
__author__ = 'kulakov.ilya@gmail.com'
import os
import warnings
from power import common
POWER_SUPPLY_PATH = '/sys/class/power_supply'
if not os.access(POWER_SUPPLY_PATH, os.R_OK... | Python | TinkerineSuite/python/Lib/power/linux.py | tinkerinestudio/Tinkerine-Suite | agpl-3.0 | 8,180 | 184 | codeparrot/github-code |
3fe127eb30948bdb6a62095b521330373228983f1d53a1cc27a61d0e6e8bf5a8 | package com.tesora.dve.persist;
/*
* #%L
* Tesora Inc.
* Database Virtualization Engine
* %%
* Copyright (C) 2011 - 2014 Tesora Inc.
* %%
* 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 ... | Java | tesora-dve-core/src/main/java/com/tesora/dve/persist/DBHelperProvider.java | Tesora/tesora-dve-pub | agpl-3.0 | 1,476 | 55 | codeparrot/github-code |
71a942e2e9e0d500d11585564b29084b506ecb14f818517e8e3c8c0b74be1510 | class Seeker < ActiveRecord::Base
require 'rest-client'
devise :database_authenticatable, :registerable, authentication_keys: [:login]
CURRENT_LINK = "#{ENV['JUGENDAPP_URL']}/api/ji/jobboard/sync"
CHECK_LINK = "#{ENV['JUGENDAPP_URL']}/api/ji/jobboard/check-user"
# include ConfirmToggle
include Auditable
... | Ruby | app/models/seeker.rb | smalljobs/smalljobs | agpl-3.0 | 15,351 | 492 | codeparrot/github-code |
596a5499dfd1b3a66b583c01dadc778feeac7f7d32e99234f6c58c48b2778009 | <!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>
2016 Fall 電腦輔助設計實習課程
</title>
<meta name="description" content="A framework for easily creating beautiful presentations using HTML">
<meta name="author" content="Hakim El Hattab">
<meta name="apple-mobile-web-app-capable" conten... | HTML | index.html | 40423240/2016fallcadp_hw | agpl-3.0 | 10,007 | 748 | codeparrot/github-code |
98489876495dfceec89d83af3b4e738c8651d4a561062159d7196e15ca798384 | # -*- coding: utf-8 -*-
# Copyright (C) 2009-2014:
# Gabes Jean, naparuba@gmail.com
# Gerhard Lausser, Gerhard.Lausser@consol.de
# Gregory Starck, g.starck@gmail.com
# Hartmut Goebel, h.goebel@goebel-consult.de
#
# This file is part of Shinken.
#
# Shinken is free software: you can redistribute it and/... | Python | shinken/util.py | staute/shinken_deb | agpl-3.0 | 24,533 | 889 | codeparrot/github-code |
299cff0fab88531ea30f39746959656f7a55700cf293d8a2c332f007bad18c31 | package net.sf.odinms.client;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.Collection;
import java.util.Deque;
import java.util.LinkedHashMap;
import java.util.LinkedList;
import java.util.Map;
import net.sf.odinms.database.Da... | Java | src/src/net/sf/odinms/client/BuddyList.java | Micah-S/hidden-ms | agpl-3.0 | 3,496 | 132 | codeparrot/github-code |
fad8dcda3ebccb2280f02130955ea776835d7c7394626eb0a4fd6d90e82757de | import styled from 'styled-components'
import {StyledEditableWrapperCss, StyledInputCss} from '../StyledEditableValue'
export const StyledDatePickerInput = styled.input`
&&& {
${StyledInputCss}
margin: 0;
}
`
export const StyledDatePickerValue = styled.div`
&& {
${StyledInputCss}
display: flex;... | JavaScript | packages/core/tocco-ui/src/EditableValue/typeEditors/StyledDatePicker.js | tocco/tocco-client | agpl-3.0 | 755 | 37 | codeparrot/github-code |
50f564b373415dd82e1aeada7ec971f97b9b3af22766c65fbe4e89c391134396 | <?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 license an... | PHP | library/Zend/Validate/Abstract.php | Sparfel/iTop-s-Portal | agpl-3.0 | 12,272 | 457 | codeparrot/github-code |
d775096b8e930a885aa5ce69cf71fb70ccc2c8c5859fb889d055cbb2b5193b40 | /* Copyright 2014 Martin John Baker
*
* This file is part of EuclideanSpace.
*
* EuclideanSpace is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any... | Java | com.euclideanspace.aldor/src/com/euclideanspace/aldor/CustomNodeModelBuilder.java | martinbaker/euclideanspace | agpl-3.0 | 5,204 | 138 | codeparrot/github-code |
21799ab719846e73c5ae911e6f449203cbb2e0e847f73315c9960ed028194ad2 | ! Subroutine SNOEM calculates nitric oxide zonal mean altitude profile
! as function of magnetic latitude for specified day of year, Kp, and F10.7.
! The NOEM empirical model is based on data from the SNOE ultraviolet
! spectrometer during 1998-2000, using empirical orthogonal function analysis.
! Altitude range is fr... | FORTRAN | fortran/snoem.f | scienceopen/glowaurora | agpl-3.0 | 2,480 | 84 | codeparrot/github-code |
57bbf63dab6c25e466cac8d7957f40cea301ff23431354e71f1ddc324107dccd | #
# Copyright (C) 2011 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 hope that ... | Ruby | app/models/submission.rb | hwjworld/xiaodun-canvas | agpl-3.0 | 42,539 | 1,184 | codeparrot/github-code |
6398b974227b93adea299859e843096ce3258d4210ce9bacade16898c2f09130 | package com.tesora.dve.sql.schema.modifiers;
/*
* #%L
* Tesora Inc.
* Database Virtualization Engine
* %%
* Copyright (C) 2011 - 2014 Tesora Inc.
* %%
* 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... | Java | tesora-dve-core/src/main/java/com/tesora/dve/sql/schema/modifiers/DefaultValueModifier.java | Tesora/tesora-dve-pub | agpl-3.0 | 1,742 | 68 | codeparrot/github-code |
5bc845db6bbc7ef9baa72b8f6b19da1c70a7bde600569226d7d70e68dc294328 | package ca.omny.pages.models;
public class PageTemplate {
protected String templateName;
protected String customTheme;
protected String moduleListLocation;
protected String titlePrefix;
public String getCustomTheme() {
return customTheme;
}
public void setCustomTheme(String c... | Java | services/omny-pages-service/src/main/java/ca/omny/pages/models/PageTemplate.java | omnycms/omny-cms | agpl-3.0 | 768 | 34 | codeparrot/github-code |
5887860760cdfbe6c9c207557eade9ddc61109269191f719a03f015b16e2b9fc | <?php
declare(strict_types=1);
/**
* @copyright Copyright (c) 2021 Gary Kim <gary@garykim.dev>
*
* @author Gary Kim <gary@garykim.dev>
*
* @license GNU AGPL version 3 or any later version
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Pub... | PHP | lib/Federation/Notifications.php | nextcloud/spreed | agpl-3.0 | 7,080 | 245 | codeparrot/github-code |
cae38b5d96c7c0f18442737cbadddc62656ecb4d122edf7f80ef1a224aaacaaf | /**
* Axelor Business Solutions
*
* Copyright (C) 2005-2015 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 distr... | Java | axelor-test/src/main/java/com/axelor/test/GuiceRunner.java | marioestradarosa/axelor-development-kit | agpl-3.0 | 2,487 | 100 | codeparrot/github-code |
bc7061c3cad9d97935fecea8f3af32c340a4c635579efcdee4d19844b7de0f10 | local mts_BuildGUI = NetherMachine.interface.buildGUI
local fetch = NetherMachine.interface.fetchKey
local _CurrentSpec = nil
local ClassWindow
local _OpenClassWindow = false
local _ShowingClassWindow = false
function mts.ClassGUI()
local _SpecID = GetSpecializationInfo(GetSpecialization())
-- Check wich spec the ... | Lua | NetherMachine_MrTheSoulz/interface/class/class.lua | Nether-Machine/NetherMachine | agpl-3.0 | 3,110 | 69 | codeparrot/github-code |
61dfe60a6bbd3c7199c268c2d46ce420c53ab6baad61440bdfbffa8e6d9035ab | /*
* Copyright (C) 2003-2011 eXo Platform SAS.
*
* 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... | Java | src/main/java/org/exoplatform/social/client/core/util/SocialHttpClientSupport.java | hoatle/exo.social.client | agpl-3.0 | 14,341 | 399 | codeparrot/github-code |
f77b7b9629cd8f2cd0a73905700a07fe79c8273ba6172f3c5335fbe8f78a5977 | import * as React from 'react';
import { observer, Observer } from 'mobx-react';
import autobind from 'autobind-decorator';
import LoadingIndicator from 'shared/components/loadingIndicator/LoadingIndicator';
import {
action,
autorun,
computed,
IReactionDisposer,
makeObservable,
observable,
} fro... | TypeScript | src/pages/groupComparison/ClinicalData.tsx | cBioPortal/cbioportal-frontend | agpl-3.0 | 32,494 | 864 | codeparrot/github-code |
0a5b015eaf500415a740840f1861162429bb5c87ea35da33a8d742f223adec8a | package org.mskcc.cbio.portal.util;
import org.mskcc.cbio.portal.dao.DaoGeneOptimized;
import org.mskcc.cbio.portal.model.CanonicalGene;
import java.util.*;
import java.util.stream.Collectors;
/**
* Utilities for operations on sets and importing/updating gene panels.
*
* @author jtquach1
*/
public class GenePane... | Java | core/src/main/java/org/mskcc/cbio/portal/util/GenePanelUtil.java | angelicaochoa/cbioportal | agpl-3.0 | 5,279 | 137 | codeparrot/github-code |
d543906724e997a4ddbbd5e1ca3470cf1c8715393254c742789749a825fb8901 | # == Schema Information
# Schema version: 20090216032013
#
# Table name: preferences
#
# id :integer(4) not null, primary key
# domain :string(255) default(""), not null
# smtp_server :string(255) default(""), no... | Ruby | app/models/preference.rb | austintimeexchange/oscurrency | agpl-3.0 | 3,086 | 77 | codeparrot/github-code |
6e016e0e0436055714f22cb3801a5bc6235c8c38cf5c018a12cfdc823afce838 | local InputContainer = require("ui/widget/container/inputcontainer")
local GestureRange = require("ui/gesturerange")
local Geom = require("ui/geometry")
local Screen = require("device").screen
local Device = require("device")
local Event = require("ui/event")
local UIManager = require("ui/uimanager")
local ButtonDialog... | Lua | frontend/apps/reader/modules/readerhighlight.lua | chihyang/koreader | agpl-3.0 | 17,918 | 538 | codeparrot/github-code |
6eeaf2cea2e3c85f70c17a97d0cb228680f4904837e581d9ef566964b1041795 | <!DOCTYPE html>
<html lang="en"
>
<head>
<title>week1 - 2016Fall CPA 課程網誌 (虎尾科大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">
<style t... | HTML | blog/tag/week1.html | 40223103/2016fallcadp_hw | agpl-3.0 | 18,823 | 381 | codeparrot/github-code |
857e00dae038fe35807f3aab870baddbd90a83914705aebbb40adc51a55355d1 | <html><head><title>NBAÊý¾Ý¿â</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="keywords" content="NBA,NBAÖ±²¥,Ö±²¥,Ò¦Ã÷,¼¼Êõͳ¼Æ,»ð¼ý,ºþÈË,ÈÈ»ð,¿Æ±È,°ÂÄá¶û,³£¹æÈü,NBA³£¹æÈü,¼¾ºóÈü,NBA¼¾ºóÈü,×ܾöÈü,NBA×ܾöÈü,¼¾Ç°Èü,NBA¼¾Ç°Èü,Èü³Ì,Ò×½¨Áª,ÐÛ¹,NBAÅÅÃû,ÅÅÃû,NBAÈü³Ì,ת»á,½»Ò×,ǩԼ,Çò... | HTML | match/scores/2012/10/113.html | MrLpk/nba | agpl-3.0 | 37,389 | 730 | codeparrot/github-code |
ddbe80c0386d67fa765f69396e5edd091e398fcf3027336de2943e1647075b39 | /*
* LuaPlayerObject.cpp
*
* Created on: 13/01/2012
* Author: victor
*/
#include "LuaPlayerObject.h"
#include "engine/engine.h"
#include "FactionStatus.h"
#include "server/zone/managers/crafting/schematicmap/SchematicMap.h"
#include "server/zone/objects/tangible/deed/eventperk/EventPerkDeed.h"
#include "ser... | C++ | MMOCoreORB/src/server/zone/objects/player/LuaPlayerObject.cpp | Tatwi/legend-of-hondo | agpl-3.0 | 17,307 | 664 | codeparrot/github-code |
54c2a9b992a76a1fe5ed67abfcd4d8fed791bd06233af98a641dd569f44db5f7 | // Copyright (C) 2004-2021 Artifex Software, Inc.
//
// This file is part of MuPDF.
//
// MuPDF is free software: you can redistribute it and/or modify it under the
// terms of the GNU Affero General Public License as published by the Free
// Software Foundation, either version 3 of the License, or (at your option)
// ... | C | include/mupdf/fitz/context.h | ccxvii/mupdf | agpl-3.0 | 20,096 | 779 | codeparrot/github-code |
be55a520e4588ce2134e84efaebf24a8ac758f510caa257720cd3c1a3c785bee | <?php
require_once dirname(__FILE__).'/accesscheck.php';
$access = accessLevel('members');
if (isset($_REQUEST['id'])) {
$id = sprintf('%d', $_REQUEST['id']);
} else {
$id = 0;
}
if (isset($_GET['start'])) {
$start = sprintf('%d', $_GET['start']);
} else {
$start = 0;
}
if (isset($_GET['tab']) && $_G... | PHP | public_html/lists/admin/members.php | danwaterloo/phplist3 | agpl-3.0 | 19,599 | 462 | codeparrot/github-code |
eeb0d9879055ae8b0c37af2059d027697ed30c38de7ec56008d0612177ce1ca1 | /**
* Copyright (c) 2011-2015 libbitcoin developers (see AUTHORS)
* Copyright (c) 2016-2017 metaverse core developers (see MVS-AUTHORS)
*
* This file is part of metaverse-explorer.
*
* metaverse-explorer is free software: you can redistribute it and/or
* modify it under the terms of the GNU Affero General Public... | C++ | src/lib/explorer/config/cert_key.cpp | sikamedia/metaverse | agpl-3.0 | 2,560 | 101 | codeparrot/github-code |
14949b145f143165251a27a3da11293a3c527977e17f743bd7c3394e63545cb8 | <!DOCTYPE html>
<html>
<head>
<title>MuPDF Documentation</title>
<link rel="stylesheet" href="style.css" type="text/css">
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>
<header>
<h1>MuPDF Documentation</h1>
</header>
<nav>
<a href="http://mupdf.com/index.html">ABOUT</a>
<a href="... | HTML | docs/index.html | poor-grad-student/mupdf | agpl-3.0 | 5,406 | 154 | codeparrot/github-code |
c00a9033803a6f8ad3831b6fc8e67e40267403ed6653de6a686200f3386fa408 | /*****************************************************************************
@(#) File: src/drivers/dl2.c
-----------------------------------------------------------------------------
Copyright (c) 2008-2015 Monavacon Limited <http://www.monavacon.com/>
Copyright (c) 2001-2008 OpenSS7 Corporation <http://www... | C | src/drivers/dl2.c | kerr-huang/openss7 | agpl-3.0 | 6,000 | 135 | codeparrot/github-code |
874b770b8385772cf6aa31614e2a79ff21ca041ddacf1b37db7ba2b63aba338f | package me.the_red_freak.bptf.misc;
import org.bukkit.entity.Player;
import org.bukkit.event.Event;
import org.bukkit.event.HandlerList;
public class TitleSendEvent extends Event {
private static final HandlerList handlers = new HandlerList();
private final Player player;
private String title;
private String subt... | Java | src/main/java/me/the_red_freak/bptf/misc/TitleSendEvent.java | TheRedFreak/bptf | agpl-3.0 | 1,082 | 58 | codeparrot/github-code |
116d321b9d711b4917a386ebcbca795f3a582b612fe012c2bb24f80d62273d34 | /*****************************************************************************
* y4m.c: y4m input
*****************************************************************************
* Copyright (C) 2003-2018 x264 project
*
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
* Loren Merritt <lorenm@u.washington.edu>
... | C | humble-video-captive/src/main/gnu/libx264/csrc/input/y4m.c | artclarke/humble-video | agpl-3.0 | 12,052 | 360 | codeparrot/github-code |
112a309c32d1b3e381a3c79f9d42b200a8c899af13a9a7e1fb34f8a68a155e95 | package org.brewingagile.backoffice.rest.api;
import argo.jdom.JsonNode;
import fj.Monoid;
import fj.Ord;
import fj.data.*;
import functional.Effect;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.brewingagile.backoffice.db.operations.*;
import org.brewingagile.backoffice.integrations.*;
import or... | Java | application/src/main/java/org/brewingagile/backoffice/rest/api/RegistrationApiJaxRs.java | brewingagile/backoffice.brewingagile.org | agpl-3.0 | 17,820 | 476 | codeparrot/github-code |
59d98b6c636c4d3ef5000727f6cbe3ebc01dcab6427731c192620649d131882e | /*
* This file is part of the MiniCloud project.
* Copyright (C) 2017 Anton Frolov <frolov.anton@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... | GO | qemu/vm.go | antonf/minicloud | agpl-3.0 | 2,097 | 85 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.