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
// @flow import React, { Component } from 'react' import { withStyles } from 'material-ui/styles' import Profile from 'models/Profile' import IconButton from 'material-ui/IconButton' import Typography from 'material-ui/Typography' import FontAwesome from 'react-fontawesome' import Avatar from 'components/common/Avatar'...
MichaelMure/TotallyNotArbore
app/components/profile/ShowProfile.js
JavaScript
gpl-3.0
2,101
----------------------------------- -- Area: North Gustaberg (S) (88) -- Mob: Five_Moons ----------------------------------- -- require("scripts/zones/North_Gustaberg_[S]/MobIDs"); ----------------------------------- -- onMobInitialize ----------------------------------- function onMobInitialize(mob) end; -----...
salamader/ffxi-a
scripts/zones/North_Gustaberg_[S]/mobs/Five_Moons.lua
Lua
gpl-3.0
816
package fr.ybo.transportscommun.activity.commun; import android.widget.ImageButton; public interface ChangeIconActionBar { public void changeIconActionBar(ImageButton imageButton); }
ybonnel/TransportsRennes
TransportsCommun/src/fr/ybo/transportscommun/activity/commun/ChangeIconActionBar.java
Java
gpl-3.0
188
/* Copyright (C) 2003-2013 Runtime Revolution Ltd. This file is part of LiveCode. LiveCode is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License v3 as published by the Free Software Foundation. LiveCode is distributed in the hope that it will be useful, but WITH...
bright-sparks/livecode
engine/src/ipng.cpp
C++
gpl-3.0
16,341
<?php ob_start(); session_start(); if (session_status() == PHP_SESSION_NONE) { require_once('index.php'); header($uri . '/index.php'); } ?> <html> <head> <meta charset="UTF-8"> <meta name="description" content="Creates a new University by a Super Admin"> <title>Creat...
emcyroyale/COP4710-10
CollegeEvents2/joinrso.php
PHP
gpl-3.0
4,944
<?php /** * Class for the definition of a widget that is * called by the class of the main module * * @package SZGoogle * @subpackage Widgets * @author Massimo Della Rovere * @license http://opensource.org/licenses/gpl-license.php GNU Public License */ if (!defined('SZ_PLUGIN_GOOGLE') or !SZ_PLUGIN_GOOGLE) di...
rossonet/maker_imola_city
app-root/data/plugins/sz-google/classes/widget/SZGoogleWidgetDriveSaveButton.php
PHP
gpl-3.0
4,458
// tutorial06.c // A pedagogical video player that really works! // // Code based on FFplay, Copyright (c) 2003 Fabrice Bellard, // and a tutorial by Martin Bohme (boehme@inb.uni-luebeckREMOVETHIS.de) // Tested on Gentoo, CVS version 5/01/07 compiled with GCC 4.1.1 // Use // // gcc -o tutorial02 tutorial02.c -lavutil ...
lopesivan/ffmpeg-with-c-and-cpp
tutorial/ffmpegtutorial/tutorial06.c
C
gpl-3.0
24,098
/* * Copyright (C) 2015-2018 Département de l'Instruction Publique (DIP-SEM) * * Copyright (C) 2013 Open Education Foundation * * Copyright (C) 2010-2013 Groupement d'Intérêt Public pour * l'Education Numérique en Afrique (GIP ENA) * * This file is part of OpenBoard. * * OpenBoard is free software: you can re...
DIP-SEM/OpenBoard
src/core/UBIdleTimer.h
C
gpl-3.0
1,533
/***************************************************************************** * * PROJECT: Multi Theft Auto v1.0 * LICENSE: See LICENSE in the top level directory * FILE: mods/deathmatch/logic/CPlayerStats.h * PURPOSE: Player statistics class * * Multi Theft Auto is available from http:/...
qaisjp/mtasa-blue
Server/mods/deathmatch/logic/CPlayerStats.h
C
gpl-3.0
1,066
'''Test the analysis.signal module.''' from __future__ import absolute_import, print_function, division import pytest import numpy as np import gridcells.analysis.signal as asignal from gridcells.analysis.signal import (local_extrema, local_maxima, local_minima, ExtremumTypes, ...
lsolanka/gridcells
tests/unit/test_analysis_signal.py
Python
gpl-3.0
10,163
<?php //require_once 'PEAR.php'; // commented by yogatama for use in gtfw //require_once 'oleread.inc'; /////// //define('Spreadsheet_Excel_Reader_HAVE_ICONV', function_exists('iconv')); //define('Spreadsheet_Excel_Reader_HAVE_MB', function_exists('mb_convert_encoding')); define('Spreadsheet_Excel_Reader_BIFF8', 0x...
4n6g4/gtsdm
malra/gtfw_base3.2/main/lib/ExcelReader/reader.php
PHP
gpl-3.0
41,610
<?php /** --------------------------------------------------------------------- * app/helpers/htmlFormHelpers.php : miscellaneous functions * ---------------------------------------------------------------------- * CollectiveAccess * Open-source collections management software * -----------------------------------...
collectiveaccess/providence
app/helpers/htmlFormHelpers.php
PHP
gpl-3.0
27,259
namespace MissionPlanner.GCSViews { partial class InitialSetup { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. //...
brianlsharp/MissionPlanner
GCSViews/InitialSetup.Designer.cs
C#
gpl-3.0
38,120
/* FreeRTOS V9.0.0 - Copyright (C) 2016 Real Time Engineers Ltd. All rights reserved VISIT http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION. This file is part of the FreeRTOS distribution. FreeRTOS is free software; you can redistribute it and/or modify it under the...
RobsonRojas/frertos-udemy
FreeRTOSv9.0.0/FreeRTOS/Demo/CORTEX_M7_SAMV71_Xplained_IAR_Keil/FreeRTOSConfig.h
C
gpl-3.0
8,732
/* RetroArch - A frontend for libretro. * Copyright (C) 2010-2014 - Hans-Kristian Arntzen * Copyright (C) 2011-2017 - Daniel De Matteis * Copyright (C) 2016-2019 - Brad Parker * * RetroArch is free software: you can redistribute it and/or modify it under the terms * of the GNU General Public License as publ...
RobLoach/RetroArch
gfx/drivers_context/sixel_ctx.c
C
gpl-3.0
5,106
<!-- title: "Install Netdata on FreeNAS" custom_edit_url: https://github.com/netdata/netdata/edit/master/packaging/installer/methods/freenas.md --> # Install Netdata on FreeNAS On FreeNAS-Corral-RELEASE (>=10.0.3 and <11.3), Netdata is pre-installed. To use Netdata, the service will need to be enabled and started fr...
vlvkobal/netdata
packaging/installer/methods/freenas.md
Markdown
gpl-3.0
522
/* * This file is part of EasyRPG Player. * * EasyRPG Player 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. * * EasyRPG Player...
Lobomon/Player-for-QT
src/audio.cpp
C++
gpl-3.0
882
/* * Vortex OpenSplice * * This software and documentation are Copyright 2006 to TO_YEAR ADLINK * Technology Limited, its affiliated companies and licensors. All rights * reserved. * * Licensed under the ADLINK Software License Agreement Rev 2.7 2nd October * 2014 (the "License...
PrismTech/opensplice
src/abstraction/os/lynxos5/code/os_time.c
C
gpl-3.0
802
"""Add timetable related tables Revision ID: 33a1d6f25951 Revises: 225d0750c216 Create Date: 2015-11-25 14:05:51.856236 """ import sqlalchemy as sa from alembic import op from indico.core.db.sqlalchemy import PyIntEnum, UTCDateTime from indico.modules.events.timetable.models.entries import TimetableEntryType # rev...
belokop/indico_bare
migrations/versions/201511251405_33a1d6f25951_add_timetable_related_tables.py
Python
gpl-3.0
4,295
module ComboFieldTagHelper def combo_field_tag(name, value, option_tags = nil, options = {}) select_placeholder = options[:select_placeholder] || "Select existing value" input_placeholder = options[:input_placeholder] || "Enter new value" id = options[:id] klass = options[:class] || 'combo-field' ...
TGAC/brassica
app/helpers/combo_field_tag_helper.rb
Ruby
gpl-3.0
1,529
{ "": { "domain": "ckan", "lang": "cs_CZ", "plural-forms": "nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;" }, "An Error Occurred": [ null, "Nastala chyba" ], "Are you sure you want to perform this action?": [ null, "Jste si jistí, že chcete provést tuto akci?" ], "Can...
nucleo-digital/ckan-theme-cmbd
public/base/i18n/cs_CZ.js
JavaScript
gpl-3.0
2,840
<!DOCTYPE HTML> <html> <head> <meta charset="utf-8"> <title>Spectra</title> <meta name="author" content="CEERI"> <meta name="description" content="[No canvas support] spectra = []; // Graph Data Array l = 0; // The letter 'L' - NOT a one var socket = io.connect('http://172.16.5.14:7000'); // &hellip;"> <meta...
lrmodesgh/Spectroserver
spectra/index.html
HTML
gpl-3.0
6,866
> **Note**: this project is hosted on a [public repository](https://github.com/hhkaos/awesome-arcgis) where anyone can contribute. Learn how to [contribute in less than a minute](https://github.com/hhkaos/awesome-arcgis/blob/master/CONTRIBUTING.md#contributions). # Scene services <!-- START doctoc generated TOC please...
hhkaos/awesome-arcgis
arcgis/content/data-storage/service-types/scene-service/README.md
Markdown
gpl-3.0
1,034
package net.einsteinsci.betterbeginnings.items; import net.einsteinsci.betterbeginnings.register.IBBName; import net.minecraft.block.Block; import net.minecraft.init.Blocks; import net.minecraft.item.ItemStack; import net.minecraft.item.ItemTool; import java.util.HashSet; import java.util.Set; public abstract class ...
Leviathan143/betterbeginnings
src/main/java/net/einsteinsci/betterbeginnings/items/ItemKnife.java
Java
gpl-3.0
1,851
/* Copyright (c) 2008, 2009 * Juergen Weigert (jnweiger@immd4.informatik.uni-erlangen.de) * Michael Schroeder (mlschroe@immd4.informatik.uni-erlangen.de) * Micah Cowan (micah@cowan.name) * Sadrul Habib Chowdhury (sadrul@users.sourceforge.net) * Copyright (c) 1993-2002, 2003, 2005, 2006, 2007 *...
maire/screen
src/teln.c
C
gpl-3.0
11,094
/****************************************************************************/ /// @file GUILaneSpeedTrigger.h /// @author Daniel Krajzewicz /// @author Jakob Erdmann /// @author Michael Behrisch /// @date Mon, 26.04.2004 /// @version $Id: GUILaneSpeedTrigger.h 13107 2012-12-02 13:57:34Z behrisch $ /// // Chan...
rudhir-upretee/SUMO_Src
src/guisim/GUILaneSpeedTrigger.h
C
gpl-3.0
6,731
/****************************************************************************/ /// @file MSEdge.cpp /// @author Christian Roessel /// @author Jakob Erdmann /// @author Christoph Sommer /// @author Daniel Krajzewicz /// @author Laura Bieker /// @author Michael Behrisch /// @author Sascha Krieg /// @date Tue...
rudhir-upretee/SUMO_Src
src/microsim/MSEdge.cpp
C++
gpl-3.0
17,842
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// /* * OPCODE - Optimized Collision Detection * Copyright (C) 2001 Pierre Terdiman * Homepage: http://www.codercorn...
mpreisler/ember
src/components/ogre/ogreopcode/include/Opcode/OPC_VolumeCollider.h
C
gpl-3.0
7,411
<!DOCTYPE html> <!-- Template Name: Metronic - Responsive Admin Dashboard Template build with Twitter Bootstrap 3.3.7 Version: 4.7.1 Author: KeenThemes Website: http://www.keenthemes.com/ Contact: support@keenthemes.com Follow: www.twitter.com/keenthemes Dribbble: www.dribbble.com/keenthemes Like: www.facebook.com/kee...
FernandoUnix/AcessoRestrito
metronic_v4.7.1/theme/admin_3_rounded/layout_top_bar_fixed.html
HTML
gpl-3.0
194,270
package es.ucm.fdi.emf.model.ed2.diagram.sheet; import org.eclipse.core.runtime.IAdaptable; import org.eclipse.gmf.runtime.emf.type.core.IElementType; import org.eclipse.gmf.runtime.notation.View; import org.eclipse.jface.viewers.BaseLabelProvider; import org.eclipse.jface.viewers.ILabelProvider; import org.ecl...
RubenM13/E-EDD-2.0
es.ucm.fdi.ed2.emf.diagram/src/es/ucm/fdi/emf/model/ed2/diagram/sheet/Ed2SheetLabelProvider.java
Java
gpl-3.0
2,246
######################## BEGIN LICENSE BLOCK ######################## # The Original Code is Mozilla Universal charset detector code. # # The Initial Developer of the Original Code is # Netscape Communications Corporation. # Portions created by the Initial Developer are Copyright (C) 2001 # the Initial Developer. All R...
disabler/isida3
lib/chardet/sbcsgroupprober.py
Python
gpl-3.0
2,948
# frozen_string_literal: true # How minitest plugins. See https://github.com/simplecov-ruby/simplecov/pull/756 for why we need this. # https://github.com/seattlerb/minitest#writing-extensions module Minitest def self.plugin_simplecov_init(_options) if defined?(SimpleCov) SimpleCov.external_at_exit = true ...
BeGe78/esood
vendor/bundle/ruby/3.0.0/gems/simplecov-0.21.2/lib/minitest/simplecov_plugin.rb
Ruby
gpl-3.0
411
//*************************************************************************** // // Copyright (c) 1999 - 2006 Intel Corporation // // 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 // // ...
cnr-isti-vclab/meshlab
src/external/u3d/src/IDTF/FileScanner.cpp
C++
gpl-3.0
16,279
// Copyright (c) 2017 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // // --------------------------------------------------------------------------- // // This file was generated by the CEF translato...
Julusian/CasparCG-Server
dependencies64/cef/win32/libcef_dll/ctocpp/domnode_ctocpp.h
C
gpl-3.0
2,433
local pi = math.pi local player_in_bed = 0 local is_sp = minetest.is_singleplayer() local enable_respawn = minetest.setting_getbool("enable_bed_respawn") if enable_respawn == nil then enable_respawn = true end -- Helper functions local function get_look_yaw(pos) local n = minetest.get_node(pos) if n.param2 == 1 th...
linushsao/sky_islands_game-linus
mods/beds/functions.lua
Lua
gpl-3.0
5,266
.color-picker { -moz-box-shadow: 1px 1px 15px rgba(0, 0, 0, 0.3); -webkit-box-shadow: 1px 1px 15px rgba(0, 0, 0, 0.3); box-shadow: 1px 1px 15px rgba(0, 0, 0, 0.3); -moz-border-radius: 0 0 5px 5px; -webkit-border-radius: 0 0 5px 5px; border-radius: 0 0 5px 5px; } .color-picker-title-bar, .color-...
projectestac/intraweb
intranet/javascript/picky_color/picky_color.css
CSS
gpl-3.0
1,612
/* str*()-like functions for raw memory "lines" (non-NUL terminated strings). * * Especially when we're parsing input in an ESL_BUFFER, we need to be * able to parse non-writable raw memory buffers. Because an * ESL_BUFFER may have memory mapped a file, we cannot assume that the * input is NUL-terminated, and we ...
Janelia-Farm-Xfam/Bio-HMM-Logo
src/easel/esl_mem.c
C
gpl-3.0
29,498
cordova.define('cordova/plugin_list', function(require, exports, module) { module.exports = [ { "file": "plugins/cordova-plugin-device/www/device.js", "id": "cordova-plugin-device.device", "pluginId": "cordova-plugin-device", "clobbers": [ "device" ] }, { ...
Nullpo/Kallat-Tablero
platforms/browser/www/cordova_plugins.js
JavaScript
gpl-3.0
13,698
<?php // Controller for latestdeaths. class Deaths extends Controller { public function index() { require("config.php"); $this->load->database(); if(@$_REQUEST['world'] == 0) $world = 0; else $world = (int)@$_REQUEST['world']; $world_name = ($config['worlds'] == $world); $players_deaths =...
avuenja/modernaac
system/application/controllers/deaths.php
PHP
gpl-3.0
2,690
#!/bin/bash # # flashx.tv module # Copyright (c) 2014 Plowshare team # # This file is part of Plowshare. # # Plowshare 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 ...
drewc/plowshare
src/modules/flashx.sh
Shell
gpl-3.0
3,581
# -*- Mode:Python; indent-tabs-mode:nil; tab-width:4 -*- # # Copyright (C) 2017 Canonical Ltd # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License version 3 as # published by the Free Software Foundation. # # This program is distributed in the h...
sergiusens/snapcraft
snapcraft/internal/project_loader/grammar_processing/_part_grammar_processor.py
Python
gpl-3.0
4,927
# -*- coding: utf-8 -*- # Copyright (c) 2020, Frappe Technologies Pvt. Ltd. and Contributors # See license.txt from __future__ import unicode_literals # import frappe import unittest class TestEInvoiceRequestLog(unittest.TestCase): pass
frappe/erpnext
erpnext/regional/doctype/e_invoice_request_log/test_e_invoice_request_log.py
Python
gpl-3.0
241
#include <cmath> #include <cfloat> // DBL_MAX #include "Action_GIST.h" #include "CpptrajStdio.h" #include "Constants.h" #include "DataSet_MatrixFlt.h" #include "DataSet_GridFlt.h" #include "DataSet_GridDbl.h" #include "ProgressBar.h" #include "StringRoutines.h" #include "DistRoutines.h" #ifdef _OPENMP # include <omp.h>...
hainm/cpptraj
src/Action_GIST.cpp
C++
gpl-3.0
83,454
<?php /** * Kiwitrees: Web based Family History software * Copyright (C) 2012 to 2022 kiwitrees.net * * Derived from webtrees (www.webtrees.net) * Copyright (C) 2010 to 2012 webtrees development team * * Derived from PhpGedView (phpgedview.sourceforge.net) * Copyright (C) 2002 to 2010 PGV Development Team * ...
kiwi3685/kiwitrees
includes/db_schema/db_schema_28_29.php
PHP
gpl-3.0
1,600
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="en"> <head> <!-- Generated by javadoc (version 1.7.0_55) on Fri Mar 04 14:41:00 EST 2016 --> <title>ChanceCellInfoFormatter</title> <meta name="date" content="2016-03-04"> <link rel="style...
odomin2/ait642-Dominguez-project2-
Task 13 Detect Desing Smells/Monopoly/doc/edu/towson/cis/cosc603/project2/monopoly/gui/ChanceCellInfoFormatter.html
HTML
gpl-3.0
11,799
README ====== `vcert` A web-based certificate authority mangement system built atop OpenSSL. Copyright Alan Viars 2013 Open Source License: MPL See LICENSE.txt Last Updated: November 4, 2013 About ----- `vcert` is a web-based (Django) Certificate Authority (or CA) that uses OpenSSL under the hood. The site Dire...
managai/myCert
README.md
Markdown
mpl-2.0
9,189
/* 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 name="helpers" file="/helpers.mako.rs" /> <% from data import Method %> <% data.new_style_struct("Tex...
DDEFISHER/servo
components/style/properties/longhand/text.mako.rs
Rust
mpl-2.0
5,071
module.exports = { domain:"messages", locale_data:{ messages:{ "":{ domain:"messages", plural_forms:"nplurals=2; plural=(n != 1);", lang:"el" }, "%(addonName)s %(startSpan)sby %(authorList)s%(endSpan)s":[ "%(addonName)s %(startSpan)s από %(authorList)s%(endSpan)s" ], "Extension Metadata":[...
jasonthomas/addons-frontend
src/locale/el/amo.js
JavaScript
mpl-2.0
8,820
// Copyright Hugh Perkins 2015 hughperkins at gmail // // 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/. // although this looks a bit odd perhaps, this way we dont n...
pimms/DeepCL
src/qlearning/QLearner2.h
C
mpl-2.0
3,526
#include <iostream> #include <ifaddrs.h> #include <stdio.h> #include <stdlib.h> #include <signal.h> #include <stdio.h> #include <sys/types.h> #include <sys/stat.h> #include <unistd.h> #include <time.h> #include <syslog.h> #include <dlfcn.h> #include <sys/socket.h> #include <netdb.h> #include <string.h> #include "webse...
lordrasmus/libcwebui
tests/config_variants/LinuxWebsocketSelect/main.cpp
C++
mpl-2.0
1,502
/* 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/. */ /* A 32-bit implementation of the NIST P-256 elliptic curve. */ #include <string.h> #include "prtypes.h" #includ...
thespooler/nss
lib/freebl/ecl/ecp_256_32.c
C
mpl-2.0
50,400
namespace Infrastructure.DataAccess.Migrations { using System; using System.Data.Entity.Migrations; public partial class usersupervisioninfoaddedtosysusage : DbMigration { public override void Up() { AddColumn("dbo.ItSystemUsage", "UserSupervisionDate", c => c.DateTime(n...
miracle-as/kitos
Infrastructure.DataAccess/Migrations/201802161536558_user supervision info added to sysusage.cs
C#
mpl-2.0
683
/* * Copyright © 2013-2020, The SeedStack authors <http://seedstack.org> * * 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 org.seedstack.i18n.rest.inter...
seedstack/i18n-function
rest/src/main/java/org/seedstack/i18n/rest/internal/infrastructure/csv/I18nCSVTemplateLoader.java
Java
mpl-2.0
2,205
<?php declare(strict_types=1); /* * 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 ParkManager\Application\Command\User; use Rollerworks\Component\Sp...
park-manager/park-manager
src/Application/Command/User/ConfirmPasswordReset.php
PHP
mpl-2.0
551
using System.Collections; using System.Collections.Generic; using UnityEngine; public class MovingPlatform : MonoBehaviour { public float moveSpeed; private float moveForce; public float limit; public bool vertical; public bool movingPlus; public Vector3 startPos; Rigidbody2D rb; // Use this for initializa...
apetersell/RPSX
RPSXUnity/Assets/Scripts/Level Stuff/MovingPlatform.cs
C#
mpl-2.0
1,165
/* 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/. */ #![feature(alloc)] #![feature(box_syntax)] #![feature(collections)] #![feature(core)] #![feature(env)] #![feature(...
luniv/servo
components/util/lib.rs
Rust
mpl-2.0
1,979
import pytest from umodbus.server.serial import AbstractSerialServer @pytest.fixture def abstract_serial_server(): return AbstractSerialServer() def test_abstract_serial_server_get_meta_data(abstract_serial_server): """ Test if meta data is correctly extracted from request. """ assert abstract_serial_s...
AdvancedClimateSystems/python-modbus
tests/unit/server/serial/test_init.py
Python
mpl-2.0
611
-- new sessions stored procedure CREATE PROCEDURE `sessions_1` ( IN `uidArg` BINARY(16) ) BEGIN SELECT tokenId, uid, createdAt, uaBrowser, uaBrowserVersion, uaOS, uaOSVersion, uaDeviceType, lastAccessTime FROM sessionTokens WHERE ui...
mozilla/fxa-auth-db-mysql
lib/db/schema/patch-016-017.sql
SQL
mpl-2.0
442
// ======================================================================== // // Copyright 2009-2015 Intel Corporation // // // // Licensed under the Apache License, Version 2.0 (the "License"); // // y...
KIKI007/ReusedPrinter
external/embree/kernels/xeon/bvh/bvh4_factory.cpp
C++
mpl-2.0
52,759
/* 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/>. */ .frames ul .frames-group .group, .frames ul .frames-group .group .location { font-weight: 500; cursor: defau...
jbhoosreddy/debugger.html
src/components/SecondaryPanes/Frames/Group.css
CSS
mpl-2.0
854
/** * Nooku Platform - http://www.nooku.org/platform * * @copyright Copyright (C) 2011 - 2014 Johan Janssens and Timble CVBA. (http://www.timble.net) * @license GNU GPLv3 <http://www.gnu.org/licenses/gpl.html> * @link https://github.com/nooku/nooku-platform for the canonical source repository...
nooku/nooku-platform
component/attachments/resources/assets/js/attachments.list.js
JavaScript
mpl-2.0
4,062
/*! JointJS v3.4.1 (2021-08-18) - JavaScript diagramming library 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.joint = this.joint || {}; this.joint.shapes = this.j...
DavidDurman/joint
dist/joint.shapes.fsa.js
JavaScript
mpl-2.0
1,920
<!doctype html> <script> var searchParams = new URL(location).searchParams; var test = searchParams.get("test"); window.onportalactivate = function(e) { if (test == "adopt-once") { var portal = e.adoptPredecessor(); document.body.appendChild(portal); if (portal instanceof HTMLPortalElement...
pyfisch/servo
tests/wpt/web-platform-tests/portals/resources/portals-adopt-predecessor-portal.html
HTML
mpl-2.0
1,044
<!DOCTYPE html> <html lang="en"> <head> <title>HYPERNOM</title> <!-- Nom all the cells of each 4d platonic solid, by mapping your head rotations to S^3. By Henry Segerman, Vi Hart, and Andrea Hawksley, using Marc ten Bosch's 4D graphics shader, Mozilla's webVR stuff, and threejs. http...
DarkPrince304/webVR-playing-with
hypernom.html
HTML
mpl-2.0
10,152
.pinboard-open-btn { margin-top: -1px; background-color: #e6eef5 !important; color: #252c33 !important; } #pinboard-panel { background-color: #e6eef5; color: #252c33; flex: auto; -webkit-flex: auto; display: flex; display: -webkit-flex; flex-flow: row; -webkit-flex-flow: row; } #pinboard-panel ....
glenn124f/treeherder
ui/css/treeherder-pinboard.css
CSS
mpl-2.0
2,910
<form class="form-horizontal well" ng-submit="create(procedure)" > <fieldset> <legend>Create Procedure</legend> <div class="form-group"> <label for="inputMessage" class="col-lg-2 control-label">Message</label> <div class="col-lg-10"> <input type="text" class="form-control" id="inputMessag...
justmiles/smokejumper
app/procedures/create.html
HTML
mpl-2.0
3,489
#!/usr/bin/env python # -*- coding: utf-8 -*- panel_file = open('panels.txt','r') name_file = open('testName.txt','r') sample_type_file = open("sampleType.txt") test_panel_results = open("output/testPanelResults.txt", 'w') panel = [] type = [] test_names = [] def get_split_names( name ): split_name_list = name.sp...
mark47/OESandbox
liquibase/OE2.8/testCatalogCI_LNSP/scripts/testPanel.py
Python
mpl-2.0
1,391
/* This file is part of SUPPL - the supplemental library for DOS Copyright (C) 1996-2000 Steffen Kaiser This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version ...
joyent/sdcboot
freedos/source/command/suppl/src/eestrcon.c
C
mpl-2.0
2,977
/* 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 { createStore, applyMiddleware } from 'redux'; import threadDispatcher from '../../common/thread-middleware...
squarewave/bhr.html
src/workers/summary/index.js
JavaScript
mpl-2.0
743
/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ /* 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/. */ //--------------------------------------------------------...
cstipkovic/spidermonkey-research
js/src/tests/js1_8/regress/regress-474935.js
JavaScript
mpl-2.0
1,026
package command import ( "strings" "testing" "time" "github.com/hashicorp/nomad/api" "github.com/hashicorp/nomad/nomad/structs" "github.com/mitchellh/cli" ) func TestMonitor_Update_Eval(t *testing.T) { t.Parallel() ui := new(cli.MockUi) mon := newMonitor(ui, nil, fullId) // Evals triggered by jobs log st...
frundh/nomad
command/monitor_test.go
GO
mpl-2.0
9,320
#!/bin/bash # 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 https://mozilla.org/MPL/2.0/. set -ex # required env vars: CLUSTER_NAME, CONFIG_BRANCH, CONFIG_REPO, NAMESPACE, # DEPLOYMENT_YAML, DEPLOY...
flodolo/bedrock
bin/update_config.sh
Shell
mpl-2.0
1,291
package org.hl7.v3; import javax.xml.bind.annotation.XmlEnum; import javax.xml.bind.annotation.XmlType; /** * <p>Java class for ResponseMode. * * <p>The following schema fragment specifies the expected content contained within this class. * <p> * <pre> * &lt;simpleType name="ResponseMode"> * &lt;restricti...
jembi/openhim-encounter-orchestrator
src/main/java/org/hl7/v3/ResponseMode.java
Java
mpl-2.0
754
#if BUILD_UNIT_TESTS #include "augs/misc/enum/enum_map.h" #include <Catch/single_include/catch2/catch.hpp> TEST_CASE("EnumMap") { enum class tenum { _0, _1, _2, _3, _4, COUNT }; augs::enum_map<tenum, int> mm; mm[tenum::_0] = 0; mm[tenum::_1] = 1; mm[tenum::_2] = 2; int cnt = 0; for (const auto&...
TeamHypersomnia/Augmentations
src/augs/misc/enum/enum_map.cpp
C++
agpl-3.0
1,737
//############################################################################# //# # //# Copyright (C) <2015> <IMS MAXIMS> # //# ...
IMS-MAXIMS/openMAXIMS
Source Library/openmaxims_workspace/DomainObjects/src/ims/core/clinical/domain/objects/NonUniqueTaxonomyMap.java
Java
agpl-3.0
14,623
/* * 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/plotter/mathplot/JMathPlotter3D.java
Java
agpl-3.0
1,676
/* * Licensed to ElasticSearch and Shay Banon under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. ElasticSearch licenses this * file to you under the Apache License, Version 2.0 (the * "License"); you may...
exercitussolus/yolo
src/main/java/org/elasticsearch/index/analysis/AnalysisService.java
Java
agpl-3.0
14,624
<?php /** * Smarty Internal Plugin Compile Make_Nocache * Compiles the {make_nocache} tag * * @package Smarty * @subpackage Compiler * @author Uwe Tews */ /** * Smarty Internal Plugin Compile Make_Nocache Class * * @package Smarty * @subpackage Compiler */ class Smarty_Internal_Compile_Make_Nocac...
WWXD/WorldWeb-XD
lib/smarty/sysplugins/smarty_internal_compile_make_nocache.php
PHP
agpl-3.0
1,773
<?php /* * Copyright 2007-2017 Charles du Jeu - Abstrium SAS <team (at) pyd.io> * This file is part of Pydio. * * Pydio is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published by * the Free Software Foundation, either version 3 of the License, o...
pydio/pydio-core
core/src/plugins/core.conf/i18n/conf/es.php
PHP
agpl-3.0
7,509
<!-- title: crm --> <div class="dev-header"> <a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;"> Version 6.7.7</a> <a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/crm" target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon o...
susuchina/ERPNEXT
erpnext/docs/current/api/crm/index.html
HTML
agpl-3.0
417
<?php /* * This file is part of the Symfony package. * * (c) Fabien Potencier <fabien@symfony.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\HttpKernel\Profiler; use Symfony\Component\HttpKernel...
KWZwickau/KREDA-Sphere
Library/MOC-V/Component/Router/Vendor/Symfony/Component/HttpKernel/Profiler/Profile.php
PHP
agpl-3.0
5,311
# session module tests # # Copyright (C) 2012-2013 Mohammed Morsi <mo@morsi.org> # Licensed under the AGPLv3 http://www.gnu.org/licenses/agpl.txt require 'spec_helper' require 'timecop' require 'users/session' module Users describe Session do after(:all) do Timecop.return end describe "#initialize" do ...
movitto/omega
spec/users/session_spec.rb
Ruby
agpl-3.0
2,513
import React from 'react'; import ImmutablePropTypes from 'react-immutable-proptypes'; import PropTypes from 'prop-types'; import IconButton from './icon_button'; import DropdownMenu from './dropdown_menu'; import { defineMessages, injectIntl } from 'react-intl'; import ImmutablePureComponent from 'react-immutable-pure...
Toootim/mastodon
app/javascript/mastodon/components/status_action_bar.js
JavaScript
agpl-3.0
5,791
# -*- coding: utf-8 -*- # This file is part of Shoop. # # Copyright (c) 2012-2015, 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 __future__ import unicode_literals from django import forms from djang...
jorge-marques/shoop
shoop/discount_pricing/admin_form_part.py
Python
agpl-3.0
2,820
/******************************************************************************* * HELIUM V, Open Source ERP software for sustained success * at small and medium-sized enterprises. * Copyright (C) 2004 - 2015 HELIUM V IT-Solutions GmbH * * This program is free software: you can redistribute it and/or modify * it...
erdincay/ejb
src/com/lp/server/schema/opentrans/cc/orderresponse/XMLXMLCOSTCATEGORYID.java
Java
agpl-3.0
5,991
-- uncomment for testing /* DECLARE @id int = 1 */ SELECT * FROM Products WHERE Id = @id
SyncToday/synctoday2015
sync.today.ent.products/GetProduct.sql
SQL
agpl-3.0
94
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>api Package &mdash; ally-py 1.0b1 documentation</...
superdesk/Live-Blog
doc/html/superdesk.person.api.html
HTML
agpl-3.0
5,145
/* ************************************************************************ ******************* CANADIAN ASTRONOMY DATA CENTRE ******************* ************** CENTRE CANADIEN DE DONNÉES ASTRONOMIQUES ************** * * (c) 2019. (c) 2019. * Government of Canada ...
at88mph/web
cadc-web-util/src/test/java/org/opencadc/proxy/ProxyServletTest.java
Java
agpl-3.0
9,512
import ITEM_QUALITIES from '../ITEM_QUALITIES'; export default { // Shared legendaries SOUL_OF_THE_SHADOWBLADE: { id: 150936, name: 'Soul of the Shadowblade', icon: 'inv_jewelry_ring_56', quality: ITEM_QUALITIES.LEGENDARY, }, MANTLE_OF_THE_MASTER_ASSASSIN: { id: 144236, name: 'Mantle of...
enragednuke/WoWAnalyzer
src/common/ITEMS/ROGUE.js
JavaScript
agpl-3.0
2,649
module Merb::Maintainer::BillingHelper def get_stats(metric, dom) today = Date.today date_this_month = Date.new(today.year, today.month, dom) data = [] data_length = 30 data << get_stat(metric, date_this_month) if dom < today.mday (1..(data_length-data.length)).each do |i| date = date_...
Mostfit/mostfit
slices/maintainer/app/helpers/billing_helper.rb
Ruby
agpl-3.0
1,102
/*************************************************************************** constraintteachersmaxgapsperdayform.cpp - description ------------------- begin : Jan 21, 2008 copyright : (C) 2008 by Lalescu Liviu email ...
fet-project/fet
src/interface/constraintteachersmaxgapsperdayform.cpp
C++
agpl-3.0
5,667
# -*- coding: utf-8 -*- ############################################################################## # # OpenERP, Open Source Management Solution # Copyright (C) 2010-Today OpenERP SA (<http://www.openerp.com>) # # This program is free software: you can redistribute it and/or modify # it under the terms o...
ksrajkumar/openerp-6.1
openerp/addons/email_template/wizard/mail_compose_message.py
Python
agpl-3.0
10,036
package org.osforce.connect.service.system; import org.osforce.connect.entity.system.ProjectFeature; /** * * @author gavin * @since 1.0.0 * @create Feb 12, 2011 - 9:23:35 PM * <a href="http://www.opensourceforce.org">开源力量</a> */ public interface ProjectFeatureService { ProjectFeature getProjectFeature(Long ...
shook2012/focus-sns
connect-service/src/main/java/org/osforce/connect/service/system/ProjectFeatureService.java
Java
agpl-3.0
562
// This file may be edited manually or auto-generated using IfcKit at www.buildingsmart-tech.org. // IFC content is copyright (C) 1996-2018 BuildingSMART International Ltd. using System; using System.Collections.Generic; using System.ComponentModel; using System.ComponentModel.DataAnnotations; using System.ComponentMo...
pipauwel/IfcDoc
IfcKit/schemas/IfcGeometricModelResource/IfcBooleanOperator.cs
C#
agpl-3.0
995
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. // This source code is licensed under the BSD-style license found in the // LICENSE file in the root directory of this source tree. An additional grant // of patent rights can be found in the PATENTS file in the same directory. #include "rocksdb/s...
chain/chain
vendor/github.com/facebook/rocksdb/table/sst_file_writer.cc
C++
agpl-3.0
7,678
const LdapStrategy = require('./LdapStrategy'); const MoodleStrategy = require('./MoodleStrategy'); const IservStrategy = require('./IservStrategy'); const TSPStrategy = require('./TSPStrategy'); const ApiKeyStrategy = require('./ApiKeyStrategy'); module.exports = { LdapStrategy, MoodleStrategy, IservStrategy, TSP...
schul-cloud/schulcloud-server
src/services/authentication/strategies/index.js
JavaScript
agpl-3.0
350
/* 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/modules/websock-api/api/AccessOverview.cpp
C++
agpl-3.0
3,045
# -*- coding: utf-8 -*- from __future__ import absolute_import, unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('schedules', '0005_auto_20171010_1722'), ] operations = [ migrations.CreateModel( name='Schedule...
ESOedX/edx-platform
openedx/core/djangoapps/schedules/migrations/0006_scheduleexperience.py
Python
agpl-3.0
793
# -*- coding: utf-8 -*- # Copyright 2017 KMEE # Hendrix Costa <hendrix.costa@kmee.com.br> # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). from openerp.addons.financial.tests.financial_test_classes import \ FinancialTestCase class ManualFinancialProcess(FinancialTestCase): def setUp(self): ...
thinkopensolutions/l10n-brazil
financial/tests/test_financial_move.py
Python
agpl-3.0
1,651
# -*- 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 import forms from django.utils.translation import ugettext_lazy ...
shawnadelic/shuup
shuup/xtheme/plugins/category_links.py
Python
agpl-3.0
2,994