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 |
|---|---|---|---|---|---|
<h2 class="problem-header">
{{display_name}} (External resource)
</h2>
<div id="{{element_id}}" class="${{element_class}} lti-consumer-container">
{{ message }}
</div> | open-craft/xblock-dalite | dalite_xblock/templates/dalite_xblock_data_not_filled.html | HTML | agpl-3.0 | 177 |
{% extends "page.html" %}
{% block subtitle %}{{ _("Tag Manager") }}{% endblock %}
{% block breadcrumb_content %}
<li class="active">{{ h.nav_link(_('Tags Manager'), controller='package', action='search', highlight_actions = 'new index') }}</li>
{% endblock %}
{% block page_header %}{% endblock %}
{% block primar... | alantygel/ckanext-tagmanager | ckanext/tagmanager/templates/tagmanager/edit.html | HTML | agpl-3.0 | 876 |
<?php
/*
* Github webhook In-game PR Announcer and Changelog Generator for /tg/Station13
* Author: MrStonedOne
* For documentation on the changelog generator see https://tgstation13.org/phpBB/viewtopic.php?f=5&t=5157
* To hide prs from being announced in game, place a [s] in front of the title
* All runtime errors... | MrStonedOne/-tg-station | tools/WebhookProcessor/github_webhook_processor.php | PHP | agpl-3.0 | 24,718 |
class IndexMembershipsAndTypes < ActiveRecord::Migration
def change
add_index :membership_types, :organization_id
add_index :memberships, :membership_type_id
end
end
| andrewkrug/artfully_ose | db/migrate/20140125183606_index_memberships_and_types.rb | Ruby | agpl-3.0 | 185 |
import classNames from 'classnames'
import ReactSwitch from 'react-switch'
type Props = {
ariaLabel: string
checked?: boolean
onChange: any
}
export const Switch = ({ ariaLabel, checked, onChange }: Props) => {
const switchClass = classNames(checked ? 'is-on' : 'is-off')
return (
<div className='switch'... | podverse/podverse-web | src/components/Switch/Switch.tsx | TypeScript | agpl-3.0 | 581 |
/*
* Copyright 2015 BrewPi/Elco Jacobs.
* Copyright 2015 Matthew McGowan.
*
* This file is part of BrewPi.
*
* BrewPi 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... | BrewPi/firmware | platform/wiring/ActuatorPin.h | C | agpl-3.0 | 1,669 |
# This file is part of Mconf-Web, a web application that provides access
# to the Mconf webconferencing system. Copyright (C) 2010-2012 Mconf
#
# This file is licensed under the Affero General Public License version
# 3 or later. See the LICENSE file.
require "spec_helper"
describe AdminMailer do
describe '.new_u... | mconftec/mconf-web-ufpe | spec/mailers/admin_mailer_spec.rb | Ruby | agpl-3.0 | 5,089 |
**Merge checklist:**
- [ ] Any new requirements are in the right place (do **not** manually modify the `requirements/*.txt` files)
- `base.in` if needed in production but edx-platform doesn't install it
- `test-master.in` if edx-platform pins it, with a matching version
- `make upgrade && make requirements`... | edx/edx-enterprise | .github/PULL_REQUEST_TEMPLATE.md | Markdown | agpl-3.0 | 2,546 |
<?php
/**
*
* Gestion de la saisie, de la modification d'un login
* Gestion du changement du mot de passe (en mode BDD)
*/
require_once 'framework/identification/loginGestion.class.php';
$dataClass = new LoginGestion($bdd_gacl, $ObjetBDDParam);
$dataClass->setKeys($privateKey, $pubKey);
$id = $_REQUEST["id"];
if (... | Irstea/collec | framework/identification/login.php | PHP | agpl-3.0 | 4,164 |
class TreeView {
constructor($dom, store, adapter) {
this.store = store;
this.adapter = adapter;
this.$view = $dom.find('.octotree_treeview');
this.$tree = this.$view
.find('.octotree_view_body')
.on('click.jstree', '.jstree-open>a', ({target}) => {
setTimeout(() => {
thi... | crashbell/octotree | src/view.tree.js | JavaScript | agpl-3.0 | 5,983 |
# This file is part of Rails PowerDNS Admin
#
# Copyright (C) 2014-2015 Dennis <allspark> Börm
#
# Rails PowerDNS Admin 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 Lic... | allspark/rails_pdns_admin | app/models/user_role_powerdns_domain.rb | Ruby | agpl-3.0 | 941 |
/*
* Copyright (C) 2012-2022 Online-Go.com
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This pr... | online-go/online-go.com | src/components/AIReviewStream/AIReviewStream.tsx | TypeScript | agpl-3.0 | 3,607 |
#Generate install, uninstall and detect .PS1 scripts for Choco-managed software
$appFriendlyName = "Paint.Net (managed)" #e.g. "Adobe Reader (managed)"
$appChocoName = "Paint.Net" #e.g. "AdobeReader"
$installedAppFileForDetection = "${env:ProgramFiles}\Paint.Net\PaintDotNet.exe" #e.g. "${e... | kevmaitland/PoshAnt | Intune-WinApp/_example/redeploy.ps1 | PowerShell | agpl-3.0 | 8,126 |
#include <iostream>
#include <string>
#include <cstdlib>
#include "TextUtil.h"
#include "util.h"
void Usage() {
std::cerr << "Usage: " << ::progname << " utf8_text\n";
std::exit(EXIT_FAILURE);
}
int main(int argc, char *argv[]) {
::progname = argv[0];
if (argc != 2)
Usage();
std::strin... | ubtue/ub_tools | cpp/test/TrimLastCharFromUTF8Sequence_test.cc | C++ | agpl-3.0 | 498 |
require 'rails_spec_helper'
include Toolkits::S3Manager::EncryptionToolkit
RSpec.describe S3Manager::ObjectSummary do
let(:s3_manager) { S3Manager::Manager.new }
let(:object_summary) { S3Manager::Manager::ObjectSummary.new("waffles", s3_manager) }
describe "an ObjectSummary instance" do
subject { object_su... | mkoon/gradecraft-development | spec/lib/s3_manager/object_summary_spec.rb | Ruby | agpl-3.0 | 2,703 |
<?php
namespace GeditLab\Module;
class React extends \GeditLab\Web\Controller {
function get() {
if(! local_channel())
return;
$postid = $_REQUEST['postid'];
if(! $postid)
return;
$emoji = $_REQUEST['emoji'];
if($_REQUEST['emoji']) {
$i = q("select * from item where id = %d and uid = %d",
... | BlaBlaNet/BlaBlaNet | GeditLab/Module/React.php | PHP | agpl-3.0 | 1,019 |
/*
Copyright (C) 2015-2016 Claude SIMON (http://q37.info/contact/).
This file is part of 'orgnzq' software.
'orgnzq' 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 L... | epeios-q37/epeios | apps/orgnzq/frontend/XDHTML/prolog.h | C | agpl-3.0 | 1,233 |
class BlacklistWord < ActiveRecord::Base
validates :word,
:presence => true,
:uniqueness => true
validates :kind,
:presence => true
end
| dukedorje/dreamcatcher | app/models/blacklist_word.rb | Ruby | agpl-3.0 | 184 |
<?php
require_once 'propel/util/BasePeer.php';
// The object class -- needed for instanceof checks in this class.
// actual class may be a subclass -- as returned by RoutePeer::getOMClass()
include_once 'classes/model/Route.php';
/**
* Base static class for performing query and update operations on the 'ROUTE' table... | maestrano/processmaker | workflow/engine/classes/model/om/BaseRoutePeer.php | PHP | agpl-3.0 | 26,113 |
#!/bin/sh
# pythonInstall.sh
#
#
# Created by Ron Yadgar on 25/09/2016.
#
SOURCE_DIRECTORY="/opt/kaltura/liveController/latest"
HOME_DIRECTORY=`grep recording_base_dir $SOURCE_DIRECTORY/liveRecorder/Config/config.ini | awk '{ print $3 }'`
HOSTNAME=$(hostname)
HOSTNAME_DIRECTORY="$HOME_DIRECTORY/$HOSTNAME"
echo... | kaltura/liveDVR | liveRecorder/install.sh | Shell | agpl-3.0 | 1,530 |
// Copyright 2014 Canonical Ltd.
// Licensed under the AGPLv3, see LICENCE file for details.
package api_test
import (
"strings"
"github.com/juju/utils/set"
gc "gopkg.in/check.v1"
"github.com/juju/juju/api"
"github.com/juju/juju/apiserver/common"
"github.com/juju/juju/feature"
coretesting "github.com/juju/ju... | Altoros/juju-vmware | api/facadeversions_test.go | GO | agpl-3.0 | 4,034 |
# Gentoo Recruiters Web App - to help Gentoo recruiters do their job better
# Copyright (C) 2010 Joachim Filip Bartosik
#
# 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, versio... | ahenobarbi/Gentoo-Recruiters-App | app/models/project_acceptance.rb | Ruby | agpl-3.0 | 3,092 |
<?php
/**
* This file is part of the login-cidadao project or it's bundles.
*
* (c) Guilherme Donato <guilhermednt on github>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace PROCERGS\LoginCidadao\NfgBundle\Exception;
cl... | PROCERGS/login-cidadao | src/PROCERGS/LoginCidadao/NfgBundle/Exception/EmailInUseException.php | PHP | agpl-3.0 | 675 |
/*!
* jquery.fancytree.persist.js
*
* Persist tree status in cookiesRemove or highlight tree nodes, based on a filter.
* (Extension module for jquery.fancytree.js: https://github.com/mar10/fancytree/)
*
* @depends: js-cookie or jquery-cookie
*
* Copyright (c) 2008-2020, Martin Wendt (https://wwWendt.de)
*
* R... | isard-vdi/isard | webapp/webapp/webapp/static/vendor/fancytree/dist/modules/jquery.fancytree.persist.js | JavaScript | agpl-3.0 | 13,835 |
# streamer-wrapper
[/statusIcon)](http://ci.gtaun.net/project.html?projectId=Shoebill_Wrappers_Streamer)
This project serves as a Wrapper between Shoebill and Incognito's Streamer Plugin.
# Requirement
You will need ... | Shoebill/streamer-wrapper | README.md | Markdown | agpl-3.0 | 397 |
/* 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/ee/common/RecoveryProtoMessage.cpp | C++ | agpl-3.0 | 1,797 |
<%! from django.utils.translation import ugettext as _ %>
<%! from django.utils.translation import ugettext as _ %>
<%inherit file="../main.html" />
<%block name="pagetitle">${_("Vision")}</%block>
<section class="container about">
<h1>${_("Vision")}</h1>
<p>${_("This page left intentionally blank. It is not used by ... | LICEF/edx-platform | lms/templates/static_templates/remerciements.html | HTML | agpl-3.0 | 410 |
<html>
<head>
<meta charset="utf-8" />
<title>1 iframe of the node test by Sembiki Interactive</title>
</head>
<body>
<p id="send">
id: <input id="id" type="number" value="0" />
message: <input id="message" type="text" value="moo" />
<input id="send" type="submit" onclick="sendM... | forresto/meemoo-videosequencer | test/iframe-node.html | HTML | agpl-3.0 | 3,506 |
# Copyright 2009-2010 Canonical Ltd. This software is licensed under the
# GNU Affero General Public License version 3 (see the file LICENSE).
__metaclass__ = type
__all__ = [
'BranchRevision',
]
from storm.locals import (
Int,
Reference,
Storm,
)
from zope.interface import implements
from l... | abramhindle/UnnaturalCodeFork | python/testdata/launchpad/lib/lp/code/model/branchrevision.py | Python | agpl-3.0 | 984 |
from gavel import app
from gavel.models import *
from gavel.constants import *
import gavel.settings as settings
import gavel.utils as utils
from flask import (
redirect,
render_template,
request,
url_for,
)
import urllib.parse
@app.route('/admin/')
@utils.requires_auth
def admin():
annotators = An... | atagh/gavel-clone | gavel/controllers/admin.py | Python | agpl-3.0 | 6,919 |
[](https://app.shippable.com/projects/58b08461067893070065aab3)
# Online-Go.com source code
This repository contains the source code for web client used by [Online-Go.com](https://online-go.com).
# Bugs, Suggestions, and Dis... | DmitriyKirakosyan/online-go.com | README.md | Markdown | agpl-3.0 | 1,788 |
/*
* Asqatasun - Automated webpage assessment
* Copyright (C) 2008-2019 Asqatasun.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 y... | dzc34/Asqatasun | rules/rules-rgaa3.2016/src/test/java/org/asqatasun/rules/rgaa32016/Rgaa32016Rule010308Test.java | Java | agpl-3.0 | 4,461 |
/*
* eyeos - The Open Source Cloud's Web Desktop
* Version 2.0
* Copyright (C) 2007 - 2010 eyeos Team
*
* 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 publ... | Seldaiendil/meyeOS | eyeos/extern/js/eyeos.dashboard.Widget.js | JavaScript | agpl-3.0 | 16,044 |
DELETE FROM `weenie` WHERE `class_Id` = 49547;
INSERT INTO `weenie` (`class_Id`, `class_Name`, `type`, `last_Modified`)
VALUES (49547, 'ace49547-lightningphyntoswaspessence100', 70, '2019-02-10 00:00:00') /* PetDevice */;
INSERT INTO `weenie_properties_int` (`object_Id`, `type`, `value`)
VALUES (49547, 1, 12... | LtRipley36706/ACE-World | Database/3-Core/9 WeenieDefaults/SQL/PetDevice/Misc/49547 Lightning Phyntos Wasp Essence (100).sql | SQL | agpl-3.0 | 3,350 |
default: libmupdf_java.so libmupdf.jar
MUPDF_CORE = ../../build/java/libmupdf.a ../../build/java/libmupdfthird.a
LIBRARY_JAVA_SOURCES := $(sort $(wildcard com/artifex/mupdf/fitz/*.java))
LIBRARY_JAVA_OBJECTS := $(LIBRARY_JAVA_SOURCES:%.java=%.class)
LIBRARY_JAVA_CLASSES := $(subst com/artifex/mupdf/fitz/,com.artifex.... | asbloomf/mupdf | platform/java/Makefile | Makefile | agpl-3.0 | 1,613 |
DELETE FROM `weenie` WHERE `class_Id` = 31647;
INSERT INTO `weenie` (`class_Id`, `class_Name`, `type`, `last_Modified`)
VALUES (31647, 'ace31647-moina', 10, '2019-02-10 00:00:00') /* Creature */;
INSERT INTO `weenie_properties_int` (`object_Id`, `type`, `value`)
VALUES (31647, 1, 16) /* ItemType - Creature ... | LtRipley36706/ACE-World | Database/3-Core/9 WeenieDefaults/SQL/Creature/Human/31647 Moina.sql | SQL | agpl-3.0 | 5,420 |
/*
* Copyright (C) 2013-2022 The enviroCar project
*
* 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.
*
* ... | enviroCar/enviroCar-server | rest/src/main/java/org/envirocar/server/rest/encoding/rdf/linker/PhenomenonSSNLinker.java | Java | agpl-3.0 | 2,204 |
/*
* Copyright (C) 2000 - 2021 Silverpeas
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* As a spec... | SilverDav/Silverpeas-Core | core-library/src/main/java/org/silverpeas/core/io/file/SilverpeasFileProcessor.java | Java | agpl-3.0 | 3,396 |
class AutomaticCorrection::Result < ApplicationRecord
include CourseLock
belongs_to :test_run, foreign_key: :automatic_correction_test_run_id
has_many :issues, foreign_key: :automatic_correction_result_id, class_name: "AutomaticCorrection::Issue"
end
| the-loom/dashboard | app/models/automatic_correction/result.rb | Ruby | agpl-3.0 | 258 |
<div id="application" class="page">
<div class="divided title">
Application
</div>
<div class="ui stackable page grid">
<div class="column">
<div class="ui form"
ng-class="{'loading': loading}">
<div class="divided title">Basic Information</div>
<fieldset ng-disabled="... | techx/quill | app/client/views/application/application.html | HTML | agpl-3.0 | 3,790 |
/*
* The Kuali Financial System, a comprehensive financial management system for higher education.
*
* Copyright 2005-2014 The Kuali Foundation
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Fre... | ua-eas/ua-kfs-5.3 | work/src/org/kuali/kfs/module/ld/document/authorization/BenefitsCalculationMaintenanceDocumentPresentationController.java | Java | agpl-3.0 | 3,083 |
# frozen_string_literal: true
module Decidim
# Attachment can be any type of document or images related to a partcipatory
# process.
class Attachment < ApplicationRecord
belongs_to :attached_to, polymorphic: true
validates :file, :content_type, presence: true
validates :file, file_size: { less_than_... | Hilfe/decidim | decidim-core/app/models/decidim/attachment.rb | Ruby | agpl-3.0 | 1,319 |
<section class="oe_container oe_dark">
<div class="oe_row">
<h2 class="oe_slogan">Easily start creating your new modules</h2>
<h3 class="oe_slogan">One module to rule them all.</h3>
<div class="oe_span6">
<p class='oe_mt32'>
Tired of starting your module from scra... | smartforceplus/SmartForceplus | .local/share/Odoo/addons/8.0/builder/static/description/index.html | HTML | agpl-3.0 | 5,285 |
/**
* Class responsible for display and drop patients to the pedigree tree nodes
*
* @class PatientDropLegend
* @constructor
*/
define([
"pedigree/model/helpers"
], function(
Helpers
){
var PatientDropLegend = Class.create( {
initialize: function() {
if (editor.isRe... | alexhenrie/phenotips | components/pedigree/resources/src/main/resources/pedigree/view/patientDropLegend.js | JavaScript | agpl-3.0 | 15,438 |
/*****************************************************************************
@(#) File: src/util/slstatsd.c
-----------------------------------------------------------------------------
Copyright (c) 2008-2015 Monavacon Limited <http://www.monavacon.com/>
Copyright (c) 2001-2008 OpenSS7 Corporation <http://w... | kerr-huang/openss7 | src/util/slstatsd.c | C | agpl-3.0 | 22,113 |
declare
li_count number;
begin
select count(role_perm_id)
into li_count
from KRIM_ROLE_PERM_T
where role_id = (select ROLE_ID from KRIM_ROLE_T where trim(upper(ROLE_NM)) = trim(upper('Longitudinal Survey Catalyst')))
and PERM_ID = (select PERM_ID from KRIM_PERM_T where nm = 'GENERATE_N... | geothomasp/kcmit | coeus-db/coeus-db-sql/src/main/resources/edu/mit/kc/sql/migration/DML_MITKC-189_03182015.sql | SQL | agpl-3.0 | 884 |
/*
fTelnet: An HTML5 WebSocket client
Copyright (C) Rick Parrish, R&M Software
This file is part of fTelnet.
fTelnet 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
L... | rickparrish/fTelnet | source/filetransfer/FileRecord.ts | TypeScript | agpl-3.0 | 1,181 |
##
# Donate Your Account (donateyouraccount.com)
# Copyright (C) 2011 Kyle Shank (kyle.shank@gmail.com)
# http://www.gnu.org/licenses/agpl.html
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Fou... | kyleshank/donateyouraccount | config/application.rb | Ruby | agpl-3.0 | 3,069 |
namespace MusicStore.Test
{
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Identity;
using Microsoft.Extensions.DependencyInjection;
using Mocks;
using Models;
using MyTested.AspNetCore.Mvc;
public class TestStartup : Startup
{
public TestStartup(IWebHostEnviron... | ivaylokenov/MyTested.Mvc | samples/MusicStore/MusicStore.Test/TestStartup.cs | C# | agpl-3.0 | 627 |
export * from "./msg";
export * from "./msg-repo";
export * from "./imsg-repo";
export * from "./msg-repo-mock";
| kgtkr/anontown-server | src/models/msg/index.ts | TypeScript | agpl-3.0 | 113 |
#include <stdio.h>
void f(int x){
if(x>2){
}
}
int main(){
int a = 3, b = 2;
if(a>b){f(a);}
else{f(b);}
return 0;
}
| aureooms-ulb-2010-2015/2013-2014-infof403-project | 2/more/tools/c/add.c | C | agpl-3.0 | 131 |
<?php
if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
/*********************************************************************************
* SugarCRM Community Edition is a customer relationship management program developed by
* SugarCRM, Inc. Copyright (C) 2004-2012 SugarCRM Inc.
*
* This ... | dev-pnt/gers-pruebas | modules/Meetings/Menu.php | PHP | agpl-3.0 | 3,655 |
package ch.openech.test.ui.resources;
import java.io.IOException;
import org.junit.Ignore;
import org.junit.Test;
public class ResourcesAvailableTest {
@Test
@Ignore
public void testClasses() throws IOException {
// AnnotationDB db = new AnnotationDB();
//
// ClasspathUrlFinder finder = new ClasspathUrlFinde... | BrunoEberhard/open-ech | src/old/test/ui/resources/ResourcesAvailableTest.java | Java | agpl-3.0 | 621 |
/*
* Copyright 2013-2018 Emmanuel BRUN (contact@amapj.fr)
*
* This file is part of AmapJ.
*
* AmapJ 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,... | amapj/amapj | amapj/src/fr/amapj/service/services/listeproducteurreferent/DetailProducteurDTO.java | Java | agpl-3.0 | 1,231 |
// Tradity.de Server
// Copyright (C) 2016 Tradity.de Tech Team <tech@tradity.de>
// 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 optio... | tradity/tradity-server | access.js | JavaScript | agpl-3.0 | 5,699 |
package org.chronos.common.builder;
import static com.google.common.base.Preconditions.*;
import java.io.File;
import java.io.FileReader;
import java.io.IOException;
import java.util.Collections;
import java.util.Map;
import java.util.Map.Entry;
import java.util.Properties;
import org.apache.commons.configuration.Ba... | MartinHaeusler/chronos | org.chronos.common/src/main/java/org/chronos/common/builder/AbstractChronoBuilder.java | Java | agpl-3.0 | 2,952 |
/*
* Created on 18/set/2011
* Copyright 2011 by Andrea Vacondio (andrea.vacondio@gmail.com).
*
* This file is part of the Sejda source code
*
* 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 ... | torakiki/sejda | sejda-model/src/main/java/org/sejda/model/image/ImageColorType.java | Java | agpl-3.0 | 2,037 |
import os
import subprocess
import shutil
karma = os.path.join(os.path.dirname(__file__), '../node_modules/.bin/karma')
def javascript_tests():
if not shutil.which('nodejs'):
print("W: nodejs not available, skipping javascript tests")
return 0
elif os.path.exists(karma):
chrome_exec ... | Linaro/squad | test/javascript.py | Python | agpl-3.0 | 895 |
# coding: utf-8
# Copyright (C) 2017 Jaime Bemarás
# See LICENSE.txt
from IPy import IP
import re
ASN = re.compile(r'AS\d+', re.IGNORECASE)
def validate(resources):
outcome = True
for resource in resources:
if ASN.match(resource):
continue
else:
try:
... | synte/ec-ripe-api | resource_validator/validator.py | Python | agpl-3.0 | 479 |
/**
* Module dependencies.
*/
const mongoose = require('mongoose');
const Schema = mongoose.Schema;
/**
* Support request Schema
*
* This collection serves as a backup for sent support requests
*/
const SupportRequestSchema = new Schema({
user: {
type: Schema.ObjectId,
ref: 'User',
},
sent: {
t... | Trustroots/trustroots | modules/support/server/models/support.server.model.js | JavaScript | agpl-3.0 | 663 |
package org.cmdbuild.data.store.email;
import static org.apache.commons.lang3.StringUtils.isNotBlank;
import org.apache.commons.lang3.Validate;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import org.cmdbuild.data.store.Storable;
public class EmailAc... | jzinedine/CMDBuild | core/src/main/java/org/cmdbuild/data/store/email/EmailAccount.java | Java | agpl-3.0 | 5,373 |
<?php
/**
* zCorrecteurs.fr est le logiciel qui fait fonctionner www.zcorrecteurs.fr
*
* Copyright (C) 2012-2018 Corrigraphie
*
* 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, eit... | zcorrecteurs/zcorrecteurs.fr | src/Zco/Bundle/DicteesBundle/Controller/DicteeAction.class.php | PHP | agpl-3.0 | 1,921 |
<?php
namespace Civix\ApiBundle\DependencyInjection;
use Symfony\Component\Config\Definition\Builder\TreeBuilder;
use Symfony\Component\Config\Definition\ConfigurationInterface;
/**
* This is the class that validates and merges configuration from your app/config files.
*
* To learn more see
* {@link http://symfo... | austinpapp/powerline-server | backend/src/Civix/ApiBundle/DependencyInjection/Configuration.php | PHP | agpl-3.0 | 876 |
"""
Studio editing view for OpenAssessment XBlock.
"""
import copy
import logging
from uuid import uuid4
from django.template.loader import get_template
from django.utils.translation import ugettext_lazy
from voluptuous import MultipleInvalid
from xblock.fields import List, Scope
from xblock.core import XBlock
from... | edx/edx-ora2 | openassessment/xblock/studio_mixin.py | Python | agpl-3.0 | 20,504 |
# Copyright 2018 Silvio Gregorini (silviogregorini@openforce.it)
# Copyright (c) 2018 Openforce Srls Unipersonale (www.openforce.it)
# Copyright (c) 2019 Matteo Bilotta
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
from odoo import models
class AccountMoveLine(models.Model):
_inherit = "accoun... | OCA/l10n-italy | l10n_it_vat_statement_split_payment/models/account.py | Python | agpl-3.0 | 670 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace HearthAnalyzer.Core.Cards.Spells
{
/// <summary>
/// Implements the Shield Block spell
///
/// Gain 5 Armor. Draw a card.
/// </summary>
/// <remarks>
/// TODO: NO... | kwluo90/HearthAnalyzer | HearthAnalyzer.Core/Cards/Spells/ShieldBlock.cs | C# | agpl-3.0 | 961 |
package ru.hflabs.rcd.connector.files.dataset;
import com.google.common.collect.Lists;
import org.dbunit.dataset.Column;
import org.dbunit.dataset.DataSetException;
import org.dbunit.dataset.IDataSet;
import org.dbunit.dataset.ITableMetaData;
import org.dbunit.dataset.stream.DataSetProducerAdapter;
import org.dbunit.d... | hflabs/perecoder | rcd-connector/files/src/main/java/ru/hflabs/rcd/connector/files/dataset/FilesConsumer.java | Java | agpl-3.0 | 4,085 |
<?php
require_once 'system.php';
require_once 'libs/cache_kit.php';
require_once 'libs/url.php';
require_once 'libs/helpers.php';
//require_once 'libs/rober.php';
require_once 'libs/'.$configuracion['conector'];
require_once 'libs/text.php';
require_once 'libs/functions.php';
require_once 'libs/dbconnect.php';
require_... | miguelpedregosa/Tubus | report_error.php | PHP | agpl-3.0 | 8,636 |
# Amara, universalsubtitles.org
#
# Copyright (C) 2013 Participatory Culture Foundation
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your op... | ujdhesa/unisubs | apps/videos/urls.py | Python | agpl-3.0 | 3,989 |
<?php
namespace Plenty\Modules\Pim\SearchService\Filter;
use Illuminate\Contracts\Support\Arrayable;
use Plenty\Modules\Cloud\ElasticSearch\Lib\Query\Statement\Filter\MatchExactFilter;
use Plenty\Modules\Cloud\ElasticSearch\Lib\Query\Statement\Filter\MatchFuzzyFilter;
use Plenty\Modules\Cloud\ElasticSearch\Lib\Query\S... | plentymarkets/plugin-hack-api | Modules/Pim/SearchService/Filter/BarcodeFilter.php | PHP | agpl-3.0 | 1,234 |
<div style="position: absolute; top: 0; left: 0; width: 30%; height: 100%; overflow: auto; background: #cccccc">
<div class="Padding">
<h2>
Contents:
</h2>
<ol>
<li><a href="#introduction">Introduction</a></li>
<li><a href="#gettingstarted">Getting started</a></li>
</ol>
<h2>
Comman... | FriendSoftwareLabs/friendup | interfaces/web_desktop/templates/sysdoc_FriendDOS.html | HTML | agpl-3.0 | 4,193 |
<?php
/**
* Smarty Method UnregisterFilter
*
* Smarty::unregisterFilter() method
*
* @package Smarty
* @subpackage PluginsInternal
* @author Uwe Tews
*/
class Smarty_Internal_Method_UnregisterFilter extends Smarty_Internal_Method_RegisterFilter
{
/**
* Unregisters a filter functio... | oposso-team/oposso | classes/vendor/smarty/smarty/libs/sysplugins/smarty_internal_method_unregisterfilter.php | PHP | agpl-3.0 | 1,479 |
<?php /* Smarty version 2.6.11, created on 2015-11-27 12:06:34
compiled from cache/modules/AOW_WorkFlow/LeadsDetailViewdate_modified.tpl */ ?>
<?php if (strlen ( $this->_tpl_vars['fields']['aow_temp_date']['value'] ) <= 0): ?>
<?php $this->assign('value', $this->_tpl_vars['fields']['aow_temp_date... | caleboau2012/edusupport | cache/smarty/templates_c/%%83^833^8334053C%%LeadsDetailViewdate_modified.tpl.php | PHP | agpl-3.0 | 629 |
/*
* Copyright (c) 2017 Reto Inderbitzin (mail@indr.ch)
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
package ch.indr.threethreefive.libs;
import android.content.Context;
import android.os.Bundle;
import android.support.annotatio... | indr/335 | app/src/main/java/ch/indr/threethreefive/libs/FragmentViewModelManager.java | Java | agpl-3.0 | 4,109 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_51) on Tue Jun 25 15:27:12 EDT 2013 -->
<TITLE>
Uses of Class com.sleepycat.util.FastInputStream (Oracle - Berkeley DB Java API)
</TITLE>
<META NAME... | hyc/BerkeleyDB | docs/java/com/sleepycat/util/class-use/FastInputStream.html | HTML | agpl-3.0 | 7,952 |
$ComputerSystem = Get-WmiObject -ClassName Win32_ComputerSystem
$ComputerSystem.AutomaticManagedPagefile = $true
$ComputerSystem.Put() | kevmaitland/PoshAnt | enable-managePagingFileSizeAutomatically.ps1 | PowerShell | agpl-3.0 | 137 |
package net.diaowen.dwsurvey.dao.impl;
import net.diaowen.dwsurvey.dao.QuestionBankDao;
import net.diaowen.dwsurvey.entity.QuestionBank;
import org.springframework.stereotype.Repository;
import net.diaowen.common.dao.BaseDaoImpl;
/**
* 题库 dao
* @author keyuan(keyuan258@gmail.com)
*
* https://github.c... | wkeyuan/DWSurvey | src/main/java/net/diaowen/dwsurvey/dao/impl/QuestionBankDaoImpl.java | Java | agpl-3.0 | 499 |
from django.conf.urls import patterns, include, url
from django.contrib import admin
from rest_framework import viewsets, routers
from voting_app.models import Topic
from voting_app.views import Vote
from voting_app.serializer import TopicSerializer
admin.autodiscover()
# ViewSets define the view behavior.
class To... | gc3-uzh-ch/django-simple-poll | voting/urls.py | Python | agpl-3.0 | 833 |
//Selectively disables the "Submit" button for student logged assignments, if the
//assignment has outcome levels and no outcome level is selected.
var SelfGradeOutcomesSelect = document.querySelector("#grade_raw_points");
if(!SelfGradeOutcomesSelect) SelfGradeOutcomesSelect = document.querySelector("#grade_pass_fail... | UM-USElab/gradecraft-development | app/assets/javascripts/behaviors/self_grade_outcomes_select.js | JavaScript | agpl-3.0 | 726 |
<!DOCTYPE html>
<html lang="en"
>
<head>
<title>Search - 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">
<style type="t... | 2014cdbg9/2016springcd_bG2 | static/blog/search.html | HTML | agpl-3.0 | 19,165 |
/* Copyright (c) 2006-2012 by OpenLayers Contributors (see authors.txt for
* full list of contributors). Published under the 2-clause BSD license.
* See license.txt in the OpenLayers distribution or repository for the
* full text of the license. */
/**
* @requires OpenLayers/Layer.js
* @requires OpenLay... | B3Partners/geo-ov | src/main/webapp/openlayers/lib/OpenLayers/Layer/EventPane.js | JavaScript | agpl-3.0 | 14,713 |
/* *********************************************************************
*
* This file is part of Full Metal Galaxy.
* http://www.fullmetalgalaxy.com
*
* Full Metal Galaxy is free software: you can redistribute it and/or
* modify it under the terms of the GNU Affero General Public License
* as published by... | kroc702/fullmetalgalaxy | src/com/fullmetalgalaxy/client/creation/WgtEditReserve.java | Java | agpl-3.0 | 3,784 |
/*
* Tanaguru - Automated webpage assessment
* Copyright (C) 2008-2017 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-2017/src/main/java/org/tanaguru/rules/rgaa32017/Rgaa32017Rule010605.java | Java | agpl-3.0 | 2,200 |
# This file is part of rinohtype, the Python document preparation system.
#
# Copyright (c) Brecht Machiels.
#
# Use of this source code is subject to the terms of the GNU Affero General
# Public License v3. See the LICENSE file or http://www.gnu.org/licenses/.
import pytest
from io import BytesIO
from rinoh.backen... | brechtm/rinohtype | tests/test_pdf_reader.py | Python | agpl-3.0 | 3,238 |
<?php
declare(strict_types=1);
namespace unit;
use app\plugins\openslides\AutoupdateSyncService;
use app\plugins\openslides\controllers\AutoupdateController;
use app\plugins\openslides\DTO\LoginResponse;
use app\plugins\openslides\OpenslidesClient;
use app\plugins\openslides\SiteSettings;
use GuzzleHttp\{Client, Han... | CatoTH/antragsgruen | tests/unit/OpenslidesClientTest.php | PHP | agpl-3.0 | 4,318 |
<?php
if (!defined('sugarEntry') || !sugarEntry) {
die('Not A Valid Entry Point');
}
/**
*
* SugarCRM Community Edition is a customer relationship management program developed by
* SugarCRM, Inc. Copyright (C) 2004-2013 SugarCRM Inc.
*
* SuiteCRM is an extension to SugarCRM Community Edition developed by Sales... | willrennie/SuiteCRM | modules/Tasks/Menu.php | PHP | agpl-3.0 | 2,816 |
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... | opensourceBIM/bimql | BimQL/src/nl/wietmazairac/bimql/get/attribute/GetAttributeSubIfcDraughtingPreDefinedCurveFont.java | Java | agpl-3.0 | 1,864 |
/**
* Copyright (C) 2015 3D Repo Ltd
*
* 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 program is ... | 3drepo/3drepobouncer | test/src/unit/repo/core/model/bson/ut_repo_node_revision.cpp | C++ | agpl-3.0 | 4,156 |
class AddDonorEmailToProjectDonations < ActiveRecord::Migration
def self.up
add_column :project_donations, :donor_email, :string
end
def self.down
remove_column :project_donations, :donor_email
end
end
| PowerToChange/pat | db/migrate/20150521193039_add_donor_email_to_project_donations.rb | Ruby | agpl-3.0 | 219 |
---
"layout": contract
"datum podpisu": 2018-12-01
"datum účinnosti": 0000-00-00
"datum ukončení": 0000-00-00
"title": "NDA Petr Springfield"
"použité smluvní typy":
- NDA
"předmět": "Ochrana důvěrných informací"
"stav": v plnění
"náklady": 0
"místo uložení": Archiv strany
"smluvní strany":
-
"jméno": "Petr Spring... | pirati-web/smlouvy.pirati.cz | smlouvy/2018/12/01/NDA-Springfield/index.html | HTML | agpl-3.0 | 597 |
{% extends 'base.html' %}
{% load i18n %}
{% load bootstrap_toolkit %}
{% load django_bootstrap_breadcrumbs %}
{% load tags %}
{% load static %}
{% block title %}{% trans "Edit your astrophotography gear" %}{% endblock %}
{% block breadcrumbs %}
{{ block.super }}
{% breadcrumb_safe 'Users' None %}
{% brea... | astrobin/astrobin | astrobin/templates/user/profile/edit/gear.html | HTML | agpl-3.0 | 21,863 |
<!DOCTYPE html>
<html>
<head lang="en">
<meta charset="UTF-8">
<title>Enklave</title>
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.0.3/css/bootstrap.min.css">
<!-- jQuery CDN -->
<script src="//ajax.googleapis.com/ajax/libs/jquery/2.0.3/jquery.min.js"></script>
<!-- jQuery ... | TudorRosca/enklave | server/templates/no_token.html | HTML | agpl-3.0 | 966 |
<?php
/**
* Add default templates including default system template
*/
/**
* Define template contents
*/
$systemTemplate = <<<EOD
<div style="margin:0; text-align:center; width:100%; background:#EEE;min-width:240px;height:100%;"><br />
<div style="width:96%;margin:0 auto; border-top:6px solid #369;border-botto... | bramley/phplist3 | public_html/lists/admin/defaultsystemtemplate.php | PHP | agpl-3.0 | 15,628 |
/*
* Asqatasun - Automated webpage assessment
* Copyright (C) 2008-2019 Asqatasun.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 y... | dzc34/Asqatasun | rules/rules-rgaa3.2017/src/main/java/org/asqatasun/rules/rgaa32017/Rgaa32017Rule010311.java | Java | agpl-3.0 | 1,523 |
package Moose::Exporter;
use strict;
use warnings;
our $VERSION = '0.79';
$VERSION = eval $VERSION;
our $AUTHORITY = 'cpan:STEVAN';
use Class::MOP;
use List::MoreUtils qw( first_index uniq );
use Moose::Util::MetaRole;
use Sub::Exporter;
use Sub::Name qw(subname);
my %EXPORT_SPEC;
sub setup_import_methods {
... | pombredanne/paperpile | catalyst/perl5/linux64/cpan/Moose/Exporter.pm | Perl | agpl-3.0 | 15,454 |
define(function(require) {
'use strict';
var _ = require('underscore');
var Backbone = require('backbone');
var PrismBreakSimulation = require('models/simulation/prism-break');
var BendingLightSimView = require('views/sim');
var MediumControlsView = require('views/medium-contro... | Connexions/simulations | bending-light/src/js/views/sim/prism-break.js | JavaScript | agpl-3.0 | 3,295 |
pub use rust_sodium::crypto::box_::curve25519xsalsa20poly1305 as crypto_box;
pub use rust_sodium::crypto::hash::sha256;
pub use rust_sodium::crypto::scalarmult::curve25519 as scalarmult;
pub use self::crypto_box::{PrecomputedKey, PublicKey, SecretKey};
use auth_failure::AuthFailure;
/// Number of bytes in a password... | rust-fcp/rust-fcp-cryptoauth | src/cryptography.rs | Rust | agpl-3.0 | 3,126 |
<?php
/*!
* This file is part of {@link https://github.com/MovLib MovLib}.
*
* Copyright © 2013-present {@link https://movlib.org/ MovLib}.
*
* MovLib 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... | MovLib/www | src/MovLib/Presentation/Award/Random.php | PHP | agpl-3.0 | 1,297 |
local ObjectManager = require("managers.object.object_manager")
local mapStringName = { "pirate1", "pirate2", "bountyhunter1", "hedon1" }
local treasureMapData = {
{ planet = "corellia", x = 3400, y = -1400 }, -- Pirate 1
{ planet = "naboo", x = -1900, y = -4000 }, -- Pirate 2
{ planet = "talus", x = 3800, y = -10... | lasko2112/legend-of-hondo | MMOCoreORB/bin/scripts/screenplays/treasure_map/TreasureMapMenuComponent.lua | Lua | agpl-3.0 | 13,311 |
//
// LocationSelectViewController.h
// HospitalFinder
//
// Created by Ramesh Patel on 20/04/12.
// Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "MapKit/MapKit.h"
#import "CoreLocation/CoreLocation.h"
@interface LocationSelectViewController : UIViewController<UISea... | MicroHealthLLC/Hospital-Info-Finder | iphone/HospitalFinder/HospitalFinder/LocationSelectViewController.h | C | agpl-3.0 | 909 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.