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
// META: timeout=long // META: script=../util/helpers.js // META: script=failures.js run_test(["AES-CTR"]);
mbrubeck/servo
tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/failures_AES-CTR.https.any.js
JavaScript
mpl-2.0
108
from tqdm import tqdm from django.core.management.base import BaseCommand from django.db.models import Exists, OuterRef from ...models import Locality, Operator, Service class Command(BaseCommand): def handle(self, *args, **options): for locality in tqdm(Locality.objects.with_documents()): loc...
jclgoodwin/bustimes.org.uk
busstops/management/commands/update_search_indexes.py
Python
mpl-2.0
1,072
# -*- coding: utf-8 -*- # Generated by Django 1.11.9 on 2018-05-01 08:10 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('os2webscanner', '0013_auto_20180501_1006'), ] operations = [ migrations.AlterModelT...
os2webscanner/os2webscanner
django-os2webscanner/os2webscanner/migrations/0014_auto_20180501_1010.py
Python
mpl-2.0
408
/* 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/. */ pvc.BaseChart .add({ /** * A map of {@link pvc.visual.Role} by name. * Do NOT modify the returned ob...
Abpaula/ccc
package-res/ccc/core/base/chart/chart.visualRoles.js
JavaScript
mpl-2.0
7,092
/** * Add a context menu item to borderify the current tab. */ browser.menus.create({ id: "borderify-current-tab", title: "Borderify current tab", contexts: ["all"] }); /** * The borderify CSS. */ const borderCSS = 'body { border: 5px solid red };'; /* * Borderifies the current tab, and, using setTabValue,...
mdn/webextensions-examples
session-state/background.js
JavaScript
mpl-2.0
1,698
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Microsoft.Office.Interop.Outlook; using Google.Apis.Calendar.v3.Data; namespace OutlookGoogleCalendarSync.OutlookOgcs { public interface Interface { void Connect(); void Disconnect(Boolean onlyWhenNoGUI = f...
phw198/OutlookGoogleCalendarSync
src/OutlookGoogleCalendarSync/OutlookOgcs/OutlookInterface.cs
C#
mpl-2.0
1,665
/*---------------------------------------------------------- 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/. ----------------------------------------------------------*/ u...
EvilBeaver/OneScript
src/oscript/MeasureBehavior.cs
C#
mpl-2.0
1,029
/** * An implementation for the IView, using SDL. * * License: Mozilla Public License Version 2.0 (https://www.mozilla.org/en-US/MPL/2.0/ OR See accompanying file LICENSE) * Authors: * - Dan Printzell */ #pragma once #include <hydra/ext/api.hpp> #include <hydra/view/view.hpp> #include <memory> namespace Hydra:...
HydraInteractive/Hydra
hydra_graphics/include/hydra/view/sdlview.hpp
C++
mpl-2.0
433
define(['Container', 'NumberStyle'], function(Container, NumberStyle) { /** * Percentage, between cow and ship, that the beam should end at * @const * @type number */ var MAX_BEAM_DISTANCE = 100; /** * Percentage, between ship and cow, that the beam should start at * @const * @type number ...
BYU-ODH/vocal-abduction
app/js/Beam.js
JavaScript
mpl-2.0
8,135
//go:build !consulent // +build !consulent package structs import ( "hash" "github.com/hashicorp/consul/acl" "github.com/hashicorp/consul/types" ) var emptyEnterpriseMeta = EnterpriseMeta{} // EnterpriseMeta stub type EnterpriseMeta struct{} func (m *EnterpriseMeta) ToEnterprisePolicyMeta() *acl.EnterprisePoli...
hashicorp/consul
agent/structs/structs_oss.go
GO
mpl-2.0
5,467
var wirelib = (function() { var canvas, context, width, height, lines = [], cx, cy, cz, fl = 250, interval, loopCallback, running; function initWithCanvas(aCanvas) { canvas = aCanvas; if(canvas !== undefined) { width = canvas.width; height = canvas.heig...
heliogabalo/The-side-of-the-source
Codigo/Games/Efects/3D-wirelib/wirelib.js
JavaScript
mpl-2.0
7,221
function listener(details) { let filter = browser.webRequest.filterResponseData(details.requestId); let decoder = new TextDecoder("utf-8"); let encoder = new TextEncoder(); filter.ondata = event => { let str = decoder.decode(event.data, {stream: true}); // Just change any instance of Example in ...
mdn/webextensions-examples
http-response/background.js
JavaScript
mpl-2.0
667
/** * Created by slanska on 2016-12-30. */ ///<reference path="../typings/tsd.d.ts"/> import {TestService} from './helper'; describe('rolesManagement', () => { it('create a new role', (done) => { done(); }); it('delete non referenced role', (done) => { done(); }); it('...
slanska/nauth2
test/09_RoleManagement.ts
TypeScript
mpl-2.0
938
/** * 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/. */ var caesar = require("./caesar"); exports["test encrypt/decrypt"] = function(assert) { /* verify decrypting...
jeffreystarr/plainsight-addon
test/test-caesar.js
JavaScript
mpl-2.0
1,791
package main import ( "context" "fmt" "github.com/gogf/gf/v2/frame/g" "github.com/gogf/gf/v2/i18n/gi18n" ) func main() { var ( orderId = 865271654 orderAmount = 99.8 ) fmt.Println(g.I18n().Tf( gi18n.WithLanguage(context.TODO(), `en`), `{#OrderPaid}`, orderId, orderAmount, )) fmt.Println(g.I18n()....
EngineQ/gf
.example/i18n/gi18n/gi18n.go
GO
mpl-2.0
417
#include <iostream> #include <cpplogger/cllogger.h> #include <ccsseqqueue.h> #include <cctest.h> #include <functional> #include <ffoption.h> using namespace std; int main(int argc, char** argv) { ff::CommandOption *ffop = ff::CommandOption::getInstance(); ffop->parseArgv(argc, argv); ffop->debugOption()...
araraloren/FunctionFind
src/main.cpp
C++
mpl-2.0
874
package main import ( "fmt" "testing" ) var config ConfigFile = ConfigFile{} var strmCfg = StreamConfig{ "streamName", "name", "type", "url", "StreamApiKey", "RecordFormatString", nil, nil, } /* * Valid configuration - take timestamp as is */ func TestValidateEmtpySrcDest(t *testing.T) { var attrs = []A...
rem7/pushr
config_validate_timestamp_test.go
GO
mpl-2.0
3,623
<?php namespace Honeybee\Infrastructure\Migration; use Honeybee\Common\Error\RuntimeError; use Honeybee\Common\Util\PhpClassParser; use Honeybee\Common\Util\StringToolkit; use Honeybee\Infrastructure\Config\ConfigInterface; use Honeybee\ServiceLocatorInterface; use Symfony\Component\Finder\Finder; class FileSystemLo...
honeybee/honeybee
src/Infrastructure/Migration/FileSystemLoader.php
PHP
mpl-2.0
2,574
################################################################################ # THIS FILE IS 100% GENERATED BY ZPROJECT; DO NOT EDIT EXCEPT EXPERIMENTALLY # # Please refer to the README for information about making permanent changes. # #############################################################################...
taotetek/zchannel
bindings/ruby/lib/zchannel/ffi.rb
Ruby
mpl-2.0
1,821
/* 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/. */ package etomica.data.meter; import etomica.data.DataSourceScalar; import etomica.integrator.IntegratorMD; import ...
ajschult/etomica
etomica-core/src/main/java/etomica/data/meter/MeterKineticEnergyFromIntegrator.java
Java
mpl-2.0
1,108
/** * The title screen. */ // SDK imports import ui.View; import ui.ImageView; import ui.TextView as TextView; import ui.widget.ButtonView as ButtonView; exports = Class(ui.ImageView, function (supr) { this.init = function (opts) { this._config = JSON.parse(CACHE['resources/conf/config.json']); ...
spil-peter-forgacs/weebubble
src/TitleScreen.js
JavaScript
mpl-2.0
1,827
package org.mozilla.mozstumbler; import android.net.Uri; import android.os.Bundle; import android.app.Activity; import android.content.Intent; import android.view.Menu; import android.view.View; import android.widget.TextView; public class AboutActivity extends Activity { private static final String ABOUT_PAGE_UR...
5y/MozStumbler
src/org/mozilla/mozstumbler/AboutActivity.java
Java
mpl-2.0
1,423
#include "plastiqmethod.h" #include "plastiqqvboxlayout.h" #include "widgets/PlastiQQBoxLayout/plastiqqboxlayout.h" #include <QVBoxLayout> QHash<QByteArray, PlastiQMethod> PlastiQQVBoxLayout::plastiqConstructors = { { "QVBoxLayout()", { "QVBoxLayout", "", "QVBoxLayout*", 0, PlastiQMethod::Public, PlastiQMethod::...
ArtMares/PQStudio
Builder/plastiq/include/widgets/PlastiQQVBoxLayout/plastiqqvboxlayout.cpp
C++
mpl-2.0
4,622
package arm import ( "context" "github.com/hashicorp/packer-plugin-sdk/multistep" packersdk "github.com/hashicorp/packer-plugin-sdk/packer" "github.com/hashicorp/packer/builder/azure/common/constants" ) type StepSetCertificate struct { config *Config say func(message string) error func(e error) } func Ne...
ricardclau/packer
builder/azure/arm/step_set_certificate.go
GO
mpl-2.0
941
#include "stdafx.h" #include "Map.h" #include "ShapeEditor.h" #include "EditorHelper.h" #include "MeasuringHelper.h" // ******************************************************* // OnSetCursor() // ******************************************************* BOOL CMapView::OnSetCursor(CWnd* pWnd, UINT nHitTest, UIN...
MapWindow/MapWinGIS
src/Control/Map_Cursors.cpp
C++
mpl-2.0
5,919
package openstack import ( "context" "fmt" imageservice "github.com/gophercloud/gophercloud/openstack/imageservice/v2/images" "github.com/hashicorp/packer-plugin-sdk/multistep" packersdk "github.com/hashicorp/packer-plugin-sdk/packer" ) type stepUpdateImageVisibility struct{} func (s *stepUpdateImageVisibility...
ricardclau/packer
builder/openstack/step_update_image_visibility.go
GO
mpl-2.0
1,429
package common import ( "context" "fmt" "log" "github.com/hashicorp/packer-plugin-sdk/multistep" packersdk "github.com/hashicorp/packer-plugin-sdk/packer" ) // This step suppresses any messages that VMware product might show. type StepSuppressMessages struct{} func (s *StepSuppressMessages) Run(ctx context.Con...
ricardclau/packer
builder/vmware/common/step_suppress_messages.go
GO
mpl-2.0
846
package org.playorm.nio.test; import java.io.IOException; import java.nio.ByteBuffer; import java.util.logging.Logger; import javax.net.ssl.SSLEngine; import junit.framework.TestCase; import org.playorm.nio.api.deprecated.ChannelServiceFactory; import org.playorm.nio.api.libs.AsyncSSLEngine; import org.playorm.nio....
deanhiller/channelmanager2
input/javasrc/org/playorm/nio/test/TestNewAsynchSSLEngine2.java
Java
mpl-2.0
15,075
/*此标记表明此文件可被设计器更新,如果不允许此操作,请删除此行代码.design by:agebull designer date:2019/4/10 10:44:52*/ #region using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.ComponentModel; using System.Configuration; using System.Data; using System.Diagnostics; using System.Linq; using System.Lin...
agebullhu/AgebullDesigner
demo/src/HPC/HpcUser/Model/Business/User/UserBusinessLogic.cs
C#
mpl-2.0
2,573
package services.ntr.pms.model.history; import java.sql.Timestamp; import services.ntr.pms.service.information.Nameable; public class TransactionHistory implements Nameable{ private int transactionId; private int amount; private String type; private long payoutTime; private long payerAccountId; private String...
NYPD/pms
src/services/ntr/pms/model/history/TransactionHistory.java
Java
mpl-2.0
1,929
class A(object): def something(self): return 3
caterinaurban/Typpete
typpete/unittests/inference/explicit_object_superclass.py
Python
mpl-2.0
58
/** * Input Field for JSON-schema type:object. * * 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/. * * This Source Code includes react-jsonschema-form * released u...
mozilla-iot/gateway
static/js/schema-form/object-field.js
JavaScript
mpl-2.0
4,632
require 'test_helper' class ApplicationSettingTest < ActiveSupport::TestCase teardown do ApplicationSetting.update_settings ApplicationSetting.defaults ApplicationSetting.apply! end describe "class methods" do describe "::update_settings" do it "should update only known params" do Ap...
rideconnection/clearinghouse
test/unit/application_setting_test.rb
Ruby
agpl-3.0
2,462
# -*- coding: utf-8 -*- # (c) 2015 Incaser Informatica S.L. - Sergio Teruel # (c) 2015 Incaser Informatica S.L. - Carlos Dauden # License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html from openerp import models, fields, api from openerp.tools.float_utils import float_round import decimal tipo_articulo = {'pr...
incaser/incaser-odoo-addons
export_sagelc/models/account_invoice.py
Python
agpl-3.0
10,115
/** */ package com.euclideanspace.casl.editor; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EObject; /** * <!-- begin-user-doc --> * A representation of the model object '<em><b>Var Decl</b></em>'. * <!-- end-user-doc --> * * <p> * The following features are supported: * <ul> * <...
martinbaker/caslEdit
com.euclideanspace.casl/src-gen/com/euclideanspace/casl/editor/VarDecl.java
Java
agpl-3.0
3,054
/* This file is part of VoltDB. * Copyright (C) 2008-2018 VoltDB Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any la...
simonzhangsm/voltdb
src/frontend/org/voltdb/compiler/VoltCompilerReader.java
Java
agpl-3.0
1,169
from .sources import TestSources __all__ = ["TestSources"]
kaini/newslist
server/newslist/tests/__init__.py
Python
agpl-3.0
60
/* All emon_widgets code is released under the GNU General Public License v3. See COPYRIGHT.txt and LICENSE.txt. Part of the OpenEnergyMonitor project: http://openenergymonitor.org Author: Trystan Lea: trystan.lea@googlemail.com If you have any questions please get in touch, try the forums here: ...
thaipowertech/emoncms
Modules/vis/widget/vis_render.js
JavaScript
agpl-3.0
9,506
<?php /* * @author Anakeen * @license http://www.fsf.org/licensing/licenses/agpl-3.0.html GNU Affero General Public License * @package FDL */ /** * Modify family preferences * * @author Anakeen 2007 * @version $Id: generic_modprefs.php,v 1.2 2007/05/04 16:11:40 eric Exp $ * @license http://www.fsf.org/licensing...
Eric-Brison/dynacase-core
Action/Generic/generic_modprefs.php
PHP
agpl-3.0
2,008
/** * Copyright (C) 2001-2020 by RapidMiner and the contributors * * Complete list of developers available at our web site: * * http://rapidminer.com * * This program is free software: you can redistribute it and/or modify it under the terms of the * GNU Affero General Public License as published by ...
rapidminer/rapidminer-studio
src/main/java/com/rapidminer/example/AttributeIterator.java
Java
agpl-3.0
2,654
/* * Copyright (C) 2000 - 2021 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 spec...
SilverDav/Silverpeas-Core
core-library/src/main/java/org/silverpeas/core/contribution/attachment/util/AttachmentSettings.java
Java
agpl-3.0
4,900
class CreateAddressGroups < ActiveRecord::Migration def change create_table :address_groups do |t| t.string :name t.timestamps end end end
camsys/ridepilot
db/migrate/20170625200226_create_address_groups.rb
Ruby
agpl-3.0
164
/*////////////////////////////////////////////////////////////////// //// SKIRT -- an advanced radiative transfer code //// //// © Astronomical Observatory, Ghent University //// ///////////////////////////////////////////////////////////////// */ #include <cmath> #include "BrokenExpDiskGeo...
SKIRT/SKIRT
SKIRTcore/BrokenExpDiskGeometry.cpp
C++
agpl-3.0
5,220
/* * 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/krad/datadictionary/validation/constraint/CommonLookup.java
Java
agpl-3.0
2,587
/* * 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-purap/src/test/java/org/kuali/kfs/module/purap/fixture/RequisitionAccountingLineFixture.java
Java
agpl-3.0
6,153
# -*- coding: utf-8 -*- ############################################################################## # # Product GTIN module for Odoo # Copyright (C) 2004-2011 Tiny SPRL (<http://tiny.be>). # Copyright (C) 2010-2011 Camptocamp (<http://www.camptocamp.at>) # # This program is free software: you can redistr...
cgstudiomap/cgstudiomap
main/parts/product-attribute/product_gtin/product_gtin.py
Python
agpl-3.0
5,465
import { combineReducers } from 'redux' const FETCH_ENTRIES = 'FETCH_ENTRIES' const RECEIVE_ENTRIES = 'RECEIVE_ENTRIES' const RECEIVE_MORE_ENTRIES = 'RECEIVE_MORE_ENTRIES' const RECEIVE_ERROR = 'RECEIVE_ERROR' const INSERT_ENTRIES = 'INSERT_ENTRIES' const UPDATE_ENTRIES = 'UPDATE_ENTRIES' const DELETE_ENTRY = 'DELETE_...
enguerran/cozy-files-v3
src/photos/ducks/lists/index.js
JavaScript
agpl-3.0
5,918
class API::Logger def initialize(app) @app = app end def call(env) payload = { remote_addr: env['REMOTE_ADDR'], request_method: env['REQUEST_METHOD'], request_path: env['PATH_INFO'], request_query: env['QUERY_STRING'], x_organization: env['HTTP_X_ORGANIZATION'] } ...
Loos/bike_index
app/controllers/api/logger.rb
Ruby
agpl-3.0
745
import { DataSourcePluginOptionsEditorProps, onUpdateDatasourceJsonDataOptionChecked, SelectableValue, updateDatasourcePluginJsonDataOption, } from '@grafana/data'; import { EventsWithValidation, InlineFormLabel, LegacyForms, regexValidation } from '@grafana/ui'; import React, { SyntheticEvent } from 'react'; i...
grafana/grafana
public/app/plugins/datasource/prometheus/configuration/PromSettings.tsx
TypeScript
agpl-3.0
5,824
/*===================================================================== PIXHAWK Micro Air Vehicle Flying Robotics Toolkit (c) 2009, 2010 PIXHAWK PROJECT <http://pixhawk.ethz.ch> This file is part of the PIXHAWK project PIXHAWK is free software: you can redistribute it and/or modify it under the terms of th...
josephlewis42/UDenverQGC
src/ui/WaypointList.cc
C++
agpl-3.0
20,720
<?php // created: 2013-02-07 16:25:26 $sugar_config = array ( 'admin_access_control' => false, 'admin_export_only' => false, 'cache_dir' => 'cache/', 'calculate_response_time' => true, 'calendar' => array ( 'default_view' => 'week', 'show_calls_by_default' => true, 'show_tasks_by_default' => tr...
harish-patel/rrd
config.php
PHP
agpl-3.0
9,128
<?php /** * Data class for happenings * * PHP version 5 * * @category Data * @package StatusNet * @author Evan Prodromou <evan@status.net> * @license http://www.fsf.org/licensing/licenses/agpl.html AGPLv3 * @link http://status.net/ * * StatusNet - the distributed open-source microblogging tool * Cop...
gayathri6/stepstream_salute
plugins/Event/UserPoints.php
PHP
agpl-3.0
3,036
<?php /********************************************************************************* * Zurmo is a customer relationship management program developed by * Zurmo, Inc. Copyright (C) 2013 Zurmo Inc. * * Zurmo is free software; you can redistribute it and/or modify it under * the terms of t...
jhuymaier/zurmo
app/protected/modules/zurmo/models/CurrencyValue.php
PHP
agpl-3.0
6,523
/* * Copyright (C) 2015 DECOIT GmbH * * 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 i...
decoit/siem-gui-imonitor
src/main/java/de/decoit/siemgui/domain/rules/CorrelationRule.java
Java
agpl-3.0
1,269
(function () { 'use strict'; var WindowSize = Class.create({ width: function() { var myWidth = 0; if (typeof(window.innerWidth) == 'number') { //Non-IE myWidth = window.innerWidth; } else if (documen...
boa-project/boa
src/boa/plugins/gui.ajax/res/js/core/DateTimePicker.class.js
JavaScript
agpl-3.0
113,199
importPackage(Packages.tools); var returnTo = new Array(103000100, 103000310); var rideTo = new Array(103000310, 103000100); var trainRide = new Array(103000301, 103000302); var myRide; var returnMap; var exitMap; var map; var onRide; //Time Setting is in millisecond var rideTime = 10 * 1000; function init() { r...
ronancpl/MapleSolaxiaV2
scripts/event/KerningTrain.js
JavaScript
agpl-3.0
2,133
// TriangleCanvas.js import React from 'react'; import Trianglify from 'trianglify'; import './TriangleCanvas.scss'; /** Canvas with Trianglify styling applied, equal in size to current window, can be used as a sweet background. Will automatically size to window's width and height. @prop cellSize: cell_size optio...
uclaradio/uclaradio
client/react/frontpage/components/TriangleCanvas.js
JavaScript
agpl-3.0
1,331
<?php namespace App\Services\Immoware24; use App\Models\RentDefinition; use Carbon\Carbon; use Exception; class RentalContractsMapper extends Mapper { protected $tenants; protected $phones; protected $faxs; protected $emails; protected $SEPAMandate; protected $unit; protected $start, $e...
BerlusGmbH/Berlussimo
app/Services/Immoware24/RentalContractsMapper.php
PHP
agpl-3.0
8,701
OC.L10N.register( "workflowengine", { "Saved" : "Bewaard", "Saving failed:" : "Opslaan mislukt:", "File MIME type" : "Mimetype bestand", "is" : "is", "is not" : "is niet", "matches" : "komt overeen", "does not match" : "komt niet overeen", "Example: {placeholder}" : "Bijvoorbeeld...
pixelipo/server
apps/workflowengine/l10n/nl.js
JavaScript
agpl-3.0
3,565
/* * PHEX - The pure-java Gnutella-servent. * Copyright (C) 2001 - 2007 Phex Development Group * * 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 *...
deepstupid/phex
src/main/java/phex/http/Range.java
Java
agpl-3.0
4,812
using System.Collections.Generic; namespace galaxy.core.misc.figuredata.types { class FigureSet { public SetType Type { get; set; } public int PalletId { get; set; } private Dictionary<int, Set> _sets; public FigureSet(SetType type, int palletId) { this.Ty...
helloimcasper/GalaxyEmulator
galaxy.core/misc/figuredata/types/FigureSet.cs
C#
agpl-3.0
583
/* * Copyright (c) 2012 - 2020 Splice Machine, Inc. * * This file is part of Splice Machine. * Splice Machine 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, or (at your option) ...
splicemachine/spliceengine
splice_access_api/src/main/java/com/splicemachine/access/api/PartitionCreator.java
Java
agpl-3.0
2,043
<?php /** * zCorrecteurs.fr est le logiciel qui fait fonctionner www.zcorrecteurs.fr * * Copyright (C) 2012-2019 Corrigraphie * * 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, eit...
zcorrecteurs/monolith-www
src/Zco/Bundle/ContentBundle/Controller/SearchController.php
PHP
agpl-3.0
6,183
/* * _ _ _ * | | | | | | * | | __ _| |__ ___ ___ __ _| |_ Labcoat (R) * | |/ _` | '_ \ / __/ _ \ / _` | __| Powerful development environment for Quirrel. * | | (_| | |_) | (_| (_) | (_| | |_ Copyright (C) 2010 - 2013...
precog/labcoat-legacy
js/ace/model/editor.js
JavaScript
agpl-3.0
3,492
/*************************************************************************** helpaboutform.cpp - description ------------------- begin : Tue Apr 22 2003 copyright : (C) 2003 by Lalescu Liviu email : Please see ...
rodolforg/fet
src/interface/helpaboutform.cpp
C++
agpl-3.0
41,583
import { t } from '@lingui/macro'; import { formatPercentage } from 'common/format'; import SPELLS from 'common/SPELLS'; import { SpellIcon } from 'interface'; import { SpellLink } from 'interface'; import Analyzer, { SELECTED_PLAYER } from 'parser/core/Analyzer'; import Events from 'parser/core/Events'; import { Thres...
anom0ly/WoWAnalyzer
analysis/monkbrewmaster/src/modules/spells/BlackoutCombo.js
JavaScript
agpl-3.0
4,812
/* * Claudia Project * http://claudia.morfeo-project.org * * (C) Copyright 2010 Telefonica Investigacion y Desarrollo * S.A.Unipersonal (Telefonica I+D) * * See CREDITS file for info about members and contributors. * * This program is free software; you can redistribute it and/or modify * it under the terms of the Affe...
StratusLab/claudia
clotho/src/main/java/com/telefonica/claudia/slm/deployment/hwItems/NIC.java
Java
agpl-3.0
4,281
$(document).ready(function () { var pathArray = window.location.pathname.split( '/' ); var targetname = pathArray[pathArray.length -1]; $('#targetloglist').DataTable({ 'paging' : true, 'lengthChange': false, 'searching' : true, 'ordering' : true, 'order...
LibrIT/passhport
passhweb/app/static/librit/scripts/target_lastconnections.js
JavaScript
agpl-3.0
682
// Copyright (c) 2012, 2013 Pierre MOULON. // 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/. #include <cstdlib> #include "openMVG/sfm/sfm.hpp" #include "openMVG/sys...
rogermm14/rec3D
modifications_openmvg/main_IncrementalSfM.cpp
C++
agpl-3.0
14,201
<?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/Soap/Models/PlentySoapResponse/AddItemAttributeValueSets.php
PHP
agpl-3.0
1,498
# -*- coding: utf-8 -*- import minimongo import osm import pymongo.collection import logging import re import stitch def is_area(way): return len(way.nodes)\ and way.nodes[0] == way.nodes[-1]\ and ('area' in way.tags and way.tags['area'] == 'yes'\ or (not 'highway' in way.tags\ ...
larroy/osmtransform
planet/__init__.py
Python
agpl-3.0
7,567
<?php /* * Fusio * A web-application to create dynamically RESTful APIs * * Copyright (C) 2015-2020 Christoph Kappestein <christoph.kappestein@gmail.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published by * the F...
k42b3/fusio-impl
src/Event/Plan/Contract/UpdatedEvent.php
PHP
agpl-3.0
2,052
# Copyright (C) 2007, 2008, 2009, 2010, 2011, 2012, 2013 The Collaborative Software Foundation # # This file is part of TriSano. # # TriSano is free software: you can redistribute it and/or modify it under the # terms of the GNU Affero General Public License as published by the # Free Software Foundation, either versio...
JayBoyer/new-trisano
webapp/features/enhanced_step_definitions/event_encounter_delete_steps.rb
Ruby
agpl-3.0
1,391
<?php /* * FUPS: Forum user-post scraper. An extensible PHP framework for scraping and * outputting the posts of a specified user from a specified forum/board * running supported forum software. Can be run as either a web app or a * commandline script. * * Copyright (C) 2013-2015 Laird Shaw. * * This program ...
ezeql/fups
common.php
PHP
agpl-3.0
15,661
<?php //***************************************************************************** // This will allow occurrences of a database table to be deleted. // The identity of the selected occurrence(s) is passed from the previous screen. //***************************************************************************** $tabl...
apmuthu/radicore
radicore/menu/mnu_role(del1).php
PHP
agpl-3.0
526
<?php include_once "lib/functions.php"; include_once "colpr-config.php"; if (!isset($_SESSION["usuario"])){ header( 'Location: login.php' ); }else{ $user=autentificado(); // Propuestas en orden cronológico del usuario $consultaPropuestasUsuario = 'SELECT u.nombre, u.apellidos, p.id, p.titulo, p.comentarios, p.sum...
mperezfr/collaborative-documents
perfil.php
PHP
agpl-3.0
1,691
# -*- coding: utf-8 -*- # # # Copyright 2015 Camptocamp SA # Author: Alexandre Fayolle # # 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 # Licens...
jorsea/vertical-ngo
logistic_order_donation_budget/model/sale_order.py
Python
agpl-3.0
1,300
/* * Copyright 2012 McEvoy Software Ltd. * * 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 p...
FullMetal210/milton2
milton-server/src/main/java/io/milton/http/ExistingEntityHandler.java
Java
agpl-3.0
1,310
from fabric.api import run, cd, env from fabric import state DISTANT_PATH = '/www-data/click-and-deploy' def pull(): with cd(DISTANT_PATH): run('git pull') def restart_services(): run('sudo supervisorctl restart click-and-deploy') def deploy(): pull() restart_services()
Cerkinfo/click-and-deploy
apps/recipies/self.py
Python
agpl-3.0
299
"""Offer Utility Methods. """ import logging import string # pylint: disable=W0402 from decimal import Decimal from urllib.parse import urlencode import bleach import waffle from django.conf import settings from django.template.loader import render_to_string from django.utils.translation import ugettext as _ from e...
eduNEXT/edunext-ecommerce
ecommerce/extensions/offer/utils.py
Python
agpl-3.0
12,022
# -*- coding: utf-8 -*- ############################################################################## # # Author: Alessandro Camilli (a.camilli@yahoo.it) # Copyright (C) 2014 # Associazione OpenERP Italia (<http://www.openerp-italia.org>) # # This program is free software: you can redistribute it and/o...
dhp-denero/LibrERP
l10n_it_spesometro/spesometro.py
Python
agpl-3.0
75,593
<?php /** * Database Table Schema Updater class * * @author GamiPress <contact@gamipress.com>, Ruben Garcia <rubengcdev@gamil.com> * * @since 1.0.0 */ // Exit if accessed directly defined( 'ABSPATH' ) || exit; if ( ! class_exists( 'CT_DataBase_Schema_Updater' ) ) : class CT_DataBase_Schema_Updater { ...
rubengc/GamiPress
libraries/ct/includes/class-ct-database-schema-updater.php
PHP
agpl-3.0
11,917
# coding: utf-8 import sys sys.path.append(".") from workshop.en.i import * DISCLOSE_SECRET_WORD = TRUE """ Some variables are now handled by the student. Names are free. """ """ Can be omitted, as 'reset(…)' will be call before the variables will be used. """ goodGuesses = "" errorsAmount = 0 ...
epeios-q37/epeios
other/exercises/Hangman/en/i.py
Python
agpl-3.0
1,604
<?php namespace App\Repositories; use App\Models\Leave; use InfyOm\Generator\Common\BaseRepository; class LeaveRepository extends BaseRepository { /** * @var array */ protected $fieldSearchable = [ 'start_date', 'end_date', 'approval_id', 'status', 'created_a...
kusumandaru/pa53
app/Repositories/LeaveRepository.php
PHP
agpl-3.0
468
/* * TeleStax, Open Source Cloud Communications Copyright 2012. * and individual contributors * by the @authors tag. See the copyright.txt in the distribution for a * full listing of individual contributors. * * This is free software; you can redistribute it and/or modify it * under the terms of the GNU Lesser ...
RestComm/jss7
map/map-api/src/main/java/org/restcomm/protocols/ss7/map/api/service/callhandling/RUFOutcome.java
Java
agpl-3.0
2,642
package nars.clock; /** nanosecond accuracy */ public class RealtimeNSClock extends RealtimeClock { public RealtimeNSClock(boolean updatePerCycle) { super(updatePerCycle); } @Override protected long getRealTime() { return System.nanoTime(); } @Override protected float uni...
printedheart/opennars
nars_logic/src/main/java/nars/clock/RealtimeNSClock.java
Java
agpl-3.0
384
/** * Copyright (C) 2001-2017 by RapidMiner and the contributors * * Complete list of developers available at our web site: * * http://rapidminer.com * * This program is free software: you can redistribute it and/or modify it under the terms of the * GNU Affero General Public License as published by ...
boob-sbcm/3838438
src/main/java/com/rapidminer/operator/learner/functions/kernel/jmysvm/svm/SVMregression.java
Java
agpl-3.0
9,029
# encoding: utf-8 class Api::EpisodesController < Api::BaseController include ApiUpdatedSince api_versions :v1 represent_with Api::EpisodeRepresenter find_method :find_by_guid filter_resources_by :podcast_id after_action :process_media, only: [:create, :update] after_action :publish, only: [:create, :u...
PRX/feeder.prx.org
app/controllers/api/episodes_controller.rb
Ruby
agpl-3.0
1,756
<?php return [ /* |-------------------------------------------------------------------------- | Application Name |-------------------------------------------------------------------------- | | This value is the name of your application. This value is used when the | framework needs to plac...
turtles2/Sublist-Manager
config/app.php
PHP
agpl-3.0
9,485
/********************************************************************************* * Ephesoft is a Intelligent Document Capture and Mailroom Automation program * developed by Ephesoft, Inc. Copyright (C) 2010-2012 Ephesoft Inc. * * This program is free software; you can redistribute it and/or modify it under * the...
kuzavas/ephesoft
dcma-validation/src/main/java/com/ephesoft/dcma/validation/service/ValidationServiceImpl.java
Java
agpl-3.0
2,528
const { GenericCommand } = require('../../models/') const videos = [ 'https://www.pornhub.com/view_video.php?viewkey=ph5a5a31a130d7b', 'https://www.pornhub.com/view_video.php?viewkey=ph5925ca42189b1', 'https://www.pornhub.com/view_video.php?viewkey=ph58a2743e7bc0a', 'https://www.pornhub.com/view_video.php?viewk...
melmsie/Dank-Memer
src/commands/nsfwCommands/mcporn.js
JavaScript
agpl-3.0
1,202
#!/usr/bin/env python import networkx as nx import matplotlib.pyplot as plt import matplotlib.colors as colors from infomap import infomap """ Generate and draw a network with NetworkX, colored according to the community structure found by Infomap. """ def findCommunities(G): """ Partition network with the Infoma...
nicktimko/infomap
examples/python/example-networkx.py
Python
agpl-3.0
2,366
class CreateTaggeds < ActiveRecord::Migration def self.up create_table :taggeds do |t| t.references :tag t.references :proposicao t.timestamps end end def self.down drop_table :taggeds end end
pbelasco/pub_data_brasil
db/migrate/20091027191715_create_taggeds.rb
Ruby
agpl-3.0
233
package info.nightscout.androidaps.plugins.InsulinFastacting; import android.content.Context; import android.graphics.Color; import android.util.AttributeSet; import com.jjoe64.graphview.GraphView; import com.jjoe64.graphview.series.DataPoint; import com.jjoe64.graphview.series.LineGraphSeries; import java.util.Arra...
RoumenGeorgiev/AndroidAPS
app/src/main/java/info/nightscout/androidaps/plugins/InsulinFastacting/ActivityGraph.java
Java
agpl-3.0
2,815
# -*- coding: utf-8 -*- ############################################################################### # # ODOO (ex OpenERP) # Open Source Management Solution # Copyright (C) 2001-2015 Micronaet S.r.l. (<http://www.micronaet.it>) # Developer: Nicola Riolini @thebrush (<https://it.linkedin.com/in/thebrush>) # This pro...
Micronaet/micronaet-migration
label_easy/__openerp__.py
Python
agpl-3.0
1,694
package wp.core; public class UserDisabledException extends Exception { public UserDisabledException (String userId) { super("User " + userId + " is disabled."); } }
WebPredict/brave-new-code
src/main/java/wp/core/UserDisabledException.java
Java
agpl-3.0
172
class AddMotionLastViewedAtToMotionReadLogs < ActiveRecord::Migration[4.2] class MotionReadLog < ActiveRecord::Base end def up add_column :motion_read_logs, :motion_last_viewed_at, :datetime MotionReadLog.reset_column_information MotionReadLog.where(:motion_last_viewed_at => nil).update_all :motion_la...
piratas-ar/loomio
db/migrate/20121008010612_add_motion_last_viewed_at_to_motion_read_logs.rb
Ruby
agpl-3.0
679
import { ActivatedRoute, ParamMap, Router } from '@angular/router'; import { Component, OnInit } from '@angular/core'; import { TranslateService, LangChangeEvent } from '@ngx-translate/core'; import { BehaviorSubject, combineLatest, throwError } from 'rxjs'; import { EditLogApiOptions } from './EditLogApiOptions.class...
SciencesPo/isari
client/src/app/isari-logs/isari-logs.component.ts
TypeScript
agpl-3.0
4,092
/* Copyright 2011 Daniel Lombraña González Users_Widget.js is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by Free Software Foundation, either version 3 of the License, or (at your option) any later version. Users_Widget.js is distribu...
teleyinex/boinc-widgets
project_stats.js
JavaScript
agpl-3.0
4,398
# frozen_string_literal: true module Decidim module Budgets # This cell renders the budget item list in the budgets list class BudgetListItemCell < BaseCell delegate :voting_finished?, to: :controller property :title alias budget model private def card_class ["card--l...
mainio/decidim
decidim-budgets/app/cells/decidim/budgets/budget_list_item_cell.rb
Ruby
agpl-3.0
857