code stringlengths 3 1.05M | repo_name stringlengths 4 116 | path stringlengths 4 991 | language stringclasses 9
values | license stringclasses 15
values | size int32 3 1.05M |
|---|---|---|---|---|---|
# -*- coding: utf-8 -*-
###############################################################################
#
# Copyright (C) 2013-Today Carlos Eduardo Vercelino - CLVsol
#
# 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
#... | MostlyOpen/odoo_addons | myo_pharmacy/models/tag.py | Python | agpl-3.0 | 1,365 |
<?php
namespace Plenty\Modules\ItemSet\Models;
/**
* The ItemSetConfig model.
*/
abstract class ItemSetConfig
{
const CREATED_AT = 'createdAt';
const UPDATED_AT = 'updatedAt';
public $setId;
public $rebate;
/**
* Returns this model as an array.
*/
public function toArray(
):array
{
return [];... | plentymarkets/plugin-hack-api | Modules/ItemSet/Models/ItemSetConfig.php | PHP | agpl-3.0 | 326 |
<?php
# AST_LISTS_stats.php
#
# Copyright (C) 2014 Matt Florell <vicidial@gmail.com> LICENSE: AGPLv2
#
# This is a list inventory report, not a calling report. This report will show
# statistics for all of the lists in the selected campaigns
#
# CHANGES
# 130926-0721 - First build based upon LISTS campai... | patrickcmartins/goautodialtraduzido | vicidial/AST_LISTS_stats.php | PHP | agpl-3.0 | 37,059 |
package org.cbioportal.service.impl;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.stream.Collectors;
import org.cbioportal.model.AlterationCountByGene;
import org.cbioportal.model.AlterationEnrichment;
import org.cbioportal.model.CopyNumberCountBy... | d3b-center/pedcbioportal | service/src/main/java/org/cbioportal/service/impl/CopyNumberEnrichmentServiceImpl.java | Java | agpl-3.0 | 5,177 |
# - coding: 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
# ... | odoo-arg/odoo_l10n_ar | l10n_ar/wizard/__init__.py | Python | agpl-3.0 | 951 |
//package com.x.processplatform.assemble.designer.jaxrs.projection;
//
//import com.x.base.core.container.EntityManagerContainer;
//import com.x.base.core.container.factory.EntityManagerContainerFactory;
//import com.x.base.core.project.exception.ExceptionAccessDenied;
//import com.x.base.core.project.exception.Excepti... | o2oa/o2oa | o2server/x_processplatform_assemble_designer/src/main/java/com/x/processplatform/assemble/designer/jaxrs/projection/ActionEnable.java | Java | agpl-3.0 | 1,828 |
define("imcms-templates-tab-builder",
[
"imcms-bem-builder", "imcms-components-builder", "imcms-templates-rest-api", "imcms-document-types",
"imcms-i18n-texts", "imcms-page-info-tab"
],
function (BEM, components, templatesRestApi, docTypes, texts, PageInfoTab) {
texts = texts.pageIn... | imCodePartnerAB/imcms | src/main/webapp/imcms/js/builders/components/page_info_tabs/imcms-templates-tab-builder.js | JavaScript | agpl-3.0 | 2,976 |
/*
* This file is part of CoCalc: Copyright © 2020 Sagemath, Inc.
* License: AGPLv3 s.t. "Commons Clause" – see LICENSE.md for details
*/
import { CSS, React } from "smc-webapp/app-framework";
import { FOCUSED_COLOR } from "../util";
import {
SlateElement,
register,
useFocused,
useSelected,
useSlateStat... | sagemathinc/smc | src/smc-webapp/editors/slate/elements/hashtag.tsx | TypeScript | agpl-3.0 | 1,639 |
<?php
App::uses('AppModel', 'Model');
class Galaxy extends AppModel
{
public $useTable = 'galaxies';
public $recursive = -1;
public $actsAs = array(
'Containable',
);
public $validate = array(
);
public $hasMany = array(
'GalaxyCluster' => array('dependent' => true)
... | Rafiot/MISP | app/Model/Galaxy.php | PHP | agpl-3.0 | 20,693 |
from django.contrib.auth.decorators import login_required
from django.http import Http404
from django.core.urlresolvers import reverse
from mitxmako.shortcuts import render_to_response
from courseware.access import has_access
from courseware.courses import get_course_with_access
from notes.utils import notes_enabled_f... | elimence/edx-platform | lms/djangoapps/staticbook/views.py | Python | agpl-3.0 | 5,555 |
# -*- coding: utf-8 -*-
# Copyright (c) 2012-2015 CoNWeT Lab., Universidad Politécnica de Madrid
# This file is part of Wirecloud.
# Wirecloud 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 v... | rockneurotiko/wirecloud | src/wirecloud/catalogue/management/commands/addtocatalogue.py | Python | agpl-3.0 | 5,256 |
<?php
if (isset($_SERVER['HTTP_X_FORWARDED_HOST'])) {
define("SERVER_NAME",$_SERVER['HTTP_X_FORWARDED_HOST']);
} else {
define("SERVER_NAME",$_SERVER['HTTP_HOST']);
//.(($_SERVER['SERVER_PORT']!="80")? ":".$_SERVER['SERVER_PORT']:""));
}
require_once(dirname(__FILE__)."/../../../../../../clases/class.i.php");
req... | irontec/Mintzatu | public/karma/modules/tablon/scripts/tiny_mce/plugins/advimage/ajax_gallery.php | PHP | agpl-3.0 | 2,902 |
/**
* Copyright (C) 2009-2013 FoundationDB, 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 version.
*
* Thi... | AydinSakar/sql-layer | src/main/java/com/foundationdb/server/store/statistics/IndexStatisticsVisitor.java | Java | agpl-3.0 | 4,030 |
/* This file is part of VoltDB.
* Copyright (C) 2008-2013 VoltDB Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any la... | kobronson/cs-voltdb | src/frontend/org/voltcore/messaging/VoltMessageFactory.java | Java | agpl-3.0 | 3,216 |
<?php
return array(
'plural' => function($n) { return (($n==1) ? 0 : (($n>=2 && $n<=4) ? 1 : 2)); },
'attachment' => 'příloha',
'When there is nothing to read, redirect me to this page' => 'Když není nic ke čtení, přesměruj mě na tuto stránku',
'There is nothing new to read, enjoy your favorites articl... | mkresin/miniflux | locales/cs_CZ/translations.php | PHP | agpl-3.0 | 14,023 |
<?php
/*********************************************************************************
* Zurmo is a customer relationship management program developed by
* Zurmo, Inc. Copyright (C) 2015 Zurmo Inc.
*
* Zurmo is free software; you can redistribute it and/or modify it under
* the terms of t... | Ramkavanan/SHCRM | app/protected/modules/approvalProcess/views/ApprovalProcessForMixedModelsSearchListView.php | PHP | agpl-3.0 | 4,693 |
<?php /* Smarty version 2.6.11, created on 2014-09-27 03:20:43
compiled from include/EditView/header.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'sugar_button', 'include/EditView/header.tpl', 81, false),array('func... | alishahpakneeds/akbarsugarcrm | cache/smarty/templates_c/%%95^955^955CF478%%header.tpl.php | PHP | agpl-3.0 | 6,701 |
<?php
/**
* HTTP Raw Header Field Validator Class | Validation\HTTP\Headers\Raw.php
*
* @author Bruno Augusto
*
* @copyright Copyright (c) 2017 Next Studios
* @license http://www.gnu.org/licenses/agpl-3.0.txt GNU Affero General Public License 3.0
*/
namespace Next\Validation\HTTP\Headers;
use Nex... | nextframework/next | Validation/HTTP/Headers/Raw.php | PHP | agpl-3.0 | 1,530 |
<?php /* Smarty version 2.6.11, created on 2014-11-06 21:16:36
compiled from cache/modules/Leads/SearchFormHeader.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'sugar_getjspath', 'cache/modules/Leads/SearchFormHeader... | SoftNext/secondp | cache/smarty/templates_c/%%E2^E2E^E2EE98C0%%SearchFormHeader.tpl.php | PHP | agpl-3.0 | 2,421 |
// This file is Part of CalDavSynchronizer (http://outlookcaldavsynchronizer.sourceforge.net/)
// Copyright (c) 2015 Gerhard Zehetbauer
// Copyright (c) 2015 Alexander Nimmervoll
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License a... | aluxnimm/outlookcaldavsynchronizer | CalDavSynchronizer/Ui/Options/Views/OXInfoDialog.xaml.cs | C# | agpl-3.0 | 1,818 |
/**
*
*/
/**
* @author sergio
*
*/
package bluecrystal.domain.helper; | bluecrystalsign/signer-source | bluecrystal.deps.domain/src/main/java/bluecrystal/domain/helper/package-info.java | Java | agpl-3.0 | 82 |
require 'feed-normalizer'
require 'open-uri'
class FeedPost < ActiveRecord::Base
extend PreferencesHelper
class << self
def update_posts
posts = find(:all, :select => "feedid")
post_ids = posts.map {|p| p.feedid}
begin
feed = FeedNormalizer::FeedNormalizer.parse open(global_prefs.b... | austintimeexchange/oscurrency | app/models/feed_post.rb | Ruby | agpl-3.0 | 998 |
package jcog.pri.bag;
import jcog.Util;
import jcog.data.list.FasterList;
import jcog.pri.*;
import jcog.pri.bag.impl.ArrayBag;
import jcog.pri.bag.impl.HijackBag;
import jcog.pri.bag.impl.PriReferenceArrayBag;
import jcog.pri.bag.impl.hijack.DefaultHijackBag;
import jcog.random.XoRoShiRo128PlusRandom;
import jcog.sig... | automenta/narchy | util/src/test/java/jcog/pri/bag/BagTest.java | Java | agpl-3.0 | 10,149 |
import { Component } from '@angular/core';
import { AuthService } from './login/auth.service';
@Component({
selector: 'app-root',
templateUrl: './app.component.html',
styleUrls: ['./app.component.css']
})
export class AppComponent {
title = 'app';
mostrarMenu: boolean = false;
constructor(private authServ... | ricardoroberto/TesteGrpLTM | FrontEnd/Estoque.Front/src/app/app.component.ts | TypeScript | agpl-3.0 | 470 |
#include "variableswidget.h"
#include "ui_variableswidget.h"
#include "desktoputils.h"
#include "variablespage/variablestablemodel.h"
#include <QModelIndexList>
#include <boost/foreach.hpp>
#include <algorithm>
#include <QDebug>
VariablesWidget::VariablesWidget(QWidget *parent) :
QWidget(parent),
ui(new Ui::Varia... | aknight1-uva/jasp-desktop | JASP-Desktop/variableswidget.cpp | C++ | agpl-3.0 | 3,776 |
"""
Views related to course groups functionality.
"""
from django.views.decorators.csrf import ensure_csrf_cookie
from django.views.decorators.http import require_POST
from django.contrib.auth.models import User
from django.core.paginator import Paginator, EmptyPage
from django.core.urlresolvers import reverse
from dj... | romain-li/edx-platform | openedx/core/djangoapps/course_groups/views.py | Python | agpl-3.0 | 19,604 |
/*
* GCWBaseContainerComponent.cpp
*
* Created on: Jan 24, 2013
* Author: root
*/
#include "GCWBaseContainerComponent.h"
#include "templates/params/creature/CreatureFlag.h"
bool GCWBaseContainerComponent::checkContainerPermission(SceneObject* sceneObject, CreatureObject* creature, uint16 permission) const ... | Tatwi/legend-of-hondo | MMOCoreORB/src/server/zone/objects/building/components/GCWBaseContainerComponent.cpp | C++ | agpl-3.0 | 4,046 |
# Copyright (C) 2007, 2008, 2009, 2010, 2011, 2012, 2013 The Collaborative Software Foundation
#
# This file is part of TriSano.
#
# TriSano 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 versio... | csinitiative/trisano | webapp/features/enhanced_step_definitions/event_steps.rb | Ruby | agpl-3.0 | 7,381 |
/*
*/
/*
* Copyright (C) 2015-present ScyllaDB
*
* Modified by ScyllaDB
*/
/*
* SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0)
*/
#pragma once
#include <iostream>
namespace db {
enum class read_repair_decision {
NONE,
GLOBAL,
DC_LOCAL
};
inline std::ostream& operator<<(std::ostream& ou... | scylladb/scylla | db/read_repair_decision.hh | C++ | agpl-3.0 | 632 |
/* Copyright (C) 2007-2017 Patrick G. Durand
*
* 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.
*
* Yo... | pgdurand/BeeDeeM | src/bzh/plealog/dbmirror/lucenedico/go/GeneOntologyOBONodeParser.java | Java | agpl-3.0 | 15,713 |
#coding:utf-8
from openerp.osv import osv,fields
class rainsoft_stock_return(osv.Model):
_inherit='stock.return.picking'
_defaults={
'invoice_state': '2binvoiced',
}
| kevin8909/xjerp | openerp/addons/Rainsoft_Xiangjie/rainsoft_stock_return.py | Python | agpl-3.0 | 185 |
<?php
/*
* Copyright 2007-2015 Abstrium <contact (at) pydio.com>
* This file is part of Pydio.
*
* Pydio 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 ... | ChuckDaniels87/pydio-core | core/src/plugins/core.ocs/src/ActionsController.php | PHP | agpl-3.0 | 6,752 |
/*
This file is part of ContentManager.
ContentManager is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
ContentManager is distributed ... | siddharthadeshpande89/jive-content-manager | apps/content_manager/public/javascripts/helpers/messageViewHandler.js | JavaScript | agpl-3.0 | 2,511 |
var origShow = jQuery.fn.show, origHide = jQuery.fn.hide;
jQuery.fn.show = function() {
$(this).removeClass("hidden");
return origShow.apply(this, arguments);
};
jQuery.fn.hide = function() {
$(this).addClass("hidden");
return origHide.apply(this, arguments);
};
$.ajaxSetup({
cache: false
});
func... | kolplex/cunity | style/CunityRefreshed/javascript/cunity-core.js | JavaScript | agpl-3.0 | 14,280 |
# encoding: utf-8
require './test/test_helper'
describe ArtistasController do
let(:artista) { create(:artista) }
describe 'anónimamente' do
it 'accede al index' do
get :index
must_respond_with :success
assigns(:artistas).wont_be_nil
end
it 'muestra un artista' do
get :show, i... | mauriciopasquier/bibliotecadeleter | test/controllers/artistas_controller_test.rb | Ruby | agpl-3.0 | 1,366 |
/*
Code for Life
Copyright (C) 2015, Ocado Innovation Limited
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 pro... | mikebryant/rapid-router | game/static/game/js/blocklyCustomBlocks.js | JavaScript | agpl-3.0 | 20,655 |
<?php
/**
* Copyright 2015-2018 ppy Pty. Ltd.
*
* This file is part of osu!web. osu!web is distributed with the hope of
* attracting more community contributions to the core ecosystem of osu!.
*
* osu!web is free software: you can redistribute it and/or modify
* it under the terms of the Affero G... | kj415j45/osu-web | resources/lang/pt/model_validation.php | PHP | agpl-3.0 | 5,767 |
package org.rakam.report;
import com.facebook.presto.sql.tree.*;
import org.rakam.util.ValidationUtil;
import java.util.Optional;
import java.util.function.Function;
import static com.facebook.presto.sql.tree.LogicalBinaryExpression.Type.AND;
import static com.facebook.presto.sql.tree.LogicalBinaryExpression.Type.OR... | buremba/rakam | rakam-spi/src/main/java/org/rakam/report/PreComputedTableSubQueryVisitor.java | Java | agpl-3.0 | 7,236 |
# -*- coding: utf-8; -*-
#
# 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
import loggi... | marwoodandrew/superdesk-core | content_api/publish/service.py | Python | agpl-3.0 | 6,723 |
package android.support.design.widget;
import android.content.Context;
import android.content.res.TypedArray;
import android.support.design.c;
final class by {
private static final int[] a = new int[]{c.colorPrimary};
static void a(Context context) {
int i = 0;
TypedArray obtainStyledAttribut... | WenbinHou/PKUAutoGateway.Android | Reference/IPGWAndroid/android/support/design/widget/by.java | Java | agpl-3.0 | 714 |
<?php
class Search {
public static function matchTerm($term, $text) {
$reg = "/[ ]+/";
$text = self::normalize($text);
$term = self::normalize($term);
$words_text = preg_split($reg, $text);
$words_term = preg_split($reg, $term);
$text_final = "";
foreach($words_term as $key_term... | 24eme/vinsdeloire | project/plugins/acVinLibPlugin/lib/util/Search.class.php | PHP | agpl-3.0 | 1,975 |
/**
* Copyright (C) 2016 Jorge Campos Serrano.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License, version 3,
* as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be ... | jcamposs/coderoom | client/templates/notifications/notifications_widget.js | JavaScript | agpl-3.0 | 1,772 |
<?php
/*** COPYRIGHT NOTICE *********************************************************
*
* Copyright 2009-2016 ProjeQtOr - Pascal BERNARD - support@projeqtor.org
* Contributors : -
*
* This file is part of ProjeQtOr.
*
* ProjeQtOr is free software: you can redistribute it and/or modify it under
* the terms of... | papjul/projeqtor | model/Contact.php | PHP | agpl-3.0 | 1,800 |
##############################################################################
#
# ______ Releasing children from poverty _
# / ____/___ ____ ___ ____ ____ ___________(_)___ ____
# / / / __ \/ __ `__ \/ __ \/ __ `/ ___/ ___/ / __ \/ __ \
# / /___/ /_/ / / / / / / /_/ / /_/ (__ |__ ) / /_/... | CompassionCH/compassion-modules | survey_phone/__manifest__.py | Python | agpl-3.0 | 2,093 |
//
// Copyright (C) 2013-2016 University of Amsterdam
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as
// published by the Free Software Foundation, either version 3 of the
// License, or (at your option) any later version.
//
/... | raviselker/jasp-desktop | JASP-Desktop/widgets/tablemodelvariableslevels.cpp | C++ | agpl-3.0 | 12,498 |
class ChangeBoardCompositionResolution < ResolutionWrapper
attr_accessor :max_user_directors, :max_employee_directors, :max_supporter_directors,
:max_producer_directors, :max_consumer_directors
def after_initialize
[
:max_user_directors, :max_employee_directors, :max_supporter_directors, :max_produce... | oneclickorgs/one-click-orgs | app/models/change_board_composition_resolution.rb | Ruby | agpl-3.0 | 1,028 |
# frozen_string_literal: true
module Decidim
# This holds the decidim-surveys version.
module Surveys
def self.version
"0.22.0"
end
end
end
| codegram/decidim | decidim-surveys/lib/decidim/surveys/version.rb | Ruby | agpl-3.0 | 161 |
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package com.fluxtion.runtime.plugin.executor;
import com.fluxtion.runtime.event.Event;
import com.fluxtion.runtime.lifecycle.EventHand... | v12technology/fluxtion-utils | runtime-plugins/src/main/java/com/fluxtion/runtime/plugin/executor/SingleThreadedAsyncEventHandler.java | Java | agpl-3.0 | 1,904 |
/**
* This file is part of RLO-Plan.
*
* Copyright 2009, 2010 Tillmann Karras, Josua Grawitter
*
* RLO-Plan 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
* ... | gwater/rlo-plan | entry.js | JavaScript | agpl-3.0 | 16,345 |
///////////////////////////////////////////////////////////////////////////////
//Copyright (C) 2014 Joliciel Informatique
//
//This file is part of Talismane.
//
//Talismane 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 ... | safety-data/talismane | talismane_machine_learning/src/main/java/com/joliciel/talismane/machineLearning/features/IfThenElseGenericFeature.java | Java | agpl-3.0 | 3,068 |
class SDGManagement::CardsController < SDGManagement::BaseController
include Admin::Widget::CardsActions
helper_method :index_path
load_and_authorize_resource :phase, class: "SDG::Phase", id_param: "sdg_phase_id"
load_and_authorize_resource :card, through: :phase, class: "Widget::Card"
private
def inde... | consul/consul | app/controllers/sdg_management/cards_controller.rb | Ruby | agpl-3.0 | 374 |
<!-- Piwik -->
<script type="text/javascript">
var _paq = _paq || [];
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function() {
var u="//arrakiz.org/analytics/";
_paq.push(['setTrackerUrl', u+'piwik.php']);
_paq.push(['setSiteId', 1]);
var d=document, g=d.createElement('script'), s=d.ge... | Scindix/ArrakizPHP | tracking.php | PHP | agpl-3.0 | 612 |
#!/usr/bin/env python
# -*- coding: utf-8 -*- #
from __future__ import unicode_literals
AUTHOR = 'kmol'
SITENAME = 'CDW11 網頁 (虎尾科大MDE)'
SITEURL = 'http://cdw11-40323200.rhcloud.com/static/'
# 不要用文章所在目錄作為類別
USE_FOLDER_AS_CATEGORY = False
#PATH = 'content'
#OUTPUT_PATH = 'output'
TIMEZONE = 'Asia/Taipei'
DEFAULT_LA... | tsrnnash/bg8-cdw11 | static/pelicanconf.py | Python | agpl-3.0 | 2,146 |
import * as React from 'react';
export interface DeleteButtonProps {
questionId: string,
onChange(questionId: string): void
}
export interface NameInputProps {
name: string,
onChange(value: string, e: object): void
}
export const DeleteButton = ({ questionId, onChange }: DeleteButtonProps) => {
function ha... | empirical-org/Empirical-Core | services/QuillLMS/client/app/bundles/Diagnostic/components/lessons/lessonFormComponents.tsx | TypeScript | agpl-3.0 | 887 |
import os
from flask import current_app
def get_absolute_file_path(relative_path: str) -> str:
return os.path.join(current_app.config['UPLOAD_FOLDER'], relative_path)
| SamR1/FitTrackee | fittrackee/workouts/utils_files.py | Python | agpl-3.0 | 174 |
/*
* SourceCppStartedEvent.java
*
* Copyright (C) 2020 by RStudio, PBC
*
* Unless you have received this program directly from RStudio pursuant
* to the terms of a commercial license agreement with RStudio, then
* this program is licensed to you under the terms of version 3 of the
* GNU Affero General Public Li... | JanMarvin/rstudio | src/gwt/src/org/rstudio/studio/client/workbench/views/output/sourcecpp/events/SourceCppStartedEvent.java | Java | agpl-3.0 | 1,265 |
'use strict';
define(function(require) {
var Backbone = require('backbone'),
routes = require('routes'),
GroupModel = require('model/groups/group-model');
var GroupsList = Backbone.Collection.extend({
model: GroupModel,
url: routes.absoluteUrl(routes.GROUPS_DATA),
fetc... | hflabs/perecoder | rcd-web/src/main/javascript/app/model/groups/groups-list.js | JavaScript | agpl-3.0 | 619 |
/** @jsx React.DOM */
'use strict';
var Lazy = require('lazy.js'),
React = require('react'),
ReactIntlMixin = require('react-intl');
var EnumerationControl = React.createClass({
mixins: [ReactIntlMixin],
propTypes: {
default: React.PropTypes.string,
error: React.PropTypes.string,
label: React.Pr... | openfisca/openfisca-web-ui | openfisca_web_ui/static/js/components/test-case/form/enumeration-control.js | JavaScript | agpl-3.0 | 1,605 |
# -*- coding: utf-8 -*-
"""
This is the common settings file, intended to set sane defaults. If you have a
piece of configuration that's dependent on a set of feature flags being set,
then create a function that returns the calculated value based on the value of
FEATURES[...]. Modules that extend this one can change th... | XiaodunServerGroup/ddyedx | cms/envs/common.py | Python | agpl-3.0 | 18,114 |
/*
* Copyright (c) 2015. Philip DeCamp
* Released under the BSD 2-Clause License
* http://opensource.org/licenses/BSD-2-Clause
*/
package bits.photosort;
import java.io.*;
import java.nio.*;
import java.nio.channels.FileChannel;
import java.text.*;
public class TimestampReader {
public static void mai... | decamp/photosort | src/main/java/bits/photosort/TimestampReader.java | Java | agpl-3.0 | 8,819 |
var searchData=
[
['unknown',['UNKNOWN',['../classtetgenmesh.xhtml#a1d02bed7b59566d57b896776d78a6b25a51233a7db87ef44baab2026b0ebdf22f',1,'tetgenmesh']]],
['unusedvertex',['UNUSEDVERTEX',['../classtetgenmesh.xhtml#ad0458f823a5eef2de89c7fae067aa2aca1d0b671fcad449d30b826305df861a52',1,'tetgenmesh']]]
];
| vroland/SimpleAnalyzer | doc/html/search/enumvalues_75.js | JavaScript | agpl-3.0 | 306 |
<?php /* Smarty version 2.6.11, created on 2015-06-17 13:35:10
compiled from cache/modules/AOW_WorkFlow/CasesDetailViewpriority.tpl */ ?>
<?php if (is_string ( $this->_tpl_vars['fields']['priority']['options'] )): ?>
<input type="hidden" class="sugar_field" id="<?php echo $this->_tpl_vars['fields']['priority... | caleboau2012/edusupport | test/cache/smarty/templates_c/%%19^19B^19BA849F%%CasesDetailViewpriority.tpl.php | PHP | agpl-3.0 | 805 |
package acquire
import (
"archive/zip"
"bytes"
"compress/gzip"
"fmt"
"io/ioutil"
"strings"
)
func unpackReport(filename string, data []byte) ([]byte, error) {
dataBuffer := bytes.NewBuffer(data)
if strings.HasSuffix(filename, ".gz") {
file, err := gzip.NewReader(dataBuffer)
if err != nil {
return nil, ... | martinhoefling/go-dmarc-report | acquire/unpack.go | GO | agpl-3.0 | 983 |
"""TOSEC models"""
from django.db import models
class Category(models.Model):
name = models.CharField(max_length=256)
description = models.CharField(max_length=256)
category = models.CharField(max_length=256)
version = models.CharField(max_length=32)
author = models.CharField(max_length=128)
s... | lutris/website | tosec/models.py | Python | agpl-3.0 | 1,177 |
<?php
/**
* Routes configuration
*
* In this file, you set up routes to your controllers and their actions.
* Routes are very important mechanism that allows you to freely connect
* different URLs to chosen controllers and their actions (functions).
*
* CakePHP(tm) : Rapid Development Framework (http://cakephp.o... | Oblady/web-task-runner-for-pentaho | config/routes.php | PHP | agpl-3.0 | 2,500 |
<?php
namespace wcf\data\user\online;
use wcf\data\option\OptionAction;
use wcf\data\session\SessionList;
use wcf\data\user\group\UserGroup;
use wcf\data\user\User;
use wcf\system\event\EventHandler;
use wcf\system\WCF;
use wcf\util\StringUtil;
/**
* Represents a list of currently online users.
*
* @author Marcel ... | Morik/WCF | wcfsetup/install/files/lib/data/user/online/UsersOnlineList.class.php | PHP | lgpl-2.1 | 5,464 |
package org.cytoscape.task.internal.network;
import java.util.ArrayList;
import java.util.Collection;
import org.cytoscape.model.CyNetwork;
import org.cytoscape.service.util.CyServiceRegistrar;
import org.cytoscape.task.AbstractNetworkCollectionTaskFactory;
import org.cytoscape.task.destroy.DestroyNetworkTaskFactory;... | cytoscape/cytoscape-impl | core-task-impl/src/main/java/org/cytoscape/task/internal/network/DestroyNetworkTaskFactoryImpl.java | Java | lgpl-2.1 | 1,942 |
<?php
/*"******************************************************************************************************
* (c) 2004-2006 by MulchProductions, www.mulchprod.de *
* (c) 2007-2015 by Kajona, www.kajona.de ... | jinshana/kajonacms | module_system/system/class_root.php | PHP | lgpl-2.1 | 70,858 |
<?php
/**
* @package copix
* @subpackage taglib
* @author Salleyron Julien
* @copyright 2000-2006 CopixTeam
* @link http://www.copix.org
* @license http://www.gnu.org/licenses/lgpl.html GNU Lesser General Public Licence, see LICENCE file
*/
/**
* Génération de fenetre confirm
* @package copix
* @subpackage ta... | Copix/Copix3 | utils/copix/taglib/confirm.templatetag.php | PHP | lgpl-2.1 | 1,308 |
/*
* Hibernate, Relational Persistence for Idiomatic Java
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
*/
package org.hibernate.test.annotations.cascade.circle.identity;
/**
* No Document... | 1fechner/FeatureExtractor | sources/FeatureExtractor/lib/hibernate-release-5.1.0.Final/project/hibernate-core/src/test/java/org/hibernate/test/annotations/cascade/circle/identity/C.java | Java | lgpl-2.1 | 1,549 |
// ---------------------------------------------------------------------------
// DeviceÖANX
// Original : cisc
// Modification : Yumitaro
// ---------------------------------------------------------------------------
#include <string.h>
#include <new>
#include "device.h"
//////////////////////////////... | meesokim/p6001v | src/device.cpp | C++ | lgpl-2.1 | 2,818 |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package ch.unizh.ini.jaer.projects.eventbasedfeatures;
import java.awt.BorderLayout;
import java.awt.Dimension;
import javax.swing.JFrame;
import net.sf.jaer.Description;
import net.sf.jaer.chip.AEChip;
i... | viktorbahr/jaer | src/ch/unizh/ini/jaer/projects/eventbasedfeatures/PixelBuffer.java | Java | lgpl-2.1 | 27,642 |
package iax.protocol.user.command;
import iax.protocol.peer.Peer;
/**
* Facade to user commands.
*/
public class UserCommandFacade {
/**
* Method that indicates that user has answered an incoming call.
* @param peer Current peer.
* @param callingNumber the calling number of the call that is... | jonmersha/njiax | src/iax/protocol/user/command/UserCommandFacade.java | Java | lgpl-2.1 | 2,903 |
/******************************************************************************
jXEventUtil.cpp
Useful functions for dealing with X events.
Copyright © 1996 John Lindal. All rights reserved.
******************************************************************************/
#include <JXStdInc.h>
#include <jXEventUt... | mbert/mulberry-lib-jx | libjx/code/jXEventUtil.cpp | C++ | lgpl-2.1 | 3,644 |
/* ===========================================================
* JFreeChart : a free chart library for the Java(tm) platform
* ===========================================================
*
* (C) Copyright 2000-2022, by David Gilbert and Contributors.
*
* Project Info: http://www.jfree.org/jfreechart/index.... | jfree/jfreechart | src/main/java/org/jfree/chart/labels/XYSeriesLabelGenerator.java | Java | lgpl-2.1 | 2,286 |
<?php
namespace wcf\system\template\plugin;
use wcf\system\exception\SystemException;
use wcf\system\request\LinkHandler;
use wcf\system\template\TemplateEngine;
use wcf\system\WCF;
use wcf\util\StringUtil;
/**
* Template function plugin which generates sliding pagers.
*
* Usage:
* {pages pages=10 link='page-%d.... | PhrozenByte/WCF2 | wcfsetup/install/files/lib/system/template/plugin/PagesFunctionTemplatePlugin.class.php | PHP | lgpl-2.1 | 7,411 |
/*
* Copyright (C) 2004 The Concord Consortium, Inc.,
* 10 Concord Crossing, Concord, MA 01742
*
* Web Site: http://www.concord.org
* Email: info@concord.org
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as publi... | concord-consortium/framework | src/org/concord/framework/otrunk/OTControllerService.java | Java | lgpl-2.1 | 8,453 |
// The UpdateCheck plug-in
// Copyright (C) 2004-2016 Maurits Rijk
//
// Renderer.cs
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 2 of the License, or
// (at your option)... | mrijk/gimp-sharp | plug-ins/UpdateCheck/Renderer.cs | C# | lgpl-2.1 | 5,050 |
/****************************************************************************
**
** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: Nokia Corporation (qt-info@nokia.com)
**
** This file is part of the demonstration applications of the Qt Toolkit.
**
** $QT_BEGIN_LIC... | radekp/qt | demos/embedded/fluidlauncher/fluidlauncher.cpp | C++ | lgpl-2.1 | 8,555 |
"""
This file shows how to use pyDatalog using facts stored in python objects.
It has 3 parts :
1. define python class and business rules
2. create python objects for 2 employees
3. Query the objects using the datalog engine
"""
from pyDatalog import pyDatalog
""" 1. define python class and business rul... | pcarbonn/pyDatalog | pyDatalog/examples/python.py | Python | lgpl-2.1 | 3,454 |
// Licensed GNU LGPL v2.1 or later: http://www.gnu.org/licenses/lgpl.html
#include "bseitem.hh"
#include "bsesuper.hh"
#include "bsesnet.hh"
#include "bsestorage.hh"
#include "bseprocedure.hh"
#include "bsemain.hh"
#include "bseproject.hh"
#include "bsesong.hh" // for song->musical_tuning
#include "bseundostack.hh"
#in... | GNOME/beast | bse/bseitem.cc | C++ | lgpl-2.1 | 44,851 |
// dummy file needed by the build system because
// main is in main.cpp rather than fil-sdk-example.cpp
| einon/affymetrix-power-tools | sdk/mas5-stat/example/mas5-stat-example.cpp | C++ | lgpl-2.1 | 104 |
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2014.0... | attunetc/ehr | src/org/hl7/fhir/ConstraintSeverityList.java | Java | lgpl-2.1 | 1,835 |
/**
* This file is part of TelepathyQt4
*
* @copyright Copyright (C) 2008 Collabora Ltd. <http://www.collabora.co.uk/>
* @copyright Copyright (C) 2008 Nokia Corporation
* @license LGPL 2.1
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Pub... | Telekinesis/Telepathy-qt4-0.8.0 | TelepathyQt4/channel.cpp | C++ | lgpl-2.1 | 130,256 |
package com.nutz.granola;
public class Reference {
public static final String MOD_ID = "granola";
public static final String MOD_NAME = "The Granola Mod";
public static final String VERSION = "alpha 0.3";
public static final String CLIENT_PROXY_CLASS = "com.nutz.granola.proxy.ClientProxy";
public static final Str... | Nutzchannel/granola | src/main/java/com/nutz/granola/Reference.java | Java | lgpl-2.1 | 385 |
/*
* examples/sparsesolverat.C
*
* Copyright (C) The LinBox Group
* ========LICENCE========
* This file is part of the library LinBox.
*
* LinBox 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... | linbox-team/linbox | examples/sparsesolverat.C | C++ | lgpl-2.1 | 6,601 |
/*
* Latch integration for Meteor framework
* Copyright (C) 2015 Bruno Orcha García <gimcoo@gmail.com>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the... | gimco/meteor-accounts-ui-latch | accounts_ui_latch.js | JavaScript | lgpl-2.1 | 2,278 |
//===-- LoopUnroll.cpp - Loop unroller pass -------------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | sawenzel/root | interpreter/llvm/src/lib/Transforms/Scalar/LoopUnrollPass.cpp | C++ | lgpl-2.1 | 43,203 |
############################################################################
##
## Copyright (C) 2016 The Qt Company Ltd.
## Contact: https://www.qt.io/licensing/
##
## This file is part of the examples of PySide2.
##
## $QT_BEGIN_LICENSE:BSD$
## Commercial License Usage
## Licensees holding valid commercial Qt license... | qtproject/pyside-pyside | doc/codesnippets/examples/widgets/icons/iconsizespinbox.cpp | C++ | lgpl-2.1 | 2,818 |
package islam.adhanalarm.widget;
import islam.adhanalarm.Schedule;
import islam.adhanalarm.util.LocaleManager;
import uz.efir.muazzin.Muazzin;
import uz.efir.muazzin.R;
import android.app.PendingIntent;
import android.appwidget.AppWidgetManager;
import android.appwidget.AppWidgetProvider;
import android.content.Compo... | ozbek/al-muazzin | app/src/main/java/islam/adhanalarm/widget/NextNotificationWidgetProvider.java | Java | lgpl-2.1 | 2,682 |
/****************************************************************/
/* DO NOT MODIFY THIS HEADER */
/* MOOSE - Multiphysics Object Oriented Simulation Environment */
/* */
/* (c) 2010 Battelle Energy Alliance, LLC... | cpritam/moose | framework/src/materials/Material.C | C++ | lgpl-2.1 | 6,500 |
package com.loovjo.bloovtech.tileentity;
import net.minecraft.tileentity.TileEntity;
public class TileEntityInfuser extends TileEntity {
}
| loovjo/Bloovtech | src/main/java/com/loovjo/bloovtech/tileentity/TileEntityInfuser.java | Java | lgpl-2.1 | 142 |
<?php
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/*
Daf-collage is made up of two Moodle modules which help in the process of
German language learning. It facilitates the content organization like
vocabulary or the main grammar features and gives the chan... | seiya64/dafcollage | ejercicios/ejercicios_modificar_asociacion_simple.php | PHP | lgpl-2.1 | 11,528 |
<?php
/**
* Limb Web Application Framework
*
* @link http://limb-project.com
*
* @copyright Copyright © 2004-2009 BIT
* @license LGPL http://www.gnu.org/copyleft/lesser.html
* @version $Id$
* @package web_app
*/
lmb_require('limb/web_app/src/controller/lmbController.class.php');
lm... | knevcher/limb | web_app/src/controller/lmbWactTemplateSourceController.class.php | PHP | lgpl-2.1 | 2,939 |
"""
ECE 4564
Final Project
Team: Immortal
Title: HomeGuard - Home Visitors Detection and Alert System
Filename: publisher.py
Members: Arun Rai, Mohammad Islam, and Yihan Pang
Date: 11/26/2014
---------------------------------------------------------------------
Description:
1. Receive host user information, and send i... | raiarun/HomeGuard | publisher.py | Python | lgpl-2.1 | 4,016 |
<?php
/*"******************************************************************************************************
* (c) 2016 by Kajona, www.kajona.de *
* Published under the GNU LGPL v2.1, see /system/licence_lgpl.txt ... | kajona/kajonacms | module_pdf/legacy/class_pdf_tcpdf.php | PHP | lgpl-2.1 | 516 |
#!/usr/bin/env python
#
# Generated Thu Jul 22 14:11:34 2010 by generateDS.py.
#
import sys
import getopt
from xml.dom import minidom
from xml.dom import Node
#
# If you have installed IPython you can uncomment and use the following.
# IPython is available from http://ipython.scipy.org/.
#
## from I... | wood-galaxy/FreeCAD | src/Tools/generateBase/generateModel_Module.py | Python | lgpl-2.1 | 101,247 |
package train.common.entity.rollingStock;
import net.minecraft.entity.item.EntityItem;
import net.minecraft.entity.item.EntityMinecart;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.ItemStack;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.nbt.NBTTagList;
import net.minecraf... | BlesseNtumble/Traincraft-5 | src/main/java/train/common/entity/rollingStock/EntityLocoSteamBR80_DB.java | Java | lgpl-2.1 | 5,508 |
package tsxdk.entity.meta;
import java.util.Collection;
import tsxdk.entity.TsEntity;
/**
* Generic Type for Entity-lists.
* Used For Channels, Clients, Complains
* @param <E> The entity stored in this list
* @param <S> The Slot for this entity (unique ID)
*/
public interface EntityList<E extends Ts... | GerhardUlli/TSxBot | src/tsxdk/entity/meta/EntityList.java | Java | lgpl-2.1 | 928 |
/****************************************************************************
**
** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of the test suite of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** Commercial License Usage
** Licensees ho... | CodeDJ/qt5-hidpi | qt/qtbase/tests/auto/network/socket/platformsocketengine/tst_platformsocketengine.cpp | C++ | lgpl-2.1 | 25,201 |