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 |
|---|---|---|---|---|---|
from dependencies.dependency import ClassSecurityInfo
from lims import bikaMessageFactory as _, logger
from lims.idserver import renameAfterCreation
from lims.utils import t, tmpID, changeWorkflowState
from lims.utils import to_utf8 as _c
from lims.browser.fields import HistoryAwareReferenceField
from lims.config impor... | sciCloud/OLiMS | lims/content/worksheet.py | Python | agpl-3.0 | 37,347 |
<?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... | sandeep1027/zurmo_ | app/protected/modules/missions/views/MissionBreadCrumbView.php | PHP | agpl-3.0 | 2,549 |
/*
* This file is part of CoCalc: Copyright © 2020 Sagemath, Inc.
* License: AGPLv3 s.t. "Commons Clause" – see LICENSE.md for details
*/
import { Editor, Range, Transforms } from "slate";
import { ReactEditor } from "../slate-react";
import { selectNextMatch } from "./find-matches";
import { nextMatch } from "./... | DrXyzzy/cocalc | src/packages/frontend/editors/slate/search/replace-matches.ts | TypeScript | agpl-3.0 | 2,799 |
/*
* Copyright (C) 2012 - 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/bundles/notification_preferences.js | JavaScript | agpl-3.0 | 1,065 |
/*
* Copyright (C) 2000 - 2015 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... | auroreallibe/Silverpeas-Components | delegatednews/delegatednews-war/src/main/java/org/silverpeas/components/delegatednews/control/DelegatedNewsSessionController.java | Java | agpl-3.0 | 6,784 |
"""A moving-window filter for smoothing the signals within certain time interval."""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
import gin
import numpy as np
@gin.configurable
class TimeBasedMovingWindowFilter:
"""A moving-window filter for smooth... | nrz/ylikuutio | external/bullet3/examples/pybullet/gym/pybullet_envs/minitaur/agents/baseline_controller/time_based_moving_window_filter.py | Python | agpl-3.0 | 1,200 |
//#############################################################################
//# #
//# Copyright (C) <2015> <IMS MAXIMS> #
//# ... | FreudianNM/openMAXIMS | Source Library/openmaxims_workspace/Correspondence/src/ims/correspondence/forms/nongpselect/FormInfo.java | Java | agpl-3.0 | 3,070 |
//#############################################################################
//# #
//# Copyright (C) <2015> <IMS MAXIMS> #
//# ... | FreudianNM/openMAXIMS | Source Library/openmaxims_workspace/Clinical/src/ims/clinical/forms/documentgeneration/GenForm.java | Java | agpl-3.0 | 121,453 |
/**
* Shopware 5
* Copyright (c) shopware AG
*
* 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 License with an additional
* permission... | Sunchairs/shopware | themes/Backend/ExtJs/backend/article_list/view/main/grid.js | JavaScript | agpl-3.0 | 27,560 |
# -*- coding: utf-8 -*-
# Copyright 2016 LasLabs Inc.
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl).
from odoo.exceptions import UserError
class ConnectionFailedError(UserError):
pass
class ConnectionSuccessError(UserError):
pass
| thinkopensolutions/server-tools | base_external_dbsource/exceptions.py | Python | agpl-3.0 | 260 |
/*
Copyright (c) 2008-2009 NetAllied Systems GmbH
This file is part of COLLADAStreamWriter.
Licensed under the MIT Open Source License,
for details please see LICENSE file or the website
http://www.opensource.org/licenses/mit-license.php
*/
#include "COLLADASWSurfaceInitOption.h"
#inc... | AsherBond/MondocosmOS | opencollada/COLLADAStreamWriter/src/COLLADASWSurfaceInitOption.cpp | C++ | agpl-3.0 | 5,065 |
require 'spec_helper'
require 'support/feature_helpers'
feature 'Behaviour of the flag Site#registration_enabled' do
let(:user) { FactoryGirl.create(:user) }
context "when the flag is set" do
before { Site.current.update_attributes(registration_enabled: true) }
scenario "shows the 'register' link in the ... | mconftec/mconf-web-cedia | spec/features/site/flag_registration_enabled_spec.rb | Ruby | agpl-3.0 | 1,187 |
"""This file implements the gym environment of minitaur.
"""
import math
import time
import os, inspect
currentdir = os.path.dirname(os.path.abspath(inspect.getfile(inspect.currentframe())))
parentdir = os.path.dirname(os.path.dirname(currentdir))
os.sys.path.insert(0, parentdir)
import gym
from gym import spaces
fr... | nrz/ylikuutio | external/bullet3/examples/pybullet/gym/pybullet_envs/minitaur/envs/minitaur_gym_env.py | Python | agpl-3.0 | 25,350 |
# encoding: utf-8
from .OpeningHours import ParseException, OpeningHours
| ypid/pyopening_hours | pyopening_hours/__init__.py | Python | agpl-3.0 | 74 |
#
# Copyright (C) 2011 - 2014 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 hop... | dgynn/canvas-lms | Gemfile.d/_before.rb | Ruby | agpl-3.0 | 3,119 |
/*
* Funambol is a mobile platform developed by Funambol, Inc.
* Copyright (C) 2004 - 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 addit... | accesstest3/cfunambol | admin-suite/admin/src/com/funambol/admin/ui/ServerExplorer.java | Java | agpl-3.0 | 7,043 |
import React from 'react';
import SPELLS from 'common/SPELLS';
import Panel from 'interface/others/Panel';
import CooldownOverview from 'interface/others/CooldownOverview';
import CoreCooldownThroughputTracker, { BUILT_IN_SUMMARY_TYPES } from 'parser/shared/modules/CooldownThroughputTracker';
class ProcTracker extend... | fyruna/WoWAnalyzer | src/parser/shaman/enhancement/modules/features/ProcTracker.js | JavaScript | agpl-3.0 | 874 |
Bookyt::Application.routes.draw do
# Root
root :to => "overview#index"
# I18n
filter 'locale'
# Tenancy
devise_for :admin_users
namespace :admin do
match '/' => redirect('/admin/tenants')
resources :tenants
end
get "setup" => "setup#tenant"
scope 'setup' do
get "accounting" => "setup... | wtag/bookyt | config/routes.rb | Ruby | agpl-3.0 | 3,514 |
/*
* (c) Copyright Ascensio System SIA 2010-2015
*
* This program is a free software product. You can redistribute it and/or
* modify it under the terms of the GNU Affero General Public License (AGPL)
* version 3 as published by the Free Software Foundation. In accordance with
* Section 7(a) of the GNU ... | fluent93/DocumentServer | OfficeWeb/sdk/Common/Drawings/Format/CreateGeometry.js | JavaScript | agpl-3.0 | 416,165 |
#include "Communicator.h"
| peer-node/flex | test/teleport_tests/main_tests/Communicator.cpp | C++ | agpl-3.0 | 26 |
// This is a manifest file that'll be compiled into application.js, which will include all the files
// listed below.
//
// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
// or vendor/assets/javascripts of plugins, if any, can be referenced here using a relative pa... | chrisma/event-und-raumplanung | app/assets/javascripts/application.js | JavaScript | agpl-3.0 | 1,950 |
'use strict';
var alphabet = require('./alphabet');
function decode(id) {
var characters = alphabet.shuffled();
return {
version: characters.indexOf(id.substr(0, 1)) & 0x0f,
worker: characters.indexOf(id.substr(1, 1)) & 0x0f
};
}
module.exports = decode;
| seraum/fortpress | base/util/uid/decode.js | JavaScript | agpl-3.0 | 285 |
package org.nasa.ws.proxy;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for hemisphereOptions complex type.
*
* <p>The following schema fragment specifies the expected content contained within this... | Deltaxel/FollowSat | server/src/main/java/org/nasa/ws/proxy/HemisphereOptions.java | Java | agpl-3.0 | 1,561 |
/*
* ActivateNamedTerminalEvent.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 Publ... | JanMarvin/rstudio | src/gwt/src/org/rstudio/studio/client/workbench/views/terminal/events/ActivateNamedTerminalEvent.java | Java | agpl-3.0 | 1,976 |
/*******************************************************************************
* This file is part of OpenNMS(R).
*
* Copyright (C) 2002-2017 The OpenNMS Group, Inc.
* OpenNMS(R) is Copyright (C) 1999-2017 The OpenNMS Group, Inc.
*
* OpenNMS(R) is a registered trademark of The OpenNMS Group, Inc.
*
* OpenNMS(... | aihua/opennms | features/events/syslog/src/main/java/org/opennms/netmgt/syslogd/SyslogConfigBean.java | Java | agpl-3.0 | 4,698 |
<?php
// created: 2016-09-06 02:05:09
$dictionary["Lead"]["fields"]["ts_departure_leads_1"] = array (
'name' => 'ts_departure_leads_1',
'type' => 'link',
'relationship' => 'ts_departure_leads_1',
'source' => 'non-db',
'module' => 'ts_Departure',
'bean_name' => 'ts_Departure',
'vname' => 'LBL_TS_DEPARTURE_... | vivekdevrari/litecrm | custom/Extension/modules/relationships/vardefs/ts_departure_leads_1_Leads.php | PHP | agpl-3.0 | 1,152 |
/**
* Copyright 2012 Neurowork Consulting S.L.
*
* This file is part of eMobc.
*
* ImageTextDescriptionActivityGenerator.java
* eMobc Android Framework
*
* eMobc is free software: you can redistribute it and/or modify
* it under the terms of the Affero GNU General Public License as published by
* the Free Sof... | emobc/emobc-android | src/com/emobc/android/activities/generators/ImageTextDescriptionActivityGenerator.java | Java | agpl-3.0 | 4,913 |
/*
* Copyright (c) 2015 Memorial Sloan-Kettering Cancer Center.
*
* This library is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY, WITHOUT EVEN THE IMPLIED WARRANTY OF MERCHANTABILITY OR FITNESS
* FOR A PARTICULAR PURPOSE. The software and documentation provided hereunder
* is on an "... | shrumit/cbioportal-gsoc-final | portal/src/main/webapp/js/src/study-view/view/StudyViewSurvivalPlotView.js | JavaScript | agpl-3.0 | 50,320 |
package org.forecat.shared.suggestions;
import java.io.Serializable;
import java.util.List;
import java.util.Map;
import org.forecat.client.exceptions.ForecatException;
import org.forecat.shared.ranker.RankerShared;
import org.forecat.shared.translation.SourceSegment;
import com.google.gwt.user.client.rpc.IsSerializ... | jaspock/forecat | src/org/forecat/shared/suggestions/SuggestionsRanker.java | Java | agpl-3.0 | 1,139 |
/*
* Copyright (C) 2017-2018 Matthias Fehring <kontakt@buschmann23.de>
*
* This library 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 2.1 of the License, or (at your option) an... | buschmann23/cutelyst | Cutelyst/Plugins/Utils/Validator/validatornumeric.cpp | C++ | lgpl-2.1 | 2,430 |
<?php
// (c) Copyright 2002-2012 by authors of the Tiki Wiki CMS Groupware Project
//
// All Rights Reserved. See copyright.txt for details and a complete list of authors.
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
// $Id: comments_zone.php 40059 2012-03-07 06:25:54Z pkdille ... | railfuture/tiki-website | lib/setup/comments_zone.php | PHP | lgpl-2.1 | 1,776 |
// ---------------------------------------------------------------------
//
// Copyright (C) 2006 - 2013 by the deal.II authors
//
// This file is part of the deal.II library.
//
// The deal.II library is free software; you can use it, redistribute
// it, and/or modify it under the terms of the GNU Lesser General
// Pu... | flow123d/dealii | tests/base/symmetric_tensor_22.cc | C++ | lgpl-2.1 | 1,481 |
package net.minecraft.client.gui;
import java.io.IOException;
import net.minecraft.block.Block;
import net.minecraft.block.state.IBlockState;
import net.minecraft.client.renderer.GlStateManager;
import net.minecraft.client.renderer.RenderHelper;
import net.minecraft.client.renderer.Tessellator;
import net.minecraft.cl... | trixmot/mod1 | build/tmp/recompileMc/sources/net/minecraft/client/gui/GuiCreateFlatWorld.java | Java | lgpl-2.1 | 11,943 |
using System.Collections.Generic;
using System.Linq.Expressions;
using NHibernate.Linq.Clauses;
using Remotion.Linq;
using Remotion.Linq.Clauses;
using Remotion.Linq.Clauses.Expressions;
using Remotion.Linq.Parsing;
namespace NHibernate.Linq.Visitors
{
public interface IJoiner
{
Expression AddJoin(Expression expre... | alobakov/nhibernate-core | src/NHibernate/Linq/Visitors/JoinBuilder.cs | C# | lgpl-2.1 | 2,566 |
/****************************************************************************
**
** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: Nokia Corporation (qt-info@nokia.com)
**
** This file is part of the QtMediaServices module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE... | igor-sfdc/qt-wk | src/multimedia/mediaservices/base/qmediatimerange.cpp | C++ | lgpl-2.1 | 17,978 |
<?php
// (c) Copyright 2002-2012 by authors of the Tiki Wiki CMS Groupware Project
//
// All Rights Reserved. See copyright.txt for details and a complete list of authors.
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
// $Id: CommentSource.php 40234 2012-03-17 19:17:41Z changi67... | railfuture/tiki-website | lib/core/Search/ContentSource/CommentSource.php | PHP | lgpl-2.1 | 2,495 |
package ic2.api.energy.tile;
/**
* Represents a slot (or set of slots) that can have electric items in them to be charged
*
* @author Chocohead
*/
public interface IChargingSlot {
/**
* Called when the energy component is ticked to fill the slots
*
* @param amount The amount of energy available for the slot... | XFireEyeZ/Magical-Tech | src/main/java/ic2/api/energy/tile/IChargingSlot.java | Java | lgpl-2.1 | 440 |
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="sr" sourcelanguage="en">
<context>
<name>CmdDrawingAnnotation</name>
<message>
<location filename="../../Command.cpp" line="481"/>
<source>Drawing</source>
<translation>Цртеж</translation>
</message>
<me... | Fat-Zer/FreeCAD_sf_master | src/Mod/Drawing/Gui/Resources/translations/Drawing_sr.ts | TypeScript | lgpl-2.1 | 31,325 |
// Copyright (C) 2007 Ruben Smits <ruben dot smits at mech dot kuleuven dot be>
// Copyright (C) 2008 Julia Jesse
// Version: 1.0
// Author: Ruben Smits <ruben dot smits at mech dot kuleuven dot be>
// Maintainer: Ruben Smits <ruben dot smits at mech dot kuleuven dot be>
// URL: http://www.orocos.org/kdl
// Thi... | shakhimardanov/orocos_kdl_diamondback | src/treefksolver.hpp | C++ | lgpl-2.1 | 3,578 |
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.0" language="es-ES" sourcelanguage="en">
<context>
<name>CmdCompleteConstraintAxle</name>
<message>
<location filename="../../Command.cpp" line="+42"/>
<source>Complete</source>
<translation>Completa</translation>
</... | usakhelo/FreeCAD | src/Mod/Complete/Gui/Resources/translations/Complete_es-ES.ts | TypeScript | lgpl-2.1 | 2,704 |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/*
* Head6DOF_GUI.java
*
* Created on Jul 7, 2011, 11:51:37 PM
*/
package org.ine.telluride.jaer.tell2011.head6axis;
import java.awt.Dimension;
import java.awt.Graphics;
import java.awt.Point;
import java.awt.event... | viktorbahr/jaer | src/org/ine/telluride/jaer/tell2011/head6axis/Head6DOF_GUI.java | Java | lgpl-2.1 | 16,438 |
// uzrichard.C --- Using Richard's Equation to calculate water flow.
//
// Copyright 1996-2001 Per Abrahamsen and Søren Hansen
// Copyright 2000-2001 KVL.
//
// This file is part of Daisy.
//
// Daisy is free software; you can redistribute it and/or modify
// it under the terms of the GNU Lesser Public License as pub... | sativa/daisy-model | uzrichard.C | C++ | lgpl-2.1 | 27,446 |
"""
Implementation of the XDG Menu Specification
http://standards.freedesktop.org/menu-spec/
Example code:
from xdg.Menu import parse, Menu, MenuEntry
def print_menu(menu, tab=0):
for submenu in menu.Entries:
if isinstance(submenu, Menu):
print ("\t" * tab) + unicode(submenu)
print_menu(submenu, ta... | 0312birdzhang/pyxdg | xdg/Menu.py | Python | lgpl-2.1 | 38,726 |
package net.minecraft.network.play.server;
import java.io.IOException;
import net.minecraft.network.INetHandler;
import net.minecraft.network.Packet;
import net.minecraft.network.PacketBuffer;
import net.minecraft.network.play.INetHandlerPlayClient;
import net.minecraftforge.fml.relauncher.Side;
import net.minecraftfo... | trixmot/mod1 | build/tmp/recompileMc/sources/net/minecraft/network/play/server/S2BPacketChangeGameState.java | Java | lgpl-2.1 | 1,888 |
# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
from spack import *
class RoctracerDev(CMakePackage):
"""ROC-tracer library: Runtimes Generic Callback/Activity API... | LLNL/spack | var/spack/repos/builtin/packages/roctracer-dev/package.py | Python | lgpl-2.1 | 4,005 |
/* This file is part of the KDE project.
Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
This library 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 2.1 or 3 of the Lice... | igor-sfdc/qt-wk | src/3rdparty/phonon/mmf/abstractvideooutput.cpp | C++ | lgpl-2.1 | 5,132 |
/*
* eXist Open Source Native XML Database
* Copyright (C) 2001-04 The eXist Project
* http://exist-db.org
*
* This program 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 ... | orbeon/eXist-1.4.x | src/org/exist/xquery/CDATAConstructor.java | Java | lgpl-2.1 | 3,333 |
#!/usr/bin/python
import gpod
import sys
if len(sys.argv) > 1:
db = gpod.Database(sys.argv[1])
else:
db = gpod.Database()
print db
for track in db[4:20]:
print track
print track['title']
for pl in db.Playlists:
print pl
for track in pl:
print " ", track
| neuschaefer/libgpod | bindings/python/examples/play_with_ipod_api.py | Python | lgpl-2.1 | 292 |
/**************************************************************************
**
** This file is part of Qt Creator
**
** Copyright (c) 2011 Nokia Corporation and/or its subsidiary(-ies).
**
** Contact: Nokia Corporation (qt-info@nokia.com)
**
** No Commercial Usage
**
** This file contains pre-release code and may not b... | yinyunqiao/qtcreator | src/plugins/qmldesigner/components/navigator/navigatorview.cpp | C++ | lgpl-2.1 | 10,977 |
<?php
/*"******************************************************************************************************
* (c) 2004-2006 by MulchProductions, www.mulchprod.de *
* (c) 2007-2016 by Kajona, www.kajona.de ... | kajona/kajonacms | module_search/system/SearchEventidentifier.php | PHP | lgpl-2.1 | 1,380 |
CATS.Model.Contest = Classify(CATS.Model.Entity, {
init: function () {
this.$$parent();
this.type = "contest";
this.name = null;
this.url = null;
this.problems_url = null;
this.full_name = null;
this.affiliation = null;
this.start_time = null;
... | Zimovik007/cats-score | app/models/contest.js | JavaScript | lgpl-2.1 | 2,514 |
/**
* Copyright (C) 2011 JTalks.org Team
* This library 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 2.1 of the License, or (at your option) any later version.
* This li... | jtalks-org/poulpe | poulpe-model/src/test/java/org/jtalks/poulpe/model/dao/hibernate/ObjectRetriever.java | Java | lgpl-2.1 | 2,999 |
// ---------------------------------------------------------------------
//
// Copyright (C) 2016 - 2017 by the deal.II authors
//
// This file is part of the deal.II library.
//
// The deal.II library is free software; you can use it, redistribute
// it, and/or modify it under the terms of the GNU Lesser General
// Pu... | naliboff/dealii | tests/full_matrix/full_matrix_10.cc | C++ | lgpl-2.1 | 1,591 |
/****************************************************************************
**
** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of the QtDeclarative module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** Commercial License Usage
** Li... | sicily/qt4.8.4 | src/declarative/debugger/qdeclarativedebugclient.cpp | C++ | lgpl-2.1 | 9,023 |
<?php
// (c) Copyright 2002-2016 by authors of the Tiki Wiki CMS Groupware Project
//
// All Rights Reserved. See copyright.txt for details and a complete list of authors.
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
// $Id: block.title.php 58983 2016-06-27 13:01:27Z jonnybradle... | lorddavy/TikiWiki-Improvement-Project | lib/smarty_tiki/block.title.php | PHP | lgpl-2.1 | 3,876 |
<?php
// (c) Copyright 2002-2012 by authors of the Tiki Wiki CMS Groupware Project
//
// All Rights Reserved. See copyright.txt for details and a complete list of authors.
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
// $Id: tiki-xmlrpc_services.php 40028 2012-03-04 08:38:46Z pk... | railfuture/tiki-website | tiki-xmlrpc_services.php | PHP | lgpl-2.1 | 11,971 |
/*
* JBoss, Home of Professional Open Source.
* Copyright 2017, Red Hat, Inc., and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of individual contributors.
*
* This is free software; you can redistribute it and/or modify it
* unde... | tomazzupan/wildfly | undertow/src/main/java/org/wildfly/extension/undertow/UndertowService.java | Java | lgpl-2.1 | 11,053 |
require File.dirname(__FILE__) + '/../test_helper'
class BaseTest < Test::Unit::TestCase
def setup
@ship = Shipping::Base.new(
:zip => 97202,
:state => "OR",
:sender_zip => 10001,
:sender_state => "New York",
:weight => 2
)
end
def test_ups
ups = @ship.ups
assert_instance_of Shipping::UPS, up... | simplelogica/shipping | test/base/base_test.rb | Ruby | lgpl-2.1 | 488 |
/////////////////////////////////////////////////////////////////////////
//
// simpletest.cpp --a part of libdecodeqr
//
// Copyright(C) 2007 NISHI Takao <zophos@koka-in.org>
// JMA (Japan Medical Association)
// NaCl (Network Applied Communication Laboratory Ltd.)
//
// This is fr... | iMoritz/libdecodeqr | examples/simple/simpletest.cpp | C++ | lgpl-2.1 | 1,604 |
/*
* eXist Open Source Native XML Database
* Copyright (C) 2001-04 Wolfgang M. Meier (wolfgang@exist-db.org)
* and others (see http://exist-db.org)
*
* This program 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 Sof... | orbeon/eXist-1.4.x | src/org/exist/xupdate/Conditional.java | Java | lgpl-2.1 | 3,555 |
package org.zanata.rest.service;
import java.util.List;
import org.zanata.rest.dto.resource.AbstractResourceMeta;
import org.zanata.rest.dto.resource.Resource;
import org.zanata.rest.dto.resource.TextFlow;
import org.zanata.rest.dto.resource.TextFlowTarget;
import org.zanata.rest.dto.resource.TranslationsResource;
... | google-code-export/flies | server/zanata-war/src/test/java/org/zanata/rest/service/ResourceTestUtil.java | Java | lgpl-2.1 | 944 |
/*
* Copyright (c) 2010 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 in ... | hotosm/Geo-Data-Collect | HOSMCollect/src/hosm/odk/collect/android/picasa/AlbumFeed.java | Java | lgpl-3.0 | 820 |
//
// Tests for System.Web.UI.WebControls.ImageMap.cs
//
// Author:
// Hagit Yidov (hagity@mainsoft.com
//
// (C) 2005 Mainsoft Corporation (http://www.mainsoft.com)
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Softwa... | edwinspire/VSharp | class/System.Web/Test/System.Web.UI.WebControls/TreeNodeBindingCollectionTest.cs | C# | lgpl-3.0 | 6,051 |
package org.red5.server.messaging;
/*
* RED5 Open Source Flash Server - http://www.osflash.org/red5
*
* Copyright (c) 2006-2009 by respective authors (see below). All rights reserved.
*
* This library is free software; you can redistribute it and/or modify it under the
* terms of the GNU Lesser Genera... | OpenCorrelate/red5load | red5/src/main/java/org/red5/server/messaging/IMessageInput.java | Java | lgpl-3.0 | 2,754 |
/*
* This file is part of Gaia Sky, which is released under the Mozilla Public License 2.0.
* See the file LICENSE.md in the project root for full license details.
*/
package gaiasky.interafce.minimap;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.graphics.GL20;
import com.badlogic.gdx.graphics.GL30;
import... | ari-zah/gaiasandbox | core/src/gaiasky/interafce/minimap/SolarNeighbourhoodMinimapScale.java | Java | lgpl-3.0 | 7,387 |
// Copyright 2015 The go-ethereum Authors
// This file is part of the go-ethereum library.
//
// The go-ethereum library 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... | am2rican5/go-ethereum | internal/ethapi/backend.go | GO | lgpl-3.0 | 3,996 |
$(function() {
var paging = $('.lazyloading-paging').hide();
if (!paging.length) {
return;
}
var loading = $('<div><i class="icon16 loading"></i>Loading...</div>').hide().insertBefore(paging);
var win = $(window);
var product_list = $('#product-list .product-list');
var cur... | dmitriyzhdankin/avantmarketcomua | wa-apps/shop/themes/default/lazyloading.js | JavaScript | lgpl-3.0 | 1,548 |
( function($) {
var Drawer = ( function($) {
Drawer = function(options) {
var that = this;
that.$wrapper = options["$wrapper"];
if (that.$wrapper && that.$wrapper.length) {
// DOM
that.$block = that.$wrapper.find(".drawer-body");
... | webasyst/webasyst-framework | wa-apps/ui/js/drawer.js | JavaScript | lgpl-3.0 | 7,494 |
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package com.redline.jenkins;
import hudson.Extension;
import hudson.model.AbstractDescribableImpl;
import hudson.model.Descriptor;
imp... | redline13/redline-jenkins-plugin | src/main/java/com/redline/jenkins/Thresholds.java | Java | lgpl-3.0 | 2,768 |
using LKCamelot.library;
using LKCamelot.model;
namespace LKCamelot.script.item
{
public class ToughLeather : BaseArmor
{
public override string Name { get { return "Tough Leather"; } }
public override int DamBase { get { return 0; } }
public override int ACBase { get { return 117; } }
public override int ... | hsnks100/LakingServer | FileReader/bin/Debug/item/armor/ToughLeather.cs | C# | lgpl-3.0 | 760 |
/*
* JSmart Framework - Java Web Development Framework
* Copyright (c) 2015, Jeferson Albino da Silva, All rights reserved.
*
* This library 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... | jefalbino/jsmart5 | src/main/java/com/jsmartframework/web/config/UploadConfig.java | Java | lgpl-3.0 | 1,881 |
/****************************************************************************
**
** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: Nokia Corporation (qt-info@nokia.com)
**
** This file is part of the documentation of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:BSD$
** ... | ssangkong/NVRAM_KWU | qt-everywhere-opensource-src-4.7.4/doc/src/snippets/picture/picture.cpp | C++ | lgpl-3.0 | 4,382 |
package es.uvigo.esei.sing.bdbm.gui.command.dialogs;
import java.awt.Component;
import java.awt.GridLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.io.File;
import java.util.Vector;
import javax.swing.DefaultComboBoxModel;
import javax.swing.JComboBox;
import javax.swing.J... | mrjato/BDBM | gui/es/uvigo/esei/sing/bdbm/gui/command/dialogs/TBLASTXCommandDialog.java | Java | lgpl-3.0 | 3,998 |
/*
* LuoYing is a program used to make 3D RPG game.
* Copyright (c) 2014-2016 Huliqing <31703299@qq.com>
*
* This file is part of LuoYing.
*
* LuoYing 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 Softwar... | guyue123/ly | ly-kernel/src/name/huliqing/luoying/object/effect/SoundWrap.java | Java | lgpl-3.0 | 2,117 |
/*
* Copyright (C) 2015-2017 PÂRIS Quentin
*
* 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 program is... | madoar/POL-POM-5 | phoenicis-javafx/src/main/java/org/phoenicis/javafx/views/mainwindow/engines/EnginesView.java | Java | lgpl-3.0 | 11,687 |
def itemTemplate():
return ['object/tangible/wearables/armor/padded/shared_armor_padded_s01_helmet.iff']
def customItemName():
return 'Padded Armor Helmet'
def customItemStackCount():
return 1
def customizationAttributes():
return []
def customizationValues():
return []
def itemStats():
stats = ['a... | agry/NGECore2 | scripts/loot/lootItems/armor/padded/padded_armor_helmet.py | Python | lgpl-3.0 | 644 |
/*******************************************************************************
* Gisgraphy Project
*
* This library 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 2... | delphiprogramming/gisgraphy | src/main/java/com/gisgraphy/importer/dto/InterpolationMember.java | Java | lgpl-3.0 | 5,480 |
// Copyright 2017 The go-ethereum Authors
// This file is part of the go-ethereum library.
//
// The go-ethereum library 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... | expanse-org/go-expanse | whisper/shhclient/client.go | GO | lgpl-3.0 | 8,032 |
/**
* <copyright>
* </copyright>
*
* $Id$
*/
package orgomg.cwm.foundation.expressions.impl;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.emf.ecore.EPackage;
import org.eclipse.emf.ecore.impl.EFactoryImpl;
import org.eclipse.emf.ecore.plugin.EcorePl... | dresden-ocl/dresdenocl | plugins/org.dresdenocl.tools.CWM/src/orgomg/cwm/foundation/expressions/impl/ExpressionsFactoryImpl.java | Java | lgpl-3.0 | 3,227 |
package org.molgenis.js;
import org.molgenis.js.nashorn.NashornScriptEngine;
import org.springframework.stereotype.Service;
import javax.script.ScriptException;
import static java.util.Objects.requireNonNull;
/**
* Executes a JavaScript
*/
@Service
class JsScriptExecutor
{
private final NashornScriptEngine jsScr... | ChaoPang/molgenis | molgenis-js/src/main/java/org/molgenis/js/JsScriptExecutor.java | Java | lgpl-3.0 | 950 |
// <copyright file="LocaleTests.cs" company="Allors bvba">
// Copyright (c) Allors bvba. All rights reserved.
// Licensed under the LGPL license. See LICENSE file in the project root for full license information.
// </copyright>
namespace Tests
{
using Allors;
using Allors.Domain;
using Allors.Meta;
u... | Allors/allors2 | Core/Database/Domain.Tests/Domain/Localization/LocaleTests.cs | C# | lgpl-3.0 | 2,463 |
// Copyright (C) 2000-2007, Luca Padovani <padovani@sti.uniurb.it>.
//
// This file is part of GtkMathView, a flexible, high-quality rendering
// engine for MathML documents.
//
// GtkMathView is free software; you can redistribute it and/or modify it
// either under the terms of the GNU Lesser General Public License ... | khaledhosny/libmathview | src/engine/MathMLActionElement.cc | C++ | lgpl-3.0 | 2,861 |
<?php
/*
*
* ____ _ _ __ __ _ __ __ ____
* | _ \ ___ ___| | _____| |_| \/ (_)_ __ ___ | \/ | _ \
* | |_) / _ \ / __| |/ / _ \ __| |\/| | | '_ \ / _ \_____| |\/| | |_) |
* | __/ (_) | (__| < __/ |_| | | | | | | | __/_____| | | | __/
* |_| \___/ \___... | Rocky-Software/Rocky | src/pocketmine/block/CommandBlock.php | PHP | lgpl-3.0 | 1,096 |
<?php
/*
* This file is part of Webasyst framework.
*
* Licensed under the terms of the GNU Lesser General Public License (LGPL).
* http://www.webasyst.com/framework/license/
*
* @link http://www.webasyst.com/
* @author Webasyst LLC
* @copyright 2011 Webasyst LLC
* @package wa-system
* @subpackage controller... | webasyst/webasyst-framework | wa-system/controller/waViewActions.class.php | PHP | lgpl-3.0 | 5,831 |
import _ from 'underscore';
import State from 'components/navigator/models/state';
export default State.extend({
defaults: {
page: 1,
maxResultsReached: false,
query: {},
facets: ['facetMode', 'severities', 'resolutions'],
isContext: false,
allFacets: [
'facetMode',
'issues',
... | sulabh-msft/sonarqube | server/sonar-web/src/main/js/apps/issues/models/state.js | JavaScript | lgpl-3.0 | 1,371 |
/*
* SonarAnalyzer for .NET
* Copyright (C) 2015-2016 SonarSource SA
* mailto:contact@sonarsource.com
*
* This program 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 ... | tvsonar/sonarlint-roslyn-analyzer | src/SonarAnalyzer.Common/Rules/OptionalParameterBase.cs | C# | lgpl-3.0 | 5,213 |
package adcom1
// APIFramework represents API frameworks either supported by a placement or required by an ad.
type APIFramework int
// API frameworks either supported by a placement or required by an ad.
//
// Values of 500+ hold vendor-specific codes.
const (
APIVPAID1 APIFramework = 1 // VPAID 1.0
APIVPAID2 APIF... | mxmCherry/go-rtb | adcom1/api_framework.go | GO | unlicense | 548 |
package crazypants.enderio.machines.machine.generator.combustion;
import javax.annotation.Nonnull;
import com.enderio.core.common.network.MessageTileEntity;
import com.enderio.core.common.network.NetworkUtil;
import io.netty.buffer.ByteBuf;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraftforge.fml.commo... | HenryLoenwind/EnderIO | enderio-machines/src/main/java/crazypants/enderio/machines/machine/generator/combustion/PacketCombustionTank.java | Java | unlicense | 2,318 |
GoogleElectionMap.shapeReady({name:"23_03",type:"state",state:"23_03",bounds:[],centroid:[],shapes:[
{points:[
{x:30.7337437360944,y: 29.4749206150606}
,
{x:30.7337582665663,y: 29.4744813215764}
,
{x:30.7337486793531,y: 29.4741262248318}
,
{x:30.733830562916,y: 29.4738380667479}
,
{x:30.7340080361753,y: 29.473327820204... | amounir86/amounir86-2011-elections | voter-info/shapes/old_json/23_03.js | JavaScript | unlicense | 95,900 |
var
blog_previews_container = $('#blog .preview-container-shift'),
blog_previews = $('#blog-posts'),
blog_belt = $('.blog-belt'),
post_section = $('.post-section');
blog_return = $('.blog-return'),
post_poster = $('.post-poster'),
post_content = $('.post-content');
total_number = blog_... | const-int/const-int.github.io | assets/js/sections/section-blog.js | JavaScript | unlicense | 4,911 |
#include <cmath>
#include <cstdio>
#include <cstring>
#define MAXR 100
#define MAXC 100
#define Neg(v) memset((v), -1, sizeof(v))
const int MAX_X = MAXR * 2;
const int MAX_Y = MAXC * 2;
int R, C;
int Q, x, y;
char grid[MAXR][MAXC + 1];
double curr;
double ans[MAX_X + 1][MAX_Y + 1];
// memo[x][y]: coordinates... | lbv/pc-code | solved/r-t/truchet-tiling/lightoj/truchet.cpp | C++ | unlicense | 2,677 |
/*
* Copyright 2015 RONDHUIT Co.,LTD.
*
* 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 agre... | gazimahmud/nlp4l | src/main/java/org/nlp4l/lucene/ConcatFreqDFLRCompoundNounScorer.java | Java | apache-2.0 | 2,211 |
/*
* Copyright (C) 2017 TypeFox and others.
*
* 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
*/
// tslint:disable:no-any
import * as request from... | epatpol/theia-1 | dev-packages/application-package/src/npm-registry.ts | TypeScript | apache-2.0 | 4,807 |
function refreshHzBarChart(){
console.log("entered refreshHzBarChart");
d3.json('../../data/team24/files.json', function(error, data) {
if (error) throw error;
var chartWidth = 600,
barHeight = 14,
groupHeight = barHeight * data.series.length ,
gapBetweenGroup... | USCDataScience/polar.usc.edu | js/team24/nerCompare.js | JavaScript | apache-2.0 | 4,520 |
using System;
using System.Text;
using Microsoft.AspNetCore.Http;
using Newtonsoft.Json;
using TfsAdvanced.Models.Infrastructure;
namespace TfsAdvanced.Infrastructure
{
public class AuthenticationTokenProvider
{
private readonly HttpContext context;
public AuthenticationTokenProvi... | BertCotton/TfsAdvanced | src/TfsAdvanced/Infrastructure/AuthenticationTokenProvider.cs | C# | apache-2.0 | 859 |
var Manager;
(function ($) {
$(function () {
Manager = new AjaxSolr.Manager({
solrUrl: 'http://evolvingweb.ca/solr/reuters/'
});
Manager.addWidget(new AjaxSolr.ResultWidget({
id: 'result',
target: '#docs'
}));
Manager.addWidget(new AjaxSolr.PagerWidget({
id: 'pager',
... | ox-it/wl-course-signup | tool/src/main/webapp/static/lib/ajax-solr-master/search/js/reuters.8.js | JavaScript | apache-2.0 | 1,954 |
// Copyright (c) 2015 Alachisoft
//
// 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 t... | Teino1978-Corp/NCache | Integration/MemCached/Clients/.NET memcached Client Library/Src/MemCachedClient.cs | C# | apache-2.0 | 53,178 |
/*
* Copyright (C) 2010 The Android Open Source Project
*
* 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 app... | xorware/android_frameworks_base | core/java/android/animation/AnimatorSet.java | Java | apache-2.0 | 51,729 |
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... | engagepoint/camel | components/camel-solr/src/main/java/org/apache/camel/component/solr/SolrEndpoint.java | Java | apache-2.0 | 5,066 |
/*
* Copyright 2000-2016 JetBrains s.r.o.
*
* 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 agre... | fitermay/intellij-community | plugins/devkit/src/inspections/PluginXmlDomInspection.java | Java | apache-2.0 | 15,763 |