repo_name
stringlengths
4
116
path
stringlengths
4
379
size
stringlengths
1
7
content
stringlengths
3
1.05M
license
stringclasses
15 values
invy/far2l
far2l/help.hpp
6334
#pragma once /* help.hpp Помощь */ /* Copyright (c) 1996 Eugene Roshal Copyright (c) 2000 Far Group All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must...
gpl-2.0
freenet/legacy
src/freenet/node/simulator/whackysim/ProbabilityOnlyRouteEstimator.java
1146
package freenet.node.simulator.whackysim; import java.io.PrintWriter; import freenet.Key; import freenet.node.rt.BucketDistribution; import freenet.node.rt.KeyspaceEstimator; import freenet.node.rt.KeyspaceEstimatorFactory; /** * RouteEstimator using pSuccess only. */ public class ProbabilityOnlyRouteEstimator imp...
gpl-2.0
acappellamaniac/eva_website
sites/all/modules/civicrm/ang/crmMailingAB/services.js
8785
(function (angular, $, _) { function OptionGroup(values) { this.get = function get(value) { var r = _.where(values, {value: '' + value}); return r.length > 0 ? r[0] : null; }; this.getByName = function get(name) { var r = _.where(values, {name: '' + name}); return r.lengt...
gpl-2.0
abhinavjain241/acousticbrainz-server
fabfile.py
1424
from __future__ import with_statement from fabric.api import local from fabric.colors import green, yellow, red from db import cache import config import os def vpsql(): """Connect to the acousticbrainz database running on vagrant.""" local("psql -h localhost -p 15432 -U postgres acousticbrainz") def vssh(...
gpl-2.0
netroby/hotspot8
src/share/vm/oops/klassVtable.cpp
61366
/* * Copyright (c) 1997, 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 ...
gpl-2.0
Sirbu/ProjetWeb
src/publication.php
2288
<?php include("fonctions.php"); base_start("publications"); ?> <!-- CONTENU --> <div class="content-container"> <fieldset><legend> <?php $query = "SELECT titre, datePubli, urlpub FROM Pu...
gpl-2.0
laszlo-gazsi/brokenlinkscheck
Database/src/main/java/info/lacyg/brokenlinkscheck/service/GenericHibernateWriteService.java
2039
package info.lacyg.brokenlinkscheck.service; import info.lacyg.brokenlinkscheck.database.IDatabaseWriteService; import info.lacyg.brokenlinkscheck.model.AbstractPersistentObject; import org.hibernate.Session; import org.hibernate.exception.GenericJDBCException; public class GenericHibernateWriteService<T extends Abst...
gpl-2.0
bbqbailey/geeksHome
geeksHomeApp/testing-pycharm.py
213
__author__ = 'superben' import subprocess p = subprocess.Popen("date", stdout=subprocess.PIPE, shell=True) (output, err) = p.communicate() print("Today is", output) subprocess.call(["ls", "-l", "/home/superben"])
gpl-2.0
BenjaminMoore/JPhysics
JPhysics/Unity/Test.cs
132
namespace JPhysics.Unity { using UnityEngine; //TEST CLASS FOR SOMETHING class Test : MonoBehaviour { } }
gpl-2.0
luo2chun1lei2/think
src/native/Graphviz.cpp
2351
#include <native/Graphviz.hpp> #include <vector> #include <misc/Misc.hpp> using namespace std; Graphviz::Graphviz(const string name, Graphviz::Option option, Graphviz::Type type) : option(option) , type(type) { } Graphviz::~Graphviz() { } void Graphviz::set_output_filepath(const std::string path) { ou...
gpl-2.0
johnbeard/kicad-git
pcbnew/dragsegm.cpp
12312
/** * @file dragsegm.cpp * @brief Classes to find track segments connected to a pad or a module * for drag commands */ /* * This program source code file is part of KiCad, a free EDA CAD application. * * Copyright (C) 2004-2012 Jean-Pierre Charras, jp.charras at wanadoo.fr * Copyright (C) 1992-2012 KiCad Devel...
gpl-2.0
Thunnissen/ODataQuery-PHP
src/ODataCount.php
608
<?php /** * Created by PhpStorm. * User: alexboyce * Date: 12/21/14 * Time: 3:57 PM */ namespace ODataQuery; class ODataCount implements ODataQueryOptionInterface { protected $property; public function __construct($property = NULL) { $this->property($property); } public function proper...
gpl-2.0
piratskul/MyAwesomeDrupal
sites/default/files/php/twig/590e4b87c5da1_form.html.twig_VjurTDgEkPIRJ-KdA0zn7ApAT/7Fp-mEWq2ams-lHEoRHF7h4jODECL3sTa_Hv-oYlgVk.php
2595
<?php /* core/themes/classy/templates/form/form.html.twig */ class __TwigTemplate_4d9f7fb46a30a09a1493a83bf55b525e60b9d0f46f4789d9b55fd7ca9b2e7b39 extends Twig_Template { public function __construct(Twig_Environment $env) { parent::__construct($env); $this->parent = false; $this->bloc...
gpl-2.0
fredtoulouse/ScoreCard
js/consult.js
7563
// GOLF SCore Card webapp // 2013-06-19 // Copyright (c) 2013, FBM // Released under the GPL license v2 // http://www.gnu.org/licenses/gpl-2.0.html //Manage the history and display it //ToDo split display and data var selected; var myHistoryScore= new oldScore(); var myChoosenScore; var myInfoScoreD...
gpl-2.0
nidalhajaj/ac
plugins/cck_field/jform_user/jform_user.php
4859
<?php /** * @version SEBLOD 2.x Core * @package SEBLOD (App Builder & CCK) // SEBLOD nano (Form Builder) * @url http://www.seblod.com * @editor Octopoos - www.octopoos.com * @copyright Copyright (C) 2012 SEBLOD. All Rights Reserved. * @license GNU General Public License version 2 or later; see _LIC...
gpl-2.0
pxai/cordova-core-api
www/js/vibration.js
2703
/* * 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
teamfx/openjfx-8u-dev-rt
modules/web/src/main/native/Source/ThirdParty/icu/source/i18n/nfrs.cpp
32392
// © 2016 and later: Unicode, Inc. and others. // License & terms of use: http://www.unicode.org/copyright.html /* ****************************************************************************** * Copyright (C) 1997-2015, International Business Machines * Corporation and others. All Rights Reserved. ***************...
gpl-2.0
victoralex/gameleon
includes/classes/class.npc.js_files/npcScript.217.js
1171
"use strict"; var log = require( "../class.log" ); var realmConfig = require( "../../config.realm" ).config; exports.script = function( npcObject ) { // // Variables // var _iO = npcObject.getArgs().createdByInstanceObject, _cooldownPointer = null; var zoneIdConstant_6 = 57; ...
gpl-2.0
Furt/JMaNGOS
Commons/src/main/java/org/jmangos/commons/threadpool/ThreadPoolManager.java
2224
/******************************************************************************* * Copyright (C) 2012 JMaNGOS <http://jmangos.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; ei...
gpl-2.0
codearachnid/jquery-relative-events
jquery.relativeEvents.demo.js
5090
/** * DEMO EVENTS */ var single_day = [ // 3x1 events { hour: "7", min: "00", duration: "30" }, { hour: "7", min: "00", duration: "30" }, { hour: "7", min: "15", duration: "30" }, // 1x1 event { hour: "7", min: "45", duration: "45" }, // 2x1 events { hour: "8", min: "30", duration: "30...
gpl-2.0
lobermann/xbmc
xbmc/Application.cpp
173054
/* * Copyright (C) 2005-2015 Team XBMC * http://kodi.tv * * 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. * * T...
gpl-2.0
SunPowered/python-workshop-2015
code/session3/matplotlib_package.py
3980
# -*- coding: utf-8 -*- """ matplotlib_package.py - 3 Data Analysis The dominant plotting library in Python was constructed to emulate the standard MATLAB plotting syntax and functionality, hence the name 'matplotlib'. There are several ways to interface with matplotlib. One can plot ...
gpl-2.0
gorkemgok/Tick4J
src/main/java/com/gorkemgok/tick4j/backtest/Positions.java
628
package com.gorkemgok.tick4j.backtest; import java.util.ArrayList; /** * Created by gorkemgok on 20/01/15. */ public class Positions { private ArrayList<Position> positions = new ArrayList<Position>(); private int openPositionCount = 0; public void addPosition(Position position){ positions.add(...
gpl-2.0
caco13/acheipinheiros
administrator/components/com_gmapfp/views/gmapfp/tmpl/upload_form.php
1655
<?php /* * GMapFP Component Google Map for Joomla! 1.7.x * Version 10.0pro * Creation date: Août 2011 * Author: Fabrice4821 - www.gmapfp.org * Author email: webmaster@gmapfp.org * License GNU/GPL */ defined('_JEXEC') or die('Restricted access'); ?> <script language="javascript" type="text/javascr...
gpl-2.0
Crashthatch/PatternRecogniserPublic
src/main/java/processors/SplitEndsToColumns.java
2116
package processors; import com.google.common.collect.TreeBasedTable; import com.google.common.collect.Table; import database.TransformationService; import database.TransformationServiceReversible; import java.util.ArrayList; public class SplitEndsToColumns extends TransformationServiceReversible { private int split...
gpl-2.0
spidasoftware/webhooks-tool
tests/unit/controllers/users-test.js
317
import { moduleFor, test } from 'ember-qunit'; moduleFor('controller:users', { // Specify the other units that are required for this test. // needs: ['controller:foo'] }); // Replace this with your real tests. test('it exists', function(assert) { var controller = this.subject(); assert.ok(controller); });
gpl-2.0
aaronsilber/aaronsilber.me
site/routes/views/contact.js
326
var keystone = require('keystone'); exports = module.exports = function(req, res) { var view = new keystone.View(req, res), locals = res.locals; // locals.section is used to set the currently selected // item in the header navigation. locals.section = 'contact'; // Render the view view.render('contact');...
gpl-2.0
yassine-khachlek/laravel-benchmark
src/App/Console/Commands/Benchmark.php
1944
<?php namespace Yk\LaravelBenchmark\App\Console\Commands; use Illuminate\Console\Command; use Artisan; class Benchmark extends Command { /** * The name and signature of the console command. * * @var string */ protected $signature = 'benchmark {artisan_command}'; /** * The conso...
gpl-2.0
aecreative/bill
themes/bridge/framework/admin/options/20.logo/map.php
2019
<?php $logoPage = new QodeAdminPage("1", "Logo"); $qodeFramework->qodeOptions->addAdminPage("logo",$logoPage); $panel1 = new QodePanel("Logo", "logo"); $logoPage->addChild("panel1",$panel1); $logo_image = new QodeField("image","logo_image",QODE_ROOT."/img/logo.png","Logo Image - normal","Choose a default logo image...
gpl-2.0
kenyaehrs/ipd
omod/src/main/java/org/openmrs/module/ipd/web/controller/global/IpdSingleton.java
1631
/** * Copyright 2010 Society for Health Information Systems Programmes, India (HISP India) * * This file is part of IPD module. * * IPD 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...
gpl-2.0
redrock9/NClassForLinux
src/CSharp/CSharpEvent.cs
7327
// NClass - Free class diagram editor // Copyright (C) 2006-2009 Balazs Tihanyi // // 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)...
gpl-2.0
tomasz-orynski/BlueBit.CarsEvidence
BlueBit.CarsEvidence.GUI.Desktop/View/Panels/ListPanelView.xaml.cs
596
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging;...
gpl-2.0
jrbranaa/pitchperspectives
wp-content/themes/brickyard-premium/category.php
766
<?php /** * The category archive template file. * @package BrickYard * @since BrickYard 1.0.0 */ get_header(); ?> <div class="entry-content"> <div class="entry-content-inner"> <?php if ( have_posts() ) : ?> <div class="content-headline"> <h1 class="entry-headline"><span class="entry-headline-text"><?p...
gpl-2.0
SergeyVorobiev/SK
SK35/src/com/vorobiev/myDialogs/DialogSlave.java
4656
package com.vorobiev.myDialogs; import android.annotation.SuppressLint; import android.app.AlertDialog; import android.content.Context; import android.content.DialogInterface; import android.content.DialogInterface.OnClickListener; import android.view.LayoutInflater; import android.view.View; import android.w...
gpl-2.0
Habbie/pdns
pdns/syncres.cc
182640
/* * This file is part of PowerDNS or dnsdist. * Copyright -- PowerDNS.COM B.V. and its contributors * * This program is free software; you can redistribute it and/or modify * it under the terms of version 2 of the GNU General Public License as * published by the Free Software Foundation. * * In addition, for t...
gpl-2.0
hijoy/VSL_ERS
WebUI/MasterPage.master.cs
7077
using System; using System.Data; using System.Configuration; using System.Collections; using System.Collections.Generic; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Web.UI.HtmlControls; using BusinessObjects; u...
gpl-2.0
denis-chmel/wordpress
wp-content/plugins/optimizePressPlugin/lib/functions/assets.php
22589
<?php class OptimizePress_Assets_Core { var $included_assets = array(); var $assets = array(); var $asset_keys = array(); var $parse_list = array(); var $lang; function __construct(){ global $wpdb; if(op_get_option('installed') == 'Y'){ require_once OP_ASSETS.'default.php'; $assets = $w...
gpl-2.0
MikePohatu/SystemLackey
source/JobBuilder/Panel2/FormPowerControl.Designer.cs
8904
namespace SystemLackey.UI.Forms { partial class FormPowerControl { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary...
gpl-2.0
cope-project/PraxManager
public/js/lang/ct.js
1309
loadLanguagePack({ "The current window has unsaved changes.": "La finestra actual té canvis sense desar.", "Are you sure you want to delete this form ?": "¿Segur que voleu suprimir aquest formulari?", "Are you sure you want to delete this subject ?": "¿Segur que voleu suprimir aquest tema?", "Are you sure you want...
gpl-2.0
christopherstock/GC_Carpentry
_ASSETS/backup/old_site/v0.1/zenphoto/zp-core/rss/rss.php
7251
<?php $host = getRSSHost(); $channeltitle = getRSSChanneltitle(); $protocol = SERVER_PROTOCOL; if ($protocol == 'https_admin') { $protocol = 'http'; } $locale = getRSSLocale(); $validlocale = getRSSLocaleXML(); $modrewritesuffix = getRSSImageAndAlbumPaths("modrewritesuffix"); require_once(ZENFOLDER . "/lib-MimeTypes....
gpl-2.0
Ellitsa93/AirportSystem
lines_database_manager_test.py
6537
import unittest import lines_database_manager class TestLinesDatabaseManager(unittest.TestCase): def setUp(self): lines_database_manager.create_tables() lines_database_manager.add_flight("Perfect Place", "21-Jul-2015 12:56") lines_database_manager.add_runway(0, "31-Dec-2050 23:59") ...
gpl-2.0
agacia/ovnis
src/edgeInfo.cpp
1790
/* * edgeInfo.cpp * * Created on: Aug 28, 2012 * Author: agata */ #include "edgeInfo.h" #include <sstream> #include <string> namespace ovnis { using namespace std; using namespace ns3; EdgeInfo::EdgeInfo() : id(""), laneId(""), length(0), maxSpeed(0) { traci = Names::Find<ovnis::SumoTraciConnection>("S...
gpl-2.0
OS2World/DEV-UTIL-SNAP
src/snaprtl/cpplib/iostream/cpp/flfdestr.cpp
3665
/**************************************************************************** * * Open Watcom Project * * Portions Copyright (c) 1983-2002 Sybase, Inc. All Rights Reserved. * * ======================================================================== * * This file contains Original Code...
gpl-2.0
espertechinc/nesper
src/NEsper.Common/common/internal/statement/multimatch/MultiMatchHandlerSubqueryPreevalNoDedup.cs
1717
/////////////////////////////////////////////////////////////////////////////////////// // Copyright (C) 2006-2019 Esper Team. All rights reserved. / // http://esper.codehaus.org / // --------------------------------------------------...
gpl-2.0
KylePreston/Soft-Hills-Website
wp-content/themes/timeturner/sidebar-index.php
228
<?php /** * The index-blog sidebar template file. * @package TimeTurner * @since TimeTurner 1.0.0 */ ?> <div id="sidebar"> <?php if ( dynamic_sidebar( 'sidebar-1' ) ) : else : ?> <?php endif; ?> </div> <!-- end of sidebar -->
gpl-2.0
netanelrevah/torah
torah/bereshit.py
1191
from torah.hebrew import HebrewLetter, HebrewFinalLetter from torah.scribe import HebrewWrittenWord, HebrewScribeLetter, HebrewScribeLetterSize, HebrewWrittenSentence __author__ = 'netanelrevah' BERESHIT = HebrewWrittenWord( HebrewScribeLetter(HebrewLetter.BET, size=HebrewScribeLetterSize.LARGE), HebrewLetter...
gpl-2.0
Bogstag/bogstag.se
app/Console/Commands/Oauth2TokenCommand.php
1015
<?php namespace App\Console\Commands; use Illuminate\Console\Command; use App\Http\Controllers\oauth2client\Oauth2ClientTrakt; /** * Class Oauth2TokenCommand. */ class Oauth2TokenCommand extends Command { /** * The name and signature of the console command. * * @var string */ protected ...
gpl-2.0
eighty20results/e20r-payment-warning-pmpro
libraries/paypal/merchant-sdk-php/lib/PayPal/EBLBaseComponents/RiskFilterDetailsType.php
495
<?php namespace PayPal\EBLBaseComponents; use PayPal\Core\PPXmlMessage; /** * Details of Risk Filter. */ class RiskFilterDetailsType extends PPXmlMessage { /** * * @access public * @namespace ebl * @var integer */ public $Id; /** * * @access public * @na...
gpl-2.0
shiyeling/test_import
WordPress/src/main/java/org/wordpress/android/ui/stats/StatsVisitorsAndViewsFragment.java
23485
package org.wordpress.android.ui.stats; import android.app.Activity; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.content.IntentFilter; import android.os.Bundle; import android.support.v4.content.LocalBroadcastManager; import android.view.Gravi...
gpl-2.0
oonym/l2InterludeServer
L2J_Server/java/net/sf/l2j/gameserver/instancemanager/OlympiadStadiaManager.java
2605
/* 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. * * This program is distributed in the hope that it will be useful, * but ...
gpl-2.0
ssvsergeyev/ZenPacks.zenoss.AWS
ZenPacks/zenoss/AWS/EC2Region.py
5440
############################################################################## # # Copyright (C) Zenoss, Inc. 2013, all rights reserved. # # This content is made available according to terms specified in # License.zenoss under the directory where your Zenoss product is installed. # #####################################...
gpl-2.0
dzvinka-mytsyk/smalltowns
wp-content/plugins/wpglobus/includes/class-wpglobus-config.php
15228
<?php /** * @package WPGlobus */ /** * Class WPGlobus_Config */ class WPGlobus_Config { /** * Language by default * @var string */ public $default_language = 'en'; /** * Current language. Should be set to default initially. * @var string */ public $language = 'en'; /** * Enabled languages ...
gpl-2.0
oehm-smith/JStockMvn
src/main/java/org/yccheok/jstock/gui/PasswordInputJDialog.java
4493
/* * PasswordJDialog.java * * Created on June 20, 2007, 9:59 PM * * 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...
gpl-2.0
Apple15/AppleCore
src/bindings/scriptdev2/scripts/northrend/naxxramas/boss_anubrekhan.cpp
6098
/* Copyright (C) 2006 - 2010 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 Foundation; either version 2 of the License, or * (at your option) any l...
gpl-2.0
alucardxlx/kaltar
Scripts/Mobiles/Vendors/PlayerVendor.cs
40254
using System; using System.Collections; using System.Collections.Generic; using System.Globalization; using Server; using Server.Items; using Server.Mobiles; using Server.Gumps; using Server.Prompts; using Server.Targeting; using Server.Misc; using Server.Multis; using Server.ContextMenus; namespace Serv...
gpl-2.0
W1-VeldpausThom/website-ThomVeldpaus.nl-
Opleiding/PHP/portfolio/index.php
7463
<?php $websiteTitle = "Portfolio Thom Veldpaus"; //regel 113 $datum_jaar = date ('Y'); //regel 16 $h1 = "Welkom op mijn portfolio!"; /*menuitems*/ $menuHome = '<table class="tablemenu"><tr><td><a href="index.php">Home</a></td>'; //regel 13 $menuHobbys = "<td><a href='hobbys.php'>Hobby's</a>...
gpl-2.0
yast/yast-storage-ng
src/lib/y2storage/proposal/settings_generator.rb
7165
# Copyright (c) [2018-2021] SUSE LLC # # All Rights Reserved. # # This program is free software; you can redistribute it and/or modify it # under the terms of version 2 of the GNU General Public License as published # by the Free Software Foundation. # # This program is distributed in the hope that it will be useful, b...
gpl-2.0
stevezuoli/BooxApp
boox-opensource/code/src/feed_reader/rss_feed_parser.cpp
6741
// -*- mode: c++; c-basic-offset: 4; -*- #include "rss_feed_parser.h" #include <QDebug> #include <QXmlStreamReader> #include "article.h" #include "feed.h" namespace onyx { namespace feed_reader { RssFeedParser::RssFeedParser() : FeedParser(), feed_(), xml_reader_(), current_...
gpl-2.0
sdwolf/CodenameOne
CodenameOne/src/com/codename1/ui/Calendar.java
27218
/* * Copyright (c) 2008, 2010, 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 Sof...
gpl-2.0
AnGlez/ver-con-las-manos
wp-content/themes/bridge/toolbar_examples.php
80878
<?php $example_url = 'http://' . $_SERVER['SERVER_NAME'] . $_SERVER['REQUEST_URI'] .'/'; ?> <div id="toolbar" class="on"> <span class="open opened" href="#"> <span class="opener"> <span class="number"> 42+ </span> <span>Bridge Demos</span> </span> ...
gpl-2.0
LeungGeorge/Helper
00_Test/udp_sender/udp_sender/main.cpp
1340
#include <iostream> #include <string> #include "udp_sender.h" using namespace std; int main() { struct UdpHeartPack udpPack; string hello = "hello world"; for(int i = 0; i < hello.length(); i++) udpPack.UDPData[i] = hello[i]; udpPack.UDPData[hello.length()] = '\0'; char* pPack = (char*)...
gpl-2.0
the-dani/kunnandidagen
plugins/joomgallery/joomrecaptcha/joomrecaptcha.php
4969
<?php // $HeadURL: https://joomgallery.org/svn/joomgallery/JG-2.0/Plugins/JoomreCaptcha/trunk/joomrecaptcha.php $ // $Id: joomrecaptcha.php 3746 2012-04-08 17:53:28Z chraneco $ /******************************************************************************\ ** JoomGallery Plugin 'JoomreCaptcha'2.0 ...
gpl-2.0
chronoxor/Depth
include/concept/details/MConceptPredicateMethodX.hpp
4109
/*! * \file MConceptPredicateMethodX.hpp Template checking conception. * Checks if template argument is a class predicate method * (general declaration). * \brief General declaration of the class predicate method template checking conception. * \author Ivan Shynkarenka aka 4ekucT * \...
gpl-2.0
ORCHARD-Minecraft-Mod-Class/RandomMine
src/main/java/com/orchard/randommine/items/ItemModPickaxe.java
283
package com.orchard.randommine.items; import net.minecraft.item.ItemPickaxe; public class ItemModPickaxe extends ItemPickaxe { public ItemModPickaxe(String unlocalizedName, ToolMaterial material) { super(material); this.setUnlocalizedName(unlocalizedName); } }
gpl-2.0
favedit/MoPlatform
mp-platform/webroot/ajs/2-base/MValue.js
461
//========================================================== // <T>可加载和保存数据的接口。</T> // // @manger // @history 091012 MAOCY 创建 //========================================================== function MValue(o){ o = RClass.inherits(this, o); //.......................................................... // @method ...
gpl-2.0
Xeenice/grape-galaxy
src/org/grape/galaxy/client/ResourceManager.java
12424
package org.grape.galaxy.client; import com.google.gwt.core.client.JavaScriptObject; public final class ResourceManager { private static boolean prepared; private static JavaScriptObject identityCube; private ResourceManager() { } public static void prepareResources() { if (prepared) { return; } prep...
gpl-2.0
ecometro/ecometro
application/models/Step3Ge4Field1.php
2158
<?php /** * Class Model for res_4_1 table */ class Model_Step3Ge4Field1 extends Zend_Db_Table_Abstract { protected $_name = 'ges_4_1'; protected $_primary = 'id'; protected $_dependentTables = array('Model_Step3Ge4'); /** * [createStep3Ge4Field1 create a new row in the ges_4_1 table] * @param [type] $id ...
gpl-2.0
drew1080/cheater-chef
wp-content/themes/demet-cheater/functions.php
12534
<?php if ( function_exists('register_sidebar') ) { register_sidebar(array( 'name' => 'Left Sidebar', 'before_widget' => '<li id="%1$s" class="widget %2$s">', 'after_widget' => '</li>', 'before_title' => '<h2 class="widgettitle">', 'after_title' => '</h2>', )); ...
gpl-2.0
anotherxiachong/Pooling2
src/com/another/pooling/AboutActivity.java
1537
package com.another.pooling; import android.app.Activity; import android.os.Bundle; import android.support.v4.app.FragmentActivity; import android.view.Menu; import android.view.MenuItem; import android.view.View; import android.view.View.OnClickListener; import android.widget.EditText; import android.widget.TextView;...
gpl-2.0
dailin/wesnoth
src/gui/dialogs/language_selection.cpp
2527
/* Copyright (C) 2008 - 2014 by Mark de Wever <koraq@xs4all.nl> Part of the Battle for Wesnoth Project http://www.wesnoth.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 ve...
gpl-2.0
tolokoban/taquin-3d
src/mod/taquin.hollow-cube.js
1389
module.exports = function(side) { if (typeof side === 'undefined') side = 1; var grp = new THREE.Group(); var mat1 = new THREE.LineBasicMaterial({ color: new THREE.Color(.5,.5,.5), linewidth: 1 }); var mat0 = new THREE.LineBasicMaterial({ color: new THREE.Color(.1,.1,.1), linewidth: 1 }); var a, b...
gpl-2.0
oscarito9410/wpHotel
Becarios/Becarios/Bd/ReportHelper.cs.cs
2885
using MySql.Data.MySqlClient; using System; using System.Collections.Generic; using System.Data; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Becarios.Bd { public class ReportHelper { public String dbPath = "Data Source=localhost;Database=hotelcolonia;Uid=root;Password...
gpl-2.0
rfkrocktk/django-locality
src/locality/settings.py
1835
DEBUG = True TEMPLATE_DEBUG = DEBUG ADMINS = () MANAGERS = ADMINS DATABASES = { 'default': { 'ENGINE': 'django.db.backends.sqlite3', 'NAME': '/tmp/locality.db' } } TIME_ZONE = "UTC" LANGUAGE_CODE = "en-us" SITE_ID = 1 USE_I18N = True USE_L10N = True MEDIA_ROOT = '' MEDIA_URL = '' STATIC_ROOT = '' STATIC_URL = '...
gpl-2.0
vinstah/silent-mafia
new.php
1043
<section id="main"> <header id="notice"><h2>Updates</h2></header> <article> <p class="poster"><small>your mumma</small> on 10:11 a.m. 2/04/2012</p> <p class="post">Smity will be doing the BETA testing</p> <p class="poster"><small>posted by Vinstah on <time datetime="2010-10-17T23:17:43+13:00">Sunday,...
gpl-2.0
ljx0305/ice
java-compat/src/Ice/src/main/java/IceInternal/Functional_TwowayCallbackInt.java
1533
// ********************************************************************** // // 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
rex-xxx/mt6572_x201
frameworks/opt/telephony/src/java/com/android/internal/telephony/Call.java
6142
/* * Copyright (C) 2006 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
gpl-2.0
Surfing-Chef/tuffbeans
inc/custom-header.php
1868
<?php /** * Sample implementation of the Custom Header feature * * You can add an optional custom header image to header.php like so ... * <?php the_header_image_tag(); ?> * * @link https://developer.wordpress.org/themes/functionality/custom-headers/ * * @package tuffbeans */ /** * Set up the WordPress core...
gpl-2.0
mapolat/mapCasting
include/smarty/libs/plugins/modifier.regex_replace.php
1565
<?php /** * Smarty plugin * * @package Smarty * @subpackage PluginsModifier */ /** * Smarty regex_replace modifier plugin * * Type: modifier<br> * Name: regex_replace<br> * Purpose: regular expression search/replace * * @link http://smarty.php.net/manual/en/language.modifier.regex.replace.php * ...
gpl-2.0
gggeek/ezpublish-kernel
eZ/Publish/Core/MVC/Symfony/FieldType/ImageAsset/ParameterProvider.php
2922
<?php /** * @copyright Copyright (C) eZ Systems AS. All rights reserved. * @license For full copyright and license information view LICENSE file distributed with this source code. */ declare(strict_types=1); namespace eZ\Publish\Core\MVC\Symfony\FieldType\ImageAsset; use eZ\Publish\API\Repository\Exceptions\NotFo...
gpl-2.0
ekaltman/citetool-jpcrr
streamtools/outputs/flac.cpp
1979
#include "outputs/internal.hpp" #include "outputs/argexpand.hpp" #include <cstdio> #include <stdexcept> #include <string> #include <sstream> #include <fcntl.h> namespace { class output_driver_flac : public output_driver { public: output_driver_flac(const std::string& _filename, const std::string& _options) { ...
gpl-2.0
jeveloper/gameserver
gameLogic/src/com/jeveloper/gameserver/beans/Player.java
1900
/* * Player.java * * Created on March 15, 2007, 10:19 PM * * To change this template, choose Tools | Template Manager * and open the template in the editor. */ package com.jeveloper.gameserver.beans; import com.jeveloper.gameserver.core.IPlay; import java.io.Serializable; /** * * @author serge */ public cl...
gpl-2.0
vdkhanh/kata-tdd-1-duy-khanh-vo
Exercise/src/main/DelimiterNumberCreator.java
597
package main; import java.util.Arrays; import java.util.List; public class DelimiterNumberCreator extends NumberCreator { private static final String BEGIN_OF_NUMBER = "\n"; public DelimiterNumberCreator(String numbers) { this.numbers = numbers; } @Override public List<String> getDelimiters() ...
gpl-2.0
kunj1988/Magento2
app/code/Magento/Sales/Test/Unit/Model/Order/Pdf/Config/XsdTest.php
14175
<?php /** * Test for validation rules implemented by XSD schema for sales PDF rendering configuration * * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ namespace Magento\Sales\Test\Unit\Model\Order\Pdf\Config; class XsdTest extends \PHPUnit\Framework\TestCase { /** ...
gpl-2.0
cyberpython/java-gnome
generated/bindings/org/gnome/unixprint/GtkPrintJob.java
7887
/* * java-gnome, a UI library for writing GTK and GNOME programs from Java! * * Copyright © 2006-2011 Operational Dynamics Consulting, Pty Ltd and Others * * The code in this file, and the program it is a part of, is made available * to you by its authors as open source software: you can redistribute it * and/or...
gpl-2.0
Kingpin007/SPOJ
SMPWOW - Wow.py
199
__author__ = 'Anirudh' def main(): x = int(input()) print('W', end='') j = 0 while j < x: print('o', end='') j += 1 print('w') if __name__ == '__main__': main()
gpl-2.0
gdoteof/iusecoins
sites/all/themes/clean/page-node-2.tpl.php
1701
<?php // $Id: page.tpl.php,v 1.1.2.5.2.14.2.12 2010/03/01 13:37:46 psynaptic Exp $ ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html<?php print drupal_attributes($html_attr); ?>> <head> <?php print $head; ?> <?php print $styles; ?> <!--[if lt...
gpl-2.0
ulfjack/cqs
Engine/net/cqs/engine/battles/WithdrawAction.java
4650
package net.cqs.engine.battles; import java.util.logging.Level; import net.cqs.config.BattleMessageEnum; import net.cqs.config.BattleStateEnum; import net.cqs.config.Constants; import net.cqs.config.units.UnitSystem; import net.cqs.engine.base.UnitIterator; import net.cqs.engine.base.UnitMap; public final class With...
gpl-2.0
arthurmelo88/palmetalADP
adempierelbr/boleto/src/org/adempierelbr/process/ProcReturnCNAB.java
3104
/****************************************************************************** * Product: ADempiereLBR - ADempiere Localization Brazil * * This program is free software; you can redistribute it and/or modify it * * under the terms version 2 of the GNU General Public License as published ...
gpl-2.0
andrewsmm/SimpleShopApiBundle
src/SimpleShopApiBundle/Controller/CategoryController.php
1001
<?php namespace SimpleShopApiBundle\Controller; use FOS\RestBundle\Controller\FOSRestController as RestController; use FOS\RestBundle\View\View; class CategoryController extends RestController{ public $_view; function __construct(){ $this->_view = View::create(); } public function viewResul...
gpl-2.0
MerryMage/dynarmic
tests/A32/test_arm_instructions.cpp
16062
/* This file is part of the dynarmic project. * Copyright (c) 2016 MerryMage * SPDX-License-Identifier: 0BSD */ #include <catch2/catch.hpp> #include "./testenv.h" #include "dynarmic/frontend/A32/location_descriptor.h" #include "dynarmic/interface/A32/a32.h" using namespace Dynarmic; static A32::UserConfig GetUse...
gpl-2.0
haidarafif0809/qwooxcqmkozzxce
proses_tbs_edit_retur_pembelian.php
10810
<?php // memasukan file yang ada pada db.php include 'sanitasi.php'; include 'db.php'; $kode_barang = stringdoang($_POST['kode_barang']); $harga = angkadoang($_POST['harga']); $jumlah_retur = angkadoang($_POST['jumlah_retur']); $satuan_produk = stringdoang($_POST['satuan_produk']); $sa...
gpl-2.0
Rogach/SimplyMindMap
src/org/rogach/simplymindmap/controller/actions/instance/TextNodeAction.java
302
package org.rogach.simplymindmap.controller.actions.instance; /* TextNodeAction...*/ public class TextNodeAction extends NodeAction { protected String text; public String getText() { return this.text; } public void setText(String value){ this.text = value; } } /* TextNodeAction*/
gpl-2.0
wdantas/ImobControl
admin/application/models/caracteristicas_imovel/mdlrecursosproximos.php
488
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); class MdlRecursosProximos extends CI_Model{ public function __construct() { parent::__construct(); } public function setRecursosProximos($dataRecursos){ if(!empty($dataRecursos) || !$this->verificaExistencia...
gpl-2.0
joomla-projects/media-manager-improvement
administrator/components/com_users/Model/LevelsModel.php
5749
<?php /** * @package Joomla.Administrator * @subpackage com_users * * @copyright Copyright (C) 2005 - 2018 Open Source Matters, Inc. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt */ namespace Joomla\Component\Users\Administrator\Model; defined('_JEXEC'...
gpl-2.0
XoopsModules25x/weblog
class/class.weblog.php
11628
<?php /* * $Id: class.weblog.php 11979 2013-08-25 20:45:24Z beckmi $ * Copyright (c) 2003 by Hiro SAKAI (http://wellwine.zive.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 Foundation; either...
gpl-2.0
iarwen/cdy
src/main/java/com/cdy/dao/UserDao.java
1450
package com.cdy.dao; import com.cdy.domain.User; import org.springframework.stereotype.Repository; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; /** * User对象Dao */ @Repository public class UserDao extends BaseDao<User> { public void remove(String id) { ...
gpl-2.0
ulisesolivenza/rx
backend/sessionService/src/main/java/com/backend/app/services/SessionService.java
618
package com.backend.app.services; import com.backend.app.dto.AuthorizationContext; import com.backend.app.dto.LoginContext; import com.backend.app.model.Session; import com.backend.app.model.SessionHealthCheck; import rx.Observable; import java.util.Optional; import java.util.UUID; /** * Created by ulises on 10/10/...
gpl-2.0
Maurogik/SCEngine
sources/SCETextures.cpp
13471
/******PROJECT:Sand Castle Engine******/ /**************************************/ /*********AUTHOR:Gwenn AUBERT**********/ /*********FILE:SCETextures.cpp*********/ /**************************************/ #include "../headers/SCETextures.hpp" #include "../headers/SCETools.hpp" #include "../headers/SCEMetadataParser.hp...
gpl-2.0
datake/agent
QuadProg++.hh
2972
#ifndef _QUADPROGPP #define _QUADPROGPP /* File QuadProg++.hh The quadprog_solve() function implements the algorithm of Goldfarb and Idnani for the solution of a (convex) Quadratic Programming problem by means of a dual method. The problem is in the form: min 0.5 * x G x + g0 x s.t. CE^T x + ce0 = 0 ...
gpl-2.0
helaili/GHRemote
modules/issues/client/issues.client.module.js
130
'use strict'; // Use Applicaion configuration module to register a new module ApplicationConfiguration.registerModule('issues');
gpl-2.0