repo_name stringlengths 4 116 | path stringlengths 3 942 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
Rafiot/MISP | app/Model/Galaxy.php | 20693 | <?php
App::uses('AppModel', 'Model');
class Galaxy extends AppModel
{
public $useTable = 'galaxies';
public $recursive = -1;
public $actsAs = array(
'Containable',
);
public $validate = array(
);
public $hasMany = array(
'GalaxyCluster' => array('dependent' => true)
... | agpl-3.0 |
elimence/edx-platform | lms/djangoapps/staticbook/views.py | 5555 | from django.contrib.auth.decorators import login_required
from django.http import Http404
from django.core.urlresolvers import reverse
from mitxmako.shortcuts import render_to_response
from courseware.access import has_access
from courseware.courses import get_course_with_access
from notes.utils import notes_enabled_f... | agpl-3.0 |
rockneurotiko/wirecloud | src/wirecloud/catalogue/management/commands/addtocatalogue.py | 5256 | # -*- coding: utf-8 -*-
# Copyright (c) 2012-2015 CoNWeT Lab., Universidad Politécnica de Madrid
# This file is part of Wirecloud.
# Wirecloud is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either v... | agpl-3.0 |
miing/mci_migo | acceptance/tests/emails/doubled_email.py | 1736 | from sst.actions import (
assert_title,
fails,
wait_for,
)
from u1testutils import mail
from u1testutils.sst import config
from acceptance import helpers
config.set_base_url_from_env()
PASSWORD = 'Admin007'
# 2) Create 2 accounts (A & B). In Account A add email address C and do not
# verify. In Account ... | agpl-3.0 |
flysonic10/cloudbrain | .vagrant/osx/vagrant-build-popy.sh | 281 | # copy cloudbrain to vagrant home
vagrant scp ../../../cloudbrain :/Users/vagrant/.
# Build popy in VM
vagrant ssh -c "cd /Users/vagrant/cloudbrain/scripts/osx && ./build-popy.sh"
# Copy popy.tar.gz
rm popy.tar.gz
vagrant scp :/Users/vagrant/cloudbrain/scripts/osx/popy.tar.gz .
| agpl-3.0 |
irontec/Mintzatu | public/karma/modules/tablon/scripts/tiny_mce/plugins/advimage/ajax_gallery.php | 2902 | <?php
if (isset($_SERVER['HTTP_X_FORWARDED_HOST'])) {
define("SERVER_NAME",$_SERVER['HTTP_X_FORWARDED_HOST']);
} else {
define("SERVER_NAME",$_SERVER['HTTP_HOST']);
//.(($_SERVER['SERVER_PORT']!="80")? ":".$_SERVER['SERVER_PORT']:""));
}
require_once(dirname(__FILE__)."/../../../../../../clases/class.i.php");
req... | agpl-3.0 |
Libs1/Libs1.github.io | Documents/Drone Software/Website/error2.html | 888 | <!DOCTYPE html>
<html >
<head>
<meta charset="UTF-8">
<title>CENG Caged Micro Drone</title>
<link rel="stylesheet" href="css/reset.css">
<link rel='stylesheet prefetch' href='http://fonts.googleapis.com/css?family=Roboto:400,100,300,500,700,900|RobotoDraft:400,100,300,500,700,900'>
<link rel=... | agpl-3.0 |
ACEmulator/ACE-World | Database/3-Core/6 LandBlockExtendedData/SQL/9B27.sql | 33525 | DELETE FROM `landblock_instance` WHERE `landblock` = 0x9B27;
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 (0x79B27000, 412, 0x9B270103, 32.3916, 37.645, 176.082,... | agpl-3.0 |
AydinSakar/sql-layer | src/main/java/com/foundationdb/server/store/statistics/IndexStatisticsVisitor.java | 4030 | /**
* Copyright (C) 2009-2013 FoundationDB, LLC
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Thi... | agpl-3.0 |
kobronson/cs-voltdb | src/frontend/org/voltcore/messaging/VoltMessageFactory.java | 3216 | /* 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... | agpl-3.0 |
mkresin/miniflux | locales/cs_CZ/translations.php | 14023 | <?php
return array(
'plural' => function($n) { return (($n==1) ? 0 : (($n>=2 && $n<=4) ? 1 : 2)); },
'attachment' => 'příloha',
'When there is nothing to read, redirect me to this page' => 'Když není nic ke čtení, přesměruj mě na tuto stránku',
'There is nothing new to read, enjoy your favorites articl... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/mobile/dathomir/rhoa_kwi_pack_leader.lua | 967 | rhoa_kwi_pack_leader = Creature:new {
objectName = "@mob/creature_names:rhoa_kwi_pack_leader",
socialGroup = "kwi",
faction = "",
level = 50,
chanceHit = 0.47,
damageMin = 380,
damageMax = 470,
baseXp = 4916,
baseHAM = 9900,
baseHAMmax = 12100,
armor = 1,
resists = {135,165,0,160,0,0,0,0,-1},
meatType = "m... | agpl-3.0 |
overview/overview-server | web/app/models/archive/ZipArchive.scala | 9260 | package models.archive
import akka.stream.scaladsl.{Sink,Source}
import akka.stream.Materializer
import akka.util.ByteString
import java.nio.{ByteBuffer,ByteOrder}
import java.util.HashSet
import java.util.zip.CRC32
import scala.collection.immutable
import scala.collection.mutable
import scala.concurrent.ExecutionCont... | agpl-3.0 |
Ramkavanan/SHCRM | app/protected/modules/approvalProcess/views/ApprovalProcessForMixedModelsSearchListView.php | 4693 | <?php
/*********************************************************************************
* Zurmo is a customer relationship management program developed by
* Zurmo, Inc. Copyright (C) 2015 Zurmo Inc.
*
* Zurmo is free software; you can redistribute it and/or modify it under
* the terms of t... | agpl-3.0 |
alishahpakneeds/akbarsugarcrm | cache/smarty/templates_c/%%95^955^955CF478%%header.tpl.php | 6701 | <?php /* Smarty version 2.6.11, created on 2014-09-27 03:20:43
compiled from include/EditView/header.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'sugar_button', 'include/EditView/header.tpl', 81, false),array('func... | agpl-3.0 |
nextframework/next | Validation/HTTP/Headers/Raw.php | 1530 | <?php
/**
* HTTP Raw Header Field Validator Class | Validation\HTTP\Headers\Raw.php
*
* @author Bruno Augusto
*
* @copyright Copyright (c) 2017 Next Studios
* @license http://www.gnu.org/licenses/agpl-3.0.txt GNU Affero General Public License 3.0
*/
namespace Next\Validation\HTTP\Headers;
use Nex... | agpl-3.0 |
SoftNext/secondp | cache/smarty/templates_c/%%E2^E2E^E2EE98C0%%SearchFormHeader.tpl.php | 2421 | <?php /* Smarty version 2.6.11, created on 2014-11-06 21:16:36
compiled from cache/modules/Leads/SearchFormHeader.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'sugar_getjspath', 'cache/modules/Leads/SearchFormHeader... | agpl-3.0 |
LtRipley36706/ACE-World | Database/3-Core/9 WeenieDefaults/SQL/House/Cottage/12957 Cottage.sql | 2089 | DELETE FROM `weenie` WHERE `class_Id` = 12957;
INSERT INTO `weenie` (`class_Id`, `class_Name`, `type`, `last_Modified`)
VALUES (12957, 'housecottage1333', 53, '2019-02-10 00:00:00') /* House */;
INSERT INTO `weenie_properties_int` (`object_Id`, `type`, `value`)
VALUES (12957, 1, 128) /* ItemType - Misc */
... | agpl-3.0 |
lavenliu/linuxc | my/cdk-5.0-20160131/Makefile | 15905 | # $Id: Makefile.in,v 1.123 2015/09/28 23:37:35 tom Exp $
#
# Copyright 2001-2014,2015 Thomas E. Dickey
# Copyright 1999, Mike Glover
# 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. R... | agpl-3.0 |
aluxnimm/outlookcaldavsynchronizer | CalDavSynchronizer/Ui/Options/Views/OXInfoDialog.xaml.cs | 1818 | // This file is Part of CalDavSynchronizer (http://outlookcaldavsynchronizer.sourceforge.net/)
// Copyright (c) 2015 Gerhard Zehetbauer
// Copyright (c) 2015 Alexander Nimmervoll
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License a... | agpl-3.0 |
LtRipley36706/ACE-World | Database/3-Core/6 LandBlockExtendedData/SQL/B86D.sql | 1774 | DELETE FROM `landblock_instance` WHERE `landblock` = 0xB86D;
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 (0x7B86D000, 720, 0xB86D0108, 14.3003, 177.788, 20.505,... | agpl-3.0 |
taigaio/redmine-migrator | AUTHORS.md | 231 | # Primary authors:
- Mario Garcia <mario.garcia@kaleidos.net>
- Ivan Lopez <ivan.lopez@kaleidos.net>
- Xavi Julian <xavier.julian@kaleidos.net>
Special thanks to Kaleidos Open Source S.L. for provide time for Taiga
development.
| agpl-3.0 |
LaPingvino/pasportaservo | hosting/templates/hosting/snippets/registration.html | 583 | {% load i18n bootstrap %}
<div class="col-xs-12 well register">
<h4>{% trans "Registration" %}</h4>
<p class="tip">
{% trans "You must register to see this accomodation." %}
</p>
<form class="form" method="POST" action="{% url 'register' %}?next={{ request.get_full_path|urlencode }}">
... | agpl-3.0 |
bluecrystalsign/signer-source | bluecrystal.deps.domain/src/main/java/bluecrystal/domain/helper/package-info.java | 82 | /**
*
*/
/**
* @author sergio
*
*/
package bluecrystal.domain.helper; | agpl-3.0 |
NicolasEYSSERIC/Silverpeas-Core | ejb-core/versioning/src/test/java/com/stratelia/silverpeas/versioning/AllTests.java | 1643 | /**
* Copyright (C) 2000 - 2012 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 |
austintimeexchange/oscurrency | app/models/feed_post.rb | 998 | require 'feed-normalizer'
require 'open-uri'
class FeedPost < ActiveRecord::Base
extend PreferencesHelper
class << self
def update_posts
posts = find(:all, :select => "feedid")
post_ids = posts.map {|p| p.feedid}
begin
feed = FeedNormalizer::FeedNormalizer.parse open(global_prefs.b... | agpl-3.0 |
automenta/narchy | util/src/test/java/jcog/pri/bag/BagTest.java | 10149 | package jcog.pri.bag;
import jcog.Util;
import jcog.data.list.FasterList;
import jcog.pri.*;
import jcog.pri.bag.impl.ArrayBag;
import jcog.pri.bag.impl.HijackBag;
import jcog.pri.bag.impl.PriReferenceArrayBag;
import jcog.pri.bag.impl.hijack.DefaultHijackBag;
import jcog.random.XoRoShiRo128PlusRandom;
import jcog.sig... | agpl-3.0 |
ricardoroberto/TesteGrpLTM | FrontEnd/Estoque.Front/src/app/app.component.ts | 470 | import { Component } from '@angular/core';
import { AuthService } from './login/auth.service';
@Component({
selector: 'app-root',
templateUrl: './app.component.html',
styleUrls: ['./app.component.css']
})
export class AppComponent {
title = 'app';
mostrarMenu: boolean = false;
constructor(private authServ... | agpl-3.0 |
aknight1-uva/jasp-desktop | JASP-Desktop/variableswidget.cpp | 3776 |
#include "variableswidget.h"
#include "ui_variableswidget.h"
#include "desktoputils.h"
#include "variablespage/variablestablemodel.h"
#include <QModelIndexList>
#include <boost/foreach.hpp>
#include <algorithm>
#include <QDebug>
VariablesWidget::VariablesWidget(QWidget *parent) :
QWidget(parent),
ui(new Ui::Varia... | agpl-3.0 |
edx/edx-ora2 | openassessment/templates/openassessmentblock/edit/oa_edit_staff_assessment.html | 785 | {% load i18n %}
{% spaceless %}
<li class="openassessment_assessment_module_settings_editor" id="oa_staff_assessment_editor">
<div class="drag-handle action"></div>
<div class="openassessment_inclusion_wrapper">
<input type="checkbox" id="include_staff_assessment"
{% if assessments.staff_ass... | agpl-3.0 |
cris-iisc/mpc-primitives | crislib/libscapi/lib/boost_1_64_0/doc/html/boost/accumulators/as_feature_ta_idp410480112.html | 4922 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>Struct as_feature<tag::rolling_variance(immediate)></title>
<link rel="stylesheet" href="../../../../doc/src/boostbook.... | agpl-3.0 |
romain-li/edx-platform | openedx/core/djangoapps/course_groups/views.py | 19604 | """
Views related to course groups functionality.
"""
from django.views.decorators.csrf import ensure_csrf_cookie
from django.views.decorators.http import require_POST
from django.contrib.auth.models import User
from django.core.paginator import Paginator, EmptyPage
from django.core.urlresolvers import reverse
from dj... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/src/server/zone/objects/building/components/GCWBaseContainerComponent.cpp | 4046 | /*
* GCWBaseContainerComponent.cpp
*
* Created on: Jan 24, 2013
* Author: root
*/
#include "GCWBaseContainerComponent.h"
#include "templates/params/creature/CreatureFlag.h"
bool GCWBaseContainerComponent::checkContainerPermission(SceneObject* sceneObject, CreatureObject* creature, uint16 permission) const ... | agpl-3.0 |
csinitiative/trisano | webapp/features/enhanced_step_definitions/event_steps.rb | 7381 | # Copyright (C) 2007, 2008, 2009, 2010, 2011, 2012, 2013 The Collaborative Software Foundation
#
# This file is part of TriSano.
#
# TriSano is free software: you can redistribute it and/or modify it under the
# terms of the GNU Affero General Public License as published by the
# Free Software Foundation, either versio... | agpl-3.0 |
scylladb/scylla | db/read_repair_decision.hh | 632 | /*
*/
/*
* Copyright (C) 2015-present ScyllaDB
*
* Modified by ScyllaDB
*/
/*
* SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0)
*/
#pragma once
#include <iostream>
namespace db {
enum class read_repair_decision {
NONE,
GLOBAL,
DC_LOCAL
};
inline std::ostream& operator<<(std::ostream& ou... | agpl-3.0 |
neurotechuoft/MindType | Meetings/2017-05-28.md | 2497 | # May 28, 2017: Meeting Notes
# Preparation:
* EEG Speller Validation Study: (See ./ResearchPapers/Motor Imagery EEG Speller--Validation.docx)
* just skim the papers mentioned here; we'll look at these in detail later
* "Design, implementation and evaluation of a real-time P300-based Brain-Computer Interface syst... | agpl-3.0 |
pgdurand/BeeDeeM | src/bzh/plealog/dbmirror/lucenedico/go/GeneOntologyOBONodeParser.java | 15713 | /* Copyright (C) 2007-2017 Patrick G. Durand
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Yo... | agpl-3.0 |
kevin8909/xjerp | openerp/addons/Rainsoft_Xiangjie/rainsoft_stock_return.py | 185 | #coding:utf-8
from openerp.osv import osv,fields
class rainsoft_stock_return(osv.Model):
_inherit='stock.return.picking'
_defaults={
'invoice_state': '2binvoiced',
}
| agpl-3.0 |
s40523222/2016fallcp_hw | content/20161114.md | 1304 | Title: W10 Brython 繪圖範例
Date: 2016-11-14 12:00
Category: Misc
Tags: 使用導引
Author: 40523222
Brython 繪圖
繪圖流程, 導入程式庫, 啟動, 然後引用各種模組開始繪圖
<!-- PELICAN_END_SUMMARY -->
<!-- 導入 Brython 標準程式庫 -->
<script type="text/javascript"
src="https://cdn.rawgit.com/brython-dev/brython/master/www/src/brython_dist.... | agpl-3.0 |
ChuckDaniels87/pydio-core | core/src/plugins/core.ocs/src/ActionsController.php | 6752 | <?php
/*
* Copyright 2007-2015 Abstrium <contact (at) pydio.com>
* This file is part of Pydio.
*
* Pydio is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at ... | agpl-3.0 |
qoollo/bricksdb | src/BriksDb.RedisInterface/Server/RedisToBriks.cs | 1543 | using System;
using BricksDb.RedisInterface.BriksCommunication;
using BricksDb.RedisInterface.RedisOperations;
using Qoollo.Client.Configuration;
using Qoollo.Client.Support;
namespace BricksDb.RedisInterface.Server
{
class RedisToBriks : RedisToSmthSystem
{
private readonly RedisGate _redis... | agpl-3.0 |
siddharthadeshpande89/jive-content-manager | apps/content_manager/public/javascripts/helpers/messageViewHandler.js | 2511 | /*
This file is part of ContentManager.
ContentManager is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
ContentManager is distributed ... | agpl-3.0 |
kolplex/cunity | style/CunityRefreshed/javascript/cunity-core.js | 14280 | var origShow = jQuery.fn.show, origHide = jQuery.fn.hide;
jQuery.fn.show = function() {
$(this).removeClass("hidden");
return origShow.apply(this, arguments);
};
jQuery.fn.hide = function() {
$(this).addClass("hidden");
return origHide.apply(this, arguments);
};
$.ajaxSetup({
cache: false
});
func... | agpl-3.0 |
hlmnrmr/superdesk-core | apps/archive_history/service.py | 3708 | # -*- coding: utf-8; -*-
#
# This file is part of Superdesk.
#
# Copyright 2013, 2014 Sourcefabric z.u. and contributors.
#
# For the full copyright and license information, please see the
# AUTHORS and LICENSE files distributed with this source code, or
# at https://www.sourcefabric.org/superdesk/license
import loggi... | agpl-3.0 |
mauriciopasquier/bibliotecadeleter | test/controllers/artistas_controller_test.rb | 1366 | # encoding: utf-8
require './test/test_helper'
describe ArtistasController do
let(:artista) { create(:artista) }
describe 'anónimamente' do
it 'accede al index' do
get :index
must_respond_with :success
assigns(:artistas).wont_be_nil
end
it 'muestra un artista' do
get :show, i... | agpl-3.0 |
FiloSpaTeam/thinks | doc/api/files/__/__/__/__/usr/local/lib64/ruby/gems/2_1_0/gems/activerecord-4_2_3/lib/active_record/associations/preloader/collection_association_rb.html | 2726 | <?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>collection_association.rb</title>
<meta http-equiv="Content-Type"... | agpl-3.0 |
mikebryant/rapid-router | game/static/game/js/blocklyCustomBlocks.js | 20655 | /*
Code for Life
Copyright (C) 2015, Ocado Innovation Limited
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.
This pro... | agpl-3.0 |
kj415j45/osu-web | resources/lang/pt/model_validation.php | 5767 | <?php
/**
* Copyright 2015-2018 ppy Pty. Ltd.
*
* This file is part of osu!web. osu!web is distributed with the hope of
* attracting more community contributions to the core ecosystem of osu!.
*
* osu!web is free software: you can redistribute it and/or modify
* it under the terms of the Affero G... | agpl-3.0 |
buremba/rakam | rakam-spi/src/main/java/org/rakam/report/PreComputedTableSubQueryVisitor.java | 7236 | package org.rakam.report;
import com.facebook.presto.sql.tree.*;
import org.rakam.util.ValidationUtil;
import java.util.Optional;
import java.util.function.Function;
import static com.facebook.presto.sql.tree.LogicalBinaryExpression.Type.AND;
import static com.facebook.presto.sql.tree.LogicalBinaryExpression.Type.OR... | agpl-3.0 |
marwoodandrew/superdesk-core | content_api/publish/service.py | 6723 | # -*- coding: utf-8; -*-
#
# This file is part of Superdesk.
#
# Copyright 2013, 2014 Sourcefabric z.u. and contributors.
#
# For the full copyright and license information, please see the
# AUTHORS and LICENSE files distributed with this source code, or
# at https://www.sourcefabric.org/superdesk/license
import loggi... | agpl-3.0 |
WenbinHou/PKUAutoGateway.Android | Reference/IPGWAndroid/android/support/design/widget/by.java | 714 | package android.support.design.widget;
import android.content.Context;
import android.content.res.TypedArray;
import android.support.design.c;
final class by {
private static final int[] a = new int[]{c.colorPrimary};
static void a(Context context) {
int i = 0;
TypedArray obtainStyledAttribut... | agpl-3.0 |
fkr/the-idb | app/core/puppetdb/nodes.rb | 903 | module Puppetdb
class Nodes < Struct.new(:urls)
def all
filter = IDB.config.puppetdb.filter.blank? ? nil : Regexp.new(IDB.config.puppetdb.filter)
nodes = []
# Try to find machines in all puppetdb servers.
urls.each do |url|
api = Puppetdb::Api.new(url)
data = api.get('/v3/... | agpl-3.0 |
exomiser/Exomiser | exomiser-core/src/test/java/org/monarchinitiative/exomiser/core/genome/GeneFactoryTest.java | 2339 | /*
* The Exomiser - A tool to annotate and prioritize genomic variants
*
* Copyright (c) 2016-2020 Queen Mary University of London.
* Copyright (c) 2012-2016 Charité Universitätsmedizin Berlin and Genome Research Ltd.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms o... | agpl-3.0 |
24eme/vinsdeloire | project/plugins/acVinLibPlugin/lib/util/Search.class.php | 1975 | <?php
class Search {
public static function matchTerm($term, $text) {
$reg = "/[ ]+/";
$text = self::normalize($text);
$term = self::normalize($term);
$words_text = preg_split($reg, $text);
$words_term = preg_split($reg, $term);
$text_final = "";
foreach($words_term as $key_term... | agpl-3.0 |
jcamposs/coderoom | client/templates/notifications/notifications_widget.js | 1772 | /**
* Copyright (C) 2016 Jorge Campos Serrano.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License, version 3,
* as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be ... | agpl-3.0 |
xiaxiaoyu1988/smitm | lib/libevent/event2/event-config.h | 16788 | /* event2/event-config.h
*
* This file was generated by autoconf when libevent was built, and post-
* processed by Libevent so that its macros would have a uniform prefix.
*
* DO NOT EDIT THIS FILE.
*
* Do not rely on macros in this file existing in later versions.
*/
#ifndef EVENT2_EVENT_CONFIG_H_INCLUDED_
#d... | agpl-3.0 |
papjul/projeqtor | model/Contact.php | 1800 | <?php
/*** COPYRIGHT NOTICE *********************************************************
*
* Copyright 2009-2016 ProjeQtOr - Pascal BERNARD - support@projeqtor.org
* Contributors : -
*
* This file is part of ProjeQtOr.
*
* ProjeQtOr is free software: you can redistribute it and/or modify it under
* the terms of... | agpl-3.0 |
CompassionCH/compassion-modules | survey_phone/__manifest__.py | 2093 | ##############################################################################
#
# ______ Releasing children from poverty _
# / ____/___ ____ ___ ____ ____ ___________(_)___ ____
# / / / __ \/ __ `__ \/ __ \/ __ `/ ___/ ___/ / __ \/ __ \
# / /___/ /_/ / / / / / / /_/ / /_/ (__ |__ ) / /_/... | agpl-3.0 |
raviselker/jasp-desktop | JASP-Desktop/widgets/tablemodelvariableslevels.cpp | 12498 | //
// Copyright (C) 2013-2016 University of Amsterdam
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as
// published by the Free Software Foundation, either version 3 of the
// License, or (at your option) any later version.
//
/... | agpl-3.0 |
oneclickorgs/one-click-orgs | app/models/change_board_composition_resolution.rb | 1028 | class ChangeBoardCompositionResolution < ResolutionWrapper
attr_accessor :max_user_directors, :max_employee_directors, :max_supporter_directors,
:max_producer_directors, :max_consumer_directors
def after_initialize
[
:max_user_directors, :max_employee_directors, :max_supporter_directors, :max_produce... | agpl-3.0 |
codegram/decidim | decidim-surveys/lib/decidim/surveys/version.rb | 161 | # frozen_string_literal: true
module Decidim
# This holds the decidim-surveys version.
module Surveys
def self.version
"0.22.0"
end
end
end
| agpl-3.0 |
v12technology/fluxtion-utils | runtime-plugins/src/main/java/com/fluxtion/runtime/plugin/executor/SingleThreadedAsyncEventHandler.java | 1904 | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package com.fluxtion.runtime.plugin.executor;
import com.fluxtion.runtime.event.Event;
import com.fluxtion.runtime.lifecycle.EventHand... | agpl-3.0 |
ChiweenieDijon/noonian-sys | noonian_pkg/AngularTemplate/perspective_editor.html.[content].qwW8v9NIReKHdrGiRZl9tg.html | 1442 | <div>
<div class="modal-header">
<h3 class="modal-title">{{title}}</h3>
</div>
<div class="modal-body">
<div class="row">
<div class="col-sm-6">
<div class="picker-list-title">Available Fields</div>
<div class="list-group basic-picker-list">
<div class="list-group-item" ng... | agpl-3.0 |
Asqatasun/Web-Snapshot | README.md | 1457 | [](LICENSE)
[](https://travis-ci.org/Asqatasun/Web-Snapshot)
[](https://github.com/Asqatasun/Web-Snapshot... | agpl-3.0 |
gwater/rlo-plan | entry.js | 16345 | /**
* This file is part of RLO-Plan.
*
* Copyright 2009, 2010 Tillmann Karras, Josua Grawitter
*
* RLO-Plan is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* ... | agpl-3.0 |
safety-data/talismane | talismane_machine_learning/src/main/java/com/joliciel/talismane/machineLearning/features/IfThenElseGenericFeature.java | 3068 | ///////////////////////////////////////////////////////////////////////////////
//Copyright (C) 2014 Joliciel Informatique
//
//This file is part of Talismane.
//
//Talismane is free software: you can redistribute it and/or modify
//it under the terms of the GNU Affero General Public License as published by
//the Free ... | agpl-3.0 |
canonical-websites/build.snapcraft.io | src/common/containers/container.css | 722 | .wrapper {
box-sizing: border-box;
max-width: 1038px;
margin: 0 auto;
padding: 0;
width: 100%;
}
.container {
composes: wrapper;
margin-bottom: 60px;
padding: 1rem 1.25rem;
}
.spinner {
width: 20px;
margin: 5px auto;
}
.strip {
clear: both;
padding: 2rem 0;
position: relative;
width: 100%... | agpl-3.0 |
consul/consul | app/controllers/sdg_management/cards_controller.rb | 374 | class SDGManagement::CardsController < SDGManagement::BaseController
include Admin::Widget::CardsActions
helper_method :index_path
load_and_authorize_resource :phase, class: "SDG::Phase", id_param: "sdg_phase_id"
load_and_authorize_resource :card, through: :phase, class: "Widget::Card"
private
def inde... | agpl-3.0 |
rahulvador/CoreHD | Kernel/Modules/AdminPackageManager.pm | 65102 | # --
# Kernel/Modules/AdminPackageManager.pm - manage software packages
# Copyright (C) 2001-2014 OTRS AG, http://otrs.com/
# --
# This software comes with ABSOLUTELY NO WARRANTY. For details, see
# the enclosed file COPYING for license information (AGPL). If you
# did not receive this file, see http://www.gnu.org/lice... | agpl-3.0 |
Scindix/ArrakizPHP | tracking.php | 612 | <!-- Piwik -->
<script type="text/javascript">
var _paq = _paq || [];
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function() {
var u="//arrakiz.org/analytics/";
_paq.push(['setTrackerUrl', u+'piwik.php']);
_paq.push(['setSiteId', 1]);
var d=document, g=d.createElement('script'), s=d.ge... | agpl-3.0 |
StefanOltmann/PokerGame | server/src/test/java/de/stefan_oltmann/poker/server/SpielControllerTest.java | 8108 | /*****************************************************************************
* Stefans Poker Game *
* *
* Copyright (C) 2016 Stefan Oltmann *
... | agpl-3.0 |
tsrnnash/bg8-cdw11 | static/pelicanconf.py | 2146 | #!/usr/bin/env python
# -*- coding: utf-8 -*- #
from __future__ import unicode_literals
AUTHOR = 'kmol'
SITENAME = 'CDW11 網頁 (虎尾科大MDE)'
SITEURL = 'http://cdw11-40323200.rhcloud.com/static/'
# 不要用文章所在目錄作為類別
USE_FOLDER_AS_CATEGORY = False
#PATH = 'content'
#OUTPUT_PATH = 'output'
TIMEZONE = 'Asia/Taipei'
DEFAULT_LA... | agpl-3.0 |
empirical-org/Empirical-Core | services/QuillLMS/client/app/bundles/Diagnostic/components/lessons/lessonFormComponents.tsx | 887 | import * as React from 'react';
export interface DeleteButtonProps {
questionId: string,
onChange(questionId: string): void
}
export interface NameInputProps {
name: string,
onChange(value: string, e: object): void
}
export const DeleteButton = ({ questionId, onChange }: DeleteButtonProps) => {
function ha... | agpl-3.0 |
SamR1/FitTrackee | fittrackee/workouts/utils_files.py | 174 | import os
from flask import current_app
def get_absolute_file_path(relative_path: str) -> str:
return os.path.join(current_app.config['UPLOAD_FOLDER'], relative_path)
| agpl-3.0 |
JanMarvin/rstudio | src/gwt/src/org/rstudio/studio/client/workbench/views/output/sourcecpp/events/SourceCppStartedEvent.java | 1265 | /*
* SourceCppStartedEvent.java
*
* Copyright (C) 2020 by RStudio, PBC
*
* Unless you have received this program directly from RStudio pursuant
* to the terms of a commercial license agreement with RStudio, then
* this program is licensed to you under the terms of version 3 of the
* GNU Affero General Public Li... | agpl-3.0 |
hflabs/perecoder | rcd-web/src/main/javascript/app/model/groups/groups-list.js | 619 | 'use strict';
define(function(require) {
var Backbone = require('backbone'),
routes = require('routes'),
GroupModel = require('model/groups/group-model');
var GroupsList = Backbone.Collection.extend({
model: GroupModel,
url: routes.absoluteUrl(routes.GROUPS_DATA),
fetc... | agpl-3.0 |
openfisca/openfisca-web-ui | openfisca_web_ui/static/js/components/test-case/form/enumeration-control.js | 1605 | /** @jsx React.DOM */
'use strict';
var Lazy = require('lazy.js'),
React = require('react'),
ReactIntlMixin = require('react-intl');
var EnumerationControl = React.createClass({
mixins: [ReactIntlMixin],
propTypes: {
default: React.PropTypes.string,
error: React.PropTypes.string,
label: React.Pr... | agpl-3.0 |
XiaodunServerGroup/ddyedx | cms/envs/common.py | 18114 | # -*- coding: utf-8 -*-
"""
This is the common settings file, intended to set sane defaults. If you have a
piece of configuration that's dependent on a set of feature flags being set,
then create a function that returns the calculated value based on the value of
FEATURES[...]. Modules that extend this one can change th... | agpl-3.0 |
ACEmulator/ACE-World | Database/3-Core/9 WeenieDefaults/SQL/Creature/Undead/33285 Enraged Ancient Soul.sql | 64218 | DELETE FROM `weenie` WHERE `class_Id` = 33285;
INSERT INTO `weenie` (`class_Id`, `class_Name`, `type`, `last_Modified`)
VALUES (33285, 'ace33285-enragedancientsoul', 10, '2019-02-10 00:00:00') /* Creature */;
INSERT INTO `weenie_properties_int` (`object_Id`, `type`, `value`)
VALUES (33285, 1, 16) /* ItemTyp... | agpl-3.0 |
decamp/photosort | src/main/java/bits/photosort/TimestampReader.java | 8819 | /*
* Copyright (c) 2015. Philip DeCamp
* Released under the BSD 2-Clause License
* http://opensource.org/licenses/BSD-2-Clause
*/
package bits.photosort;
import java.io.*;
import java.nio.*;
import java.nio.channels.FileChannel;
import java.text.*;
public class TimestampReader {
public static void mai... | agpl-3.0 |
vroland/SimpleAnalyzer | doc/html/search/enumvalues_75.js | 306 | var searchData=
[
['unknown',['UNKNOWN',['../classtetgenmesh.xhtml#a1d02bed7b59566d57b896776d78a6b25a51233a7db87ef44baab2026b0ebdf22f',1,'tetgenmesh']]],
['unusedvertex',['UNUSEDVERTEX',['../classtetgenmesh.xhtml#ad0458f823a5eef2de89c7fae067aa2aca1d0b671fcad449d30b826305df861a52',1,'tetgenmesh']]]
];
| agpl-3.0 |
caleboau2012/edusupport | test/cache/smarty/templates_c/%%19^19B^19BA849F%%CasesDetailViewpriority.tpl.php | 805 | <?php /* Smarty version 2.6.11, created on 2015-06-17 13:35:10
compiled from cache/modules/AOW_WorkFlow/CasesDetailViewpriority.tpl */ ?>
<?php if (is_string ( $this->_tpl_vars['fields']['priority']['options'] )): ?>
<input type="hidden" class="sugar_field" id="<?php echo $this->_tpl_vars['fields']['priority... | agpl-3.0 |
mRokita/DPLib | docs_src/_build/html/source/modules.html | 5090 |
<!DOCTYPE html>
<!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>dplib — DPLib 1.5 documentation</title... | agpl-3.0 |
ice1000/OI-codes | codewars/1-100/find-all-possible-number-combos-that-sum-to-a-number.hs-optimized.hs | 168 | module Codewars.Kata.Combos where
combos :: Int -> [[Int]]
combos n = f 1 n
where f u n = if u <= n then [n] : ([u .. n] >>= \x -> (x :) <$> f x (n - x)) else []
--
| agpl-3.0 |
martinhoefling/go-dmarc-report | acquire/unpack.go | 983 | package acquire
import (
"archive/zip"
"bytes"
"compress/gzip"
"fmt"
"io/ioutil"
"strings"
)
func unpackReport(filename string, data []byte) ([]byte, error) {
dataBuffer := bytes.NewBuffer(data)
if strings.HasSuffix(filename, ".gz") {
file, err := gzip.NewReader(dataBuffer)
if err != nil {
return nil, ... | agpl-3.0 |
lutris/website | tosec/models.py | 1177 | """TOSEC models"""
from django.db import models
class Category(models.Model):
name = models.CharField(max_length=256)
description = models.CharField(max_length=256)
category = models.CharField(max_length=256)
version = models.CharField(max_length=32)
author = models.CharField(max_length=128)
s... | agpl-3.0 |
Implem/Implem.Pleasanter | Implem.Pleasanter/Styles/Plugins/themes/trontastic/custom.css | 491 | .nav-site {
background-color: white;
border: solid 2px silver;
}
.nav-site.sites {
background-color: white;
border: solid 2px #9fda58;
}
.nav-site .heading {
background-color: #9fda58;
border: solid 1px #9fda58;
}
#NavigationMenu .menu > li > a {
color: wh... | agpl-3.0 |
australiangreens/au.org.greens.raisely | tests/phpunit/CRM/Raisely/RaiselyTest.php | 3652 | <?php
use Civi\Test\HeadlessInterface;
use Civi\Test\HookInterface;
use Civi\Test\TransactionalInterface;
/**
* RaiselyTest - Unit tests for the CiviCRM-Raisely web callback extension
*
* Tips:
* - With HookInterface, you may implement CiviCRM hooks directly in the test class.
* Simply create corresponding f... | agpl-3.0 |
Oblady/web-task-runner-for-pentaho | config/routes.php | 2500 | <?php
/**
* Routes configuration
*
* In this file, you set up routes to your controllers and their actions.
* Routes are very important mechanism that allows you to freely connect
* different URLs to chosen controllers and their actions (functions).
*
* CakePHP(tm) : Rapid Development Framework (http://cakephp.o... | agpl-3.0 |
cris-iisc/mpc-primitives | crislib/libscapi/lib/boost_1_64_0/libs/geometry/doc/html/geometry/examples/example_source_code__adapting_a_legacy_geometry_object_model.html | 70784 | <html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>Example source code: Adapting a legacy geometry object model</title>
<link rel="stylesheet" href="../../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link ... | agpl-3.0 |
cris-iisc/mpc-primitives | crislib/libscapi/lib/boost_1_64_0/doc/html/boost_asio/reference/windows__basic_handle/get_implementation.html | 4317 | <html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>windows::basic_handle::get_implementation</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="../..... | agpl-3.0 |
Morik/WCF | wcfsetup/install/files/lib/data/user/online/UsersOnlineList.class.php | 5464 | <?php
namespace wcf\data\user\online;
use wcf\data\option\OptionAction;
use wcf\data\session\SessionList;
use wcf\data\user\group\UserGroup;
use wcf\data\user\User;
use wcf\system\event\EventHandler;
use wcf\system\WCF;
use wcf\util\StringUtil;
/**
* Represents a list of currently online users.
*
* @author Marcel ... | lgpl-2.1 |
kobolabs/qt-everywhere-4.8.0 | doc/html/qsignaltransition-members.html | 11502 | <?xml version="1.0" encoding="UTF-8"?>
<!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" xml:lang="en_US" lang="en_US">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- qsignaltransi... | lgpl-2.1 |
jiangbo212/netty-init | html-docs/contents/29bfa1b155d1811a61b44c39ac267acb.html | 7185 | <!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title></title>
<!-- <script src="http://use.edgefonts.net/source-sans-pro;source-code-pro.js"></script> -->
<link href='http://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,700,300italic,400italic,700italic|Source+Code+Pro:300,4... | lgpl-2.1 |
cytoscape/cytoscape-impl | core-task-impl/src/main/java/org/cytoscape/task/internal/network/DestroyNetworkTaskFactoryImpl.java | 1942 | package org.cytoscape.task.internal.network;
import java.util.ArrayList;
import java.util.Collection;
import org.cytoscape.model.CyNetwork;
import org.cytoscape.service.util.CyServiceRegistrar;
import org.cytoscape.task.AbstractNetworkCollectionTaskFactory;
import org.cytoscape.task.destroy.DestroyNetworkTaskFactory;... | lgpl-2.1 |
jinshana/kajonacms | module_system/system/class_root.php | 70858 | <?php
/*"******************************************************************************************************
* (c) 2004-2006 by MulchProductions, www.mulchprod.de *
* (c) 2007-2015 by Kajona, www.kajona.de ... | lgpl-2.1 |
MenoData/Time4J | base/src/test/java/net/time4j/range/YearsTest.java | 9209 | package net.time4j.range;
import net.time4j.CalendarUnit;
import net.time4j.Duration;
import net.time4j.PlainDate;
import net.time4j.PlainTimestamp;
import net.time4j.Weekcycle;
import net.time4j.engine.TimeSpan;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.JUnit4;
import java.text... | lgpl-2.1 |
QuickServerLab/QuickServer-Main | setDocsCP.bat | 164 | set CLASSPATH=%CLASSPATH%;.\dist\commons-beanutils.jar;.\dist\commons-collections.jar;.\dist\commons-pool.jar;.\dist\commons-digester.jar;.\dist\commons-logging.jar | lgpl-2.1 |
Copix/Copix3 | utils/copix/taglib/confirm.templatetag.php | 1308 | <?php
/**
* @package copix
* @subpackage taglib
* @author Salleyron Julien
* @copyright 2000-2006 CopixTeam
* @link http://www.copix.org
* @license http://www.gnu.org/licenses/lgpl.html GNU Lesser General Public Licence, see LICENCE file
*/
/**
* Génération de fenetre confirm
* @package copix
* @subpackage ta... | lgpl-2.1 |
jstedfast/spruce | spruce/search.c | 44926 | /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
/* Spruce
* Copyright (C) 1999-2009 Jeffrey Stedfast
*
* 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; eithe... | lgpl-2.1 |