repo_name
stringlengths
4
116
path
stringlengths
4
379
size
stringlengths
1
7
content
stringlengths
3
1.05M
license
stringclasses
15 values
oTibia/UnderLight-AK47
data/actions/scripts/doors/window_open.lua
234
-- By Ricky Mesny -- http://otfans.net/showthread.php?t=96955 function onUse(cid, item, frompos, item2, topos) if not(House.getHouseByPos(frompos)) then return false end doTransformItem(item.uid, item.itemid+2) return true end
gpl-2.0
DE-IBH/cmk_cisco-dom
perfometer/cisco_dom.py
1321
#!/usr/bin/python # -*- encoding: utf-8; py-indent-offset: 4 -*- # cmk_cisco-dom - check-mk plugin for SNMP-based Cisco Digital-Optical-Monitoring monitoring # # Authors: # Thomas Liske <liske@ibh.de> # # Copyright Holder: # 2015 - 2016 (C) IBH IT-Service GmbH [http://www.ibh.de/] # # License: # This program is ...
gpl-2.0
Jamesits/Moegram
TMessagesProj/src/main/java/org/telegram/messenger/NotificationDismissReceiver.java
833
/* * This is the source code of Telegram for Android v. 5.x.x. * It is licensed under GNU GPL v. 2 or later. * You should have received a copy of the license in this archive (see LICENSE). * * Copyright Nikolai Kudashov, 2013-2018. */ package org.telegram.messenger; import android.content.BroadcastReceiver; imp...
gpl-2.0
seppeduwe/cocct
src/main/java/sir/barchable/clash/protocol/ProtocolTool.java
3388
package sir.barchable.clash.protocol; import com.beust.jcommander.JCommander; import com.beust.jcommander.Parameter; import com.beust.jcommander.ParameterException; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import sir.barchable.clash.ResourceException; import sir.barchable.util.Json; import java.io.*; ...
gpl-2.0
openkm/document-management-system
src/main/java/com/openkm/frontend/client/extension/event/handler/WorkspaceHandlerExtension.java
1275
/** * OpenKM, Open Document Management System (http://www.openkm.com) * Copyright (c) 2006-2017 Paco Avila & Josep Llort * <p> * No bytes were intentionally harmed during the development of this application. * <p> * This program is free software; you can redistribute it and/or modify * it under the terms of the...
gpl-2.0
jameswatt2008/jameswatt2008.github.io
python/Python核心编程/网络编程/截图和代码/概述、SOCKET/多进程copy文件/test-复件/traceback.py
22194
"""Extract, format and print information about Python stack traces.""" import collections import itertools import linecache import sys __all__ = ['extract_stack', 'extract_tb', 'format_exception', 'format_exception_only', 'format_list', 'format_stack', 'format_tb', 'print_exc', 'format_exc', 'pr...
gpl-2.0
carleton/reasoncms
reason_4.0/lib/core/classes/admin/modules/copy_borrowing.php
3483
<?php /** * @package reason * @subpackage admin */ /** * Include the default module and other needed utilities */ reason_include_once('classes/admin/modules/default.php'); include_once( DISCO_INC . 'disco.php'); /** * An administrative module that allows a use to select a site to borrow a given item into...
gpl-2.0
MTuner/RiaCrawler
owasp-proxy/src/main/java/org/owasp/proxy/ajp/AJPConstants.java
7406
/* * This file is part of the OWASP Proxy, a free intercepting proxy library. * Copyright (C) 2008-2010 Rogan Dawes <rogan@dawes.za.net> * * 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 Found...
gpl-2.0
iftekar007/pearlhealth-wp
wp-content/plugins/events-manager/multilingual/em-ml-admin.php
6386
<?php class EM_ML_Admin{ public static function init(){ add_action('add_meta_boxes', 'EM_ML_Admin::meta_boxes',100); if( !defined('EM_SETTINGS_TABS') && count(EM_ML::$langs) > 3 ) define('EM_SETTINGS_TABS',true); } public static function meta_boxes(){ global $EM_Event, $EM_Location; //decide if ...
gpl-2.0
ppardalj/ServUO
Scripts/Mobiles/NPCs/WarriorGuard.cs
8241
#region Header // ********** // ServUO - WarriorGuard.cs // ********** #endregion #region References using System; using Server.Items; #endregion namespace Server.Mobiles { public class WarriorGuard : BaseGuard { private Timer m_AttackTimer, m_IdleTimer; private Mobile m_Focus; [Constructable] public Warr...
gpl-2.0
IYEO/Sweettaste
administrator/components/com_hikashop/extensions/plg_hikashoppayment_sofort/library/helper/array_to_xml.php
4290
<?php /** * @package HikaShop for Joomla! * @version 2.6.3 * @author hikashop.com * @copyright (C) 2010-2016 HIKARI SOFTWARE. All rights reserved. * @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html */ defined('_JEXEC') or die('Restricted access'); ?><?php require_once('array_to_xml_exception....
gpl-2.0
md-5/jdk10
test/hotspot/jtreg/vmTestbase/nsk/jdi/EventSet/suspendPolicy/suspendpolicy016.java
18653
/* * Copyright (c) 2001, 2018, 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 ...
gpl-2.0
famelo/TYPO3-Base
typo3/sysext/core/Classes/Page/PageRenderer.php
81662
<?php namespace TYPO3\CMS\Core\Page; /* * This file is part of the TYPO3 CMS project. * * It is free software; you can redistribute it and/or modify it under * the terms of the GNU General Public License, either version 2 * of the License, or any later version. * * For the full copyright and license information...
gpl-2.0
srgg6701/WebApps
components/com_collector1/models/_options_beyond_sides.php
2044
<?php /** * @version 2.1.0 * @package com_collector1 * @copyright Copyright (C) webapps 2012. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt * @author srgg <srgg67@gmail.com> - http://www.facebook.com/srgg67 */ defined('_JEXEC') or die; jimport(...
gpl-2.0
ahsparrow/xcsoar_orig
src/Event/Linux/TTYKeyboard.hpp
2091
/* Copyright_License { XCSoar Glide Computer - http://www.xcsoar.org/ Copyright (C) 2000-2015 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 ...
gpl-2.0
tectronics/scummvm-for-sally
engines/m4/converse.cpp
40723
/* 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 te...
gpl-2.0
PKRoma/Git-Source-Control-Provider
GitUI/ICSharpCode.AvalonEdit/Rendering/VisualYPosition.cs
1008
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt) // This code is distributed under the GNU LGPL (for details please see \doc\license.txt) using System; namespace ICSharpCode.AvalonEdit.Rendering { /// <summary> /// An enum that specifies the possible Y ...
gpl-2.0
hernancmartinez/dibbler
Options/OptInteger.cpp
2071
/* * Dibbler - a portable DHCPv6 * * authors: Tomasz Mrugalski <thomson@klub.com.pl> * Marek Senderski <msend@o2.pl> * * released under GNU GPL v2 licence * */ #include <stdlib.h> #include <sstream> #include <iostream> #include "Portable.h" #include "OptInteger.h" #include "DHCPConst.h" using namespa...
gpl-2.0
ashwinmt/wp-ny
wp-content/plugins/cornerstone/includes/shortcodes/share.php
5693
<?php // Share // ============================================================================= function x_shortcode_share( $atts ) { extract( shortcode_atts( array( 'id' => '', 'class' => '', 'style' => '', 'title' => '', 'share_title' => '', 'facebook' => '', ...
gpl-2.0
durilka/MeditationTracker
dootil/src/doo/util/functional/Folder.java
132
package doo.util.functional; public interface Folder<TSource, TResult> { TResult fold(TResult accumulator, TSource current); }
gpl-2.0
jtulach/truffle
truffle/com.oracle.truffle.dsl.processor/src/com/oracle/truffle/dsl/processor/interop/InteropDSLProcessor.java
14081
/* * Copyright (c) 2016, 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 Softwa...
gpl-2.0
SkidJava/BaseClient
lucid_1.8.8/net/minecraft/block/BlockStoneSlab.java
7170
package net.minecraft.block; import java.util.List; import java.util.Random; import net.minecraft.block.material.MapColor; import net.minecraft.block.material.Material; import net.minecraft.block.properties.IProperty; import net.minecraft.block.properties.PropertyBool; import net.minecraft.block.properties.PropertyEnu...
gpl-2.0
Pasha-G/icms1
templates/_default_/admin/autoform.php
1670
<?php global $tpl_data, $_LANG; extract($tpl_data); ?> <input type="hidden" name="do" value="save_auto_config" /> <input type="hidden" name="csrf_token" value="<?php echo cmsUser::getCsrfToken(); ?>" /> <div class="params-form"> <table width="100%" cellpadding="3" cellspacing="0" border="0"> ...
gpl-2.0
lamsfoundation/lams
3rdParty_sources/xmltooling/org/opensaml/xml/encryption/impl/EncryptedTypeImpl.java
5355
/* * Licensed to the University Corporation for Advanced Internet Development, * Inc. (UCAID) under one or more contributor license agreements. See the * NOTICE file distributed with this work for additional information regarding * copyright ownership. The UCAID licenses this file to You under the Apache * Lic...
gpl-2.0
FeiZhu/Physika
Projects/TESTS/matrix4x4_test.cpp
2549
/* * @file matrix4x4_test.cpp * @brief Test the Matrix4x4 class. * @author Sheng Yang, Liyou Xu * * This file is part of Physika, a versatile physics simulation library. * Copyright (C) 2013- Physika Group. * * This Source Code Form is subject to the terms of the GNU General Public License v2.0. * If a copy...
gpl-2.0
snorrelo/plugin.image.500px
resources/lib/fivehundredpxutils/xbmc.py
1545
import os import sys import urllib import urlparse import string import xbmcgui import xbmcplugin import xbmcaddon __addon__ = xbmcaddon.Addon() addon_path = __addon__.getAddonInfo('path') addon_url = sys.argv[0] addon_handle = int(sys.argv[1]) addon_params = dict(urlparse.parse_qsl(sys.argv[2][1:])) def encode_ch...
gpl-2.0
YesWiki/yeswiki-extensions-deprecated
wysiwyg/libs/tiny_mce/plugins/table/js/table.js
14125
tinyMCEPopup.requireLangPack(); var action, orgTableWidth, orgTableHeight, dom = tinyMCEPopup.editor.dom; function insertTable() { var formObj = document.forms[0]; var inst = tinyMCEPopup.editor, dom = inst.dom; var cols = 2, rows = 2, border = 0, cellpadding = -1, cellspacing = -1, align, width, height, cl...
gpl-2.0
LauraRey/oacfdc
components/com_comment/helpers/tree.php
3543
<?php /*************************************************************** * * Copyright notice * * Copyright 2013 Daniel Dimitrov. (http://compojoom.com) * All rights reserved * * This script is part of the CompojoomComment project. The CompojoomComment project is * free software; you can redistrib...
gpl-2.0
kadircet/HackMETU-15
Pwnable/500/clear.py
190
#!/usr/bin/python from os import popen from os import mkdir from sys import argv N = int(argv[1]) popen('killall p500') popen('rm -rf team*') for t in range(N): popen('userdel p500t%d'%t)
gpl-2.0
bharcode/MachineLearning
commons_ml/Logistic_Regression/Logistic_Binary_Classification/Scripts/logistic_regression.py
5789
#!/usr/bin/env python # logistic_regression.py # Author : Saimadhu # Date: 19-March-2017 # About: Implementing Logistic Regression Classifier to predict to whom the voter will vote. # Required Python Packages import pandas as pd import numpy as np import pdb import plotly.plotly as py import plotly.graph_objs as go #...
gpl-2.0
iarna/joe-editor
tests/joefx/controller.py
7787
import array import atexit import collections import fcntl import os import pty import select import shutil import signal import tempfile import termios import time import pyte from . import exceptions from . import keys coord = collections.namedtuple('coord', ['X', 'Y']) class JoeController(object): """Control...
gpl-2.0
JIMyungSik/uftrace
tests/t025_report_s_call.py
1023
#!/usr/bin/env python from runtest import TestBase import subprocess as sp TDIR='xxx' class TestCase(TestBase): def __init__(self): TestBase.__init__(self, 'sort', """ Total time Self time Nr. called Function ========== ========== ========== ==================================== 36.388 us ...
gpl-2.0
cakeside/cakeside
app/services/infrastructure/queued_job.rb
468
class QueuedJob < Struct.new(:event, :payload) def perform handlers_for(event).each { |handler| handler.handle(payload) } end def error(job, exception) ExceptionNotifier.notify_exception(exception) unless Rails.env.test? end private def handlers_for(event) container.resolve_all(:message_handl...
gpl-2.0
KDE/calligra-history
filters/kspread/xlsx/NumberFormatParser.cpp
30203
/* * This file is part of Office 2007 Filters for KOffice * * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). * * Contact: Christoph Schleifenbaum christoph@kdab.com * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public L...
gpl-2.0
bundocba/applied-metaphysics
plugins/system/nnframework/fields/hr.php
1888
<?php /** * Element: HR * Displays a line * * @package NoNumber Framework * @version 12.4.2 * * @author Peter van Westen <peter@nonumber.nl> * @link http://www.nonumber.nl * @copyright Copyright © 2012 NoNumber All Rights Reserved * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL */ // ...
gpl-2.0
hardvain/mono-compiler
errors/cs1690-3.cs
469
// CS1690: Cannot call methods, properties, or indexers on `A.point' because it is a value type member of a marshal-by-reference class // Line: 22 // Compiler options: -warn:1 -warnaserror using System; public struct Point { public bool this [int i] { set { } } } public class A : MarshalByRefObject { publ...
gpl-2.0
gabeshaughnessy/timothy-woodworking
wp-content/plugins/codepress-admin-columns/classes/column/media/exif-data.php
2543
<?php /** * CPAC_Column_Media_File_Size * * @since 2.0 */ class CPAC_Column_Media_Exif_Data extends CPAC_Column { /** * @see CPAC_Column::init() * @since 2.3 */ public function init() { parent::init(); // Properties $this->properties['type'] = 'column-exif_data'; $this->prope...
gpl-2.0
SamGraber/Robo-Rumble
server/config/routes.js
514
var express = require('express'); module.exports = function(app, config) { app.use(express.static(config.rootPath + '/public')); app.get('/partials/*', function(req, res) { res.render('../../public/app/' + req.params[0]); }); app.get('/new/*', function(req, res) { res.render('new'); }); app.get('/continue...
gpl-2.0
tntrung/youCVML
demo_pca.py
1083
# The demo of PCA algorithm import numpy as np import matplotlib.pyplot as plt from ml.manifolds.unsupervised.pca import pca from misc import zero_mean as zm # Load data data = np.loadtxt("data/pcaData.txt").transpose() data,mean = zm.zero_mean(data) # Display the size of loaded data # print data.shape # Visualizi...
gpl-2.0
ricker75/Global-Server
data/npc/scripts/Suzy.lua
14636
local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) local count = {} local transfer = {} function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end ...
gpl-2.0
wargoth/tophat
src/Form/DataField/RoughTime.cpp
2269
/* 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...
gpl-2.0
rowanthorpe/IXP-Manager
database/Proxies/__CG__EntitiesIRRDBConfig.php
7446
<?php namespace Proxies\__CG__\Entities; /** * DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR */ class IRRDBConfig extends \Entities\IRRDBConfig implements \Doctrine\ORM\Proxy\Proxy { /** * @var \Closure the callback responsible for loading properties in the proxy object. This callbac...
gpl-2.0
oracle2025/openmovieeditor
src/PortAudio19PlaybackCore.H
1671
/* PortAudio19PlaybackCore.H * * Copyright (C) 2005, 2006, 2008 Richard Spindler <richard.spindler AT gmail.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 t...
gpl-2.0
jurgel/Maratis-4
Sources/MSDK/MCore/Sources/MMatrix4x4.cpp
25142
///////////////////////////////////////////////////////////////////////////////////////////////////////// // MCore // MMatrix4x4.cpp ///////////////////////////////////////////////////////////////////////////////////////////////////////// //======================================================================== // Co...
gpl-2.0
smalyshev/blazegraph
bigdata-jini/src/java/com/bigdata/jini/start/config/TransactionServerConfiguration.java
2705
/* Copyright (C) SYSTAP, LLC 2006-2015. All rights reserved. Contact: SYSTAP, LLC 2501 Calvert ST NW #106 Washington, DC 20008 licenses@systap.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 So...
gpl-2.0
md-5/jdk10
src/hotspot/share/gc/shenandoah/shenandoahUnload.cpp
6103
/* * Copyright (c) 2019, Red Hat, Inc. All rights reserved. * * 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 Software Foundation. * * This code is distributed in the hope that it will be useful,...
gpl-2.0
muoiplus/hoangxuan
wp-content/plugins/wp-post-template/inic-post-template.php
4934
<?php /* Plugin Name: Post Template Plugin URI: http://wordpress.org/extend/plugins/wp-post-template/ Description: WordPress allows users to customize templates for webpages but, it is not so for blog posts. Post Template plug-in from <a href="http://www.indianic.com/">IndiaNIC</a> enables you to use the customi...
gpl-2.0
ccp137/GemPuzzle
xiaotian/GemPuzzle_XTZ/tests.cpp
8928
// // tests.cpp -- functions for testing // // Written by Xiaotian Zhu // #include <iostream> #include "Game.h" void testPuzzle(){ std::cout << "Tests for Puzzle:" << std::endl; // testing IsDefault() std::cout << "0. testing IsDefault():" << std::endl; Puzzle myPuzzleNeg1(3,3); myPuzzleNeg1.Displ...
gpl-2.0
PowerCMS/DynamicMTML2.0
addons/DynamicMTML.pack/php/class.mt_log.php
1535
<?php require_once( 'class.baseobject.php' ); class Log extends BaseObject { public $_table = 'mt_log'; protected $_prefix = "log_"; public function Save() { $mt = MT::get_instance(); if ( $created_on = $this->created_on ) { if( preg_match( '/^[0-9]{14}$/', $created_on ) ) { ...
gpl-2.0
kalle404/cautious-broccoli
lib/plugins/dw2pdf/lang/zh/lang.php
263
<?php /** * @license GPL 2 (http://www.gnu.org/licenses/gpl.html) * * @author oott123 <ip.192.168.1.1@qq.com> */ $lang['export_pdf_button'] = '导出 PDF'; $lang['empty'] = "您还没有选择的页面。"; $lang['needtitle'] = "需要指定标题";
gpl-2.0
dax1216/nolimits
wp-content/plugins/thoughtful-comments/fv-thoughtful-comments.php
45204
<?php /* Plugin Name: FV Thoughtful Comments Plugin URI: http://foliovision.com/ Description: Manage incomming comments more effectively by using frontend comment moderation system provided by this plugin. Version: 0.2.5 Author: Foliovision Author URI: http://foliovision.com/seo-tools/wordpress/plugins/thoughtful-comm...
gpl-2.0
SpoonLabs/astor
examples/chart_11/source/org/jfree/chart/editor/ChartEditorFactory.java
1946
/* =========================================================== * JFreeChart : a free chart library for the Java(tm) platform * =========================================================== * * (C) Copyright 2000-2007, by Object Refinery Limited and Contributors. * * Project Info: http://www.jfree.org/jfreech...
gpl-2.0
AndyPeterman/mrmc
xbmc/settings/windows/GUIWindowSettingsScreenCalibration.cpp
15027
/* * Copyright (C) 2005-2013 Team XBMC * http://xbmc.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, or (at your option) * any later version. * * ...
gpl-2.0
metrocovarrubias/practica-6
Profesor.cs
4566
using System; using MySql.Data.MySqlClient; namespace Practica6 { /// <summary> /// Description of Profesor. /// </summary> public class Profesor : Conexion { public string id,codigo, nombre; public Profesor() { } public void Menu(){ int opcion; string respuesta; Console.WriteLine("Elegir ...
gpl-2.0
aleph1888/lorea
pages/account/register.php
1380
<?php /** * Assembles and outputs the registration page. * * Since 1.8, registration can be disabled via administration. If this is * the case, calls to this page will forward to the network front page. * * If the user is logged in, this page will forward to the network * front page. * * @package Elgg.Core *...
gpl-2.0
MiMartinezcomSAS/lilipinkqua
wp-content/themes/cb-modello/woocommerce/global/wrapper-end.php
241
<?php /** * Content wrappers * * @author WooThemes * @package WooCommerce/Templates * @version 1.6.4 */ ?> </div><div> <!--/ page end--> <?php global $post; $cbtheme_shop=new cbtheme(); $cbtheme_shop->page_footer(); ?>
gpl-2.0
unofficial-opensource-apple/gcc_40
libstdc++-v3/testsuite/27_io/basic_fstream/2.cc
1873
// 2002-07-25 Benjamin Kosnik <bkoz@redhat.com> // Copyright (C) 2002, 2003, 2004, 2005 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the // terms of the GNU General Public License as published by the...
gpl-2.0
wljcom/vlc
modules/demux/mkv/mkv.hpp
6823
/***************************************************************************** * mkv.hpp : matroska demuxer ***************************************************************************** * Copyright (C) 2003-2005, 2008 VLC authors and VideoLAN * $Id$ * * Authors: Laurent Aimar <fenrir@via.ecp.fr> * Steve...
gpl-2.0
DigitalMediaServer/DigitalMediaServer
src/main/java/net/pms/util/jna/macos/kernreturn/KernReturnTConverter.java
1715
/* * Digital Media Server, for streaming digital media to UPnP AV or DLNA * compatible devices based on PS3 Media Server and Universal Media Server. * Copyright (C) 2016 Digital Media Server developers. * * This program is free software: you can redistribute it and/or modify it under * the terms of the GNU Genera...
gpl-2.0
ineiti/cothorities
eventlog/service.go
10298
package eventlog import ( "errors" "fmt" "time" "go.dedis.ch/cothority/v3/byzcoin" "go.dedis.ch/onet/v3" "go.dedis.ch/onet/v3/log" "go.dedis.ch/protobuf" ) // ServiceName is the service name for the EventLog service. var ServiceName = "EventLog" var sid onet.ServiceID const contractName = "eventlog" const l...
gpl-2.0
smarr/Truffle
tools/src/com.oracle.truffle.tools.chromeinspector/src/com/oracle/truffle/tools/chromeinspector/types/PropertyDescriptor.java
3987
/* * Copyright (c) 2017, 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 Softwa...
gpl-2.0
mtedwards/acmc
wp-content/themes/Masterchef/includes/contact-buttons.php
1544
<div class="contact-buttons"> <?php // Facebook $fb = get_field('fbtext'); if($fb) {?> <a onClick="ga('send', 'event', 'talent', '<?php echo $name; ?>', 'Facebook');" href="<?php the_field('fblink'); ?>" target="_blank" class="button facebook"> <?php echo $fb; ?> </a> <?php } ?> <?php // ...
gpl-2.0
thebruce/d8-test-junk
core/modules/datetime/lib/Drupal/datetime/Plugin/field/widget/DatetimeDefaultWidget.php
4846
<?php /** * @file * Contains \Drupal\datetime\Plugin\field\widget\DateTimeDefaultWidget. */ namespace Drupal\datetime\Plugin\field\widget; use Drupal\Component\Annotation\Plugin; use Drupal\Core\Annotation\Translation; use Drupal\field\Plugin\Type\Widget\WidgetBase; use Drupal\Component\Plugin\Discovery\DiscoveryI...
gpl-2.0
andreituicu/MuseScore
mscore/osc.cpp
10871
//============================================================================= // MuseScore // Music Composition & Notation // $Id: musescore.cpp 4961 2011-11-11 16:24:17Z lasconic $ // // Copyright (C) 2002-2011 Werner Schweer and others // // This program is free software; you can redistribute it and/or modify ...
gpl-2.0
ljx0305/ice
csharp/test/Glacier2/application/Server.cs
1294
// ********************************************************************** // // Copyright (c) 2003-2017 ZeroC, Inc. All rights reserved. // // This copy of Ice is licensed to you under the terms described in the // ICE_LICENSE file included in this distribution. // // ***************************************************...
gpl-2.0
WBCE/WBCE_CMS
wbce/modules/ckeditor/ckeditor/plugins/colordialog/lang/sl.js
343
/* Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ CKEDITOR.plugins.setLang( 'colordialog', 'sl', { clear: 'Počisti', highlight: 'Poudarjeno', options: 'Možnosti barve', selected: 'Izbrana barva', title:...
gpl-2.0
adrianjonmiller/precisionweldingoffroad
wp-content/plugins/wp-all-import/views/admin/import/options.php
9250
<?php $custom_types = get_post_types(array('_builtin' => false), 'objects'); $isWizard = $this->isWizard; $baseUrl = $this->baseUrl; ?> <input type="hidden" id="selected_post_type" value="<?php echo (!empty($post['custom_type'])) ? $post['custom_type'] : '';?>"> <input type="hidden" id="selected_type" value="<...
gpl-2.0
legacysurvey/pipeline
validationtests/desi_image_validation3.py
76050
# import os import numpy as np import healpy as hp import astropy.io.fits as pyfits from multiprocessing import Pool import matplotlib as mpl mpl.use('Agg') import matplotlib.pyplot as plt from quicksipManera3 import * import fitsio from random import random import matplotlib.colors as colors ### ------------ A coupl...
gpl-2.0
algorythmic/bash-completion
test/t/test_spovray.py
133
import pytest class TestSpovray: @pytest.mark.complete("spovray ") def test_1(self, completion): assert completion
gpl-2.0
star-app/starcloud
src/com/owncloud/android/ui/FragmentListView.java
3577
/* ownCloud Android client application * Copyright (C) 2012 Bartek Przybylski * Copyright (C) 2012-2013 ownCloud Inc. * * 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 ver...
gpl-2.0
komunikator/komunikator_bitrix
tests/get_didsTest.php
3917
<?php /* * | RUS | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - * «Komunikator» – Web-интерфейс для настройки и управления программной IP-АТС «YATE» * Copyright (C) 2012-2013, ООО «Телефонные системы» * ЭТОТ ФАЙЛ является частью проекта «...
gpl-2.0
aedansilver/Ri-Core
src/server/scripts/EasternKingdoms/western_plaguelands.cpp
15740
/* * Copyright (C) 2008-2012 TrinityCore <http://www.trinitycore.org/> * Copyright (C) 2006-2009 ScriptDev2 <https://scriptdev2.svn.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 * Free Software ...
gpl-2.0
crc-corp/iris-its
src/us/mn/state/dot/tms/client/camera/VideoMonitorModel.java
2529
/* * IRIS -- Intelligent Roadway Information System * Copyright (C) 2007-2014 Minnesota Department of Transportation * * 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 ...
gpl-2.0
coolo/open-build-service
src/api/spec/models/download_repository_spec.rb
954
require 'rails_helper' RSpec.describe DownloadRepository do describe 'validations' do subject(:download_repository) { create(:download_repository) } it { is_expected.to validate_presence_of(:url) } it { is_expected.to validate_presence_of(:arch) } it { is_expected.to validate_presence_of(:repotype) }...
gpl-2.0
skyHALud/codenameone
Ports/iOSPort/xmlvm/src/ios/org/xmlvm/ios/UITextInputDelegate.java
699
package org.xmlvm.ios; import java.util.*; import org.xmlvm.XMLVMSkeletonOnly; @XMLVMSkeletonOnly public interface UITextInputDelegate { /* * Instance methods */ /** * - (void)selectionWillChange:(id <UITextInput>)textInput; */ public abstract void selectionWillChange(UITextInput textInput); /** * - (...
gpl-2.0
lucaswerkmeister/ceylon-compiler
src/com/redhat/ceylon/compiler/java/codegen/AnnotationInvocation.java
12308
package com.redhat.ceylon.compiler.java.codegen; import java.util.ArrayList; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; import com.redhat.ceylon.compiler.typechecker.model.Class; import com.redhat.ceylon.compiler.typechecker.model.Declaration; import com.redhat.ceylon.compiler.typech...
gpl-2.0
Distrotech/icedtea6-1.12
src/jtreg/com/sun/interview/StringListQuestion.java
7697
/* * $Id$ * * Copyright 1996-2008 Sun Microsystems, Inc. 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 S...
gpl-2.0
gdefias/StudyC
VS/testCPPpython/testcpp.cpp
719
#include <iostream> using namespace std; class Point { public: void setPoint(int x, int y); //在类内对成员函数进行声明 void printPoint(); private: int xPos; int yPos; }; void Point::setPoint(int x, int y) //通过作用域操作符 '::' 实现setPoint函数 { xPos = x; yPos = y; } ...
gpl-2.0
mrksbrg/moped
plugins/AP/src/main/java/plugins/AP.java
4603
package plugins; import com.sun.squawk.VM; import java.lang.Math; import sics.plugin.PlugInComponent; import sics.port.PluginPPort; import sics.port.PluginRPort; public class AP extends PlugInComponent { public PluginPPort speed; public PluginPPort steering; public PluginRPort rspeed; public PluginRPort r...
gpl-2.0
healthcommcore/lung_cancer_site
survey/scripts/calendar/lang/calendar-de.js
3919
// ** I18N // Calendar DE language // Author: Jack (tR), <jack@jtr.de> // Encoding: any // Distributed under the same terms as the calendar itself. // For translators: please use UTF-8 if possible. We strongly believe that // Unicode is the answer to a real internationalized world. Also please // include your conta...
gpl-2.0
dirtycold/git-cola
cola/widgets/dag.py
52694
from __future__ import division, absolute_import, unicode_literals import collections import math from qtpy import QtCore from qtpy import QtGui from qtpy import QtWidgets from qtpy.QtCore import Qt from qtpy.QtCore import Signal from qtpy.QtCore import QPointF from qtpy.QtCore import QRectF from .. import core from ...
gpl-2.0
webi7/buscador
wp-content/themes/WP/directory/taxonomy-ait-dir-item-category.php
2736
<?php $term = $GLOBALS['wp_query']->queried_object; $subcategories = get_terms( 'ait-dir-item-category', array('parent' => intval($term->term_id), 'hide_empty' => false) ); $posts = WpLatte::createPostEntity($GLOBALS['wp_query']->posts); $items = get_posts( array( 'numberposts' => -1, 'post_type' => 'ait-...
gpl-2.0
hsnr-gamera/gamera
gamera/knn_editing.py
12179
# # various editing techniques to improve kNN Classifier performance # Copyright (C) 2007, 2008 Colin Baumgarten # # 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 Lice...
gpl-2.0
eigentor/drupal-8-test
core/modules/settings_tray/tests/src/FunctionalJavascript/SettingsTrayBlockFormTest.php
25478
<?php namespace Drupal\Tests\settings_tray\FunctionalJavascript; use Drupal\block\Entity\Block; use Drupal\block_content\Entity\BlockContent; use Drupal\block_content\Entity\BlockContentType; use Drupal\menu_link_content\Entity\MenuLinkContent; use Drupal\settings_tray_test\Plugin\Block\SettingsTrayFormAnnotationIsCl...
gpl-2.0
FlisolResende/Android
MeusLivros/app/src/main/java/br/com/allmost/meuslivros/FormLivros.java
2066
package br.com.allmost.meuslivros; import android.content.Intent; import android.os.Bundle; import android.support.v7.app.ActionBarActivity; import android.view.View; import android.widget.Button; import android.widget.EditText; import br.com.allmost.meuslivros.dao.LivrosDao; import br.com.allmost.meuslivros.model.Li...
gpl-2.0
openjdk/jdk7u
jdk/make/tools/src/build/tools/generatenimbus/Point.java
2016
/* * Copyright (c) 2002, 2007, 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 ...
gpl-2.0
SiderZhang/p2pns3
libtorrent-rasterbar-0.16.12/bindings/python/src/torrent_handle.cpp
16537
// Copyright Daniel Wallin 2006. Use, modification and distribution is // subject to 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) #include <boost/python.hpp> #include <boost/python/tuple.hpp> #include <libtorrent/torrent_handle.hpp>...
gpl-2.0
shannah/cn1
Ports/iOSPort/xmlvm/apache-harmony-6.0-src-r991881/jdktools/modules/jpda/src/main/native/jdwp/common/agent/commands/StackFrame.cpp
17298
/* * 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...
gpl-2.0
me-oss/me-cambozola
src/com/charliemouse/cambozola/shared/ImageChangeListener.java
1098
/** ** com/charliemouse/cambozola/shared/ImageChangeEvent.java ** Copyright (C) Andy Wilcock, 2001. ** Available from http://www.charliemouse.com ** ** Cambozola m_inputStream free software; you can redistribute it and/or modify ** it under the terms of the GNU General Public License as published by ** the ...
gpl-2.0
blazegraph/database
bigdata-util/src/main/java/com/bigdata/util/HTMLUtility.java
6948
/* Copyright (C) SYSTAP, LLC DBA Blazegraph 2006-2016. All rights reserved. Contact: SYSTAP, LLC DBA Blazegraph 2501 Calvert ST NW #106 Washington, DC 20008 licenses@blazegraph.com This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public L...
gpl-2.0
adamfisk/littleshoot-client
server/static/build/src/main/webapp/dojo/dojox/widget/FilePicker.js
6635
dojo.provide("dojox.widget.FilePicker"); dojo.require("dojox.widget.RollingList"); dojo.require("dojo.i18n"); dojo.requireLocalization("dojox.widget", "FilePicker"); dojo.declare("dojox.widget._FileInfoPane", [dojox.widget._RollingListPane], { // summary: a pane to display the information for the currently-sele...
gpl-2.0
ekapujiw2002/ex4-avr-gcc-library
doxygen/html/search/all_6e.js
347
var searchData= [ ['new_5fadc',['new_adc',['../group__ex4__adc.html#ga91d781b98c410d6e5ccc290e20f989d5',1,'new_adc(const uint8_t Vref, const uint8_t DataBit, const uint8_t Psc):&#160;adc.c'],['../group__ex4__adc.html#ga91d781b98c410d6e5ccc290e20f989d5',1,'new_adc(const uint8_t Vref, const uint8_t DataBit, const uint8...
gpl-2.0
imunro/FLIMfit
FLIMfitLibrary/Source/lmmle.cpp
2706
#define CMINPACK_NO_DLL #include "VariableProjection.h" #include "levmar.h" #include <math.h> #include "util.h" int lmmle(int nl, int l, int n, int nmax, int ndim, int p, double *t, float *y, float *w, double *ws, Tada ada, double *a, double *b, double *c, int itmax, int *gc, int thread, int *stati...
gpl-2.0
calasisqueta/calasisqueta
wp-content/themes/eventbrite-venue/inc/jetpack.php
684
<?php /** * Jetpack Compatibility File * See: http://jetpack.me/ * * @package Eventbrite_Event */ /** * Add theme support for Infinite Scroll. * See: http://jetpack.me/support/infinite-scroll/ */ function eventbrite_venue_setup_infinite_scroll() { add_theme_support( 'infinite-scroll', array( 'container' =>...
gpl-2.0
ljack/ZoneMinder
web/skins/classic/views/devices.php
3585
<?php // // ZoneMinder web devices file, $Date$, $Revision$ // Copyright (C) 2001-2008 Philip Coombes // // 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...
gpl-2.0
shamsbd71/canvas-framework
base/js/script.js
7772
/** *------------------------------------------------------------------------------ * @package CANVAS Framework for Joomla! *------------------------------------------------------------------------------ * @copyright Copyright (C) 2004-2013 ThemezArt.com. All Rights Reserved. * @license GNU General...
gpl-2.0
melviso/phycpp
beatle/plugin/tools/ast_explorer/res/_param.py
711
# -*- coding: utf-8 -*- _param = [ "16 16 23 1", " c None", ". c #61C114", "+ c #7C7C7C", "@ c #CD2414", "# c #C92713", "$ c #BC3A13", "% c #986F13", "& c #63BB14", "* c #63BC14", "= c #74A214", "- c #B14B14", "; c #9F6414", "> c #6CAF13", ", c #C33213", "' c #C23113", ") c #63BD13", "! c #74A414", "~ c #B04C14", "{ ...
gpl-2.0
pereiracruz2002/alvestar
wp-content/themes/limo/comments.php
3052
<?php /** * The template for displaying Comments. * * The area of the page that contains both current comments * and the comment form. The actual display of comments is * handled by a callback to codex_coder_comment() which is * located in the inc/template-tags.php file. * * @package Codex Coder */ /* * If t...
gpl-2.0
ramonrdm/agendador
material/frontend/context_processors.py
618
from . import modules as modules_registry def modules(request): """Add current module and modules list to the template context.""" if not hasattr(request, 'user'): raise ValueError('modules context processor requires "django.contrib.auth.context_processors.auth"' 'to be in TEM...
gpl-2.0
typeofb/SmartTongsin
adm/member_list_update.php
1128
<? $sub_menu = "200100"; include_once("./_common.php"); check_demo(); auth_check($auth[$sub_menu], "w"); check_token(); for ($i=0; $i<count($chk); $i++) { // 실제 번호를 넘김 $k = $_POST['chk'][$i]; $mb = get_member($_POST['mb_id'][$k]); if (!$mb[mb_id]) { $msg .= "$mb[mb_id] : 회원자료가 존재하지 않습니다.\...
gpl-2.0