code stringlengths 3 1.05M | repo_name stringlengths 4 116 | path stringlengths 4 991 | language stringclasses 9
values | license stringclasses 15
values | size int32 3 1.05M |
|---|---|---|---|---|---|
package com.freezingwind.animereleasenotifier.updater;
import android.content.Context;
import android.content.SharedPreferences;
import android.preference.PreferenceManager;
import android.util.Log;
import com.android.volley.Request;
import com.android.volley.Response;
import com.android.volley.VolleyError;
import co... | animenotifier/anime-release-notifier-android | app/src/main/java/com/freezingwind/animereleasenotifier/updater/AnimeUpdater.java | Java | gpl-2.0 | 4,366 |
sap.ui.define([
"sap/ui/core/UIComponent",
"sap/ui/Device",
"opensap/manageproducts/model/models",
"opensap/manageproducts/controller/ErrorHandler"
], function (UIComponent, Device, models, ErrorHandler) {
"use strict";
return UIComponent.extend("opensap.manageproducts.Component", {
metadata : {
m... | carlitosalcala/openui | ManageProducts/webapp/Component.js | JavaScript | gpl-2.0 | 2,424 |
<div class="categoryMenu">
<ul>
<?php foreach($root_categories as $key => $value) {
if($key == 13) echo "<div class='hiddenCategories'>";
?>
<li<?php if($key == 0) { ?> class="first"<?php } ?>><a href="<?php echo zen_href_link('index', zen_get_path($value['id']));?>"><?php echo $v... | joshyan/everymarket | includes/templates/everymarket_classic/common/tpl_left_categories.php | PHP | gpl-2.0 | 536 |
/*
* Copyright (C) 2010-2012 Project SkyFire <http://www.projectskyfire.org/>
* Copyright (C) 2008-2012 TrinityCore <http://www.trinitycore.org/>
* Copyright (C) 2005-2012 MaNGOS <http://getmangos.com/>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU Genera... | Macavity/SkyFireEMU | src/server/game/Handlers/BattlefieldHandler.cpp | C++ | gpl-2.0 | 4,910 |
<?php
/**
* Admin functions for post types
*
* @author WooThemes
* @category Admin
* @package WooCommerce/Admin/Post Types
* @version 2.1.0
*/
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
if ( ! class_exists( 'WC_Admin_CPT' ) ) :
/**
* WC_Admin_CPT Class
*/
class WC_Admin_CPT {
... | Minasokoni/coasties | wp-content/plugins/woocommerce/includes/admin/post-types/class-wc-admin-cpt.php | PHP | gpl-2.0 | 1,091 |
<?php
/**
* Generates the normalizer data file for Malayalam.
*
* 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.
*... | lcp0578/mediawiki | maintenance/language/generateNormalizerDataMl.php | PHP | gpl-2.0 | 2,183 |
/*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER
*
* Copyright (c) 2012-2013 Universidad Politécnica de Madrid
* Copyright (c) 2012-2013 the Center for Open Middleware
*
* Licensed under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in complia... | sixuanwang/SAMSaaS | wirecloud-develop/src/wirecloud/platform/static/js/wirecloud/ui/WiringEditor/GenericInterface.js | JavaScript | gpl-2.0 | 67,661 |
module.exports = {
browserSync: {
hostname: "localhost",
port: 8080,
openAutomatically: false,
reloadDelay: 50
},
drush: {
enabled: false,
alias: 'drush @SITE-ALIAS cache-rebuild'
},
twig: {
useCache: true
}
};
| erdfisch/DBCD16 | web/themes/custom/dbcd_theme_base/example.config.js | JavaScript | gpl-2.0 | 253 |
package anon.psd.gui.activities;
import android.content.ContextWrapper;
import android.content.Intent;
import android.graphics.BitmapFactory;
import android.os.Bundle;
import android.support.v7.widget.SearchView;
import android.view.View;
import android.widget.AdapterView;
import com.nhaarman.listviewanimations.itemm... | dc914337/PSD | PSD/app/src/main/java/anon/psd/gui/activities/MainActivity.java | Java | gpl-2.0 | 4,342 |
require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')
describe 'ValidatesTimeliness::ActionView::InstanceTag' do
include ActionView::Helpers::DateHelper
include ActionController::Assertions::SelectorAssertions
before do
@person = Person.new
end
def params
@params ||= {}
end
desc... | valdas-s/sandelys2 | vendor/plugins/validates_timeliness/spec/action_view/instance_tag_spec.rb | Ruby | gpl-2.0 | 10,844 |
/*
* Copyright (C) 2012 Samsung Electronics
*
* 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 later version.
*
* ... | Debian/openjfx | modules/web/src/main/native/Source/WebCore/Modules/vibration/NavigatorVibration.cpp | C++ | gpl-2.0 | 1,684 |
<?php
/**
* Theme Customizer
*/
function presentation_lite_customize_register( $wp_customize ) {
/** ===============
* Extends CONTROLS class to add textarea
*/
class presentation_lite_customize_textarea_control extends WP_Customize_Control {
public $type = 'textarea';
public function render_content() { ?... | mihaienescu1/wp_wmihu | wp-content/themes/presentation-lite/inc/customizer.php | PHP | gpl-2.0 | 8,069 |
<?php
/**
* @version $Id$
* @package Joomla.Administrator
* @subpackage JoomDOC
* @author ARTIO s.r.o., info@artio.net, http:://www.artio.net
* @copyright Copyright (C) 2011 Artio s.r.o.. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
defined('_JEXEC')... | berkeley-amsa/past-site | administrator/tmp/install_4e65459e58fe3/admin/elements/icons.php | PHP | gpl-2.0 | 1,170 |
/*
Adept MobileRobots Robotics Interface for Applications (ARIA)
Copyright (C) 2004-2005 ActivMedia Robotics LLC
Copyright (C) 2006-2010 MobileRobots Inc.
Copyright (C) 2011-2014 Adept Technology
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public... | lakid/libaria | java/com/mobilerobots/Aria/ArJoyVec3f.java | Java | gpl-2.0 | 2,914 |
/* Copyright (c) 2002-2011 by XMLVM.org
*
* Project Info: http://www.xmlvm.org
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation; either version 2.1 of the License, or
* (at your o... | skyHALud/codenameone | Ports/iOSPort/xmlvm/src/xmlvm2objc/compat-lib/java/org/xmlvm/iphone/SKRequest.java | Java | gpl-2.0 | 1,255 |
<?php
/**
* @copyright Ilch 2.0
* @package ilch
*/
namespace Modules\Sample\Models;
class Sample extends \Ilch\Model
{
}
| Saarlonz/Ilch-2.0 | application/modules/sample/models/Sample.php | PHP | gpl-2.0 | 126 |
<?php
/*
+---------------------------------------------------------------------------+
| OpenX v2.8 |
| ========== |
| ... | kriwil/OpenX | www/delivery/lg.php | PHP | gpl-2.0 | 107,769 |
/*
smpppdunsettled.cpp
Copyright (c) 2006 by Heiko Schaefer <heiko@rangun.de>
Kopete (c) 2002-2006 by the Kopete developers <kopete-devel@kde.org>
*************************************************************************
* *... | iegor/kdenetwork | kopete/plugins/smpppdcs/libsmpppdclient/smpppdunsettled.cpp | C++ | gpl-2.0 | 5,200 |
/* Copyright_License {
XCSoar Glide Computer - http://www.xcsoar.org/
Copyright (C) 2000-2011 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
... | joachimwieland/xcsoar-jwieland | src/Engine/Navigation/GeoPoint.cpp | C++ | gpl-2.0 | 2,269 |
package net.minecraft.world.gen.structure;
import java.util.Arrays;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.Random;
import java.util.Map.Entry;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.util.MathHelper;
import net.minecraft.world.World;
import net.mi... | mviitanen/marsmod | mcp/src/minecraft_server/net/minecraft/world/gen/structure/MapGenVillage.java | Java | gpl-2.0 | 5,468 |
// Copyright 2008 Dolphin Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include "VideoCommon/CommandProcessor.h"
#include <atomic>
#include <cstring>
#include <fmt/format.h>
#include "Common/Assert.h"
#include "Common/ChunkFile.h"
#include "Common/CommonTypes.h"
#include "Common/Flag.h"
#include "Co... | ZephyrSurfer/dolphin | Source/Core/VideoCommon/CommandProcessor.cpp | C++ | gpl-2.0 | 25,741 |
/*
* synergy -- mouse and keyboard sharing utility
* Copyright (C) 2004 Chris Schoeneman
*
* This package is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* found in the file COPYING that should have accompanied this file.
*
* This package is distr... | undecided/synergy | lib/platform/CXWindowsClipboardAnyBitmapConverter.cpp | C++ | gpl-2.0 | 5,164 |
package org.openyu.mix.sasang.vo;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import org.openyu.mix.app.vo.Prize;
import org.openyu.commons.bean.IdBean;
import org.openyu.commons.bean.ProbabilityBean;
import org.openyu.commons.enumz.IntEnum;
import com.sun.xml.bind.AnyTypeAdapter;
/**
* 開出的結果
*/
... | mixaceh/openyu-mix.j | openyu-mix-core/src/main/java/org/openyu/mix/sasang/vo/Outcome.java | Java | gpl-2.0 | 1,183 |
/*
* thd_cdev_order_parser.cpp: Specify cdev order
*
* Copyright (C) 2012 Intel Corporation. All rights reserved.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License version
* 2 or later as published by the Free Software Foundation.
*
... | RAOF/thermal_daemon | src/thd_cdev_order_parser.cpp | C++ | gpl-2.0 | 2,571 |
<?php
/*
* (c) 2017 Siveo, http://www.siveo.net
*
* $Id$
*
* This file is part of MMC, http://www.siveo.net
*
* MMC 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
... | pulse-project/mmc-core | web/modules/xmppmaster/xmppmaster/machine_xmpp_detail.php | PHP | gpl-2.0 | 1,270 |
/** \file
* Base class for visual SVG elements
*/
/*
* Authors:
* Lauris Kaplinski <lauris@kaplinski.com>
* bulia byak <buliabyak@users.sf.net>
* Johan Engelen <j.b.c.engelen@ewi.utwente.nl>
* Abhishek Sharma
* Jon A. Cruz <jon@joncruz.org>
*
* Copyright (C) 2001-2006 authors
* Copyright (C) 2001 X... | yaii/yai | src/sp-item.cpp | C++ | gpl-2.0 | 59,315 |
class CreateFeedbacks < ActiveRecord::Migration[4.2]
def change
create_table :feedbacks do |t|
t.references :feedback_receiving, index: {name: :feedbacks_polymorphic_index}, polymorphic: true, null: false
t.string :author_email
t.integer :rating, null: false
t.text :comment, null: false
... | ignisf/clarion | db/migrate/20171022182011_create_feedbacks.rb | Ruby | gpl-2.0 | 435 |
/* $Id$ */
/*
* This file is part of OpenTTD.
* OpenTTD 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.
* OpenTTD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without... | oshepherd/openttd-progsigs | src/pathfinder/yapf/yapf_common.hpp | C++ | gpl-2.0 | 7,218 |
function updateLabel() {
var form = $('contentForm');
var preset_ddm = form.elements['preset'];
var presetIndex = preset_ddm[preset_ddm.selectedIndex].value;
if ( labels[presetIndex] ) {
form.newLabel.value = labels[presetIndex];
} else {
form.newLabel.value = '';
}
}
window.addEvent('domready', up... | pliablepixels/ZoneMinder | web/skins/classic/views/js/controlpreset.js | JavaScript | gpl-2.0 | 332 |
import fill
import array
a = array.array('I')
a.append(1)
a.append(1)
a.append(3)
a.append(2)
a.append(2)
a.append(2)
a.append(2)
a.append(2)
a.append(2)
a.append(2)
a.append(2)
a.append(2)
print "before", a
b = fill.fill(a, 2, 2, 3, 3, 4278190080)
print "after", b
print "after 2", array.array('I', b)
| samdroid-apps/paint-activity | test_fill.py | Python | gpl-2.0 | 304 |
/*
Copyright_License {
Top Hat Soaring Glide Computer - http://www.tophatsoaring.org/
Copyright (C) 2000-2016 The Top Hat Soaring 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 GN... | rdunning0823/tophat | src/Device/Declaration.hpp | C++ | gpl-2.0 | 2,530 |
jQuery(function($) {
//Get Level 2 Category
$('#level1').on("change", ":checkbox", function () {
$("#imageloader").show();
if (this.checked) {
var parentCat=this.value;
// call ajax add_action declared in functions.php
$.ajax({
url: "/wp-admin/admin-aja... | moveable-dev1/rep1 | wp-content/themes/marsaec/js/toggle.js | JavaScript | gpl-2.0 | 7,013 |
//===-- tsan_platform_mac.cpp ---------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | Gurgel100/gcc | libsanitizer/tsan/tsan_platform_mac.cpp | C++ | gpl-2.0 | 12,112 |
(function ($) {
'use strict';
function Ninja() {
this.keys = {
arrowDown: 40,
arrowLeft: 37,
arrowRight: 39,
arrowUp: 38,
enter: 13,
escape: 27,
tab: 9
};
this.version = '0.0.0development';
}
Ninja.prototype.log = function (message) {
if (console && '... | Bremaweb/streber | js/ninja.js | JavaScript | gpl-2.0 | 2,022 |
define([
'container/BasicContainer',
'text!./CascadeContainer.html',
'core/functions/ComponentFactory',
'jquery',
'underscore'
], function (BasicContainer, template, ComponentFactory, $, _) {
var CascadeContainer = BasicContainer.extend({
events: {
"click .btn-prev": "clickPr... | MaxLeap/MyBaaS | webroot/javascript/core/container/CascadeContainer.js | JavaScript | gpl-2.0 | 4,532 |
/* -*- OpenSAF -*-
*
* (C) Copyright 2008 The OpenSAF Foundation
*
* This program is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
* or FITNESS FOR A PARTICULAR PURPOSE. This file and program are licensed
* under the GNU Les... | indonexia2004/opensaf-indo | osaf/services/saf/ntfsv/ntfs/NtfClient.cc | C++ | gpl-2.0 | 15,097 |
package lk.score.androphsy.exceptions;
/**
* This exception is thrown when a property cannot be read from the property
* file
*/
public class PropertyNotDefinedException extends Exception {
private static final String MESSAGE_PREFIX = "Property not defined!! : ";
public PropertyNotDefinedException(String messag... | swsachith/ANDROPHSY | src/main/java/lk/score/androphsy/exceptions/PropertyNotDefinedException.java | Java | gpl-2.0 | 409 |
/*
* Copyright (c) 2008, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free ... | jbachorik/btrace | btrace-core/src/main/java/org/openjdk/btrace/core/annotations/Property.java | Java | gpl-2.0 | 1,873 |
<?php
/**
* Kunena Component
* @package Kunena.Template.Blue_Eagle
* @subpackage User
*
* @copyright (C) 2008 - 2016 Kunena Team. All rights reserved.
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
* @link http://www.kunena.org
**/
defined ( '_JEXEC' ) or die ();
JHtml::_('behavior.calendar');
JHtml::... | githubupttik/upttik | components/com_kunena/template/blue_eagle/html/user/default_tab.php | PHP | gpl-2.0 | 5,180 |
<?php
/**
* @file
* Default theme implementation to display a term.
*
* Available variables:
* - $name: (deprecated) The unsanitized name of the term. Use $term_name
* instead.
* - $content: An array of items for the content of the term (fields and
* description). Use render($content) to print them all, or ... | ishoj/ishoj.dk | public_html/sites/all/themes/ishoj/templates/taxonomy-term--aktivitetstype.tpl.php | PHP | gpl-2.0 | 5,453 |
// Copyright (C) 2007, 2008, 2009 EPITA Research and Development Laboratory (LRDE)
//
// This file is part of Olena.
//
// Olena 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.
//
/... | glazzara/olena | milena/mln/canvas/all.hh | C++ | gpl-2.0 | 1,796 |
<?php
/**
* pChart - a PHP class to build charts!
* Copyright (C) 2008 Jean-Damien POGOLOTTI
* Version 2.0
*
* http://pchart.sourceforge.net
*
* 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... | Lorpotin/Dokuwiki-Gamification | lib/plugins/statistics/inc/pchart/pChart.php | PHP | gpl-2.0 | 122,890 |
<?php
$french = array(
'gccollab_stats:title' => "Statistiques de GCconnex",
'gccollab_stats:unknown' => "Inconnu",
'gccollab_stats:membercount' => "Membres inscrits",
'gccollab_stats:loading' => "Chargement des données...",
'gccollab_stats:registration:title' => "Inscription des membres",
... | pscrevs/gcconnex | mod/gccollab_stats/languages/fr.php | PHP | gpl-2.0 | 2,506 |
<?php
/**
* The Footer widget areas.
*
* @package ECVET STEP Themes
* @subpackage ECVET STEP One
* @since ECVET STEP One 1.0
*/
?>
<?php
/* The footer widget area is triggered if any of the areas
* have widgets. So let's check that first.
*
* If none of the sidebars have widgets, then let's bail early.
... | EcvetStep/ecvet-step.eu | wp-content/themes/ecvet-step/sidebar-footer.php | PHP | gpl-2.0 | 1,753 |
/* Copyright (C) 2008 AbiSource Corporation B.V.
*
* 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 progr... | hfiguiere/abiword | plugins/collab/backends/service/xp/ServiceErrorCodes.cpp | C++ | gpl-2.0 | 1,153 |
<?php
namespace Google\AdsApi\AdWords\v201705\cm;
/**
* This file was generated from WSDL. DO NOT EDIT.
*/
class ManualCpcBiddingScheme extends \Google\AdsApi\AdWords\v201705\cm\BiddingScheme
{
/**
* @var boolean $enhancedCpcEnabled
*/
protected $enhancedCpcEnabled = null;
/**
* @param... | renshuki/dfp-manager | vendor/googleads/googleads-php-lib/src/Google/AdsApi/AdWords/v201705/cm/ManualCpcBiddingScheme.php | PHP | gpl-2.0 | 1,018 |
//////////////////////////////////////////////////////////////////////////////
//
// (C) Copyright Ion Gaztanaga 2006-2007. 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)
//
// See http://www.boost.org/libs/interpr... | scs/uclinux | lib/boost/boost_1_38_0/libs/interprocess/example/doc_windows_shared_memory2.cpp | C++ | gpl-2.0 | 1,665 |
<?php
/**
* @package Joomla.Administrator
* @subpackage com_privacy
*
* @copyright Copyright (C) 2005 - 2020 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
defined('_JEXEC') or die;
/** @var PrivacyViewRequest $this */
// I... | mvanvu/joomla-cms | administrator/components/com_privacy/views/request/tmpl/default.php | PHP | gpl-2.0 | 2,937 |
/* $Id: KeyboardImpl.cpp $ */
/** @file
* VirtualBox COM class implementation
*/
/*
* Copyright (C) 2006-2012 Oracle Corporation
*
* This file is part of VirtualBox Open Source Edition (OSE), as
* available from http://www.virtualbox.org. This file is free software;
* you can redistribute it and/or modify it un... | yuyuyu101/VirtualBox-NetBSD | src/VBox/Main/src-client/KeyboardImpl.cpp | C++ | gpl-2.0 | 12,529 |
/*
* Firemox is a turn based strategy simulator
* Copyright (C) 2003-2007 Fabrice Daugan
*
* 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... | JoeyLeeuwinga/Firemox | src/main/java/net/sf/firemox/clickable/ability/TriggeredAbilitySet.java | Java | gpl-2.0 | 3,258 |
var requestQueue = new Request.Queue({
concurrent: monitorData.length,
stopOnFailure: false
});
function Monitor(monitorData) {
this.id = monitorData.id;
this.connKey = monitorData.connKey;
this.url = monitorData.url;
this.status = null;
this.alarmState = STATE_IDLE;
this.lastAlarmState = STATE_IDLE;
... | Simpler1/ZoneMinder | web/skins/classic/views/js/montage.js | JavaScript | gpl-2.0 | 16,321 |
from miasm2.core.asmblock import disasmEngine
from miasm2.arch.aarch64.arch import mn_aarch64
cb_aarch64_funcs = []
def cb_aarch64_disasm(*args, **kwargs):
for func in cb_aarch64_funcs:
func(*args, **kwargs)
class dis_aarch64b(disasmEngine):
attrib = "b"
def __init__(self, bs=None, **kwargs):
... | stephengroat/miasm | miasm2/arch/aarch64/disasm.py | Python | gpl-2.0 | 731 |
/************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER
*
* Copyright 2008, 2010 Oracle and/or its affiliates. All rights reserved.
*
* Use is subject to license terms.
*
* Licensed under the Apache License, Version 2.0 (the "Lic... | jbjonesjr/geoproponis | external/odfdom-java-0.8.10-incubating-sources/org/odftoolkit/odfdom/dom/attribute/table/TableScriptAttribute.java | Java | gpl-2.0 | 2,957 |
<?
/**[N]**
* JIBAS Education Community
* Jaringan Informasi Bersama Antar Sekolah
*
* @version: 3.2 (September 03, 2013)
* @notes: JIBAS Education Community will be managed by Yayasan Indonesia Membaca (http://www.indonesiamembaca.net)
*
* Copyright (C) 2009 Yayasan Indonesia Membaca (http://www.indon... | nurulimamnotes/sistem-informasi-sekolah | jibas/infosiswa/buletin/galerifoto/galerifoto_ss.php | PHP | gpl-2.0 | 7,300 |
/*
Copyright (c) 2009, 2012, Oracle and/or its affiliates. All rights reserved.
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 program is distributed i... | MrDunne/myblockchain | storage/ndb/clusterj/clusterj-tie/src/main/java/com/mysql/clusterj/tie/OperationImpl.java | Java | gpl-2.0 | 13,552 |
package mica
import "fmt"
// LinkToCompressed represents a link from a reference sequence to a
// compressed original sequence. It serves as a bridge from a BLAST hit in
// the coarse database to the corresponding original sequence that is
// redundant to the specified residue range in the reference sequence.
type Li... | jameslz/MICA | link_to_compressed.go | GO | gpl-2.0 | 843 |
// renderimpl.cpp
// this file is part of Context Free
// ---------------------
// Copyright (C) 2006-2008 Mark Lentczner - markl@glyphic.com
// Copyright (C) 2006-2014 John Horigan - john@glyphic.com
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Pub... | burstas/context-free | src-common/renderimpl.cpp | C++ | gpl-2.0 | 35,325 |
/* Copyright (C) 2003-2015 LiveCode Ltd.
This file is part of LiveCode.
LiveCode is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License v3 as published by the Free
Software Foundation.
LiveCode is distributed in the hope that it will be useful, but WITHOUT ANY
WA... | PaulMcClernan/livecode | engine/src/scrolbar.cpp | C++ | gpl-3.0 | 33,008 |
using FluentValidation;
using NzbDrone.Core.Annotations;
using NzbDrone.Core.ThingiProvider;
using NzbDrone.Core.Validation;
namespace NzbDrone.Core.ImportLists.StevenLu
{
public class StevenLuSettingsValidator : AbstractValidator<StevenLuSettings>
{
public StevenLuSettingsValidator()
{
... | Radarr/Radarr | src/NzbDrone.Core/ImportLists/StevenLu/StevenLuSettings.cs | C# | gpl-3.0 | 981 |
static void Button_tick(Button *self) {
if(self->onTick) self->onTick();
}
void Button::create(Window &parent, unsigned x, unsigned y, unsigned width, unsigned height, const string &text) {
object->widget = gtk_button_new_with_label(text);
widget->parent = &parent;
gtk_widget_set_size_request(object->widget, w... | grim210/defimulator | snespurify/phoenix/gtk/button.cpp | C++ | gpl-3.0 | 629 |
<?php
/* Copyright (C) 2001-2003 Rodolphe Quiedeville <rodolphe@quiedeville.org>
* Copyright (C) 2004-2016 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2005-2009 Regis Houssin <regis.houssin@capnetworks.com>
* Copyright (C) 2013 Antoine Iauch <aiauch@gpcsolutions.fr>
*
* Thi... | apachler/dolibarr | htdocs/compta/stats/cabyuser.php | PHP | gpl-3.0 | 15,636 |
package utils
import (
"os"
"path/filepath"
"github.com/securityfirst/tent/component"
)
func WriteCmp(base string, c component.Component) error {
path := filepath.Join(base, c.Path())
if err := os.MkdirAll(filepath.Dir(path), 0777); err != nil {
return err
}
f, err := os.Create(path)
if err != nil {
retu... | securityfirst/tent | utils/persistence.go | GO | gpl-3.0 | 416 |
System.register(['angular2/core'], function(exports_1) {
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "obje... | burner/AngularVibed | Examples2/Example05/node_modules/angular2/ts/examples/core/ts/prod_mode/my_component.js | JavaScript | gpl-3.0 | 1,526 |
<?php
// This is a SPIP language file -- Ceci est un fichier langue de SPIP
// extrait automatiquement de http://trad.spip.net/tradlang_module/forum?lang_cible=id
// ** ne pas modifier le fichier **
if (!defined('_ECRIRE_INC_VERSION')) {
return;
}
$GLOBALS[$GLOBALS['idx_lang']] = array(
// B
'bouton_radio_artic... | ernestovi/ups | spip/plugins-dist/forum/lang/forum_id.php | PHP | gpl-3.0 | 6,067 |
/*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
*
* Copyright 2011 OpenConcerto, by ILM Informatique. All rights reserved.
*
* The contents of this file are subject to the terms of the GNU General Public License Version 3
* only ("GPL"). You may not use this file except in compliance with th... | eric-lemesre/OpenConcerto | OpenConcerto/src/org/openconcerto/sql/view/EditPanelListener.java | Java | gpl-3.0 | 830 |
@extends('hideyo_backend::_layouts.default')
@section('main')
<div class="row">
<div class="col-sm-3 col-md-2 sidebar">
@include('hideyo_backend::_partials.news-tabs', array('newsEdit' => true))
</div>
<div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main">
<ol class="breadc... | kkorte/backend | src/resources/views/news/edit.blade.php | PHP | gpl-3.0 | 3,427 |
package org.sigmah.offline.js;
/*
* #%L
* Sigmah
* %%
* Copyright (C) 2010 - 2016 URD
* %%
* 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 you... | Raphcal/sigmah | src/main/java/org/sigmah/offline/js/TransfertJS.java | Java | gpl-3.0 | 3,177 |
#!/usr/bin/python3
from ansible.module_utils.arvados_common import process
def main():
additional_argument_spec={
"uuid": dict(required=True, type="str"),
"owner_uuid": dict(required=True, type="str"),
"name": dict(required=True, type="str"),
}
filter_property = "uuid"
filter... | wtsi-hgi/hgi-ansible | ansible/library/arvados_repository.py | Python | gpl-3.0 | 670 |
/*
* This file is part of Flying PhotoBooth.
*
* Flying PhotoBooth 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.
*
* Flying... | benhylau/flying-photo-booth | party-photo-booth/src/com/groundupworks/partyphotobooth/setup/fragments/PhotoBoothSetupFragment.java | Java | gpl-3.0 | 7,157 |
import React, { PropTypes } from 'react'
import classnames from 'classnames'
const SettingsPageMenuLayout = ({ children, title, className }) => (
<div
className={classnames(
'settings-page-menu-layout bg-white pt3 pr4 pl5 border-only-bottom border-gray94',
className
)}
>
<h1 className="h1 m... | igr-santos/hub-client | app/components/Layout/SettingsPageMenuLayout.js | JavaScript | gpl-3.0 | 624 |
'use superstrict';
try {
if ((-25 >> 3) === -4) {
'ok';
} else {
'fail';
}
} catch (e) {
}
| vacuumlabs/babel-plugin-superstrict | test/eval_tests/casting_signed_right_shift_numbers.js | JavaScript | gpl-3.0 | 106 |
# (c) Nelen & Schuurmans. GPL licensed, see LICENSE.rst.
# -*- coding: utf-8 -*-
"""Use AppConf to store sensible defaults for settings. This also documents the
settings that lizard_damage defines. Each setting name automatically has
"FLOODING_LIB_" prepended to it.
By puttng the AppConf in this module and importing... | lizardsystem/flooding | flooding_lib/conf.py | Python | gpl-3.0 | 875 |
package edu.hucare.model;
import com.fasterxml.jackson.annotation.JsonIgnore;
import javax.persistence.*;
import java.util.Set;
/**
* Created by Kuzon on 7/28/2016.
*/
@Entity
@Table(name = "users")
public class User {
@Id
@GeneratedValue(strategy = GenerationType.AUTO)
private long id;
private ... | adalee-group/watering-system | server/schedule-service/src/main/java/edu/hucare/model/User.java | Java | gpl-3.0 | 1,897 |
/**
* Copyright 2013 hbz NRW (http://www.hbz-nrw.de/)
*
* This file is part of regal-drupal.
*
* regal-drupal 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 y... | jschnasse/regal-drupal | edoweb/js/edoweb.js | JavaScript | gpl-3.0 | 13,745 |
/*
This file is part of Cute Chess.
Copyright (C) 2008-2018 Cute Chess authors
Cute Chess 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 optio... | joergoster/cutechess | projects/lib/src/sprt.cpp | C++ | gpl-3.0 | 4,340 |
/*
* Copyright (c) 2018 OBiBa. All rights reserved.
*
* This program and the accompanying materials
* are made available under the terms of the GNU Public License v3.0.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*... | obiba/mica2 | mica-webapp/src/main/webapp/app/contact/contact-service.js | JavaScript | gpl-3.0 | 3,513 |
# -*- coding: utf-8 -*-
"""
<license>
CSPLN_MaryKeelerEdition; Manages images to which notes can be added.
Copyright (C) 2015, Thomas Kercheval
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 ... | jjs0sbw/CSPLN | test/update_test_subreadme.py | Python | gpl-3.0 | 3,717 |
/**
* Marlin 3D Printer Firmware
* Copyright (C) 2019 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
*
* Based on Sprinter and grbl.
* Copyright (C) 2011 Camiel Gubbels / Erik van der Zalm
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General... | teemuatlut/Marlin | Marlin/src/gcode/feature/trinamic/M911-M914.cpp | C++ | gpl-3.0 | 12,013 |
<?php
/* Copyright (C) 2002-2006 Rodolphe Quiedeville <rodolphe@quiedeville.org>
* Copyright (C) 2004 Eric Seigne <eric.seigne@ryxeo.com>
* Copyright (C) 2004-2012 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2005 Marc Barilley / Ocebo <marc@ocebo.com>
* Copyright (C) 2005... | IndustriaLeuven/dolibarr | htdocs/compta/facture/list.php | PHP | gpl-3.0 | 38,537 |
/*!
* web-SplayChat v0.4.0 - messaging web application for MTProto
* http://SplayChat.com/
* Copyright (C) 2014 SplayChat Messenger <igor.beatle@gmail.com>
* http://SplayChat.com//blob/master/LICENSE
*/
chrome.app.runtime.onLaunched.addListener(function(launchData) {
chrome.app.window.create('../index.html', {
... | ishmaelchibvuri/splayweb.io | app/js/background.js | JavaScript | gpl-3.0 | 481 |
/**
* Copyright (C) 2019 Takima
*
* This file is part of OSM Contributor.
*
* OSM Contributor 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 ... | mapsquare/osm-contributor | src/main/java/io/jawg/osmcontributor/ui/utils/ZoomAnimationGestureDetector.java | Java | gpl-3.0 | 2,599 |
#region License
/*
Microsoft Public License (Ms-PL)
MonoGame - Copyright © 2009 The MonoGame Team
All rights reserved.
This license governs use of the accompanying software. If you use the software, you accept this license. If you do not
accept the license, do not use the software.
1. Definitions
The terms "reproduc... | Blucky87/Otiose2D | src/libs/MonoGame/MonoGame.Framework/Content/ContentReaders/TimeSpanReader.cs | C# | gpl-3.0 | 3,388 |
// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
#include "AP_TECS.h"
#include <AP_HAL.h>
extern const AP_HAL::HAL& hal;
#if CONFIG_HAL_BOARD == HAL_BOARD_AVR_SITL
#include <stdio.h>
# define Debug(fmt, args ...) do {printf("%s:%d: " fmt "\n", __FUNCTION__, __LINE__, ## args); hal.sche... | mrpollo/ardupilot | libraries/AP_TECS/AP_TECS.cpp | C++ | gpl-3.0 | 33,291 |
'use strict';
/**
* A class representation of the BSON Double type.
*/
class Double {
/**
* Create a Double type
*
* @param {number} value the number we want to represent as a double.
* @return {Double}
*/
constructor(value) {
this.value = value;
}
/**
* Access the number value.
*
... | TamataOcean/TamataSpiru | node_modules/bson/lib/double.js | JavaScript | gpl-3.0 | 993 |
/*
* Copyright (C) 2013-2014 Dominik Schürmann <dominik@dominikschuermann.de>
*
* 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 l... | bresalio/apg | OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/adapter/ImportKeysAdapter.java | Java | gpl-3.0 | 11,323 |
package engine.gameScene;
import engine.gameController.GameController;
import engine.gameScene.url.Url;
import java.io.IOException;
import java.net.URL;
import java.util.Collection;
import javafx.fxml.FXMLLoader;
import javafx.geometry.Pos;
import javafx.scene.CacheHint;
import javafx.scene.Node;
import javafx.scene.P... | smasoumi/stupidwarriors | src/engine/gameScene/SceneBuilder.java | Java | gpl-3.0 | 5,638 |
<?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 an... | boydjd/openfisma | library/Zend/Measure/Capacitance.php | PHP | gpl-3.0 | 4,107 |
/// <reference path = "EscenaActividad.ts" />
/// <reference path = "../../dependencias/pilasweb.d.ts"/>
/// <reference path = "../actores/Cuadricula.ts"/>
/// <reference path = "../actores/PerroCohete.ts"/>
/// <reference path = "../comportamientos/MovimientosEnCuadricula.ts"/>
/**
* @class TresNaranjas
*
*/
cla... | bit0Ar/pilas-bloques | releases/pilas-engine-bloques-linux-ia32/resources/app/ejerciciosPilas/src/escenas/TresNaranjas.ts | TypeScript | gpl-3.0 | 1,676 |
/*
* Copyright (C) 2015-2016 Willi Ye <williye97@gmail.com>
*
* This file is part of Kernel Adiutor.
*
* Kernel Adiutor 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, o... | randomstuffpaul/KernelAdiutor | app/src/main/java/com/grarak/kerneladiutor/activities/BaseActivity.java | Java | gpl-3.0 | 5,069 |
/*
* Copyright (C) 2007-2017 Crafter Software Corporation.
*
* 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.
*
*... | dejan-brkic/commons | utilities/src/main/java/org/craftercms/commons/logging/Logged.java | Java | gpl-3.0 | 1,171 |
using System;
using AutoMapper;
using Machete.Web.Helpers;
using static Machete.Web.Helpers.Extensions;
namespace Machete.Web.Maps
{
public class WorkerSigninProfile : Profile
{
public WorkerSigninProfile()
{
CreateMap<Domain.WorkerSignin, Service.DTO.WorkerSigninList>()
... | SavageLearning/Machete | Machete.Web/Maps/Legacy/WorkerSigninProfile.cs | C# | gpl-3.0 | 5,028 |
<?php
/**
* Copyright © 2016 Magento. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\Quote\Model\GuestCartManagement\Plugin;
use Magento\Framework\Exception\StateException;
class Authorization
{
/**
* @var \Magento\Authorization\Model\UserContextInterface
*/
prot... | rajmahesh/magento2-master | vendor/magento/module-quote/Model/GuestCartManagement/Plugin/Authorization.php | PHP | gpl-3.0 | 1,301 |
package nl.knaw.huygens.timbuctoo.v5.dropwizard.contenttypes;
import nl.knaw.huygens.timbuctoo.v5.dropwizard.SupportedExportFormats;
import java.util.HashMap;
import java.util.Optional;
import java.util.Set;
import static java.lang.String.format;
public class SerializerWriterRegistry implements SupportedExportForma... | HuygensING/timbuctoo | timbuctoo-instancev4/src/main/java/nl/knaw/huygens/timbuctoo/v5/dropwizard/contenttypes/SerializerWriterRegistry.java | Java | gpl-3.0 | 1,216 |
package org.bukkit.craftbukkit.event;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.ItemStack;
import org.bukkit.event.player.PlayerInteractEvent;
public class CraftEventFactory
{
public static org.bukkit.event.player.PlayerInteractEvent callPlayerInteractEvent(EntityPlayer playe... | GotoLink/Battlegear2 | src/api/java/org/bukkit/craftbukkit/event/CraftEventFactory.java | Java | gpl-3.0 | 693 |
package tsb.examenFinal.util;
import java.util.Stack;
/**
*
* Verifica el balanceo de caractertes de apertura y cierre
* como [] {} <>
*/
public abstract class Balance {
public static boolean isBalanced(final String str, final char c0, final char c1) {
boolean toReturn;
if (c0 == c1) {
... | javiermatias/jbc-utn-frc | 3ro/TSB/final/util/src/tsb/examenFinal/util/Balance.java | Java | gpl-3.0 | 1,495 |
/*
Scripts for cnprog.com
Project Name: Lanai
All Rights Resevred 2008. CNPROG.COM
*/
var lanai = {
/**
* Finds any <pre><code></code></pre> tags which aren't registered for
* pretty printing, adds the appropriate class name and invokes prettify.
*/
highlightSyntax: function(){
var style... | simalytics/askbot-devel | static/default/media/js/post.js | JavaScript | gpl-3.0 | 160,054 |
/*
* This file is part of ADDIS (Aggregate Data Drug Information System).
* ADDIS is distributed from http://drugis.org/.
* Copyright © 2009 Gert van Valkenhoef, Tommi Tervonen.
* Copyright © 2010 Gert van Valkenhoef, Tommi Tervonen, Tijs Zwinkels,
* Maarten Jacobs, Hanno Koeslag, Florin Schimbinschi, Ahmad Kamal,... | drugis/addis | application/src/main/java/org/drugis/addis/entities/relativeeffect/GaussianBase.java | Java | gpl-3.0 | 3,288 |
// http://eslint.org/docs/user-guide/configuring
module.exports = {
root: true,
parser: 'babel-eslint',
parserOptions: {
sourceType: 'module'
},
env: {
browser: true,
},
extends: 'airbnb-base',
// required to lint *.vue files
plugins: [
'html'
],
// check if imports actually resolve
... | gera2ld/Stylish-mx | .eslintrc.js | JavaScript | gpl-3.0 | 1,429 |
# -*- coding: UTF-8 -*-
"""
Lastship Add-on (C) 2019
Credits to Lastship, Placenta and Covenant; our thanks go to their creators
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... | lastship/plugin.video.lastship | resources/lib/sources/de/movie4k.py | Python | gpl-3.0 | 8,599 |
var interval = setInterval(function () {
$("button[type=submit]").hide();
$("p.info").hide();
try {
var prompting = loadTXT("/data/status.json");
if (prompting.indexOf("started")>0 || prompting.indexOf("active")>0 ) {
$("button[type=submit]").show();
$("p.warning").hide();
$("p.info").show();
clearI... | opendomo/OpenDomoOS | src/odbase/var/www/scripts/wizFirstConfigurationStep5.sh.js | JavaScript | gpl-3.0 | 389 |