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 |
|---|---|---|---|---|---|
/*
* 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 distributed in the hope that... | williamClanton/jbossBA | weka/src/main/java/weka/gui/beans/ChartListener.java | Java | gpl-2.0 | 1,159 |
/* ScummVM - Graphic Adventure Engine
*
* ScummVM is the legal property of its developers, whose names
* are too numerous to list here. Please refer to the COPYRIGHT
* file distributed with this source distribution.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of ... | alexbevi/scummvm | engines/scumm/script_v2.cpp | C++ | gpl-2.0 | 45,801 |
/**
* @package hubzero-cms
* @file plugins/projects/files/assets/css/connections.css
* @copyright Copyright 2005-2015 HUBzero Foundation, LLC.
* @license http://opensource.org/licenses/MIT MIT
*/
#project-wrap #page_options {
list-style: none;
margin: 0;
padding: 0;
text-align: right;
}
#proj... | drewthoennes/hubzero-cms | core/plugins/projects/files/assets/css/connections.css | CSS | gpl-2.0 | 4,307 |
/*
** Copyright (C) 2014-2015 Cisco and/or its affiliates. All rights reserved.
** Copyright (C) 2005-2013 Sourcefire, Inc.
**
** 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. You m... | gruberasheridc/snort-2.9.8.0 | src/dynamic-preprocessors/appid/service_plugins/dcerpc.h | C | gpl-2.0 | 1,051 |
/*
* Copyright (c) 2003 Lubos Lunak <l.lunak@kde.org>
*
* 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.
*
*... | falbrechtskirchinger/kde-workspace | kcontrol/randr/krandrpassivepopup.h | C | gpl-2.0 | 1,609 |
/*
Copyright_License {
XCSoar Glide Computer - http://www.xcsoar.org/
Copyright (C) 2000-2013 The XCSoar Project
A detailed list of copyright holders can be found in the file "AUTHORS".
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
... | onkelhotte/XCSoar | src/Dialogs/Device/ManageCAI302Dialog.hpp | C++ | gpl-2.0 | 1,149 |
/*
*********************************************************************************************************
* uC/GUI V3.98
* Universal graphic software for embedded applications
*
* (c) Copyright 2002, Micrium Inc., Weston, F... | WildfireTeamPRJ/wildfire_stm32_iso | 3-野火ISO-系统进阶篇/uCGUI/竖屏GUI_DEMO/uCGUI/Widget/LISTVIEW_GetNumRows.c | C | gpl-2.0 | 2,007 |
<?php
/**
* Pazpar2 record collection.
*
* PHP version 5
*
* Copyright (C) Villanova University 2010.
*
* 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.
*
* This program is... | PetraZabickova/VuFind-2.x | module/VuFindSearch/src/VuFindSearch/Backend/Pazpar2/Response/RecordCollection.php | PHP | gpl-2.0 | 2,064 |
//# Euler.h: Vector of Euler rotation angles
//# Copyright (C) 1995,1996,1997,1998,1999
//# Associated Universities, Inc. Washington DC, USA.
//#
//# 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 Softwar... | bmerry/casacore | casa/Quanta/Euler.h | C | gpl-2.0 | 7,087 |
/*
* Copyright (C) Matrix Vision GmbH 2008
*
* Matrix Vision mvBlueLYNX-M7 configuration file
* based on Freescale's MPC8349ITX.
*
* SPDX-License-Identifier: GPL-2.0+
*/
#ifndef __CONFIG_H
#define __CONFIG_H
#include <version.h>
/*
* High Level Configuration Options
*/
#define CONFIG_E300 1
#define CONFIG_... | vkrmsngh/new_pro | u-boot/include/configs/MVBLM7.h | C | gpl-2.0 | 13,807 |
/* Copyright (c) 2000, 2012, Oracle and/or its affiliates.
Copyright (c) 2008, 2012, Monty Program Ab
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; version 2 of the License.
This pr... | SunguckLee/MariaDB-PageCompression | sql/protocol.cc | C++ | gpl-2.0 | 45,791 |
/*
* Copyright (C) 2014 Gautier Hattenberger <gautier.hattenberger@enac.fr>
*
* 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 you... | deonblaauw/paparazzi | sw/airborne/subsystems/imu/imu_mpu9250_spi.h | C | gpl-2.0 | 2,530 |
/* arch/arm/plat-samsung/include/plat/devs.h
*
* Copyright (c) 2011 Samsung Electronics Co., Ltd.
* http://www.samsung.com
*
* Copyright (c) 2004 Simtec Electronics
* Ben Dooks <ben@simtec.co.uk>
*
* Header file for s3c2410 standard platform devices
*
* This program is free software; you can redistribute it ... | CM-Tab-S/android_kernel_samsung_klimtwifi | arch/arm/plat-samsung/include/plat/devs.h | C | gpl-2.0 | 9,335 |
////////////////////////////////////////////////////////////////////////////////////////
//
// Nestopia - NES/Famicom emulator written in C++
//
// Copyright (C) 2003-2007 Martin Freij
//
// This file is part of Nestopia.
//
// Nestopia is free software; you can redistribute it and/or modify
// it under the te... | Joride/nestopia | core/mapper/NstMapper045.hpp | C++ | gpl-2.0 | 1,550 |
#ifndef JITCORE_H
#define JITCORE_H
#define RAISE(errtype, msg) {PyObject* p; p = PyErr_Format( errtype, msg ); return p;}
#define RAISE_ret0(errtype, msg) {PyObject* p; p = PyErr_Format( errtype, msg ); return 0;}
#define PyGetInt(item, value) \
if (PyInt_Check(item)){ \
value = (uint64_t)PyInt_AsLong(... | amohanta/miasm | miasm2/jitter/JitCore.h | C | gpl-2.0 | 3,953 |
<?php
/**
* Functions for making various theme elements context-aware. Controls things such as the smart
* and logical body, post, and comment CSS classes as well as context-based action and filter hooks.
* The functions also integrate with WordPress' implementations of body_class, post_class, and
* comment_cl... | traj-info/boletos1 | wp-content/themes/trending/library/functions/context.php | PHP | gpl-2.0 | 14,233 |
/* drivers/usb/gadget/f_diag.c
* Diag Function Device - Route ARM9 and ARM11 DIAG messages
* between HOST and DEVICE.
* Copyright (C) 2007 Google, Inc.
* Copyright (c) 2008-2010, Code Aurora Forum. All rights reserved.
* Author: Brian Swetland <swetland@google.com>
* This software is licensed under the terms of t... | jdkernel/mecha_aosp_2.6.35 | drivers/usb/gadget/f_diag.c | C | gpl-2.0 | 62,049 |
-- Copyright © 2013 Xavier Lamien
--
-- This copyrighted material is made available to anyone wishing to use, modify,
-- copy, or redistribute it subject to the terms and conditions of the GNU
-- General Public License v.2. This program is distributed in the hope that it
-- will be useful, but WITHOUT ANY WARRANTY ex... | ampotty/fas | updates/fas2-0.9.0_to_0.10.0.sql | SQL | gpl-2.0 | 1,235 |
/*
* Copyright (C) 2007 Casey Schaufler <casey@schaufler-ca.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 Free Software Foundation, version 2.
*
* Authors:
* Casey Schaufler <casey@schaufler-ca.com>
... | identisoft-rashid/ec3_kernel_pre_4.1 | security/smack/smackfs.c | C | gpl-2.0 | 62,971 |
<?php
/**
* Part of Windwalker project.
*
* @copyright Copyright (C) 2015 LYRASOFT. All rights reserved.
* @license GNU General Public License version 2 or later;
*/
namespace Windwalker\Html\Grid;
/**
* The Grid class to dynamically generate HTML tables.
*
* This is currently a Joomla JGrid fork.
*
* ... | asika32764/joomla-cmf | libraries/windwalker/vendor/windwalker/html/Grid/Grid.php | PHP | gpl-2.0 | 9,914 |
/*
* 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 distributed in the hope that... | williamClanton/jbossBA | weka/src/main/java/weka/classifiers/meta/MetaCost.java | Java | gpl-2.0 | 21,275 |
/**
* $Id$
* Central switchboard for the system. This pulls all the individual modules
* together into some kind of coherent structure. This is also where you'd
* add Naomi support, if I ever get a board to play with...
*
* Copyright (c) 2005 Nathan Keynes.
*
* This program is free software; you can redistribut... | lutris/lxdream | src/dreamcast.c | C | gpl-2.0 | 21,776 |
/*
** License Applicability. Except to the extent portions of this file are
** made subject to an alternative license as permitted in the SGI Free
** Software License B, Version 1.1 (the "License"), the contents of this
** file are subject only to the provisions of the License. You may not use
** this file except in co... | ZHAW-INES/rioxo-uClinux-dist | lib/mesa/src/glu/sgi/libnurbs/internals/gridline.h | C | gpl-2.0 | 2,252 |
/* Socket union related function.
* Copyright (c) 1997, 98 Kunihiro Ishiguro
*
* This file is part of GNU Zebra.
*
* GNU Zebra 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 yo... | kidmaple/CoolWall | user/quagga/lib/sockunion.c | C | gpl-2.0 | 16,484 |
/**
* collectd - src/configfile.c
* Copyright (C) 2005-2011 Florian octo Forster
*
* 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) ... | spotify/collectd | src/configfile.c | C | gpl-2.0 | 31,420 |
/*
This file is part of JDasher.
JDasher 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.
JDasher is distributed in the ... | ipomoena/dasher | java/src/main/java/dasher/CCustomColours.java | Java | gpl-2.0 | 3,221 |
<?php
/**
* ezcCacheStorageFileEvalArrayTest
*
* 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 Apac... | imadkaf/PFE | ezpublish_legacy/vendor/zetacomponents/cache/tests/storage_file_evalarray_test.php | PHP | gpl-2.0 | 1,374 |
// license:BSD-3-Clause
// copyright-holders:Luca Elia
/***************************************************************************
-= American Speedway =-
driver by Luca Elia (l.elia@tin.it)
CPU : Z80A x 2
Sound: YM2151
(c)1987 Enerdyne Technologies, Inc. / PG... | RJRetro/mame | src/mame/drivers/amspdwy.cpp | C++ | gpl-2.0 | 12,743 |
#!/bin/sh
#
# Copyright (C) 2006 Martin Waitz <tali@admingilde.org>
#
test_description='test clone --reference'
GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME=main
export GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME
. ./test-lib.sh
base_dir=$(pwd)
U=$base_dir/UPLOAD_LOG
# create a commit in repo $1 with name $2
commit_in () {
(
... | felipec/git | t/t5604-clone-reference.sh | Shell | gpl-2.0 | 9,249 |
/* Perform arithmetic and other operations on values, for GDB.
Copyright (C) 1986, 1988-2005, 2007-2012 Free Software Foundation,
Inc.
This file is part of GDB.
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
... | adapteva/epiphany-gdb | gdb/valarith.c | C | gpl-2.0 | 50,180 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="refresh" content="0;URL=../../../../../../libc/constant.PTRACE_SETFPXREGS.html">
</head>
<body>
<p>Redirecting to <a href="../../../../../../libc/constant.PTRACE_SETFPXREGS.html">../../../../../../libc/constant.PTRACE_SETFPXREGS.html</a>...</p>
<scri... | TheZoq2/Rust-Scad | docs/doc/libc/unix/notbsd/other/b64/x86_64/constant.PTRACE_SETFPXREGS.html | HTML | gpl-2.0 | 457 |
/*
* Copyright 2006-2015 The MZmine 2 Development Team
*
* This file is part of MZmine 2.
*
* MZmine 2 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 opti... | Veritomyx/mzmine2 | src/main/java/net/sf/mzmine/modules/peaklistmethods/io/csvexport/IdentityItemsParameter.java | Java | gpl-2.0 | 2,766 |
--CARLOS RAMIREZ
alter table npexplab
add column montopres numeric(14,2); | cidesa/roraima | varios/script/datamodel/produccion/2009/06-junio/10-mie.sql | SQL | gpl-2.0 | 75 |
// 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 is dis... | vidyamantra/moodle-local_getkey | stat/stat.js | JavaScript | gpl-3.0 | 9,089 |
#include <linux/version.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/dmi.h>
#include <linux/acpi.h>
#include <linux/thermal.h>
#include <linux/platform_device.h>
#include <linux/aee.h>
#include <linux/types.h>
#include <linux/delay.h>
#include <linux/proc_fs.h>
#include <linux/syscalls.h>
#inc... | psycho-source/Psycho-Kernel | drivers/misc/mediatek/thermal/mt6795/mtk_ts_pa.c | C | gpl-3.0 | 15,511 |
/*
* Copyright 2016 The WebRTC Project Authors. All rights reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contributing ... | AnyRTC/AnyRTC-RTMP | webrtc/base/task_queue_posix.cc | C++ | gpl-3.0 | 1,155 |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# GuessIt - A library for guessing information from filenames
# Copyright (c) 2011 Nicolas Wack <wackou@gmail.com>
#
# GuessIt is free software; you can redistribute it and/or modify it under
# the terms of the Lesser GNU General Public License as published by
# the Free ... | nabsboss/CouchPotatoServer | libs/guessit/__init__.py | Python | gpl-3.0 | 5,753 |
<?php
/**
* Zend Framework
*
* LICENSE
*
* This source file is subject to the new BSD license that is bundled
* with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://framework.zend.com/license/new-bsd
* If you did not receive a copy of the license a... | dragermrb/gcalfaces | libs/Zend/Gdata/App/InvalidArgumentException.php | PHP | gpl-3.0 | 1,159 |
/*
******************************************************************************
* Portions COPYRIGHT 2012 STMicroelectronics
* Portions SPIRIT Audio Engine Copyright (c) 1995-2009, SPIRIT
*
* Licensed under MCD-ST Image SW License Agreement V2, (the "License");
* You may not use this file except i... | TRothfelder/Multicopter | libs/STM32Cube_FW_F4_V1.16.0/Projects/STM32469I_EVAL/Demonstrations/Modules/audio_player/Addons/SpiritDSP_LoudnessControl/spiritLdCtrl.h | C | gpl-3.0 | 2,828 |
#include "metatypes.h"
#include <QMetaType>
#include <QNetworkCookie>
#include "config.h"
#include "covers/albumcoverfetcher.h"
#include "engines/enginebase.h"
#include "globalsearch/searchprovider.h"
#include "internet/digitallyimportedclient.h"
#include "internet/geolocator.h"
#include "internet/somafmservice.h"
#i... | cincodenada/clementine-player | src/core/metatypes.cpp | C++ | gpl-3.0 | 3,755 |
# voronoi.py - functions for computing the Voronoi partition of a graph
#
# Copyright 2016-2018 NetworkX developers.
#
# This file is part of NetworkX.
#
# NetworkX is distributed under a BSD license; see LICENSE.txt for more
# information.
"""Functions for computing the Voronoi cells of a graph."""
import networkx as ... | kenshay/ImageScript | ProgramData/SystemFiles/Python/Lib/site-packages/networkx/algorithms/voronoi.py | Python | gpl-3.0 | 3,399 |
namespace Chummer
{
partial class frmCreateCustomDrug
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/... | SquadronROE/chummer5a | Chummer/frmCreateCustomDrug.Designer.cs | C# | gpl-3.0 | 9,470 |
<?php
/* Copyright (C) 2002-2003 Rodolphe Quiedeville <rodolphe@quiedeville.org>
* Copyright (C) 2004-2014 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2005-2012 Regis Houssin <regis.houssin@capnetworks.com>
* Copyright (C) 2011-2013 Juanjo Menent <jmenent@2byte.es>
* Copyright (C... | Murerr/GERESA | htdocs/fichinter/class/fichinter.class.php | PHP | gpl-3.0 | 38,819 |
// Copyright (C) 2016 and later: Unicode, Inc. and others.
// License & terms of use: http://www.unicode.org/copyright.html
/*
******************************************************************************
*
* Copyright (C) 2001-2014, International Business Machines
* Corporation and others. All Rights Reserved.
*... | geminy/aidear | oss/qt/qt-everywhere-opensource-src-5.9.0/qtwebengine/src/3rdparty/chromium/third_party/icu/source/common/utrie2_builder.cpp | C++ | gpl-3.0 | 46,925 |
/* 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/MhpTransformer.java | Java | gpl-3.0 | 1,346 |
YUI.add('moodle-report_overviewstats-charts', function (Y, NAME) {
M.report_overviewstats = M.report_overviewstats || {};
M.report_overviewstats.charts = M.report_overviewstats.charts || {};
M.report_overviewstats.charts.countries = {
/**
* @method init
* @param data
*/
init: function(data) {
... | jamesclickap/taiwanlife_web | report/overviewstats/yui/build/moodle-report_overviewstats-charts/moodle-report_overviewstats-charts-debug.js | JavaScript | gpl-3.0 | 4,126 |
// TUTAO start (disabled for non-touch devices because this script does not support IE9)
if ('ontouchstart' in window || 'ontouchstart' in document.documentElement || window.navigator.msMaxTouchPoints) {
// TUTAO end
/*! Hammer.JS - v2.0.4 - 2014-09-28
* http://hammerjs.github.io/
*
* Copyright (c) 2014 Jorik Tange... | elninosi/tutanota | web/lib/hammer-2.0.4.js | JavaScript | gpl-3.0 | 78,889 |
//
//
// This file has been excerpted from Quisk 3.5.11 by James C. Ahlstrom
// http://james.ahlstrom.name/quisk/
//
// In the original file there is no license.
//
// This module provides access to the SDR-IQ by RfSpace. It is the source
// for the Python extension module sdriq. It can be used as a model for an
// e... | w3sz/ghpsdr3-w3sz | trunk/src/sdriq/sdriq.c | C | gpl-3.0 | 46,368 |
odoo.define('board.AddToGoogleSpreadsheetMenu', function (require) {
"use strict";
var ActionManager = require('web.ActionManager');
var core = require('web.core');
var data = require('web.data');
var Domain = require('web.Domain');
var favorites_submenus_registry = require('web.favorites_submenus_registry');
var pyUt... | t3dev/odoo | addons/google_spreadsheet/static/src/js/add_to_google_spreadsheet_menu.js | JavaScript | gpl-3.0 | 3,371 |
// (C) Copyright John Maddock 2001 - 2003.
// (C) Copyright Jens Maurer 2001.
// (C) Copyright Peter Dimov 2001.
// (C) Copyright David Abrahams 2002.
// (C) Copyright Guillaume Melquiond 2003.
// Use, modification and distribution are subject to the
// Boost Software License, Version 1.0. (See accompanyin... | beiko-lab/gengis | win32/library3rd/boost_1_47/boost/config/stdlib/dinkumware.hpp | C++ | gpl-3.0 | 5,008 |
<?php
// phpcs:ignoreFile -- compatibility library for PHP 5-7.1
if (class_exists('ParagonIE_Sodium_Core_ChaCha20_Ctx', false)) {
return;
}
/**
* Class ParagonIE_Sodium_Core32_ChaCha20_Ctx
*/
class ParagonIE_Sodium_Core32_ChaCha20_Ctx extends ParagonIE_Sodium_Core32_Util implements ArrayAccess
{
/**
* ... | Redcolaborar/Red-Colaborar | wp-content/plugins/wordfence/crypto/vendor/paragonie/sodium_compat/src/Core32/ChaCha20/Ctx.php | PHP | gpl-3.0 | 4,851 |
=pod
=head1 NAME
Locale::Codes::Country - standard codes for country identification
=head1 SYNOPSIS
use Locale::Codes::Country;
$country = code2country('jp' [,CODESET]); # $country gets 'Japan'
$code = country2code('Norway' [,CODESET]); # $code gets 'no'
@codes = all_country_codes( [COD... | mgood7123/UPM | perl-5.26.1/perl5.26.1/lib/5.26.1/Locale/Codes/Country.pod | Perl | gpl-3.0 | 5,763 |
// License: GPL. For details, see LICENSE file.
package org.openstreetmap.josm.gui.preferences;
public interface PreferenceSettingFactory {
PreferenceSetting createPreferenceSetting();
}
| CURocketry/Ground_Station_GUI | src/org/openstreetmap/josm/gui/preferences/PreferenceSettingFactory.java | Java | gpl-3.0 | 194 |
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="GENERATOR" content="UltraEdit-32">
<title>Eternity Engine Small Usage Documentation</title>
</head>
<body bgcolor="#CECECE">
<hr>
<b>Eternity Engine Small Usage Documentation v1.1 -- 06/09/05</b>
<hr>
<br>
<a href="../e... | fragglet/autodoom | docs/small_usagedoc.html | HTML | gpl-3.0 | 24,331 |
---------------------------------------------------
-- Double Punch M=6, 2 (still guessing here)
---------------------------------------------------
require("/scripts/globals/settings");
require("/scripts/globals/status");
require("/scripts/globals/monstertpmoves");
require("/scripts/globals/summon");
------... | xdemolish/darkstar | scripts/globals/abilities/pets/double_punch.lua | Lua | gpl-3.0 | 934 |
var CouchPotato = new Class({
Implements: [Events, Options],
defaults: {
page: 'home',
action: 'index',
params: {}
},
pages: [],
block: [],
initialize: function(){
var self = this;
self.global_events = {};
},
setup: function(options) {
var self = this;
self.setOptions(options);
self.c = ... | lebabouin/CouchPotatoServer-develop | couchpotato/static/scripts/couchpotato.js | JavaScript | gpl-3.0 | 12,670 |
/***************************************************************************
**
** Copyright (C) 2013 BlackBerry Limited. All rights reserved.
** Contact: http://www.qt.io/licensing/
**
** This file is part of the QtNfc module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL21$
** Commercial License Usage
** Li... | jlspyaozhongkai/Uter | third_party_build/Qt5.5.0/include/QtNfc/5.5.0/QtNfc/private/qnearfieldsharetarget_p.h | C | gpl-3.0 | 2,940 |
/* mbed Microcontroller Library
*******************************************************************************
* Copyright (c) 2014, STMicroelectronics
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following condition... | toolbits/tama_hack | mbed-src/targets/hal/TARGET_STM/TARGET_DISCO_F100RB/sleep.c | C | gpl-3.0 | 2,519 |
/*
* BitbloqMeLEDMatrixData.h
*
* Copyright 2017 Alberto Valero <alberto.valero@bq.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 Free Software Foundation; either version 2 of the License, or
* (at your... | bq/bitbloq-compiler | pioWS/lib/BitbloqMeLEDMatrix/BitbloqMeLEDMatrixData.h | C | gpl-3.0 | 5,502 |
//
// IASKSettingsStore.h
// http://www.inappsettingskit.com
//
// Copyright (c) 2010:
// Luc Vandal, Edovia Inc., http://www.edovia.com
// Ortwin Gentz, FutureTap GmbH, http://www.futuretap.com
// Marc-Etienne M.Léveillé, Edovia Inc., http://www.edovia.com
// All rights reserved.
//
// It is appreciated but n... | stevenarnold/bpr | vendor/Pods/InAppSettingsKit/InAppSettingsKit/Models/IASKSettingsStore.h | C | gpl-3.0 | 2,055 |
#include "tommath.h"
#ifdef BN_MP_SQRMOD_C
/* LibTomMath, multiple-precision integer library -- Tom St Denis
*
* LibTomMath is a library that provides multiple-precision
* integer arithmetic as well as number theoretic functionality.
*
* The library was designed directly after the MPI library by
* Michael Fromber... | Zapuss/ZapekFapeCore | src/tools/extractor/StormLib/src/libtommath/bn_mp_sqrmod.c | C | gpl-3.0 | 985 |
/*****************************************************************************
*
* PROJECT: Multi Theft Auto v1.0
* LICENSE: See LICENSE in the top level directory
* FILE: utils/gentable/gentable_vehattr.cpp
* PURPOSE: Vehicle attribute table generator
*
* Multi Theft Auto is available fr... | qaisjp/mtasa-blue | Client/utils/gentable/gentable_vehattr.cpp | C++ | gpl-3.0 | 3,136 |
/*
* Copyright (C) 2015, Simon Fuhrmann
* TU Darmstadt - Graphics, Capture and Massively Parallel Computing
* All rights reserved.
*
* This software may be modified and distributed under the terms
* of the BSD 3-Clause license. See the LICENSE.txt file for details.
*/
#include <limits>
#include <iostream>
#inc... | rhiestan/mve | apps/umve/scene_addins/mesh_list.cc | C++ | gpl-3.0 | 23,110 |
//===----------------------------------------------------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is dual licensed under the MIT and the University of Illinois Open
// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------... | HexHive/datashield | libcxx/libcxx/test/std/utilities/memory/unique.ptr/unique.ptr.single/unique.ptr.single.ctor/pointer.pass.cpp | C++ | gpl-3.0 | 3,794 |
/**
* @module
* @description
* Common directives shipped with Angular.
*/
import { CONST_EXPR } from './facade/lang';
import { NgClass } from './directives/ng_class';
import { NgFor } from './directives/ng_for';
import { NgIf } from './directives/ng_if';
import { NgStyle } from './directives/ng_style';
import { NgS... | NodeVision/NodeVision | node_modules/angular2/es6/prod/src/core/directives.js | JavaScript | gpl-3.0 | 2,022 |
#!/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... | emersonsoftware/ansiblefork | lib/ansible/modules/cloud/openstack/os_port.py | Python | gpl-3.0 | 12,587 |
/*
-----------------------------------------------------------------------------
This source file is part of OGRE
(Object-oriented Graphics Rendering Engine)
For the latest info, see http://www.ogre3d.org/
Copyright (c) 2000-2014 Torus Knot Software Ltd
Permission is hereby granted, free of charge, to any person obta... | GDevs/mission-farpoint | ogre/RenderSystems/Direct3D11/src/OgreD3D11HardwareOcclusionQuery.cpp | C++ | gpl-3.0 | 5,755 |
<?php
/*
* This file is part of Phraseanet
*
* (c) 2005-2016 Alchemy
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
use Alchemy\Phrasea\Application;
class module_report_download extends module_report
{
protected $cor_query ... | nmaillat/Phraseanet | lib/classes/module/report/download.php | PHP | gpl-3.0 | 11,258 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="refresh" content="0;URL=constant._SC_TRACE_INHERIT.html">
</head>
<body>
<p>Redirecting to <a href="constant._SC_TRACE_INHERIT.html">constant._SC_TRACE_INHERIT.html</a>...</p>
<script>location.replace("constant._SC_TRACE_INHERIT.html" + location.sear... | surrsurus/edgequest | doc/libc/unix/notbsd/linux/_SC_TRACE_INHERIT.v.html | HTML | mpl-2.0 | 365 |
class AddRatingAndCategoryToAccounts < ActiveRecord::Migration
def self.up
add_column :accounts, :rating, :integer, :default => 0, :null => false
add_column :accounts, :category, :string, :limit => 32
end
def self.down
remove_column :accounts, :category
remove_column :accounts, :rating
end
end
| chondm/FatFreeCRM | db/migrate/20101221345678_add_rating_and_category_to_accounts.rb | Ruby | agpl-3.0 | 320 |
# -*- coding: utf-8 -*-
##############################################################################
#
# OpenERP, Open Source Management Solution
# Copyright (C) 2004-2010 Tiny SPRL (<http://tiny.be>).
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU... | jmesteve/saas3 | openerp/addons/hr_contract/hr_contract.py | Python | agpl-3.0 | 4,997 |
-- DB update 2021_06_18_17 -> 2021_06_18_18
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_06_18_18.sql | SQL | agpl-3.0 | 2,258 |
/**
* Copyright (C) 2009-2013 FoundationDB, LLC
*
* 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.
*
* Thi... | wfxiang08/sql-layer-1 | fdb-sql-layer-core/src/main/java/com/foundationdb/ais/model/Group.java | Java | agpl-3.0 | 3,742 |
//#############################################################################
//# #
//# Copyright (C) <2014> <IMS MAXIMS> #
//# #
... | open-health-hub/openMAXIMS | openmaxims_workspace/Admin/src/ims/admin/domain/Service.java | Java | agpl-3.0 | 6,438 |
//#############################################################################
//# #
//# Copyright (C) <2014> <IMS MAXIMS> #
//# #
... | open-health-hub/openMAXIMS | openmaxims_workspace/ValueObjects/src/ims/spinalinjuries/vo/lookups/TENSArea.java | Java | agpl-3.0 | 4,553 |
/****************************************************************
* *
* Copyright 2001, 2007 Fidelity Information Services, Inc *
* *
* This source code contains the intellectual property *
* of its copyright holder(s), and is made available *
* under a license. If you do not know the terms of *
*... | CoherentLogic/fis-gtm-netbsd | sr_port/gvcst_kill_sort.c | C | agpl-3.0 | 1,653 |
"""
Stub implementation of LTI Provider.
What is supported:
------------------
1.) This LTI Provider can service only one Tool Consumer at the same time. It is
not possible to have this LTI multiple times on a single page in LMS.
"""
from uuid import uuid4
import textwrap
import urllib
import re
from oauthlib.oauth... | wwj718/ANALYSE | common/djangoapps/terrain/stubs/lti.py | Python | agpl-3.0 | 12,436 |
# -*- coding: utf-8 -*-
import json
import re
import unicodedata
import string
from urllib import urlencode
from requests import get
languages = {'de', 'en', 'es', 'fr', 'hu', 'it', 'nl', 'jp'}
url_template = 'https://www.wikidata.org/w/api.php?action=wbgetentities&format=json&{query}&props=labels%7Cdatatype%7Cclai... | kdani3/searx | utils/fetch_currencies.py | Python | agpl-3.0 | 4,394 |
<html>
<head>
<title>e2guardian - Äîñòóï çàïðåù¸í</title>
<meta content="text/html; charset=windows-1251" http-equiv=Content-Type>
</head>
<body bgcolor=#FFFFFF>
<center>
<table border=0 cellspacing=0 cellpadding=2 height=540 width=700>
<tr>
<td colspan=2 bgcolor=#FEA700 height=100 align=center>
<font face=arial... | the-linux-schools-project/karoshi-server | serversetup/modules/squid/e2guardian/languages/russian-1251/template.html | HTML | agpl-3.0 | 2,174 |
package tick
import (
"bytes"
"github.com/influxdata/kapacitor/tick/ast"
)
// Formats a TICKscript according to the standard.
func Format(script string) (string, error) {
root, err := ast.Parse(script)
if err != nil {
return "", err
}
var buf bytes.Buffer
buf.Grow(len(script))
root.Format(&buf, "", false)
... | brianbaker/chronograf | vendor/github.com/influxdata/kapacitor/tick/fmt.go | GO | agpl-3.0 | 348 |
//#############################################################################
//# #
//# Copyright (C) <2014> <IMS MAXIMS> #
//# #
... | open-health-hub/openMAXIMS | openmaxims_workspace/Emergency/src/ims/emergency/forms/systemreview/Logic.java | Java | agpl-3.0 | 17,364 |
//#############################################################################
//# #
//# Copyright (C) <2014> <IMS MAXIMS> #
//# #
... | open-health-hub/openMAXIMS | openmaxims_workspace/Therapies/src/ims/therapies/domain/impl/WheelchairAssessmentImpl.java | Java | agpl-3.0 | 5,828 |
//#############################################################################
//# #
//# Copyright (C) <2014> <IMS MAXIMS> #
//# #
... | open-health-hub/openMAXIMS | openmaxims_workspace/ValueObjects/src/ims/clinical/vo/SurgicalOperationDetailsRefVoCollection.java | Java | agpl-3.0 | 5,572 |
/*
* This file is part of the AzerothCore Project. See AUTHORS file for Copyright information
*
* 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 (a... | ShinDarth/azerothcore-wotlk | src/tools/mesh_extractor/WorldModelRoot.h | C | agpl-3.0 | 1,327 |
/*******************************************************************************
* This file is part of OpenNMS(R).
*
* Copyright (C) 2012-2014 The OpenNMS Group, Inc.
* OpenNMS(R) is Copyright (C) 1999-2014 The OpenNMS Group, Inc.
*
* OpenNMS(R) is a registered trademark of The OpenNMS Group, Inc.
*
* OpenNMS(... | roskens/opennms-pre-github | features/topology-map/plugins/org.opennms.features.topology.plugins.ssh/src/main/java/org/opennms/features/topology/ssh/internal/gwt/client/ui/VTerminal.java | Java | agpl-3.0 | 4,438 |
# Copyright (C) 2015 The Debsources developers <info@sources.debian.net>.
# See the AUTHORS file at the top-level directory of this distribution and at
# https://anonscm.debian.org/gitweb/?p=qa/debsources.git;a=blob;f=AUTHORS;hb=HEAD
#
# This file is part of Debsources. Debsources is free software: you can
# redistrib... | vivekanand1101/debsources | debsources/app/sources/__init__.py | Python | agpl-3.0 | 1,057 |
/*
* This program is part of the OpenLMIS logistics management information system platform software.
* Copyright © 2013 VillageReach
*
* 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, eith... | OpenLMIS/open-lmis | test-modules/functional-tests/src/main/java/org/openlmis/pageobjects/Page.java | Java | agpl-3.0 | 2,501 |
/*
* This file is part of libFirm.
* Copyright (C) 2012 University of Karlsruhe.
*/
/**
* @file
* @brief Performs SSA destruction.
* @author Daniel Grund
* @date 25.05.2005
*/
#ifndef FIRM_BE_BESSADESTR_H
#define FIRM_BE_BESSADESTR_H
#include <stdbool.h>
#include "be_types.h"
#include "firm_... | 8l/libfirm | ir/be/bessadestr.h | C | lgpl-2.1 | 494 |
/*
* This file was generated by qdbusxml2cpp version 0.7
* Command line was: qdbusxml2cpp -c AccountManagerProxy -p accountmanagerproxy.h:accountmanagerproxy.cpp org.freedesktop.Telepathy.AccountManager.xml org.freedesktop.Telepathy.AccountManager
*
* qdbusxml2cpp is Copyright (C) 2010 Nokia Corporation and/or its ... | nevfel/qgvdial | qgv-util/accountmanagerproxy.h | C | lgpl-2.1 | 2,022 |
package org.intermine.sql.precompute;
/*
* 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/objectstore/main/src/org/intermine/sql/precompute/EncloseSubqueryBestQuery.java | Java | lgpl-2.1 | 2,636 |
using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using NHibernate.Impl;
using NHibernate.SqlCommand;
namespace NHibernate.Criterion.Lambda
{
public class QueryOverSubqueryPropertyBuilder<TRoot,TSubType> : QueryOverSubqueryPropertyBuilderBase<QueryOver<TRoot,TSubType>, TRoot, TSubType>
... | RogerKratz/nhibernate-core | src/NHibernate/Criterion/Lambda/QueryOverSubqueryPropertyBuilder.cs | C# | lgpl-2.1 | 7,021 |
/**
*
* Copyright (c) 2014, the Railo Company Ltd. 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
* version 2.1 of the License, or (at your option) ... | lucee/unoffical-Lucee-no-jre | source/java/core/src/lucee/runtime/type/util/StructUtil.java | Java | lgpl-2.1 | 9,017 |
/**
* Copyright (c) 2014, Oracle and/or its affiliates.
* All rights reserved.
*/
"use strict";var l={"SA":["SA","\u5357\u7F8E\u6D32"]};(this?this:window)['DvtBaseMapManager']['_UNPROCESSED_MAPS'][2].push(["southAmerica","continent",l]); | afsinka/jet_jsp | src/main/webapp/js/libs/oj/v1.1.2/resources/internal-deps/dvt/thematicMap/resourceBundles/SouthAmericaContinentBundle_zh_TW.js | JavaScript | lgpl-2.1 | 240 |
/**
* This file is part of TelepathyQt
*
* @copyright Copyright (C) 2008 Collabora Ltd. <http://www.collabora.co.uk/>
* @copyright Copyright (C) 2008 Nokia Corporation
* @license LGPL 2.1
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Publ... | anantkamath/telepathy-qt | TelepathyQt/key-file.h | C | lgpl-2.1 | 2,351 |
package org.intermine.webservice.server.output;
/*
* Copyright (C) 2002-2015 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/cop... | joshkh/intermine | intermine/web/main/src/org/intermine/webservice/server/output/JSONFormatter.java | Java | lgpl-2.1 | 9,031 |
/********************************************************************************/
/* Projeto: Biblioteca ZeusNFe */
/* Biblioteca C# para emissão de Nota Fiscal Eletrônica - NFe e Nota Fiscal de */
/* Consumidor Eletrônica - NFC-e (http://www.nfe.fazenda.gov.br) ... | adrbarros/Zeus.Net.NFe.NFCe | Shared.NFe.Classes/Servicos/ConsultaCadastro/infConsEnv.cs | C# | lgpl-2.1 | 5,198 |
/**************************************************************************
**
** This file is part of Qt Creator
**
** Copyright (c) 2012 Nokia Corporation and/or its subsidiary(-ies).
**
** Contact: Nokia Corporation (qt-info@nokia.com)
**
**
** GNU Lesser General Public License Usage
**
** This file may be used unde... | ostash/qt-creator-i18n-uk | src/plugins/qt4projectmanager/wizards/subdirsprojectwizarddialog.h | C | lgpl-2.1 | 1,962 |
/****************************************************************************
**
** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of the examples of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:BSD$
** You may use this file under the terms of th... | CodeDJ/qt5-hidpi | qt/qtactiveqt/examples/activeqt/dotnet/wrapper/lib/tools.h | C | lgpl-2.1 | 2,228 |
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 2.6
# Default target executed when no arguments are given to make.
default_target: all
.PHONY : default_target
#=============================================================================
# Special targets provided by cmak... | zengzheng123/CountErrors | bamtools-master/build/src/Makefile | Makefile | lgpl-2.1 | 6,567 |
/* GTK - The GIMP Toolkit
* gtkpapersize.h: Paper Size
* Copyright (C) 2006, 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 (... | johne53/MB3Gtk-2 | gtk/gtkpapersize.h | C | lgpl-2.1 | 3,909 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.