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
/* * Copyright (C) 2014-2017 StormCore * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the * Free Software Foundation; either version 2 of the License, or (at your * option) any later version. * * This program is dis...
Ragebones/StormCore
src/server/game/AI/PlayerAI/PlayerAI.cpp
C++
gpl-2.0
57,029
<?php /* * This file is part of SeAT * * Copyright (C) 2015 to 2022 Leon Jacobs * * 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) ...
eveseat/services
src/Traits/VersionsManagementTrait.php
PHP
gpl-2.0
4,287
<?php if (empty($_REQUEST['feeding'])): $feeding = 0; else: $feeding = $_REQUEST['feeding']; endif; if (empty($_REQUEST['transfer'])): $transfer = 0; else: $transfer = $_REQUEST['transfer']; endif; if (empty($_REQUEST['mobility'])): $mobility = 0; else: $mobility = $_REQUES...
kukks205/jhhc
page/old_screen/adl_result.php
PHP
gpl-2.0
1,838
package icaro.pruebas; import icaro.infraestructura.entidadesBasicas.NombresPredefinidos; import icaro.infraestructura.patronAgenteReactivo.control.acciones.AccionSincrona; import icaro.infraestructura.entidadesBasicas.descEntidadesOrganizacion.ComprobadorRutasEntidades; import icaro.infraestructura.entidadesBasicas.i...
palomagc/MovieChatter
src/icaro/pruebas/VerificarExistenciaEntidadesDescripcion.java
Java
gpl-2.0
27,852
/** * OWASP Benchmark Project v1.2beta * * This file is part of the Open Web Application Security Project (OWASP) * Benchmark Project. For details, please see * <a href="https://www.owasp.org/index.php/Benchmark">https://www.owasp.org/index.php/Benchmark</a>. * * The OWASP Benchmark is free software: you can redistribu...
andresriancho/Benchmark
src/main/java/org/owasp/benchmark/testcode/BenchmarkTest00550.java
Java
gpl-2.0
4,565
<?php require 'head.php';?> <div class="container-fluid main-container"> <div class="col-md-2 sidebar"> <div class="row"> <!-- uncomment code for absolute positioning tweek see top comment in css --> <div class="absolute-wrapper"> </div> <!-- Menu --> <div class="side-menu"> <nav class="navbar navbar-def...
zona284/evotemipa
admin/admin.php
PHP
gpl-2.0
998
/* This file is part of Work in Texas (WIT) Search Helper. WIT Search Helper is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version....
Soscan2062/wit-search-helper
utils.js
JavaScript
gpl-2.0
2,653
<?php /* * index.home.php * Created on 21.03.2007 by Tobias Bieniek */ // Startseiten-Template laden und mit Variablen füllen $temp = new Template("templates/".$competition['lang']."/home.tpl"); // Heimatflugplatz einfügen $base = (explode("|", $competition['config']['homebase'])); $base = $base[0]; $temp->addVar...
Turbo87/destination
index.home.php
PHP
gpl-2.0
3,541
# -*- coding: utf-8 -*- import sys sys.path.append(sys.argv[1]) from scriptlib import * """Файлы пакета""" FILES = ( '7z920-x64.msi', '7z920.msi' ) """Имена исполняемых файлов""" if ARCH == '64': INSTALLER = os.path.join('', DIR, FILES[0]) else: INSTALLER = os.path.join('', DIR, FILES[1]) def insta...
kuchiman/wpm-pkg
7zip/script.py
Python
gpl-2.0
529
/* ============================================================ * * This file is a part of kipi-plugins project * http://www.kipi-plugins.org * * Date : 2003-10-14 * Description : batch image rotation * * Copyright (C) 2003-2005 by Renchi Raju <renchi@pooh.tam.uiuc.edu> * Copyright (C) 2004-2009 by Marc...
ruphy/kipi-plugins
jpeglossless/imagerotate.cpp
C++
gpl-2.0
5,473
package org.mo.game.editor.core.entity.common; import org.mo.game.editor.core.entity.base.XBaseEntityItemTemplate; public class XEntityItemTemplate extends XBaseEntityItemTemplate{ private static final long serialVersionUID = 1L; }
favedit/MoPlatform
mo-gm-develop/src/editor-java/org/mo/game/editor/core/entity/common/XEntityItemTemplate.java
Java
gpl-2.0
245
package data; import java.io.File; import java.io.FileReader; import java.util.HashMap; import java.util.Iterator; import org.json.simple.JSONArray; import org.json.simple.JSONObject; import org.json.simple.parser.JSONParser; /** * This class contains all different types of incidents that can arrive. * * @autho...
Uinelj/logirail
src/data/IncidentDatabase.java
Java
gpl-2.0
2,182
/* A useful and efficient way to use compile-time recursion, partial template specialization and variadic template parameter pack by rangerprice, alias absorbement. */ template <typename Val, typename Type, typename...Args> inline void push(const std::pair<const Val, Type> var, const Args&...args) noexcept { const ...
rangerprice/simplified-lua-api
source/template/slacore.tpl.cpp
C++
gpl-2.0
697
/* * Copyright 2007-2008 Sun Microsystems, Inc. All Rights Reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * - Redistributions of source code must retain the above copyright * notice, this l...
retest/swingset3
src/org/retest/swingset3/demos/spinner/JSpinnerPanel.java
Java
gpl-2.0
2,708
from unittest import mock from flask import request from routersploit.modules.exploits.routers.tplink.wdr740nd_wdr740n_backdoor import Exploit def apply_response(*args, **kwargs): cmd = request.args["cmd"] data = 'TEST; var cmdResult = new Array(\n"' + cmd + '",\n0,0 ); TEST' return data, 200 @mock.patc...
dasseclab/dasseclab
clones/routersploit/tests/exploits/routers/tplink/test_wdr740nd_wdr740n_backdoor.py
Python
gpl-2.0
917
<?php /*download sample.csv*/ $csvfilepath = get_option( 'home' ) ."/wp-content/themes/".get_option( 'template' )."/sample_csv.csv"; header('Content-Description: File Transfer'); header('Content-Type: application/octet-stream'); header("Content-Type: image/png"); header("Content-type: application/force-do...
epgmedia/thunderpress-calendar
wp-content/themes/Events/library/includes/csvdl.php
PHP
gpl-2.0
488
class BadgeGrouping < ActiveRecord::Base GettingStarted = 1 Community = 2 Posting = 3 TrustLevel = 4 Other = 5 has_many :badges end # == Schema Information # # Table name: badge_groupings # # id :integer not null, primary key # name :string(255) not null # description :st...
zoubeiri/discourse-snowboard
app/models/badge_grouping.rb
Ruby
gpl-2.0
438
#region Header // Vorspire _,-'/-'/ ProfileRankOrder.cs // . __,-; ,'( '/ // \. `-.__`-._`:_,-._ _ , . `` // `:-._,------' ` _,`--` -: `_ , ` ,' : // `---..__,,--' (C) 2016 ` -'. -' // # Vita-Nex [http://core.vita-nex.com] # // {o)xxx|===============- # -============...
Andries1985/Shards-of-Nagash
Scripts/VitaNex/Core/Modules/AutoPVP/Objects/Profile/ProfileRankOrder.cs
C#
gpl-2.0
507
<?php /** * The template for displaying the footer * * Contains the closing of the "site-content" div and all content after. * * @package WordPress * @subpackage Twenty_Fifteen * @since Twenty Fifteen 1.0 */ ?> <footer class="bmg-l-footer"> <div class="bmg-l-footer__inner"> <div class="bmg-l-footer__nav...
goygoybords/buyma
wp-content/themes/twentyfifteen/footer.php
PHP
gpl-2.0
2,372
<?php /** * The template for displaying all pages. * * This is the template that displays all pages by default. * Please note that this is the WordPress construct of pages * and that other 'pages' on your WordPress site will use a * different template. * * @package Monaco */ get_header(); ?> <div id="primar...
techborder/wp
wp-content/themes/monaco/page.php
PHP
gpl-2.0
849
/* ScummVM - Graphic Adventure Engine * * ScummVM is the legal property of its developers, whose names * are too numerous to list here. Please refer to the COPYRIGHT * file distributed with this source distribution. * * This program is free software; you can redistribute it and/or * modify it under the terms of ...
yinsimei/scummvm
engines/titanic/sound/qmixer.cpp
C++
gpl-2.0
8,371
""" USAGE: twitter [action] [options] ACTIONS: follow add the specified user to your follow list friends get latest tweets from your friends (default action) help print this help text that you are currently reading leave remove the specified user from your following list public...
avsm/lifedb-plugins
Twitter/twitter/cmdline.py
Python
gpl-2.0
15,027
package si.virag.parkomat.modules; import android.app.Activity; import android.content.Context; import android.content.DialogInterface; import android.support.annotation.NonNull; import com.wdullaer.materialdatetimepicker.time.RadialPickerLayout; import com.wdullaer.materialdatetimepicker.time.TimePickerDialog; impo...
izacus/Parkomat
app/src/main/java/si/virag/parkomat/modules/TimeManager.java
Java
gpl-2.0
2,335
<?php if(!defined("IN_ESOTALK")) exit; /** * OpauthConnect * * @copyright Copyright © 2012 Oleksandr Golubtsov * @license GPLv2 License * @package OpauthСonnect * * This file is part of OpauthСonnect plugin. Please see the included license file for usage information */ ET::$pluginInfo["OpauthConnect"] = ...
phisyks/discuss
addons/plugins/OpauthConnect/plugin.php
PHP
gpl-2.0
20,268
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.InteropServices.WindowsRuntime; using Windows.Foundation; using Windows.Foundation.Collections; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Controls.Primitives; using Windows.UI.Xam...
pikax/papreader
Revista Programar Reader Win8/MainPage.xaml.cs
C#
gpl-2.0
828
<?php /** * Element: Agents * Displays a multiselectbox of different browsers * * @package NoNumber Framework * @version 14.4.1 * * @author Peter van Westen <peter@nonumber.nl> * @link http://www.nonumber.nl * @copyright Copyright © 2014 NoNumber All Rights Reserved *...
L16jovenesTIC/portal-web
plugins/system/nnframework/fields/agents.php
PHP
gpl-2.0
7,025
/* Interpréteur GOTO++ Copyright 2002 Sidoine de Wispelaere Ce programme est un logiciel libre ; vous pouvez le redistribuer et/ou le modifier sous les termes de la GNU General Public Licence telle que publiée par la Free Software Fundation ; soit dans la version 2 de la Licence, soit (à votre choix) dans une version...
Sidoine/gotopp
src/compilateur/compilateur.cpp
C++
gpl-2.0
70,880
<?php if ( ! defined( 'ABSPATH' ) ) { die( '-1' ); } $events_label_singular = tribe_get_event_label_singular(); $events_label_plural = tribe_get_event_label_plural(); if ( ! $_POST ) { $event_cost = get_post_meta( $post_id, '_EventCost', false ); if (is_array($event_cost)) { if (empty($event_cost)) { $event_c...
Ilya-d/htdocs
wp-content/themes/malivi/templates/community/modules/cost.php
PHP
gpl-2.0
1,280
/* Warrior of Dreamworld, 2D Massivly Mutiplayer Online Role-playing Game Copyright (C) 2012 Ryan Lahfa 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 op...
krofna/Warrior-of-Dreamworld
client/ObjectMgr.cpp
C++
gpl-2.0
6,332
/** * Copyright (C) 2002-2007 The FreeCol Team * * This file is part of FreeCol. * * FreeCol 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...
tectronics/reformationofeurope
src/net/sf/freecol/common/model/ColonyTile.java
Java
gpl-2.0
19,928
using System.Collections.Generic; using meridian.smolensk.proto; namespace smolensk.Models.ViewModels { public class AdsListViewModel { public string Title { get; set; } public string NoAdsTitle { get; set; } public IEnumerable<ad_advertisments> Advertisments { get; set; } ...
seavan/smoltoday
trunk/src/smolensk/Models/ViewModels/AdsListViewModel.cs
C#
gpl-2.0
631
using System; using System.Collections.Generic; using System.ComponentModel; using System.Diagnostics.CodeAnalysis; using System.Globalization; using Sdl.Core.Settings; using SDLCommunityCleanUpTasks.Models; namespace SDLCommunityCleanUpTasks { public class CleanUpSourceSettings : SettingsGroup, ICleanUpSourceSettin...
sdl/Sdl-Community
CleanUpTasks/CleanUpTasks/CleanUpSourceSettings.cs
C#
gpl-2.0
5,910
#! /usr/bin/python ###### # Copyright 2007-2009 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 b...
SunLabsAST/AURA
Bridge/pyaura/tagclustering/simplestats.py
Python
gpl-2.0
4,439
/* * Copyright (C) 2011 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...
rex-xxx/mt6572_x201
frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/KeyguardTransportControlView.java
Java
gpl-2.0
19,994
/* * Wazuh app - Mitre alerts components * Copyright (C) 2015-2021 Wazuh, 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 version 2 of the License, or * (at your option) any...
wazuh/wazuh-kibana-app
public/components/overview/compliance-table/compliance-table.tsx
TypeScript
gpl-2.0
10,864
<?php ////////////////////////////////////////////////////////////// /// phpThumb() by James Heinrich <info@silisoftware.com> // // available at http://phpthumb.sourceforge.net /// ////////////////////////////////////////////////////////////// /// //...
gdelamardiere/joomla
components/com_alphauserpoints/assets/phpThumb/demo/phpThumb.demo.check.php
PHP
gpl-2.0
28,660
package org.kidneyomics.gtf; import static org.junit.Assert.*; import java.util.LinkedList; import java.util.List; import org.biojava.nbio.genome.parsers.gff.Feature; import org.biojava.nbio.genome.parsers.gff.Location; import org.junit.Test; import org.slf4j.Logger; import org.slf4j.LoggerFactory; public class Fea...
christopher-gillies/rna-seq-pipeline
src/test/java/org/kidneyomics/gtf/FeatureMergerTest.java
Java
gpl-2.0
9,180
function eliminarItem(id, url){ console.log("Eliminar Fase"); console.log(id); console.log(url); $("#nombre-item").text(id); $("#modal-eliminar").modal('show'); $("#btn-eliminar").attr('href', url); } function revivirItem(id, url){ console.log("Eliminar Fase"); console.log(id); console.log(url); $("#nombr...
SantiagoValdez/hpm
src/hpm/static/js/item.js
JavaScript
gpl-2.0
2,276
<?php get_header(); ?> <?php if (have_posts()) : while (have_posts()) : the_post(); ?> <?php $attachment_link = get_the_attachment_link($post->ID, true, array(450, 800)); // This also populates the iconsize for the next line ?> <?php $_post = &get_post($post->ID); $classname = ($_post->iconsize[0...
rjbaniel/upoor
wp-content/themes/oceanwide/attachment.php
PHP
gpl-2.0
2,504
#include "yacss/CSSBaseValue.hh" namespace yacss { std::ostream& operator<< (std::ostream& o, const CSSBaseValue& val) { if (val.type == ValueType::Length) o << val.get<LengthValue>(); else if (val.type == ValueType::Keyword) o << val.get<KeywordValue>(); else if (val.type == ValueType::ColorRGBA) o...
cirocosta/yacss-parser
src/CSSBaseValue.cc
C++
gpl-2.0
456
<?php /****************************************************** Open .node *** * Description: * Status: Stable. * Author: Alexandre Dath <alexandre@dotnode.com> * $Id$ * * Copyright (C) 2005 Alexandre Dath <alexandre@dotnode.com> * * This program is free software; you can redistribute it and/or m...
alex-ikse/dotnode
includes/config/global.inc.php
PHP
gpl-2.0
1,501
using System; using Server.Items; using Server.Targeting; namespace Server.Engines.Craft { public enum SmeltResult { Success, Invalid, NoSkill } public class Resmelt { public Resmelt() { } public static void Do(Mobile from, CraftSystem craft...
kevin-10/ServUO
Scripts/Services/Craft/Core/Resmelt.cs
C#
gpl-2.0
6,952
<?php /** * Plugin Update Checker Library 2.2.0 * http://w-shadow.com/ * * Copyright 2015 Janis Elsts * Released under the MIT license. See license.txt for details. */ if ( !class_exists('wcva_PluginUpdateChecker_2_2', false) ): /** * A custom plugin update checker. * * @author Janis Elsts ...
markredballoon/clivemizen
wp-content/plugins/woocommerce-colororimage-variation-select/plugin-update-checker/plugin-update-checker.php
PHP
gpl-2.0
43,682
<?php /** * Event List * * @author ProSports * @package ProSports/Templates * @version 1.5 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly $defaults = array( 'id' => null, 'status' => 'default', 'date' => 'default', 'date_from' => 'default', 'date_to' => 'default', 'number' => -...
parpaitas1987/ProSports
sm-manager-setup/includes/prosports/templates/event-list.php
PHP
gpl-2.0
12,406
<?php $PHPMaker_vers = 'v5.0.0'; define('ADODB_FETCH_DEFAULT', 0); define('ADODB_FETCH_NUM', 1); define('ADODB_FETCH_ASSOC', 2); define('ADODB_FETCH_BOTH', 3); define("EW_USE_MYSQLI", FALSE, TRUE); $ADODB_FETCH_MODE = ADODB_FETCH_DEFAULT; // DEFAULT or BOTH. DO NOT CHANGE! /** * ADOConnection */ class ADOConnectio...
xavierrivas/new
epcst/instructor/ewmysql50.php
PHP
gpl-2.0
23,968
package JTalk.util; public class CPLoginReq extends ClientPackage{ public int id; public String password; public int port; public CPLoginReq(int id, String password,int port){ super.type=1; this.id=id; this.password=password; this.port=port; }; }
zyclincoln/JTalk
src/JTalk/util/CPLoginReq.java
Java
gpl-2.0
261
<?php //Add Vendor if ( !empty($_POST['add_vendor']) && !empty($_POST['vname']) ) { $mysql_q="INSERT INTO vendors (vendor_id, vendor_name, vendor_phone, vendor_fax, vendor_email, vendor_details ) VALUES ( '', '".$_POST['vname']."', '".$_POST['vphone']."', '...
kxr/stock3
include/add_vendor.php
PHP
gpl-2.0
2,210
/* $Id$ */ /* * This file is part of OpenTTD. * OpenTTD is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2. * OpenTTD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without...
benjeffery/openttd
src/widgets/dropdown.cpp
C++
gpl-2.0
15,681
import codecs import collections import os import shutil from PyQt4 import QtCore, QtGui, QtSvg from Code.QT import Colocacion from Code.QT import Controles from Code.QT import FormLayout from Code.QT import Iconos from Code.QT import QTVarios from Code import TrListas from Code import VarGen from Code.Constantes imp...
lukasmonk/lucaschess
Code/QT/Piezas.py
Python
gpl-2.0
13,281
# -*- coding: utf-8 -*- ## ## This file is part of Invenio. ## Copyright (C) 2014 CERN. ## ## Invenio 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) a...
MSusik/invenio
invenio/modules/deposit/testsuite/test_type_simplerecord.py
Python
gpl-2.0
3,865
/* * Movable Type (r) Open Source (C) 2001-2012 Six Apart, Ltd. * This program is distributed under the terms of the * GNU General Public License, version 2. * * $Id$ */ ;(function($) { var ES = MT.App.EditorStrategy; ES.Multi = function() { ES.apply(this, arguments) }; $.extend(ES.Multi.prototype, ES.prototype...
rosiro/MovableTypeOpenSource-5.2.2-yamucha
mt-static/js/editor/app/editor_strategy/multi.js
JavaScript
gpl-2.0
1,649
package graph; import static org.junit.Assert.assertArrayEquals; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNull; import game.Graph; import org.junit.Test; public class GraphTest { @Test /** * Test que comprueba el correcto funcionamiento del método existNode de la...
Arquisoft/Trivial3b
play-core/test/graph/GraphTest.java
Java
gpl-2.0
9,014
<?php /** * @file */ namespace Xylemical\Expressions; use PHPUnit\Framework\TestCase; class OperatorTest extends TestCase { public function testInvalidOperands() { $operator = new Operator('', 0, 0, 3, 'is_bool'); $this->expectException('Xylemical\\Expressions\\ExpressionException'); ...
smartcitiescommunity/Civikmind
plugins/formcreator/vendor/xylemical/php-expressions/tests/OperatorTest.php
PHP
gpl-2.0
386
<?php namespace Octane\Tests\ExistingSite; use weitzman\DrupalTestTraits\ExistingSiteBase; /** * This class can be extended or modified for project-specific testing. * * Note that ExistingSite tests typically reside in the relevant custom modules: * * `src/modules/custom_module_core/tests/src/ExistingSite` * ...
phase2/octane
test/src/ExistingSite/OctaneExistingSiteTestBase.php
PHP
gpl-2.0
498
<?php //Create an Array for storing the dates that have events $dates_with_events = array(); //Grab posts (endpoints) $lcccevents = ''; $stockerevents = ''; $athleticevents = ''; $sportevents = ''; $categoryevents = ''; $domain = 'http://www.lorainccc.edu'; //$domain = 'http://' . $_SERVE...
lorainccc/lccc-news
php/original-calendar-working.php
PHP
gpl-2.0
7,672
 namespace L2dotNET.GameService.model.skills2.speceffects { public class b_regen_mp_by_sit : TSpecEffect { public b_regen_mp_by_sit(double value) { this.value = value; } public override void OnStand(L2Player player) { if (mul) pla...
domis045/L2dotNET
src/L2dotNET.Game/model/skills2/speceffects/b_regen_mp_by_sit.cs
C#
gpl-2.0
687
<?php /** * FW Gallery 3.0 * @copyright (C) 2014 Fastw3b * @license http://www.gnu.org/copyleft/gpl.html GNU/GPL * @link http://www.fastw3b.net/ Official website **/ defined( '_JEXEC' ) or die( 'Restricted access' ); JHTML :: _('behavior.framework', true); JHTML :: _('behavior.formvalidation'); JHTML :: script('...
Jbouska419/craftsman
administrator/components/com_fwgallery/views/config/tmpl/edit.php
PHP
gpl-2.0
27,789
<?php /* * @version $Id: ruleticket.php 22657 2014-02-12 16:17:54Z moyo $ ------------------------------------------------------------------------- GLPI - Gestionnaire Libre de Parc Informatique Copyright (C) 2003-2014 by the INDEPNET Development Team. http://indepnet.net/ http://glpi-project.org -------------...
elitelinux/hack-space
php/front/ruleticket.php
PHP
gpl-2.0
1,285
<?php /** * Action functions * * Inject content through template hooks * */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly if ( ! function_exists( 'wolf_404_bg' ) ) { /** * Output 404 page background CSS in head * * @access public * @since 1.0.0 * @return void */ ...
estrategasdigitales/dictobas
wp-content/themes/decibel/includes/actions.php
PHP
gpl-2.0
19,600
/* * Copyright (C) 2014 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/support/widget/StaggeredGridLayoutManager.java
Java
gpl-2.0
117,717
<?php /* * * Ampoliros Application Server * * http://www.ampoliros.com * * * * Copyright (C) 2000-2004 Solarix * * 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...
alexpagnoni/ampoliros
var/classes/com/solarix/ampoliros/tests/AllAmpolirosTests.php
PHP
gpl-2.0
1,961
# vim:fileencoding=utf-8:noet try: import pygit2 as git class Repository(object): __slots__ = ('directory') def __init__(self, directory): self.directory = directory def _repo(self): return git.Repository(self.directory) def status(self, path=None): '''Return status of repository or file. Wit...
DaneelOliwan/dotfiles-vim
.vim/bundle/powerline/powerline/lib/vcs/git.py
Python
gpl-2.0
3,605
<?php /** * Mkdir class * * Class to rename directory/file & manage errors in doing so. * * PHP version 3 * * 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 L...
chisimba/chisimba
app/core_modules/files/classes/rename_class_inc.php
PHP
gpl-2.0
2,996
var searchData= [ ['vectororient',['vectorOrient',['../group___t_xC3_xA1rol_xC3_xB3k.html#gab13a5c3bc64237cc95301c3359a757c8',1,'RobotStateHistory']]] ];
muszkab/Alkalmazasfejlesztes-hazi
RobotDiagnosticApp/docs/html/search/variables_b.js
JavaScript
gpl-2.0
156
/* $Revision: 77449 $ */ /** @file * VBoxGuestLibR0 - Physical memory heap. */ /* * Copyright (C) 2006-2007 Oracle Corporation * * This file is part of VirtualBox Open Source Edition (OSE), as * available from http://www.virtualbox.org. This file is free software; * you can redistribute it and/or modify it unde...
VirtualMonitor/VirtualMonitor
src/VBox/Additions/common/VBoxGuestLib/VbglR0CanUsePhysPageList.cpp
C++
gpl-2.0
1,404
<?php /* * This file is part of PHPExifTool. * * (c) 2012 Romain Neutron <imprec@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace PHPExiftool\Driver\Tag\DICOM; use PHPExiftool\Driver\AbstractTag; class GridP...
Droces/casabio
vendor/phpexiftool/phpexiftool/lib/PHPExiftool/Driver/Tag/DICOM/GridPitch.php
PHP
gpl-2.0
695
from random import randint, shuffle, choice from time import clock from _utils import InvalidTableException, copy_table def solve(table): table = _check_table(table) if _is_done(table): return table else: coordinates = _get_minimum_array(table) trials = table[coordinates[...
jonasrla/web_sudoku
helper/solver.py
Python
gpl-2.0
3,362
# -*- coding: utf-8 -*- from sqlalchemy import text from listenbrainz import db class User(object): """ User class required by the api-compat """ def __init__(self, id, created, name, api_key): self.id = id self.created = created self.name = name self.api_key = api_key ...
metabrainz/listenbrainz-server
listenbrainz/db/lastfm_user.py
Python
gpl-2.0
2,716
require_relative './spec_helper' require 'norikra/typedef' require 'json' require 'digest' describe Norikra::Typedef do context 'instanciated as lazy typedef' do it 'has no fields' do t = Norikra::Typedef.new expect(t.fields.size).to eql(0) expect(t.baseset).to be_nil end it 'has no ...
achied/norikra
spec/typedef_spec.rb
Ruby
gpl-2.0
9,075
/** * @file * Main JS file for react functionality. * */ (function ($) { Drupal.behaviors.react_blocks = { attach: function (context) { // A div with some text in it var CommentBox = React.createClass({displayName: 'CommentBox', loadCommentsFromServer: function() { $.ajax({ ...
changemachine/jellyfish
sites/all/modules/react_blocks/build/.module-cache/fcda948e5eafc0c8b5f89fe71d221f278abccbd5.js
JavaScript
gpl-2.0
2,307
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Reflection; using Noised.Core.DB; using Noised.Core.IOC; using Noised.Logging; namespace Noised.Core.Plugins { /// <summary> /// Basic plugin loader /// </summary> public class PluginLoader : IPluginLoader...
bennygr/noised
src/NoisedCore/Plugins/PluginLoader.cs
C#
gpl-2.0
4,643
import javax.swing.JLabel;
plumer/java-8e-assignments
learn/ch12/MyFrameWithComponents.java
Java
gpl-2.0
27
<?php /*-------------------------------------------------------------------------------------------------------------| www.vdm.io |------/ ____ ____ __ __ __ /\ _`\ /\ _`\ __...
SermonDistributor/Joomla-3-Component
site/views/preachers/tmpl/default_preachers-table.php
PHP
gpl-2.0
4,011
<?php /* * * * * * * * * * * Author: Calc, calc@list.ru, 8(916) 506-7002 * mxtel, 2010, Calc (r) * * * * * * * * * */ defined("INDEX") or die('404 go to <a href="/">index.php</a>'); $do = get_var('do',0); $id = get_var('id',0); $pid = get_var('pid',0); $type= get_var('type','port'); //get for ajah $oid = get_var('...
Calc86/tel
mods/iopt.php
PHP
gpl-2.0
4,787
package com.dynamo2.tianma.model; public class ObjectField extends MongodbModel { private String name; private String uniqueMark; private int type; private String linkedObject; public String getName() { return name; } public void setName(String name) { this.name = name; } public String g...
dynamo2/tianma
mycrm/src/main/java/com/dynamo2/tianma/model/ObjectField.java
Java
gpl-2.0
715
# datepicker-1.py from wax import * from wax.tools.datepicker import DatePicker import datetime import time class MainFrame(VerticalFrame): def Body(self): p1 = HorizontalPanel(self) dp1 = DatePicker(p1) p1.AddComponent(dp1) p1.AddSpace(10) b1 = But...
MSMBA/msmba-workflow
msmba-workflow/srclib/wax/examples/datepicker-1.py
Python
gpl-2.0
1,480
## # This file is part of WhatWeb and may be subject to # redistribution and commercial restrictions. Please see the WhatWeb # web site for more information on licensing and terms of use. # https://morningstarsecurity.com/research/whatweb ## Plugin.define do name "Hughes-Satellite-Router" authors [ "Brendan Coles <bc...
urbanadventurer/WhatWeb
plugins/hughes-satellite-router.rb
Ruby
gpl-2.0
1,736
#include <iostream> #include <map> #include <vector> #include <string> #include <algorithm> #include <fstream> using namespace std; vector<string> dict; map<string, int> map_dict; void reformat(string &line) { int sz = line.size(); int j = 1; for(int i = 1; i < sz; ++i) { if(isalpha(line[i])) line[j+...
rahulroot/Uva
895/program.cpp
C++
gpl-2.0
1,399
export default (sequelize, dataTypes) => { return sequelize.define( 'Community', { id: sequelize.idType, subdomain: { type: dataTypes.TEXT, unique: true, allowNull: false, validate: { isLowercase: true, len: [1, 280], is: /^[a-zA-Z0-9-]+$/, // Must contain at least one letter, ...
pubpub/pubpub
server/community/model.ts
TypeScript
gpl-2.0
3,307
# -*- coding: utf-8 -*- # # Picard, the next-generation MusicBrainz tagger # # Copyright (C) 2006 Lukáš Lalinský # # 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 Licen...
Sophist-UK/Sophist_picard
picard/browser/__init__.py
Python
gpl-2.0
823
/* * EntityManager.cpp * * Created on: 29 Nov 2015 * Author: osboxes */ #include "EntityManager.h" #include "../syscalls/SysCalls.h" using namespace std; EntityManager::EntityManager(std::string fileName) :m_index("entity.idx"){ m_fname = fileName; m_fdReader = syscalls::open ( m_fname.c_str(),O_CREAT|O...
gguzelj/7559-TP2
DbLib/persistence/EntityManager.cpp
C++
gpl-2.0
1,262
#include "configio.h" #include <limits.h> static mystring default_bulletin_dir("bulletins"); static const mystring filename_bulletin_dir = "bulletin-dir"; mystring configuration::bulletin_dir() const { return read_dir(filename_bulletin_dir, default_bulletin_dir, (config_cache<mystring>&)bul...
hetznerZApackages/vmailmgr
lib/config/_bulletin_dir.cc
C++
gpl-2.0
340
public class Star { int x; int y; int owner; int colony; public Star(int x,int y,int owner,int colony){ this.x = x; this.y = y; this.owner = owner; this.colony = colony; } }
TravisRidge/Gigaquadrant
Gigaquadrant/src/Star.java
Java
gpl-2.0
191
/* QUYNH NGA NGUYEN - ID: 700110099 Project FSE Chatroom - 18-652 Server-side file handles requests from clien-side. */ var app = require('express')(); var server = require('http').createServer(app); var io = require('socket.io')(server); var fs = require('fs'); var dbfile = "database.db"; var existed = fs.existsSync...
quynhnga-nguyen/FSEChatRoom
server.js
JavaScript
gpl-2.0
2,600
<?php /** * Tools for creating thumbnails. * * @package Image * @author C. Erdmann * @link http://www.cerdmann.de/thumb * @author Robert Wetzlmayr * * Refactored from function.thumb.php by C. Erdmann, which contained * the following credit and licensing terms: * * Smarty plugin "Thumb" * Purpose: crea...
textpattern/textpattern
textpattern/lib/class.thumb.php
PHP
gpl-2.0
22,703
#!/usr/bin/php -q <?php /** * pbxassist.php * This file is part of the YATE Project http://YATE.null.ro * * Yet Another Telephony Engine - a fully featured software PBX and IVR * Copyright (C) 2007-2013 Null Team * * This software is distributed under multiple licenses; * see the COPYING file in the main direct...
shimaore/yate
share/scripts/pbxassist.php
PHP
gpl-2.0
3,723
/* Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License. This program is distributed in t...
facebook/mysql-5.6
sql/signal_handler.cc
C++
gpl-2.0
9,684
/* * ClPreconditionerHandler_test.cpp * * Created on: 4 de abr. de 2016 * Author: juan */ #include "ClPreconditionerHandler.h"
Thejuampi/PFC
cpp/icoFoamOCL/ClPreconditionerHandler_test.cpp
C++
gpl-2.0
140
/** * @file * @brief Monsters doing stuff (monsters acting). **/ #include "AppHdr.h" #include "mon-act.h" #include "areas.h" #include "arena.h" #include "artefact.h" #include "attitude-change.h" #include "beam.h" #include "cloud.h" #include "coordit.h" #include "dbg-scan.h" #include "delay.h" #include "dungeon.h" #...
xFleury/crawl-0.13.0-fairplay
source/mon-act.cc
C++
gpl-2.0
126,596
/* * Copyright (c) 2012-2013 Open Source Community - <http://www.peerfact.org> * Copyright (c) 2011-2012 University of Paderborn - UPB * Copyright (c) 2005-2011 KOM - Multimedia Communications Lab * * This file is part of PeerfactSim.KOM. * * PeerfactSim.KOM is free software: you can redistribute it and/or modi...
flyroom/PeerfactSimKOM_Clone
src/org/peerfact/impl/overlay/unstructured/heterogeneous/api/IResource.java
Java
gpl-2.0
1,474
<?php /** * @package Extly.Library * @subpackage lib_extly - Extly Framework * * @author Prieco S.A. <support@extly.com> * @copyright Copyright (C) 2007 - 2014 Prieco, S.A. All rights reserved. * @license http://http://www.gnu.org/licenses/gpl-3.0.html GNU/GPL * @link http://www.extly.com...
shukdelmadrij/shukdelmadrij
libraries/extly/extlyframework.php
PHP
gpl-2.0
2,432
//#include "..\kgb_arch_mfc\kgb_arch_mfcdlg.cpp" // kgb_arch_decompressDlg.cpp : implementation file // #include "stdafx.h" #include "kgb_arch_decompress.h" #include "kgb_arch_decompressDlg.h" #include "dDecompress.h" //#include "../compress/compress.cpp" #include <vector> #include <string> #include "io.h" #include "d...
RandallFlagg/kgbarchiver
KGB Archiver 1/sfx/kgb_arch_sfx_zip/kgb_arch_decompressDlg.cpp
C++
gpl-2.0
15,501
#!/usr/bin/env python # -*- coding: utf-8 -*- class User(object): def __init__(self): self.first_name = None self.last_name = None self.username = None self.password = None def set_full_name(self, name): # Jaa välilyönnin mukaan pass
mtpajula/ijonmap
core/users/user.py
Python
gpl-2.0
308
/* putpwent.c */ #include "passwd.h" #ifdef L_putpwent int putpwent(pwd, f) struct passwd *pwd; FILE * f; { if (pwd == NULL || f == NULL) { errno = EINVAL; return -1; } if (fprintf(f, "%s:%s:%u:%u:%s:%s:%s\n", pwd->pw_name, pwd->pw_passwd, pwd->pw_uid, pwd->pw_gid, pwd->pw_gecos, ...
marioaugustorama/uzix-libc
LIBC/PUTPWENT.C
C++
gpl-2.0
402
# UPDATE THIS SECRET INFORMATION ! # # UNCOMMENT THIS FILE IN .gitignore BEFORE YOU COMMIT! # # SuperUser Default Password SUPER_USER_PASSWORD = 'CHANGEME' # Log into your Loggly account, visit: https://<Username>.loggly.com/tokens and copy the token here LOGGLY_TOKEN = 'CHANGEME' # Generate a very secure Django Sec...
Chaffleson/blupy
settings_local.py
Python
gpl-2.0
1,195
/* * This file is part of the AshamaneCore Project. See AUTHORS file for Copyright information * Copyright (C) 2018+ MagicStormProject <https://github.com/MagicStormTeam> * * 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 ...
AshamaneProject/AshamaneCore
src/server/scripts/BrokenIsles/Anthorus/boss_aggramar.cpp
C++
gpl-2.0
14,489
/* * Copyright 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 Software Foundati...
neomantic/Android-SISC-Scheme-Eval
src/neomantic/com/sun/beans/WeakCache.java
Java
gpl-2.0
3,231
/* * Copyright (C) 2005-2017 Team Kodi * 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...
ObvB/xbmc
xbmc/addons/interfaces/GUI/DialogNumeric.cpp
C++
gpl-2.0
8,182
<?php /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ use Magento\Framework\Component\ComponentRegistrar; $registrar = new ComponentRegistrar(); if ($registrar->getPath(ComponentRegistrar::MODULE, 'Magento_TestModuleGraphQlQueryExtension') === null) { ComponentRegi...
kunj1988/Magento2
dev/tests/api-functional/_files/Magento/TestModuleGraphQlQueryExtension/registration.php
PHP
gpl-2.0
420
/* * DAWN OF LIGHT - The first free open source DAoC server emulator * * 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 ver...
dol-leodagan/niflib.net
Niflib/SkinData.cs
C#
gpl-2.0
2,847