code
stringlengths
3
1.05M
repo_name
stringlengths
4
116
path
stringlengths
4
991
language
stringclasses
9 values
license
stringclasses
15 values
size
int32
3
1.05M
//===- Module.cpp - Describe a module -------------------------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
sabel83/metashell
3rd/templight/clang/lib/Basic/Module.cpp
C++
gpl-3.0
21,173
<?php /* * Copyright (c) 2011-2015 Lp digital system * * This file is part of BackBee. * * BackBee 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...
cristianangulo/BackBee
Event/Listener/RewritingListener.php
PHP
gpl-3.0
4,420
import React, {Component, PropTypes} from 'react'; import Comment from '../components/Comment'; import SidebarContent from '../components/SidebarContent'; import Switch from '../components/Switch'; const COMMENTS_REFRESH_RATE = 10; class Comments extends Component { constructor(props) { super(props); ...
joshburgess/sound-redux
scripts/components/Comments.js
JavaScript
gpl-3.0
2,988
class ImportLegislators include Worker def self.scheduled? Time.current.day == 1 end def initialize(open_states_service = OpenStates::FetchLegislators.new) @open_states_service = open_states_service end def perform legislator_attrs = @open_states_service .call(fields: fields) .map...
legislated/legislated-api
app/jobs/import_legislators.rb
Ruby
gpl-3.0
1,203
class DistributorsController < ApplicationController # GET /distributors # GET /distributors.json def index if params[:campaign_id] @campaign_id = params[:campaign_id].to_i session[:campaign_id] = @campaign_id else @campaign_id = session[:campaign_id] end @campaign = Campaign.fin...
symfony-openstack/neurotelcal
app/controllers/distributors_controller.rb
Ruby
gpl-3.0
3,332
'use strict'; var async = require('async'), winston = require('winston'), cron = require('cron').CronJob, nconf = require('nconf'), S = require('string'), db = require('./database'), User = require('./user'), groups = require('./groups'), meta = require('./meta'), plugins = require('./plugins'); (function(N...
magination/NodeBB
src/notifications.js
JavaScript
gpl-3.0
11,127
#include "calibrationManager.h" void calibrationManager::setupControlPanel(){ panel.setup("calibration", 1080, 10, 270, 500); panel.addPanel("auto calibration", 1, false); panel.addPanel("display calibration data", 1, false); panel.addPanel("calibration setup", 1, false); panel.addPanel("manual calibration", 1, ...
Superhuman07/eyewriterb
EyeWriterB 2_1_2/eyeWriterTracker/src/calibration/calibrationManager_controlPanel.cpp
C++
gpl-3.0
3,707
package dna.series; import java.io.File; import java.io.IOException; import java.util.ArrayList; import java.util.Arrays; import dna.io.Writer; import dna.io.filesystem.Dir; import dna.io.filesystem.Files; import dna.labels.Label; import dna.labels.LabelList; import dna.labels.labeler.Labeler; import dna.labels.label...
Rwilmes/DNA
src/dna/series/SeriesGeneration.java
Java
gpl-3.0
36,052
/** * Vortex Cafe * * This software and documentation are Copyright 2006 to TO_YEAR ADLINK * Technology Limited, its affiliated companies and licensors. All rights * reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file ex...
PrismTech/opensplice
examples/tmp/demo/ishapes-java5/src/IShapesMain.java
Java
gpl-3.0
4,846
/* * Copyright (C) 2008 Genome Research Limited * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This prog...
mrGeen/Artemis
uk/ac/sanger/artemis/circular/PrintDNAImage.java
Java
gpl-3.0
10,608
# (c) 2012-2014, Michael DeHaan <michael.dehaan@gmail.com> # # This file is part of Ansible # # Ansible 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) an...
ilya-epifanov/ansible
lib/ansible/plugins/action/__init__.py
Python
gpl-3.0
24,960
package lilypad.packet.common; public abstract class Packet { private int opcode; public Packet(int opcode) { this.opcode = opcode; } public int getOpcode() { return this.opcode; } }
romanalexander/Packet-Common
src/main/java/lilypad/packet/common/Packet.java
Java
gpl-3.0
201
package common.driverHandler; import java.io.IOException; import java.lang.reflect.Method; import org.testng.ITestContext; import org.testng.ITestResult; import org.testng.annotations.AfterMethod; import org.testng.annotations.AfterSuite; import org.testng.annotations.BeforeMethod; import org.testng.annotations.Befor...
atomicfruitcake/Seletest
src/common/driverHandler/AbstractDriverHandler.java
Java
gpl-3.0
816
import datetime from django.utils.timezone import now def current_time(): return now() def current_date(): return current_time().date()
danijar/invoicepad
invoicepad/shared/helpers.py
Python
gpl-3.0
142
#!/usr/bin/python # -*- encoding: utf-8 -*- #Importar libreria GPIO import RPi.GPIO as GPIO #Definir modo de trabajo para la placa BCM GPIO.setmode(GPIO.BCM) #Desactivo Errores GPIO.setwarnings(False) #Importamos la libreria time import time #Importamos la libreria para comandos de la consola/shell import os #De...
fryntiz/Raspberry-PI
Obsoleto/Web VIEJA para controlar GPIO/GPIO/4/activar.py
Python
gpl-3.0
465
module FooterHelper end
mrd030485/finna-be-ninja
fpclassifier/app/helpers/footer_helper.rb
Ruby
gpl-3.0
24
/* * Copyright (C) 2014 jonas.oreland@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 version. * * This ...
darander/runnerup
app/src/org/runnerup/workout/Sport.java
Java
gpl-3.0
2,025
/* Copyright (C) 2014-2020 FastoGT. All right reserved. This file is part of FastoNoSQL. FastoNoSQL 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 yo...
fasto/fastonosql
src/gui/workers/discovery_sentinel_connection.cpp
C++
gpl-3.0
1,900
<?php /** * Squiz_Sniffs_Commenting_InlineCommentSniff. * * PHP version 5 * * @category PHP * @package PHP_CodeSniffer * @author Greg Sherwood <gsherwood@squiz.net> * @author Marc McIntyre <mmcintyre@squiz.net> * @copyright 2006 Squiz Pty Ltd (ABN 77 084 670 600) * @license http://matrix.squiz.net/...
ecastro/moodle23ulpgc
local/codechecker/pear/PHP/CodeSniffer/Standards/Squiz/Sniffs/Commenting/InlineCommentSniff.php
PHP
gpl-3.0
9,442
<?php /* @version v5.20.15 24-Nov-2019 @copyright (c) 2000-2013 John Lim (jlim#natsoft.com). All rights reserved. @copyright (c) 2014 Damien Regad, Mark Newnham and the ADOdb community Released under both BSD license and Lesser GPL library license. Whenever there is any discrepancy between the two licenses,...
publicare/publicare
source/adodb/drivers/adodb-odbc_oracle.inc.php
PHP
gpl-3.0
3,272
/**************************************************************************** ** ** Copyright (C) 2016 The Qt Company Ltd. ** Contact: https://www.qt.io/licensing/ ** ** This file is part of Qt Creator. ** ** Commercial License Usage ** Licensees holding valid commercial Qt licenses may use this file in ** accordance w...
Philips14171/qt-creator-opensource-src-4.2.1
tests/unit/echoserver/echoserverprocessmain.cpp
C++
gpl-3.0
2,235
<?php header('WWW-Authenticate: Session realm="Beacon User Dashboard"'); http_response_code(401); ?><h1>Authenticate</h1>
thommcgrath/Beacon
Website/www/dashboard/index.php
PHP
gpl-3.0
123
class Pr0gramm module Flags MAPPING = { sfw: 1, nsfw: 2, nsfl: 4 } REVERSED_MAPPING = MAPPING.invert # digit = Pr0gramm::Flags.digit( [:sfw] ) # digit = Pr0gramm::Flags.digit( [:nsfw] ) # digit = Pr0gramm::Flags.digit( [:sfw, :nsfw] ) # digit = Pr0gramm::Flags.digit( [:...
MaThGo/pr0gramm
lib/pr0gramm/flags.rb
Ruby
gpl-3.0
1,400
<?php // This file is part of Moodle - http://moodle.org/ // // Moodle 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. // // Moodle ...
Dynamic-Business/moodle
enrol/flatfile/lib.php
PHP
gpl-3.0
30,200
// ************************************************************************** // // // BornAgain: simulate and fit scattering at grazing incidence // //! @file Core/Aggregate/InterferenceFunctionNone.cpp //! @brief Implements class InterferenceFunctionNone. //! //! @homepage http://www.bornagainproject.org /...
waltervh/BornAgain
Core/Aggregate/InterferenceFunctionNone.cpp
C++
gpl-3.0
1,150
using System.Collections.Generic; using System.Globalization; namespace Dopamine.Core.Utils { public static class ArrayUtils { public static double[] ConvertArray(string[] array) { var values = new List<double>(); for (int i = 0; i < array.Length; i++) { ...
gjhwssg/Dopamine
Dopamine.Core/Utils/ArrayUtils.cs
C#
gpl-3.0
607
/******************************************************************************* * Copyright (c) 2011-2014 SirSengir. * All rights reserved. This program and the accompanying materials * are made available under the terms of the GNU Lesser Public License v3 * which accompanies this distribution, and is available at...
bdew/ForestryMC
src/main/java/forestry/core/network/EntityNetData.java
Java
gpl-3.0
903
package org.ovirt.engine.ui.userportal.uicommon.model.vm; import org.ovirt.engine.ui.common.presenter.popup.DefaultConfirmationPopupPresenterWidget; import org.ovirt.engine.ui.uicommonweb.models.userportal.UserPortalListModel; import org.ovirt.engine.ui.uicommonweb.models.vms.VmMonitorModel; import org.ovirt.engine.ui...
jtux270/translate
ovirt/frontend/webadmin/modules/userportal-gwtp/src/main/java/org/ovirt/engine/ui/userportal/uicommon/model/vm/VmMonitorModelProvider.java
Java
gpl-3.0
1,912
// This file is part of QTTabBar, a shell extension for Microsoft // Windows Explorer. // Copyright (C) 2007-2010 Quizo, Paul Accisano // // QTTabBar 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 Softw...
lyun/QTTabBar
QTTabBar/Interop/IShellLinkW.cs
C#
gpl-3.0
2,604
/** * \file * Copyright 2014-2015 Benjamin Worpitz * * This file is part of alpaka. * * alpaka is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any ...
erikzenker/alpaka
include/alpaka/stream/cuda/StreamEventTraits.hpp
C++
gpl-3.0
4,382
package org.thoughtcrime.securesms.backup; import androidx.annotation.NonNull; import androidx.annotation.Nullable; import org.greenrobot.eventbus.EventBus; import org.signal.core.util.logging.Log; import org.whispersystems.libsignal.util.ByteUtil; import java.security.MessageDigest; import java.security.NoSuchAlgo...
AsamK/TextSecure
app/src/main/java/org/thoughtcrime/securesms/backup/FullBackupBase.java
Java
gpl-3.0
2,068
import Ember from 'ember'; function onlyOnce(f) { let exec = false; return () => { if(exec) { return; } exec = true; return f(); }; } export default Ember.Component.extend({ audio: Ember.inject.service(), classNames: ['step', 'step-default', 'huayra-step'], classNameBindings: ['acti...
HuayraLinux/huayra-ritmos
app/components/huayra-step.js
JavaScript
gpl-3.0
1,944
#ifndef STAN_MATH_FWD_ARR_FUN_SUM_HPP #define STAN_MATH_FWD_ARR_FUN_SUM_HPP #include <stan/math/fwd/core.hpp> #include <stan/math/prim/arr/fun/sum.hpp> #include <vector> namespace stan { namespace math { /** * Return the sum of the entries of the specified standard * vector. * * @tparam T T...
TomasVaskevicius/bouncy-particle-sampler
third_party/stan_math/stan/math/fwd/arr/fun/sum.hpp
C++
gpl-3.0
797
package br.unb.cic.bionimbuz.rest.response; import org.jboss.resteasy.core.ServerResponse; /** * A Logout response definition * * @author Vinicius */ public class LogoutResponse extends ServerResponse implements ResponseInfo { private boolean logoutSuccess; public LogoutResponse() { } public L...
bionimbuz/BionimbuzClient
src/main/java/br/unb/cic/bionimbuz/rest/response/LogoutResponse.java
Java
gpl-3.0
596
/* * File: TInterpreterRectangle.java * This file is part of Tico, an application to create and perform * interactive communication boards to be used by people with * severe motor disabilities. * * Authors: Isabel Gonz�lez y Carolina Palacio * * Date: Nov, 2009 * * Company: Universidad de Z...
hendyyou/FST
src/tico/interpreter/components/TInterpreterRectangle.java
Java
gpl-3.0
2,381
<?php /** * @file * Exposed Hooks */ /** * Retrieve transcript given some UI settings. If a term * has been searched for, then return highlights as well. * * This hook is invoked if you create a TranscriptUI object * by calling transcripts_ui_ui() with your module name as * the first argument. * * An arra...
digitalutsc/islandora_solution_pack_oralhistories
transcripts_ui/transcripts_ui.api.php
PHP
gpl-3.0
1,590
// Copyright (C) 2017 The Syncthing Authors. // // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this file, // You can obtain one at http://mozilla.org/MPL/2.0/. // +build dragonfly freebsd netbsd openbsd package fs import "githu...
jryans/syncthing
lib/fs/basicfs_watch_eventtypes_kqueue.go
GO
mpl-2.0
517
using System.Numerics; using MiNET.Items; using MiNET.Utils; using MiNET.Worlds; namespace MiNET.Blocks { public class StandingSign : Block { public StandingSign() : base(63) { IsTransparent = true; IsSolid = false; BlastResistance = 5; Hardness = 1; IsFlammable = true; // Only in PE!! } pub...
InPvP/MiNET
src/MiNET/MiNET/Blocks/StandingSign.cs
C#
mpl-2.0
595
var camera; var scene; var renderer; var mesh; var infoSprite = new THREE.Mesh(); var effect; var controls; // var music = document.querySelector('#music'); var clicky = 0; var mouseX = 1; var mouseY = 1; var currentBoost = new THREE.Matrix4().set(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1); var fixOutside = true; //moves you b...
DarkPrince304/webVR-playing-with
js/TwelveToneTiling.js
JavaScript
mpl-2.0
5,865
// Copyright (c) 1999-2004 Brian Wellington (bwelling@xbill.org) package org.xbill.DNS; import java.io.IOException; // TODO: Auto-generated Javadoc /** * Host Information - describes the CPU and OS of a host. * * @author Brian Wellington */ public class HINFORecord extends Record { /** The Constant serialVer...
confluxtoo/finflux_automation_test
browsermob-proxy/src/main/java/org/xbill/DNS/HINFORecord.java
Java
mpl-2.0
2,638
<?php /** * Copyright (C) 2014 Ready Business System * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ namespace Change\Db\Query\Expressions; /** * @name \Cha...
jamiepg1/core-5
Db/Query/Expressions/ExpressionList.php
PHP
mpl-2.0
1,753
// Package kcp - A Fast and Reliable ARQ Protocol package kcp import ( "encoding/binary" "sync/atomic" ) const ( IKCP_RTO_NDL = 30 // no delay min rto IKCP_RTO_MIN = 100 // normal min rto IKCP_RTO_DEF = 200 IKCP_RTO_MAX = 60000 IKCP_CMD_PUSH = 81 // cmd: push data IKCP_CMD_ACK = 82 // ...
jryans/syncthing
vendor/github.com/xtaci/kcp-go/kcp.go
GO
mpl-2.0
22,411
// Chemfiles, a modern library for chemistry file reading and writing // Copyright (C) Guillaume Fraux and contributors -- BSD license #include <cstdio> #include <cstring> #include <cstdint> #include <cassert> #include <limits> #include <string> #include <vector> #include <functional> #include <bzlib.h> #include "ch...
Luthaf/Chemharp
src/files/Bz2File.cpp
C++
mpl-2.0
7,207
// Code generated by protoc-gen-go. DO NOT EDIT. // source: yandex/cloud/vpc/v1/route_table_service.proto package vpc // import "github.com/yandex-cloud/go-genproto/yandex/cloud/vpc/v1" import proto "github.com/golang/protobuf/proto" import fmt "fmt" import math "math" import _ "github.com/yandex-cloud/go-genproto/ya...
bryson/packer
vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/vpc/v1/route_table_service.pb.go
GO
mpl-2.0
43,594
const StorageBucket = require('./StorageBucket') module.exports = new StorageBucket('mailboxes')
openWMail/openWMail
src/app/src/app/storage/mailboxStorage.js
JavaScript
mpl-2.0
97
<?php /** * Kodekit Platform - http://www.timble.net/kodekit * * @copyright Copyright (C) 2011 - 2016 Johan Janssens and Timble CVBA. (http://www.timble.net) * @license MPL v2.0 <https://www.mozilla.org/en-US/MPL/2.0> * @link https://github.com/timble/kodekit-platform for the canonical source repository */ nam...
timble/kodekit-platform
application/admin/component/articles/database/behavior/orderable/flat.php
PHP
mpl-2.0
1,013
/* * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ import { Module } from 'redux-typed-modules'; export interface UIState { mode: string; remaining: number;...
saddieeiddas/Camelot-Unchained
game/hud/src/widgets/Crafting/services/session/ui.ts
TypeScript
mpl-2.0
1,338
/** * @prettier */ const { assert, itMacro, describeMacro } = require('./utils'); const jsdom = require('jsdom'); const locales = { 'en-US': { Firefox_developer_release_notes: 'Firefox developer release notes' }, fr: { Firefox_developer_release_notes: 'Notes de versions pour développeurs'...
a2sheppy/kumascript
tests/macros/firefoxsidebar.test.js
JavaScript
mpl-2.0
1,306
package com.servinglynk.hmis.warehouse.dao; import java.util.List; import com.servinglynk.hmis.warehouse.model.v2014.Error2014; public interface BulkUploadErrorDao { public List<Error2014> getBulkUploadErrorByUploadId(Long bulkUploadId); }
servinglynk/hmis-lynk-open-source
hmis-model-v2014/src/main/java/com/servinglynk/hmis/warehouse/dao/BulkUploadErrorDao.java
Java
mpl-2.0
244
/** * Copyright 2017 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to i...
Kalissaac/Mountainz
node_modules/@firebase/messaging/dist/esm/src/controllers/controller-interface.js
JavaScript
mpl-2.0
6,510
package storehouse // StoreHouse is the abstraction for uploading, // downloading, and managing files/folders at // a specified storage location type StoreHouse interface { StoreFiles(data *StorageData) error } // StorageData is the data used inside the storehouse // when running operations on data // Source is the ...
herman-rogers/Gogeta
pkg/storehouse/storehouse_system.go
GO
mpl-2.0
491
# # Paasmaker - Platform as a Service # # This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/. # import paasmaker from paasmaker.common.core import constants from ..base impo...
kaze/paasmaker
paasmaker/common/job/coordinate/instancejobhelper.py
Python
mpl-2.0
2,748
from openupgradelib import openupgrade @openupgrade.migrate() def migrate(env, installed_version): if not installed_version: return churches = env["res.partner"].search([("is_church", "=", True)]) churches.update_number_sponsorships()
eicher31/compassion-switzerland
partner_compassion/migrations/12.0.1.1.3/post-migration.py
Python
agpl-3.0
258
/* * ProgressIndicatorDelay.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 L...
JanMarvin/rstudio
src/gwt/src/org/rstudio/core/client/widget/ProgressIndicatorDelay.java
Java
agpl-3.0
2,388
/* */ var baseClamp = require('./_baseClamp'), baseToString = require('./_baseToString'), toInteger = require('./toInteger'), toString = require('./toString'); /** * Checks if `string` ends with the given target string. * * @static * @memberOf _ * @since 3.0.0 * @category String * @param {string} [...
mscottnelson/grapph
public/jspm_packages/npm/lodash@4.13.1/endsWith.js
JavaScript
agpl-3.0
1,089
//############################################################################# //# # //# Copyright (C) <2015> <IMS MAXIMS> # //# ...
IMS-MAXIMS/openMAXIMS
Source Library/openmaxims_workspace/ValueObjects/src/ims/therapies/treatment/vo/SportsActivitySessionRefVo.java
Java
agpl-3.0
5,356
<?php /********************************************************************************* * SugarCRM Community Edition is a customer relationship management program developed by * SugarCRM, Inc. Copyright (C) 2004-2012 SugarCRM Inc. * * This program is free software; you can redistribute it and/or modify it under ...
jmertic/sugarplatformdemo
custom/modulebuilder/builds/POSSCON/SugarModules/modules/pos_Sessions/vardefs.php
PHP
agpl-3.0
2,934
# -*- 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 from eve.uti...
mugurrus/superdesk-core
apps/content_filters/content_filter/tests.py
Python
agpl-3.0
26,062
require File.dirname(__FILE__) + '/../spec_helper' describe ClientApplication do fixtures :people, :client_applications, :oauth_tokens before(:each) do @application = ClientApplication.create :name => "Agree2", :url => "http://agree2.com", :person => people(:quentin) end it "should be valid" do @appli...
cgorringe/oscurrency
spec/models/client_application_spec.rb
Ruby
agpl-3.0
796
# frozen_string_literal: true module MedicationRefillHelper include CalendarHelper # Save refill date to Google calendar def save_refill_to_google_calendar(medication) return true unless current_user.google_oauth2_enabled? && new_cal_refill_reminder_needed?(medication) begin ...
HashNotAdam/ifme
app/helpers/medication_refill_helper.rb
Ruby
agpl-3.0
700
//############################################################################# //# # //# Copyright (C) <2015> <IMS MAXIMS> # //# ...
FreudianNM/openMAXIMS
Source Library/openmaxims_workspace/CcoSched/src/ims/ccosched/forms/lkupselect/FormInfo.java
Java
agpl-3.0
3,105
package edu.mit.kc.alert.service; import org.springframework.stereotype.Component; import edu.mit.kc.alert.AlertType; @Component("finalTechnicalReportAlertService") public class FinalTechnicalReportAlertServiceImpl extends AlertServiceBaseImpl implements SystemAlertService { @Override public void createAlerts(Ale...
rashikpolus/MIT_KC
coeus-impl/src/main/java/edu/mit/kc/alert/service/FinalTechnicalReportAlertServiceImpl.java
Java
agpl-3.0
561
# encoding: utf-8 import datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Adding model 'PoliticianInfo' db.create_table('core_politicianinfo', ( ('politician', se...
twhyte/openparliament
parliament/core/migrations/0008_politician_info.py
Python
agpl-3.0
6,821
//############################################################################# //# # //# Copyright (C) <2015> <IMS MAXIMS> # //# ...
IMS-MAXIMS/openMAXIMS
Source Library/openmaxims_workspace/Nursing/src/ims/nursing/domain/impl/BradenScaleVIEWImpl.java
Java
agpl-3.0
5,857
//############################################################################# //# # //# Copyright (C) <2014> <IMS MAXIMS> # //# ...
open-health-hub/openmaxims-linux
openmaxims_workspace/Scheduling/src/ims/scheduling/domain/base/impl/BasePatientAppointmentsImpl.java
Java
agpl-3.0
4,007
package com.plugin.gcm; import org.json.JSONException; import org.json.JSONObject; import android.annotation.SuppressLint; import android.app.Notification; import android.app.NotificationManager; import android.app.PendingIntent; import android.content.Context; import android.content.Intent; import android.os.Bundle;...
sensorlab/OsuSmartphoneApp
plugins/com.phonegap.plugins.PushPlugin/src/android/com/plugin/gcm/GCMIntentService.java
Java
agpl-3.0
4,448
<div style="font-family: Verdana, Arial, sans-serif; font-size: 12px;"> <?php echo lang('hi john doe', $new_account->getDisplayName()) ?>,<br><br> <?php echo lang('user created your account', $new_account->getCreatedByDisplayName()) ?>.<br><br> <?php echo lang('visit and login', ROOT_URL) ?>:<br><br> &nbsp;&...
awebtech/bpmProject
application/views/notifier/new_account.php
PHP
agpl-3.0
899
/* * RapidMiner * * Copyright (C) 2001-2014 by RapidMiner and the contributors * * Complete list of developers available at our web site: * * http://rapidminer.com * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License ...
rapidminer/rapidminer-5
src/com/rapidminer/gui/tools/dialogs/MessageDialog.java
Java
agpl-3.0
1,819
/* Omega User JS Representation * * Copyright (C) 2013 Mohammed Morsi <mo@morsi.org> * Licensed under the AGPLv3 http://www.gnu.org/licenses/agpl.txt */ Omega.User = function(parameters){ $.extend(this, parameters); }; Omega.User.prototype = { json_class : 'Users::User' };
movitto/omega
site/source/javascripts/omega/user.js
JavaScript
agpl-3.0
285
<?php // Copyright (C) 2010-2012 Combodo SARL // // This file is part of iTop. // // iTop 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 ...
ucbpi/itop
setup/ajax.dataloader.php
PHP
agpl-3.0
6,467
/* * RapidMiner * * Copyright (C) 2001-2013 by Rapid-I and the contributors * * Complete list of developers available at our web site: * * http://rapid-i.com * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as pub...
aborg0/RapidMiner-Unuk
src/com/rapidminer/gui/properties/celleditors/value/RepositoryLocationValueCellEditor.java
Java
agpl-3.0
7,059
/* Copyright (C) 1999-2017 Claude SIMON (http://q37.info/contact/). This file is part of the Epeios framework. The Epeios framework 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...
epeios-q37/esketch-cli
src/epeios/lst.cpp
C++
agpl-3.0
1,687
angular.module("viradapp.programacao", []) .factory('Programacao', function() { return { init: function(){console.log("stub service")}, } }) .filter('newlefilter', function(){ /** * This filter receives 3 objects: * 1 - Events Lazy sequence * 2 - Spaces Lazy sequence * 3 - And a ...
hacklabr/emergencias-app-bkp
www/js/programacao.js
JavaScript
agpl-3.0
5,591
class Question < ApplicationRecord belongs_to :creator, :class_name => "Person" belongs_to :modified_by, :class_name => "Person" has_many :answers end
agustinrhcp/advocacycommons
app/models/question.rb
Ruby
agpl-3.0
160
/* * Copyright (C) 2018 - present Instructure, Inc. * * This file is part of Canvas. * * Canvas 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, version 3 of the License. * * Canvas is distribut...
djbender/canvas-lms
app/jsx/speed_grader/AssessmentAuditTray/components/AuditTrail/index.js
JavaScript
agpl-3.0
1,309
/** * Copyright (c) 2011-2015 libbitcoin developers (see AUTHORS) * * This file is part of libbitcoin-explorer. * * libbitcoin-explorer is free software: you can redistribute it and/or * modify it under the terms of the GNU Affero General Public License with * additional permissions to the one published by the F...
tuomassiren/libbitcoin-explorer
include/bitcoin/explorer/commands/cert-new.hpp
C++
agpl-3.0
7,697
# -*- coding: utf-8 -*- # Generated by Django 1.11.2 on 2018-01-15 08:13 from __future__ import unicode_literals import django.db.models.deletion from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('attribution', '0021_attributionnew_substitute'), ] ...
uclouvain/OSIS-Louvain
attribution/migrations/0022_auto_20180115_0913.py
Python
agpl-3.0
579
/* * Funambol is a mobile platform developed by Funambol, Inc. * Copyright (C) 2003 - 2007 Funambol, Inc. * * 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 with the additio...
accesstest3/cfunambol
ds/ds-server/src/main/java/com/funambol/server/engine/Sync4jOperationStatusConflict.java
Java
agpl-3.0
3,079
<?php // created: 2014-04-22 11:18:12 $searchFields['quote_Quotations'] = array ( 'name' => array ( 'query_type' => 'default', ), 'amount' => array ( 'query_type' => 'default', ), 'next_step' => array ( 'query_type' => 'default', ), 'probability' => array ( 'query_type' => 'def...
chip1exchange/xchangecrm
custom/working/modules/quote_Quotations/metadata/SearchFields.php
PHP
agpl-3.0
3,045
# -*- coding: utf-8 -*- from openerp import models, fields, api, SUPERUSER_ID, exceptions import uuid class Volunteer(models.Model): _inherit = 'res.users' REASONS = [ ('no_time', u'Nie mam czasu.'), ('location_change', u'Zmieniam miejsce zamieszkania.'), ('personal_change', u'Zmieni...
EE/bestja
addons/bestja_account_deletion/models.py
Python
agpl-3.0
1,832
//############################################################################# //# # //# Copyright (C) <2015> <IMS MAXIMS> # //# ...
IMS-MAXIMS/openMAXIMS
Source Library/openmaxims_workspace/ValueObjects/src/ims/core/vo/lookups/TransferStatus.java
Java
agpl-3.0
6,344
<?php /** * @author Joas Schilling <coding@schilljs.com> * * @copyright Copyright (c) 2017, ownCloud GmbH * @license AGPL-3.0 * * This code 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 Founda...
sharidas/core
lib/private/DB/QueryBuilder/Parameter.php
PHP
agpl-3.0
1,060
/* * Copyright (C) 2011-2012 DarkCore <http://www.darkpeninsula.eu/> * Copyright (C) 2011-2012 Project SkyFire <http://www.projectskyfire.org/> * Copyright (C) 2008-2012 TrinityCore <http://www.trinitycore.org/> * Copyright (C) 2005-2012 MaNGOS <http://getmangos.com/> * This program is free software; you can redis...
Darkpeninsula/Darkcore
src/server/scripts/Northrend/UtgardeKeep/UtgardePinnacle/boss_skadi.cpp
C++
agpl-3.0
19,460
# -*- coding: utf-8 -*- ############################################################################## # # OpenERP, Open Source Management Solution # Copyright (C) 2004-2010 Tiny SPRL (<http://tiny.be>). # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU...
nicobustillos/odoo
addons/product/product.py
Python
agpl-3.0
64,968
<?php namespace SPHERE\Application\Platform\Gatekeeper\Authorization\Consumer; use SPHERE\Application\Platform\Gatekeeper\Authorization\Consumer\Service\Entity\TblConsumer; use SPHERE\Common\Frontend\Form\Repository\Button\Primary; use SPHERE\Common\Frontend\Form\Repository\Field\TextField; use SPHERE\Common\Frontend\...
DerDu/SPHERE-Framework
Application/Platform/Gatekeeper/Authorization/Consumer/Frontend.php
PHP
agpl-3.0
2,922
/*----------------------------------------------------------------------*/ /* Fonction qui verifie si la valeur d'un element est vide ou pas */ /*----------------------------------------------------------------------*/ function isEmpty(element) { var tmp; if(element.value == "") { tmp = true; } else { ...
theclimber/Bilboplanet
javascript/functions.js
JavaScript
agpl-3.0
1,871
# # Copyright (C) 2014 - present Instructure, Inc. # # This file is part of Canvas. # # Canvas 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, version 3 of the License. # # Canvas is distributed in the ...
venturehive/canvas-lms
app/models/importers.rb
Ruby
agpl-3.0
1,627
<?php /** * Mno Organization Interface */ class MnoSoaBaseOrganization extends MnoSoaBaseEntity { protected $_mno_entity_name = "organizations"; protected $_create_rest_entity_name = "organizations"; protected $_create_http_operation = "POST"; protected $_update_rest_entity_name = "organizations"; ...
maestrano/fengoffice
maestrano/lib/mno-php/src/soa/MnoSoaBaseOrganization.php
PHP
agpl-3.0
10,140
require 'spec_helper' RSpec.describe PeopleParams do let(:params) do { name: 'Bruce Lee', street: 'Leestreet 12a', zip: '1234567', city: 'China City', phone_numbers: [ { type: 'office', number: '1234556778', } ] } end let(:instance) ...
wtag/bookyt
spec/services/people_params_spec.rb
Ruby
agpl-3.0
2,495
// // Copyright (C) 2013-2018 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. // /...
vankesteren/jasp-desktop
JASP-Desktop/analysis/jaspdoublevalidator.cpp
C++
agpl-3.0
3,317
/** * PUSH Notification server * (c) Telefonica Digital, 2012 - All rights reserved * License: GNU Affero V3 (see LICENSE file) * Fernando Rodríguez Sela <frsela@tid.es> * Guillermo Lopez Leal <gll@tid.es> */ var mn = require('../../src/common/MobileNetwork.js'), assert = require('assert'), vows = requir...
frsela/notification_server
test/unit/mobilenetwork-test-disabled.js
JavaScript
agpl-3.0
7,485
<?php if (!defined('WFWAF_VIEW_RENDERING')) { exit; } /** @var wfWAF $waf */ /** @var wfWAFView $this */ /* * IMPORTANT: * * If the form variables below change name or format, admin.ajaxWatcher.js in the main plugin also needs changed. It * processes these to generate its whitelist button. */ $method = wfWAFUt...
akvo/akvo-sites-zz-template
code/wp-content/plugins/wordfence/vendor/wordfence/wf-waf/src/views/403-roadblock.php
PHP
agpl-3.0
11,617
/* * Data HUb Service (DHuS) - For Space data distribution. * Copyright (C) 2013,2014,2015,2016 European Space Agency (ESA) * Copyright (C) 2013,2014,2015,2016 GAEL Systems * Copyright (C) 2013,2014,2015,2016 Serco Spa * * This file is part of DHuS software sources. * * This program is free software: you can ...
calogera/DataHubSystem
client/webclient/src/main/frontend/app/scripts/services/authentication-service.js
JavaScript
agpl-3.0
2,781
/* Copyright (C) 2014-2016 Leosac This file is part of Leosac. Leosac 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...
islog/leosac
src/core/audit/GroupEvent.cpp
C++
agpl-3.0
3,569
# Include the specified classes # For documentation see the 3.x stub Puppet::Functions.create_function(:include, Puppet::Functions::InternalFunction) do dispatch :include do scope_param # The function supports what the type system sees as Ruby runtime objects, and # they cannot be parameterized to find wh...
nwops/puppet-retrospec
vendor/pup410/lib/puppet/functions/include.rb
Ruby
agpl-3.0
885
//############################################################################# //# # //# Copyright (C) <2015> <IMS MAXIMS> # //# ...
IMS-MAXIMS/openMAXIMS
Source Library/openmaxims_workspace/ValueObjects/src/ims/correspondence/vo/TemplateAssociationsVo.java
Java
agpl-3.0
10,695
# -*- coding: utf-8 -*- # This file is part of Shuup. # # Copyright (c) 2012-2016, Shoop 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 django.utils.translation import ugettext_lazy as _ from enumfields impo...
shawnadelic/shuup
shuup/core/suppliers/enums.py
Python
agpl-3.0
553
Networkx MultiGraph API: (Adjacency dict is the main data structure) G.adj = G.edge # Adjacency dict with {node1: {node2: {edge_key: {edge attr dict}}}} G.edge[node1][node2] = G[node1][node2] = {edge_key: {edge attr dict}} G.node[node1] = {dict with node attr} G.edges(nbunch, keys=True) => [list with (source, targe...
scholer/nascent
notes/Networkx_notes.py
Python
agpl-3.0
538
/******************************************************************************* * HELIUM V, Open Source ERP software for sustained success * at small and medium-sized enterprises. * Copyright (C) 2004 - 2014 HELIUM V IT-Solutions GmbH * * This program is free software: you can redistribute it and/or modify * it...
heliumv/restapi
src/com/heliumv/calltrace/TraceData.java
Java
agpl-3.0
2,781
/** * Copyright (c) 2011-2015 libbitcoin developers (see AUTHORS) * * This file is part of libbitcoin-explorer. * * libbitcoin-explorer is free software: you can redistribute it and/or * modify it under the terms of the GNU Affero General Public License with * additional permissions to the one published by the F...
tuomassiren/libbitcoin-explorer
include/bitcoin/explorer/commands/genpriv.hpp
C++
agpl-3.0
6,475