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 |
|---|---|---|---|---|---|
/***********************************************************************
VruiCalibrator - Simple program to check the calibration of a VR
environment.
Copyright (c) 2005 Oliver Kreylos
This program is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published... | VisualIdeation/Vrui-2.2-003 | ExamplePrograms/VruiCalibrator.cpp | C++ | gpl-2.0 | 6,656 |
let mix = require('laravel-mix');
/*
|--------------------------------------------------------------------------
| Mix Asset Management
|--------------------------------------------------------------------------
|
| Mix provides a clean, fluent API for defining some Webpack build steps
| for your Laravel applica... | eddcoons/portfolio | webpack.mix.js | JavaScript | gpl-2.0 | 787 |
package eu.ttbox.velib.ui.map.dialog;
import android.app.AlertDialog;
import android.content.Context;
import android.content.DialogInterface;
import android.content.DialogInterface.OnClickListener;
import android.text.Editable;
import android.widget.EditText;
import eu.ttbox.velib.R;
public class AliasInputDialog ex... | gabuzomeu/cityLibProject | cityLib/src/main/java/eu/ttbox/velib/ui/map/dialog/AliasInputDialog.java | Java | gpl-2.0 | 1,790 |
<?php
/**
* Grundeinstellungen für WordPress
*
* Zu diesen Einstellungen gehören:
*
* * MySQL-Zugangsdaten,
* * Tabellenpräfix,
* * Sicherheitsschlüssel
* * und ABSPATH.
*
* Mehr Informationen zur wp-config.php gibt es auf der
* {@link https://codex.wordpress.org/Editing_wp-config.php wp-config.php editieren... | chillinhen/sak-newsletter | wp-config.php | PHP | gpl-2.0 | 3,865 |
/**
* Definition of SegmentTreeNode:
* public class SegmentTreeNode {
* public int start, end, count;
* public SegmentTreeNode left, right;
* public SegmentTreeNode(int start, int end, int count) {
* this.start = start;
* this.end = end;
* this.count = count;
* this.... | tianlinliu/lintcode | SegmentTreeQueryII.java | Java | gpl-2.0 | 1,332 |
/*
* Copyright (C) 2012 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... | amirlotfi/Nikagram | app/src/main/java/ir/nikagram/messenger/volley/toolbox/ByteArrayPool.java | Java | gpl-2.0 | 5,410 |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace Slot_Machine.Forms
{
public partial class HelpWindow : Form
{
public HelpWindow()
{
Init... | chrispdevelopment/Slot-Machine | Slot Machine/Forms/Help Window.cs | C# | gpl-2.0 | 470 |
using System;
using Windows.UI;
using Windows.UI.Xaml.Data;
using Windows.UI.Xaml.Media;
namespace Rester.Converter
{
internal class BooleanToGreenOrRedConverter : IValueConverter
{
public object Convert(object value, Type targetType, object parameter, string language)
{
... | johanclasson/Rester | Rester/Converter/BooleanToGreenOrRedConverter.cs | C# | gpl-2.0 | 639 |
/**
* Define the IS CurrentSearch Widget.
*/
(function ($, history) {
AjaxSolr.asu_dirSortWidget = AjaxSolr.AbstractWidget.extend({
start: 0,
active_sort: null,
direction: 'asc',
/**
* @param {Object} [attributes]
* @param {Number} [attributes.start] This widget... | jrounsav/webspark-drops-drupal7 | profiles/openasu/modules/custom/asu_dirs/asu_dir/js/widgets/asu_dirSortWidget.js | JavaScript | gpl-2.0 | 6,259 |
/* 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 Foundation; either version 2 of the License, or
* (at your option) any l... | fanatix/fanatix-core | src/bindings/ScriptDev2/scripts/zone/stormwind/stormwind_city.cpp | C++ | gpl-2.0 | 9,286 |
/*
* Copyright (C) 2008-2012 TrinityCore <http://www.trinitycore.org/>
* Copyright (C) 2005-2009 MaNGOS <http://getmangos.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 ver... | GiR-Zippo/Strawberry335 | src/server/game/Entities/Item/ItemEnchantmentMgr.cpp | C++ | gpl-2.0 | 5,882 |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Ch... | ktjones/BVCS2012 | _Source/Chapter14Code/Ch14Ex02/Properties/AssemblyInfo.cs | C# | gpl-2.0 | 1,392 |
package main
import (
"flag"
"log"
"syscall"
)
var maxConnections = flag.Int("max_connections", getRlimitMax(syscall.RLIMIT_NOFILE), "The maximum number of incoming connections allowed.")
func getRlimitMax(resource int) int {
var rlimit syscall.Rlimit
if err := syscall.Getrlimit(resource, &rlimit); err != nil ... | die-net/http-tarpit | rlimit.go | GO | gpl-2.0 | 662 |
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.3-hudson-jaxb-ri-2.2.3-3-
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generat... | steffe/MT4J_KTSI | ktsi/ch/mitoco/store/generated/package-info.java | Java | gpl-2.0 | 556 |
/*
This file is part of KOrganizer.
Copyright (c) 1998 Preston Brown <pbrown@kde.org>
Copyright (c) 2000,2001 Cornelius Schumacher <schumacher@kde.org>
Copyright (C) 2003-2004 Reinhold Kainhofer <reinhold@kainhofer.com>
This program is free software; you can redistribute it and/or modify
it under the term... | kolab-groupware/kdepim | korganizer/searchdialog.cpp | C++ | gpl-2.0 | 8,329 |
/*
* PNEDSkyboxPanel.cpp
*
* Description :
* PNEDSkyboxPanel definition
*
* Copyright (C) 2005 PAVILLON-NOIR TEAM, http://pavillon-noir.org
* This software has been written in EPITECH <http://www.epitech.net>
* EPITECH is computer science school in Paris - FRANCE -
* under the direction of flav <http://www.ep... | pngames/pavillon-noir | pavillonnoir/__src/pneditor/PNEDSkyboxPanel.cpp | C++ | gpl-2.0 | 3,760 |
<?php
// namespace com\won\web;
class com_won_weather_Yahoo {
private $data;
private $yweather = 'http://xml.weather.yahoo.com/ns/rss/1.0';
private $geo = 'http://www.w3.org/2003/01/geo/wgs84_pos#';
public function __construct($woeid){
$url = 'http://weather.yahooapis.com/forecastrss?w=' . $woeid;
$rss =... | wonsong82/wonframework | system/com.won/weather/Yahoo.php | PHP | gpl-2.0 | 941 |
#include <iostream>
using namespace std;
int BinarySearch(int *a, int length, int key)
{
int left = 0, right = length - 1, mid = (right - left) / 2 + left;
while (left <= right)
{
if (a[mid] < key) left = mid + 1;
else if (a[mid] > key) right = mid - 1;
else return mid;
mid = (right - left) /... | thinkermao/Demo | ACM/CodeLibrary/BinarySearch.cpp | C++ | gpl-2.0 | 515 |
namespace Server.Mobiles
{
[CorpseName( "a sewer rat corpse" )]
public class Sewerrat : BaseCreature
{
[Constructable]
public Sewerrat() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 )
{
Name = "a sewer rat";
Body = 238;
BaseSoundID = 0xCC;
SetStr( 9 );
SetDex( 25 ... | felladrin/last-wish | Scripts/Mobiles/Animals/Rodents/SewerRat.cs | C# | gpl-2.0 | 1,457 |
from django.apps import AppConfig
from threading import Timer
import sys
class TelegramBotConfig(AppConfig):
name = 'telegrambot'
verbose_name = "Telegram Bot"
def ready(self):
from django.conf import settings
if 'runserver' in sys.argv:
from telegrambot.wrapper import... | meska/telegrambot | apps.py | Python | gpl-2.0 | 853 |
<?php
/**
* @package hubzero-cms
* @copyright Copyright (c) 2005-2020 The Regents of the University of California.
* @license http://opensource.org/licenses/MIT MIT
*/
// No direct access
defined('_HZEXEC_') or die();
/**
* GeoIPs plugin for geocode
*
* The GeoIPsProvider named geo_ips is able to geocod... | hubzero/hubzero-cms | core/plugins/geocode/geoips/geoips.php | PHP | gpl-2.0 | 873 |
package evochecker.genetic.jmetal.metaheuristics.single;
import java.util.HashMap;
import evochecker.auxiliary.Utility;
import evochecker.evaluator.MultiProcessModelEvaluator;
import evochecker.genetic.jmetal.operators.CrossoverFactory;
import evochecker.genetic.jmetal.operators.MutationFactory;
import evochecker.gen... | gerasimou/EvoChecker | src/main/java/evochecker/genetic/jmetal/metaheuristics/single/SingleGA_Settings.java | Java | gpl-2.0 | 3,573 |
<?php
/** Spanish (español)
*
* See MessagesQqq.php for message documentation incl. usage of parameters
* To improve a translation please visit http://translatewiki.net
*
* @ingroup Language
* @file
*
* @author -jem-
* @author Aleator
* @author Alhen
* @author Alpertron
* @author Alvaro qc
* @author Amire8... | legoktm/wikihow-src | languages/messages/MessagesEs.php | PHP | gpl-2.0 | 270,207 |
<?php
function tie_home_tabs(){
$home_tabs_active = tie_get_option('home_tabs_box');
$home_tabs = tie_get_option('home_tabs');
$Posts = 5;
if( $home_tabs_active && $home_tabs ): ?>
<div id="cats-tabs-box" class="cat-box-content clear cat-box">
<div class="cat-tabs-header">
<ul>
<?php
foreach ($home_ta... | shiedman/wordpress | wp-content/themes/sahifa/functions/home-cat-tabs.php | PHP | gpl-2.0 | 2,817 |
/*
This file is part of Cyclos (www.cyclos.org).
A project of the Social Trade Organisation (www.socialtrade.org).
Cyclos 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 th... | mateli/OpenCyclos | src/main/java/nl/strohalm/cyclos/controls/reports/members/transactions/MembersTransactionsReportDTO.java | Java | gpl-2.0 | 5,944 |
<?php
/*
* Old Pricing Table
*/
/*
vc_map( array(
'name' =>'Webnus PricingTable',
'base' => 'pricing_table',
'category' => __( 'Webnus Shortcodes', 'WEBNUS_TEXT_DOMAIN' ),
'params' => array(
array(
'type' => 'textfield',
'heading' => __( 'Title', 'WEBNU... | anujsm/test | wp-content/themes/florida-wp/inc/visualcomposer/shortcodes/12-pricingtable.php | PHP | gpl-2.0 | 3,222 |
// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights
// reserved. Use of this source code is governed by a BSD-style license that
// can be found in the LICENSE file.
#include "Chiika/browser/preferences_test.h"
#include <sstream>
#include <string>
#include <vector>
#include "include/base/cef_lo... | arkenthera/ChiikaCef | Chiika/browser/preferences_test.cc | C++ | gpl-2.0 | 11,565 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;
namespace AutomationService.Data.DynamicDataItem
{
public delegate void LogMessageFn(String xsMessage);
[DataContract]
public class ExecutionJobEnvironme... | Aegz/AutomationSuite | AutomationBackEnd/Data/DynamicDataItem/ExecutionJobEnvironment.cs | C# | gpl-2.0 | 1,236 |
<?php
if($mylayout == 'empty')
include('emptypage-layout.php');
if( $mylayout == 'blankempty')
include('blankemptypage-layout.php');
if($mylayout == 'client')
include('client-layout.php');
?>
| narasimha99/medbid | wp-content/plugins/networklocum/app/views/layouts/public.php | PHP | gpl-2.0 | 196 |
<?php
namespace ascio\v3;
class PollQueue
{
/**
* @var PollQueueRequest $request
*/
protected $request = null;
/**
* @param PollQueueRequest $request
*/
public function __construct($request)
{
$this->request = $request;
}
/**
* @return... | rendermani/ascio-php-examples | aws-v3/service/PollQueue.php | PHP | gpl-2.0 | 639 |
# -*- coding: utf-8 -*-
"""
logol_analyse provide some analyse tools for logol xml results.
Without any option, it will provide the number of hit, how many sequences have
at least one hit, and a graph with the repartition of the hits.
Usage:
logol_analyse.py <input> <data> [options]
options:
--graph, -g=<name... | Nedgang/logol_analyse | analyse_logol.py | Python | gpl-2.0 | 5,660 |
//========================================================================
//
// SplashOutputDev.cc
//
// Copyright 2003 Glyph & Cog, LLC
//
//========================================================================
//========================================================================
//
// Modified under the Pop... | anujkhare/poppler | poppler/SplashOutputDev.cc | C++ | gpl-2.0 | 124,396 |
/***********************************************************************
AlignTrackingMarkers - Utility to define a reasonable coordinate system
based on tracking marker positions detected by an optical tracking
system.
Copyright (c) 2008-2010 Oliver Kreylos
This file is part of the Vrui calibration utility package.
... | VisualIdeation/Vrui-2.2-003 | Calibration/AlignTrackingMarkers.cpp | C++ | gpl-2.0 | 32,122 |
/********************************
* 프로젝트 : gargoyle-rax
* 패키지 : com.kyj.fx.rax
* 작성일 : 2018. 7. 3.
* 작성자 : KYJ
*******************************/
package com.kyj.fx.rax;
import java.util.function.Function;
import com.kyj.fx.commons.utils.FxUtil;
import com.kyj.fx.commons.utils.ValueUtil;
import com.kyj.fx.ra... | callakrsos/Gargoyle | gargoyle-rax/src/main/java/com/kyj/fx/rax/AbstractFomulaParameterToLabelFunction.java | Java | gpl-2.0 | 1,093 |
/*
KeePass Password Safe - The Open-Source Password Manager
Copyright (C) 2003-2019 Dominik Reichl <dominik.reichl@t-online.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 ... | joshuadugie/KeePass-2.x | KeePassLib/Cryptography/Cipher/StandardAesEngine.cs | C# | gpl-2.0 | 3,938 |
<?php
$this->breadcrumbs = array(
'Danh mục tuyển dụng' => array('index'),
'Manage',
);
$this->menu = array(
array('label' => 'Thêm mới', 'url' => array('create'))
);
Yii::app()->clientScript->registerScript('search', "
$('.search-button').click(function(){
$('.search-form').toggle();
return false;
});
... | sonha/camera | protected/views/admin/jobs/admin.php | PHP | gpl-2.0 | 5,774 |
package net.minecraft.src;
public class RequestDelete extends Request
{
public RequestDelete(String par1Str, int par2, int par3)
{
super(par1Str, par2, par3);
}
public RequestDelete func_96370_f()
{
try
{
this.field_96367_a.setDoOutput(true);
this.fi... | LolololTrololol/InsertNameHere | minecraft/net/minecraft/src/RequestDelete.java | Java | gpl-2.0 | 662 |
/**
* Created by kuku on 10/01/15.
*/
$(document).ready(function(){
$('.form-usuario-perfil').attr('disabled', 'disabled'); //Disable
});
$(".editarFormularioUsuarioPerfil").click(mostrarBotonesPerfil);
function mostrarBotonesPerfil(){
$("#botoneraPerfil").show("slow");
$(".editarFormularioUsuarioPerf... | IsmiKin/Podonet | web/js/usuario/perfilUsuario.js | JavaScript | gpl-2.0 | 342 |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateExperimentScientistsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('ex... | khaivngo/QuickEval | database/migrations/2021_05_14_012802_create_experiment_scientists_table.php | PHP | gpl-2.0 | 870 |
<?php
/* Finding the path to the wp-admin folder */
$iswin = preg_match('/:\\\/', dirname(__file__));
$slash = ($iswin) ? "\\" : "/";
$wp_path = preg_split('/(?=((\\\|\/)wp-content)).*/', dirname(__file__));
$wp_path = (isset($wp_path[0]) && $wp_path[0] != "") ? $wp_path[0] : $_SERVER["DOCUMENT_ROOT"];
/** Load Word... | EthanBlast/Glam-Star-Life | wp-content/plugins/kimili-flash-embed/admin/config.php | PHP | gpl-2.0 | 28,850 |
package main
import (
"fmt"
"log"
"net/http"
"os"
"strconv"
"github.com/akamensky/argparse"
"github.com/skip2/go-qrcode"
)
type Config struct {
Port *int
}
func handle(w http.ResponseWriter, r *http.Request) {
log.Printf("%s %s %s %s", r.RemoteAddr, r.Method, r.URL, r.Proto)
w.Header().Set("Access-Control... | LaoQi/icode | qrcodegen/qrcodeGen.go | GO | gpl-2.0 | 1,540 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using HA4IoT.Contracts.Api;
using HA4IoT.Contracts.Services;
using HA4IoT.Contracts.Services.Backup;
using HA4IoT.Contracts.Services.Resources;
using HA4IoT.Contracts.Services.Settings;
using HA4IoT.Contracts.Services.Storage;
... | byrialsen/HA4IoT | SDK/HA4IoT/Services/Resources/ResourceService.cs | C# | gpl-2.0 | 7,003 |
(function($){
$(function(){
boxHeight(0.4,0.7);
var imgSrc1 = $('.view-banner .views-field-field-image-banner img').attr('src');
var current2 = $('.view-banner .views-field-field-image-banner');
$('.view-banner .views-field-field-image-banner img').remove();
$(current2).append('<div class="backbg"></div>');
$('... | CCI-Studios/RE-Dale | sites/all/themes/redale/js/background-size.js | JavaScript | gpl-2.0 | 1,248 |
<?php
/**
* -------------------------------------------------------------------------
* Fields plugin for GLPI
* -------------------------------------------------------------------------
*
* LICENSE
*
* This file is part of Fields.
*
* Fields is free software; you can redistribute it and/or modify
* it under... | pluginsGLPI/fields | front/commondropdown.form.php | PHP | gpl-2.0 | 1,481 |
/**
* \file PropertyTreeTest.hpp
* \brief PropertyTree unit test header file
*
*/
/*
* This file is part of OndALear collection of open source components.
*
* This software is provided 'as-is', without any express or implied
* warranty. In no event will the authors be held liable for any damages
* arising... | ajaniv/softwarebook | c++/Container/ContainerTest/PropertyTreeTest.hpp | C++ | gpl-2.0 | 1,435 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using Configuration;
using Domain;
using Core;
using Extensions;
namespace Extensions {
public static class CollectionExtensions {
/// <summary>
/// Merge elements in the ordered sequence <code>colle... | olale/GenericDAO | GenericDAO/Extensions/CollectionExtensions.cs | C# | gpl-2.0 | 2,940 |
// display the calendar here
var hotelTable = document.getElementById("hotelCalendarTable");
var defaultData = hotelTable.innerHTML;
var stringHTML = "";
var date=31;
var count=0;
// stringHTML = "<tr><td>1</td><td>2</td></tr>";
var table = document.getElementById("hotelCalendarTable");
for (var i = 1; i <= date; i+... | Athit101/ITE220 | Week2-2/js/calendar.js | JavaScript | gpl-2.0 | 566 |
<?php
/**
* @package HikaShop for Joomla!
* @version 2.6.1
* @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
class hikashopOrderHelper {
var $table = '';
... | githubupttik/upttik | administrator/components/com_hikashop/helpers/order.php | PHP | gpl-2.0 | 6,728 |
/**
* @file region.cc
* @author Thomas M. Howard (tmhoward@csail.mit.edu)
* Matthew R. Walter (mwalter@csail.mit.edu)
* @version 1.0
*
* @section LICENSE
*
* This file is part of h2sl.
*
* Copyright (C) 2014 by the Massachusetts Institute of Technology
*
* This program is free software; you can... | tmhoward/h2sl | src/symbol/region.cc | C++ | gpl-2.0 | 4,358 |
//
// view_dialogs.hpp
// BoE
//
// Created by Celtic Minstrel on 17-01-21.
//
//
#ifndef BOE_VIEW_DIALOGS_HPP
#define BOE_VIEW_DIALOGS_HPP
void put_item_info(class cDialog& me, const class cItem& s_i, const class cScenario& scen);
void put_monst_info(class cDialog& me, const class cMonster& store_m, const class c... | calref/cboe | src/view_dialogs.hpp | C++ | gpl-2.0 | 446 |
<?php
declare (strict_types = 1);
namespace Drupal\Tests\business\Kernel;
use Drupal\business\Tests\BusinessTestHelper;
use Drupal\invoices\Tests\BaseTestHelper;
use Drupal\KernelTests\Core\Entity\EntityKernelTestBase;
/**
* CRUD tests for the Business module.
*
* @group business
*/
class BusinessCrudTest exten... | pfrenssen/invoices | web/modules/custom/business/tests/src/Kernel/BusinessCrudTest.php | PHP | gpl-2.0 | 2,893 |
#include "SparseDataLoader.h"
void SparseDataLoader::readSparseData(std::string filename){
std::ifstream file (filename);
std::string temp;
std::getline(file, temp);
while (std::getline(file, temp))
{
std::istringstream buffer(temp);
std::vector<int> tmpLine((std::istream_iterator<int>(b... | adam-andrzejczak/k_plus_triangle | SparseDataLoader.cpp | C++ | gpl-2.0 | 1,281 |
#!/usr/bin/python
import sys
import csv
import json
import pycountry
import codecs
from collections import defaultdict
class Region(object):
def __init__(self, name, code=None, level=0, parent=None, verbose=False):
self.name = name
self.code = code
self.level = level
self.contains ... | mitodl/world_geographic_regions | CountriesByRegion.py | Python | gpl-2.0 | 6,565 |
# Created by Thomas Jones on 17/12/2015 - thomas@tomtecsolutions.com
# pingspec.py, a plugin for minqlx to spec players who have network latency over a certain amount.
# This plugin is released to everyone, for any purpose. It comes with no warranty, no guarantee it works, it's released AS IS.
# You can modify everythi... | tjone270/QuakeLiveDS_Scripts | minqlx-plugins/archive/beta/pingspec.py | Python | gpl-2.0 | 2,601 |
///////////////////////////////////////////////////////////////////////////////////////
// Copyright (C) 2006-2015 Esper Team. All rights reserved. /
// http://esper.codehaus.org /
// --------------------------------------------------... | espertechinc/nesper | src/NEsper.Common/common/internal/epl/expression/dot/core/ExprDotNodeImpl.cs | C# | gpl-2.0 | 41,544 |
package org.openymsg.legacy.test;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertNotNull;
import org.junit.Test;
import org.junit.experimental.categories.Category;
import org.openymsg.SlowTest;
import org.openymsg.legacy.network.FireEvent;... | OpenYMSG/openymsg | src/test/java/org/openymsg/legacy/test/StatusIT.java | Java | gpl-2.0 | 3,490 |
package de.bitbrain.craft.graphics.shader;
import com.badlogic.gdx.graphics.g2d.Batch;
/**
* Handles multiple shaders for a single target
*
* @author Miguel Gonzalez <miguel-gonzalez@gmx.de>
* @since 0.1
* @version 0.1
*/
public interface ShadeArea {
// =======================================================... | bitbrain-gaming/craft | core/src/de/bitbrain/craft/graphics/shader/ShadeArea.java | Java | gpl-2.0 | 676 |
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package utilesFXAvisos.forms.util;
import ListDatos.IBusquedaListener;
import utilesFX.*;
import ListDatos.IFilaDatos;
import ListDato... | Creativa3d/box3d | paquetesGUIFX/src/utilesFXAvisos/forms/util/JTableViewEventos.java | Java | gpl-2.0 | 2,135 |
<?php
defined('WYSIJA') or die('Restricted access');
class WYSIJA_control_front_confirm extends WYSIJA_control_front{
var $model='user';
var $view='confirm';
function WYSIJA_control_front_confirm(){
parent::WYSIJA_control_front();
}
function _testKeyuser(){
$this->helperUser=WYSI... | eyanai/hop | wp-content/plugins/wysija-newsletters/controllers/front/confirm.php | PHP | gpl-2.0 | 14,472 |
<?php
include("config_mynonprofit.php");
include("connect.php");
include("functions.php");
include("template_header.php"); ?>
<h1>A confirmation email has been sent</h1><p>Follow the enclosed link to activate your account.</p>
</body>
</html> | Enjabain/My-NP | register-success.php | PHP | gpl-2.0 | 244 |
package netdata.packet;
import netdata.Payload;
public class ARPpacket extends Packet{
public enum OPERATION{
REQUEST,
REPLY
};
private int type;
private OPERATION arpOp;
private String sourceMAC, destMAC = null;
public ARPpacket(String sourceip, String destip, String sourceMAC, String destMA... | frawg/NetFramework | src/netdata/packet/ARPpacket.java | Java | gpl-2.0 | 768 |
<?php
/**
* @version SVN: <svn_id>
* @package Quick2cart
* @author Techjoomla <extensions@techjoomla.com>
* @copyright Copyright (c) 2009-2016 TechJoomla. All rights reserved.
* @license GNU General Public License version 2 or later.
*/
// No direct access.
defined('_JEXEC') or die();
jimport('joo... | nitesh146/Motleymart | administrator/components/com_quick2cart/assets/elements/bssetup.php | PHP | gpl-2.0 | 1,407 |
/*
* Copyright (C) 2008-2012 TrinityCore <http://www.trinitycore.org/>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later ve... | BlackWolfsDen/Justicar-WoW | src/server/game/Spells/SpellScript.cpp | C++ | gpl-2.0 | 34,032 |
#define MIKTEX_UTF8_WRAP_ALL 1
#include <miktex/utf8wrap.h>
#include <iostream>
#include <string>
using namespace std;
#if defined(_MSC_VER)
# define MAIN wmain
#else
# define MAIN main
#endif
void FatalError(const string & msg)
{
cerr << msg << endl;
throw 1;
}
void Run()
{
string test = u8"\U000000E4\U00... | drazenzadravec/nequeo | Tools/MikTex/Libraries/MiKTeX/UTF8Wrap/static/utf8wrap.cpp | C++ | gpl-2.0 | 1,290 |
<?php
/**
* @copyright Ilch 2.0
* @package ilch
*/
return array
(
'menuCalendarList' => 'Calender',
'noCalendar' => 'no Entries available',
'term' => 'Term',
'title' => 'Title',
'text' => 'Text',
'color' => 'Term Color',
'place' => 'Place',
'start' => 'Start',
'end' => 'End',
... | jurri/Ilch-2.0 | application/modules/calendar/translations/en.php | PHP | gpl-2.0 | 452 |
var interface_data_cell_phone =
[
[ "callButtonClicked:", "interface_data_cell_phone.html#abb91ce98f4b5920f486508bbf150c68a", null ],
[ "mainTextLabel", "interface_data_cell_phone.html#aefc998f3932ae7f2decba1eaaec427c0", null ],
[ "titleLabel", "interface_data_cell_phone.html#a0c3e159f8e753caaaa07fe67776faa... | BiCoR/RailsServer | public/doc/iphone_client/interface_data_cell_phone.js | JavaScript | gpl-2.0 | 334 |
/******************************************************************************
* Icinga 2 *
* Copyright (C) 2012-2017 Icinga Development Team (https://www.icinga.com/) *
* *
... | Tontonitch/icinga2 | lib/methods/icingachecktask.cpp | C++ | gpl-2.0 | 8,065 |
////////////////////////////////////////////////////////////
//
// File: parser.cpp
// Author: Frank Boerman
// Parsers for files
///////////////////////////////////////////////////////////
//#pragma warning(disable : 4244) //converting double to int is needed when calculating gridsize, so disable that warning
//#pragm... | williewonka/computation2_C | Computation2_finaltask/GameOfLife/Parser.cpp | C++ | gpl-2.0 | 7,205 |
<?php
/**
* Joomla! Content Management System
*
* @copyright Copyright (C) 2005 - 2020 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE
*/
namespace Joomla\CMS\Event\WebAsset;
\defined('JPATH_PLATFORM') or die;
use BadMethodCallException;
u... | twister65/joomla-cms | libraries/src/Event/WebAsset/AbstractEvent.php | PHP | gpl-2.0 | 979 |
# Copyright (C) 2014 Red Hat, Inc.
#
# 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 option) any later version.
#
# This program is distr... | itoed/anaconda | tests/gui/inside/summary.py | Python | gpl-2.0 | 3,986 |
<!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
<meta charset="<?php bloginfo( 'charset' ); ?>" />
<meta name="viewport" content="width=device-width" />
<title><?php wp_title( ' | ', true, 'right' ); ?></title>
<link rel="stylesheet" type="text/css" href="<?php echo get_stylesheet_uri(); ?>" />
<script sr... | Koda1004/harvardrunningclub | wp-content/themes/simple and clean/header.php | PHP | gpl-2.0 | 2,330 |
<?php
/*
Plugin Name: Memcached
Description: Memcached backend for the WP Object Cache.
Version: 2.1.2
Plugin URI: http://wordpress.org/extend/plugins/memcached/
Author: Ryan Boren, Denis de Bernardy, Matt Martz, Km.Van
Install this file to wp-content/object-cache.php
*/
function wp_cache_add($key, $data, $g... | hensonvip/zzyzan | wp-content/themes/mx/addons/cache/object-cache.php | PHP | gpl-2.0 | 11,422 |
using System;
using Server.Network;
using Server.Items;
namespace Server.Items
{
[FlipableAttribute( 0x27A8, 0x27F3 )]
public class Bokuto : BaseSword
{
public override WeaponAbility PrimaryAbility{ get{ return WeaponAbility.CrushingBlow; } }
public override WeaponAbility SecondaryAbility{ get{ return WeaponAbi... | brodock/sunuo | scripts/legacy/Items/Weapons/SE Weapons/Bokuto.cs | C# | gpl-2.0 | 1,431 |
//
// --------------------------------------------------------------------------
// Gurux Ltd
//
//
//
//
// Version: $Revision: 9806 $,
// $Date: 2018-01-12 11:44:00 +0200 (pe, 12 tammi 2018) $
// $Author: gurux01 $
//
// Copyright (c) Gurux Ltd
//
//------------------------... | Gurux/GXDLMSDirector | Development/ConformanceTests/Internal/GXConformanceValueDescriptorCollection.cs | C# | gpl-2.0 | 1,766 |
<?php
/**
* Test of authorisation object logic
*
* @author Stuart Prescott
* @copyright Copyright Stuart Prescott
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
* @version $Id: auth.php,v 1.3 2006/01/05 02:32:07 stuart Exp $
* @package Bumblebee
* @subpackage Tests
*/
ini_set... | nausica/bumblebee | inc/bb/test/auth.php | PHP | gpl-2.0 | 1,056 |
#include "stdafx.h"
//
// this is the path to amplugin.h and all the plugin/libs
// by default all the libs, (debug/x64/x86) are copied to the /Plugins/ folder.
//
// If you want to copy them somewhere else
// 1) Make sure that the inlcude path below is valid
// 2) Make sure that the library path is valid
// Proj... | FFMG/myoddweb.piger | plugins/OnTop/OnTop/OnTop.cpp | C++ | gpl-2.0 | 2,935 |
using System;
using System.Linq;
namespace BirthdayGreetings
{
public class BirthdayGreetingsEngine
{
private readonly PeopleRepository _peopleRepository;
private readonly GreetingsDeliveryService _greetingsDeliverService;
public BirthdayGreetingsEngine(PeopleRepository peopleReposito... | PaoloLaurenti/BirthdayGreetingsKata | src/BirthdayGreetings/BirthdayGreetingsEngine.cs | C# | gpl-2.0 | 1,320 |
<script language="javascript">
function fncSubmit()
{
document.house.submit();
}
function getLocation() {
if (navigator.geolocation) {
navigator.geolocation.getCurrentPosition(showPosition);
} else {
x.innerHTML = "Geolocation is not supported by this browser.";
}
}
... | kukks205/jhhc | page/familyfolder/house_edt.php | PHP | gpl-2.0 | 10,864 |
/* Smooth scrolling
Changes links that link to other parts of this page to scroll
smoothly to those links rather than jump to them directly, which
can be a little disorienting.
sil, http://www.kryogenix.org/
v1.0 2003-11-11
v1.1 2005-06-16 wrap it up in an object
*/
var ss = {
fixAllLinks: ... | tatematsu/tatematsu | common/js/scroll.js | JavaScript | gpl-2.0 | 4,557 |
<?php
/**
* @version 2.0 +
* @package Open Source Excellence Security Suite
* @subpackage Centrora Security Firewall
* @subpackage Open Source Excellence WordPress Firewall
* @author Open Source Excellence {@link http://www.opensource-excellence.com}
* @author Created on 01-Jun-2013
... | amang-cuelogic/wp_test | wp-content/plugins/ose-firewall/framework/oseframework/db/joomla.php | PHP | gpl-2.0 | 2,392 |
# This file is part of BurnMan - a thermoelastic and thermodynamic toolkit for
# the Earth and Planetary Sciences
# Copyright (C) 2012 - 2022 by the BurnMan team, released under the GNU
# GPL v2 or later.
"""
example_fit_solution
--------------------
This example demonstrates how to fit parameters
for solution model... | geodynamics/burnman | examples/example_fit_solution.py | Python | gpl-2.0 | 9,817 |
/* Control over an attribute of a line
Copyright (C) 2005 Free Software Foundation, Inc.
This file is part of GNU Classpath.
GNU Classpath 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 ... | DASAR/Minim-Android | src/ddf/minim/javax/sound/sampled/Control.java | Java | gpl-2.0 | 3,000 |
<?php
// The Query
$args = array(
'post_type'=> 'pizza',
'cat' => 2,
'p' => 50
);
$the_query = new WP_Query( $args);
// The Loop
if ( $the_query->have_posts() ) {
while ( $the_query->have_posts() ) {
$the_query->the_post();
$theme_options = ifne( $GLOBALS, 'theme_options', array() );
$page_fields ... | guardiancomics/Heros-Pizza | wp-content/themes/herospizza/parts/pizzas/sides_superhumanSpinach.php | PHP | gpl-2.0 | 2,274 |
using System;
using Newtonsoft.Json;
namespace Ombi.Settings.Settings.Models.Notifications
{
public class DiscordNotificationSettings : Settings
{
public bool Enabled { get; set; }
public string WebhookUrl { get; set; }
public string Username { get; set; }
public string Icon { ... | tidusjar/Ombi | src/Ombi.Settings/Settings/Models/Notifications/DiscordNotificationSettings.cs | C# | gpl-2.0 | 956 |
<?php
/**
* Openinghtml Module class file
*
* @category Markup
* @package Xiphe\HTML
* @author Hannes Diercks <xiphe@gmx.de>
* @license http://www.gnu.org/licenses/gpl-2.0.txt GNU GENERAL PUBLIC LICENSE
* @link https://github.com/Xiphe/-HTML/blob/master/modules/Openinghtml.php
*/
namespace X... | Xiphe/DropboxConflictMerger | src/Xiphe/HTML/modules/Openinghtml.php | PHP | gpl-2.0 | 4,576 |
/*
* Copyright (C) 2013 David Graeff <david.graeff@udo.edu>
* Based on Copyright (C) 2002 Roman Zippel <zippel@linux-m68k.org>
* Released under the terms of the GNU GPL v2.0.
*/
#include "qconf.h"
#include "mainwindow.h"
#include <qglobal.h>
#include <QApplication>
#include <QDebug>
#include "../expr.h"
#include "... | davidgraeff/linux | scripts/kconfig/qconfig/qconf.cc | C++ | gpl-2.0 | 1,598 |
/*
Kopete Oscar Protocol
connection.cpp - independent protocol encapsulation
Copyright (c) 2004-2005 by Matt Rogers <mattr@kde.org>
Based on code Copyright (c) 2004 SuSE Linux AG <http://www.suse.com>
Based on Iris, Copyright (C) 2003 Justin Karneges
Kopete (c) 2002-2005 by the Kopete developers <kopete-devel... | iegor/kdenetwork | kopete/protocols/oscar/liboscar/connection.cpp | C++ | gpl-2.0 | 5,832 |
using GraphPlugins;
namespace GraphCodec
{
class CustomCodecConfig : ICodecConfig
{
public IGraphCodec CreateGraphCodec()
{
return new CustomGraphCodec();
}
public string GetCodecName()
{
return "Custom";
}
}
}
| imefGames/GraphViewer | GraphCodec/CustomCodecConfig.cs | C# | gpl-2.0 | 300 |
package Arboles;
/**
* Esta clase crea una lista y Nodos
*
* @author Christian A. Rodriguez
* @version 1.0
* @since 25octubre2015
*/
public class Funciones {
Mensajes mensajes = new Mensajes();
Nodo raiz;
int cantidad = 0;
int altura = 0;
Nodo izquierda, derecha;
public... | cristian0193/EstructuraDatos | EstructuraDatos1/src/Arboles/Funciones.java | Java | gpl-2.0 | 4,396 |
'use strict';
var config = require('./config')
function init(opts) {
Object.assign(config, opts)
}
module.exports = {
init: init,
routes: require('./routes'),
models: require('./models'),
entry: require('./entry'),
channel: require('./channel'),
user: require('./user'),
security: require('./security'... | dogada/coect-umedia | server/index.js | JavaScript | gpl-2.0 | 480 |
package com.github.acme.tests.transfer;
import java.io.IOException;
/**
* @author alex.dobjanschi
* @since 9:36 AM 10/24/14
*/
public interface FileTransfer {
void transferBetweenAAndB(FileSystem fileSystemA, FileSystem fileSystemB) throws IOException;
}
| djalexd/test-25 | file-transfer/src/main/java/com/github/acme/tests/transfer/FileTransfer.java | Java | gpl-2.0 | 266 |
define("ace/theme/yesterday",["require","exports","module","ace/lib/dom"], function(require, exports, module) {
exports.isDark = false;
exports.cssClass = "ace-yesterday";
exports.cssText = ".ace-yesterday .ace_gutter {\
background: #fff;\
border-right: 1px solid #ddd;\
color: #999;\
font-size: 10pt\
}\
.ace-yes... | DHUers/rigidoj | lib/assets/javascripts/ace/theme-yesterday.js | JavaScript | gpl-2.0 | 3,006 |
package clustering.results;
public class ResultadoMerge {
public int[][] merge;
public final int length;
public ResultadoMerge(int size) {
merge=new int[2][size];
length=size;
}
public int[] getId1(){
return merge[0];
}
public int[] getId2(){
return merge[1];
}
}
| LBAB-Humboldt/JavaHierarchicalClustering | HierarchicalClustering/src/clustering/results/ResultadoMerge.java | Java | gpl-2.0 | 281 |
<?php
/**
* Class FieldTypesService
*
* @package ModelFramework\FieldTypesService
* @author Vladimir Pasechnik vladimir.pasechnik@gmail.com
* @author Stanislav Burikhin stanislav.burikhin@gmail.com
*/
namespace ModelFramework\FieldTypesService;
use ModelFramework\ConfigService\ConfigAwareInterface;
use Model... | modelframework/modelframework | src/ModelFramework/FieldTypesService/FiledTypesService.php | PHP | gpl-2.0 | 2,494 |
<?php
/**
* glFusion CMS
*
* UTF-8 Language File for Links Plugin
*
* @license GNU General Public License version 2 or later
* http://www.opensource.org/licenses/gpl-license.php
*
* Copyright (C) 2008-2018 by the following authors:
* Mark R. Evans mark AT glfusion DOT org
*
* Based on prior work Copyright (C)... | glFusion/glfusion | private/plugins/links/language/english_utf-8.php | PHP | gpl-2.0 | 11,040 |
/******************************************************************************
* Icinga 2 *
* Copyright (C) 2012-2015 Icinga Development Team (http://www.icinga.org) *
* *
... | ogg1980/icinga2 | lib/icinga/compatutility.cpp | C++ | gpl-2.0 | 32,466 |
<?php
/**
* Shop System Plugins - Terms of Use
*
* The plugins offered are provided free of charge by Qenta Payment CEE GmbH
* (abbreviated to Qenta CEE) and are explicitly not part of the Qenta CEE range of
* products and services.
*
* They have been tested and approved for full functionality in the standard c... | wirecard/woocommerce-wcp | woocommerce-qenta-checkout-page/classes/class-woocommerce-wcp-config.php | PHP | gpl-2.0 | 4,522 |
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
/**
* Sales order view items block
*
* @author Magento Core Team <core@magentocommerce.com>
*/
namespace Magento\Shipping\Block;
/**
* @api
* @since 100.0.2
*/
class Items extends \Magento\Sales\Block\It... | kunj1988/Magento2 | app/code/Magento/Shipping/Block/Items.php | PHP | gpl-2.0 | 2,035 |
<?php
/**
* @file
* Provides hook documentation for PGAPI module.
*/
function hook_pgapi_callback($transaction) {
}
function hook_pgapi_format_price($type, $price, $symbol) {
}
function hook_pgapi_transaction($status, $transaction) {
}
function hook_pgapi_transaction_all($status, $transaction) {
}
functi... | usabilidoido/corais | sites/all/modules/pgapi/pgapi.api.php | PHP | gpl-2.0 | 489 |
class Ruby_highline < PACKMAN::Package
url PACKMAN.gem_url('highline-1.7.2.gem')
sha1 'd7114ed98c5651b928cc7195aded7b0000e09689'
version '1.7.2'
label :try_system_package_first
def install
PACKMAN.gem "install highline-#{version}.gem"
end
def remove
PACKMAN.gem 'uninstall -x highline'
end
... | dongli/packman | packages/ruby_highline.rb | Ruby | gpl-2.0 | 395 |