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 |
|---|---|---|---|---|---|
initSidebarItems({"struct":[["DefaultState","A structure which is a factory for instances of `Hasher` which implement the default trait."]],"trait":[["HashState","A trait representing stateful hashes which can be used to hash keys in a `HashMap`."]]}); | susaing/doc.servo.org | std/collections/hash_state/sidebar-items.js | JavaScript | mpl-2.0 | 252 |
#form {
top: 70%;
left: 50%;
width: 60%;
}
#main-login-form {
top: 70%;
left: 50%;
width: 60%;
background-color: #FFFFFF;
border-radius: 10px;
padding: 12px 20px;
}
.fixed-form {
position: fixed;
-webkit-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
}
.form-partial-co... | iamstephenliu/HiveCHI-rwm | app/assets/stylesheets/session.css | CSS | mpl-2.0 | 443 |
import React from 'react'
import { createDevTools } from 'redux-devtools'
import LogMonitor from 'redux-devtools-log-monitor'
import DockMonitor from 'redux-devtools-dock-monitor'
export default createDevTools(
<DockMonitor
toggleVisibilityKey="H"
changePositionKey="Q"
>
<LogMonitor />
</DockMonitor>... | blockstack/blockstack-browser | app/js/components/DevTools.js | JavaScript | mpl-2.0 | 323 |
/*
* The contents of this file are subject to the OpenMRS Public License
* Version 1.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://license.openmrs.org
*
* Software distributed under the License is distributed on an "AS IS"
*... | yadamz/first-module | omod/src/main/webapp/resources/scripts/navigator/exitHandlers.js | JavaScript | mpl-2.0 | 1,610 |
import { Model, belongsTo } from 'ember-cli-mirage';
export default Model.extend({
parent: belongsTo('alloc-file'),
});
| hashicorp/nomad | ui/mirage/models/alloc-file.js | JavaScript | mpl-2.0 | 123 |
<?php
use Faker\Generator;
class IssueModuleCest
{
/**
* @var string $lastView helps the test skip some repeated tests in order to make the test framework run faster at the
* potential cost of being accurate and reliable
*/
protected $lastView;
/**
* @var Generator $fakeData
*/
... | willrennie/SuiteCRM | tests/acceptance/Core/IssueModuleCest.php | PHP | agpl-3.0 | 11,748 |
create table layer_prevent_geom_editors (
layer number(19,0) not null,
role_name varchar2(255 char)
);
alter table layer_prevent_geom_editors
add constraint FKF2CC57D82AB24981
foreign key (layer)
references layer; | B3Partners/flamingo | viewer-config-persistence/src/main/resources/scripts/oracle-add_layer_prevent_geom_editors.sql | SQL | agpl-3.0 | 234 |
<?php
/**
* 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
* perm... | wlwwt/shopware | engine/Shopware/Bundle/ESIndexingBundle/Product/ProductQueryFactoryInterface.php | PHP | agpl-3.0 | 3,161 |
/*
* This file is part of LibrePlan
*
* Copyright (C) 2009-2010 Fundación para o Fomento da Calidade Industrial e
* Desenvolvemento Tecnolóxico de Galicia
* Copyright (C) 2010-2011 Igalia, S.L.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms ... | PaulLuchyn/libreplan | libreplan-business/src/main/java/org/libreplan/business/resources/entities/Machine.java | Java | agpl-3.0 | 3,681 |
<?php
/**
* Live media server object, represents a media server association with live stream entry
*
* @package Core
* @subpackage model
*
*/
class kLiveMediaServer
{
/**
* @var int
*/
protected $mediaServerId;
/**
* @var int
*/
protected $index;
/**
* @var int
*/
protected $dc;
/**
*... | doubleshot/server | alpha/lib/data/live/kLiveMediaServer.php | PHP | agpl-3.0 | 1,582 |
//=============================================================================
// 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 2 of the License, or
// (at your option)... | telefonicaid/fiware-IoTAgent-Cplusplus | third_party/variant/src/ParseBool.h | C | agpl-3.0 | 1,391 |
/*
* Copyright 2007-2013 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... | FredPassos/pydio-core | core/src/plugins/gui.ajax/res/js/ui/prototype/interfaces/class.IContextMenuable.js | JavaScript | agpl-3.0 | 964 |
module Formtastic
module Helpers
# @private
module FieldsetWrapper
protected
# Generates a fieldset and wraps the content in an ordered list. When working
# with nested attributes, it allows %i as interpolation option in :name. So you can do:
#
# f.inputs :name => 'Task #%i',... | BibNumUMontreal/DMPonline_v4 | vendor/ruby/2.1.0/gems/formtastic-3.1.4/lib/formtastic/helpers/fieldset_wrapper.rb | Ruby | agpl-3.0 | 3,480 |
// NeL - MMORPG Framework <http://dev.ryzom.com/projects/nel/>
// Copyright (C) 2010 Winch Gate Property Limited
//
// 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... | osgcc/ryzom | nel/include/nel/misc/mutable_container.h | C | agpl-3.0 | 1,844 |
## What is Runbook?
[Runbook](https://runbook.io) is an open source monitoring service that allows you to perform automated "Reactions" when issues are detected. Runbook gives you the ability to automatically resolve DevOps alerts with zero human interaction.
Simply put, Runbook is what you would get if Nagios and IF... | rbramwell/runbook | docs/index.md | Markdown | agpl-3.0 | 1,455 |
<!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/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" con... | DanyYanev/Boiler_Control | resourses/Libraries/ITEADLIB_Arduino_Nextion-master/doc/Documentation/_nex_upload_8cpp.html | HTML | agpl-3.0 | 4,665 |
@charset "UTF-8";
/*
Animate.css - http://daneden.me/animate
Licensed under the ☺ license (http://licence.visualidiot.com/)
Copyright (c) 2012 Dan Eden
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Soft... | huidos22/huidos22.github.io | css/animate.css | CSS | agpl-3.0 | 61,153 |
<?php
/*********************************************************************************
* SugarCRM Community Edition is a customer relationship management program developed by
* SugarCRM, Inc. Copyright (C) 2004-2013 SugarCRM Inc.
*
* This program is free software; you can redistribute it and/or modify it under
... | witxo/bonos | custom/modulebuilder/packages/Contratos/language/application/es_ES.lang.php | PHP | agpl-3.0 | 5,024 |
//
// Copyright (C) 2016 - 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... | venturehive/canvas-lms | app/coffeescripts/api/enrollmentTermsApi.js | JavaScript | agpl-3.0 | 1,662 |
/*======================================================
************ Pull To Refresh ************
======================================================*/
app.initPullToRefresh = function (pageContainer) {
var eventsTarget = $(pageContainer);
if (!eventsTarget.hasClass('pull-to-refresh-content')) {
... | ayuzhin/web-apps | vendor/framework7/src/js/pull-to-refresh.js | JavaScript | agpl-3.0 | 8,596 |
/**
* Copyright © MyCollab
*
* 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 is distribu... | aglne/mycollab | mycollab-web/src/main/java/com/mycollab/vaadin/web/ui/CheckBoxDecor.java | Java | agpl-3.0 | 1,104 |
/*******************************************************************************
* This file is part of OpenNMS(R).
*
* Copyright (C) 2016-2016 The OpenNMS Group, Inc.
* OpenNMS(R) is Copyright (C) 1999-2016 The OpenNMS Group, Inc.
*
* OpenNMS(R) is a registered trademark of The OpenNMS Group, Inc.
*
* OpenNMS(... | aihua/opennms | features/poller/remote/src/test/java/org/opennms/netmgt/poller/remote/metadata/EmailValidatorTest.java | Java | agpl-3.0 | 2,394 |
/*
* ProActive Parallel Suite(TM):
* The Open Source library for parallel and distributed
* Workflows & Scheduling, Orchestration, Cloud Automation
* and Big Data Analysis on Enterprise Grids & Clouds.
*
* Copyright (c) 2007 - 2017 ActiveEon
* Contact: contact@activeeon.com
*
* This library is free software: y... | paraita/programming | programming-core/src/main/java/org/objectweb/proactive/core/jmx/mbean/JMXClassLoaderMBean.java | Java | agpl-3.0 | 1,413 |
<?php
/**
* Copyright (C) 2020 Xibo Signage Ltd
*
* Xibo - Digital Signage - http://www.xibo.org.uk
*
* This file is part of Xibo.
*
* Xibo 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, eithe... | xibosignage/xibo-cms | lib/Widget/TwitterBase.php | PHP | agpl-3.0 | 4,380 |
/*
* Kuali Coeus, a comprehensive research administration system for higher education.
*
* Copyright 2005-2016 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 Foundation, eithe... | kuali/kc | coeus-impl/src/main/java/org/kuali/coeus/propdev/impl/action/ProposalDevelopmentRejectionRule.java | Java | agpl-3.0 | 1,586 |
# lint-amnesty, pylint: disable=missing-module-docstring
from unittest.mock import patch
from django.test import TestCase
from common.djangoapps.track.backends.mongodb import MongoBackend
class TestMongoBackend(TestCase): # lint-amnesty, pylint: disable=missing-class-docstring
def setUp(self):
super().... | eduNEXT/edx-platform | common/djangoapps/track/backends/tests/test_mongodb.py | Python | agpl-3.0 | 1,162 |
## Institutional Proposal Persons [/instprop/api/v1/institutional-proposal-persons/]
### Get Institutional Proposal Persons by Key [GET /instprop/api/v1/institutional-proposal-persons/(key)]
+ Request
+ Headers
Authorization: Bearer {api-key}
Content-Type: application/json
+ Response ... | UniversityOfHawaiiORS/kc | coeus-webapp/src/main/jsfrontend/apidocs/instprop/institutional-proposal-persons.md | Markdown | agpl-3.0 | 5,509 |
"""Capa's specialized use of codejail.safe_exec."""
import hashlib
from codejail.safe_exec import SafeExecException, json_safe
from codejail.safe_exec import not_safe_exec as codejail_not_safe_exec
from codejail.safe_exec import safe_exec as codejail_safe_exec
from edx_django_utils.monitoring import function_trace
i... | eduNEXT/edx-platform | common/lib/capa/capa/safe_exec/safe_exec.py | Python | agpl-3.0 | 6,279 |
<?php
require_once __DIR__.'/Base.php';
use Subscriber\ProjectModificationDateSubscriber;
use Model\Project;
use Model\ProjectPermission;
use Model\User;
use Model\Task;
use Model\TaskCreation;
use Model\Acl;
use Model\Board;
use Model\Config;
use Model\Category;
class ProjectTest extends Base
{
public function ... | 666/kanboard-redesign | tests/units/ProjectTest.php | PHP | agpl-3.0 | 6,581 |
from ddt import ddt, data
from django.core.urlresolvers import reverse
from django.test import TestCase
import mock
from analyticsclient.exceptions import NotFoundError
from courses.tests import SwitchMixin
from courses.tests.test_views import ViewTestMixin, DEMO_COURSE_ID, DEPRECATED_DEMO_COURSE_ID
from courses.tests... | open-craft/edx-analytics-dashboard | analytics_dashboard/courses/tests/test_views/test_csv.py | Python | agpl-3.0 | 5,748 |
<?php
$module_name='Cosib_postsale';
$subpanel_layout = array (
'top_buttons' =>
array (
0 =>
array (
'widget_class' => 'SubPanelTopCreateButton',
),
1 =>
array (
'widget_class' => 'SubPanelTopSelectButton',
'popup_module' => 'Cosib_postsale',
),
),
'where' => '',
... | yonkon/nedvig | modules/Cosib_postsale/metadata/subpanels/default.php | PHP | agpl-3.0 | 756 |
<h1>Welcome to FixMyStreet</h1>
<p>
Using this app you can report common street problems, like potholes or broken street lights, to councils throughout the UK.
</p>
<p>
It works online and offline, because we know that there isn't always a signal when you need one.
</p>
| Kagee/fixmystreet-mobile | src/templates/en/initial_help.html | HTML | agpl-3.0 | 272 |
class CreateIdentities < ActiveRecord::Migration
def change
create_table :identities do |t|
t.references :user, index: true
t.string :provider
t.string :uid
t.timestamps null: false
end
end
end
| asm-products/pay-it-forward | db/migrate/20141010013730_create_identities.rb | Ruby | agpl-3.0 | 231 |
# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
import time
from odoo import api, fields, models
class ProductProduct(models.Model):
_inherit = "product.product"
date_from = fields.Date(compute='_compute_product_margin_fields_values', string='Margin Date F... | ygol/odoo | addons/product_margin/models/product_product.py | Python | agpl-3.0 | 9,711 |
# clean sequences after alignment, criteria based on sequences
# make inline with canonical ordering (no extra gaps)
import os, datetime, time, re
from itertools import izip
from Bio.Align import MultipleSeqAlignment
from Bio.Seq import Seq
from scipy import stats
import numpy as np
class virus_clean(object):
"""doc... | doerlbh/Indie-nextflu | augur/src/virus_clean.py | Python | agpl-3.0 | 3,403 |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html><head><meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
<title>libtcod documentation | Pseudorandom number generator</title>
<script type="text/javascript" src="../js/doctcod.js"></script>
<link href=... | svifylabs/Brogue | src/libtcod-1.5.2/doc/html2/random.html | HTML | agpl-3.0 | 4,335 |
<?php
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public License v3.0.
// See the LICENCE file in the repository root for full licence text.
return [
'availability' => [
'disabled' => 'Ez a beatmap jelenleg nem letölthető.',
'parts-removed' => 'Ez a beatmap... | ppy/osu-web | resources/lang/hu/beatmapsets.php | PHP | agpl-3.0 | 8,051 |
"""Deprecated import support. Auto-generated by import_shims/generate_shims.sh."""
# pylint: disable=redefined-builtin,wrong-import-position,wildcard-import,useless-suppression,line-too-long
from import_shims.warn import warn_deprecated_import
warn_deprecated_import('contentstore.rest_api.v1.serializers', 'cms.django... | eduNEXT/edunext-platform | import_shims/studio/contentstore/rest_api/v1/serializers.py | Python | agpl-3.0 | 431 |
/** \file
* \author John Bridgman
* \brief
*/
#include <Variant/Blob.h>
#include <stdlib.h>
#include <new>
#include <string.h>
#include <algorithm>
namespace libvariant {
static void MallocFree(void *ptr, void *) {
free(ptr);
}
shared_ptr<Blob> Blob::Create(void *ptr, unsigned len, BlobFreeFunc ffunc, void ... | telefonicaid/fiware-IoTAgent-Cplusplus | third_party/variant/src/Blob.cc | C++ | agpl-3.0 | 3,102 |
<?php
/*********************************************************************************
* Zurmo is a customer relationship management program developed by
* Zurmo, Inc. Copyright (C) 2014 Zurmo Inc.
*
* Zurmo is free software; you can redistribute it and/or modify it under
* the terms of t... | speixoto/zurmo-for-school | app/protected/modules/emailTemplates/elements/actions/MergeTagGuideAjaxLinkActionElement.php | PHP | agpl-3.0 | 4,382 |
/** \file
* \author John Bridgman
* \brief
*/
#ifndef VARIANT_GUESSFORMAT_H
#define VARIANT_GUESSFORMAT_H
#pragma once
#include <Variant/Variant.h>
#include <Variant/Parser.h>
namespace libvariant {
///
// Try to guess the format of the input without removing any
// input from the input object.
//
// Currentl... | telefonicaid/fiware-IoTAgent-Cplusplus | third_party/variant/include/Variant/GuessFormat.h | C | agpl-3.0 | 521 |
class AddPublicDiscussionsCount < ActiveRecord::Migration
def change
add_column :groups, :public_discussions_count, :integer, null: false, default: 0
end
end
| mhjb/loomio | db/migrate/20160301094551_add_public_discussions_count.rb | Ruby | agpl-3.0 | 166 |
endor_lantern_bird_neutral_none = Lair:new {
mobiles = {{"lantern_bird",1}},
spawnLimit = 15,
buildingsVeryEasy = {},
buildingsEasy = {},
buildingsMedium = {},
buildingsHard = {},
buildingsVeryHard = {},
buildingType = "none",
}
addLairTemplate("endor_lantern_bird_neutral_none", endor_lantern_bird_neutral_none... | Chilastra-Reborn/Chilastra-source-code | bin/scripts/mobile/lair/creature_dynamic/endor_lantern_bird_neutral_none.lua | Lua | agpl-3.0 | 322 |
<?php
use MapasCulturais\i;
$section = '';
$groups = $this->getDictGroups();
$editEntity = $this->controller->action === 'create' || $this->controller->action === 'edit';
$texts = \MapasCulturais\Themes\BaseV1\Theme::_dict();
?>
<div id="texts" class="aba-content">
<p class="alert info">
<?php i::_e('Nest... | secultce/mapasculturais | src/protected/application/themes/BaseV1/layouts/parts/singles/subsite-texts.php | PHP | agpl-3.0 | 2,527 |
<?php
/*********************************************************************************
* Zurmo is a customer relationship management program developed by
* Zurmo, Inc. Copyright (C) 2014 Zurmo Inc.
*
* Zurmo is free software; you can redistribute it and/or modify it under
* the terms of t... | maruthisivaprasad/zurmo | app/protected/modules/reports/controllers/DefaultController1.php | PHP | agpl-3.0 | 30,234 |
<%page expression_filter="h"/>
<%inherit file="../main.html" />
<%!
from django.utils.translation import ugettext as _
from django.urls import reverse
from openedx.core.djangolib.js_utils import js_escaped_string
from openedx.core.djangolib.markup import HTML, Text
%>
<%block name="bodyclass">register verification-pro... | philanthropy-u/edx-platform | lms/templates/course_modes/choose.html | HTML | agpl-3.0 | 16,775 |
/**************************************************************************
**
** This file is part of Qt Creator
**
** Copyright (c) 2011 Nokia Corporation and/or its subsidiary(-ies).
**
** Contact: Nokia Corporation (info@qt.nokia.com)
**
**
** GNU Lesser General Public License Usage
**
** This file may be used unde... | renatofilho/QtCreator | src/plugins/qmljsinspector/qmljsinspectorsettings.h | C | lgpl-2.1 | 1,884 |
/*
* This library is part of OpenCms -
* the Open Source Content Management System
*
* Copyright (c) Alkacon Software GmbH & Co. KG (http://www.alkacon.com)
*
* 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 th... | ggiudetti/opencms-core | src/org/opencms/gwt/shared/sort/CmsComparatorType.java | Java | lgpl-2.1 | 1,889 |
/*
eXokernel Development Kit (XDK)
Based on code by Samsung Research America Copyright (C) 2013
The GNU C 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 t... | dwaddington/xdk | drivers/nvme-ssd/nvme_common.cc | C++ | lgpl-2.1 | 1,621 |
package railo.runtime.search.lucene2.query;
import railo.commons.lang.StringUtil;
public final class Concator implements Op {
private Op left;
private Op right;
public Concator(Op left,Op right) {
this.left=left;
this.right=right;
}
@Override
public String toString() {
if(left instanceof Literal && ri... | modius/railo | railo-java/railo-core/src/railo/runtime/search/lucene2/query/Concator.java | Java | lgpl-2.1 | 516 |
/*
* Portable Object Compiler (c) 1997,98,2003. All Rights Reserved.
*
* 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 2 of the License, or
* (at your option) any l... | JX7P/PCPlusPlus | objpak/hdr/Set.h | C | lgpl-2.1 | 3,158 |
# Copyright 2013-2020 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 XorgServer(AutotoolsPackage, XorgPackage):
"""X.Org Server is the free and open source imp... | iulian787/spack | var/spack/repos/builtin/packages/xorg-server/package.py | Python | lgpl-2.1 | 2,055 |
/****************************************************************************
**
** 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 QtXmlPatterns module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:L... | kobolabs/qt-everywhere-4.8.0 | src/xmlpatterns/expr/qoperandsiterator_p.h | C | lgpl-2.1 | 5,802 |
package org.hivedb.hibernate;
import org.hibernate.HibernateException;
import org.hibernate.Session;
import org.hibernate.shards.session.OpenSessionEvent;
import java.sql.SQLException;
public class RecordNodeOpenSessionEvent implements OpenSessionEvent {
public static ThreadLocal<String> node = new ThreadLocal<Str... | britt/hivedb | src/main/java/org/hivedb/hibernate/RecordNodeOpenSessionEvent.java | Java | lgpl-2.1 | 834 |
using System;
using System.Collections;
using System.Collections.Generic;
using NHibernate.Driver;
using NHibernate.Test.SecondLevelCacheTests;
using NUnit.Framework;
namespace NHibernate.Test.QueryTest
{
[TestFixture]
public class MultipleMixedQueriesFixture : TestCase
{
protected override string MappingsAssembl... | nkreipke/nhibernate-core | src/NHibernate.Test/QueryTest/MultipleMixedQueriesFixture.cs | C# | lgpl-2.1 | 11,919 |
##############################################################################
# Copyright (c) 2013-2017, Lawrence Livermore National Security, LLC.
# Produced at the Lawrence Livermore National Laboratory.
#
# This file is part of Spack.
# Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved.
# LLNL-CODE-64... | TheTimmy/spack | lib/spack/spack/cmd/cd.py | Python | lgpl-2.1 | 1,684 |
/**
* Copyright (c) 2014, 2015, Oracle and/or its affiliates.
* All rights reserved.
*/
"use strict";
/*
Copyright 2013 jQuery Foundation and other contributors
Released under the MIT license.
http://jquery.org/license
Copyright 2013 jQuery Foundation and other contributors
Released under the MIT license.
http... | afsinka/jet_jsp | src/main/webapp/js/libs/oj/v1.1.2/min/ojdialog.js | JavaScript | lgpl-2.1 | 24,005 |
/* $XConsortium: xrmLib.h /main/5 1995/07/15 20:46:59 drk $ */
/*
* Motif
*
* Copyright (c) 1987-2012, The Open Group. All rights reserved.
*
* These libraries and programs are free software; you can
* redistribute them and/or modify them under the terms of the GNU
* Lesser General Public License as published b... | fjardon/motif | demos/programs/workspace/xrmLib.h | C | lgpl-2.1 | 8,336 |
/****************************************************************************
**
** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of Qt Creator.
**
** Commercial License Usage
** Licensees holding valid commercial Qt licenses may use this f... | duythanhphan/qt-creator | src/plugins/qmlprofiler/qmlprofilertraceview.cpp | C++ | lgpl-2.1 | 22,504 |
// @(#)root/tmva $Id$
// Author: Peter Speckmayer
/**********************************************************************************
* Project: TMVA - a Root-integrated toolkit for multivariate data analysis *
* Package: TMVA *
* Class : Metho... | karies/root | tmva/tmva/inc/TMVA/MethodDNN.h | C | lgpl-2.1 | 8,107 |
/* GIO - GLib Input, Output and Streaming Library
*
* Copyright (C) 2006-2007 Red Hat, Inc.
*
* 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 of the License, or ... | staceyson/glib-2.0 | gio/gappinfo.c | C | lgpl-2.1 | 28,691 |
/* -*- mode: C++; c-file-style: "gnu" -*-
This file is part of KMail, the KDE mail client.
Copyright (c) 2009 Martin Koller <kollix@aon.at>
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; e... | lefou/kdepim-noakonadi | messageviewer/attachmentdialog.h | C | lgpl-2.1 | 1,769 |
package railo.runtime.functions.dateTime;
import java.util.TimeZone;
import railo.runtime.PageContext;
import railo.runtime.exp.ExpressionException;
import railo.runtime.ext.function.Function;
import railo.runtime.tag.util.DeprecatedUtil;
import railo.runtime.type.dt.DateTime;
import railo.runtime.type.dt.DateTimeImp... | JordanReiter/railo | railo-java/railo-core/src/railo/runtime/functions/dateTime/NowServer.java | Java | lgpl-2.1 | 870 |
/*
* gstvaapidisplay_egl_priv.h - Internal VA/EGL interface
*
* Copyright (C) 2014 Splitted-Desktop Systems
* Author: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public License
* ... | GStreamer/gstreamer-vaapi | gst-libs/gst/vaapi/gstvaapidisplay_egl_priv.h | C | lgpl-2.1 | 3,088 |
/*
* Copyright (c) 2012 Citrix Systems, Inc.
*
* 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.
*
* Th... | OpenXT/surfman | plugins/glgfx/glgfx.c | C | lgpl-2.1 | 31,356 |
/*****************************************************************************
* schroedinger.c: Dirac decoder module making use of libschroedinger.
* (http://www.bbc.co.uk/rd/projects/dirac/index.shtml)
* (http://diracvideo.org)
********************************************************************... | xkfz007/vlc | modules/codec/schroedinger.c | C | lgpl-2.1 | 57,647 |
/**
******************************************************************************
* @file stm32wbxx_hal_pcd_ex.c
* @author MCD Application Team
* @brief PCD Extended HAL module driver.
* This file provides firmware functions to manage the following
* functionalities of the USB... | prefetchnta/crhack | src/naked/arm-stm32/stm32wbxx/stm32wbxx_hal_pcd_ex.c | C | lgpl-2.1 | 9,702 |
package org.hivedb.hibernate.simplified;
import org.apache.log4j.Logger;
import org.hibernate.HibernateException;
import org.hibernate.action.Executable;
import org.hibernate.event.PostDeleteEvent;
import org.hibernate.event.PostDeleteEventListener;
import org.hivedb.Hive;
import org.hivedb.HiveLockableException;
impo... | aruanruan/hivedb | src/main/java/org/hivedb/hibernate/simplified/PostDeleteEventListenerImpl.java | Java | lgpl-2.1 | 2,748 |
/****************************************************************/
/* MOOSE - Multiphysics Object Oriented Simulation Environment */
/* */
/* All contents are licensed under LGPL V2.1 */
/* See LICENSE for full restrictions ... | raghavaggarwal/moose | modules/phase_field/src/kernels/KKSACBulkF.C | C++ | lgpl-2.1 | 2,419 |
// Boost.Geometry Index
//
// R-tree spatial query visitor implementation
//
// Copyright (c) 2011-2014 Adam Wulkiewicz, Lodz, Poland.
//
// This file was modified by Oracle on 2019-2021.
// Modifications copyright (c) 2019-2021 Oracle and/or its affiliates.
// Contributed and/or modified by Adam Wulkiewicz, on behalf ... | qianqians/abelkhan | cpp_component/3rdparty/boost/boost/geometry/index/detail/rtree/visitors/spatial_query.hpp | C++ | lgpl-2.1 | 8,657 |
--Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--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 2 of the License,
--or (at your option) any later versio... | kidaa/Awakening-Core3 | bin/scripts/object/mobile/warren_irradiated_worker_s01.lua | Lua | lgpl-3.0 | 2,228 |
--Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--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 2 of the License,
--or (at your option) any later versio... | kidaa/Awakening-Core3 | bin/scripts/object/tangible/wearables/ithorian/ith_pants_s13.lua | Lua | lgpl-3.0 | 3,451 |
#
# Secret Labs' Regular Expression Engine
#
# various symbols used by the regular expression engine.
# run this script to update the _sre include files!
#
# Copyright (c) 1998-2001 by Secret Labs AB. All rights reserved.
#
# See the sre.py file for information on usage and redistribution.
#
"""Internal su... | harmy/kbengine | kbe/res/scripts/common/Lib/sre_constants.py | Python | lgpl-3.0 | 7,444 |
/* radare - LGPL - Copyright 2014-2015 - pancake */
#include "r_util/r_str.h"
#include <r_util.h>
/* dex/dwarf uleb128 implementation */
R_API const ut8 *r_uleb128(const ut8 *data, int datalen, ut64 *v, const char **error) {
ut8 c;
ut64 s, sum = 0;
const ut8 *data_end;
bool malformed_uleb = true;
if (v) {
*v ... | wargio/radare2 | libr/util/uleb128.c | C | lgpl-3.0 | 8,753 |
"""
Multiple dictation constructs
===============================================================================
This file is a showcase investigating the use and functionality of multiple
dictation elements within Dragonfly speech recognition grammars.
The first part of this file (i.e. the module's doc string) cont... | Versatilus/dragonfly | dragonfly/examples/test_multiple_dictation.py | Python | lgpl-3.0 | 7,289 |
import os
import unittest
from mock import patch, Mock
from tests.utils import (
FakedCache,
ObjectWithSignals,
setup_test_env,
)
setup_test_env()
from softwarecenter.db.database import StoreDatabase
from softwarecenter.ui.gtk3.views import lobbyview
from softwarecenter.ui.gtk3.widgets.exhibits import (... | sti-lyneos/shop | tests/gtk3/test_exhibits.py | Python | lgpl-3.0 | 6,973 |
///////////////////////////////////////////////////////////////////////////////
// Name: wx/msw/private/hiddenwin.h
// Purpose: Helper for creating a hidden window used by wxMSW internally.
// Author: Vadim Zeitlin
// Created: 2011-09-16
// Copyright: (c) 2011 Vadim Zeitlin <vadim@wxwidgets.o... | dariusliep/LogViewer | thirdparty/wxWidgets-3.0.0/include/wx/msw/private/hiddenwin.h | C | lgpl-3.0 | 1,355 |
/*
* @BEGIN LICENSE
*
* Psi4: an open-source quantum chemistry software package
*
* Copyright (c) 2007-2017 The Psi4 Developers.
*
* The copyrights for code used from other parties are included in
* the corresponding files.
*
* This file is part of Psi4.
*
* Psi4 is free software; you can redistribute it an... | rmcgibbo/psi4public | psi4/src/psi4/libfock/apps.h | C | lgpl-3.0 | 7,398 |
<?php
/**
* @group regression
* @covers ApiKeys_ApiKeyStruct::validSecret
* User: dinies
* Date: 21/06/16
* Time: 15.50
*/
class GetUserApiKeyTest extends AbstractTest {
protected $uid;
private $test_data;
function setup() {
/**
* environment initialization
*/
... | riccio82/MateCat | test/unit/Structs/TestApiKeyStruct/GetUserApiKeyTest.php | PHP | lgpl-3.0 | 1,600 |
//
// System.Web.UI.HtmlControls.HtmlSelect.cs
//
// Author:
// Dick Porter <dick@ximian.com>
//
// Copyright (C) 2005-2010 Novell, Inc (http://www.novell.com)
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), ... | edwinspire/VSharp | class/System.Web/System.Web.UI.HtmlControls/HtmlSelect.cs | C# | lgpl-3.0 | 17,515 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Code Coverage for D:\work\log4php-tag\src\main\php/appenders</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="css/bootstrap.min.css" rel="stylesheet">
<link href="css/bootstrap-responsive.min.css" ... | MobiusMedical/sg-oc | lib/apache-log4php-2.3.0/site/coverage-report/appenders.html | HTML | lgpl-3.0 | 18,382 |
//
// ServiceCredentials.cs
//
// Author:
// Atsushi Enomoto <atsushi@ximian.com>
//
// Copyright (C) 2005 Novell, Inc. http://www.novell.com
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Sof... | edwinspire/VSharp | class/System.ServiceModel/System.ServiceModel.Description/ServiceCredentials.cs | C# | lgpl-3.0 | 4,458 |
"use strict";
var express = require('express');
var less = require('less-middleware');
function HttpServer(port, staticServedPath, logRequest) {
this.port = port;
this.staticServedPath = staticServedPath;
this.logRequest = (typeof logRequest === "undefined") ? true : logRequest;
}
HttpServer.prototype.start = ... | o-schneider/heroesdesk-front-web | src/server/HttpServer.js | JavaScript | lgpl-3.0 | 917 |
import java.util.*;
public class LineNumbersTest extends LinkedList<Object>{
public LineNumbersTest(int x) {
super((x & 0) == 1 ?
new LinkedList<Object>((x & 1) == x++ ? new ArrayList<Object>() : new HashSet<Object>())
:new HashSet<Object>());
super.add(x = getLineNo());
... | xtiankisutsa/MARA_Framework | tools/decompilers/Krakatau/tests/disassembler/source/LineNumbersTest.java | Java | lgpl-3.0 | 857 |
#!/bin/bash
#python pyinstaller-pyinstaller-67b940c/pyinstaller.py ../pyNastran/pyNastran/gui/gui.py
rm -rf build dist
python pyinstaller-pyinstaller-67b940c/pyinstaller.py pyNastranGUI.spec
#dist/pywin27/gui.exe
#dist/gui/gui.exe
| saullocastro/pyNastran | dev/pyNastranGUI_build.sh | Shell | lgpl-3.0 | 239 |
--Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--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 2 of the License,
--or (at your option) any later versio... | kidaa/Awakening-Core3 | bin/scripts/object/mobile/dressed_tatooine_om_aynat.lua | Lua | lgpl-3.0 | 2,216 |
using System;
using System.Collections.Generic;
using DoxygenWrapper.Wrappers.Compounds.Types;
using System.Xml;
namespace DoxygenWrapper.Wrappers.Compounds
{
public class CompoundMember:
Compound
{
protected override void OnParse(XmlNode _node)
{
base.OnParse(_node);
mCompoundType = new ... | blunted2night/MyGUI | Wrappers/DoxygenWrapper/DoxygenWrapper/Wrappers/Compounds/CompoundMember.cs | C# | lgpl-3.0 | 508 |
package org.opennaas.client.rest;
import java.io.FileNotFoundException;
import java.util.List;
import javax.ws.rs.core.MediaType;
import javax.xml.bind.JAXBException;
import org.apache.log4j.Logger;
import org.opennaas.extensions.router.model.EnabledLogicalElement.EnabledState;
import org.opennaas.extensions.router.... | dana-i2cat/opennaas | utils/rest-client/src/test/java/org/opennaas/client/rest/GRETunnelTest.java | Java | lgpl-3.0 | 3,036 |
/////////////////////////////////////////////////////////////////////////////
// Name: wx/spinbutt.h
// Purpose: wxSpinButtonBase class
// Author: Julian Smart, Vadim Zeitlin
// Modified by:
// Created: 23.07.99
// Copyright: (c) Julian Smart
// Licence: wxWindows licence
/////////////... | dariusliep/LogViewer | thirdparty/wxWidgets-3.0.0/include/wx/spinbutt.h | C | lgpl-3.0 | 4,861 |
{extends file="layout.tpl"}
{block name="init"}
{$product_id={product attr="id"}}
{$pse_count=1}
{$product_virtual={product attr="virtual"}}
{$check_availability={config key="check-available-stock" default="1"}}
{/block}
{* Body Class *}
{block name="body-class"}page-product{/block}
{* Page Title *}
... | Yochima/thelia | templates/frontOffice/default/product.html | HTML | lgpl-3.0 | 21,000 |
/* =========================================================================
* This file is part of six.sicd-c++
* =========================================================================
*
* (C) Copyright 2004 - 2014, MDA Information Systems LLC
*
* six.sicd-c++ is free software; you can redistribute it and/or ... | mohseniaref/six-library | modules/c++/six.sicd/include/six/sicd/Grid.h | C | lgpl-3.0 | 3,975 |
# encoding: utf-8
import datetime
from south.db import db
from south.v2 import SchemaMigration
from django.db import models
class Migration(SchemaMigration):
def forwards(self, orm):
# Adding model 'Result'
db.create_table('taxonomy_result', (
('id', self.gf('django.db.models.... | zuck/prometeo-erp | core/taxonomy/migrations/0001_initial.py | Python | lgpl-3.0 | 8,429 |
/* +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Copyright (c) 2013-2020 The plumed team
(see the PEOPLE file at the root of the distribution for a list of names)
See http://www.plumed.org for more information.
This file is part of plumed, version 2.
plumed is free software... | PabloPiaggi/plumed2 | src/reference/SingleDomainRMSD.h | C | lgpl-3.0 | 2,389 |
/*
* World Calendars
* https://github.com/alexcjohnson/world-calendars
*
* Batch-converted from kbwood/calendars
* Many thanks to Keith Wood and all of the contributors to the original project!
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this sourc... | andrealmeid/ToT | node_modules/world-calendars/dist/calendars/taiwan-zh-TW.js | JavaScript | unlicense | 1,220 |
# Contributor Covenant Code of Conduct
## Our Pledge
In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender... | GamerMan7799/Cannon-Simulation | docs/CODE_OF_CONDUCT.md | Markdown | unlicense | 3,209 |
/***
*mbsupr.c - Convert string upper case (MBCS)
*
* Copyright (c) 1985-1997, Microsoft Corporation. All rights reserved.
*
*Purpose:
* Convert string upper case (MBCS)
*
*******************************************************************************/
#ifdef _MBCS
#if defined (_WIN32)
#incl... | hyller/CodeLibrary | The_Standard_C_Library/MBSUPR.C | C++ | unlicense | 2,615 |
<!--
To change this template, choose Tools | Templates
and open the template in the editor.
-->
<body>
<legend><a href="<?php echo base_url(); ?>" >Home</a> | <a href="<?php echo base_url(); ?>reviewer" >Refresh</a> | <?php echo anchor('reviewer/samples_for_review/'.$reviewer_id,'Worksheets Uploaded For Review'); ?>... | johnotaalo/NQCL_LIMS | application/views/reviewer_v_tr.php | PHP | unlicense | 1,312 |
## Tutorials
Practical Android Exploitation: http://theroot.ninja/PAE.pdf
Android Application Security Tutorial Series: http://manifestsecurity.com/android-application-security/
Smartphone OS Security: http://www.csc.ncsu.edu/faculty/enck/csc591-s12/index.html
ExploitMe Mobile Android Labs: http://securitycompass.g... | lovelyshaking/wiki.secmobi.com | pages/publications/Tutorials.md | Markdown | unlicense | 851 |
'use strict';
import EventMap from 'eventmap';
import Log from './log';
var audioTypes = {
'mp3': 'audio/mpeg',
'wav': 'audio/wav',
'ogg': 'audio/ogg'
};
var imageTypes = {
'png': 'image/png',
'jpg': 'image/jpg',
'gif': 'image/gif'
};
class AssetLoader extends EventMap {
constructor(assets) {
supe... | maxwerr/gamebox | src/assetloader.js | JavaScript | unlicense | 599 |
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/docdb/model/DescribePendingMaintenanceActionsResult.h>
#include <aws/core/utils/xml/XmlSerializer.h>
#include <aws/core/AmazonWebServiceResult.h>
#include <aws/core/utils/StringUtils.h>
... | jt70471/aws-sdk-cpp | aws-cpp-sdk-docdb/source/model/DescribePendingMaintenanceActionsResult.cpp | C++ | apache-2.0 | 2,358 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.