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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>Scores</title> <style type="text/css"> html { font-family: Arial; } table { empty-cells: hide; border-collapse: collapse; backgr...
Ced-le-pingouin/esprit-mirror
src/sousactiv/hotpotatoes/scores.tpl.php
PHP
gpl-2.0
1,680
/* * Copyright (C) 2016 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...
JungleTian/Telegram
TMessagesProj/src/main/java/org/telegram/messenger/exoplayer2/source/ConcatenatingMediaSource.java
Java
gpl-2.0
9,121
<?php /** * * Adapted from Edward McIntyre's wp_bootstrap_navwalker class. * Removed support for glyphicon and added support for Font Awesome * */ /** * Class Name: wp_bootstrap_navwalker * GitHub URI: https://github.com/twittem/wp-bootstrap-navwalker * Description: A custom WordPress nav walker class to implement ...
ttthanhDC/ProjectTeamWP
wp-content/themes/cronista/assets/functions/cronista_navwalker.php
PHP
gpl-2.0
7,699
<?php namespace TYPO3\Flow\Persistence\Doctrine\Proxies\__CG__\project\emulate\Domain\Model; /** * THIS CLASS WAS GENERATED BY THE DOCTRINE ORM. DO NOT EDIT THIS FILE. */ class UserAccount extends \project\emulate\Domain\Model\UserAccount implements \Doctrine\ORM\Proxy\Proxy { private $_entityPersister; pri...
garvitdelhi/emulate
Data/Temporary/Development/Doctrine/Proxies/__CG__projectemulateDomainModelUserAccount.php
PHP
gpl-2.0
4,993
from settings import * import pymysql def getconn(): conn = pymysql.connect( charset = 'utf8', host = DATABASES['default']['HOST'], port = DATABASES['default']['PORT'], user = DATABASES['default']['USER'], ...
kassine/caparis2mysql
sqlTools.py
Python
gpl-2.0
602
/**************************************************************************** ** $Id: qpngio.cpp 2 2005-11-16 15:49:26Z dmik $ ** ** Implementation of PNG QImage IOHandler ** ** Created : 970521 ** ** Copyright (C) 1992-2003 Trolltech AS. All rights reserved. ** ** This file is part of the kernel module of the Qt GUI ...
OS2World/LIB-QT3_Toolkit_Vbox
src/kernel/qpngio.cpp
C++
gpl-2.0
30,630
#!/usr/bin/env python #Mercurial extension to robustly integrate prompts with other processes #Copyright (C) 2010-2011 Willem Verstraeten # #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 v...
willemv/mercurial_prompthooks
prompthooks.py
Python
gpl-2.0
6,665
<?php /* vim: set expandtab sw=4 ts=4 sts=4: */ /** * Core functions used all over the scripts. * This script is distinct from libraries/common.inc.php because this * script is called from /test. * * @package PhpMyAdmin */ use PMA\libraries\Message; use PMA\libraries\URL; use PMA\libraries\Sanitize; if (! defin...
zixtor/phpmyadmin
libraries/core.lib.php
PHP
gpl-2.0
25,508
using System; using System.Collections.Generic; using System.Data; using System.Text; using Meta.Net.Objects; namespace Meta.Net.Metadata.Factories { internal class CheckConstraintFactory { private int SchemaNameOrdinal { get; set; } private int TableNameOrdinal { get; set; } private i...
OhRyanOh/Meta.Net
Meta.Net/Metadata/Factories/CheckConstraintFactory.cs
C#
gpl-2.0
3,157
// ---------------------------------------------------------------------- // // // // Copyright (c) 2007-2014 // // Digital Beacon, LLC // // ...
digitalbeacon/sitebase
Model/ICodedEntity.cs
C#
gpl-2.0
790
var FabrikModalRepeat = new Class({ initialize: function (el, names, field) { this.names = names; this.field = field; this.content = false; this.setup = false; this.elid = el; this.win = {}; this.el = {}; this.field = {}; // If the parent field is inserted via js then we delay the loading untill ...
emundus/v5
administrator/components/com_fabrik/models/fields/fabrikmodalrepeat.js
JavaScript
gpl-2.0
7,061
<?php function _appthemes_localize_scripts() { // jQuery Validate wp_register_script( 'validate-lang', APP_FRAMEWORK_URI . '/js/validate/jquery.validate-lang.js', array( 'validate' ) ); wp_localize_script( 'validate-lang', 'validateL10n', array( 'required' => __( 'This field is required.', APP_TD ), 'remote'...
dakshatechnologies/renovize
wp-content/themes/renovizenew/framework/js/localization.php
PHP
gpl-2.0
2,069
/* * Copyright (c) 2007 Henrique Pinto <henrique.pinto@kdemail.net> * Copyright (c) 2008-2009 Harald Hvaal <haraldhv@stud.ntnu.no> * Copyright (c) 2010 Raphael Kubo da Costa <rakuco@FreeBSD.org> * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the ...
mvlabat/ark
plugins/libarchive/readonlylibarchiveplugin.cpp
C++
gpl-2.0
1,989
<?php $atts = array_map('contact_do_shortcode', (array) $atts); extract(shortcode_atts(array('filter' => ''), $atts)); $form_id = $GLOBALS['contact_form_id']; $prefix = $GLOBALS['contact_form_prefix']; $content = explode('[other]', do_shortcode($content)); if (!isset($_POST[$prefix.'submit'])) { $n = 2; } elseif ...
patricerandria/ccmgr-wp
ccmgr/wp-content/plugins/contact-manager/includes/forms/validation-content.php
PHP
gpl-2.0
526
<?php use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class AddShortnameProjects extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::table('projects', function(Blueprint $table) { // $table->string('sho...
elconejito/Graphics-Library
app/database/migrations/2014_03_17_173453_add_shortname_projects.php
PHP
gpl-2.0
547
<?php //$Id$ /** * CLAROLINE * @version 1.9 $Revision$ * * @copyright (c) 2001-2007 Universite catholique de Louvain (UCL) * * @license http://www.gnu.org/copyleft/gpl.html (GPL) GENERAL PUBLIC LICENSE * * @package ADMIN * * @author Guillaume Lederer <lederer@claroline.net> */ $cidReset = TRUE; $gidReset = T...
yannhos115/claroline-exercice
claroline/admin/adminusers.php
PHP
gpl-2.0
18,212
// // Copyright 2002 Sony Corporation // // Permission to use, copy, modify, and redistribute this software for // non-commercial use is hereby granted. // // This software is provided "as is" without warranty of any kind, // either expressed or implied, including but not limited to the // implied warranties of fitnes...
EiichiroIto/scratch-aibo
MotionAgents/MoNetAgentManager.cc
C++
gpl-2.0
5,877
<?php /* Plugin Name: Калькулятор цен Plugin URI: none Description: Плагин загрузки цен на услуги СТО для калькулятора цен на сайте Автодоктор Version: 3.1.5 Author: WebUniverse Author URI: http://webuniverse.com.ua/ */ define( 'prices_calculator_PLUGIN_URL', plugin_dir_url( __FILE__ ) ); define( 'prices_calc...
PapaPsih/Avtodoctor
wp-content/plugins/prices_calculator/prices_calculator.php
PHP
gpl-2.0
6,459
import testlib.flowexpression.qual.FlowExp; public class Canonicalization { class LockExample { protected final Object myLock = new Object(); protected @FlowExp("myLock") Object locked; protected @FlowExp("this.myLock") Object locked2; public @FlowExp("myLock") Object getLocked() ...
CharlesZ-Chen/checker-framework
framework/tests/flowexpression/Canonicalization.java
Java
gpl-2.0
1,226
/****************************************************************************** * * Metodología de la Programación * Grado en Ingeniería Informática * * 2014 - Ernesto Serrano Collado * ------------------------------ * * Supongamos que para definir matrices bidimensionales dinamicas usamos una * est...
erseco/ugr_metodologia_programacion
Practica_5/src/ejercicio8.cpp
C++
gpl-2.0
4,558
# -*- coding: utf-8 -*- # from django.contrib.staticfiles.templatetags.staticfiles import static from django.conf import settings from django.utils.translation import gettext_lazy as _ def jumpserver_processor(request): # Setting default pk context = { 'DEFAULT_PK': '00000000-0000-0000-0000-0000000000...
eli261/jumpserver
apps/jumpserver/context_processor.py
Python
gpl-2.0
835
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Microsoft.Xna.Framework; using AnimationExample; namespace ProjectSneakyGame { /// <summary> /// Extension of the DrawableGameComponent class. /// Includes set-up and functions for 3D matrix movement of DrawableGam...
JoshuaKlaser/ANSKLibrary
AnimationExample/AnimationExample/DrawableMovableComponent.cs
C#
gpl-2.0
7,452
<?php /** * Sources English lexicon topic * * @language en * @package modx * @subpackage lexicon */ $_lang['access'] = 'Åtkomsträttigheter'; $_lang['base_path'] = 'Bassökväg'; $_lang['base_path_relative'] = 'Relativ bassökväg?'; $_lang['base_url'] = 'Bas-URL'; $_lang['base_url_relative'] = 'Relativ bas-URL?'; $_l...
svyatoslavteterin/belton.by
core/lexicon/sv/source.inc.php
PHP
gpl-2.0
5,705
/* * Copyright (C) 2008-2011 TrinityCore <http://www.trinitycore.org/> * Copyright (C) 2006-2009 ScriptDev2 <https://scriptdev2.svn.sourceforge.net/> * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the * Free Software ...
SeTM/MythCore
src/server/scripts/Outland/blades_edge_mountains.cpp
C++
gpl-2.0
16,406
package geeksforgeeks.divide.conquer; /* * http://chuansongme.com/n/122759 * * This is actually dutch national flag problem. See SortList.java. * * Check the above link for another solution */ public class Sort123 { }
sindhujapr/ms_prep
companies/geeksforgeeks/divide/conquer/Sort123.java
Java
gpl-2.0
227
/* * Copyright (C) 2011-2021 Project SkyFire <https://www.projectskyfire.org/> * Copyright (C) 2008-2021 TrinityCore <http://www.trinitycore.org/> * Copyright (C) 2005-2021 MaNGOS <https://www.getmangos.eu/> * Copyright (C) 2006-2014 ScriptDev2 <https://github.com/scriptdev2/scriptdev2/> * * This program is free ...
ProjectSkyfire/SkyFire.548
src/server/scripts/Kalimdor/RazorfenKraul/instance_razorfen_kraul.cpp
C++
gpl-2.0
3,367
/** * @author Stefan Brandle * @author Jonathan Geisler * @date September, 2014 * */ #ifndef PLAYERV2_CPP // Double inclusion protection #define PLAYERV2_CPP #include <iostream> #include "PlayerV2.h" /** * @brief Constructor: initializes any game-long data structures. * * The player should reinitialize any...
BoringCode/BattleshipAI
PlayerV2.cpp
C++
gpl-2.0
658
<?php /* *--------------------------------------------------------- * * CartET - Open Source Shopping Cart Software * http://www.cartet.org * *--------------------------------------------------------- */ define('MODULE_PAYMENT_PLATON_TEXT_TITLE', 'Platon.ua'); define('MODULE_PAYMENT_PLATON_TEXT_DESCRIPTION', 'Platon: ...
OSC-CMS/Shopping-Cart
modules/payment/platon/ru.php
PHP
gpl-2.0
1,645
// La generación de código T4 está habilitada para el modelo 'C:\Proyectos SVN\PRESTLAN\Models\PrestlanModel.edmx'. // Para habilitar la generación de código heredada, cambie el valor de la propiedad del diseñador 'Estrategia de generación de código' // por 'ObjectContext heredado'. Esta propiedad está disponible en ...
alfre/Prestlan
Models/PrestlanModel.Designer.cs
C#
gpl-2.0
914
<?php // No direct access defined('_JEXEC') or die; jimport('joomla.application.component.view'); class PropertyViewAgent extends JView { protected $form; protected $item; protected $state; public function display($tpl = null) { // Initialiase variables. $this->form = $this->get('Fo...
djoudi/cambodian-property-today
administrator/components/com_property/views/agent/view.html.php
PHP
gpl-2.0
2,164
package com.savanto.correspondencechess; import android.content.Context; import android.view.MotionEvent; import android.view.View; import android.widget.RelativeLayout; /** * Extension of the View class to allow easy creation and manipulation * of views containing chess pieces. */ public class PieceView extends V...
savanto/CorrespondenceChess-Android
src/com/savanto/correspondencechess/PieceView.java
Java
gpl-2.0
3,118
/** * */ package fr.hervedarritchon.soe.soebackend.exception; /** * @author Hervé Darritchon (@hervDarritchon) * */ public class CannotCreateUserException extends Exception { public CannotCreateUserException(final String message) { super(message); } /** * */ private static final long serialVersionUID ...
herveDarritchon/soebackend
src/main/java/fr/hervedarritchon/soe/soebackend/exception/CannotCreateUserException.java
Java
gpl-2.0
349
#include "skewnessfeature.h" using Romeo::Model::Core::Feature::SkewnessFeature; using Romeo::Model::Core::Feature::StandardDeviationFeature; using Romeo::Model::Core::Feature::FirstOrderFeature; using Romeo::Model::Core::InternalData; using Romeo::Model::Core::InternalData2D; using Romeo::Model::Core::InternalData3D;...
NicolaMagnabosco/Romeo
RomeoCode/model/core/feature/skewnessfeature.cpp
C++
gpl-2.0
4,479
#include <iostream> #include <ctime> #include <QString> #include <QInputDialog> #include "mainwindow.h" #include "ui_mainwindow.h" #include "solution.hpp" MainWindow::MainWindow(QWidget* parent) : QMainWindow(parent), ui(new Ui::MainWindow) { ui->setupUi(this); results = new ResultsModel(); ui...
trombipeti/qbtimer
mainwindow.cpp
C++
gpl-2.0
1,568
package com.aifeng.ws.wx; import java.util.Map; /** * Created by pro on 17-4-17. */ public class RequestBody { private String touser; private String msgtype; private int agentid; private Map<String,Object> text; private int safe; public String getTouser() { return touser; }...
dunyuling/cxh
src/main/java/com/aifeng/ws/wx/RequestBody.java
Java
gpl-2.0
974
/* * This is the source code of Telegram for Android v. 5.x.x. * It is licensed under GNU GPL v. 2 or later. * You should have received a copy of the license in this archive (see LICENSE). * * Copyright Nikolai Kudashov, 2013-2018. */ package org.telegram.ui.Cells; import android.content.Context; import android...
CzBiX/Telegram
TMessagesProj/src/main/java/org/telegram/ui/Cells/NotificationsCheckCell.java
Java
gpl-2.0
7,049
jQuery(document).ready( function($) { $('#bp-forum-notifier-toggle-subscription').live('click', function(e) { e.preventDefault(); var subscribe_or_unsubscribe = $(this).data('action'); var nonce = $(this).data('nonce'); var group_id = $(this).data('group_id'); $.ajax({ type: "POST", url: ajaxurl, d...
klandestino/bp-forum-notifier
js/bp-forum-notifier.js
JavaScript
gpl-2.0
821
// Copyright 2015 Dolphin Emulator Project // Licensed under GPLv2+ // Refer to the license.txt file included. #include "VideoCommon/VertexLoaderARM64.h" #include "Common/CommonTypes.h" #include "VideoCommon/DataReader.h" #include "VideoCommon/VertexLoaderManager.h" using namespace Arm64Gen; constexpr ARM64Reg src_r...
Ebola16/dolphin
Source/Core/VideoCommon/VertexLoaderARM64.cpp
C++
gpl-2.0
20,467
<?php /** * * Template for the shopping cart * * @package VirtueMart * @subpackage Cart * @author Max Milbers * * @link http://www.virtuemart.net * @copyright Copyright (c) 2004 - 2010 VirtueMart Team. All rights reserved. * @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php * VirtueMart...
kenbabu/emproj
components/com_virtuemart/views/cart/tmpl/order_done.php
PHP
gpl-2.0
699
//stlÌṩÁËÁ½ÖÖÈÝÆ÷£ºÐòÁУ¨vector¡¢list¡¢deque£©ºÍ¹ØÁªÈÝÆ÷£¨map¡¢mutilmap¡¢set¡¢mutilset£© //¶ø stackºÍqueueÊÇ×÷Ϊ»ù±¾ÈÝÆ÷µÄÊÊÅäÆ÷¡£ ////-----------------------------------Ðò ÁÐ-------------------------------- ////-----------------------------------ÊÊÅäÆ÷-------------------------------- //ÊÊÅäÆ÷ÌṩµÄÊÂÔ­À´ÈÝÆ÷µÄÒ»¸ö...
lizhenghn123/CppLanguagePrograms
STL/stackDemo/stackDemo.cpp
C++
gpl-2.0
3,385
package io.github.yannici.bedwars.Game; import io.github.yannici.bedwars.Main; import io.github.yannici.bedwars.Utils; import io.github.yannici.bedwars.Events.BedwarsOpenTeamSelectionEvent; import java.util.ArrayList; import java.util.Collection; import java.util.HashMap; import java.util.List; import org.bukkit.Buk...
homedog21/bedwars-reloaded
src/io/github/yannici/bedwars/Game/PlayerStorage.java
Java
gpl-2.0
9,378
<?php /* -------------------------------------------------------------- blacklist.php 2008-08-10 gambio Gambio OHG http://www.gambio.de Copyright (c) 2008 Gambio OHG Released under the GNU General Public License (Version 2) [http://www.gnu.org/licenses/gpl-2.0.html] --------------------------------...
pobbes/gambio
lang/german/admin/blacklist.php
PHP
gpl-2.0
1,844
<?php /** * com_simplecalendar - a simple calendar component for Joomla * Copyright (C) 2008-2009 Fabrizio Albonico * * 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 vers...
mchalupar/Union-Leopoldschlag
tmp/install_50dda12248b2d/component/views/calendar/view.html.php
PHP
gpl-2.0
4,869
/*global require,__dirname*/ var connect = require('connect'); connect.createServer( connect.static(__dirname) ).listen(8080);
kurthalex/BRGM-BdCavite-cesium
cesium/Build/server.js
JavaScript
gpl-2.0
127
class TreatmentAreas::PatientsController < ApplicationController before_filter :authenticate_user! before_filter :find_treatment_area def index @patients_table = PatientsTable.new @patient_search = @patients_table.search(params) end def radiology @patient = Patient.find(params[:id]) if dexi...
mission-of-mercy/georgia
app/controllers/treatment_areas/patients_controller.rb
Ruby
gpl-2.0
945
# replaces the '%' symbol with '+', leaving the return values of actions usable for other things, such as type information, # and leaving whitespace intact. from dparser import Parser # turn a tree of strings into a single string (slowly): def stringify(s): if not isinstance(s, str): return ''.join(map(st...
charlesDGY/coflo
coflo-0.0.4/third_party/d/python/tests/test6.py
Python
gpl-2.0
743
package pub.infoclass.pushservice; public class ACK { private int p = h_protocol_pusher.ACK; private String UserID; private String PushID; public ACK(String userID, String pushID) { super(); UserID = userID; PushID = pushID; } public int getP() { return p; } public void setP(int p) { this.p = p; ...
282857484/LocationBaseServiceSocialNetworking
src/pub/infoclass/pushservice/ACK.java
Java
gpl-2.0
551
<?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/db/drivers/mysql/DBLayer_mysql.php
PHP
gpl-2.0
7,888
/* * This file is part of the KDE project * * Copyright (c) 2005 Michael Thaler <michael.thaler@physik.tu-muenchen.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 version ...
wyuka/calligra
krita/plugins/extensions/dropshadow/kis_dropshadow_plugin.cc
C++
gpl-2.0
3,316
/* * 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 cn.edu.hfut.dmic.webcollectorcluster.generator; import cn.edu.hfut.dmic.webcollectorcluster.model.CrawlDatum; import java.io....
CrawlScript/WebCollectorCluster-Dev
WebCollectorCluster/src/main/java/cn/edu/hfut/dmic/webcollectorcluster/generator/RecordGenerator.java
Java
gpl-2.0
1,060
/* * NimBLERemoteDescriptor.cpp * * Created: on Jan 27 2020 * Author H2zero * * Originally: * * BLERemoteDescriptor.cpp * * Created on: Jul 8, 2017 * Author: kolban */ #include "sdkconfig.h" #if defined(CONFIG_BT_ENABLED) #include "nimconfig.h" #if defined( CONFIG_BT_NIMBLE_ROLE_CENTRAL) #incl...
ramalhais/code
arduino/libraries/NimBLE-Arduino/src/NimBLERemoteDescriptor.cpp
C++
gpl-2.0
10,911
<?php /* core/themes/stable/templates/admin/admin-block.html.twig */ class __TwigTemplate_73d94355d598b4dfa4b4ca02e16e4343556a0d714799515056c444f65791e3fc extends Twig_Template { public function __construct(Twig_Environment $env) { parent::__construct($env); $this->parent = false; $th...
neetumorwani/dcon
sites/default/files/php/twig/e7e9cf99_admin-block.html.twig_b440e57db9efed76852fc563c6827050f943bfd78965a8b1ecb3a02c71db4383/d60b7a51460832b200c45935652984dcb99b21f7bda17e389af5047f446ab118.php
PHP
gpl-2.0
4,309
/******/ (function(modules) { // webpackBootstrap /******/ // The module cache /******/ var installedModules = {}; /******/ /******/ // The require function /******/ function __webpack_require__(moduleId) { /******/ /******/ // Check if module is in cache /******/ if(installedModules[moduleId]) { /******/ re...
appqian/vue
src/index.js
JavaScript
gpl-2.0
390,912
<?php /** * OG behavior handler. */ class OgBehaviorHandler extends EntityReference_BehaviorHandler_Abstract { /** * Implements EntityReference_BehaviorHandler_Abstract::access(). */ public function access($field, $instance) { return $field['settings']['handler'] == 'og' || strpos($field['settings']['...
codifi/mukurtucms
sites/all/modules/contrib/og/plugins/entityreference/behavior/OgBehaviorHandler.class.php
PHP
gpl-2.0
10,070
require File.expand_path('../boot', __FILE__) require 'rails/all' # Require the gems listed in Gemfile, including any gems # you've limited to :test, :development, or :production. Bundler.require(*Rails.groups) module Spoodle class Application < Rails::Application # Settings in config/environments/* take prece...
ASE-2014/spoodle
config/application.rb
Ruby
gpl-2.0
954
using System; using System.Diagnostics; namespace Lumpn.Profiling { public sealed class Recorder { private readonly Stopwatch stopwatch = new Stopwatch(); private readonly string name; public Recorder(string name) { this.name = name; } public void ...
lumpn/infinite-zelda
Lumpn.Profiling/Recorder.cs
C#
gpl-2.0
658
<?php /** * * */ /** * Import SQL data. * * @param string $args as the queries of sql data , you could use file get contents to read data args * @param string/array $tables_whitelist 'all' = all tables; array('tbl1',...) = only listet tables * @param string $dbhost database host * @param string $dbuser ...
Vegvisir/Nami
tools/db/database.func.php
PHP
gpl-2.0
6,970
<?php /** * Uses the Porter Stemmer algorithm to find word roots. * * Adapted from Joomla com_finder component. * Based on the Porter stemmer algorithm: * <https://tartarus.org/martin/PorterStemmer/c.txt> * * @author Lee Garner <lee@leegarner.com> * @copyright Copyright (C) 2017 Lee Garner <lee@leegarn...
glFusion/searcher
classes/stemmer/Porter_en.class.php
PHP
gpl-2.0
13,378
package ch.logixisland.anuto.view.game; import android.app.Activity; import android.os.Bundle; import android.os.Handler; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.Button; import android.widget.TextView; import java.util.List; import ch.logixis...
oojeiph/android-anuto
app/src/main/java/ch/logixisland/anuto/view/game/TowerInfoFragment.java
Java
gpl-2.0
8,699
<?php /** * Created by PhpStorm. * User: mglaman * Date: 9/2/15 * Time: 12:39 AM */ namespace mglaman\Docker; /** * Class Docker * @package mglaman\Docker */ class Docker extends DockerBase { /** * {@inheritdoc} */ public static function command() { return 'docker'; } /...
mglaman/docker-helper
src/Docker.php
PHP
gpl-2.0
3,379
/* * Copyright (c) 2014, 2016, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
zapster/graal-core
graal/com.oracle.graal.nodes/src/com/oracle/graal/nodes/cfg/HIRLoop.java
Java
gpl-2.0
2,382
/**************************************************************************** ** ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). ** All rights reserved. ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** This file is part of the QtGui module of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL$ ** ...
librelab/qtmoko-test
qtopiacore/qt/src/gui/widgets/qlabel.cpp
C++
gpl-2.0
44,261
<?php /** * DmMediaTable * * This class has been auto-generated by the Doctrine ORM Framework */ class DmMediaTable extends PluginDmMediaTable { /** * Returns an instance of this class. * * @return DmMediaTable The table object */ public static function getInstance() { retu...
Teplitsa/bquest.ru
lib/model/doctrine/dmCorePlugin/DmMediaTable.class.php
PHP
gpl-2.0
366
/* * Copyright by iNet Solutions 2008. * * http://www.truthinet.com.vn/licenses */ Ext.onReady(function(){ var activeMenu; function createMenu(name){ var el = Ext.get(name+'-link'); if (!el) return; var tid = 0, menu, doc = Ext.getDoc(); var handleOver = function(e, t){ if(t != el.dom && t !...
inetcloud/iMail
source/mail-admin/js/inet/ui/common/menu/Menu.js
JavaScript
gpl-2.0
2,082
# -*- encoding: utf-8 -*- ############################################################################## # # OpenERP, Open Source Management Solution # Copyright (C) 2004-2009 Tiny SPRL (<http://tiny.be>). All Rights Reserved # d$ # # This program is free software: you can redistribute it and/or modify # ...
3dfxsoftware/cbss-addons
incoterm_ext/incoterm.py
Python
gpl-2.0
1,298
/** * 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...
hexbinary/landing
src/main/java/oscar/oscarWaitingList/util/WLWaitingListUtil.java
Java
gpl-2.0
6,477
<?php $db = mysql_connect("localhost","root",""); mysql_select_db("asterisk"); // Астериск по каким то непонятным причинам сбрасывает в cdr одинаковые записи без forkcdr и т.д. // задача найти их и убрать. //проверка на трансфер $transfer = array(); $q = " select c.id, c.calldate, c.src, c.channel, c.lastdata, c.du...
Calc86/tel
cron/unique.php
PHP
gpl-2.0
3,241
<?php /* * Styles and scripts registration and enqueuing * * @package mantra * @subpackage Functions */ // Adding the viewport meta if the mobile view has been enabled if($mantra_mobile=="Enable") add_action('wp_head', 'mantra_mobile_meta'); function mantra_mobile_meta() { global $mantra_options; ...
DanielMSchmidt/stadtfest-theme
wp-content/themes/mantra/includes/theme-styles.php
PHP
gpl-2.0
4,286
// OGLTexture.cpp // KlayGE OpenGLÎÆÀíÀà ʵÏÖÎļþ // Ver 3.12.0 // °æÈ¨ËùÓÐ(C) ¹¨ÃôÃô, 2003-2007 // Homepage: http://www.klayge.org // // 3.9.0 // Ö§³ÖTexture Array (2009.8.5) // // 3.6.0 // ÓÃpbo¼ÓËÙ (2007.3.13) // // 2.7.0 // Ôö¼ÓÁËAddressingMode, FilteringºÍAnisotropy (2005.6.27) // Ôö¼ÓÁËMaxMipLevelºÍMipMapLodBias ...
gongminmin/KlayGE
KlayGE/Plugins/Src/Render/OpenGL/OGLTexture.cpp
C++
gpl-2.0
14,017
<?php function tzs_front_end_user_products_handler($atts) { // Определяем атрибуты // [tzs-view-user-products user_id="1"] - указываем на странице раздела // [tzs-view-products] - указываем на страницах подразделов extract( shortcode_atts( array( 'user_id' => '0', ), $atts, 'tzs-view-u...
serker72/T3S_Old
wp-content/plugins/tzs/front-end/tzs.user.products.php
PHP
gpl-2.0
6,919
<?php /* @author : Giriraj Namachivayam @date : Apr 25, 2013 @demourl : http://ngiriraj.com/socialMedia/oauthlogin/ @license : Free to use, */ include "socialmedia_oauth_connect.php"; $oauth = new socialmedia_oauth_connect(); $oauth->provider="DeviantArt"; $oauth->client_id = "396"; $oauth->client_secret =...
phoenixz/base
data/plugins/socialmedia-oauth-login/deviantart.php
PHP
gpl-2.0
703
<?php /** * @copyright Copyright (C) eZ Systems AS. All rights reserved. * @license For full copyright and license information view LICENSE file distributed with this source code. */ namespace eZ\Bundle\EzPublishIOBundle\DependencyInjection\Factory; use League\Flysystem\Adapter\Local; /** * Builds a Local Flysys...
ezsystems/ezpublish-kernel
eZ/Bundle/EzPublishIOBundle/DependencyInjection/Factory/LocalAdapterFactory.php
PHP
gpl-2.0
987
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Reflection { public class Student { public string FirstName { get; set; } public string LastName { get; set; } public int Age { get; set; } public Dicti...
Omri27/AfekaTorrent
Reflection/Student.cs
C#
gpl-2.0
689
import os from unipath import Path try: # expect at ~/source/tshilo-dikotla/etc/default.cnf # etc folder is not in the git repo PATH = Path(os.path.dirname(os.path.realpath(__file__))).ancestor( 1).child('etc') if not os.path.exists(PATH): raise TypeError( 'Path to database...
botswana-harvard/tshilo-dikotla
tshilo_dikotla/databases.py
Python
gpl-2.0
2,422
/** * @file * File with JS to initialize jQuery plugins on fields. */ (function($){ Drupal.behaviors.field_timer = { attach: function() { var settings = drupalSettings.field_timer; if ($.countdown != undefined) { $.countdown.setDefaults($.countdown.regionalOptions['']); } for (...
blakefrederick/sas-backend
modules/field_timer/js/field_timer.js
JavaScript
gpl-2.0
1,598
/* * (C) 2007-2010 Alibaba Group Holding Limited. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. * * * Version: $Id: test_batch_read.cpp 44 2010-11-12 07:43:00Z chuyu@taobao...
qqiangwu/annotated-tfs
tests/batch/test_batch_read.cpp
C++
gpl-2.0
7,158
namespace PowerPointLabs.ELearningLab.AudioGenerator { public class AzureAccount { private static AzureAccount instance; private string key; private string endpoint; public static AzureAccount GetInstance() { if (instance == null) { ...
PowerPointLabs/PowerPointLabs
PowerPointLabs/PowerPointLabs/ELearningLab/AudioGenerator/AzureVoiceGenerator/Model/AzureAccount.cs
C#
gpl-2.0
1,280
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use Hash; use App\Models\Link; use App\Models\User; use App\Helpers\UserHelper; class AdminController extends Controller { /** * Show the admin panel, and process admin AJAX requests. * * @return Response */ public function...
goeroe/polr
app/Http/Controllers/AdminController.php
PHP
gpl-2.0
2,212
package teammates.client.scripts; import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.File; import java.io.FileReader; import java.io.FileWriter; import java.io.IOException; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPol...
Gorgony/teammates
src/client/java/teammates/client/scripts/PerformanceProfiler.java
Java
gpl-2.0
22,398
/* * Copyright (C) 2013-2014 Stefan Ascher <sa14@stievie.mooo.com> * * This file is part of Giddo. * * Giddo 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 yo...
stievie/Giddo
js/datetime.js
JavaScript
gpl-2.0
2,848
/* * Copyright (c) 1998-2015 Caucho Technology -- all rights reserved * * This file is part of Baratine(TM)(TM) * * Each copy or derived work must preserve the copyright notice and this * notice unmodified. * * Baratine is free software; you can redistribute it and/or modify * it under the terms of the GNU Gen...
baratine/baratine
api/src/main/java/io/baratine/pipe/Message.java
Java
gpl-2.0
2,551
package org.caliog.myRPG.Mobs; import org.bukkit.entity.Entity; import org.caliog.myRPG.Manager; import org.caliog.myRPG.Entities.PlayerManager; import org.caliog.myRPG.Entities.myClass; import org.caliog.myRPG.Utils.EntityUtils; public class PetController { public static void controll() { for (final myClass pla...
caliog/myRPG
src/org/caliog/myRPG/Mobs/PetController.java
Java
gpl-2.0
811
/* Elysian Fields is a 2D game programmed in C# with the framework MonoGame Copyright (C) 2015 Erik Iwarson If you have any questions, don't hesitate to send me an e-mail at erikiwarson@gmail.com This program is free software; you can redistribute it and/or modify it under the terms of the GNU Ge...
Szune/Elysian-Fields
Elysian Fields/Elysian Fields/DamageObject.cs
C#
gpl-2.0
2,733
/* * Copyright 2001-2004 The Apache Software Foundation. * * 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...
BIORIMP/biorimp
BIO-RIMP/test_data/code/xerces/src/org/apache/xerces/impl/xs/SchemaGrammar.java
Java
gpl-2.0
49,139
// ********************************************************************** // // Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved. // // This copy of Ice is licensed to you under the terms described in the // ICE_LICENSE file included in this distribution. // // ***************************************************...
sbesson/zeroc-ice
cs/test/Ice/servantLocator/Collocated.cs
C#
gpl-2.0
1,521
// 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 distributed in the hope that it will be useful, ...
ChadSki/FeatherweightVirtualMachine
FVM_UI/fvmshell/misc/MinTrayBtn.cpp
C++
gpl-2.0
13,862
package com.pcab.marvel.model; /** * Summary type used for creators. */ public class RoleSummary extends Summary { /** * The role in the parent entity. */ private String role; public String getRole() { return role; } public void setRole(String role) { this.role = role...
pablocabrera85/marvel-api-client
src/main/java/com/pcab/marvel/model/RoleSummary.java
Java
gpl-2.0
330
/* ***** BEGIN LICENSE BLOCK ***** * Source last modified: $Id: test_velocity_caps.cpp,v 1.2 2005/03/14 19:36:42 bobclark Exp $ * * Portions Copyright (c) 1995-2004 RealNetworks, Inc. All Rights Reserved. * * The contents of this file, and the files included with this file, * are subject to the current version ...
muromec/qtopia-ezx
src/3rdparty/libraries/helix/src/common/util/test/test_velocity_caps.cpp
C++
gpl-2.0
8,664
/*************************************************************************** kgpanel.cpp - description ------------------- copyright : (C) 2003 by Csaba Karai copyright : (C) 2010 by Jan Lepper e-mail : krusader@users...
amatveyakin/skuire
krusader/Konfigurator/kgpanel.cpp
C++
gpl-2.0
21,856
var v = "题库题数:1546(2015.05.09更新)"; alert("脚本加载完成。\n如果您为使用此脚本支付了任何费用,那么恭喜您,您被坑了。\n\n按确定开始执行。"); var allQ = []; $(".examLi").each(function(){ allQ.push($(this).text()); }); var counter = 0; for(var i = 1; i <= 20; i++){ var thisQ = allQ[i].split(" "); var q = thisQ[64].substring(0, thisQ[64].length - 1); //问题...
mobaobaoss/mobaobaoss.github.io
timu1.js
JavaScript
gpl-2.0
3,742
package net.kolls.railworld.play; /* * Copyright (C) 2010 Steve Kollmansberger * * 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)...
Neschur/railworld
src/net/kolls/railworld/play/TrainCreator.java
Java
gpl-2.0
9,483
<?php /** * @version CVS: 1.0.0 * @package Com_Propertycontact * @author azharuddin <azharuddin.shaikh53@gmail.com> * @copyright 2017 azharuddin * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; // Include dependancies jimport('joomla.applicatio...
azharu53/kuwithome
components/com_propertycontact/propertycontact.php
PHP
gpl-2.0
676
/* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- * * The contents of this file are subject to the Netscape Public License * Version 1.0 (the "NPL"); you may not use this file except in * compliance with the NPL. You may obtain a copy of the NPL at * http://www.mozilla.org/NPL/ ...
shawn-vincent/moksa
src/com/svincent/smalljava/rhino/Label.java
Java
gpl-2.0
3,032
<?php /* * @version $Id: HEADER 15930 2011-10-30 15:47:55Z tsmr $ ------------------------------------------------------------------------- ocsinventoryng plugin for GLPI Copyright (C) 2015-2022 by the ocsinventoryng Development Team. https://github.com/pluginsGLPI/ocsinventoryng --------------------------------...
pluginsGLPI/ocsinventoryng
inc/ruleimportentity.class.php
PHP
gpl-2.0
8,763
package ika.geo.grid; import ika.geo.GeoGrid; import ika.geo.GeoObject; import ika.geoexport.ESRIASCIIGridExporter; import ika.geoimport.EsriASCIIGridReader; import java.io.IOException; import java.util.logging.Level; import java.util.logging.Logger; /** * Multiply the cell values of two grids. * @author Bernhard J...
OSUCartography/FlexProjector
src/ika/geo/grid/GridMultiplyOperator.java
Java
gpl-2.0
2,585
""" This is script doc string. """ g = 1 # block 1 at level 0 # this is a comment that starts a line after indent # this comment starts in column 1 h=2 # another inline comment # see if this comment is preceded by whitespace def f(a,b,c): # function with multiple returns """ This is...
ipmb/PyMetrics
PyMetrics/examples/sample.py
Python
gpl-2.0
1,928
package com.dovydasvenckus.timetracker.entry; import com.dovydasvenckus.timetracker.core.date.clock.DateTimeService; import com.dovydasvenckus.timetracker.core.pagination.PageSizeResolver; import com.dovydasvenckus.timetracker.core.security.ClientDetails; import com.dovydasvenckus.timetracker.project.Project; import c...
dovydasvenckus/time-tracker
src/main/java/com/dovydasvenckus/timetracker/entry/TimeEntryService.java
Java
gpl-2.0
4,153
<?php //Yii::import('application.extensions.EUploadedImage'); class MarketController extends Controller { /** * @var string the default layout for the views. Defaults to '//layouts/column2', meaning * using two-column layout. See 'protected/views/layouts/column2.php'. */ public $layout = '//la...
mianfiga/monedademos
protected/controllers/MarketController.php
PHP
gpl-2.0
14,834
/* * This source file is part of CaesarJ * For the latest info, see http://caesarj.org/ * * Copyright © 2003-2005 * Darmstadt University of Technology, Software Technology Group * Also see acknowledgements in readme.txt * * This program is free software; you can redistribute it and/or modify * it under the...
tud-stg-lang/caesar-compiler
src/org/caesarj/classfile/OpcodeNames.java
Java
gpl-2.0
4,355
<?php /** * @copyright Copyright (C) eZ Systems AS. All rights reserved. * @license For full copyright and license information view LICENSE file distributed with this source code. */ declare(strict_types=1); namespace eZ\Publish\API\Repository\Values\Content\Search\Facet; use eZ\Publish\API\Repository\Values\Cont...
gggeek/ezpublish-kernel
eZ/Publish/API/Repository/Values/Content/Search/Facet/FieldRangeFacet.php
PHP
gpl-2.0
1,081