code stringlengths 3 1.01M | repo_name stringlengths 5 116 | path stringlengths 3 311 | language stringclasses 30
values | license stringclasses 15
values | size int64 3 1.01M |
|---|---|---|---|---|---|
/* ***** 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/
*
... | tmhorne/celtx | security/nss/cmd/libpkix/pkix/top/test_basicconstraintschecker.c | C | mpl-2.0 | 5,822 |
# encoding: utf-8
#
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this file,
# You can obtain one at http://mozilla.org/MPL/2.0/.
#
# Contact: Kyle Lahnakoski (kyle@lahnakoski.com)
#
from __future__ import absolute_import, divis... | klahnakoski/ActiveData | vendor/mo_logs/startup.py | Python | mpl-2.0 | 6,384 |
<!DOCTYPE html>
<html class="reftest-wait">
<script>
var context = new window.AudioContext();
var source = context.createBufferSource();
source.connect(context.destination);
source.playbackRate.value = 0.01;
source.buffer = context.createBuffer(2, 32, context.sampleRate);
source.start(0);
setTimeout(
function() {
... | Yukarumya/Yukarum-Redfoxes | dom/media/test/crashtests/1020205.html | HTML | mpl-2.0 | 594 |
{% extends "wiki/base.html" %}
{% from "includes/error_list.html" import errorlist %}
{% from 'wiki/includes/page_buttons.html' import page_buttons with context %}
{% from "includes/common_macros.html" import content_editor %}
{% if is_template %}
{% set title = _('Create a New Template') %}
{% else %}
{% set title... | anaran/kuma | kuma/wiki/templates/wiki/create.html | HTML | mpl-2.0 | 3,681 |
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
//! Borders, padding, and margins.
#![deny(unsafe_code)]
use fragment::Fragment;
use geom::{Matrix4, SideOffset... | zhangjunlei26/servo | components/layout/model.rs | Rust | mpl-2.0 | 19,406 |
package org.hl7.v3;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for ActSpecObsInterferenceCode.
*
* <p>The following schema fragment specifies the expected content contained within this class.
* <p>
* <pre>
* <simpleType name="ActSpecObsInterfere... | jembi/openhim-encounter-orchestrator | src/main/java/org/hl7/v3/ActSpecObsInterferenceCode.java | Java | mpl-2.0 | 966 |
require 'spec_helper'
describe 'RubyLint::Report' do
it 'adds a message using #add' do
report = RubyLint::Report.new
report.add(
:level => :info,
:message => 'info message',
:line => 1,
:column => 2,
:file => 'file.rb'
)
report.entries.length.should == 1
... | cabo/ruby-lint | spec/ruby-lint/report_spec.rb | Ruby | mpl-2.0 | 813 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<TITLE>
Uses of Class org.apache.poi.ss.formula.ptg.OperandPtg (POI API Documentation)
</TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../../../stylesheet.css... | claywebb/java-bulletin | poi-3.13/docs/apidocs/org/apache/poi/ss/formula/ptg/class-use/OperandPtg.html | HTML | mpl-2.0 | 18,267 |
package google
import (
"fmt"
"testing"
"github.com/hashicorp/terraform/helper/acctest"
"github.com/hashicorp/terraform/helper/resource"
"github.com/hashicorp/terraform/terraform"
)
func TestAccDataSourceComputeBackendService_basic(t *testing.T) {
t.Parallel()
serviceName := fmt.Sprintf("tf-test-%s", acctest... | drebes/terraform-provider-google | google/data_source_google_compute_backend_service_test.go | GO | mpl-2.0 | 2,298 |
var le__mcc__call__interface_8h =
[
[ "le_mcc_call_ObjRef_t", "le__mcc__call__interface_8h.html#adb403b78b90d26456b14cd87a6c05e13", null ],
[ "le_mcc_call_Event_t", "le__mcc__call__interface_8h.html#adcb2920422915a863a7ea52fe592d64d", [
[ "LE_MCC_CALL_EVENT_SETUP", "le__mcc__call__interface_8h.html#adcb29... | legatoproject/legato-docs | 15_01_1/le__mcc__call__interface_8h.js | JavaScript | mpl-2.0 | 4,200 |
<!DOCTYPE html>
<!-- DO NOT EDIT! Generated by referrer-policy/generic/tools/generate.py using referrer-policy/generic/template/test.release.html.template. -->
<html>
<head>
<title>Referrer-Policy: Referrer Policy is set to 'no-referrer'</title>
<meta name="description" content="Check that sub-resource never ... | fduraffourg/servo | tests/wpt/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-https/iframe-tag/generic.swap-origin-redirect.http.html | HTML | mpl-2.0 | 1,960 |
/**
** TALLOC.C
**
** lean_and_mean malloc()/free implementation
** by tom ehlert, te@drivesnapshot.de
**
** please be careful:
**
** this is only slightly tested and has NO ERRORCHECCKING AT ALL
** no internal checking. no stack checking. nothing !!
**
** use it only, if your programs are... | joyent/sdcboot | freedos/source/more/talloc.c | C | mpl-2.0 | 3,933 |
package org.hl7.v3;
import java.math.BigInteger;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for BXIT_CD complex type.
*
* <p>The following schema fr... | jembi/openhim-encounter-orchestrator | src/main/java/org/hl7/v3/BXITCD.java | Java | mpl-2.0 | 1,392 |
//#############################################################################
//# #
//# Copyright (C) <2015> <IMS MAXIMS> #
//# ... | IMS-MAXIMS/openMAXIMS | Source Library/openmaxims_workspace/ValueObjects/src/ims/clinical/vo/beans/PatientForDementiaVoBean.java | Java | agpl-3.0 | 5,183 |
# -*- 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... | StefanRijnhart/odoomrp-wip | procurement_sale_forecast/__openerp__.py | Python | agpl-3.0 | 1,597 |
Ekylibre::FirstRun.add_loader :sales do |first_run|
# Import sales
first_run.import_file(:ekylibre_sales, "alamano/sales.csv")
# Import incoming link to sale
first_run.import_file(:ekylibre_incoming_payments, "alamano/incoming_payments.csv")
end
| gaapt/ekylibre | lib/ekylibre/first_run/loaders/sales.rb | Ruby | agpl-3.0 | 257 |
//#############################################################################
//# #
//# Copyright (C) <2015> <IMS MAXIMS> #
//# ... | FreudianNM/openMAXIMS | Source Library/openmaxims_workspace/ValueObjects/src/ims/core/vo/lookups/BedSpaceTypeCollection.java | Java | agpl-3.0 | 4,802 |
/*
* digitalpetri OPC-UA SDK
*
* Copyright (C) 2015 Kevin Herron
*
* 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... | bencaldwell/ua-server-sdk | ua-server/src/main/java/com/digitalpetri/opcua/sdk/server/model/objects/ServerDiagnosticsNode.java | Java | agpl-3.0 | 5,099 |
/*
* NotebookOutput.hpp
*
* Copyright (C) 2009-16 by RStudio, Inc.
*
* 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 Licens... | jar1karp/rstudio | src/cpp/session/modules/rmarkdown/NotebookOutput.hpp | C++ | agpl-3.0 | 3,801 |
// Copyright © 2015 HSL <https://www.hsl.fi>
// This program is dual-licensed under the EUPL v1.2 and AGPLv3 licenses.
package fi.hsl.parkandride.dev;
import com.querydsl.sql.RelationalPath;
import com.querydsl.sql.postgresql.PostgreSQLQueryFactory;
import fi.hsl.parkandride.FeatureProfile;
import fi.hsl.parkandride.... | jpaajarv/parkandrideAPI | application/src/main/java/fi/hsl/parkandride/dev/DevHelper.java | Java | agpl-3.0 | 7,029 |
<?php
/**
* @file classes/controllers/grid/GridCellProvider.inc.php
*
* Copyright (c) 2000-2012 John Willinsky
* Distributed under the GNU GPL v2. For full terms see the file docs/COPYING.
*
* @class GridCellProvider
* @ingroup controllers_grid
*
* @brief Base class for a grid column's cell provider
*/
cla... | yvonnehoffmann/MindResearchRepository | ojs-2.3.8/lib/pkp/classes/controllers/grid/GridCellProvider.inc.php | PHP | agpl-3.0 | 2,626 |
require 'rails_helper'
RSpec.describe 'projects/show' , :type => :view do
before :each do
@this_user = User.create! :nick => 'a-name' , :uid => 'a-uid'
@project = assign :project , (Project.create! :name => 'A Project' ,
:repo =... | LiveCodingTVOfficial/community_website | spec/views/projects/show.html.erb_spec.rb | Ruby | agpl-3.0 | 1,111 |
#
# 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 ... | faraazkhan/canvas | app/models/notification_policy.rb | Ruby | agpl-3.0 | 5,968 |
/* CSS */
.cpsx_block .count {
font-weight: inherit;
}
.cpsx_block p {
cursor: pointer;
}
.cpsx_block {
align : right;
overflow: hidden;
position: fixed;
bottom: 2px;
left: 5%;
border: 3px solid #CCCCCC;
background-color: white;
height: 300px;
width: 19%;
}
#toggle_checkbox {
display: none;
}... | ybergner/cpsx | xblock/cpsx/public/css/style.css | CSS | agpl-3.0 | 2,375 |
OC.L10N.register(
"templateeditor",
{
"Could not load template" : "Klarte ikke å laste mal",
"Saved" : "Lagret",
"Reset" : "Tilbakestill",
"An error occurred" : "En feil har oppstått",
"Sharing email - public link shares (HTML)" : "Delings-epost - offentlige lenke-delinger (HTML)",
"Shar... | ino1988/soulcloud | apps/templateeditor/l10n/nb_NO.js | JavaScript | agpl-3.0 | 1,023 |
/**
* Copyright (c) 2015, 2016 Bastien Bodart, François Michel, Clémentine Munyabarenzi
* 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... | UCL-INGI/Informatique-1 | inginious_dir/m7real/jplag/template/Facture.java | Java | agpl-3.0 | 3,454 |
//#############################################################################
//# #
//# Copyright (C) <2015> <IMS MAXIMS> #
//# ... | FreudianNM/openMAXIMS | Source Library/openmaxims_workspace/ValueObjects/src/ims/naes/vo/lookups/UnderlyingReasonCollection.java | Java | agpl-3.0 | 4,902 |
import SPELLS from 'common/SPELLS';
/*
* Fields:
* int: spell scales with Intellect
* crit: spell scales with (is able to or procced from) Critical Strike
* hasteHpm: spell does more healing due to Haste, e.g. HoTs that gain more ticks
* hasteHpct: spell can be cast more frequently due to Haste, basically any spe... | enragednuke/WoWAnalyzer | src/Parser/Core/Modules/Features/SpellInfo.js | JavaScript | agpl-3.0 | 2,709 |
/* */
var apply = require('./_apply'),
castPath = require('./_castPath'),
isKey = require('./_isKey'),
last = require('./last'),
parent = require('./_parent'),
toKey = require('./_toKey');
function baseInvoke(object, path, args) {
if (!isKey(path, object)) {
path = castPath(path);
object ... | mscottnelson/grapph | public/jspm_packages/npm/lodash@4.13.1/_baseInvoke.js | JavaScript | agpl-3.0 | 525 |
module DspacePlugin::CollectionHelper
include ArticleHelper
def custom_options_for_article(article,tokenized_children)
@article = article
visibility_options(article,tokenized_children) +
content_tag('div',
hidden_field_tag('article[accept_comments]', 0)
)
end
end
| cesarfex/redesocial | plugins/dspace/lib/dspace_plugin/collection_helper.rb | Ruby | agpl-3.0 | 296 |
import React from 'react';
import SPELLS from 'common/SPELLS';
import { calculateAzeriteEffects } from 'common/stats';
import { formatPercentage } from 'common/format';
import AzeritePowerStatistic from 'interface/statistics/AzeritePowerStatistic';
import BoringSpellValueText from 'interface/statistics/components/Bori... | sMteX/WoWAnalyzer | src/parser/priest/discipline/modules/azeritetraits/DepthOfTheShadows.js | JavaScript | agpl-3.0 | 5,815 |
{% extends 'base.html' %}
{% load static %}
{% load autodidact %}
{% block header %}
{% endblock %}
{% block main %}
<main class="fullscreen">
<article>
{% block content %}
{% endblock %}
</article>
</main>
{% endblock %}
{% block footer %}
{% endblock %}
| JaapJoris/bps | autodidact/templates/fullscreen.html | HTML | agpl-3.0 | 283 |
DELETE FROM `landblock_instance` WHERE `landblock` = 0xD956;
INSERT INTO `landblock_instance` (`guid`, `weenie_Class_Id`, `obj_Cell_Id`, `origin_X`, `origin_Y`, `origin_Z`, `angles_W`, `angles_X`, `angles_Y`, `angles_Z`, `is_Link_Child`, `last_Modified`)
VALUES (0x7D956000, 929, 0xD9560031, 165.923, 18.6592, 20, 0.3... | LtRipley36706/ACE-World | Database/3-Core/6 LandBlockExtendedData/SQL/D956.sql | SQL | agpl-3.0 | 484 |
/* @flow */
/* eslint-disable no-param-reassign*/
import { bus, cache, config } from '../../core-server';
import winston from 'winston';
import { room as Room, roomrel as RoomRel } from '../../models/models';
import * as place from '../../lib/places';
import * as constants from '../../lib/Constants';
import uuid from ... | scrollback/pure | src/modules/belong/belong.js | JavaScript | agpl-3.0 | 7,295 |
/* This file is part of VoltDB.
* Copyright (C) 2008-2017 VoltDB Inc.
*
* This file contains original code and/or modifications of original code.
* Any modifications made by VoltDB Inc. are licensed under the following
* terms and conditions:
*
* Permission is hereby granted, free of charge, to any person obtain... | migue/voltdb | tests/ee/common/debuglog_test.cpp | C++ | agpl-3.0 | 3,404 |
<?php
/*
* This file is part of FacturaSctipts
* Copyright (C) 2015-2016 Carlos Garcia Gomez neorazorx@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 ... | FacturaScripts/sql_editor | controller/sql_editor.php | PHP | agpl-3.0 | 2,540 |
/**
* This file is part of mycollab-services.
*
* mycollab-services 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.
*
* mycolla... | maduhu/mycollab | mycollab-services/src/main/java/com/esofthead/mycollab/spring/ValidatorConfiguration.java | Java | agpl-3.0 | 1,576 |
<app-instance-page>
<app-instance-toolbar [hasDetailPane]="true">
Alarms
<app-help>
An alarm can be in these states:
<table class="ya-data-table">
<tr>
<td width="1">
<mat-icon class="icon16" style="vertical-align: middle">notifications</mat-icon>
</td>
... | fqqb/yamcs | yamcs-web/src/main/webapp/src/app/alarms/AlarmsPage.html | HTML | agpl-3.0 | 4,370 |
# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd.
# License: GNU General Public License v3. See license.txt
import webnotes
def execute():
webnotes.conn.sql("""drop table if exists `tabDocType Mapper`""")
webnotes.conn.sql("""drop table if exists `tabTable Mapper Detail`""")
webnotes.conn.sql("""drop table if ... | gangadhar-kadam/sapphire_app | patches/july_2013/p01_remove_doctype_mappers.py | Python | agpl-3.0 | 516 |
//#############################################################################
//# #
//# Copyright (C) <2014> <IMS MAXIMS> #
//# ... | open-health-hub/openmaxims-linux | openmaxims_workspace/ValueObjects/src/ims/clinicaladmin/vo/beans/PatientTumourRecurrenceVoBean.java | Java | agpl-3.0 | 4,115 |
/*
* RapidMiner
*
* Copyright (C) 2001-2013 by Rapid-I and the contributors
*
* Complete list of developers available at our web site:
*
* http://rapid-i.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 pub... | aborg0/RapidMiner-Unuk | src/com/rapidminer/datatable/DataTableExampleSetAdapter.java | Java | agpl-3.0 | 10,747 |
/*
* Advanced Simulation Library <http://asl.org.il>
*
* Copyright 2015 Avtech Scientific <http://avtechscientific.com>
*
*
* This file is part of Advanced Simulation Library (ASL).
*
* ASL is free software: you can redistribute it and/or modify it
* under the terms of the GNU Affero General Public License as... | ghisvail/ASL | src/acl/Operators/aclElementConvert.h | C | agpl-3.0 | 1,488 |
from .base_executor import ScriptExecutor
from judgeenv import env
class RubyExecutor(ScriptExecutor):
ext = '.rb'
name = 'RUBY'
address_grace = 65536
fs = ['.*\.(?:so|rb$)', '/etc/localtime$', '/dev/urandom$', '/proc/self', '/usr/lib/ruby/gems/']
test_program = 'puts gets'
@classmethod
d... | buhe/judge | executors/ruby.py | Python | agpl-3.0 | 393 |
<?php
/**
* @author Olivier Paroz <owncloud@interfasys.ch>
*
* @copyright Copyright (c) 2018, ownCloud GmbH
* @license AGPL-3.0
*
* This code is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License, version 3,
* as published by the Free Software Foun... | pollopolea/core | tests/lib/Preview/ImageTest.php | PHP | agpl-3.0 | 1,162 |
# coding: utf-8
require File.dirname(__FILE__) + '/test_helper'
describe 'SemanticFormBuilder#input' do
include FormtasticSpecHelper
before do
@output_buffer = ''
mock_everything
end
describe 'with inline order customization' do
it 'should allow input, hints, errors as order' do
Formta... | pbelasco/pub_data_brasil | vendor/plugins/formtastic/spec/input_spec.rb | Ruby | agpl-3.0 | 87,084 |
Given /^there is a project called "([^\"]*)"$/ do |name|
Project.find_by_name(name) || Factory(:project, :name => name)
end
Given /^"([^\"]*)" is the owner of the project "([^\"]*)"/ do |login, project_name|
user = User.find_by_login(login)
project = Project.find_by_name(project_name)
project.add_user(user)
... | wesbillman/projects | features/step_definitions/project_steps.rb | Ruby | agpl-3.0 | 2,663 |
{% extends "education_group_app/blocks/layout.html" %}
{% load i18n bootstrap3 %}
{% comment "License" %}
* OSIS stands for Open Student Information System. It's an application
* designed to manage the core business of higher education institutions,
* such as universities, faculties, institutes and professional school... | uclouvain/OSIS-Louvain | program_management/templates/tree_version/mini_training/update.html | HTML | agpl-3.0 | 3,360 |
//#############################################################################
//# #
//# Copyright (C) <2015> <IMS MAXIMS> #
//# ... | FreudianNM/openMAXIMS | Source Library/openmaxims_workspace/Rules/src/ims/rules/forms/ruleseditorcomponent/AccessLogic.java | Java | agpl-3.0 | 2,553 |
/*
* Copyright (C) 2000 - 2016 Silverpeas
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* As a spec... | ebonnet/Silverpeas-Core | core-library/src/main/java/org/silverpeas/core/importexport/Importer.java | Java | agpl-3.0 | 2,274 |
/**
* Copyright 2014-2017 Vincent Noel (vincent.noel@butantan.gov.br)
*
* This file is part of SigNetSim.
*
* libSigNetSim 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... | msreis/SigNetSim | signetsim/static/js/forms.js | JavaScript | agpl-3.0 | 24,881 |
/*
* This file is part of Bisq.
*
* Bisq 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.
*
* Bisq is distributed in the ... | sakazz/exchange | core/src/main/java/io/bisq/core/btc/wallet/BisqKeyChainGroup.java | Java | agpl-3.0 | 1,884 |
#!/usr/bin/env python
# ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
# Copyright (C) 2013, Numenta, Inc. Unless you have an agreement
# with Numenta, Inc., for a separate license for this software code, the
# following terms and conditions ... | passiweinberger/nupic | tests/swarming/nupic/swarming/swarming_test.py | Python | agpl-3.0 | 101,562 |
/*
* JBILLING CONFIDENTIAL
* _____________________
*
* [2003] - [2012] Enterprise jBilling Software Ltd.
* All Rights Reserved.
*
* NOTICE: All information contained herein is, and remains
* the property of Enterprise jBilling Software.
* The intellectual and technical concepts contained
* herein are proprie... | liquidJbilling/LT-Jbilling-MsgQ-3.1 | src/java/com/sapienter/jbilling/server/provisioning/config/Request.java | Java | agpl-3.0 | 1,677 |
SET @SPID := 400000;
SET @GOID := 400000;
DELETE FROM `creature_spawns` WHERE `id` BETWEEN @SPID+1 AND @SPID+9;
DELETE FROM `gameobject_spawns` WHERE `id` BETWEEN @GOID+1 AND @GOID+58;
CREATE TABLE IF NOT EXISTS `active_event_id` (
`active_event` int(10) unsigned NOT NULL,
`name` text COLLATE latin1_bin NOT NULL,... | aikon-com-cn/NoxicDB | other/calendar_events/Darkmoon Faire/Elwynn Forest Building/Elwynn Forest Building Despawn.sql | SQL | agpl-3.0 | 410 |
//#############################################################################
//# #
//# Copyright (C) <2014> <IMS MAXIMS> #
//# ... | open-health-hub/openmaxims-linux | openmaxims_workspace/ValueObjects/src/ims/clinical/vo/lookups/PatientProcedureOutcomeCollection.java | Java | agpl-3.0 | 4,676 |
package com.telefonica.claudia.slm.recovery;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
import javax.persistence.CascadeType;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.I... | StratusLab/claudia | claudia-model/src/main/java/com/telefonica/claudia/slm/recovery/OperationLog.java | Java | agpl-3.0 | 2,703 |
# -*- coding: utf-8 -*-
from __future__ import print_function
import logging
import os
import signal
import socket
import time
import traceback
from datetime import datetime
from multiprocessing import Process
from os.path import abspath
from os.path import dirname
from os.path import expanduser
from os.path import j... | ehartsuyker/securedrop | securedrop/tests/functional/functional_test.py | Python | agpl-3.0 | 11,846 |
<?php
/*
* Copyright 2007-2017 Charles du Jeu - Abstrium SAS <team (at) pyd.io>
* 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 Lice... | huzergackl/pydio-core | core/src/plugins/core.auth/CoreAuthLoader.php | PHP | agpl-3.0 | 7,149 |
// Copyright 2015 Canonical Ltd.
// Licensed under the LGPLv3, see LICENCE file for details.
package utils_test
import (
"errors"
jc "github.com/juju/testing/checkers"
gc "gopkg.in/check.v1"
"github.com/juju/juju/feature"
"github.com/juju/juju/testing"
"github.com/juju/juju/utils"
)
type logSuite struct {
t... | cmars/juju | utils/logging_test.go | GO | agpl-3.0 | 854 |
//#############################################################################
//# #
//# Copyright (C) <2015> <IMS MAXIMS> #
//# ... | FreudianNM/openMAXIMS | Source Library/openmaxims_workspace/Core/src/ims/core/forms/lookupmultiselectioncomponent/BaseAccessLogic.java | Java | agpl-3.0 | 3,946 |
// DATA_TEMPLATE: dom_data
oTest.fnStart( "oLanguage.sLengthMenu" );
$(document).ready( function () {
/* Check the default */
var oTable = $('#example').dataTable();
var oSettings = oTable.fnSettings();
oTest.fnTest(
"Menu language is 'Show _MENU_ entries' by default",
null,
function () { return oSettings.... | lyan6/genenetwork2 | wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/oLanguage.sLengthMenu.js | JavaScript | agpl-3.0 | 2,401 |
/*
* Copyright (C) 2018 - present Instructure, Inc.
*
* This file is part of Canvas.
*
* Canvas is free software: you can redistribute it and/or modify it under
* the terms of the GNU Affero General Public License as published by the Free
* Software Foundation, version 3 of the License.
*
* Canvas is distribut... | djbender/canvas-lms | app/jsx/rubrics/CommentButton.js | JavaScript | agpl-3.0 | 1,320 |
<?php
class page_socialshareModule_page_uninstall extends page_componentBase_page_uninstall{} | xavoctechnocratspvtltd/schoolERP | epan-components/socialshareModule/page/uninstall.php | PHP | agpl-3.0 | 95 |
//#############################################################################
//# #
//# Copyright (C) <2015> <IMS MAXIMS> #
//# ... | IMS-MAXIMS/openMAXIMS | Source Library/openmaxims_workspace/Clinical/src/ims/clinical/forms/notes/FormInfo.java | Java | agpl-3.0 | 3,115 |
//#############################################################################
//# #
//# Copyright (C) <2014> <IMS MAXIMS> #
//# ... | open-health-hub/openmaxims-linux | openmaxims_workspace/Clinical/src/ims/clinical/domain/base/impl/BaseSurgicalOPNotesGeneralDetailsCCImpl.java | Java | agpl-3.0 | 2,831 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
<title>AW21 Test.6.4.3 Passed 01</title>
... | Tanaguru/Tanaguru | rules/accessiweb2.1-testcases/src/main/resources/testcases/AW21/Aw21Rule06043/AW21.Test.06.04.03-1Passed-01.html | HTML | agpl-3.0 | 957 |
# -*- encoding: utf-8 -*-
from openerp.osv import osv, fields
class LeadToChangeRequestWizard(osv.TransientModel):
"""
wizard to convert a Lead into a Change Request and move the Mail Thread
"""
_name = "crm.lead2cr.wizard"
_inherit = 'crm.partner.binding'
_columns = {
"lead_id": fiel... | mohamedhagag/community-addons | crm_change_request/models/change_request.py | Python | agpl-3.0 | 3,485 |
<script type="text/javascript">
$(document).ready(function ()
{
$('table.classifications_edit').find('.info').click(function()
{
if($('.tree').is(":hidden"))
{
$.get('<?php echo url_for('catalogue/tree?table=lithostratigraphy&id='.$litho->Parent->getId()) ; ?>',function (html){
$('.tree'... | eMerzh/Darwin | apps/backend/modules/lithostratigraphy/templates/viewSuccess.php | PHP | agpl-3.0 | 3,493 |
---
layout: page
title: Creative Commons DMCA Notice & Takedown Procedure
date: 2007-05-17 11:47:44.000000000 -04:00
categories: []
tags: []
status: publish
type: page
published: true
meta:
single_col: '1'
_edit_last: '47'
_wp_page_template: default
author:
login: alex
email: webmaster+alex@creativecommons.or... | creativecommons/www2015 | _source/_pages/dmca.html | HTML | agpl-3.0 | 5,580 |
class AddBuildErrorMessage < ActiveRecord::Migration
def change
add_column :builds, :error_message, :text
end
end
| performanceci/performanceci-core | db/migrate/20140224222116_add_build_error_message.rb | Ruby | agpl-3.0 | 122 |
/****************************************************************
* *
* Copyright 2001,2014 Fidelity Information Services, Inc *
* *
* This source code contains the intellectual property *
* of its copyright holder(s), and is made available *
* under a license. If you do not know the terms of *
* ... | CoherentLogic/fis-gtm-netbsd | sr_x86_64/merrors_ansi.h | C | agpl-3.0 | 35,297 |
<?php
/**
* @package plugins.scheduledTask
* @subpackage lib.objectTaskEngine
*/
class KObjectTaskConvertEntryFlavorsEngine extends KObjectTaskEntryEngineBase
{
/**
* @param KalturaBaseEntry $object
*/
function processObject($object)
{
/** @var KalturaConvertEntryFlavorsObjectTask $objectTask */
$objectT... | kaltura/server | plugins/scheduled_task/lib/object_task_engine/KObjectTaskConvertEntryFlavorsEngine.php | PHP | agpl-3.0 | 1,210 |
//#############################################################################
//# #
//# Copyright (C) <2015> <IMS MAXIMS> #
//# ... | FreudianNM/openMAXIMS | Source Library/openmaxims_workspace/Core/src/ims/core/forms/adtadmissiondetailscomponent/GenForm.java | Java | agpl-3.0 | 100,934 |
# -*- coding: utf-8 -*-
{
'name': "website_register_b2b",
'summary': """
Registration form for site purchases """,
'description': """
Registration form for site purchases
""",
'author': "Alexsandro Haag <alex@hgsoft.com.br>, HGSOFT",
'website': "http://www.hgsoft.com.br",
... | alexsandrohaag/odoo-website-addons | website_register_b2b/__manifest__.py | Python | agpl-3.0 | 514 |
// Generated by CoffeeScript 1.8.0
var AppManager, ControllerClient, HttpClient, MemoryManager, async, fs, singleton;
fs = require('fs');
async = require('async');
HttpClient = require("request-json").JsonClient;
ControllerClient = require('cozy-clients').ControllerClient;
MemoryManager = require('./memory').Memor... | m4dz/cozy-home | build/server/lib/paas.js | JavaScript | agpl-3.0 | 9,553 |
module.exports = {
plugins: {
"postcss-import": {},
tailwindcss: {},
autoprefixer: {},
}
}
| PanoptikumIO/pan | assets/postcss.config.js | JavaScript | agpl-3.0 | 107 |
//#############################################################################
//# #
//# Copyright (C) <2014> <IMS MAXIMS> #
//# ... | open-health-hub/openmaxims-linux | openmaxims_workspace/Admin/src/ims/admin/domain/base/impl/BaseApplicationUsersImpl.java | Java | agpl-3.0 | 2,851 |
//#############################################################################
//# #
//# Copyright (C) <2015> <IMS MAXIMS> #
//# ... | FreudianNM/openMAXIMS | Source Library/openmaxims_workspace/ValueObjects/src/ims/emergency/vo/domain/EDTransferForTrackingVoAssembler.java | Java | agpl-3.0 | 16,817 |
# Copyright (C) 2013 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 i... | va7map/canvas-lms | spec/apis/v1/quizzes/quiz_questions_api_spec.rb | Ruby | agpl-3.0 | 9,201 |
package io.bitsquare.p2p.messaging;
public interface SendDirectMessageListener {
void onArrived();
void onFault();
}
| haiqu/bitsquare | network/src/main/java/io/bitsquare/p2p/messaging/SendDirectMessageListener.java | Java | agpl-3.0 | 127 |
## BeatmapsetCompact
Represents a beatmapset.
Field | Type | Description
--------------- | ----------------------------------- | -----------
artist | string | |
artist_unicode | string | |
covers | [C... | nekodex/osu-web | resources/docs/source/includes/_structures/beatmapset_compact.md | Markdown | agpl-3.0 | 2,523 |
# This is the base class of all prefetched network device provider
class Puppet::Provider::NetworkDevice < Puppet::Provider
def self.device(url)
raise "This provider doesn't implement the necessary device method"
end
def self.lookup(device, name)
raise "This provider doesn't implement the necessary loo... | nwops/puppet-retrospec | vendor/pup410/lib/puppet/provider/network_device.rb | Ruby | agpl-3.0 | 1,599 |
#ifndef PLUGIN_HANDLER_C
#define PLUGIN_HANDLER_C
#define P_P_F __attribute__((__noinline__)) __attribute__((__cdecl__))
pluginWrapper_t pluginFunctions;
mainFunctions_t mainFunctions;
#include "plugin_com.c"
void Plugin_Init()
{
void *ptr;
int i;
pluginFunctions.loadedPlugins=0;
pluginFunctions.e... | atrX/CoD4x-Server | dis/plugin_handler.c | C | agpl-3.0 | 38,222 |
//#############################################################################
//# #
//# Copyright (C) <2015> <IMS MAXIMS> #
//# ... | IMS-MAXIMS/openMAXIMS | Source Library/openmaxims_workspace/Core/src/ims/core/forms/diagnosislist/AccessLogic.java | Java | agpl-3.0 | 2,406 |
"""
Backfill opportunity ids for Enterprise Coupons, Enterprise Offers and Manual Order Offers.
"""
import csv
import logging
from collections import Counter, defaultdict
from time import sleep
from uuid import UUID
from django.core.management import BaseCommand
from ecommerce.core.constants import COUPON_PRODUCT_C... | edx/ecommerce | ecommerce/enterprise/management/commands/backfill_opportunity_ids.py | Python | agpl-3.0 | 9,523 |
// NeL - MMORPG Framework <http://dev.ryzom.com/projects/nel/>
// Copyright (C) 2010 Winch Gate Property 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... | jinxiaoye1987/RyzomCore | nel/src/misc/big_file.cpp | C++ | agpl-3.0 | 12,754 |
//#############################################################################
//# #
//# Copyright (C) <2015> <IMS MAXIMS> #
//# ... | FreudianNM/openMAXIMS | Source Library/openmaxims_workspace/ValueObjects/src/ims/core/vo/lookups/VSTempInstrument.java | Java | agpl-3.0 | 5,327 |
<?php
// Prevent loading this file directly
if ( !defined('SENDPRESS_VERSION') ) {
header('HTTP/1.0 403 Forbidden');
die;
}
class SendPress_View_Help extends SendPress_View{
function prerender($sp = false){
wp_enqueue_script( 'dashboard' );
sp_add_help_widget( 'help_support', 'Contact Us', array(&$this,'hel... | pmatheus/participacao-sitebase | src/wp-content/plugins/sendpress/classes/views/class-sendpress-view-help.php | PHP | agpl-3.0 | 10,300 |
//#############################################################################
//# #
//# Copyright (C) <2014> <IMS MAXIMS> #
//# ... | open-health-hub/openmaxims-linux | openmaxims_workspace/DomainObjects/src/ims/careuk/domain/objects/ReviewReferralDetail.java | Java | agpl-3.0 | 16,545 |
# Copyright (c) 2008 The Kaphan Foundation
#
# For licensing information see LICENSE.
#
# Please visit http://www.peerworks.org/contact for further information.
#
require File.dirname(__FILE__) + '/../spec_helper'
require 'atom'
require 'atom/pub'
require 'atom/version'
require 'uri'
require 'net/http'
shared_example... | usmschuck/canvas | vendor/bundle/ruby/1.9.1/gems/ratom-instructure-0.6.9/spec/atom/pub_spec.rb | Ruby | agpl-3.0 | 19,553 |
The following is all the data collected.
You can view the server code [here](https://github.com/joonatoona/OpenMineMods_Analytics), and the code that sends data to the server [here](https://github.com/joonatoona/OpenMineMods/blob/master/Utils/Analytics.py)
```
TIMESTAMP: 1505221402316
VERSION: '1.0.1'
COUNTRY: 'FI'
LA... | OpenMineMods/OpenMineMods | ExampleAnalytics.md | Markdown | agpl-3.0 | 536 |
// Copyright 2016 Canonical Ltd.
// Licensed under the AGPLv3, see LICENCE file for details.
//go:build !windows
// +build !windows
package spool_test
import (
"io"
"net"
"github.com/juju/errors"
)
func dial(socketPath string) (io.ReadCloser, error) {
conn, err := net.Dial("unix", socketPath)
if err != nil {
... | jameinel/juju | worker/metrics/spool/listener_unix_test.go | GO | agpl-3.0 | 375 |
<?php
namespace MapasCulturais;
use \MapasCulturais\App;
/**
* The base class for all controllers.
*
* To create a controller you must extends this class and register the new controller class as a controller in the application
* with the method \MapasCulturais\App::registerController(). Inside this class you can ... | secultce/mapasculturais | src/protected/application/lib/MapasCulturais/Controller.php | PHP | agpl-3.0 | 15,596 |
import copy
from django.db.models.fields.related import ForeignKey, OneToOneField
from rest_framework import mixins
from rest_framework.generics import (
GenericAPIView, ListAPIView, ListCreateAPIView, RetrieveAPIView,
RetrieveUpdateDestroyAPIView
)
from api.generics.serializers import (
DynamicFieldsMode... | openaid-IATI/OIPA | OIPA/api/generics/views.py | Python | agpl-3.0 | 6,974 |
// ----------------------------------------------------------------------------------
// Microsoft Developer & Platform Evangelism
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND,
// EITHER EXPRESSED OR IMPLIED, INCLUD... | Evilazaro/MCSDAzureTraining | Design and Implement Cloud Services/Demos/WATK/ContosoExpenseReporting/Source/Code/End/Expenses.Web/Repository/ReportsContextInitializer.cs | C# | agpl-3.0 | 6,896 |
/*
* Copyright (C) 2017 ScyllaDB
*
*/
/*
* This file is part of Scylla.
*
* Scylla is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any la... | fastio/pedis | table_helper.hh | C++ | agpl-3.0 | 7,277 |
/*
* Copyright 2011 JogAmp Community. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification, are
* permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice, this list of
* con... | gama-platform/gama.cloud | ummisco.gama.opengl_web/src/com/jogamp/opengl/fixedfunc/GLPointerFuncUtil.java | Java | agpl-3.0 | 3,179 |
//#############################################################################
//# #
//# Copyright (C) <2014> <IMS MAXIMS> #
//# ... | open-health-hub/openmaxims-linux | openmaxims_workspace/Admin/src/ims/admin/forms/applicationroles/GenForm.java | Java | agpl-3.0 | 73,497 |
#
# Copyright (C) 2012 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 ... | wye0220/shindig-canvas | spec/apis/v1/tabs_api_spec.rb | Ruby | agpl-3.0 | 17,643 |
/*
* Tanaguru - Automated webpage assessment
* Copyright (C) 2008-2015 Tanaguru.org
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at you... | Tanaguru/Tanaguru | rules/rgaa3.0/src/main/java/org/tanaguru/rules/rgaa30/Rgaa30Rule041302.java | Java | agpl-3.0 | 1,474 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.