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 |
|---|---|---|---|---|---|
<?php
/**
* File containing the Content class.
*
* @copyright Copyright (C) eZ Systems AS. All rights reserved.
* @license For full copyright and license information view LICENSE file distributed with this source code.
* @version 2014.11.1
*/
namespace eZ\Bundle\EzPublishCoreBundle\DependencyInjection\Configurat... | wnsonsa/destin-foot | vendor/ezsystems/ezpublish-kernel/eZ/Bundle/EzPublishCoreBundle/DependencyInjection/Configuration/Parser/Content.php | PHP | gpl-2.0 | 3,718 |
package org.checkerframework.common.aliasing;
import java.util.Map;
import java.util.Set;
import javax.lang.model.element.AnnotationMirror;
import org.checkerframework.common.aliasing.qual.LeakedToResult;
import org.checkerframework.common.aliasing.qual.MaybeAliased;
import org.checkerframework.common.aliasing.qual.... | renatoathaydes/checker-framework | framework/src/org/checkerframework/common/aliasing/AliasingAnnotatedTypeFactory.java | Java | gpl-2.0 | 6,385 |
/* Kernel module to match ESP parameters. */
/* (C) 2001-2002 Andras Kis-Szabo <kisza@sch.bme.hu>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*/
#include <linux/module.h>
... | gerboland/linux-2.6.15-neuros-eabi | net/ipv6/netfilter/ip6t_esp.c | C | gpl-2.0 | 2,753 |
<?php
/*
+--------------------------------------------------------------------+
| CiviCRM version 4.4 |
+--------------------------------------------------------------------+
| Copyright CiviCRM LLC (c) 2004-2013 |
+---------------------... | lizmestres/bf | sites/all/modules/civicrm/CRM/Admin/Form/Setting/UpdateConfigBackend.php | PHP | gpl-2.0 | 5,269 |
/*
* Copyright (C) 2015 Ewoud Smeur <ewoud.smeur@gmail.com>
*
* This file is part of paparazzi.
*
* paparazzi 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, or (at your option)
* any... | RickHutten/paparazzi | sw/airborne/firmwares/rotorcraft/guidance/guidance_indi.h | C | gpl-2.0 | 1,479 |
--
-- Created by SQL::Translator::Producer::SQLite
-- Created on Mon Mar 2 20:07:22 2015
--
;
BEGIN TRANSACTION;
--
-- Table: dbix_class_deploymenthandler_versions
--
CREATE TABLE dbix_class_deploymenthandler_versions (
id INTEGER PRIMARY KEY NOT NULL,
version varchar(50) NOT NULL,
ddl text,
upgrade_sql tex... | garretraziel/openQA | dbicdh/SQLite/deploy/26/001-auto-__VERSION.sql | SQL | gpl-2.0 | 451 |
#!/usr/bin/python
# Copyright (c) 2015 Hewlett-Packard Development Company, L.P.
#
# This module 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 late... | mensler/ansible | lib/ansible/modules/system/puppet.py | Python | gpl-3.0 | 9,396 |
<html lang="en">
<head>
<title>M68K-Chars - Using as</title>
<meta http-equiv="Content-Type" content="text/html">
<meta name="description" content="Using as">
<meta name="generator" content="makeinfo 4.8">
<link title="Top" rel="start" href="index.html#Top">
<link rel="up" href="M68K_002dopcodes.html#M68K_002dopcodes" ... | seemoo-lab/nexmon | buildtools/gcc-arm-none-eabi-5_4-2016q2-osx/share/doc/gcc-arm-none-eabi/html/as.html/M68K_002dChars.html | HTML | gpl-3.0 | 3,551 |
# If needed, first run: Set-ExecutionPolicy Unrestricted
$allFiles = (Get-ChildItem -Path ..\..\ -Include *.js,*.css,*.bat,*.html -Recurse)
$allFiles | %{
# Read file, remove trailing spaces/tabs, output back to file in CP1252 format (default for Git on Windows)
# This will also ensure the file has a trailing... | cbezzy/openemr | public/assets/knockout-2-2-1/build/tools/normaliseAllFiles.ps1 | PowerShell | gpl-3.0 | 522 |
#include <stdbool.h>
#include <stdint.h>
#include <string.h>
#include "platform.h"
#if defined(USE_MSP_OVER_TELEMETRY)
#include "build/build_config.h"
#include "common/utils.h"
#include "fc/fc_msp.h"
#include "msp/msp.h"
#include "telemetry/crsf.h"
#include "telemetry/msp_shared.h"
#include "telemetry/smartport.... | digitalentity/cleanflight | src/main/telemetry/msp_shared.c | C | gpl-3.0 | 7,036 |
/*
* linux/drivers/video/mmp/fb/vsync_notify.c
* vsync driver support
*
* Copyright (C) 2013 Marvell Technology Group Ltd.
* Authors: Yu Xu <yuxu@marvell.com>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* F... | AKuHAK/xcover3ltexx_custom_kernel | drivers/video/mmp/fb/vsync_notify.c | C | gpl-3.0 | 5,488 |
/**
* Copyright (C) 2011 Whisper Systems
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is d... | natuan241/TextSecure | src/org/thoughtcrime/securesms/ContactSelectionRecentFragment.java | Java | gpl-3.0 | 7,560 |
/*
* Copyright (C) 2010-2011 Kamil Dudka <kdudka@redhat.com>
*
* This file is part of predator.
*
* predator 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
* any la... | martinhruska/forester | sl/plotenum.cc | C++ | gpl-3.0 | 1,726 |
/*
* 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... | s20121035/rk3288_android5.1_repo | cts/tools/vm-tests-tf/src/dot/junit/opcodes/iget_wide/d/T_iget_wide_7.java | Java | gpl-3.0 | 743 |
/*-------------------------------------------------------------------------
*
* parse_oper.c
* handle operator things for parser
*
* Portions Copyright (c) 1996-2016, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
*
* IDENTIFICATION
* src/backen... | oneeyeman1/dbhandler | libpg/src/backend/parser/parse_oper.c | C | gpl-3.0 | 31,718 |
/*****************************************************************************
Licensed to Accellera Systems Initiative Inc. (Accellera) under one or
more contributor license agreements. See the NOTICE file distributed
with this work for additional information regarding copyright ownership.
Accellera licenses... | vineodd/PIMSim | GEM5Simulation/gem5/src/systemc/tests/systemc/misc/semantic/2.3/T_2_3_1_5_neg/T_2_3_1_5_neg.cpp | C++ | gpl-3.0 | 2,096 |
# coding=utf-8
from __future__ import unicode_literals
from frappe import _
def get_data():
return [
{
"module_name": "Item",
"_doctype": "Item",
"color": "#f39c12",
"icon": "octicon octicon-package",
"type": "link",
"link": "List/Item"
},
{
"module_name": "Customer",
"_doctype": "Custo... | ovresko/erpnext | erpnext/config/desktop.py | Python | gpl-3.0 | 12,428 |
-----------------------------------
-- Area: Batallia_Downs_[S]
-- NPC: Yilbegan
-----------------------------------
require("scripts/globals/titles");
-----------------------------------
-- onMobSpawn Action
-----------------------------------
function OnMobSpawn(mob)
end;
--------------------------... | FFXIOrgins/FFXIOrgins | scripts/zones/Batallia_Downs_[S]/mobs/Yilbegan.lua | Lua | gpl-3.0 | 463 |
#Region "Microsoft.VisualBasic::3b77316b6c4bc3ac1e35e4fe005b81fd, Data_science\MachineLearning\Bootstrapping\Monte-Carlo\Example.vb"
' Author:
'
' asuka (amethyst.asuka@gcmodeller.org)
' xie (genetics@smrucc.org)
' xieguigang (xie.guigang@live.com)
'
' Copyright (c) 201... | xieguigang/GCModeller | src/runtime/sciBASIC#/Data_science/MachineLearning/Bootstrapping/Monte-Carlo/Example.vb | Visual Basic | gpl-3.0 | 3,955 |
#ifndef ASEMANAUDIORECORDER_H
#define ASEMANAUDIORECORDER_H
#include <QObject>
#include <QUrl>
#include <QMediaRecorder>
#include <QStringList>
class AsemanAudioEncoderSettings;
class AsemanAudioRecorderPrivate;
class AsemanAudioRecorder : public QObject
{
Q_OBJECT
Q_ENUMS(State)
Q_ENUMS(Status)
Q_PR... | NileGroup/JamiatApp | asemantools/asemanaudiorecorder.h | C | gpl-3.0 | 2,835 |
/**
* Copyright (c) 2006-2011 LOVE Development Team
*
* This software is provided 'as-is', without any express or implied
* warranty. In no event will the authors be held liable for any damages
* arising from the use of this software.
*
* Permission is granted to anyone to use this software for any purpose,
* ... | joedrago/love | src/modules/graphics/Color.h | C | gpl-3.0 | 2,232 |
//========= Copyright Valve Corporation, All rights reserved. ============//
//
// The copyright to the contents herein is the property of Valve, L.L.C.
// The contents may be used and/or copied only with the written permission of
// Valve, L.L.C., or in accordance with the terms and conditions stipulated in
// the agr... | OnePointSeven/onepointseven | src/public/appframework/IAppSystemGroup.h | C | gpl-3.0 | 8,787 |
package eu.excitementproject.eop.globalgraphoptimizer.graph;
public class SynonymEdge extends AbstractRuleEdge{
public SynonymEdge(RelationNode node1, RelationNode node2, double score) throws Exception {
if(node1.id()<node2.id()) {
m_from = node1;
m_to = node2;
}
else if(node2.id()<node1.id()) {
m... | madhumita-git/Excitement-Open-Platform | globalgraphoptimizer/src/main/java/eu/excitementproject/eop/globalgraphoptimizer/graph/SynonymEdge.java | Java | gpl-3.0 | 1,646 |
// Berkeley Open Infrastructure for Network Computing
// http://boinc.berkeley.edu
// Copyright (C) 2005 University of California
//
// This 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;
// e... | freehal/boinc-freehal | win_build/installerv2/redist/Windows/src/boinccas/CAHideBOINCMasterProfile.h | C | gpl-3.0 | 1,169 |
// Copyright (c) 2016-2021 Antony Polukhin
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
#ifndef BOOST_PFR_DETAIL_MAKE_FLAT_TUPLE_OF_REFERENCES_HPP
#define BOOST_PFR_DETAIL_MAKE_FLAT_TUPLE_OF_REFERENCES_HPP
#p... | rneiss/PocketTorah | ios/Pods/Flipper-Boost-iOSX/boost/pfr/detail/make_flat_tuple_of_references.hpp | C++ | gpl-3.0 | 4,113 |
<?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Moodle... | jamesclickap/taiwanlife_web | lang/zh_tw/message_jabber.php | PHP | gpl-3.0 | 1,775 |
/**
* @file iqthread.c
* @brief thread to receive iq samples
* @author John Melton, G0ORX/N6LYT
* @version 0.1
* @date 2009-10-13
*/
/* Copyright (C)
* 2009 - John Melton, G0ORX/N6LYT
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as publ... | w3sz/ghpsdr3-w3sz | trunk/src/monitor/iqthread.c | C | gpl-3.0 | 3,872 |
//========= Copyright © 1996-2002, Valve LLC, All rights reserved. ============
//
// Purpose:
//
// $NoKeywords: $
//=============================================================================
#if !defined( WRECTH )
#define WRECTH
typedef struct rect_s
{
int left, right, top, bottom;
} wrect_t;
#endif | RichardRohac/vulkan-halflife | cl_dll/wrect.h | C | gpl-3.0 | 313 |
/*****************************************************************************
*
* PROJECT: Multi Theft Auto v1.0
* (Shared logic for modifications)
* LICENSE: See LICENSE in the top level directory
* FILE: mods/shared_logic/CClientStreamElement.cpp
* PURPOSE: Streamed entity class
... | google-code-export/multitheftauto | MTA10/mods/shared_logic/CClientStreamElement.cpp | C++ | gpl-3.0 | 4,236 |
/* tc-aarch64.c -- Assemble for the AArch64 ISA
Copyright (C) 2009-2015 Free Software Foundation, Inc.
Contributed by ARM Ltd.
This file is part of GAS.
GAS 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... | selmentdev/selment-toolchain | source/binutils-latest/gas/config/tc-aarch64.c | C | gpl-3.0 | 225,864 |
/* Soot - a J*va Optimization Framework
* Copyright (C) 2003 Ondrej Lhotak
*
* 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... | flankerhqd/JAADAS | soot/generated/options/soot/options/LCMOptions.java | Java | gpl-3.0 | 3,591 |
#include <algorithm>
#include <fstream>
#include <iterator>
#include <iostream>
#include <string>
#include <vector>
#include <memory>
#include <zlib.h>
#include "elf.h"
#pragma pack(push, 1)
struct RplLibsDef
{
be_val<uint32_t> name;
be_val<uint32_t> stubStart;
be_val<uint32_t> stubEnd;
};
#pragma pack(pop)... | Monroe88/RetroArch | wiiu/wut/elf2rpl/main.cpp | C++ | gpl-3.0 | 38,595 |
<html lang="en">
<head>
<title>AVR-Modifiers - Using as</title>
<meta http-equiv="Content-Type" content="text/html">
<meta name="description" content="Using as">
<meta name="generator" content="makeinfo 4.11">
<link title="Top" rel="start" href="index.html#Top">
<link rel="up" href="AVR-Syntax.html#AVR-Syntax" title="A... | FabianKnapp/nexmon | buildtools/gcc-arm-none-eabi-5_4-2016q2-linux-x86/share/doc/gcc-arm-none-eabi/html/as.html/AVR_002dModifiers.html | HTML | gpl-3.0 | 4,696 |
#ifdef _MSC_VER
#pragma warning (disable : 4786 4114 4018 4267 4244 4702 4710)
#endif
#include <math.h>
#include "lcomb.hpp"
#include <vector>
using namespace std;
vector<double> p_fact;
vector<vector<double> > p_comb;
vector<vector<double> > p_stirling2;
vector<double> p_bell;
vector<double> p_logfact;
vector<ve... | jlegendary/orange | source/include/lcomb.cpp | C++ | gpl-3.0 | 3,016 |
<?php
/**
* This file is the entry point for ResourceLoader.
*
* 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.
*
... | micaelbatista/neeist_wiki | wiki/load.php | PHP | gpl-3.0 | 1,965 |
# -*- coding: utf-8 -*-
#########################################################################
#
# Copyright (C) 2017 OSGeo
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 ... | kartoza/geonode | geonode/notifications_helper.py | Python | gpl-3.0 | 3,847 |
# Copyright (C) 2013 Claudio "nex" Guarnieri (@botherder)
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This pro... | 0x00ach/zer0m0n | signatures/network_irc.py | Python | gpl-3.0 | 1,128 |
-----------------------------------
-- Area: Windurst Waters
-- NPC: Gordias
-- Working 100%
-----------------------------------
require("scripts/globals/settings");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,trade)
end;
-------------------... | hooksta4/darkstar | scripts/zones/zones/Windurst_Waters/npcs/Gordias.lua | Lua | gpl-3.0 | 855 |
<?php
/*
* Copyright 2014 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 t... | ftisunpar/BlueTape | vendor/google/apiclient-services/src/Google/Service/Compute/NetworkEndpointGroupAppEngine.php | PHP | gpl-3.0 | 1,172 |
////////////////////////////////////////////////////////////
//
// SFML - Simple and Fast Multimedia Library
// Copyright (C) 2007-2013 Laurent Gomila (laurent.gom@gmail.com)
//
// This software is provided 'as-is', without any express or implied warranty.
// In no event will the authors be held liable for any da... | N00byEdge/ProjectDurr | lib/SFML/include/SFML/Graphics/RectangleShape.hpp | C++ | gpl-3.0 | 4,392 |
source: Installation/Installation-Ubuntu-1604-Apache.md
> NOTE: These instructions assume you are the root user. If you are not, prepend `sudo` to the shell commands (the ones that aren't at `mysql>` prompts) or temporarily become a user with root privileges with `sudo -s` or `sudo -i`.
### DB Server ###
> NOTE: Whi... | worton/librenms | doc/Installation/Installation-Ubuntu-1604-Apache.md | Markdown | gpl-3.0 | 4,681 |
/*
* 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... | s20121035/rk3288_android5.1_repo | cts/tools/vm-tests-tf/src/dot/junit/opcodes/invoke_virtual/d/T_invoke_virtual_19.java | Java | gpl-3.0 | 765 |
<html lang="en">
<head>
<title>In-Process Agent - Debugging with GDB</title>
<meta http-equiv="Content-Type" content="text/html">
<meta name="description" content="Debugging with GDB">
<meta name="generator" content="makeinfo 4.11">
<link title="Top" rel="start" href="index.html#Top">
<link rel="prev" href="JIT-Interfa... | FabianKnapp/nexmon | buildtools/gcc-arm-none-eabi-5_4-2016q2-linux-x86/share/doc/gcc-arm-none-eabi/html/gdb/In_002dProcess-Agent.html | HTML | gpl-3.0 | 5,265 |
-----------------------------------------
-- ID: 4128
-- Item: Ether
-- Item Effect: Restores 10 MP
-----------------------------------------
require("scripts/globals/settings");
require("scripts/globals/msg");
function onItemCheck(target)
if (target:getMP() == target:getMaxMP()) then
return msgBasic.ITEM_... | Whitechaser/darkstar | scripts/globals/items/bottle_of_mulsum.lua | Lua | gpl-3.0 | 472 |
# Worker WPT tests
These are the workers (`Worker`, `SharedWorker`) tests for the
[Web workers chapter of the HTML Standard](https://html.spec.whatwg.org/multipage/workers.html).
See also
[testharness.js API > Web Workers](https://web-platform-tests.org/writing-tests/testharness-api.html#web-workers).
## Writing `*.... | peterjoel/servo | tests/wpt/web-platform-tests/workers/README.md | Markdown | mpl-2.0 | 4,763 |
/*
* This project is licensed under the open source MPL V2.
* See https://github.com/openMF/android-client/blob/master/LICENSE.md
*/
package com.mifos.objects.accounts.loan;
/**
* Created by nellyk on 2/21/2016.
*/
public class DaysInMonthType {
int id;
int code;
int value;
public int getId() {
... | coderaashir/android-client | mifosng-android/src/main/java/com/mifos/objects/accounts/loan/DaysInMonthType.java | Java | mpl-2.0 | 661 |
package copystructure
import (
"reflect"
"sync"
"github.com/mitchellh/reflectwalk"
)
// Copy returns a deep copy of v.
func Copy(v interface{}) (interface{}, error) {
return Config{}.Copy(v)
}
// CopierFunc is a function that knows how to deep copy a specific type.
// Register these globally with the Copiers va... | optimisticanshul/terraform | vendor/github.com/mitchellh/copystructure/copystructure.go | GO | mpl-2.0 | 8,535 |
//#############################################################################
//# #
//# Copyright (C) <2014> <IMS MAXIMS> #
//# #
... | open-health-hub/openMAXIMS | openmaxims_workspace/Nursing/src/ims/nursing/domain/base/impl/BaseHospitalReportImpl.java | Java | agpl-3.0 | 2,691 |
//#############################################################################
//# #
//# Copyright (C) <2014> <IMS MAXIMS> #
//# #
... | open-health-hub/openMAXIMS | openmaxims_workspace/Emergency/src/ims/emergency/domain/impl/AttendanceNotesCcImpl.java | Java | agpl-3.0 | 6,359 |
<?php
/*********************************************************************************
* Zurmo is a customer relationship management program developed by
* Zurmo, Inc. Copyright (C) 2015 Zurmo Inc.
*
* Zurmo is free software; you can redistribute it and/or modify it under
* the terms of t... | raymondlamwu/zurmotest | app/protected/modules/import/forms/ValueTypeMappingRuleForm.php | PHP | agpl-3.0 | 2,776 |
<?php
return Affinity\Action::create(['core'], function($app, $broker) {
$root_directory = $app['engine']->fetch('view', 'root_directory', 'user/templates');
$broker->define('Inkwell\View', [
':root_directory' => $app->getDirectory($root_directory)
]);
});
| dotink/inkwell-view | plugin/boot/default/view.php | PHP | agpl-3.0 | 270 |
//#############################################################################
//# #
//# Copyright (C) <2014> <IMS MAXIMS> #
//# #
... | open-health-hub/openMAXIMS | openmaxims_workspace/Clinical/src/ims/clinical/forms/dementiaassessmentamtscomponent/Logic.java | Java | agpl-3.0 | 34,001 |
-- DB update 2020_09_29_00 -> 2020_09_30_00
DROP PROCEDURE IF EXISTS `updateDb`;
DELIMITER //
CREATE PROCEDURE updateDb ()
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
SELECT COUNT(*) INTO @COLEXISTS
FROM information_schema.COLUMNS
WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'version_db_world' AND COLUMN_NA... | ShinDarth/azerothcore-wotlk | data/sql/archive/db_world/3.x/2020_09_30_00.sql | SQL | agpl-3.0 | 4,162 |
<?php
namespace Aws\CodeBuild;
use Aws\AwsClient;
/**
* This client is used to interact with the **AWS CodeBuild** service.
* @method \Aws\Result batchDeleteBuilds(array $args = [])
* @method \GuzzleHttp\Promise\Promise batchDeleteBuildsAsync(array $args = [])
* @method \Aws\Result batchGetBuildBatches(array $arg... | colosa/processmaker | vendor/aws/aws-sdk-php/src/CodeBuild/CodeBuildClient.php | PHP | agpl-3.0 | 6,417 |
-- DB update 2021_07_29_05 -> 2021_07_29_06
DROP PROCEDURE IF EXISTS `updateDb`;
DELIMITER //
CREATE PROCEDURE updateDb ()
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
SELECT COUNT(*) INTO @COLEXISTS
FROM information_schema.COLUMNS
WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'version_db_world' AND COLUMN_NA... | ShinDarth/azerothcore-wotlk | data/sql/archive/db_world/4.x/2021_07_29_06.sql | SQL | agpl-3.0 | 1,932 |
"""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('course_action_state.tests.test_rerun_manager', 'co... | eduNEXT/edunext-platform | import_shims/studio/course_action_state/tests/test_rerun_manager.py | Python | agpl-3.0 | 461 |
//#############################################################################
//# #
//# Copyright (C) <2014> <IMS MAXIMS> #
//# #
... | open-health-hub/openMAXIMS | openmaxims_workspace/Pathways/src/ims/pathways/forms/createnewevent/BaseLogic.java | Java | agpl-3.0 | 2,194 |
# Copyright 2008-2015 Canonical
#
# 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 distributed... | zhsso/ubunto-one | src/backends/db/schemas/txlog/patch_4.py | Python | agpl-3.0 | 1,421 |
# -*- coding: utf-8; -*-
#
# This file is part of Superdesk.
#
# Copyright 2013, 2014 Sourcefabric z.u. and contributors.
#
# For the full copyright and license information, please see the
# AUTHORS and LICENSE files distributed with this source code, or
# at https://www.sourcefabric.org/superdesk/license
import loggi... | sivakuna-aap/superdesk | server/apps/ldap/commands.py | Python | agpl-3.0 | 2,913 |
//#############################################################################
//# #
//# Copyright (C) <2014> <IMS MAXIMS> #
//# #
... | open-health-hub/openMAXIMS | openmaxims_workspace/Emergency/src/ims/emergency/domain/base/impl/BaseAddEditQuestionsToWhiteboardImpl.java | Java | agpl-3.0 | 1,974 |
# -*- encoding : utf-8 -*-
# Rebuild the current xapian index
def rebuild_xapian_index(terms = true, values = true, texts = true, dropfirst = true)
if dropfirst
begin
ActsAsXapian.readable_init
FileUtils.rm_r(ActsAsXapian.db_path)
rescue RuntimeError
end
ActsAsXapian.writable_init
Acts... | Br3nda/alaveteli | spec/support/xapian_index.rb | Ruby | agpl-3.0 | 1,632 |
//#############################################################################
//# #
//# Copyright (C) <2014> <IMS MAXIMS> #
//# #
... | open-health-hub/openMAXIMS | openmaxims_workspace/ValueObjects/src/ims/admin/vo/lookups/EDAttendenceControlType.java | Java | agpl-3.0 | 6,202 |
<?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... | simkli/shopware | engine/Shopware/Plugins/Default/Core/PaymentMethods/Components/DebitPaymentMethod.php | PHP | agpl-3.0 | 5,574 |
# 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 RTriebeard(RPackage):
"""triebeard: 'Radix' Trees in 'Rcpp'"""
homepage = "https://gi... | LLNL/spack | var/spack/repos/builtin/packages/r-triebeard/package.py | Python | lgpl-2.1 | 652 |
# 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 PyEpydoc(PythonPackage):
"""Epydoc is a tool for generating API documentation documentatio... | LLNL/spack | var/spack/repos/builtin/packages/py-epydoc/package.py | Python | lgpl-2.1 | 516 |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using N2.Edit.Installation;
using N2.Engine;
using N2.Web;
using N2.Definitions.Static;
using N2.Persistence;
using N2.Persistence.Serialization;
using N2.Persistence.NH;
using N2.Plugin;
using N2.Configuration;
usin... | DejanMilicic/n2cms | src/Framework/Raven/RavenInstallationManager.cs | C# | lgpl-2.1 | 3,124 |
/*
* Jitsi, the OpenSource Java VoIP and Instant Messaging client.
*
* Distributable under LGPL license.
* See terms of license at gnu.org.
*/
package net.java.sip.communicator.service.certificate;
import java.security.cert.*;
/**
* Service that creates dialog that is shown to the user when
* a certificate ver... | marclaporte/jitsi | src/net/java/sip/communicator/service/certificate/VerifyCertificateDialogService.java | Java | lgpl-2.1 | 1,673 |
v.setCursorPosition(1,19);
v.enter();
v.type("ok"); | hlamer/kate | tests/data/indent/cstyle/aplist10/input.js | JavaScript | lgpl-2.1 | 51 |
/*
* Jitsi, the OpenSource Java VoIP and Instant Messaging client.
*
* Distributable under LGPL license.
* See terms of license at gnu.org.
*
* ContactGroupSSHImpl.java
*
* SSH Suport in SIP Communicator - GSoC' 07 Project
*
*/
package net.java.sip.communicator.impl.protocol.ssh;
import java.util.*;
import ... | marclaporte/jitsi | src/net/java/sip/communicator/impl/protocol/ssh/ContactGroupSSHImpl.java | Java | lgpl-2.1 | 17,908 |
package org.intermine.dataconversion;
/*
* Copyright (C) 2002-2017 FlyMine
*
* This code may be freely distributed and modified under the
* terms of the GNU Lesser General Public Licence. This should
* be distributed with the code. See the LICENSE file for more
* information or http://www.gnu.org/copyleft/less... | elsiklab/intermine | intermine/integrate/main/src/org/intermine/dataconversion/DirectoryConverter.java | Java | lgpl-2.1 | 1,241 |
/*
This software has been released under the MIT license:
Copyright (c) 2009 Jonas Krogsboell
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 Software without restriction, including without limita... | osalvador/dbax | source/types/json_v1_0_4/examples/ex10.sql | SQL | lgpl-3.0 | 2,595 |
//
// AssemblyInfo.cs
//
// Author:
// Andreas Nahr (ClassDevelopment@A-SoftTech.com)
//
// (C) 2003 Ximian, Inc. http://www.ximian.com
// (C) 2004 Novell (http://www.novell.com)
//
using System;
using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyVersion (Consts.FxVersion)]
/* TODO ... | edwinspire/VSharp | class/PEAPI/Assembly/AssemblyInfo.cs | C# | lgpl-3.0 | 605 |
/**
* 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
* License, or (at your option) any later version.
*
* This program is distributed in the hope that ... | JacquesOlivierLachaud/DGtal | src/DGtal/geometry/surfaces/estimation/MaximalSegmentSliceEstimation.h | C | lgpl-3.0 | 8,960 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>Waikato Environment for Knowledge Analysis (WEKA)</title>
<!-- CSS Stylesheet -->
<style>body
{
background: #ededed;
color: #666666;
font: 14px Tahoma, Helvetica, sans-serif;;
margin: 5px 10px 5px 10px;
padding: 0px;
}
</style>
</head>... | Mindtoeye/Hoop | wekafiles/repCache/isotonicRegression/Latest.html | HTML | lgpl-3.0 | 1,772 |
using UnityEngine;
using System.Collections;
using DentedPixel;
public class GeneralBasics2dCS : MonoBehaviour {
public Texture2D dudeTexture;
public GameObject prefabParticles;
#if !(UNITY_3_5 || UNITY_4_0 || UNITY_4_0_1 || UNITY_4_1 || UNITY_4_2)
void Start () {
// Setup
GameObject avatarRotate = createSp... | paosalcedo/shooterexperiment | ShooterExperiment/ShooterExperiment/Assets/LeanTween/Examples/Scripts/GeneralBasics2dCS.cs | C# | unlicense | 4,391 |
angular.module('spartan.services', [])
/**
* A simple example service that returns some data.
*/
.factory('Friends', function() {
// Might use a resource here that returns a JSON array
// Some fake testing data
var friends = [
{ id: 0, name: 'Scruff McGruff' },
{ id: 1, name: 'G.I. Joe' },
{ id: 2... | carlosrojaso/urbangods | www/js/services.js | JavaScript | unlicense | 554 |
# coding: utf-8
from __future__ import unicode_literals
import hashlib
import math
import random
import time
import uuid
from .common import InfoExtractor
from ..compat import compat_urllib_parse
from ..utils import ExtractorError
class IqiyiIE(InfoExtractor):
IE_NAME = 'iqiyi'
IE_DESC = '爱奇艺'
_VALID_U... | atomic83/youtube-dl | youtube_dl/extractor/iqiyi.py | Python | unlicense | 9,558 |
"""Support for WeMo switches."""
import asyncio
import logging
from datetime import datetime, timedelta
import requests
import async_timeout
from homeassistant.components.switch import SwitchDevice
from homeassistant.exceptions import PlatformNotReady
from homeassistant.util import convert
from homeassistant.const im... | MartinHjelmare/home-assistant | homeassistant/components/wemo/switch.py | Python | apache-2.0 | 8,674 |
class AddAvatarsToUsers < ActiveRecord::Migration
def self.up
add_attachment :users, :avatar
end
def self.down
remove_attachment :users, :avatar
end
end
| neversion/comment_sufia | sufia-models/lib/generators/sufia/models/templates/migrations/add_avatars_to_users.rb | Ruby | apache-2.0 | 170 |
/*
* 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 writing, software
* distribut... | electrum/presto | plugin/trino-hive/src/main/java/io/trino/plugin/hive/rcfile/HdfsRcFileDataSource.java | Java | apache-2.0 | 2,649 |
import("util.lua")
local f, g, a, b, c, x = Consts("f, g, a, b, c, x")
local m1 = mk_metavar("m1")
local m2 = mk_metavar("m2")
local m3 = mk_metavar("m3")
local s = fo_unify(f(m1, g(m2, c)), f(g(m2, a), g(m3, m3)))
assert(s)
assert(#s == 3)
assert(s:find(m2) == c)
assert(s:apply(f(m1, g(m2, c))) == s:apply(f(g(m2, a),... | codyroux/lean0.1 | tests/lua/unify1.lua | Lua | apache-2.0 | 1,144 |
package brooklyn.entity.nosql.mongodb.sharding;
import java.net.UnknownHostException;
import java.util.Collection;
import java.util.Set;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import brooklyn.entity.Entity;
import brooklyn.entity.group.DynamicClusterImpl;
import brooklyn.entity.nosql.mongodb.MongoD... | azharhashmi/brooklyn | software/nosql/src/main/java/brooklyn/entity/nosql/mongodb/sharding/MongoDBShardClusterImpl.java | Java | apache-2.0 | 3,318 |
/*
* Copyright 2010 JBoss Inc
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... | amckee23/drools | drools-core/src/main/java/org/drools/core/reteoo/ExistsNode.java | Java | apache-2.0 | 6,823 |
// This file was generated by counterfeiter
package fakes
import (
. "github.com/cloudfoundry/cli/cf/actors/service_builder"
"github.com/cloudfoundry/cli/cf/models"
"sync"
)
type FakeServiceBuilder struct {
GetAllServicesStub func() ([]models.ServiceOffering, error)
getAllServicesMutex sync.RWMutex
... | zhang-hua/cli | cf/actors/service_builder/fakes/fake_service_builder.go | GO | apache-2.0 | 20,554 |
/**
* 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... | fogbeam/Heceta_nutch | src/plugin/protocol-ftp/src/java/org/apache/nutch/protocol/ftp/Client.java | Java | apache-2.0 | 22,349 |
/*
* Dynomite - A thin, distributed replication layer for multi non-distributed storages.
* Copyright (C) 2014 Netflix, Inc.
*/
/*
* twemproxy - A fast and lightweight proxy for memcached protocol.
* Copyright (C) 2011 Twitter, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may... | philipz/dynomite | src/hashkit/dyn_jenkins.c | C | apache-2.0 | 7,652 |
include ../../_utils/cil/Makefile.common | bh107/benchpress | benchpress/benchmarks/shallow_water/csharp_numcil/Makefile | Makefile | apache-2.0 | 40 |
/*
* Zed Attack Proxy (ZAP) and its related class files.
*
* ZAP is an HTTP/HTTPS proxy for assessing web application security.
*
* Copyright 2021 The ZAP Development Team
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* Yo... | thc202/zap-extensions | addOns/oast/src/test/java/org/zaproxy/addon/oast/OastRequestUnitTests.java | Java | apache-2.0 | 3,097 |
/* mbed Microcontroller Library
* Copyright (c) 2006-2013 ARM Limited
*
* 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 re... | RonEld/mbed | platform/mbed_semihost_api.c | C | apache-2.0 | 4,332 |
/**
* 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 m... | genericDataCompany/hsandbox | common/mahout-distribution-0.7-hadoop1/math/target/generated-sources/org/apache/mahout/math/function/ByteCharProcedure.java | Java | apache-2.0 | 2,235 |
project_path: /web/_project.yaml
book_path: /web/fundamentals/_book.yaml
description: A importância da ordem padrão do DOM
{# wf_updated_on: 2016-10-04 #}
{# wf_published_on: 2016-10-04 #}
# A Ordem do DOM É Importante {: .page-title }
{% include "web/_shared/contributors/megginkearney.html" %}
{% include "web/_sha... | ebidel/WebFundamentals | src/content/pt-br/fundamentals/accessibility/focus/dom-order-matters.md | Markdown | apache-2.0 | 4,437 |
<div class="acl-switch-panel" style="">
<span class="acl-separator-vert"></span>
<div class="acl-badge-panel">
<span class="badge acl-badge-red"></span>
</div>
<div class="acl-toggle-panel" data-field="togglePanel"></div>
</div>
| karreiro/uberfire | uberfire-extensions/uberfire-security/uberfire-security-management/uberfire-widgets-security-management/src/main/java/org/uberfire/ext/security/management/client/widgets/management/editor/acl/node/PermissionSwitchView.html | HTML | apache-2.0 | 253 |
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Copyright 2010 British Broadcasting Corporation and Kamaelia Contributors(1)
#
# (1) Kamaelia Contributors are listed in the AUTHORS file and at
# http://www.kamaelia.org/AUTHORS - please extend this file,
# not this notice.
#
# Licensed under the Apache License, Ve... | sparkslabs/kamaelia_ | Sketches/MPS/BugReports/FixTests/Kamaelia/Kamaelia/Apps/Games4Kids/BasicSprite.py | Python | apache-2.0 | 3,562 |
/*
Copyright 2015 The Kubernetes Authors All rights reserved.
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 ag... | Frostman/kubernetes | cmd/libs/go2idl/deepcopy-gen/generators/deepcopy.go | GO | apache-2.0 | 12,059 |
/* Copyright 2007-2015 QReal Research Group
*
* 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... | anastasia143/qreal | qrutils/widgets/painterInterface.h | C | apache-2.0 | 1,064 |
/*******************************************************************************
*
* Pentaho Big Data
*
* Copyright (C) 2002-2015 by Pentaho : http://www.pentaho.com
*
*******************************************************************************
*
* Licensed under the Apache License, Version 2.0 (the "License... | bytekast/big-data-plugin | api/runtimeTest/src/main/java/org/pentaho/runtime/test/action/RuntimeTestActionHandler.java | Java | apache-2.0 | 1,138 |
//===----------------------------------------------------------------------===//
//
// Peloton
//
// column_stats_collector_test.cpp
//
// Identification: test/optimizer/column_stats_collector_test.cpp
//
// Copyright (c) 2015-16, Carnegie Mellon University Database Group
//
//===---------------... | AllisonWang/peloton | test/optimizer/column_stats_collector_test.cpp | C++ | apache-2.0 | 4,272 |
{% extends "horizon/common/_modal_form.html" %}
{% load i18n %}
{% load url from future %}
{% block form_id %}update_security_group_form{% endblock %}
{% block form_action %}{% url 'horizon:project:access_and_security:security_groups:update' security_group.id%}{% endblock %}
{% block modal-header %}{% trans "Edit Sec... | zouyapeng/horizon-newtouch | openstack_dashboard/dashboards/project/access_and_security/templates/access_and_security/security_groups/_update.html | HTML | apache-2.0 | 1,085 |
#!/usr/bin/env python3
# Copyright 2015 gRPC authors.
#
# 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 ... | ctiller/grpc | tools/run_tests/lb_interop_tests/gen_build_yaml.py | Python | apache-2.0 | 12,124 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.4.2_11) on Mon Jul 12 21:36:30 CEST 2010 -->
<TITLE>
Uses of Class org.apache.fop.pdf.ASCII85Filter (Apache FOP 1.0 API)
</TITLE>
<LINK REL ="styleshee... | lewismc/yax | lib/fop-1.0/javadocs/org/apache/fop/pdf/class-use/ASCII85Filter.html | HTML | apache-2.0 | 5,738 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.