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 |
|---|---|---|---|---|---|
#https://python-docx.readthedocs.io/en/latest/user/install.html
#python-docx may be installed with pip if you have it available:
# pip install python-docx
#python-docx can also be installed using easy_install, although this is #discouraged:
# easy_install python-docx
#If neither pip nor easy_install is available, it... | fidelcoria/AYFM-Scheduling | ScheduleParsing/scripts/schedule/convert_docx.py | Python | agpl-3.0 | 5,644 |
describe Instructeurs::InstructeurController, type: :controller do
describe 'before actions: authenticate_instructeur!' do
it 'is present' do
before_actions = Instructeurs::InstructeurController
._process_action_callbacks
.filter { |process_action_callbacks| process_action_callbacks.kind == ... | sgmap/tps | spec/controllers/instructeurs/instructeur_controller_spec.rb | Ruby | agpl-3.0 | 440 |
#include "tsp.h"
#include <assert.h>
#include <algorithm>
#include <limits>
#include <map>
#include "astar/astar.h"
using namespace amos;
bool operator<(const player_pose2d_t &a, const player_pose2d_t &b)
{
return (a.px != b.px) ? a.px < b.px : a.py < b.py;
}
TSPThread::TSPThread(Map *map, const double accuracy)
:... | ziyan/amos | player/clients/igvcgps/tsp.cpp | C++ | agpl-3.0 | 3,075 |
<?php
if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
/*********************************************************************************
* The contents of this file are subject to the SugarCRM Master Subscription
* Agreement ("License") which can be viewed at
* http://www.sugarcrm.com/crm... | harish-patel/ecrm | modules/Accounts/language/et_EE.lang.php | PHP | agpl-3.0 | 8,369 |
// ===================================================================================================
// _ __ _ _
// | |/ /__ _| | |_ _ _ _ _ __ _
// | ' </ _` | | _| || | '_/ _` |
// |_|\_\__,_|_|\__|\_,_|_| \_... | moskiteau/KalturaGeneratedAPIClientsJava | src/main/java/com/kaltura/client/types/KalturaAccessControlLimitFlavorsAction.java | Java | agpl-3.0 | 3,076 |
<?php
/**
* Zend Framework
*
* LICENSE
*
* This source file is subject to the new BSD license that is bundled
* with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://framework.zend.com/license/new-bsd
* If you did not receive a copy of th... | RajkumarSelvaraju/FixNix_CRM | Zend/Gdata/DublinCore/Extension/Date.php | PHP | agpl-3.0 | 1,835 |
/*
* BerrySys SigTran USSDGW
* Copyright (C) 2015 BerrySys S.A. de C.V.
*
* This program is free software: you can redistribute it and/or modify
* 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 l... | BerrySys/berrysys-ussdgw | src/main/java/com/berrysys/ussdgw/HawtDispatchUtil.java | Java | agpl-3.0 | 1,517 |
define([
'backbone.associations',
'../qt_basemodel'
],
function (Backbone,BaseModel) {
'use strict';
return BaseModel.extend({
defaults: {
url : '',
uuid : '',
title : '',
preset : '', //url du preset
sub_processor : '', //url du subprocessor
parameters_schema : '' //s... | Parisson/TimeSide | timeside/player/static/timeside2/app/scripts/core/models/client/analysis.js | JavaScript | agpl-3.0 | 430 |
#!/usr/bin/env bash
/run.sh &
sleep 5
cd /builds/salsah-suite/rapier-scala
./webapi/scripts/graphdb-free-ci-prepare.sh
kill $!
/run.sh &
sleep 5
cd /builds/salsah-suite/rapier-scala
sbt "project webapi" "graphdb-free:test"
| nie-ine/Knora | webapi/scripts/docker/build_graphdb_free_script.sh | Shell | agpl-3.0 | 227 |
<?php
/*********************************************************************************
* 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 Salesagility L... | codesquad36/dc_guidoCRM | modules/AOD_Index/language/nl_NL.lang.php | PHP | agpl-3.0 | 4,685 |
/*
* Tanaguru - Automated webpage assessment
* Copyright (C) 2008-2015 Tanaguru.org
*
* This file is part of Tanaguru.
*
* Tanaguru 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, eithe... | medsob/Tanaguru | rules/rules-commons/src/main/java/org/tanaguru/rules/keystore/CssLikeQueryStore.java | Java | agpl-3.0 | 20,806 |
/*
* Copyright © 2015-2019 the contributors (see Contributors.md).
*
* This file is part of Knora.
*
* Knora 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
*... | musicEnfanthen/Knora | salsah1/src/public/js/jquery.dateobj.js | JavaScript | agpl-3.0 | 24,825 |
<?php
/*
* Copyright 2004-2015, AfterLogic Corp.
* Licensed under AGPLv3 license or AfterLogic license
* if commercial version of the product was purchased.
* See the LICENSE file for a full license statement.
*/
namespace afterlogic\DAV\Auth;
class Backend
{
protected static $instance;
public static functi... | Git-Host/email | libraries/afterlogic/DAV/Auth/Backend.php | PHP | agpl-3.0 | 558 |
import React from 'react';
import InputSelectImage from '../../../src/js/components/RegisterFields/InputSelectImage/InputSelectImage.js';
import { shallow, configure } from 'enzyme';
import Adapter from 'enzyme-adapter-react-16';
configure({ adapter: new Adapter() });
describe('Test InputSelectImage component', () =>... | nekuno/client | __tests__/components/RegisterFields/InputSelectImage.test.js | JavaScript | agpl-3.0 | 1,402 |
package org.opencps.api.controller.impl;
import com.liferay.petra.string.StringPool;
import com.liferay.portal.kernel.json.JSONArray;
import com.liferay.portal.kernel.json.JSONFactoryUtil;
import com.liferay.portal.kernel.json.JSONObject;
import com.liferay.portal.kernel.log.Log;
import com.liferay.portal.kernel.log.L... | VietOpenCPS/opencps-v2 | modules/backend-api-rest/src/main/java/org/opencps/api/controller/impl/OneGateControllerImpl.java | Java | agpl-3.0 | 24,234 |
#!/usr/bin/env node
var fs = require('fs');
var path = require('path');
var sys = require('sys');
var exec = require('child_process').exec;
var rootdir = process.argv[2];
if (rootdir) {
exec("gulp", function puts(error, stdout, stderr) {
sys.puts(error);
sys.puts(stderr);
sys.puts(stdout);... | blocktrail/blocktrail-wallet | hooks/before_prepare/010_gulp.js | JavaScript | agpl-3.0 | 392 |
/*
* ProjectGeneralPreferencesPane.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 P... | JanMarvin/rstudio | src/gwt/src/org/rstudio/studio/client/projects/ui/prefs/ProjectGeneralPreferencesPane.java | Java | agpl-3.0 | 6,362 |
#! python
#Python Serial Port Extension for Win32, Linux, BSD, Jython
#serial driver for win32
#see __init__.py
#
#(C) 2001-2003 Chris Liechti <cliechti@gmx.net>
# this is distributed under a free software license, see license.txt
import win32file # The base COM port and file IO functions.
import win32event # We use ... | emilydolson/forestcat | pyrobot/system/serial/serialwin32.py | Python | agpl-3.0 | 10,927 |
<?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... | nlv/suitecrm | modules/Project/language/en_us.lang.php | PHP | agpl-3.0 | 6,210 |
/* MODULE: auth_krb5 */
/* COPYRIGHT
* Copyright (c) 1997 Messaging Direct Ltd.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above ... | papyrussolution/OpenPapyrus | Src/OSF/cyrus-sasl/saslauthd/auth_krb5.c | C | agpl-3.0 | 14,041 |
import os
# Build paths inside the project like this: os.path.join(BASE_DIR, ...)
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
# Quick-start development settings - unsuitable for production
# See https://docs.djangoproject.com/en/dev/howto/deployment/checklist/
ADMINS = (
("David Barra... | bameda/monarch | back/settings/common.py | Python | agpl-3.0 | 3,078 |
<?php
/**
* Email template.You can change the content of this template
* @copyright Copyright (c) 2014-2016 Benjamin BALET
* @license http://opensource.org/licenses/AGPL-3.0 AGPL-3.0
* @link https://github.com/bbalet/jorani
* @since 0.1.0
*/
?>
<html lang="it">
<head>
<meta co... | guillaumeblaquiere/jorani | application/views/emails/it/request.php | PHP | agpl-3.0 | 1,960 |
// Copyright 2012, 2013 Canonical Ltd.
// Licensed under the AGPLv3, see LICENCE file for details.
package state
import (
"fmt"
"strings"
"github.com/juju/errors"
"github.com/juju/names"
"gopkg.in/mgo.v2"
"gopkg.in/mgo.v2/txn"
"github.com/juju/juju/constraints"
"github.com/juju/juju/environs/config"
"githu... | cloud-green/juju | state/open.go | GO | agpl-3.0 | 9,235 |
# Contextualizar
:clock430: **16:15-16:30**
## Comezo da Fase 1 Contextualización. Dinámica "Tecer a rede".
Comezamos coa dinámica "tecer a rede" coa que nos coñecemos todos un pouco mellor (nome, perfil, que podemos aportar ao grupo).

![F1-dinamic... | ForxaCoLab/obradoiro | mobilidade/contextualizar/README.md | Markdown | agpl-3.0 | 12,393 |
<?php
namespace KREDA\Sphere\Common\Database\Schema;
use Doctrine\DBAL\Logging\SQLLogger;
use KREDA\Sphere\Common\AbstractExtension;
/**
* Class Logger
*
* @package KREDA\Sphere\Common\Database\Schema
*/
class Logger extends AbstractExtension implements SQLLogger
{
private $Data = array();
/**
* Lo... | KWZwickau/KREDA-Sphere | Sphere/Common/Database/Schema/Logger.php | PHP | agpl-3.0 | 1,413 |
'use strict';
var util = require('util');
var Promise = require('bluebird');
var uuid = require('../../utils/uuid');
var errors = require('../../errors');
var EmbeddedModel = require('../../EmbeddedModel');
// Schema Validator
// ----------------
var validator = require('jjv')();
vali... | mike-marcacci/gandhi | lib/api/models/Cycle/Status.js | JavaScript | agpl-3.0 | 2,129 |
<!doctype html>
<html lang="en">
<head>
<title>Code coverage report for Oauth2Server/managers/clientRoleUriManager.js</title>
<meta charset="utf-8" />
<link rel="stylesheet" href="../../prettify.css" />
<link rel="stylesheet" href="../../base.css" />
<meta name="viewport" content="width=device-width... | Ulbora/nodeJsOauth2Server | coverage/lcov-report/Oauth2Server/managers/clientRoleUriManager.js.html | HTML | agpl-3.0 | 7,549 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
<title>Rgaa32016 Test.6.3.4 NA 03</title>
... | Tanaguru/Tanaguru | rules/rgaa3-2016/src/test/resources/testcases/rgaa32016/Rgaa32016Rule060303/Rgaa32016.Test.06.03.03-4NA-03.html | HTML | agpl-3.0 | 1,035 |
<?php
// created: 2016-12-05 07:54:48
$mod_strings = array (
'LBL_ID' => 'ID',
'LBL_DATE_ENTERED' => 'Дата создания',
'LBL_DATE_MODIFIED' => 'Дата изменения',
'LBL_MODIFIED' => 'Изменено',
'LBL_MODIFIED_ID' => 'Изменено(ID)',
'LBL_MODIFIED_NAME' => 'Изменено (Имя)',
'LBL_CREATED' => 'Создано',
'LBL_CREA... | PiterIrene/test1 | cache/modules/AOW_Conditions/language/ru_ru.lang.php | PHP | agpl-3.0 | 1,162 |
declare module '*.scss' {
const content: {[className: string]: string};
export default content;
}
declare module '*.png' {
const src: string;
export default src;
}
declare module '*.svg' {
import * as React from 'react';
export const ReactComponent: React.FunctionComponent<React.SVGProps<
SVGSVGElemen... | nukeop/nuclear | packages/app/typings/import-types.d.ts | TypeScript | agpl-3.0 | 395 |
package com.x.base.core.project.cache;
import java.util.ArrayList;
import java.util.List;
import java.util.Optional;
import org.apache.commons.lang3.StringUtils;
import com.x.base.core.project.cache.Cache.CacheCategory;
import com.x.base.core.project.cache.Cache.CacheKey;
import com.x.base.core.project.config.Config... | o2oa/o2oa | o2server/x_base_core_project/src/main/java/com/x/base/core/project/cache/CacheManager.java | Java | agpl-3.0 | 2,655 |
###########################################################################
# Copyright 2017 ZT Prentner IT GmbH (www.ztp.at)
#
# 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 ver... | ztp-at/RKSV | librksv/depparser.py | Python | agpl-3.0 | 26,170 |
<?php
/*** COPYRIGHT NOTICE *********************************************************
*
* Copyright 2009-2016 ProjeQtOr - Pascal BERNARD - support@projeqtor.org
* Contributors : -
*
* This file is part of ProjeQtOr.
*
* ProjeQtOr is free software: you can redistribute it and/or modify it under
* the terms of... | papjul/projeqtor | model/Milestone.php | PHP | agpl-3.0 | 1,837 |
def migrate(cr, version):
if not version:
return
# Replace ids of better_zip by ids of city_zip
cr.execute("""
ALTER TABLE crm_event_compassion
DROP CONSTRAINT crm_event_compassion_zip_id_fkey;
UPDATE crm_event_compassion e
SET zip_id = (
SELECT id FROM r... | CompassionCH/compassion-modules | crm_compassion/migrations/12.0.1.0.0/pre-migration.py | Python | agpl-3.0 | 409 |
function humanize(string) {
string = string.replace(/-/g, ' ');
string = string.replace(/\w\S*/g, function(txt){return txt.charAt(0).toUpperCase() + txt.substr(1).toLowerCase();});
return string;
}
function randomString() {
var chars = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXTZabcdefghiklmnopqrstuvwxyz";
var st... | ronanguilloux/Javascript-helpers | String.js | JavaScript | agpl-3.0 | 1,257 |
#!/bin/bash
exec `dirname $0`/jruby.sh -S irb $@
| stuartsierra/altlaw-backend | script/jirb.sh | Shell | agpl-3.0 | 50 |
package endpoints
import (
"encoding/json"
"fmt"
"net/http"
log "github.com/Sirupsen/logrus"
)
// MkdirHandler implements http.Handler.
type MkdirHandler struct {
*State
}
// NewMkdirHandler creates a new mkdir handler.
func NewMkdirHandler(s *State) *MkdirHandler {
return &MkdirHandler{State: s}
}
// MkdirR... | disorganizer/brig | gateway/endpoints/mkdir.go | GO | agpl-3.0 | 1,133 |
<?php
#
# Copyright (c) 2000-2007 University of Utah and the Flux Group.
#
# {{{EMULAB-LICENSE
#
# This file is part of the Emulab network testbed software.
#
# This file 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 S... | nmc-probe/emulab-nome | www/cvsweb/cvswebwrap.php3 | PHP | agpl-3.0 | 1,865 |
<widget ng-if="vm.account" widget-name="'Account info'" widget-scrollable="true" class="js-cq-widget-container">
<widget-header>
<div class="widget-label"></div>
<div class="widget-name">
<i class="lilicon hl-company-icon"></i>
<a ng-if="vm.clickableHeader && !vm.account.is_d... | HelloLily/hellolily | frontend/app/accounts/directives/detail_widget.html | HTML | agpl-3.0 | 5,116 |
// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import $ from 'jquery'
import _ from 'lodash'
import 'bootstrap/dist/css/bootstrap.css'
import 'bootstrap/dist/js/bootstrap.min.js'
re... | elebymax/Scheduler | src/main.js | JavaScript | agpl-3.0 | 448 |
<?php foreach($pager->getResults() as $c)
{
$nomPartial = (isset($partial)) ? 'show'.ucfirst($partial).'Commentaire' : 'showCommentaire';
$options = array('c' => $c);
if (isset($presentation)) $options = array_merge($options, array('presentation' => $presentation));
include_partial($nomPartial, $options); ?>
<?php } ?... | regardscitoyens/nosdeputes.fr | apps/frontend/modules/commentaire/templates/_pager.php | PHP | agpl-3.0 | 691 |
#!/usr/bin/env bash
THIS_DIR=$(cd $(dirname $0); pwd)
cd $THIS_DIR
update() {
git pull
git submodule update --init --recursive
install_rocks
}
# Will install luarocks on THIS_DIR/.luarocks
install_luarocks() {
git clone https://github.com/keplerproject/luarocks.git
cd luarocks
git checkout tags/v2.2.1 # ... | ahmedjabbar1/TeamTop | launch.sh | Shell | agpl-3.0 | 2,776 |
#####Use Case ID: UC-TS10
#####Use Case Name: Update Code System Version Status
**Level:** User Level Goal
**Primary Actors:** Terminology Author
**Purpose:** The main intent of this use case is to update code system version status in a terminology service.
**Pre C... | semr/specs | terminology-service/manage-code-system/update-code-system-version-status.md | Markdown | agpl-3.0 | 2,346 |
# -*- coding: utf-8 -*-
# Generated by Django 1.11.1 on 2017-08-13 03:19
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('website', '0036_auto_20170813_0049'),
]
operations = [
migrations.AlterField... | goyal-sidd/BLT | website/migrations/0037_auto_20170813_0319.py | Python | agpl-3.0 | 510 |
DELETE FROM `weenie` WHERE `class_Id` = 10654;
INSERT INTO `weenie` (`class_Id`, `class_Name`, `type`, `last_Modified`)
VALUES (10654, 'housevilla962', 53, '2019-02-10 00:00:00') /* House */;
INSERT INTO `weenie_properties_int` (`object_Id`, `type`, `value`)
VALUES (10654, 1, 128) /* ItemType - Misc */
... | ACEmulator/ACE-World | Database/3-Core/9 WeenieDefaults/SQL/House/Villa/10654 Villa.sql | SQL | agpl-3.0 | 2,087 |
/*
Copyright (c) 2014-2021 AscEmu Team <http://www.ascemu.org>
This file is released under the MIT license. See README-MIT for more information.
*/
#include "IpBanMgr.h"
#include <utility>
#include <Logging/Logger.hpp>
#include <Database/Database.h>
#include "Server/Master.hpp"
#include <Log.hpp>
IpBanMgr& IpBanMgr::... | Appled/AscEmu | src/logonserver/Server/IpBanMgr.cpp | C++ | agpl-3.0 | 4,001 |
/**
* Copyright (C) 2009-2014 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
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
... | opensourceBIM/BIMserver | PluginBase/generated/org/bimserver/models/ifc4/IfcWarpingMomentMeasure.java | Java | agpl-3.0 | 5,807 |
<?php
# Copyright 2003-2015 Opmantek Limited (www.opmantek.com)
#
# ALL CODE MODIFICATIONS MUST BE SENT TO CODE@OPMANTEK.COM
#
# This file is part of Open-AudIT.
#
# Open-AudIT is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published
# by t... | wnoisephx/OpenAuditMT | code_igniter/application/models/m_attachment.php | PHP | agpl-3.0 | 2,876 |
/*
* 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/Rgaa32016Rule130301Test.java | Java | agpl-3.0 | 4,471 |
<?php
/**
* plentymarkets shopware connector
* Copyright © 2013 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 Public Li... | k-30/plentymarkets-shopware-connector | Components/Mapping/Entity/PlentymarketsMappingEntityItem.php | PHP | agpl-3.0 | 1,889 |
# frozen_string_literal: true
FactoryBot.define do
data = {
'conceptID' => 'Jl4ByYtUfo4VhIKpMt23yA',
'cues' => [''],
'cuesLabel' => '',
'flag' => 'production',
'focusPoints' => {
'-LNLfzKfwaoZUVeSIH8o' => {
'conceptResults' => {
'Jl4ByYtUfo4VhIKpMt23yA' => {
'c... | empirical-org/Empirical-Core | services/QuillLMS/spec/factories/question.rb | Ruby | agpl-3.0 | 5,023 |
<?php /* Smarty version 2.6.11, created on 2017-06-02 12:25:22
compiled from themes/Sugar5/tpls/_head.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'sugar_getimagepath', 'themes/Sugar5/tpls/_head.tpl', 52, false),arr... | witxo/bonos | cache/smarty/templates_c/%%02^028^028621F5%%_head.tpl.php | PHP | agpl-3.0 | 1,918 |
import { fromNullable } from 'fp-ts/lib/Option';
import { queryK } from 'sdi/shape';
import { uuid } from 'sdi/source';
const attachments = queryK('data/attachments');
export const getAttachments =
() => attachments();
export const getAttachment =
(id: uuid) => fromNullable(attachments().find(a => a.id === ... | be-lb/sdi-clients | view/src/queries/attachments.ts | TypeScript | agpl-3.0 | 328 |
module Ontology::Distributed
extend ActiveSupport::Concern
included do
def self.homogeneous
select_with_character_selector(HOMOGENEOUS_SELECTOR)
end
def self.heterogeneous
select_with_character_selector(HETEROGENEOUS_SELECTOR)
end
def self.heterogeneous_children
where(parent... | ontohub/ontohub | app/models/ontology/distributed.rb | Ruby | agpl-3.0 | 2,209 |
<!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 (1.8.0_121) on Thu Jan 25 12:48:25 CET 2018 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>com.metreeca.tray.rdf (Metr... | metreeca/metreeca | docs/versions/0.46/com.metreeca.tray/javadocs/com/metreeca/tray/rdf/package-summary.html | HTML | agpl-3.0 | 5,507 |
// Copyright 2013 Canonical Ltd.
// Licensed under the AGPLv3, see LICENCE file for details.
package azure
import (
"github.com/juju/loggo"
"github.com/juju/core/environs"
"github.com/juju/core/environs/config"
)
// Register the Azure provider with Juju.
func init() {
environs.RegisterProvider("azure", azureEnv... | jkary/core | provider/azure/environprovider.go | GO | agpl-3.0 | 1,626 |
/*=========================================================================================
File Name: stacked-clustered-column.js
Description: echarts stacked clustered column chart
----------------------------------------------------------------------------------------
Item Name: Stack - Responsive Ad... | Zahajamaan/Fudulbank | core/static/stack/js/scripts/charts/echarts/bar-column/stacked-clustered-column.js | JavaScript | agpl-3.0 | 5,461 |
/*/////////////////////////////////////////////////////////////////////////
//
// File: String_InternalMember.h
// Description:
//
// Rel: 01.00
// Created: November, 2002
//
// Revised:
//
// (C) Copyright 2009 Telefonica Investigacion y Desarrollo
// S.A.Unipersonal (Telefonica I+... | AlvaroVega/TIDorbC | source/TIDorbC/orb/include/TIDorb/types/String_InternalMember.h | C | agpl-3.0 | 4,207 |
class Organization < ActiveRecord::Base
include ActionView::Helpers::SanitizeHelper
attr_accessible :available_invitation_count,
:sent_invitation_count,
:name,
:short_name,
:slug,
:website,
:default_bike_token_count,
:show_on_map,
:is_suspended,
:org_type,
:locations_attribut... | Loos/bike_index | app/models/organization.rb | Ruby | agpl-3.0 | 3,394 |
<?php
/**
* @author Bernhard Posselt <dev@bernhard-posselt.com>
* @author Lukas Reschke <lukas@owncloud.com>
* @author Morris Jobke <hey@morrisjobke.de>
*
* @copyright Copyright (c) 2016, ownCloud, Inc.
* @license AGPL-3.0
*
* This code is free software: you can redistribute it and/or modify
* it under the ter... | sakukode/owncloud-custom | lib/public/appframework/http/streamresponse.php | PHP | agpl-3.0 | 1,791 |
/*
* The Kuali Financial System, a comprehensive financial management system for higher education.
*
* Copyright 2005-2017 Kuali, 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 Foundat... | quikkian-ua-devops/will-financials | kfs-kns/src/main/java/org/kuali/kfs/coreservice/impl/namespace/NamespaceServiceImpl.java | Java | agpl-3.0 | 2,220 |
# |ALPHA| Hub - an authorization server for alpha-ioq3
# See files README and COPYING for copyright and licensing details.
"""
A throwaway thread pool with thread-local storage.
Throwaway Tasks
===============
A throwaway task is one you'd *like* to get done, but it's
not a big deal if it doesn't actually get done.
... | madprof/alpha-hub | prototype/pool.py | Python | agpl-3.0 | 6,257 |
require 'spec_helper'
require 'requests_helper'
require 'cancan/matchers'
describe NotificationProposalCreate, type: :model, emails: true, notifications: true, seeds: true do
it ' when a new proposal is created sends correctly an email to all people which can view proposals in the group' do
user1 = create(:user)... | giovanisp/Airesis | spec/models/notifications/notification_proposal_create_spec.rb | Ruby | agpl-3.0 | 2,260 |
package org.kareha.hareka.server.game;
import java.io.File;
import java.io.IOException;
import java.io.InputStream;
import java.util.ArrayList;
import java.util.EnumMap;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.concurrent.ThreadLocalRandom;
import javax.xml.bind.JAXBCont... | tyatsumi/hareka | server/src/main/java/org/kareha/hareka/server/game/CharacterSpawner.java | Java | agpl-3.0 | 7,899 |
package org.mezuro.scalability_tests.strategy;
import java.util.List;
import java.util.Map;
import org.json.JSONObject;
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.JsonNode;
import com.mashape.unirest.http.Unirest;
public abstract class RESTStrategy implements Strategy<String>{
p... | mezuro/scalability_tests | scalability_tests/src/main/java/org/mezuro/scalability_tests/strategy/RESTStrategy.java | Java | agpl-3.0 | 3,559 |
/*
* CreatureTemplate.cpp
*
* Created on: 22/01/2012
* Author: victor
*/
#include "CreatureTemplate.h"
CreatureTemplate::CreatureTemplate() {
conversationTemplate = 0;
kinetic = 0;
energy = 0;
electricity = 0;
stun = 0;
blast = 0;
heat = 0;
cold = 0;
acid = 0;
lightSaber = 0;
scale = 1.f;
obj... | Tatwi/legend-of-hondo | MMOCoreORB/src/server/zone/objects/creature/ai/CreatureTemplate.cpp | C++ | agpl-3.0 | 5,660 |
package org.flightreservationsserverinterface;
import java.rmi.Remote;
import java.rmi.RemoteException;
import org.flightreservationsserverinterface.exceptions.ErrorInServerException;
import org.flightreservationsserverinterface.exceptions.InvalidLoginException;
/**
* @author Facundo Quiroga
* Creation date: Feb... | facundoq/toys | crappydbms/FlightReservationsServerInterface/src/org/flightreservationsserverinterface/FlightReservationsLoginInterface.java | Java | agpl-3.0 | 1,034 |
// @flow
import { createSelector, type OutputSelector } from 'reselect'
import { sortOrderSort } from 'utils'
import type { EntityState, WrappedEntityState } from 'ducks/entities'
import type { Player, Character, fullQc, Battlegroup } from 'utils/flow-types'
export type entitySelector<T> = OutputSelector<WrappedEntity... | makzu/lotcastingatemi | app/javascript/lca/selectors/entities.js | JavaScript | agpl-3.0 | 2,197 |
CREATE TABLE codes_postaux (
CODE_COMMUNE varchar(5),
NOM_COMMUNE varchar(100),
CODE_POSTAL varchar(5),
ACHEMINEMENT varchar(100),
LIGNE5 varchar(100)
);
\COPY codes_postaux FROM 'insee_codes_postaux.csv' WITH CSV HEADER DELIMITER ';';
CREATE INDEX codes_postaux_code_commune_idx
ON codes_postaux (... | mapkiwiz/sectorisation | ref/insee_codes_postaux.sql | SQL | agpl-3.0 | 411 |
/*
Uniform Theme: Uniform Default
Version: 1.8
By: Josh Pyles
License: MIT License
---
For use with the Uniform plugin:
http://uniformjs.com/
*/
div.selector span {
background-image: url("../images/sprite.png");
background-repeat: no-repeat;
-webkit-font-smoothing: antialiased;
}
div.selector, div.chec... | LearningData/class | css/uniform.edit.css | CSS | agpl-3.0 | 6,723 |
#!/usr/bin/python -S
#
# Copyright 2011 Canonical Ltd. This software is licensed under the
# GNU Affero General Public License version 3 (see the file LICENSE).
"""Process one email message, read from stdin."""
import _pythonpath
import sys
from lp.services.config import config
from lp.services.mail.helpers import... | abramhindle/UnnaturalCodeFork | python/testdata/launchpad/scripts/process-one-mail.py | Python | agpl-3.0 | 2,007 |
import flask
mod = flask.Blueprint('api', __name__)
| erik/sketches | projects/700c/web/views/api.py | Python | agpl-3.0 | 54 |
<?php
namespace Ilex\Core;
class Session
{
const SID = 'sid';
const UID = 'uid';
const USERNAME = 'username';
const LOGIN = 'login';
private static $booted = FALSE;
private static $fakeSession;
public static function boot... | arrowrowe/ilex | src/Core/Session.php | PHP | agpl-3.0 | 2,200 |
---
layout: default
tag: eng
---
<div class="post">
<header class="post-header">
<h1 class="post-title">{{ page.title }}</h1>
</header>
<article class="post-content">
{{ content }}
</article>
</div>
| talexand/the-glow | _layouts/page.html | HTML | agpl-3.0 | 218 |
<?php
/**
* Copyright (c) 2015 ScientiaMobile, 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 later version.
*
*... | mimmi20/Wurfl | src/Handlers/Normalizer/Generic/UPLink.php | PHP | agpl-3.0 | 1,122 |
const HTTP_TIMEOUT = 30000;
export function httpAsync(theUrl, callback, type, payload, errorCB) {
const xmlHttp = new XMLHttpRequest();
const timeout = setTimeout(() => {
xmlHttp.abort();
if (typeof errorCB === 'function') errorCB();
}, HTTP_TIMEOUT);
xmlHttp.timeout = HTTP_TIMEOUT; //... | TheMegaTB/FINDTracker | http/src/js/api/networking.js | JavaScript | agpl-3.0 | 1,184 |
SUBROUTINE read_SedPar (model, inp, out, Lwrite)
!
!=======================================================================
! !
! This routine reads in cohesive and non-cohesive sediment model !
! parameters. ... | theelectricbrain/ROMS-Tidal-Array | ROMS/Nonlinear/Sediment/sediment_inp.h | C | agpl-3.0 | 47,376 |
# == License
# Ekylibre - Simple agricultural ERP
# Copyright (C) 2008-2009 Brice Texier, Thibaud Merigon
# Copyright (C) 2010-2012 Brice Texier
# Copyright (C) 2012-2015 Brice Texier, David Joulin
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Pu... | ekylibre/ekylibre | app/controllers/backend/trial_balances_controller.rb | Ruby | agpl-3.0 | 3,439 |
<?php
namespace FR3D\LdapBundle\Driver;
use Symfony\Component\HttpKernel\Log\LoggerInterface;
class LdapConnection implements LdapConnectionInterface {
private $params = array();
private $logger;
private $ldap_res;
public function __construct(array $params, LoggerInterface $logger = null) {
$this->params = $pa... | lolostates/Lap | vendor/bundles/FR3D/LdapBundle/Driver/LdapConnection.php | PHP | agpl-3.0 | 2,745 |
/*
@(#) $RCSfile: InvalidUserAddressException.java,v $ $Name: $($Revision: 1.1.2.1 $) $Date: 2009-06-21 11:34:29 $ <p>
Copyright © 2008-2009 Monavacon Limited <a href="http://www.monavacon.com/"><http://www.monavacon.com/></a>. <br>
Copyright © 2001-2008 OpenSS7 Corporation <a href="http://www.o... | 0x7678/openss7 | src/java/jain/protocol/ss7/tcap/InvalidUserAddressException.java | Java | agpl-3.0 | 3,786 |
<?php namespace Inkwell\HTTP
{
interface CookieWrapperInterface
{
/**
*
*/
public function wrap($value);
/**
*
*/
public function unwrap($value);
}
}
| dotink/inkwell-http | src/Interfaces/CookieWrapperInterface.php | PHP | agpl-3.0 | 175 |
<?php
/*********************************************************************************
* The contents of this file are subject to the SugarCRM Master Subscription
* Agreement ("License") which can be viewed at
* http://www.sugarcrm.com/crm/en/msa/master_subscription_agreement_11_April_2011.pdf
* By installing or... | harish-patel/ecrm | modules/Prospects/language/ru_RU.lang.php | PHP | agpl-3.0 | 12,231 |
# Copyright (C) 2021 Open Source Integrators
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
from odoo import models
class SaleOrder(models.Model):
_inherit = "sale.order"
def action_confirm(self):
res = super(SaleOrder, self).action_confirm()
for order in self:
o... | OCA/account-analytic | mrp_analytic_sale_project/models/sale_order.py | Python | agpl-3.0 | 490 |
/*
* 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-accessiweb2.2/src/main/java/org/asqatasun/rules/accessiweb22/Aw22Rule10013.java | Java | agpl-3.0 | 1,536 |
package com.gildorymrp.core.feat;
import com.gildorymrp.api.plugin.core.ActiveFeat;
import com.gildorymrp.api.plugin.core.Character;
import com.gildorymrp.api.plugin.core.Feat;
public class ManyShot implements ActiveFeat {
@Override
public String getDescription() {
return "Shoot two or more arrows simultaneously... | Hohahihehu/GildorymCore | src/com/gildorymrp/core/feat/ManyShot.java | Java | agpl-3.0 | 691 |
from django.conf.urls.defaults import *
urlpatterns = patterns('',
url(r'^$', 'blog.views.entry_list', name="entry-list"),
url(r'^archive/(?P<year>\d{4})/$', 'blog.views.entry_archive_year', name="year-archive"),
url(r'^archive/(?P<year>\d{4})/(?P<month>\d{1,2})/$', 'blog.views.entry_archive_month', name=... | tsoporan/tehorng | blog/urls.py | Python | agpl-3.0 | 421 |
<?php
//*****************************************************************************
// This will allow an occurrences of a database table to be updated.
// The identity of the selected occurrence is passed down from the previous screen.
//*****************************************************************************
... | apmuthu/radicore | radicore/survey/survey_section_upd.php | PHP | agpl-3.0 | 639 |
from twisted.trial.unittest import TestCase
from mock import Mock
from twisted.web.test.test_web import DummyRequest
from twisted.web.http import OK, NOT_FOUND
from cryptosync.resources import make_site
def make_request(uri='', method='GET', args={}):
site = make_site(authenticator=Mock())
request = DummyReq... | shyba/cryptosync | cryptosync/tests/test_webserver.py | Python | agpl-3.0 | 1,579 |
class EvaluationCommentNotifier
def initialize(args = {})
@comment = args.fetch(:comment)
end
def process
send_evaluation_comment_email
end
private
def send_evaluation_comment_email
EvaluationCommentEmail.new(@comment).to.each do |to|
Mailer.evaluation_comment(@comment, to).deliver... | AyuntamientoPuertoReal/decidePuertoReal | app/models/evaluation_comment_notifier.rb | Ruby | agpl-3.0 | 349 |
DELETE FROM `weenie` WHERE `class_Id` = 8637;
INSERT INTO `weenie` (`class_Id`, `class_Name`, `type`, `last_Modified`)
VALUES (8637, 'swordbludgeoning', 6, '2019-02-10 00:00:00') /* MeleeWeapon */;
INSERT INTO `weenie_properties_int` (`object_Id`, `type`, `value`)
VALUES (8637, 1, 1) /* ItemType - MeleeWea... | LtRipley36706/ACE-World | Database/3-Core/9 WeenieDefaults/SQL/MeleeWeapon/MeleeWeapon/08637 Bludgeoning Sword.sql | SQL | agpl-3.0 | 2,300 |
SUBDIRS = doxel-dev docker-atom
.PHONY: subdirs $(SUBDIRS)
subdirs: $(SUBDIRS)
$(SUBDIRS):
$(MAKE) -C $@
| doxel/doxel-docker | Makefile | Makefile | agpl-3.0 | 110 |
# encoding: utf-8
#--
###############################################################################
# #
# A component of rss2mail, the RSS to e-mail forwarder. #
# ... | blackwinter/rss2mail | lib/rss2mail/transport.rb | Ruby | agpl-3.0 | 3,813 |
DELETE FROM `weenie` WHERE `class_Id` = 15203;
INSERT INTO `weenie` (`class_Id`, `class_Name`, `type`, `last_Modified`)
VALUES (15203, 'ahrzonasign', 1, '2019-02-10 00:00:00') /* Generic */;
INSERT INTO `weenie_properties_int` (`object_Id`, `type`, `value`)
VALUES (15203, 1, 128) /* ItemType - Misc */
,... | ACEmulator/ACE-World | Database/3-Core/9 WeenieDefaults/SQL/Generic/Misc/15203 Ahr-Zona.sql | SQL | agpl-3.0 | 1,767 |
<?php
/**
* \details © 2018 Open Ximdex Evolution SL [http://www.ximdex.org]
*
* Ximdex a Semantic Content Management System (CMS)
*
* 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 ... | XIMDEX/ximdex | src/MVC/Render/AbstractRenderer.php | PHP | agpl-3.0 | 8,343 |
--[[
Illarion Server
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 distributed in the hope that it wi... | Illarion-eV/Illarion-Content | triggerfield/dragorog_cult_ambient.lua | Lua | agpl-3.0 | 2,790 |
# Copyright 2017 ForgeFlow S.L.
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
{
"name": "Purchase Order Approved",
"summary": "Add a new state 'Approved' in purchase orders.",
"version": "14.0.1.1.0",
"category": "Purchases",
"website": "https://github.com/OCA/purchase-workflow",
... | OCA/purchase-workflow | purchase_order_approved/__manifest__.py | Python | agpl-3.0 | 569 |
/*
*
* (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 AGPL it... | ONLYOFFICE/web-apps | apps/documenteditor/main/app/collection/EquationGroups.js | JavaScript | agpl-3.0 | 1,970 |
"""
Copyright (C) 2008 by Steven Wallace
snwallace@gmail.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
the Free Software Foundation; either version 3 of the License, or
(at your option) any later vers... | joshbohde/megaminer-framework | server/networking/Filter.py | Python | agpl-3.0 | 5,766 |
PREFIX=/usr/local
all::
doc::
clean::
install::
all::botvot
botvot: com.informatimago.small-cl-pgms.botvot.asd botvot.lisp generate-application.lisp
ccl --no-init --load generate-application.lisp --eval '(ccl:quit)'
install::botvot
install -m 755 botvot /usr/local/sbin/botvot
# pandoc -f org -t asciidoc < botvot... | informatimago/lisp | small-cl-pgms/botvot/Makefile | Makefile | agpl-3.0 | 376 |
<?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">
<head>
<!-- template designed by Marco Von Ballmoos -->
<title>Docs for page Transparency.php</titl... | ftrotter/btg | trunk/ZendGdata-1.7.1+Health/documentation/api/core/Zend_Gdata/Gdata/_Gdata---Extension---Transparency.php.html | HTML | agpl-3.0 | 6,124 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.