repo_name stringlengths 4 116 | path stringlengths 3 942 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
EffectiveActivism/effective_activism | src/AccessControlHandler/EventAccessControlHandler.php | 1456 | <?php
namespace Drupal\effective_activism\AccessControlHandler;
use Drupal;
use Drupal\Core\Access\AccessResult;
use Drupal\Core\Entity\EntityAccessControlHandler;
use Drupal\Core\Entity\EntityInterface;
use Drupal\Core\Session\AccountInterface;
/**
* Access controller for the Event entity.
*
* @see \Drupal\effec... | agpl-3.0 |
cm-is-dog/rapidminer-studio-core | src/main/java/com/rapidminer/gui/actions/AboutAction.java | 1819 | /**
* Copyright (C) 2001-2017 by RapidMiner and the contributors
*
* Complete list of developers available at our web site:
*
* http://rapidminer.com
*
* This program is free software: you can redistribute it and/or modify it under the terms of the
* GNU Affero General Public License as published by ... | agpl-3.0 |
xdite/Airesis | db/migrate/20131202101922_create_versions.rb | 783 | class CreateVersions < ActiveRecord::Migration
def self.up
create_table :versions do |t|
t.string :item_type, :null => false
t.integer :item_id, :null => false
t.string :event, :null => false
t.string :whodunnit
t.text :object
t.datetime :created_at
end
... | agpl-3.0 |
w1z2g3/crossbar | docs/pages/programming-guide/pubsub/Event-History.md | 2653 | title: Event History
toc: [Documentation, Programming Guide, WAMP Features, PubSub, Event History]
# Event History
Event history allows a WAMP client to retrieve a set of past events for a subscription. Retrieval is by subscription ID, and for a set number of events.
## Configuration in Crossbar.io
Crossbar.io does... | agpl-3.0 |
columby/www.columby.com | src/www/app/controllers/search/search.controller.js | 1953 | (function() {
'use strict';
angular.module('columbyApp')
.controller('SearchCtrl', function($log,$rootScope, $scope, SearchSrv) {
/* ---------- SETUP ----------------------------------------------------------------------------- */
$scope.contentLoading = true;
$scope.search = {};
$rootScope.t... | agpl-3.0 |
kaltura/developer-platform | test/golden/add_question_cuepoint/csharp.cs | 391 | QuestionCuePoint cuePoint = new QuestionCuePoint();
cuePoint.EntryId = "0_mej0it92";
cuePoint.Question = "hello world";
OnCompletedHandler<CuePoint> handler = new OnCompletedHandler<CuePoint>(
(CuePoint result, Exception e) =>
{
CodeExample.PrintObject(result);
done = true;
});
CuePoi... | agpl-3.0 |
factorlibre/l10n-spain | l10n_es_ticketbai_api_batuz/__init__.py | 40 | from . import models
from . import lroe
| agpl-3.0 |
GroestlCoin/libgroestlcoin | src/network/protocol.cpp | 19757 | /**
* Copyright (c) 2011-2018 libgroestlcoin developers (see AUTHORS)
*
* This file is part of libgroestlcoin.
*
* libgroestlcoin is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License with
* additional permissions to the one published by the Free So... | agpl-3.0 |
deepstupid/phex | src/main/java/phex/util/RSSParser.java | 13551 | /*
* PHEX - The pure-java Gnutella-servent.
* Copyright (C) 2001 - 2006 Arne Babenhauserheide ( arne_bab <at> web <dot> de )
*
* 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 v... | agpl-3.0 |
acuteventures/CRM | cache/smarty/templates_c/%%F7^F76^F763801C%%EditView.tpl.php | 62985 | <?php /* Smarty version 2.6.11, created on 2012-09-04 14:40:06
compiled from cache/modules/Accounts/EditView.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'sugar_include', 'cache/modules/Accounts/EditView.tpl', 39, f... | agpl-3.0 |
AnkiUniversal/Anki-Universal | AnkiU/UserControls/RichEditBoxContentDialog.xaml.cs | 1960 | /*
Copyright (C) 2016 Anki Universal Team <ankiuniversal@outlook.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.
... | agpl-3.0 |
spyrosg/VISION-Cloud-Monitoring | vismo-core/src/test/java/integration/tests/VismoServiceTest.java | 7451 | package integration.tests;
import static org.junit.Assert.assertEquals;
import gr.ntua.vision.monitoring.VismoConfiguration;
import gr.ntua.vision.monitoring.VismoVMInfo;
import gr.ntua.vision.monitoring.dispatch.VismoEventDispatcher;
import gr.ntua.vision.monitoring.events.MonitoringEvent;
import gr.ntua.vision.monit... | agpl-3.0 |
LtRipley36706/ACE-World | Database/3-Core/9 WeenieDefaults/SQL/Creature/Human/38241 Kaymor ibn Dumandi.sql | 5865 | DELETE FROM `weenie` WHERE `class_Id` = 38241;
INSERT INTO `weenie` (`class_Id`, `class_Name`, `type`, `last_Modified`)
VALUES (38241, 'ace38241-kaymoribndumandi', 10, '2019-02-10 00:00:00') /* Creature */;
INSERT INTO `weenie_properties_int` (`object_Id`, `type`, `value`)
VALUES (38241, 1, 16) /* ItemType ... | agpl-3.0 |
zheguang/voltdb | src/frontend/org/voltdb/LoadedProcedureSet.java | 8988 | /* This file is part of VoltDB.
* Copyright (C) 2008-2014 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... | agpl-3.0 |
SciencesPo/isari | scripts/import/files/index.js | 363 | /**
* ISARI Import Scripts File Definitions
* ======================================
*
* Defining the various files to import as well as their line consumers.
*/
module.exports = {
organizations: require('./organizations.js'),
people: require('./people.js'),
activities: require('./activities.js'),
postProc... | agpl-3.0 |
OPEN-ENT-NG/cursus | src/main/java/org/entcore/cursus/controllers/CursusController.java | 13069 | /*
* Copyright © Région Nord Pas de Calais-Picardie.
*
* This file is part of OPEN ENT NG. OPEN ENT NG is a versatile ENT Project based on the JVM and ENT Core 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
* publ... | agpl-3.0 |
ungerik/ephesoft | Ephesoft_Community_Release_4.0.2.0/javadocs/com/ephesoft/gxt/core/shared/dto/propertyAccessors/class-use/KVExtractionProperties.html | 7390 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_71) on Fri Jul 10 16:43:22 IST 2015 -->
<title>Uses of Interface com.ephesoft.gxt.core.shared.dto.propertyAccessors.KVExtractionPr... | agpl-3.0 |
jbruestle/aggregate_btree | tiny_boost/boost/python/detail/unwind_type.hpp | 4739 | // Copyright David Abrahams 2002.
// Distributed under the Boost Software License, Version 1.0. (See
// accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#ifndef UNWIND_TYPE_DWA200222_HPP
# define UNWIND_TYPE_DWA200222_HPP
# include <boost/python/detail/cv_category.hpp>
# include <b... | agpl-3.0 |
asm-helpful/helpful-web | app/controllers/api/accounts_controller.rb | 555 | class Api::AccountsController < ApiController
def index
@accounts = current_user.accounts
respond_with(@accounts)
end
def show
find_account!
respond_with(@account)
end
def update
find_account!
@account.update(account_params)
respond_with(@account)
end
private
def find_ac... | agpl-3.0 |
PrairieLearn/PrairieLearn | public/localscripts/calculationQuestion/PrairieDraw.js | 137277 | define(['sylvester', 'sha1', 'PrairieGeom'], function (Sylvester, Sha1, PrairieGeom) {
var $V = Sylvester.Vector.create;
var Vector = Sylvester.Vector;
var Matrix = Sylvester.Matrix;
/*****************************************************************************/
/** Creates a PrairieDraw object.
@c... | agpl-3.0 |
almonteb/scoot | spec/models/project_spec.rb | 6546 | #--
# Copyright (C) 2007, 2008 Johan Sørensen <johan@johansorensen.com>
# Copyright (C) 2008 David A. Cuadrado <krawek@gmail.com>
# Copyright (C) 2008 Tim Dysinger <tim@dysinger.net>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public ... | agpl-3.0 |
Treeptik/cloudunit | cu-manager/src/test/java/fr/treeptik/cloudunit/modules/redis/Wildfly8Redis32ModuleControllerTestIT.java | 1612 | /*
* LICENCE : CloudUnit is available under the Affero Gnu Public License GPL V3 : https://www.gnu.org/licenses/agpl-3.0.html
* but CloudUnit is licensed too under a standard commercial license.
* Please contact our sales team if you would like to discuss the specifics of our Enterprise license.
* If you are not su... | agpl-3.0 |
bold-app/bold | app/controllers/frontend_controller.rb | 4629 | #
# Bold - more than just blogging.
# Copyright (C) 2015-2016 Jens Krämer <jk@jkraemer.net>
#
# This file is part of Bold.
#
# Bold 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 th... | agpl-3.0 |
fluks/mupdf-x11-bookmarks | source/fitz/context.c | 8170 | #include "fitz-imp.h"
#include <assert.h>
#include <string.h>
#include <stdio.h>
#include <time.h>
struct fz_style_context_s
{
int refs;
char *user_css;
int use_document_css;
};
static void fz_new_style_context(fz_context *ctx)
{
if (ctx)
{
ctx->style = fz_malloc_struct(ctx, fz_style_context);
ctx->style->r... | agpl-3.0 |
ChristophWurst/mail | lib/Events/MessageSentEvent.php | 2380 | <?php declare(strict_types=1);
/**
* @copyright 2019 Christoph Wurst <christoph@winzerhof-wurst.at>
*
* @author 2019 Christoph Wurst <christoph@winzerhof-wurst.at>
*
* @license GNU AGPL version 3 or any later version
*
* This program is free software: you can redistribute it and/or modify
* it under the terms ... | agpl-3.0 |
jslet/jslet | docs/source/jslet.dbspinedit.html | 8843 | <!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>The source code</title>
<link href="../resources/prettify/prettify.css" type="text/css" rel="stylesheet" />
<script type="text/javascript" src="../resources/prettify/prettify.js"></script>
<style type="t... | agpl-3.0 |
naturdrogerie/plentymarkets-shopware-connector | Components/Soap/Models/PlentySoapRequest/GetMeasureUnitConfig.php | 1411 | <?php
/**
* plentymarkets shopware connector
* Copyright © 2013-2014 plentymarkets GmbH
*
* According to our dual licensing model, this program can be used either
* under the terms of the GNU Affero General Public License, version 3,
* or under a proprietary license.
*
* The texts of the GNU Affero General Publ... | agpl-3.0 |
cm-is-dog/rapidminer-studio-core | report/html/com/rapidminer/operator/features/weighting/ChiSquaredWeighting.js | 1169 | var clover = new Object();
// JSON: {classes : [{name, id, sl, el, methods : [{sl, el}, ...]}, ...]}
clover.pageData = {"classes":[{"el":162,"id":11268,"methods":[{"el":52,"sc":2,"sl":50},{"el":138,"sc":2,"sl":54},{"el":147,"sc":2,"sl":140},{"el":161,"sc":2,"sl":149}],"name":"ChiSquaredWeighting","sl":46}]}
// JSON:... | agpl-3.0 |
LtRipley36706/ACE-World | Database/3-Core/9 WeenieDefaults/SQL/Generic/Misc/19384 Gajin Dwellings.sql | 1718 | DELETE FROM `weenie` WHERE `class_Id` = 19384;
INSERT INTO `weenie` (`class_Id`, `class_Name`, `type`, `last_Modified`)
VALUES (19384, 'gagindwellingssign', 1, '2019-02-10 00:00:00') /* Generic */;
INSERT INTO `weenie_properties_int` (`object_Id`, `type`, `value`)
VALUES (19384, 1, 128) /* ItemType - Misc */... | agpl-3.0 |
instructure/analytics | app/jsx/graphs/DateAlignedGraph.js | 5859 | import _ from 'underscore'
import Base from '../graphs/base'
import DayBinner from '../graphs/DayBinner'
import WeekBinner from '../graphs/WeekBinner'
import MonthBinner from '../graphs/MonthBinner'
import ScaleByBins from '../graphs/ScaleByBins'
import helpers from '../helpers'
import I18n from 'i18n!page_views'
// #... | agpl-3.0 |
hyc/BerkeleyDB | docs/api_reference/STL/stldb_vector_base_iteratoroperator_ge.html | 5227 | <?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>opera... | agpl-3.0 |
Minds/engine | lib/output.php | 13041 | <?php
/**
* Output functions
* Processing text for output such as pulling out URLs and extracting excerpts
*
* @package Elgg
* @subpackage Core
*/
/**
* Takes a string and turns any URLs into formatted links
*
* @param string $text The input string
*
* @return string The output string with formatted links
... | agpl-3.0 |
lnogues/superdesk-client-core | scripts/superdesk-search/directives/SavedSearchSelect.js | 316 | SavedSearchSelect.$inject = ['session', 'savedSearch'];
export function SavedSearchSelect(session, savedSearch) {
return {
link: function(scope) {
savedSearch.getUserSavedSearches(session.identity).then(function(res) {
scope.searches = res;
});
}
};
}
| agpl-3.0 |
arseneyr/essentia | test/src/unittest/sfx/test_tctototal_streaming.py | 2098 | #!/usr/bin/env python
# Copyright (C) 2006-2016 Music Technology Group - Universitat Pompeu Fabra
#
# This file is part of Essentia
#
# Essentia 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 ... | agpl-3.0 |
OCA/account-analytic | pos_analytic_by_config/models/pos_config.py | 318 | # Copyright 2015 ACSONE SA/NV
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).
from odoo import fields, models
class PosConfig(models.Model):
_inherit = "pos.config"
account_analytic_id = fields.Many2one(
comodel_name="account.analytic.account", string="Analytic Account"
)
| agpl-3.0 |
mjs/juju | worker/uniter/runner/context/unitStorage_test.go | 7517 | // Copyright 2015 Canonical Ltd.
// Licensed under the AGPLv3, see LICENCE file for details.
package context_test
import (
jc "github.com/juju/testing/checkers"
"github.com/juju/utils"
"github.com/juju/utils/set"
gc "gopkg.in/check.v1"
"gopkg.in/juju/names.v2"
"github.com/juju/juju/apiserver/params"
"github.c... | agpl-3.0 |
michaelletzgus/nextcloud-server | apps/encryption/l10n/pl.js | 8768 | OC.L10N.register(
"encryption",
{
"Missing recovery key password" : "Brakujące hasło klucza odzyskiwania",
"Please repeat the recovery key password" : "Proszę powtórz nowe hasło klucza odzyskiwania",
"Repeated recovery key password does not match the provided recovery key password" : "Hasła klucza o... | agpl-3.0 |
ShaneWalsh/AncientBeast | src/creature.js | 37616 | import { Ability } from "./ability";
import { search } from "./utility/pathfinding";
import { Hex } from "./utility/hex";
import * as arrayUtils from "./utility/arrayUtils";
import { Drop } from "./drops";
import { Effect } from "./effect";
/**
* Creature Class
*
* Creature contains all creatures properties and at... | agpl-3.0 |
tsrnnash/bg8-cdw11 | static/blog/tag/40123226.html | 26219 | <!DOCTYPE html>
<html lang="en"
>
<head>
<title>40123226 - CDW11 網頁 (虎尾科大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... | agpl-3.0 |
kimihito/loomio | app/serializers/group_serializer.rb | 1358 | class GroupSerializer < ActiveModel::Serializer
embed :ids, include: true
attributes :id,
:organisation_id,
:cohort_id,
:key,
:name,
:created_at,
:description,
:members_can_add_members,
:members_can_create_subgro... | agpl-3.0 |
AresChat/sb0t | core/Udp/UdpNode.cs | 1310 | /*
sb0t ares chat server
Copyright (C) 2017 AresChat
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... | agpl-3.0 |
KsyMC/MCPE-addons | NewDimension/jni/minecraftpe/BlockSourceListener.h | 810 | #pragma once
#include <memory>
#include "FullBlock.h"
#include "BlockEntity.h"
class BlockSource;
class BlockPos;
class BlockSourceListener
{
public:
virtual ~BlockSourceListener();
virtual void onSourceCreated(BlockSource &);
virtual void onSourceDestroyed(BlockSource &);
virtual void onBlocksDirty(BlockSource ... | agpl-3.0 |
hanelyp/javascript | MPI/mpitest.html | 368 | <html>
<heac>
<meta charset="UTF-8">
<title>Test for MPI.js</title>
<script type="text/javascript" src="MPI.js"></script>
<script type="text/javascript" src="MPIupdateable.js"></script>
<script type="text/javascript" src="mpitests.js"></script>
<script>
MPImain.run();
</script>
</head>
<body>
... | agpl-3.0 |
ddmck/Empirical-Core | app/serializers/admin/admin_serializer.rb | 299 | class Admin::AdminSerializer < ActiveModel::Serializer
attributes :id, :name, :email, :teachers
def teachers
teacher_ids = User.find(object.id).teacher_ids
teachers_data = TeachersData.run(teacher_ids)
teachers_data.map{|t| Admin::TeacherSerializer.new(t, root: false) }
end
end | agpl-3.0 |
skarphed/skarphed | core/lib/operation.py | 16724 | #!/usr/bin/python
#-*- coding: utf-8 -*-
###########################################################
# © 2011 Daniel 'grindhold' Brendle and Team
#
# This file is part of Skarphed.
#
# Skarphed is free software: you can redistribute it and/or
# modify it under the terms of the GNU Affero General Public License
# as ... | agpl-3.0 |
FiloSpaTeam/thinks | doc/api/classes/ActiveJob/Execution.html | 6265 | <?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>ActiveJob::Execution</title>
<meta http-equiv="Content-Type" cont... | agpl-3.0 |
k3d3/lodo | lodo/js/src/main/scala/components/NotebookSelector.scala | 3834 | /*
Lodo is a layered to-do list (Outliner)
Copyright (C) 2015 Keith Morrow.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License v3 as
published by the Free Software Foundation.
This program is distributed in the hope that it will be useful,
... | agpl-3.0 |
Emagine-JE/Incipio | src/mgate/PersonneBundle/Controller/PosteController.php | 5768 | <?php
/*
This file is part of Incipio.
Incipio is an enterprise resource planning for Junior Enterprise
Copyright (C) 2012-2014 Florian Lefevre.
Incipio 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 Founda... | agpl-3.0 |
adrianbrink/tendereum | vendor/github.com/ethereumproject/go-ethereum/core/state/journal.go | 2808 | // Copyright 2016 The go-ethereum Authors
// This file is part of the go-ethereum library.
//
// The go-ethereum 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 3 of the License... | agpl-3.0 |
neteoc/neteoc-server | Source/Services/NetEOC.Auth/Services/OrganizationService.cs | 6031 | using NetEOC.Auth.Data;
using NetEOC.Auth.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace NetEOC.Auth.Services
{
public class OrganizationService
{
public OrganizationRepository OrganizationRepository { get; set; }
public Org... | agpl-3.0 |
YesWiki/yeswiki | tools/bazar/presentation/styles/form-edit-template.css | 4259 | .form-field { overflow: hidden; }
/* Order of the field attributes */
.form-wrap.form-builder .frmb .form-elements { display: flex; flex-direction: column; }
.form-wrap.form-builder .frmb .form-field .form-group { order: 100; }
.required-wrap { order: 0 !important; }
.name-wrap { order: 1 !important; }
.label-wrap { or... | agpl-3.0 |
wakantanka/get_iso_8583 | src/test/java/com/wirecard/acqp/two/ThreadingLongrunningTest.java | 3989 | package com.wirecard.acqp.two;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import org.junit.After;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Ignore;
import org.junit.Test;
@Ignore
@SuppressWarnings("javadoc")
public class ThreadingLongrunning... | agpl-3.0 |
sagiadinos/garlic-player | src/ext/zlib/gzlib.c | 16709 | /* gzlib.c -- zlib functions common to reading and writing gzip files
* Copyright (C) 2004-2017 Mark Adler
* For conditions of distribution and use, see copyright notice in zlib.h
*/
#include "gzguts.h"
#if defined(_WIN32) && !defined(__BORLANDC__)
# define LSEEK _lseeki64
#else
#if defined(_LARGEFILE64_SOURCE) &... | agpl-3.0 |
FiviumAustralia/OpenEyes | protected/modules/OphInBiometry/migrations/m151218_144423_update_et_operationnote_biometry_view.php | 3374 | <?php
class m151218_144423_update_et_operationnote_biometry_view extends CDbMigration
{
public function up()
{
$this->execute('CREATE OR REPLACE VIEW et_ophtroperationnote_biometry AS SELECT
eol.id, eol.eye_id, eol.last_modified_date, target_refraction_left, target_refraction_right,
(SELE... | agpl-3.0 |
PixEye/PixShellScripts | cvs-edit.sh | 2128 | #!/bin/bash
# cve <file1> [<file2> ...]
#
# Pour éditer un ou plusieurs fichier(s) existant(s) sous CVS.
# - fait un "cvs update" si besoin (status "Needs patch")
# - fait un "cvs edit" pour déclarer aux autres users qu'on édite le fichier
# (voir la commande "cvs editors")
# - utilise l'éditeur préféré déclaré dans l... | agpl-3.0 |
TamiaLab/carnetdumaker | apps/snippets/apps.py | 323 | """
Application file for the code snippets app.
"""
from django.apps import AppConfig
from django.utils.translation import ugettext_lazy as _
class SnippetsConfig(AppConfig):
"""
Application configuration class for the code snippets app.
"""
name = 'apps.snippets'
verbose_name = _('Code snippets... | agpl-3.0 |
sergitrilles/geoctheme | ckanext/geoc_theme/public/base/i18n/no.min.js | 276 | {"":{"domain":"ckan","lang":"no","plural-forms":"nplurals=2; plural=(n != 1);"},"Cancel":[null,"Avbryt"],"Edit":[null,"Rediger"],"Follow":[null,"Følg"],"Loading...":[null,"Laster..."],"URL":[null,"URL"],"Unfollow":[null,"Ikke følg"],"Upload a file":[null,"Last opp en fil"]} | agpl-3.0 |
kaltura/nginx-vod-module | vod/segmenter.h | 5007 | #ifndef __SEGMENTER_H__
#define __SEGMENTER_H__
// includes
#include "media_set.h"
#include "common.h"
// constants
#define INVALID_SEGMENT_COUNT UINT_MAX
#define SEGMENT_FROM_TIMESTAMP_MARGIN (100) // in case of clipping, a segment may start up to 2 frames before the segment boundary
#define MIN_SEGMENT_DURATION (5... | agpl-3.0 |
RealmsMud/RealmsCode | staff/dmroom.cpp | 114289 | /*
* dmroom.cpp
* Staff functions related to rooms.
* ____ _
* | _ \ ___ __ _| |_ __ ___ ___
* | |_) / _ \/ _` | | '_ ` _ \/ __|
* | _ < __/ (_| | | | | | | \__ \
* |_| \_\___|\__,_|_|_| |_| |_|___/
*
* Permission to use, modify and distribute is granted via the
* GNU Affero General P... | agpl-3.0 |
arendjr/PlainText | src/entity/components/mod.rs | 194 | mod actor_state;
mod character;
mod openable;
mod respawnable;
mod stats_item;
pub use actor_state::*;
pub use character::*;
pub use openable::*;
pub use respawnable::*;
pub use stats_item::*;
| agpl-3.0 |
BoilerMake/frontend | src/components/Schedule/index.js | 2859 | import React from 'react';
import { Card } from 'bm-kit';
import './_pillar.schedule.source.scss';
const friday = [
{
start: '6:00 PM',
name: '📋 Check in begins'
},
{
start: '8:00 PM',
name: '🎤 Opening Ceremonies'
},
{
start: '9:00 PM',
name: '🤝 Team assembly'
},
{
start: '... | agpl-3.0 |
raviselker/jasp-desktop | JASP-Desktop/importers/spss/integerinforecord.h | 2308 | //
// Copyright (C) 2015-2016 University of Amsterdam
//
// 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) any later version.
//
// This ... | agpl-3.0 |
GenbuProject/SimpleThread | Dialog.js | 13060 | window.addEventListener("DOMContentLoaded", () => {
let watchers = {};
new DOM('@Dialog').forEach((dialog) => {
dialogPolyfill.registerDialog(dialog);
if (dialog.querySelector('Button[Data-Action="Dialog_Submit"]')) {
dialog.addEventListener("keydown", (event) => {
if (event.ctrlKey && event.keyCode == 1... | agpl-3.0 |
danigm/happy | happy/happyapp/templates/happyapp/good_for_you.html | 330 | {% extends "happyapp/base.html" %}
{% load i18n %}
{% block title %}{% trans "Good for you, continue beeing happy :D" %}{% endblock %}
{% block content %}
<h1 class="ok">
{% blocktrans %}
Good for you, continue beeing happy, you are doing it ok.
{% endblocktrans %}
</h1>
{% include "happyapp/makead.html" %}
{% end... | agpl-3.0 |
simplyianm/SuperPlots | src/test/java/com/simplyian/superplots/actions/ActionWithdrawTest.java | 5323 | package com.simplyian.superplots.actions;
import static org.mockito.Matchers.contains;
import static org.mockito.Mockito.verify;
import static org.powermock.api.mockito.PowerMockito.mock;
import static org.powermock.api.mockito.PowerMockito.when;
import java.util.Arrays;
import java.util.List;
import org.bukkit.Loca... | agpl-3.0 |
StefanRijnhart/bank-statement-import | account_bank_statement_import/__init__.py | 102 | # -*- encoding: utf-8 -*-
from . import res_partner_bank
from . import account_bank_statement_import
| agpl-3.0 |
cris-iisc/mpc-primitives | crislib/libscapi/lib/boost_1_64_0/libs/convert/doc/html/boost/cnv/basic_stream.html | 34555 | <html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>Struct template basic_stream</title>
<link rel="stylesheet" href="../../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="../../index.htm... | agpl-3.0 |
bernatmv/thegame | client/__tests__/actions/authActions.spec.ts | 1057 | import {login, signup} from '../../src/app/actions/authActions';
import ActionsConstants from '../../src/common/constants/actionsConstants';
describe('auth actions', () => {
describe('if we create a login action', () => {
let userId = 'TestUser';
it('should generate action with payload', () => {
... | agpl-3.0 |
nttks/edx-platform | cms/djangoapps/course_creators/tests/test_admin.py | 7332 | """
Tests course_creators.admin.py.
"""
from django.test import TestCase
from django.contrib.auth.models import User
from django.contrib.admin.sites import AdminSite
from django.http import HttpRequest
import mock
from course_creators.admin import CourseCreatorAdmin
from course_creators.models import CourseCreator
fr... | agpl-3.0 |
crowdference/quium | README.md | 27 | # quium
crowdference's WUI | agpl-3.0 |
yonkon/nedvig | custom/Extension/modules/Users/Ext/Language/pt_br.SecurityGroups.php | 115 | <?php
$mod_strings = array_merge($mod_strings,
array(
'LBL_LIST_NONINHERITABLE' => "Não Herdável",
)
);
?>
| agpl-3.0 |
ACEmulator/ACE-World | Database/3-Core/9 WeenieDefaults/SQL/House/Cottage/14030 Cottage.sql | 2087 | DELETE FROM `weenie` WHERE `class_Id` = 14030;
INSERT INTO `weenie` (`class_Id`, `class_Name`, `type`, `last_Modified`)
VALUES (14030, 'housecottage2338', 53, '2019-02-10 00:00:00') /* House */;
INSERT INTO `weenie_properties_int` (`object_Id`, `type`, `value`)
VALUES (14030, 1, 128) /* ItemType - Misc */
... | agpl-3.0 |
Fale/isbn | src/Isbn/Validation.php | 2769 | <?php
/**
* Validation.
*
* @author Fabio Alessandro Locati <fabiolocati@gmail.com>
* @author Wenzel Pünter <wenzel@phelix.me>
* @author Daniel Mejta <daniel@mejta.net>
*
* @version 2.0.0
*/
namespace Isbn;
/**
* Validation.
*/
class Validation
{
/**
* Check Instance.
*
* @var Check
... | agpl-3.0 |
jboynyc/cmus_app | tests.py | 433 | import unittest
from app import read_config
class ConfigFileReaderTest(unittest.TestCase):
def test_read(self):
config = read_config('config')
self.assertEqual(config['cmus_host'], 'raspberry')
self.assertEqual(config['cmus_passwd'], 'PaSsWd')
self.assertEqual(config['app_host'], '... | agpl-3.0 |
Xefir/news | css/app.css | 755 | /**
* ownCloud - News
*
* This file is licensed under the Affero General Public License version 3 or
* later. See the COPYING file.
*
* @author Bernhard Posselt <dev@bernhard-posselt.com>
* @copyright Bernhard Posselt 2014
*/
#global-loading {
width: 100%;
height: 100%;
}
#undo-container {
position... | agpl-3.0 |
stephaneperry/Silverpeas-Core | lib-core/src/main/java/com/stratelia/webactiv/beans/admin/SynchroDomainScheduler.java | 3969 | /**
* Copyright (C) 2000 - 2011 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 spe... | agpl-3.0 |
lasko2112/legend-of-hondo | MMOCoreORB/bin/scripts/mobile/talus/chunker_bully.lua | 1779 | chunker_bully = Creature:new {
objectName = "@mob/creature_names:chunker_bully",
randomNameType = NAME_GENERIC_TAG,
socialGroup = "chunker",
faction = "thug",
level = 10,
chanceHit = 0.280000,
damageMin = 90,
damageMax = 110,
baseXp = 356,
baseHAM = 810,
baseHAMmax = 990,
armor = 0,
resists = {0,0,0,0,0,0,... | agpl-3.0 |
openfoodfoundation/openfoodnetwork | spec/factories.rb | 3400 | # frozen_string_literal: true
require 'ffaker'
FactoryBot.define do
sequence(:random_string) { FFaker::Lorem.sentence }
sequence(:random_description) { FFaker::Lorem.paragraphs(Kernel.rand(1..5)).join("\n") }
sequence(:random_email) { FFaker::Internet.email }
factory :classification, class: Spree:... | agpl-3.0 |
AndranikMarkosyan/lms | lib/cc/exporter/epub/exportable.rb | 332 | module CC::Exporter::Epub
module Exportable
def content_cartridge
self.attachment
end
def convert_to_epub(opts={})
exporter = CC::Exporter::Epub::Exporter.new(content_cartridge.open, opts[:sort_by_content])
epub = CC::Exporter::Epub::Book.new(exporter.templates)
epub.create
en... | agpl-3.0 |
openlogic/ossdiscovery | doc/files/lib/scan_rules_reader_rb.html | 3939 | <?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>File: scan_rules_reader.rb</title>
<meta http-equiv="Con... | agpl-3.0 |
ohaz/amos-ss15-proj1 | FlaskWebProject/static/scripts/rechner-brutto-netto/export-email.html | 394 | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Netto-Lohn</title>
<meta name="viewport" content="user-scalable=no">
<link rel="stylesheet" href="../shared/css/export-email.css">
<script src="../shared/config.js" defer></script>
<script src="../dojotoolkit/dojo/dojo.js" defer></script>
<scr... | agpl-3.0 |
ONLYOFFICE/core | DesktopEditor/common/Base64.h | 2486 | /*
* (c) Copyright Ascensio System SIA 2010-2019
*
* This program is a free software product. You can redistribute it and/or
* modify it under the terms of the GNU Affero General Public License (AGPL)
* version 3 as published by the Free Software Foundation. In accordance with
* Section 7(a) of the GNU AGP... | agpl-3.0 |
Appled/AscEmu | src/tools/vmap_tools/vmap4_extractor/wdtfile.h | 1211 | /*
* AscEmu Framework based on ArcEmu MMORPG Server
* Copyright (c) 2014-2021 AscEmu Team <http://www.ascemu.org>
* Copyright (C) 2005-2011 MaNGOS <http://getmangos.com/>
*
* 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... | agpl-3.0 |
rossjones/ScraperWikiX | web/urls.py | 3556 | from django.conf.urls.defaults import *
import frontend.views as frontend_views
import codewiki.views
import codewiki.viewsuml
from django.contrib.syndication.views import feed as feed_view
from django.views.generic import date_based, list_detail
from django.views.generic.simple import direct_to_template
f... | agpl-3.0 |
trynothingy/JQSchProj | assets/js/func.js | 78 | function timenow(){
var timenow1 = Date.getHours();
return timenow1;
} | agpl-3.0 |
nfrickler/tsunic | data/source/modules/usersystem/functions/showEditAccount.func.php | 372 | <!-- | FUNCTION show page to edit account -->
<?php
function $$$showEditAccount () {
global $TSunic;
// activate template
$data = array('User' => $TSunic->Usr);
$TSunic->Tmpl->activate('$$$showEditAccount', '$system$content', $data);
$TSunic->Tmpl->activate('$system$html', false, array('title' => '... | agpl-3.0 |
plichjan/pdfDriveWebApp | src/main/java/cz/plichtanet/honza/WebSecurityConfig.java | 2624 | package cz.plichtanet.honza;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.security.config.annotation.authentication.builders.AuthenticationManagerBuilder;
import... | agpl-3.0 |
hnarayanan/cheeper | app/scripts/controllers/auth.js | 430 | 'use strict';
angular.module('cheeperApp')
.controller('AuthCtrl', function ($scope, $http) {
$scope.signin = function() {
$http
.post('http://127.0.0.1:8000/auth-token/', $scope.credentials)
.success(function(data, status, headers, config) {
$scope.token = data.token;
})
... | agpl-3.0 |
Kyberia/Kyberia-bloodline | wwwroot/inc/http_auth.php | 3525 | <?php
//Harvie's PHP HTTP-Auth script (2oo7-2o1o)
//CopyLefted4U ;)
///SETTINGS//////////////////////////////////////////////////////////////////////////////////////////////////////
//Login
/*$realm = 'music'; //This is used by browser to identify protected area and saving passwords (one_site+one_realm==one_user+one_pa... | agpl-3.0 |
cris-iisc/mpc-primitives | crislib/libscapi/lib/boost_1_64_0/doc/html/boost_asio/reference/buffers_iterator/operator_plus__plus_/overload1.html | 3401 | <html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>buffers_iterator::operator++ (1 of 2 overloads)</title>
<link rel="stylesheet" href="../../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" hr... | agpl-3.0 |
prantlf/NaturalDocs | Modules/NaturalDocs/Parser/Native.pm | 40495 | ###############################################################################
#
# Package: NaturalDocs::Parser::Native
#
###############################################################################
#
# A package that converts comments from Natural Docs' native format into <NaturalDocs::Parser::ParsedTopic> obj... | agpl-3.0 |
FriendSoftwareLabs/friendup | libs-ext/libssh2/src/bcrypt_pbkdf.c | 6092 | /* $OpenBSD: bcrypt_pbkdf.c,v 1.4 2013/07/29 00:55:53 tedu Exp $ */
/*
* Copyright (c) 2013 Ted Unangst <tedu@openbsd.org>
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice... | agpl-3.0 |
FriendSoftwareLabs/friendup | libs-ext/openssl/providers/common/provider_util.c | 7174 | /*
* Copyright 2019 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
* in the file LICENSE in the source distribution or at
* https://www.openssl.org/source/licens... | agpl-3.0 |
einon/affymetrix-power-tools | sdk/calvin_files/data/src/FamilialMultiDataData.h | 2816 | ////////////////////////////////////////////////////////////////
//
// Copyright (C) 2008 Affymetrix, Inc.
//
// This library is free software; you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License
// (version 2.1) as published by the Free Software Foundation.
//
// This... | lgpl-2.1 |
FabienPean/sofa | SofaKernel/modules/SofaBaseCollision/ContactListener.h | 6198 | /******************************************************************************
* SOFA, Simulation Open-Framework Architecture, development version *
* (c) 2006-2017 INRIA, USTL, UJF, CNRS, MGH *
* *
... | lgpl-2.1 |
zballina/nm-applet-qt | libs/internals/unconfiguredinterface.h | 1300 | /*
Copyright 2009 Will Stephenson <wstephenson@kde.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 published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) version 3, or any
later version a... | lgpl-2.1 |
mrzzzrm/shootet | src/Highscore.hpp | 1080 | #ifndef HIGHSCORE_HPP
#define HIGHSCORE_HPP
#include <cassert>
#include <sstream>
#include "framework.hpp"
#include "./config.hpp"
#include "./media.hpp"
class Highscore
{
public:
Highscore();
~Highscore();
/* Load/Save */
void load();
void s... | lgpl-2.1 |
gpg/scute | src/table.h | 2851 | /* table.h - Iterative table interface.
* Copyright (C) 2006 g10 Code GmbH
*
* This file is part of Scute.
*
* Scute 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 L... | lgpl-2.1 |
GNOME/beast | bse/bsefilter.cc | 3662 | // CC0 Public Domain: http://creativecommons.org/publicdomain/zero/1.0/
#include "bsefilter.hh"
#include <sfi/sfi.hh>
using namespace Bse;
const gchar*
bse_iir_filter_kind_string (BseIIRFilterKind fkind)
{
switch (fkind)
{
case BSE_IIR_FILTER_BUTTERWORTH: return "Butterworth";
case BSE_IIR_FILTER_BES... | lgpl-2.1 |
stevedorries/DFM2QT4UI | cguitreedomdocument.cpp | 651 |
#include <stdio.h>
#include <QtDebug>
#include "cguitreedomdocument.h"
CGuiTreeDomDocument::CGuiTreeDomDocument()
{
QDomImplementation impl;
impl.setInvalidDataPolicy(QDomImplementation::ReturnNullNode);
}
/**
* Get first "guiObject" located in "guiRoot".
*
* @return Node element of first guiObject or an... | lgpl-2.1 |