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) 2020 Emweb bv, Herent, Belgium. * * See the LICENSE file for terms of use. */ package eu.webtoolkit.jwt.auth; import eu.webtoolkit.jwt.*; import eu.webtoolkit.jwt.chart.*; import eu.webtoolkit.jwt.servlet.*; import eu.webtoolkit.jwt.utils.*; import java.io.*; import java.lang.ref.*; import java....
kdeforche/jwt
src/eu/webtoolkit/jwt/auth/UpdatePasswordWidget.java
Java
gpl-2.0
7,657
<?php /** * @file * Returns the HTML for a single Drupal page. * * Complete documentation for this file is available online. * @see https://drupal.org/node/1728148 */ ?> <div id="page"> <div class="top"> <?php print render($page['top']); ?> </div> <header class="header" id="header" role="banner"> <?php i...
tarasdj/intetrane
sites/all/themes/mythemes/templates/page.tpl.php
PHP
gpl-2.0
3,104
#include "MeshRenderer.h" #include "Data/ShapeMesh.h" #include "Data/Utility.h" #include <GLBlaat/GLFramebuffer.h> #include <GLBlaat/GLProgram.h> #include <GLBlaat/GLTextureManager.h> #include <GLBlaat/GLUtility.h> #include <NQVTK/Rendering/Camera.h> #include <cassert> #include <sstream> namespace D...
bwrrp/shapespaceexplorer
Rendering/MeshRenderer.cpp
C++
gpl-2.0
6,514
<?php if (isset($_GET['disable'])) $nonce = ''; else { @session_start(); require_once(dirname(dirname(__FILE__)).'/classes/SemisecureLoginReimagined.php'); $nonce_session_key = SemisecureLoginReimagined::nonce_session_key(); $nonce = $_SESSION[$nonce_session_key]; } // load the nonce into a JavaScript variable i...
Yeremenko-Roman/Geekhub-Roman-E
wp-content/plugins/semisecure-login-reimagined/js/nonce.php
PHP
gpl-2.0
539
// third-party deps import { reduce, sortBy, isNil, isEmpty, mapValues, each, Dictionary } from 'lodash'; import { IHttpService, ILogService, IPromise } from 'angular'; import * as moment from 'moment'; type ILocalStorageService = angular.local.storage.ILocalStorageService; // internal deps import { ILineItem } from '...
lunches-platform/fe
src/app.ng1/models/price.ts
TypeScript
gpl-2.0
9,779
using System; using Server; using Server.Gumps; using Server.Network; using Server.Mobiles; using System.Collections; using Server.Targeting; using Server.Engines.XmlSpawner2; /* ** LastManStandingGauntlet ** ArteGordon ** updated 12/05/04 ** ** used to set up a last man standing pvp challenge game through the XmlPoin...
jackuoll/Pre-AOS-RunUO
Scripts/Engines/XmlSpawner/XMLSpawner Extras/XmlPoints/ChallengeGames/LastManStandingGauntlet.cs
C#
gpl-2.0
16,786
<?php /** * Jobs for XOOPS * * You may not change or alter any portion of this comment or credits * of supporting developers from this source code or any supporting source code * which is considered copyrighted (c) material of the original comment or credit authors. * This program is distributed in the hope that ...
mambax7/jobs
admin/delcomp.php
PHP
gpl-2.0
3,003
/* Malaysian initialisation for the jQuery UI date picker plugin. */ /* Written by Mohd Nawawi Mohamad Jamili (nawawi@ronggeng.net). */ jQuery(function ($) { $.datepicker.regional['ms'] = { closeText: 'Tutup', prevText: '&#x3c;Sebelum', nextText: 'Selepas&#x3e;', currentText: 'hari ini', monthNames: ['Januar...
parksandwildlife/parkstay
jomres/javascript/jquery-ui-cal-localisation/jquery.ui.datepicker-ms.js
JavaScript
gpl-2.0
932
<?php namespace AweBooking\Calendar\Resource; use AweBooking\Support\Collection; class Resources extends Collection {}
awethemes/awebooking
inc/Calendar/Resource/Resources.php
PHP
gpl-2.0
122
#!/usr/bin/python3 import argparse import traceback import sys import netaddr import requests from flask import Flask, request from jinja2 import Environment, FileSystemLoader, TemplateNotFound endpoints = "read/networks read/oplog read/snmp read/switches-management public/distro-tree public/config public/dhcp publ...
tech-server/gondul
templating/templating.py
Python
gpl-2.0
3,215
/* * Copyright (c) 1998-2010 Caucho Technology -- all rights reserved * * This file is part of Resin(R) Open Source * * Each copy or derived work must preserve the copyright notice and this * notice unmodified. * * Resin Open Source is free software; you can redistribute it and/or modify * it under the terms o...
CleverCloud/Quercus
quercus/src/main/java/com/caucho/quercus/env/DefaultValue.java
Java
gpl-2.0
3,172
/* * Copyright (C) 2013 Leszek Mzyk * * 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 applicable law or agree...
bairutai/SinaWeibo
src/com/convenientbanner/CBLoopViewPager.java
Java
gpl-2.0
6,473
<?php if ( ! defined( 'ABSPATH' ) ) exit; // Exit when accessed directly /** * @since 1.0 */ class CPAC_WC_Column_Post_Price extends CPAC_Column_Default { /** * @see CPAC_Column::init() * @since 1.0 */ public function init() { parent::init(); // define properties $this->properties['type'] = 'price';...
kappuccino/wp-fast-start
data/plugins/cac-addon-woocommerce/classes/column/product/price.php
PHP
gpl-2.0
1,058
using iTextSharp.text; using iTextSharp.text.pdf; namespace Discovery.iTextSharp.infrastructure.helper { internal static class Layout { internal static Font GetBaseFont() { return FontFactory.GetFont("Segoe UI", 12.0f, BaseColor.BLACK); } internal static Font GetSm...
corycoffee/discovery
src/Discovery.iTextSharp/infrastructure/helper/Layout.cs
C#
gpl-2.0
1,538
/** * Copyright (c) 2001-2002. Department of Family Medicine, McMaster University. All Rights Reserved. * This software is published under the GPL GNU General Public License. * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published...
scoophealth/oscar
src/main/java/org/oscarehr/common/model/ConsultationRequest.java
Java
gpl-2.0
10,011
/* * linksync commander -- Command line interface to LinkSync * Copyright (C) 2016 Andrew Duncan * * This package is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * found in the file LICENSE that should have accompanied this file. * * This program is...
lakesite/linksync-commander
lib/sync.js
JavaScript
gpl-2.0
3,119
namespace Clinica.Listados_Estadisticos { partial class Pantalla2 { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /...
eldie1984/GESTIONAR
src/Clinica/Listados Estadisticos/Pantalla2.Designer.cs
C#
gpl-2.0
1,197
//============================================================================ //ZedGraph Class Library - A Flexible Line Graph/Bar Graph Library in C# //Copyright © 2004 John Champion // //This library is free software; you can redistribute it and/or //modify it under the terms of the GNU Lesser General Public //Lice...
McoreD/TDMaker
TDMaker/Lib/BDInfo/ZedGraph/CurveList.cs
C#
gpl-2.0
23,063
using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Windows; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated ...
swkrueger/signrider
SignRider/Signrider/Properties/AssemblyInfo.cs
C#
gpl-2.0
2,245
from datetime import datetime from grazyna.utils import register @register(cmd='weekend') def weekend(bot): """ Answer to timeless question - are we at .weekend, yet? """ current_date = datetime.now() day = current_date.weekday() nick = bot.user.nick if day in (5, 6): answer = "Ocz...
firemark/grazyna
grazyna/plugins/weekend.py
Python
gpl-2.0
562
/* * Copyright (C) 2008-2014 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 la...
madisodr/legacy-core
src/server/scripts/Commands/cs_ban.cpp
C++
gpl-2.0
30,765
package model.device; /** * Title : The Mobile Robot Explorer Simulation Environment v2.0 * Copyright: GNU General Public License as published by the Free Software Foundation * Company : Hanze University of Applied Sciences * * @author Dustin Meijer (2012) * @author Alexander Jeurissen (2012) ...
TranceCake/SoftwareEngineering
leertaak3DynamicProgramming/leertaak4MobileRobot/src/model/device/Device.java
Java
gpl-2.0
3,923
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // 有关程序集的常规信息通过下列特性集 // 控制。更改这些特性值可修改 // 与程序集关联的信息。 [assembly: AssemblyTitle("Web")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("Microsoft")] [asse...
lsyuan/yzxzgl
Web/Properties/AssemblyInfo.cs
C#
gpl-2.0
1,326
/* * 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 may ...
lamsfoundation/lams
3rdParty_sources/commons-validator/org/apache/commons/validator/routines/AbstractCalendarValidator.java
Java
gpl-2.0
16,430
/** @file Host-key wrapper. @if license Copyright (C) 2010, 2013 Alexander Lamaison <awl03@doc.ic.ac.uk> 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...
alamaison/swish
ssh/host_key.hpp
C++
gpl-2.0
8,313
<?php if (!defined('THINK_PATH')) exit();?><!doctype html> <html> <head> <meta http-equiv="Content-Type" content="text/html" charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=no" /> <title>Makerway</title> <script type="text/javascript" src="/passon...
huran2014/huran.github.io
makerway/Application/Runtime/Cache/Home/15d459605ca1272097c790b0a93a119a.php
PHP
gpl-2.0
2,727
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package com.cgc.bean; import java.sql.Timestamp; /** * * @author com02 */ public class MessageBean { private int runno; private String message_id; private String message_detail; private String statu...
beckpalmx/ImportTask
src/com/cgc/bean/MessageBean.java
Java
gpl-2.0
3,859
package org.openstreetmap.osmaxil; import org.apache.log4j.Logger; import org.openstreetmap.osmaxil.flow.__AbstractImportFlow; import org.springframework.beans.factory.annotation.Value; import org.springframework.context.support.ClassPathXmlApplicationContext; import org.springframework.stereotype.Component; @Compone...
vince-from-nice/osmaxil
src/main/java/org/openstreetmap/osmaxil/Application.java
Java
gpl-2.0
1,528
<?php /** * Do authentication of users and session management * * @category DMS * @package SeedDMS * @license GPL 2 * @version @version@ * @author Markus Westphal, Malcolm Cowe, Uwe Steinmann <uwe@steinmann.cx> * @copyright Copyright (C) 2002-2005 Markus Westphal, * 2006-2008 Malcol...
FavioGalvis/DIDOC
inc/inc.Authentication.php
PHP
gpl-2.0
3,495
/** * Created by kliu on 10/10/2015. */ var jsonschema = require("jsonschema"); var utils = {}; utils.validateJSON = function(schema, json){ var result = jsonschema.validate(json, schema); if(result.errors.length == 0){ return json; }else{ throw new Error("message not valid, " + result.e...
adleida/adx-nodejs
utils.js
JavaScript
gpl-2.0
1,027
package com.aw.swing.mvp.action; import com.aw.swing.mvp.Presenter; import com.aw.swing.mvp.navigation.Flow; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.springframework.beans.BeanWrapper; import org.springframework.beans.BeanWrapperImpl; import java.util.Iterator; ...
AlanGuerraQuispe/SisAtuxPerfumeria
atux-jrcp/src/main/java/com/aw/swing/mvp/action/BackBeanProvider.java
Java
gpl-2.0
1,684
# -*- encoding : utf-8 -*- class User < ActiveRecord::Base include Invitable::Base include Humanizer include UserSearchable include EnrollmentService::BaseModelAdditions include EnrollmentService::UserAdditions::ModelAdditions include StatusService::BaseModelAdditions include StatusService::UserAdditions:...
tuliolages/OpenRedu
app/models/user.rb
Ruby
gpl-2.0
22,732
/* This file is part of the KDE project Copyright 2007 Stefan Nikolaus <stefan.nikolaus@kdemail.net> Copyright (C) 2008 Thomas Zander <zander@kde.org> This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Fr...
TheTypoMaster/calligra
sheets/Binding.cpp
C++
gpl-2.0
8,416
from kvmap.code.projections import * from urllib2 import urlopen from httplib import HTTPConnection from threading import Thread from kivy.logger import Logger from kivy.loader import Loader from os.path import join, dirname import time, os import hashlib try: from pyproj import Proj from xml.etree import Element...
jchome/LocalGuide-Mobile
kvmap/overlays/WMSOverlayServer.py
Python
gpl-2.0
5,614
#include "../vidhrdw/cbuster.cpp" /*************************************************************************** Crude Buster (World version FX) (c) 1990 Data East Corporation Crude Buster (World version FU) (c) 1990 Data East Corporation Crude Buster (Japanese version) (c) 1990 Data East Corporation Two Cru...
Neo2003/mame4all-pi-adv
src/drivers/cbuster.cpp
C++
gpl-2.0
23,569
<?php class FaqController extends Controller { protected $logAction = false; public function accessRules() { return array( array( 'allow', 'users'=>array('*'), ), ); } public function actionIndex() { $categoryId = $this->iGet('category_id', 1); $model = new Faq(); $model-...
CubingChina/cubingchina
protected/controllers/FaqController.php
PHP
gpl-2.0
841
<?php namespace Drupal\simple_columns\Plugin\CKEditorPlugin; use Drupal\ckeditor\CKEditorPluginBase; use Drupal\editor\Entity\Editor; /** * Defines the "simplecolumns" plugin. * * @CKEditorPlugin( * id = "simplecolumns", * label = @Translation("Simple Columns"), * module = "cke_columns" * ) */ class Si...
ilrWebServices/ilr
web/modules/custom/simple_columns/src/Plugin/CKEditorPlugin/SimpleColumns.php
PHP
gpl-2.0
1,127
<?php /** * --------------------------------------------------------------------- * GLPI - Gestionnaire Libre de Parc Informatique * Copyright (C) 2015-2022 Teclib' and contributors. * * http://glpi-project.org * * based on GLPI - Gestionnaire Libre de Parc Informatique * Copyright (C) 2003-2014 by the INDEPNE...
stweil/glpi
front/remindertranslation.form.php
PHP
gpl-2.0
1,827
/* global Ext, ViewStateManager, App */ Ext.define( 'App.ux.StatefulTabPanel', { extend: 'Ext.tab.Panel', alias: 'widget.statefultabpanel', initComponent: function() { this.iconCls = this.iconCls || this.itemId; this.on( 'afterrender', this.onAfterRender, this); this.callParent( arguments); }, ...
liancastellon/cellstore-admin
web/app/ux/StatefulTabPanel.js
JavaScript
gpl-2.0
1,141
<?php /** * @package Joomla.Administrator * @subpackage com_joomlaupdate * * @copyright Copyright (C) 2005 - 2019 Open Source Matters, Inc. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; use Joomla\CMS\Language\Text; /** @v...
astridx/joomla-cms
administrator/components/com_joomlaupdate/tmpl/joomlaupdate/default_noupdate.php
PHP
gpl-2.0
686
<?php /** * Copyright (c) by the ACP3 Developers. * See the LICENSE file at the top-level module directory for licensing details. */ namespace ACP3\Modules\ACP3\Newsletter\Controller\Frontend\Index; use ACP3\Core; use ACP3\Modules\ACP3\Newsletter; class Activate extends Core\Controller\AbstractFrontendAction { ...
ACP3/module-newsletter
Controller/Frontend/Index/Activate.php
PHP
gpl-2.0
2,433
<?php /** * Proxies AJAX calls to the Bambuser public API, * and retrieves broadcast data. */ require __DIR__.'/../../vendor/autoload.php'; use GuzzleHttp\Client; header('Content-Type: application/json'); $client = new Client(); $params = [ 'query' => [ 'api_key'=> BAMBUSER_API_KEY, 'tag'=> 'NuitDebo...
nuitdebout/wordpress
theme/lib/api/bambuser.php
PHP
gpl-2.0
521
<?php /** * @file * Toyota Yaris class. */ namespace Drupal\oop_example_11\BusinessLogic\Vehicle\Car\Toyota; /** * Toyota Yaris class. */ class ToyotaYaris extends Toyota { /** * The doors count. * * @var int */ public $doors = 5; /** * Returns class type description. */ public funct...
nfouka/poo_d8
oop_examples/oop_example_11/src/BusinessLogic/Vehicle/Car/Toyota/ToyotaYaris.php
PHP
gpl-2.0
402
package eu.geekhome.asymptote.model; public abstract class SyncUpdateBase<T> implements SyncUpdate<T> { private T _value; @Override public T getValue() { return _value; } public void setValue(T value) { _value = value; } public SyncUpdateBase(T value) { _value = ...
tomaszbabiuk/geekhome-asymptote
asymptote/src/main/java/eu/geekhome/asymptote/model/SyncUpdateBase.java
Java
gpl-2.0
335
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "bugman.settings") from django.core.management import execute_from_command_line execute_from_command_line(sys.argv)
aliasav/Bugman
bugman/manage.py
Python
gpl-2.0
249
<?php // +-------------------------------------------------+ // © 2002-2012 PMB Services / www.sigb.net pmb@sigb.net et contributeurs (voir www.sigb.net) // +-------------------------------------------------+ // $Id: cms_module_carousel_datasource_notices.class.php,v 1.5 2012-11-15 09:47:40 arenou Exp $ if (stristr($_...
Gambiit/pmb-on-docker
web_appli/pmb/cms/modules/carousel/datasources/cms_module_carousel_datasource_notices.class.php
PHP
gpl-2.0
2,475
/* Greeter module for xdm Copyright (C) 1997, 1998 Steffen Hansen <hansen@kde.org> Copyright (C) 2000-2003 Oswald Buddenhagen <ossi@kde.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 ...
iegor/kdebase
kdm/kfrontend/kgapp.cpp
C++
gpl-2.0
5,569
<?php class Bbpress_Meta_Commands extends WP_CLI_Command { /** * This will install bbPress metas plugin required table and migrate data over. * * ## EXAMPLES * * wp bbpress_metas install */ public function install() { global $wpdb; require_once ABSPATH . 'wp-admin/includes/upgrade.php'; // ...
mainsocial/bbpress-meta
inc/wp-cli-commands.php
PHP
gpl-2.0
2,895
$(function(){ $('.home .bxslider').bxSlider({ auto: true, mode: 'fade' }); /** * QUICK REFERENCE */ // check if the window bindings should be applied (only if the element is present) var $reference = $('.reference-wrap'); if($reference.length > 0){ // toggle the menu $('.reference-wrap h3').click(...
naka211/tellusavokater
html/js/scripts.js
JavaScript
gpl-2.0
3,481
package com.meetup.agileim.web.rest.errors; import java.util.List; import org.springframework.dao.ConcurrencyFailureException; import org.springframework.http.HttpStatus; import org.springframework.security.access.AccessDeniedException; import org.springframework.validation.BindingResult; import org.springframework.v...
lazcatluc/agileim
src/main/java/com/meetup/agileim/web/rest/errors/ExceptionTranslator.java
Java
gpl-2.0
2,547
/* * File: TestLogAppender.cpp * Author: HoelscJ * * Created on 7. Oktober 2011, 15:06 */ #include "TestLogAppender.h" namespace org { namespace esb { namespace hive { TestLogAppender::TestLogAppender(const log4cplus::helpers::Properties properties) { } TestLogAppender::~TestLogAppen...
psychobob666/MediaEncodingCluster
src/org/esb/hive/TestLogAppender.cpp
C++
gpl-2.0
348
import ctypes.wintypes as ctypes import braille import brailleInput import globalPluginHandler import scriptHandler import inputCore import api INPUT_MOUSE = 0 INPUT_KEYBOARD = 1 INPUT_HARDWARE = 2 MAPVK_VK_TO_VSC = 0 KEYEVENTF_EXTENDEDKEY = 0x0001 KEYEVENTF_KEYUP = 0x0002 KEYEVENT_SCANCODE = 0x0008 KEY...
nishimotz/NVDARemote
addon/globalPlugins/remoteClient/input.py
Python
gpl-2.0
3,588
<?php /** * @covers ClassCollector */ class ClassCollectorTest extends MediaWikiUnitTestCase { public static function provideCases() { return [ [ "class Foo {}", [ 'Foo' ], ], [ "namespace Example;\nclass Foo {}\nclass Bar {}", [ 'Example\Foo', 'Example\Bar' ], ], [ "class_alia...
pierres/archlinux-mediawiki
tests/phpunit/unit/includes/utils/ClassCollectorTest.php
PHP
gpl-2.0
1,608
/** @file project_euler_problem_15.cpp @author Terence Henriod Project Euler Problem 15 @brief Solves the following problem for the general case of any power of 2 (within system limitations): "2^15 = 32768 and the sum of its digits is 3 + 2 + 7 + 6 + 8 = 26. What is the sum of the d...
T-R0D/JustForFun
Project-Euler/project_euler_problem_16.cpp
C++
gpl-2.0
2,633
// Copyright 2013 Dolphin Emulator Project // Licensed under GPLv2+ // Refer to the license.txt file included. #include <algorithm> #include <mbedtls/error.h> #ifndef _WIN32 #include <arpa/inet.h> #include <unistd.h> #endif #include "Common/FileUtil.h" #include "Core/ConfigManager.h" #include "Core/Core.h" #include "...
sigmabeta/dolphin
Source/Core/Core/IPC_HLE/WII_Socket.cpp
C++
gpl-2.0
22,315
<?php global $wpdb, $byt_multi_language_count; function bookyourtravel_register_location_post_type() { $locations_permalink_slug = of_get_option('locations_permalink_slug', 'locations'); $labels = array( 'name' => _x( 'Locations', 'Post Type General Name', 'bookyourtravel' ), 'singu...
stanleyr15/samter
wp-content/themes/BookYourTravel/includes/post_types/locations.php
PHP
gpl-2.0
3,435
from django import template from django.template.loader_tags import BaseIncludeNode from django.template import Template from django.conf import settings from pages.plugins import html_to_template_text, SearchBoxNode from pages.plugins import LinkNode, EmbedCodeNode from pages import models from django.utils.text impo...
mivanov/editkit
editkit/pages/templatetags/pages_tags.py
Python
gpl-2.0
6,764
from opencvBuilder import exists,generate
bverhagen/openCV-sconsbuilder
opencvBuilder/__init__.py
Python
gpl-2.0
42
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "umiss_project.settings") try: from django.core.management import execute_from_command_line except ImportError: # The above import may fail for some other reason. Ensure tha...
CadeiraCuidadora/UMISS-backend
umiss_project/manage.py
Python
gpl-3.0
811
package ru.ncedu.ecomm.servlets.services.passwordRecovery; import ru.ncedu.ecomm.data.models.dao.UserDAOObject; import java.util.ArrayList; import java.util.List; import java.util.Random; import static ru.ncedu.ecomm.data.DAOFactory.getDAOFactory; public class PasswordRecoveryService { private final static Str...
ncedu-tlt/ecomm
src/main/java/ru/ncedu/ecomm/servlets/services/passwordRecovery/PasswordRecoveryService.java
Java
gpl-3.0
2,999
using System; using System.Globalization; #if WINDOWS_UWP || WINDOWS_APP || WINDOWS_PHONE_APP using Windows.UI; using Windows.UI.Xaml.Media; #endif #if WINDOWS_DESKTOP using System.Windows.Data; using System.Windows.Media; #endif namespace SmokSmog.Extensions { public static class ColorExtensions { ...
SmokSmog/smoksmog-windows
Core/SmokSmog.Core.Shared/Extensions/ColorExtensions.cs
C#
gpl-3.0
1,547
// just-install - The simple package installer for Windows // Copyright (C) 2020 just-install authors. // // 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 3 of the License. // // This ...
just-install/just-install
pkg/fetch/doc.go
GO
gpl-3.0
891
/* This file is part of cpp-ethereum. cpp-ethereum 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. cpp-ethereum is distributed in the...
arkpar/cpp-ethereum
alethzero/DownloadView.cpp
C++
gpl-3.0
2,368
<?php /** * Properties * * @package Cherry_Framework * @subpackage Model * @author Cherry Team <cherryframework@gmail.com> * @copyright Copyright (c) 2012 - 2016, Cherry Team * @link http://www.cherryframework.com/ * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html */ /** * Mod...
gcofficial/tm-real-estate
models/model-properties.php
PHP
gpl-3.0
24,916
class PublicDisclosureScope < Scope # Disclosed to the public def is_in_scope(user) # Will allow anyone to see true end def is_in_pitch_card_scope(user, pitch_card) is_in_scope(user) end def is_in_comment_scope(user, comment) is_in_scope(user) end end
mrwinton/pitchhub
app/models/disclosure_scopes/public_disclosure_scope.rb
Ruby
gpl-3.0
286
#include "logger/Stack.hpp" using namespace logger; /////////////////////////////////////// std::ostream& operator<<(std::ostream& ioOut, const Stack& stack) { if (stack.empty()) return ioOut; std::deque<std::string>::const_iterator dequeIt; for(dequeIt = stack.begin(); dequeIt != stack.end(); ++dequeIt) ...
belzano/MDW
logger/src/Stack.cpp
C++
gpl-3.0
415
/* * Copyright 2015 @author Unai Alegre * * This file is part of R-CASE (Requirements for Context-Aware Systems Engineering), a module * of Modelio that aids the requirements elicitation phase of a Context-Aware System (C-AS). * * R-CASE is free software: you can redistribute it and/or modify * it under the...
casetools/rcase
rcase/src/main/java/edu/casetools/rcase/modelio/diagrams/requirements/tools/relations/SatisfyTool.java
Java
gpl-3.0
3,013
<?php /* * Copyright 2014 REI Systems, Inc. * * This file is part of GovDashboard. * * GovDashboard 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 opti...
REI-Systems/GovDashboard-Community
webapp/sites/all/modules/custom/sync/gd_sync.api.php
PHP
gpl-3.0
919
import { AlloyTriggers, Attachment, Debugging, Swapping } from '@ephox/alloy'; import { Cell, Fun } from '@ephox/katamari'; import { PlatformDetection } from '@ephox/sand'; import { Element, Focus, Insert, Node } from '@ephox/sugar'; import DOMUtils from 'tinymce/core/api/dom/DOMUtils'; import ThemeManager from 'tinym...
jabber-at/hp
hp/core/static/lib/tinymce/src/themes/mobile/main/ts/Theme.ts
TypeScript
gpl-3.0
7,637
#include "ObjetoCompuesto.h" ObjetoCompuesto:: ObjetoCompuesto() { hijos = new Objeto3D*[100000]; numHijos = 0; m1 = new GLfloat[16]; } ObjetoCompuesto:: ~ObjetoCompuesto() { for(int i =0; i < numHijos; i++) { delete hijos[i]; } } void ObjetoCompuesto:: dibuja() { glMatrixMode(GL_MODELVIEW); g...
RotaruDan/hierarchicalModelling
Practica2/ObjetoCompuesto.cpp
C++
gpl-3.0
788
''' ******************************************************************************* * ButtonEvent.py 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 o...
iocanto/bug-python-libraries
ButtonEvent.py
Python
gpl-3.0
2,246
#!/usr/bin/env python # coding=utf-8 """ Distinct powers Problem 29 Consider all integer combinations of ab for 2 ≤ a ≤ 5 and 2 ≤ b ≤ 5: 2^2=4, 2^3=8, 2^4=16, 2^5=32 3^2=9, 3^3=27, 3^4=81, 3^5=243 4^2=16, 4^3=64, 4^4=256, 4^5=1024 5^2=25, 5^3=125, 5^4=625, 5^5=3125 If they are then placed in numerical...
openqt/algorithms
projecteuler/ac/old/pe029_distinct_powers.py
Python
gpl-3.0
823
/* * This file is part of Radio Downloader. * Copyright © 2007-2018 by the authors - see the AUTHORS file for details. * * 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...
nbl1268/RadioDownloader
Forms/Preferences.cs
C#
gpl-3.0
7,638
/* * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it w...
waikato-datamining/adams-base
adams-core/src/main/java/adams/core/base/MavenArtifactExclusion.java
Java
gpl-3.0
2,905
# -*- coding: utf-8 -*- # Dioptas - GUI program for fast processing of 2D X-ray diffraction data # Principal author: Clemens Prescher (clemens.prescher@gmail.com) # Copyright (C) 2014-2019 GSECARS, University of Chicago, USA # Copyright (C) 2015-2018 Institute for Geology and Mineralogy, University of Cologne, Germany ...
Dioptas/Dioptas
dioptas/model/Configuration.py
Python
gpl-3.0
34,175
<?php /** * @license http://opensource.org/licenses/gpl-license.php GNU Public License * @link https://github.com/bderidder/ldm-guild-website */ namespace LaDanse\ServicesBundle\Service\DTO\Callback; use JMS\Serializer\Annotation\ExclusionPolicy; use JMS\Serializer\Annotation\SerializedName; use JMS\Serialize...
bderidder/ldm-guild-website
src/LaDanse/ServicesBundle/Service/DTO/Callback/LogCallback.php
PHP
gpl-3.0
1,366
var express = require('express'); var reload = require('reload'); var fs = require('fs'); var wss = new require('ws').Server({port: 3030}); var app = express(); var Chopper = require('./lib/Chopper'); app.set('port', process.env.PORT || 3000); app.set('view engine', 'ejs'); app.use(require('./routes/index')...
gjgjwmertens/LedBlinkJohhny5
exp_app.js
JavaScript
gpl-3.0
1,517
package org.trrusst.software.recommender; import javax.servlet.Servlet; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import java.io.IOException; import java.util.ArrayList; import java.util.Lis...
sandakith/TRRuSST
TrWebApp/src/main/java/org/trrusst/software/recommender/TrustBasedServiceRecommender.java
Java
gpl-3.0
2,115
import time import json import pytz from datetime import datetime, timedelta from django.utils import timezone from django.conf import settings from rest_framework import status from rest_framework.decorators import api_view, permission_classes from rest_framework.response import Response from rest_framework.permissi...
dspichkin/djangodashpanel
djangodashpanel/security/views.py
Python
gpl-3.0
9,113
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using System.IO; namespace Plasmosis { public partial class frmClassical : Form { privat...
shawnkoon/Plasmosis
Plasmosis/Form1.cs
C#
gpl-3.0
14,513
/* * 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 solomonserver; import java.io.IOException; import java.net.ServerSocket; import java.net.Socket; import java.sql.Connection; i...
beia/beialand
projects/solomon/Server/SolomonServer/src/solomonserver/SolomonServer.java
Java
gpl-3.0
11,938
#include "BioXASCarbonFilterFarm.h" BioXASCarbonFilterFarm::BioXASCarbonFilterFarm(const QString &deviceName, QObject *parent) : BioXASBeamlineComponent(deviceName, parent) { // Create upstream actuator. upstreamActuator_ = new BioXASCarbonFilterFarmActuator(QString("%1%2").arg(deviceName).arg("UpstreamActuator"),...
acquaman/acquaman
source/beamline/BioXAS/BioXASCarbonFilterFarm.cpp
C++
gpl-3.0
6,658
package org.optimizationBenchmarking.evaluator.attributes.clusters.propertyValueGroups; import org.optimizationBenchmarking.utils.math.NumericalTypes; import org.optimizationBenchmarking.utils.math.functions.arithmetic.Div; import org.optimizationBenchmarking.utils.math.functions.arithmetic.Mul; import org.optimi...
optimizationBenchmarking/evaluator-attributes
src/main/java/org/optimizationBenchmarking/evaluator/attributes/clusters/propertyValueGroups/EGroupingMode.java
Java
gpl-3.0
24,903
// Copyright 2014 The go-krypton Authors // This file is part of the go-krypton library. // // The go-krypton library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, o...
covertress/go-krypton
core/types/receipt.go
GO
gpl-3.0
4,699
#!/usr/bin/env ruby #--------------------------------------------------------------- ## ## GridEngine plugin for Collectd ## ## This 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 th...
vpenso/collectd-exec-plugins
gridengine-jobs.rb
Ruby
gpl-3.0
1,860
# -*- coding: utf-8 -*- # Generated by Django 1.10 on 2016-08-10 04:19 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('article', '0002_auto_20160810_0134'), ] operations = [ migrations.RemoveField...
zhangvs1988/zhangyl-Djangodemo
article/migrations/0003_auto_20160810_1219.py
Python
gpl-3.0
806
export { AbilityScoresViewModel } from './ability_scores'; export { ActionsToolbarViewModel } from './actions_toolbar'; export { ArmorViewModel } from './armor'; export { CharacterNameViewModel } from './character_name'; export { CharacterPortraitModel } from './character_portrait'; export { CharacterStatusLineViewMode...
adventurerscodex/adventurerscodex
src/charactersheet/viewmodels/character/index.js
JavaScript
gpl-3.0
1,218
#include "mssmUtils.h" #include "softsusy.h" #include <iostream> namespace softsusy { double sw2 = 1.0 - sqr(MW / MZ), gnuL = 0.5, guL = 0.5 - 2.0 * sw2 / 3.0, gdL = -0.5 + sw2 / 3.0, geL = -0.5 + sw2, guR = 2.0 * sw2 / 3.0, gdR = -sw2 / 3.0, geR = -sw2, yuL = 1.0 / 3.0, yuR = -4.0 / 3.0, ydL = ...
McLenin/gm2
models/smssm/mssmUtils.cpp
C++
gpl-3.0
17,306
// Copyright (c) 2009 Frank Laub // 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 retain the above copyright // notice, this list of conditions an...
dantmnf/YASS
openssl-net/ManagedOpenSsl/Core/Asn1Integer.cs
C#
gpl-3.0
2,086
<?php /** * LinkGpolGroupUserTable * * This class has been auto-generated by the Doctrine ORM Framework */ class LinkGpolGroupUserTable extends Doctrine_Table { /** * Returns an instance of this class. * * @return object LinkGpolGroupUserTable */ public static function getInstance() ...
bewiwi/gpol
lib/model/doctrine/LinkGpolGroupUserTable.class.php
PHP
gpl-3.0
392
# -*- coding: utf-8 -*- # # Copyright © 2011 Pierre Raybaut # Licensed under the terms of the MIT License # (see spyderlib/__init__.py for details) """IPython v0.11+ Plugin""" from spyderlib.qt.QtGui import QHBoxLayout # Local imports from spyderlib.widgets.ipython import create_widget from spyderlib.plu...
jromang/retina-old
distinclude/spyderlib/plugins/ipython.py
Python
gpl-3.0
2,012
package com.jmbsystems.fjbatresv.mascotassociales.photoList.ui; import android.content.Context; import android.content.Intent; import android.graphics.Bitmap; import android.net.Uri; import android.provider.MediaStore; import android.support.design.widget.FloatingActionButton; import android.support.design.widget.Snac...
fjbatresv/MascotasSociales
app/src/main/java/com/jmbsystems/fjbatresv/mascotassociales/photoList/ui/PhotoListActivity.java
Java
gpl-3.0
5,594
/** * Copyright © 2021 Rémi Pace. * This file is part of Abc-Map. * * Abc-Map is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Software Foundation, either version 3 of * the License, or (at your option) any later vers...
remipassmoilesel/abcmap
packages/frontend/src/core/history/tasks/layers/RemoveLayerTask.ts
TypeScript
gpl-3.0
1,389
# coding: utf-8 import os import urllib import numpy as np import pickle from Experiment import Experiment ROOT_PATH = './full_dataset/article_4_data/grouped_ephys' ZIPFILE_PATH = './full_dataset/article_4_data' EXPM_PATH = './results/experiments/' URL = 'http://microcircuits.epfl.ch/data/released_data/' if not os....
awakenting/gif_fitting
bbp_analysis/bluebrain_data_io.py
Python
gpl-3.0
9,533
package org.safehaus.penrose.ldap; import java.util.Map; import java.util.TreeMap; /** * @author Endi S. Dewata */ public class RDNBuilder { public Map<String,Object> values = new TreeMap<String,Object>(); public RDNBuilder() { } public boolean isEmpty() { return values.isEmpty(); } ...
rgorosito/penrose
common/src/main/java/org/safehaus/penrose/ldap/RDNBuilder.java
Java
gpl-3.0
1,607
<?php declare(strict_types = 1); namespace EssentialsPE\Tasks\AFK; use EssentialsPE\BaseFiles\BaseTask; use EssentialsPE\BaseFiles\BaseAPI; use pocketmine\utils\TextFormat; class AFKSetterTask extends BaseTask{ /** * @param BaseAPI $api */ public function __construct(BaseAPI $api){ parent...
LegendOfMCPE/EssentialsPE
src/EssentialsPE/Tasks/AFK/AFKSetterTask.php
PHP
gpl-3.0
1,503
// Copyright 2017 voidALPHA, Inc. // This file is part of the Haxxis video generation system and is provided // by voidALPHA in support of the Cyber Grand Challenge. // Haxxis 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 Softwar...
voidALPHA/cgc_viz
Assets/Scripts/Utility/DevCommand/DevCommandConsoleResizeBehaviour.cs
C#
gpl-3.0
3,345
var index = require('express').Router(); var Member = require('../models/Member'); var sitemap = require('../middlewares/sitemap'); var utils = require('../middlewares/utils'); index.get('/', function (req, res) { res.redirect('/article'); }); index.get('/lang', function (req, res) { var setLang; if (req.cookie...
hfut-xcsoft/xcsoft.hfut.edu.cn
routes/default.js
JavaScript
gpl-3.0
901
# # controller.py # # Copyright (C) 2013-2014 Ashwin Menon <ashwin.menon@gmail.com> # Copyright (C) 2015-2018 Track Master Steve <trackmastersteve@gmail.com> # # Alienfx is free software. # # You may redistribute it and/or modify it under the terms of the # GNU General Public License, as published by the Free Software ...
ashwinm76/alienfx
alienfx/core/controller.py
Python
gpl-3.0
11,875
// // SuperTuxKart - a fun racing game with go-kart // Copyright (C) 2004-2015 Steve Baker <sjbaker1@airmail.net> // Copyright (C) 2010-2015 Steve Baker, Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License // as publishe...
nado/stk-code
src/graphics/material.hpp
C++
gpl-3.0
17,686