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 |
|---|---|---|---|---|---|
#include <stdio.h>
#include <stdlib.h>
#include <stddef.h>
#include <string.h>
#include <math.h>
#include <assert.h>
#include "common_gl.h"
#include "common_math.h"
#include "dynamicMesh.h"
#include "component.h"
#include "utilities.h"
#include "objloader.h"
#include "shader.h"
#include "pass.h"
#include "c_json... | yzziizzy/EACSMB | src/dynamicMesh.c | C | agpl-3.0 | 19,231 |
<script tal:condition="baseconfiguration/getActivatezoom" change:javascript="head 'modules.catalog.lib.js.jquery-jqzoom'"></script>
<script change:javascript="src 'modules.catalog.lib.js.productAdditionalVisualsManagement'"></script>
<tal:block tal:condition="displayConfig/showShareBlock" change:block="" module="share... | RBSChange/modules.featurepackb | override/catalog/templates/Catalog-Block-Kitproduct-Success.all.all.html | HTML | agpl-3.0 | 8,234 |
# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
import logging
from odoo import api, fields, models, _
from odoo.exceptions import UserError, ValidationError
from odoo.tools.safe_eval import safe_eval
_logger = logging.getLogger(__name__)
class DeliveryCarrier(mod... | hip-odoo/odoo | addons/delivery/models/delivery_carrier.py | Python | agpl-3.0 | 13,010 |
/**
* 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... | NicolasEYSSERIC/Silverpeas-Core | lib-core/src/main/java/com/stratelia/silverpeas/domains/ldapdriver/LDAPSynchroUserItf.java | Java | agpl-3.0 | 1,827 |
package DavidScape.io.packets;
import DavidScape.players.Player;
import DavidScape.players.items.PlayerItems;
/**
* @author Encouragin <ZLyricale@live.nl>
*/
public class ItemOnItem implements Packet {
/**
* Handles item on item packet.
*
* @param Player p The player which the... | moparisthebest/MoparScape | servers/server508/src/main/java/DavidScape/io/packets/ItemOnItem.java | Java | agpl-3.0 | 20,268 |
# -*- coding: utf-8 -*-
# This file is part of Shuup.
#
# Copyright (c) 2012-2016, Shoop Commerce Ltd. All rights reserved.
#
# This source code is licensed under the AGPLv3 license found in the
# LICENSE file in the root directory of this source tree.
from __future__ import unicode_literals
import json
from rest_fra... | suutari/shoop | shuup_tests/core/test_payments_api.py | Python | agpl-3.0 | 3,959 |
/*
* Copyright (C) 2019 by Sukchan Lee <acetcom@gmail.com>
*
* This file is part of Open5GS.
*
* 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
... | acetcom/nextepc | tests/core/memory-test.c | C | agpl-3.0 | 2,135 |
package ch.ech.ech0021;
import javax.annotation.Generated;
import org.minimalj.model.Keys;
@Generated(value="org.minimalj.metamodel.generator.ClassGenerator")
public class BirthAddonData {
public static final BirthAddonData $ = Keys.of(BirthAddonData.class);
public NameOfParent nameOfFather;
public NameOfParent n... | BrunoEberhard/open-ech | src/main/model/ch/ech/ech0021/BirthAddonData.java | Java | agpl-3.0 | 334 |
class GroupsController < ApplicationController
def index
@groups = Queries::ExploreGroups.new.search_for(params[:q]).order('groups.memberships_count DESC')
@total = @groups.count
limit = params.fetch(:limit, 50)
if @total < limit
@pages = 1
else
if @total % limit > 0
@pages = @... | loomio/loomio | app/controllers/groups_controller.rb | Ruby | agpl-3.0 | 831 |
package edu.arizona.kfs.fp.businessobject;
import java.sql.Date;
import java.util.LinkedHashMap;
import org.kuali.rice.core.api.util.type.KualiDecimal;
import org.kuali.rice.krad.bo.PersistableBusinessObjectBase;
public class ProcurementCardLevel3Lodging extends PersistableBusinessObjectBase {
private String docum... | ua-eas/kfs | kfs-core/src/main/java/edu/arizona/kfs/fp/businessobject/ProcurementCardLevel3Lodging.java | Java | agpl-3.0 | 5,388 |
'''
@since: 2015-01-07
@author: moschlar
'''
import sqlalchemy.types as sqlat
import tw2.core as twc
import tw2.bootstrap.forms as twb
import tw2.jqplugins.chosen.widgets as twjc
import sprox.widgets.tw2widgets.widgets as sw
from sprox.sa.widgetselector import SAWidgetSelector
from sprox.sa.validatorselector import ... | moschlar/SAUCE | sauce/controllers/crc/selectors.py | Python | agpl-3.0 | 3,164 |
/*
* 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-cg/src/main/java/org/kuali/kfs/module/cg/document/validation/impl/ProposalRule.java | Java | agpl-3.0 | 6,446 |
# frozen_string_literal: true
module Api
module CollaborationOperations
module Helpers
def parent_resource
host
end
def association_name_for_parent_resource
:collaborations
end
def collaboration
return @collaboration if @collaboration
# just someth... | NullVoxPopuli/aeonvera | app/resources/api/collaborations/operations/helpers.rb | Ruby | agpl-3.0 | 868 |
<?php
namespace ACore\Character\DependencyInjection;
use Symfony\Component\HttpKernel\DependencyInjection\Extension;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\DependencyInjection\Loader\YamlFileLoader;
use Symfony\Component\Config\FileLocator;
class CharacterExtension extends ... | azerothcore/acore-php-framework | character/src/DependencyInjection/CharacterExtension.php | PHP | agpl-3.0 | 589 |
DELETE FROM `weenie` WHERE `class_Id` = 10391;
INSERT INTO `weenie` (`class_Id`, `class_Name`, `type`, `last_Modified`)
VALUES (10391, 'housecottage699', 53, '2019-02-10 00:00:00') /* House */;
INSERT INTO `weenie_properties_int` (`object_Id`, `type`, `value`)
VALUES (10391, 1, 128) /* ItemType - Misc */
... | LtRipley36706/ACE-World | Database/3-Core/9 WeenieDefaults/SQL/House/Cottage/10391 Cottage.sql | SQL | agpl-3.0 | 2,103 |
ActiveAdmin.setup do |config|
config.site_title = "Loomio"
config.authentication_method = :authenticate_admin_user!
config.current_user_method = :current_user
config.logout_link_path = :destroy_user_session_path
config.logout_link_method = :delete
config.root_to = 'groups#index'
config.batch_actions = tru... | loomio/loomio | config/initializers/active_admin.rb | Ruby | agpl-3.0 | 473 |
/* This file is part of VoltDB.
* Copyright (C) 2008-2013 VoltDB Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files (the
* "Software"), to deal in the Software without restriction, including
* without limitation the rights to... | kobronson/cs-voltdb | tests/test_apps/everything/src/everything/Grower.java | Java | agpl-3.0 | 1,837 |
class AddAllowedChannelsToUsers < ActiveRecord::Migration
def change
add_column :users, :allowed_channels, :string, :default => '0,'
end
end
| marcnaweb/kandanapp_tmp | db/migrate/20131016121746_add_allowed_channels_to_users.rb | Ruby | agpl-3.0 | 149 |
require "test_helper"
require "declarative/option"
class OptionTest < Minitest::Spec
def Option(*args)
Declarative::Option(*args)
end
# proc
it { Option( ->(*args) { "proc! #{args.inspect}" } ).(1,2).must_equal "proc! [1, 2]" }
it { Option( lambda { "proc!" } ).().must_equal "proc!" }
# proc with ins... | NullVoxPopuli/aeonvera | vendor/bundle/ruby/2.4.0/gems/declarative-option-0.1.0/test/option_test.rb | Ruby | agpl-3.0 | 2,337 |
import { module, test } from 'qunit';
import { setupRenderingTest } from 'ember-qunit';
import { click, fillIn, render } from '@ember/test-helpers';
import { hbs } from 'ember-cli-htmlbars';
import { setupIntl } from 'ember-intl/test-support';
import { setupMirage } from 'ember-cli-mirage/test-support';
import { Respon... | appknox/irene | tests/integration/components/registration-test.js | JavaScript | agpl-3.0 | 6,538 |
/*
* RCairoGraphicsHandler.cpp
*
* Copyright (C) 2009-11 by RStudio, Inc.
*
* This program is licensed to you under the terms of version 3 of the
* GNU Affero General Public License. This program is distributed WITHOUT
* ANY EXPRESS OR IMPLIED WARRANTY, INCLUDING THOSE OF NON-INFRINGEMENT,
* MERCHANTABILITY OR ... | Sage-Bionetworks/rstudio | src/cpp/r/session/graphics/handler/RCairoGraphicsHandler.cpp | C++ | agpl-3.0 | 19,042 |
package engine;
public enum EntityType {
TAG,
RESOURCE,
USER
} | learning-layers/TagRec | src/engine/EntityType.java | Java | agpl-3.0 | 66 |
""" Code to allow module store to interface with courseware index """
from __future__ import absolute_import
from abc import ABCMeta, abstractmethod
from datetime import timedelta
import logging
import re
from six import add_metaclass
from django.conf import settings
from django.utils.translation import ugettext_lazy,... | naresh21/synergetics-edx-platform | cms/djangoapps/contentstore/courseware_index.py | Python | agpl-3.0 | 27,600 |
# -*- encoding: utf-8 -*-
##############################################################################
#
# Avanzosc - Avanced Open Source Consulting
# Copyright (C) 2011 - 2013 Avanzosc <http://www.avanzosc.com>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms ... | avanzosc/avanzosc6.1 | avanzosc_net_weight_in_lots/__init__.py | Python | agpl-3.0 | 1,119 |
# coding: utf-8
# The Hazard Library
# Copyright (C) 2012 GEM Foundation
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later... | ROB-Seismology/oq-hazardlib | openquake/hazardlib/gsim/atkinson_wald_2007.py | Python | agpl-3.0 | 2,419 |
<?php
namespace MailBundle\Form\Admin\MailingList\Entry;
use CommonBundle\Entity\User\Person;
use MailBundle\Entity\MailingList as MailingListEntity;
/**
* Add MailingList
*
* @author Pieter Maene <pieter.maene@litus.cc>
*/
class MailingList extends \CommonBundle\Component\Form\Admin\Form
{
protected $hydrat... | LitusProject/Litus | module/MailBundle/Form/Admin/MailingList/Entry/MailingList.php | PHP | agpl-3.0 | 3,684 |
package client
import (
"bytes"
"errors"
"io"
"sort"
"strings"
"testing"
"time"
"github.com/grafana/loki/pkg/loghttp"
"github.com/grafana/loki/pkg/logproto"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
)
func TestFileClient_QueryRangeLogQueries(t *testing.T) {
input := []st... | grafana/loki | pkg/logcli/client/file_test.go | GO | agpl-3.0 | 6,233 |
# Brimir is a helpdesk system to handle email support requests.
# Copyright (C) 2012-2015 Ivaldi https://ivaldi.nl/
#
# 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 t... | hadifarnoud/brimir | app/controllers/application_controller.rb | Ruby | agpl-3.0 | 2,555 |
/* Copyright (c) 2015 - 2016 CoNWeT Lab., Universidad Politécnica de Madrid
*
* This file belongs to the business-ecosystem-logic-proxy of the
* Business API Ecosystem
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* publi... | FIWARE-TMForum/business-ecosystem-logic-proxy | public/resources/core/js/services/customer-account.service.js | JavaScript | agpl-3.0 | 3,853 |
<!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... | Sundsvallskommun/OpenEMap-Admin-WebUserInterface | jsduck/docs/source/Point.html | HTML | agpl-3.0 | 5,405 |
DELETE FROM `weenie` WHERE `class_Id` = 33864;
INSERT INTO `weenie` (`class_Id`, `class_Name`, `type`, `last_Modified`)
VALUES (33864, 'ace33864-frostwave', 33, '2019-02-10 00:00:00') /* ProjectileSpell */;
INSERT INTO `weenie_properties_int` (`object_Id`, `type`, `value`)
VALUES (33864, 1, 0) /* ItemType ... | LtRipley36706/ACE-World | Database/3-Core/9 WeenieDefaults/SQL/ProjectileSpell/None/33864 Frost Wave.sql | SQL | agpl-3.0 | 2,111 |
<?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 the license a... | Nivocer/webenq | libraries/Zend/Gdata/Books/Extension/Review.php | PHP | agpl-3.0 | 4,364 |
<?php
namespace SendForm\NewItem;
function removeRecipientPage ($mysqli, $user, $username,
$what_upper, $what_lower, $recipients, $base, $contactsBase) {
$base = '../../../../';
$fnsDir = __DIR__.'/../..';
include_once "$fnsDir/ItemList/escapedPageQuery.php";
$escapedPageQuery = \ItemList\escape... | zvini/website | www/fns/SendForm/NewItem/removeRecipientPage.php | PHP | agpl-3.0 | 1,752 |
/*
Clashing Coders RPG Platform - The platform used for Creamfinance's first coding contest.
Copyright (C) 2016 Florian Proksch
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 Foundati... | Creamfinance/clashing-coders-rpg | game/world.js | JavaScript | agpl-3.0 | 2,538 |
using Autofac;
using Quest.Common.Messages;
using Quest.Common.Messages.Telephony;
using Quest.Common.ServiceBus;
using Quest.Lib.Processor;
using Quest.Lib.ServiceBus;
using Quest.Lib.Trace;
using Quest.Lib.Utils;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using Syste... | Extentsoftware/Quest | src/Quest.Lib/Telephony/Aspect/AspectProcessor.cs | C# | agpl-3.0 | 6,854 |
#!/usr/bin/env python3
"""
A simple bot to gather some census data in IRC channels.
It is intended to sit in a channel and collect the data for statistics.
:author: tpltnt
:license: AGPLv3
"""
import irc.bot
import irc.strings
from irc.client import ip_numstr_to_quad, ip_quad_to_numstr
class CensusBot(irc.bot.Singl... | tpltnt/ircensus | ircensus_channel_bot.py | Python | agpl-3.0 | 2,132 |
# encoding: utf-8
#
# rshot (http://rshot.net) - a social digital photo gallery.
# (c) 2011-2012 Raphael Kallensee
#
# 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 th... | rkallensee/rshot | app/models/picture.rb | Ruby | agpl-3.0 | 7,073 |
import * as React from 'react'
import { onlyInParentGroup, ScoreHistory, ScoreHistoryEntry } from '../../../../definitions/ScoreSystem'
import { text } from '../../../utils/text'
import { BatchScores, ScoreDetails } from '../../../../calculators/calcScore'
import { MultiLangStringSet } from '../../../../definitions/aux... | wikimigrate/wikimigrate | src/client/web/components/PathwayDisplay/ScoreBox.tsx | TypeScript | agpl-3.0 | 7,047 |
#!/bin/bash
arvados-cwl-runner --submit --no-wait cwl/scatter_hupgp-gff-to-fastj.cwl yml/scatter_hupgp-gff-to-fastj_Arvados-test.yml
#arvados-cwl-runner --disable-reuse --submit --no-wait scatter_hupgp-gff-to-fastj.cwl cwl-run/scatter_hupgp-gff-to-fastj_Arvados-test.yml
#arvados-cwl-runner --disable-reuse --local sca... | curoverse/l7g | cwl-version/experimental/l7g-convert-fastj/hupgp-gff/cwl-run/submit-scatter-test-job.sh | Shell | agpl-3.0 | 511 |
# Amara, universalsubtitles.org
#
# Copyright (C) 2017 Participatory Culture Foundation
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your op... | pculture/unisubs | utils/one_time_data.py | Python | agpl-3.0 | 1,410 |
<?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/Charts/Dashlets/MyTeamModulesUsedChartDashlet/MyTeamModulesUsedChartDashlet.pl_PL.lang.php | PHP | agpl-3.0 | 2,128 |
<?php
/**
* Skeleton subclass for performing query and update operations on the 'cc_subjs_token' table.
*
* You should add additional methods to this class to meet the
* application requirements. This class will only be generated as
* long as it does not already exist in the output directory.
*/
class CcSubjsTo... | LibreTime/libretime | legacy/application/models/airtime/CcSubjsTokenQuery.php | PHP | agpl-3.0 | 384 |
# -*- coding: utf-8 -*-
# Copyright 2018 OpenSynergy Indonesia
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
from . import hr_certification
from . import hr_training_participant
| open-synergy/opnsynid-hr | hr_employee_training_experience/models/__init__.py | Python | agpl-3.0 | 197 |
"""Make session:proposal 1:1.
Revision ID: 3a6b2ab00e3e
Revises: 4dbf686f4380
Create Date: 2013-11-09 13:51:58.343243
"""
# revision identifiers, used by Alembic.
revision = '3a6b2ab00e3e'
down_revision = '4dbf686f4380'
from alembic import op
def upgrade():
op.create_unique_constraint('session_proposal_id_key... | hasgeek/funnel | migrations/versions/3a6b2ab00e3e_session_proposal_one.py | Python | agpl-3.0 | 441 |
<?php
/*********************************************************************************
* Zurmo is a customer relationship management program developed by
* Zurmo, Inc. Copyright (C) 2014 Zurmo Inc.
*
* Zurmo is free software; you can redistribute it and/or modify it under
* the terms of t... | maruthisivaprasad/zurmo | app/protected/modules/emailTemplates/data/EmailTemplatesBaseDefaultDataMaker.php | PHP | agpl-3.0 | 4,994 |
/*
Copyright (c) 2013 Matthew Stump
This file is part of libmutton.
libmutton 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 ver... | project-z/mutton | src/status.hpp | C++ | agpl-3.0 | 1,810 |
/*
Copyright 2002-2013 CEA LIST
This file is part of LIMA.
LIMA 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 versi... | FaizaGara/lima | lima_linguisticprocessing/src/linguisticProcessing/core/SyntacticAnalysis/CoordinationConstraints.h | C | agpl-3.0 | 4,149 |
/*
* jPOS Project [http://jpos.org]
* Copyright (C) 2000-2013 Alejandro P. Revilla
*
* 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 ... | napramirez/jPOS-EE | modules/minigl/src/test/java/org/jpos/gl/stress/SummarizeTransactions.java | Java | agpl-3.0 | 1,379 |
module LibCDB
class CDB
module Version
MAJOR = 0
MINOR = 2
TINY = 1
class << self
# Returns array representation.
def to_a
[MAJOR, MINOR, TINY]
end
# Short-cut for version string.
def to_s
to_a.join('.')
end
... | blackwinter/libcdb-ruby | lib/libcdb/version.rb | Ruby | agpl-3.0 | 373 |
# -*- coding: utf-8 -*-
# Copyright(C) 2010-2011 Noé Rubinstein
#
# This file is part of weboob.
#
# weboob is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at you... | franek/weboob | weboob/tools/capabilities/gallery/genericcomicreader.py | Python | agpl-3.0 | 3,614 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/transitional.dtd">
<html><head>
<meta http-equiv="CONTENT-TYPE" content="text/html; charset=utf-8">
<link rel="stylesheet" type="text/css" href="estilos.css" />
<title> Indice de La formación del profesional de la información... | jacintodavila/catalogoelectronicoautonomo | ceaWeb/indices/t00700.html | HTML | agpl-3.0 | 2,032 |
<?php $TRANSLATIONS = array(
"Wrong calendar" => "Погрешан календар",
"Timezone changed" => "Временска зона је промењена",
"Invalid request" => "Неисправан захтев",
"Calendar" => "Календар",
"Birthday" => "Рођендан",
"Business" => "Посао",
"Call" => "Позив",
"Clients" => "Клијенти",
"Deliverer" => "Достављач",
"Holiday... | KiddoKiddo/WebSecA1Q1 | apps/calendar/l10n/sr.php | PHP | agpl-3.0 | 2,490 |
/*
* Arc MMORPG Server
* Copyright (C) 2005-2010 Arc Team <http://www.arcemulator.net/>
*
* This software is under the terms of the EULA License
* All title, including but not limited to copyrights, in and to the ArcNG Software
* and any copies there of are owned by ZEDCLANS INC. or its suppliers. All title
* a... | satanail/ArcTic-d | src/arcemu-shared/CrashHandler.cpp | C++ | agpl-3.0 | 11,056 |
<?php
$thousand =LbGenera::model()->getGeneraSubscription()->lb_thousand_separator;
$decimal= LbGenera::model()->getGeneraSubscription()->lb_decimal_symbol;
$strnum = new LbInvoiceTotal();
$method = LBPayment::model()->method;
$date_from = date('Y-m-d');
$date_to = date('Y-m-d', strtotime("+1 month -1 day"));
$custome... | LinxHQ/LinxCloud | linxbooks/protected/modules/lbReport/views/default/pdf_gstReport.php | PHP | agpl-3.0 | 9,111 |
<?php
class CRM_Api4_Page_AJAX extends CRM_Core_Page {
/**
* Handler for api4 ajax requests
*/
public function run() {
try {
// Call multiple
if (empty($this->urlPath[3])) {
$calls = CRM_Utils_Request::retrieve('calls', 'String', CRM_Core_DAO::$_nullObject, TRUE, NULL, 'POST', TRUE);... | civicrm/api4 | CRM/Api4/Page/AJAX.php | PHP | agpl-3.0 | 2,284 |
/*
Agora Forum Software
Copyright (C) 2016 Gregory Sartucci
License: AGPL-3.0, Check file LICENSE
*/
Package.describe({
name: 'agoraforum:core',
version: '0.1.3',
summary: 'Graph-based forum',
git: 'https://github.com/Agora-Project/agora-meteor',
documentation: 'README.md'
});
Npm.depe... | Agora-Project/agora-meteor | package.js | JavaScript | agpl-3.0 | 3,656 |
const registry = (() => {
if (!process.env.EXTENSION_DATA) {
// console.log("no EXTENSION_DATA found");
return {};
}
const extensions = typeof process.env.EXTENSION_DATA === "string" ?
JSON.parse(process.env.EXTENSION_DATA) : process.env.EXTENSION_DATA;
Object.keys(extensions).forEach((key) => {
... | nextstrain/auspice | src/util/extensions.js | JavaScript | agpl-3.0 | 898 |
#!/bin/sh
if [ `uname` = "CYGWIN_NT-5.1" ]; then
EXT=.bat
elif [ `uname` = "Linux" ]; then
EXT=
fi
#Target script
f=test_sch1_uncall.script
i=0
while [ $i -lt 3 ];
do
echo "executing..."$f
time janus$EXT < $f
i=`expr $i + 1`
done | tyoko-dev/Janus-A-sml | tests/test_sch1_uncall_3times.sh | Shell | agpl-3.0 | 249 |
<!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>Rgaa32017 Test.5.7.3 NMI 02</title> ... | Tanaguru/Tanaguru | rules/rgaa3-2017/src/test/resources/testcases/rgaa32017/Rgaa32017Rule050703/Rgaa32017.Test.05.07.03-3NMI-02.html | HTML | agpl-3.0 | 1,472 |
package eu.dzhw.fdz.metadatamanagement.analysispackagemanagement.domain;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
/**
* Software Packages which can be used in {@link Script}s.
* @author René Reitmann
*/
public class SoftwarePackages {
public static final String STATA = "Stata... | dzhw/metadatamanagement | src/main/java/eu/dzhw/fdz/metadatamanagement/analysispackagemanagement/domain/SoftwarePackages.java | Java | agpl-3.0 | 1,593 |
/*
* HeadsUp Agile
* Copyright 2009-2012 Heads Up Development.
*
* 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 ve... | headsupdev/agile | agile-storage/src/main/java/org/headsupdev/agile/storage/hibernate/NameProjectBridge.java | Java | agpl-3.0 | 1,655 |
<?php
/* Template Name: Holiday Home Page Template */
?>
<?php get_header( 'home' ); ?>
<?php if( get_post_meta( $post->ID, 'mast_ad_left_img_url', TRUE) &&
get_post_meta( $post->ID, 'mast_ad_right_img_url', TRUE) ): ?>
<div class="row" data-equalizer="mast_ad_blocks">
<div class="large-6 columns">
<d... | zmetcalf/rtmd_wordpress_theme | page-templates/holiday_home_page.php | PHP | agpl-3.0 | 8,256 |
@charset "UTF-8";
/*=== GENERAL */
/*============*/
html, body {
background: #fafafa;
height: 100%;
font-family: "OpenSans", "Cantarell", "Helvetica", "Arial", "PingFang SC", "Microsoft YaHei", sans-serif;
font-size: 92%;
}
/*=== Links */
a, button.as-link {
color: #d18114;
outline: none;
}
legend {
margin: 2... | romibi/FreshRSS | p/themes/Screwdriver/screwdriver.css | CSS | agpl-3.0 | 23,639 |
/* Copyright © 2001-2014, Canal TP and/or its affiliates. All rights reserved.
This file is part of Navitia,
the software to build cool stuff with public transport.
Hope you'll enjoy and contribute to this project,
powered by Canal TP (www.canaltp.fr).
Help us simplify mobility and open public transport:
... | pbougue/navitia | source/ed/synonym2ed.cpp | C++ | agpl-3.0 | 4,075 |
DELETE FROM `weenie` WHERE `class_Id` = 53484;
INSERT INTO `weenie` (`class_Id`, `class_Name`, `type`, `last_Modified`)
VALUES (53484, 'ace53484-viridiankeyofthesixthportal', 51, '2019-02-10 00:00:00') /* Stackable */;
INSERT INTO `weenie_properties_int` (`object_Id`, `type`, `value`)
VALUES (53484, 1, 128) ... | LtRipley36706/ACE-World | Database/3-Core/9 WeenieDefaults/SQL/Stackable/Misc/53484 Viridian Key of the Sixth Portal.sql | SQL | agpl-3.0 | 2,467 |
import os
test_dir = os.path.dirname(__file__)
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': os.path.join(test_dir, 'db.sqlite3'),
}
}
INSTALLED_APPS = [
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.auth',
'django.contr... | dsanders11/django-newsletter | test_project/test_project/settings.py | Python | agpl-3.0 | 2,081 |
class AddDescriptionToSiteSettings < ActiveRecord::Migration[5.2]
def change
add_column :site_settings, :description, :text
end
end
| ArtOfCode-/qpixel | db/migrate/20191125135227_add_description_to_site_settings.rb | Ruby | agpl-3.0 | 140 |
<div id="host_list_table" {{ host_list.count }}>
{% if host_list %}
<table class="table table-bordered">
<thead>
<tr>
<th><input type="checkbox" id="select_all" /></th>
<th> eth1 </th>
<th> 状态 </th>
<th> 操作 </th>
</tr>
</thead>
{%... | voilet/cmdb | templates/server_idc/host_list_widget.html | HTML | agpl-3.0 | 17,500 |
// (C) Copyright Jeremy Siek 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 BOOST_ITERATOR_CONCEPTS_HPP
#define BOOST_ITERATOR_CONCEPTS_HPP
#include <boost/concept_check.hpp>
#include <boost/iter... | jbruestle/aggregate_btree | tiny_boost/boost/iterator/iterator_concepts.hpp | C++ | agpl-3.0 | 7,940 |
class FieldRegistry(object):
_registry = {}
def add_field(self, model, field):
reg = self.__class__._registry.setdefault(model, [])
reg.append(field)
def get_fields(self, model):
return self.__class__._registry.get(model, [])
def __contains__(self, model):
return model... | feroda/django-pro-history | current_user/registration.py | Python | agpl-3.0 | 349 |
/* ---------------------------------------------------------------------
* Numenta Platform for Intelligent Computing (NuPIC)
* Copyright (C) 2015, Numenta, Inc. Unless you have an agreement
* with Numenta, Inc., for a separate license for this software code, the
* following terms and conditions apply:
*
* This ... | breznak/nupic.core | bindings/py/cpp_src/plugin/RegisteredRegionImplPy.hpp | C++ | agpl-3.0 | 6,767 |
import {
REQUEST_COMPLETED, WEB_SOCKET_CONNECT,
WEB_SOCKET_SEND
} from '../connectionConstants';
import * as ReconnectingWebsocket from 'reconnecting-websocket';
import {Dispatch, Middleware} from 'redux';
import {authConnected, error} from "../connectionActions";
import {Item} from "../../graph/interfaces/item... | dutchcoders/marija-web | src/app/connection/helpers/webSocketMiddleware.ts | TypeScript | agpl-3.0 | 10,080 |
# Copyright 2010 Canonical Ltd. This software is licensed under the
# GNU Affero General Public License version 3 (see the file LICENSE).
__metaclass__ = type
from zope.component import (
ComponentLookupError,
getMultiAdapter,
)
from zope.configuration import xmlconfig
from zope.interface import (
im... | abramhindle/UnnaturalCodeFork | python/testdata/launchpad/lib/lp/services/webapp/tests/test_navigation.py | Python | agpl-3.0 | 3,377 |
# mixml Selection
This document demonstrates the different methods to select XML nodes when using mixml.
## Select nodes using XPath expressions
You can use standard XPath expressions to select the nodes to process.
Let's use the following XML in file `test.xml`:
<list>
<philosopher name="Hobbes"/>
... | jochenseeber/mixml | demo/application_selection.md | Markdown | agpl-3.0 | 1,175 |
<?php
require_once 'suppressblankaddress.civix.php';
/**
* Implementation of hook_civicrm_config
*
* @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_config
*/
function suppressblankaddress_civicrm_config(&$config) {
_suppressblankaddress_civix_civicrm_config($config);
}
/**
* Implementati... | veda-consulting/uk.co.vedaconsulting.surpressblankaddress | suppressblankaddress.php | PHP | agpl-3.0 | 5,629 |
import os
import sys
import glob
import json
import subprocess
from collections import defaultdict
from utils import UnicodeReader, slugify, count_pages, combine_pdfs, parser
import addresscleaner
from click2mail import Click2MailBatch
parser.add_argument("directory", help="Path to downloaded mail batch")
parser.add_... | yourcelf/btb | printing/print_mail.py | Python | agpl-3.0 | 4,703 |
# Managed via ansible.
export NICKNAME={{ nickname }}
| joyxu/kernelci-backend | ansible/roles/common/templates/host-nickname.sh | Shell | agpl-3.0 | 54 |
---
title: THE ELECTRONIC WINDOW
layout: default
---
# What is it?
# Ewindow is a TECHNOLOGICAL DEVICE
for a NEW REVOLUTIONARY __Social Network__
### 1. __OPEN SOURCE__
// the code is here [ewindow Code](https://github.com/strfry/ewindow) enjoy it //
### 1. __DECENTRALISED__
// no central control owned by some b... | eleKtronicwindow/eleKtronicwindow.github.io | index.md | Markdown | agpl-3.0 | 9,487 |
#include <iostream>
using std::istream;
using std::ostream;
#include <stdexcept>
using std::invalid_argument;
#include "ISO-8583/DTT/AlphaNumericSpecial.h"
#include "ISO-8583/DTT/InputStream.h"
#include "ISO-8583/DTT/OutputStream.h"
namespace ISO_8583 {
namespace DTT {
bool isAlphaNumericSpecial(byte value) {
r... | Kampbell/ISO-8583 | cpp/code/ISO-8583/DTT/AlphaNumericSpecial.cpp | C++ | agpl-3.0 | 4,171 |
<?php
class CRM_Streetimport_Update_Controller extends CRM_Core_Controller {
public function __construct($title = NULL, $action = CRM_Core_Action::NONE, $modal = TRUE) {
parent::__construct($title, $modal);
$stateMachine = new CRM_Core_StateMachine($this);
$this->setStateMachine($stateMachine);
$... | CiviCooP/be.aivl.streetimport | CRM/Streetimport/Update/Controller.php | PHP | agpl-3.0 | 695 |
/**
* @file libcomp/src/MessageTimeout.h
* @ingroup libcomp
*
* @author COMP Omega <compomega@tutanota.com>
*
* @brief Indicates that a timeout has occurred.
*
* This file is part of the COMP_hack Library (libcomp).
*
* Copyright (C) 2012-2016 COMP_hack Team <compomega@tutanota.com>
*
* This program is free... | aswiftproduction/comp_hack | libcomp/src/MessageTimeout.h | C | agpl-3.0 | 1,558 |
<?php
define('DefaultPage', 'Flerp');
define('Database', 'joypeak');
define('DatabaseUserName', 'root');
define('DatabasePassword', 'underbar');
?>
| Rovanion/Yaws | lib/settings.php | PHP | agpl-3.0 | 149 |
/*
Copyright (C) 2014 Omega software d.o.o.
This file is part of Rhetos.
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 (... | Rhetos/MvcModelGenerator | Plugins/Rhetos.MvcModelGenerator/CaptionsResourceGenerator.cs | C# | agpl-3.0 | 14,878 |
<?php
class KalturaAuditTrailContext extends KalturaEnum
{
const CLIENT = -1;
const SCRIPT = 0;
const PS2 = 1;
const API_V3 = 2;
}
| MimocomMedia/kaltura | package/app/app/plugins/audit/lib/api/KalturaAuditTrailContext.php | PHP | agpl-3.0 | 145 |
package io.evercam.androidapp;
import android.os.Bundle;
import android.webkit.WebView;
import io.evercam.androidapp.utils.Constants;
public class AboutWebActivity extends WebActivity
{
@Override
protected void onCreate(Bundle savedInstanceState)
{
super.onCreate(savedInstanceState);
se... | GNUDimarik/evercam-play-android2 | evercamPlay/src/main/java/io/evercam/androidapp/AboutWebActivity.java | Java | agpl-3.0 | 820 |
/*
* get_iframes_content.js
*
* -> returns as a string all innerHTML from current document
* as well as from all iframes present in the document
*/
var phantom_iframes = document.getElementsByTagName('frame'),
iframes_content = '',
iframe_content,
ph_i, ph_j;
if (!phantom_iframes.length) {
phanto... | medialab/hyphe | hyphe_backend/crawler/hcicrawler/spiders/js/get_iframes_content.js | JavaScript | agpl-3.0 | 870 |
<?php declare(strict_types=1);
namespace SmrTest\lib\DefaultGame;
use Smr\UserRanking;
/**
* @covers Smr\UserRanking
*/
class UserRankingTest extends \PHPUnit\Framework\TestCase {
public function test_getName() : void {
$this->assertSame('Expert', UserRanking::getName(6));
}
public function test_getAllNames... | smrealms/smr | test/SmrTest/lib/DefaultGame/UserRankingTest.php | PHP | agpl-3.0 | 1,293 |
{% extends "base.html" %}
{% block content %}
<style>
.form-actions{
margin-bottom:0px;
}
</style>
{% if request.POST %}
<div class="alert alert-error">Your passwords did not match.</div>
{% endif %}
<p>
<form method="POST" class="well form-inline">
{% csrf_token %}
<legend>Confirm your new password</leg... | amcat/amcat | accounts/templates/accounts/recover_confirm.html | HTML | agpl-3.0 | 754 |
## DEPRECATION NOTICE: Do not add new tests to this file!
##
## View and controller tests are deprecated in the Growstuff project
## We no longer write new view and controller tests, but instead write
## feature tests (in spec/features) using Capybara (https://github.com/jnicklas/capybara).
## These test the full stack... | maco/growstuff | spec/views/accounts/new.html.haml_spec.rb | Ruby | agpl-3.0 | 1,125 |
Roast Coins
============
A universal cryptocurrency wallet backend by Roast Beef Sandwich Company.
##Progress
A partial rewrite and significant enhancement set over [Ripple-Coins](https://github.com/RoastBeefSandwichCo/ripple-coins), full functionality is expected by Feb 29, 2016
*update*: get-new-address is complet... | RoastBeefSandwichCo/Roast-Coins | README.md | Markdown | agpl-3.0 | 4,375 |
// Copyright 2016 David Li, Michael Mauer, Andy Jiang
// This file is part of Tell Me to Survive.
// Tell Me to Survive 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 Licens... | lidavidm/cs6360 | server_prototype/static/app/views/controls.ts | TypeScript | agpl-3.0 | 3,982 |
Monitoring for [Rotter](https://www.aelius.com/njh/rotter/).
| radiorabe/rabe-zabbix | app/Rotter/doc/README.head.md | Markdown | agpl-3.0 | 61 |
# -*- coding: utf-8 -*-
# Copyright 2017 Onestein (<http://www.onestein.eu>)
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
from . import test_employee_display_own_info
| VitalPet/addons-onestein | hr_employee_display_own_info/tests/__init__.py | Python | agpl-3.0 | 192 |
{% extends "plain.html" %} | mitar/django-mongo-auth | mongo_auth/contrib/templates/mongo_auth/base.html | HTML | agpl-3.0 | 26 |
{% extends "custom/base-mini.html" %}
{% block content %}
<div class="contentbg">
<div class="post">
<h2 class="title">highlights</h2>
</div>
<div style="clear: both;"> </div>
</div>
{% endblock %}
| cristilav/FLEQ | template/custom/home.html | HTML | agpl-3.0 | 235 |
/*
Classe gerada automaticamente pelo MSTech Code Creator
*/
namespace MSTech.GestaoEscolar.BLL
{
using MSTech.Business.Common;
using MSTech.GestaoEscolar.Entities;
using MSTech.GestaoEscolar.DAL;
using System.Collections.Generic;
using System.Data;
/// <summary>
/// Description: ACA_TipoEventoGrupo Busine... | prefeiturasp/SME-SGP | Src/MSTech.GestaoEscolar.BLL/ACA_TipoEventoGrupoBO.cs | C# | agpl-3.0 | 863 |
<?php
use YesWiki\Core\YesWikiAction;
class CalendrierAction extends YesWikiAction
{
public function formatArguments($arg)
{
if (!empty($arg['class'])) {
$classes = explode(' ', $arg['class']);
$classes = array_combine($classes, $classes);
}
$minical = (isset($a... | YesWiki/yeswiki | tools/bazar/actions/CalendrierAction.php | PHP | agpl-3.0 | 920 |
from django.conf.urls import patterns, url
from application import views
urlpatterns = patterns('',
url(r'^$', views.index, name='index'),
url(r'^(?P<application_id>\d+)/$', views.detail, name='detail'),
url(r'^klogin/(?P<username>\w+)/(?P<password>\w+)/$', views.klogin, name='klogin'),
)
| davidegalletti/koa-proof-of-concept | kag/application/urls.py | Python | agpl-3.0 | 305 |
class FileModel {
readonly fileMetadataId: string;
readonly width: number;
readonly height: number;
readonly takenAt: Date | null;
readonly uploadedAt: Date;
readonly originalFilename: string;
readonly userName: KnockoutObservable<string>;
readonly category: KnockoutObservable<string>;
... | IsaacSchemm/AnonymousPhotoBin | AnonymousPhotoBin/wwwroot/scripts/list.ts | TypeScript | agpl-3.0 | 10,918 |
/*
* This program is part of the OpenLMIS logistics management information
* system platform software.
*
* Copyright © 2015 ThoughtWorks, 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 Softwar... | clintonhealthaccess/lmis-moz-mobile | app/src/main/java/org/openlmis/core/persistence/migrations/AddCreatedTimeToStockMovement.java | Java | agpl-3.0 | 3,056 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.