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 1990-2006 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER
*
* This program 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 ... | tommythorn/yari | shared/cacao-related/phoneme_feature/cldc/src/vm/cpu/i386/CompiledMethod_i386.cpp | C++ | gpl-2.0 | 3,246 |
<?php
/* phpMyProfiler
* Copyright (C) 2005-2014 The phpMyProfiler project
*
* 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, or (at your option) any later versi... | hase77/phpmyprofiler | statistic/graph_productiondecade.php | PHP | gpl-2.0 | 3,852 |
/*
Kvalobs - Free Quality Control Software for Meteorological Observations
$Id: kvdatatest.cc,v 1.1.6.2 2007/09/27 09:02:31 paule Exp $
Copyright (C) 2007 met.no
Contact information:
Norwegian Meteorological Institute
Box 43 Blindern
0313 OSLO
NORWAY
e... | metno/kvalobs | src/lib/kvalobs/test/kvdatatest.cc | C++ | gpl-2.0 | 2,208 |
from ftw.upgrade import UpgradeStep
from plone import api
class AddLanguageIndex(UpgradeStep):
"""Add Language index."""
def __call__(self):
self.install_upgrade_profile()
ct = api.portal.get_tool("portal_catalog")
survey_results = ct(portal_type="euphorie.survey")
for brain i... | euphorie/Euphorie | src/euphorie/upgrade/deployment/v1/20210720143221_add_language_index/upgrade.py | Python | gpl-2.0 | 429 |
<?php
//author kwesidev
//gets customer profile as object
class Profile {
private $firstname;
private $lastname;
private $idnumber;
private $dob;
private $address;
private $mobilenumber;
private $email;
private $accnumber;
private $balance = 0;
private $acctype = "";
privat... | kwesidev/ibanksys | src/utils/Profile.php | PHP | gpl-2.0 | 2,609 |
/*
* Copyright 2006-2016 The MZmine 3 Development Team
*
* This file is part of MZmine 3.
*
* MZmine 3 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 opti... | DrewG/mzmine3 | src/main/java/io/github/mzmine/modules/featuretable/renderers/RtRenderer.java | Java | gpl-2.0 | 1,988 |
<?php
/*
Plugin Name: Gleam Shortcodes
Plugin URI: http://gleamfuture.com/gleam-shortcodes
Description: View the user information and logged-in users meta information
Author: Gleamfuture IT Services
Version: 1.0
License: GPL version 2 or any later version
Author URI: http://www.gleamfuture.com
Text Domain: gleam-shor... | Jaswinder/gleam-shortcodes | user-shortcodes.php | PHP | gpl-2.0 | 1,253 |
Encoding.default_external = "utf-8"
preferred_syntax = :scss
http_path = '/'
css_dir = '/css/'
sass_dir = '/sass'
images_dir = '/images'
javascripts_dir = '/js'
line_comments = false
output_style = :compressed
require 'autoprefixer-rails'
on_stylesheet_saved do |file|
css = File.read(file)
map = file + '.map'
... | DjKarui/speed-force | public/config.rb | Ruby | gpl-2.0 | 662 |
/*
* main.cpp
*
* Created on: 25 mar 2014
* Author: Mike
*/
// Inclusions
#include "main.h"
// Functions
void welcome(){
std::cout << "Project Euler v" << GLOBAL_CONST_VERSION;
}
// Main function
int main(int argc, char *argv[]){
if(argc <= 1){
if(argc == 1){
welcome();
}
... | anhility/project-euler | src/main.cpp | C++ | gpl-2.0 | 1,037 |
/**
* @file
* Provides functions that enable the selection of elements on a webpage, which can then be manipulated.
*
* HTML elements on the webpage that have a class containing '.selectable'
*/
// JavaScript should be made compatible with libraries other than jQuery by
// wrapping it with an "anonymous closure... | Droces/casabio | sites/all/modules/custom/selection/scripts/selection.js | JavaScript | gpl-2.0 | 15,835 |
<?php namespace buildr\ServiceProvider;
use buildr\Application\Application;
/**
* Service Provider. This class can handle all sort of service registration.
* This class job is to register services and handle loading of optional services.
*
* BuildR PHP Framework
*
* @author Zoltán Borsos <zolli07@gmail.com>
* ... | Zolli/BuildR | src/ServiceProvider/ServiceProvider.php | PHP | gpl-2.0 | 4,775 |
'use strict';
import BaseContentService from './BaseContentService.js';
import {Question} from 'common/models.js';
import {Injector} from 'kusema.js';
var I = new Injector('$http', '$q');
var QuestionService = function() {
BaseContentService.call(this, true);
I.init();
this.urlStem = 'api/questions';
}
Ques... | akdor1154/kusema | Client/lib/common/services/QuestionService.js | JavaScript | gpl-2.0 | 1,296 |
// **********************************************************************
//
// Copyright (c) 2003-2011 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.
//
// ***************************************************... | joshmoore/zeroc-ice | java/src/IceInternal/OutgoingConnectionFactory.java | Java | gpl-2.0 | 37,163 |
/**
* Exception class for illegal phone number format strings.
* @author Jonathan Hinkle
*/
package net.sf.memoranda;
/**
* This class is thrown when a string is not a valid phone number format.
*
* @author Jonathan Hinkle
*
*/
@SuppressWarnings("serial")
public class IllegalPhoneNumberException extends Ille... | cst316/spring16project-Team-Chicago | src/net/sf/memoranda/IllegalPhoneNumberException.java | Java | gpl-2.0 | 614 |
<?php
declare(strict_types=1);
namespace PoPCMSSchema\Users\ConditionalOnComponent\CustomPosts\ConditionalOnComponent\API\ModuleProcessors;
use PoP\Root\App;
use PoPAPI\API\ModuleProcessors\AbstractRelationalFieldDataloadModuleProcessor;
use PoP\ComponentModel\QueryInputOutputHandlers\ListQueryInputOutputHandler;
us... | leoloso/PoP | layers/CMSSchema/packages/users/src/ConditionalOnComponent/CustomPosts/ConditionalOnComponent/API/ModuleProcessors/FieldDataloadModuleProcessor.php | PHP | gpl-2.0 | 3,656 |
# -*- coding: utf-8 -*-
#
# This file is part of Zenodo.
# Copyright (C) 2016 CERN.
#
# Zenodo 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 v... | lnielsen/zenodo | tests/unit/github/test_api.py | Python | gpl-2.0 | 10,739 |
/**
A modal view for handling user logins
@class LoginView
@extends Discourse.ModalBodyView
@namespace Discourse
@module Discourse
**/
Discourse.LoginView = Discourse.ModalBodyView.extend({
templateName: 'modal/login',
siteBinding: 'Discourse.site',
title: Em.String.i18n('login.title'),
authenticate:... | SuperSonicDesignINC/FXDD | app/assets/javascripts/discourse/views/modal/login_view.js | JavaScript | gpl-2.0 | 4,631 |
<?php $wl_theme_options = weblizar_get_options(); ?>
<div class="block ui-tabs-panel active" id="option-general" >
<form method="post" id="weblizar_theme_options_general">
<div id="heading">
<table style="width:100%;"><tr>
<td cols=2 ><h2><?php _e('General Settings','weblizar');?></h2></td>
<td style="wi... | eq0rip/Hamroreview.com | wp-content/themes/weblizar/core/theme-options/option-settings.php | PHP | gpl-2.0 | 68,175 |
/* global Package, Npm */
Package.describe({
name: 'procempa:keycloak-auth',
version: '1.0.0',
summary: 'Meteor Keycloak Handshake flow',
git: 'https://github.com/Procempa/meteor-keycloak-auth.git',
documentation: 'README.md'
});
Package.onUse(function(api) {
api.use('ecmascript@0.1.4');
api.use('service-confi... | Procempa/meteor-keycloak-auth | package.js | JavaScript | gpl-2.0 | 808 |
/**
* XTemplate 所有的扩展函数集合,用于处理html中常见的格式转换,默认值等处理。
* 如果需要自行扩展,请使用window.Render的addFunc函数
*
* @class Render.funcs
*/
(function (r, undefined) {
'use strict';
/**
* 指定输出的默认值,如果有值就原样输出,如果空或是null,就输出默认值。
*
* 示例:
*
* {name|default,'小明'}
*
* @method default
* @param va... | seefan/xtemplate | src/funcs.js | JavaScript | gpl-2.0 | 8,148 |
import org.checkerframework.checker.nullness.qual.*;
import org.checkerframework.dataflow.qual.Pure;
class Node {
int id;
@Nullable Node next;
Node(int id, @Nullable Node next) {
this.id = id;
this.next = next;
}
}
class SubEnumerate {
protected @Nullable Node current;
public... | Jianchu/checker-framework | checker/tests/nullness/EnsuresNonNullIfInheritedTest.java | Java | gpl-2.0 | 934 |
<?php
/**
* File containing the eZURLAlias class.
*
* @copyright Copyright (C) 1999-2012 eZ Systems AS. All rights reserved.
* @license http://www.gnu.org/licenses/gpl-2.0.txt GNU General Public License v2
* @version 2012.2
* @package kernel
*/
/*!
\class eZURLAliasML ezurlaliasml.php
\brief Handles URL al... | jim835/qscene_ez | kernel/classes/ezurlaliasml.php | PHP | gpl-2.0 | 89,926 |
/* Copyright (c) 2008, 2013, 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 the h... | mmplayer/MySQL | storage/perfschema/table_threads.cc | C++ | gpl-2.0 | 10,137 |
/*
* Copyright (C) 2013-2016 Parallel and Reconfigurable Computing Group, University of Auckland.
*
* Authors: <http://homepages.engineering.auckland.ac.nz/~parallel/ParallelIT/People.html>
*
* This file is part of Pyjama, a Java implementation of OpenMP-like directive-based
* parallelisation compiler and its r... | ParallelAndReconfigurableComputing/Pyjama | src/pj/pr/task/VirtualTarget.java | Java | gpl-2.0 | 1,193 |
/*
* Modern effects for a modern Streamer
* Copyright (C) 2017 Michael Fabian Dirks
*
* 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... | Xaymar/obs-stream-effects | source/obs/gs/gs-indexbuffer.cpp | C++ | gpl-2.0 | 2,065 |
/*
* ----------------------------------------------------------------------------
* Copyright (c) 2012-2013, xSky <guozhw at gmail dot com>
* All rights reserved.
* Distributed under GPL license.
* ----------------------------------------------------------------------------
*/
#include <event.h>
#inclu... | caibaibai/xblog | xBlog.cpp | C++ | gpl-2.0 | 10,012 |
/**
* <p>Title: ClipboardListener.java</p>
* <p>Description: </p>
* <p>Copyright: Copyright (c) 2005</p>
* <p>Company: NASA Ames Research Center</p>
* @author Ronald Mak & Luca Severini <lucaseverini@mac.com>
* @version 2.0
*/
package rope1401;
import java.awt.*;
import java.awt.datatransfer.*;
public cla... | lucaseverini/ROPE | src/rope1401/ClipboardListener.java | Java | gpl-2.0 | 1,713 |
<?php
namespace Solution\MongoAggregation\Pipeline\Operators\Date;
use Solution\MongoAggregation\Pipeline\Operators\Operator;
class Minute extends Operator
{
function getName()
{
return 'minute';
}
} | f1nder/SolutionPipelineBuilder | src/Solution/MongoAggregation/Pipeline/Operators/Date/Minute.php | PHP | gpl-2.0 | 223 |
// This is a manifest file that'll be compiled into application.js, which will include all the files
// listed below.
//
// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
// or vendor/assets/javascripts of plugins, if any, can be referenced here using a relative pat... | PatrickVChung/reindeer | app/assets/javascripts/application.js | JavaScript | gpl-2.0 | 1,679 |
package com.lgvalle.beaufitulphotos.fivehundredpxs.model;
import com.lgvalle.beaufitulphotos.R;
/**
* Created by luis.gonzalez on 23/07/14.
* Enum to represent service features
*/
public enum Feature {
Popular("popular", R.string.feature_popular),
HighestRated("highest_rated", R.string.feature_highest_rated);
... | lgvalle/Beautiful-Photos | app/src/main/java/com/lgvalle/beaufitulphotos/fivehundredpxs/model/Feature.java | Java | gpl-2.0 | 553 |
/**
* Copyright (C) 2007-2016 52North Initiative for Geospatial Open Source
* Software GmbH
*
* 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.
*
* If the program is linked with ... | 52North/triturus | src/main/java/org/n52/v3d/triturus/gisimplm/GmSimpleElevationGrid.java | Java | gpl-2.0 | 17,502 |
/* WZPlayer, GUI front-end for mplayer and MPV.
Parts copyright (C) 2006-2015 Ricardo Villalba <rvm@users.sourceforge.net>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either vers... | wilbert2000/smplayer | src/settings/filesettingsbase.cpp | C++ | gpl-2.0 | 1,100 |
<?php
/**
* @file
* Default simple view template to display a list of rows.
*
* @ingroup views_templates
*/
?>
<?php if (!empty($title)): ?>
<h3><?php print $title; ?></h3>
<?php endif; ?>
<div class="our-works-slider"><?php foreach ($rows as $id => $row): ?>
<div<?php if ($classes_array[$id]) { ... | farruhmirisoev/mir | sites/all/themes/mytheme/templates/views-view-unformatted--view-our-work--block.tpl.php | PHP | gpl-2.0 | 439 |
class CreateSellers < ActiveRecord::Migration
def change
create_table :sellers do |t|
t.integer :personId, null:false
t.integer :document, null:false
t.string :username, null:false, :limit =>50
t.string :userLastName, null:false, :limit =>50
t.string :email, null:false, :limit =>50... | dialpapu/bikesis | project/db/migrate/20141016223008_create_sellers.rb | Ruby | gpl-2.0 | 567 |
using System;
using System.Windows.Threading;
using PowerPointLabs.PictureSlidesLab.Thread.Interface;
namespace PowerPointLabs.PictureSlidesLab.Thread
{
class ThreadContext : IThreadContext
{
private readonly Dispatcher _dispatcher;
public ThreadContext(Dispatcher dispatcher)
{
... | PowerPointLabs/PowerPointLabs | PowerPointLabs/PowerPointLabs/PictureSlidesLab/Thread/ThreadContext.cs | C# | gpl-2.0 | 589 |
package spiridon.carorder.caritems;
public class AlloyRimsCarItem extends CarItem {
@Override
public double getPrice() {
return 100;
}
@Override
public String getName() {
// TODO Auto-generated method stub
return "Jante Aliaj";
}
}
| sorelmitra/edu | carorder/src/spiridon/carorder/caritems/AlloyRimsCarItem.java | Java | gpl-2.0 | 248 |
/**
*
*/
package edu.ku.brc.specify.tools.export;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileWriter;
import java.io.IOException;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.List;
import ... | specify/specify6 | src/edu/ku/brc/specify/tools/export/CmdAppBase.java | Java | gpl-2.0 | 13,017 |
/*
ZynAddSubFX - a software synthesizer
Alienwah.C - "AlienWah" effect
Copyright (C) 2002-2005 Nasca Octavian Paul
Author: Nasca Octavian Paul
Modified for rakarrack by Josep Andreu
This program is free software; you can redistribute it and/or modify
it under the terms of version 2 of the GNU General P... | Stazed/rakarrack | src/Alienwah.C | C++ | gpl-2.0 | 6,852 |
/* Copyright (c) 2003, 2016, 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... | gunnarku/mysql-8.0 | storage/ndb/src/kernel/blocks/dbacc/DbaccMain.cpp | C++ | gpl-2.0 | 339,088 |
<?php
/**
*
* Types Marketing Class
*
* $HeadURL: https://www.onthegosystems.com/misc_svn/cck/tags/1.6.6.5/classes/class.wpcf-marketing-messages.php $
* $LastChangedDate: 2015-03-19 17:22:58 +0000 (Thu, 19 Mar 2015) $
* $LastChangedRevision: 32503 $
* $LastChangedBy: juan $
*
*/
include_once dirname(__FILE__)... | juliusmiranda/wordpress | wp-content/plugins/types/classes/class.wpcf-marketing-messages.php | PHP | gpl-2.0 | 11,944 |
/**************************************************************************\
*
* FILE: Int16Record.cpp
*
* This source file is part of DIME.
* Copyright (C) 1998-1999 by Systems In Motion. All rights reserved.
*
* This library is free software; you can redistribute it and/or modify it
* under the terms o... | h4ck3rm1k3/TwoNickels | src/records/Int16Record.cpp | C++ | gpl-2.0 | 2,623 |
/*
* Copyright (C) 2008-2019 TrinityCore <https://www.trinitycore.org/>
* Copyright (C) 2005-2009 MaNGOS <http://getmangos.com/>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either ve... | 123xlex/TrinityCore | src/server/game/Guilds/Guild.cpp | C++ | gpl-2.0 | 100,940 |
<?php
namespace Album\Model;
/**
*
* @author Rogerio Lamarques
*
*/
use Zend\Db\TableGateway\TableGateway;
class AlbumTable
{
protected $tableGateway;
public function __construct(TableGateway $tableGateway)
{
$this->tableGateway = $tableGateway;
}
public function fetchAll()
... | lamarques/Zend-studies | module/Album/src/Album/Model/AlbumTable.php | PHP | gpl-2.0 | 1,418 |
<?php
/**
* This file has been @generated by a phing task by {@link BuildMetadataPHPFromXml}.
* See [README.md](README.md#generating-data) for more information.
*
* Pull requests changing data in these files will not be accepted. See the
* [FAQ in the README](README.md#problems-with-invalid-numbers] on how to make... | THECALLR/callr-woocommerce | admin/vendor/giggsey/libphonenumber-for-php/src/libphonenumber/data/PhoneNumberMetadata_PE.php | PHP | gpl-2.0 | 5,143 |
class RenameOrdeLineToOrderDetail < ActiveRecord::Migration
def change
rename_table :order_lines, :order_details
end
end
| carojasq/miscelanea | db/migrate/20141104132104_rename_orde_line_to_order_detail.rb | Ruby | gpl-2.0 | 128 |
<?php
/* core/themes/classy/templates/navigation/breadcrumb.html.twig */
class __TwigTemplate_409f5f562164b0f9049b70e0b01c2edc7c70d123e0f9fa1f2378198c8de96bdf extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
$this->parent = false;
... | sachinsuryavanshi/sachlife-xampp | sites/default/files/php/twig/5b08fe9a00394_breadcrumb.html.twig_bpT9qXxQz_4B9K3QemSggcJmT/IVc0q79j4Y19Uv2OOMsPaLuNWKUUGGyreYxX9ChfHYA.php | PHP | gpl-2.0 | 4,970 |
/*******************************************************************************
JimmLangFileTool - Simple Java GUI for editing/comparing Jimm language files
Copyright (C) 2005 Jimm Project
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
a... | fin-nick/fj | util/jlft2/src/jimmLangFileTool/LGFileSubset.java | Java | gpl-2.0 | 2,216 |
//
// Created by 孙启龙 on 2017/8/18.
//
#include<cstdio>
#include<iostream>
#include<cstring>
#include<algorithm>
#include<cmath>
#include<vector>
#include<queue>
#include<map>
#include<set>
#include<ctime>
using namespace std;
typedef long long ll;
#define INF 0x3f3f3f3f
#define maxn 1111
char c[] = {'A', 'H', 'I', 'M... | sunmoyi/ACM | acm clion/Secure but True 2/Secure but True .cpp | C++ | gpl-2.0 | 1,332 |
/*
This file is part of the OdinMS Maple Story Server
Copyright (C) 2008 Patrick Huy <patrick.huy@frz.cc>
Matthias Butz <matze@odinms.de>
Jan Christian Meyer <vimes@odinms.de>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero Genera... | xstory61/server | src/server/expeditions/MapleExpeditionType.java | Java | gpl-2.0 | 2,190 |
package com.byhealth.wechat.mysdk.process.in.executor;
import com.byhealth.wechat.base.admin.entity.RespMsgActionEntity;
import com.byhealth.wechat.config.MsgTemplateConstants;
import com.byhealth.wechat.mysdk.constants.WechatReqMsgtypeConstants;
import com.byhealth.wechat.mysdk.context.WechatContext;
import com.byhea... | huangyaoming/wxtest | src/com/byhealth/wechat/mysdk/process/in/executor/InWechatTextMsgExecutor.java | Java | gpl-2.0 | 1,776 |
/*
* MultiSelect v0.9.8
* Copyright (c) 2012 Louis Cuny
*
* This program is free software. It comes without any warranty, to
* the extent permitted by applicable law. You can redistribute it
* and/or modify it under the terms of the Do What The Fuck You Want
* To Public License, Version 2, as published by Sam Hocevar. ... | jvvlimme/www.zenstore.dev | wp-content/plugins/codespacing-progress-map/js/jquery.multi-select.js | JavaScript | gpl-2.0 | 17,428 |
#include "person.h"
Person::Person()
{
hunger=0;
toilet=0;
WaitForDo=0;
}
void Person::AddToDo(Deal todo, float time)
{
ToDoList.append(qMakePair(todo,time));
if (WaitForDo==0) WaitForDo=time;
}
void Person::CheckDeal()
{
WaitForDo-=1;
if (WaitForDo<0)
{
if (!ToDoList.isEmpt... | SteeveRan/town | town/person.cpp | C++ | gpl-2.0 | 895 |
<?php
// We are adding thumbnail support for forums
add_action('init', 'firmasite_social_bbpress_init');
function firmasite_social_bbpress_init() {
add_post_type_support( 'forum', 'thumbnail' );
}
// We are adding bbpress support for theme special systems
add_action('firmasite_pre_get_posts_ekle', 'firmasit... | simonkim/wp-weirdmeetup | wp-content/themes/firmasite/functions/bbpress.php | PHP | gpl-2.0 | 10,073 |
<?php
return array(
'auth_url' => 'https://auth.selcdn.ru',
'auth_user' => '20531_test0',
'auth_key' => 'RP0crKEwNw',
'container_name' => 'test0',
'container_url' => 'https://71015.selcdn.ru/test0',
'container_secret_key' => 'sjdahsasajkslamdakdjh',
);
| fhteam/selectel-storage-api | tests/data/config.php | PHP | gpl-2.0 | 278 |
<?php
defined( '_JEXEC' ) or die( 'Restricted access' );
require_once( JPATH_COMPONENT.DS.'controller.php' );
// Require specific controller if requested
if($controller = JRequest::getWord('controller')) {
$path = JPATH_COMPONENT.DS.'controllers'.DS.$controller.'.php';
if (file_exists($path)) {
re... | grlf/eyedock | administrator/components/com_gplab/gplab.php | PHP | gpl-2.0 | 639 |
<iframe id="change_password_frame" name="change_password_frame" style="border: 0; width: 100%;height: 40px;overflow: auto">
</iframe>
<form class="normosa-ui-form" target="change_password_frame" method="post" action="<?php echo CONTEXT_PATH ?>/backend/plantation-city/users?action=update-password">
<div class="ro... | anytimestream/genesisville | views/backend/pc/user-change-password-form.php | PHP | gpl-2.0 | 908 |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("DS... | sdl/Sdl-Community | Code samples/DSIViewerPoC/DSIViewerPoC/Properties/AssemblyInfo.cs | C# | gpl-2.0 | 1,400 |
<?php
/**
* Elgg users
* Functions to manage multiple or single users in an Elgg install
*
* @package Elgg.Core
* @subpackage DataModel.User
*/
/// Map a username to a cached GUID
global $USERNAME_TO_GUID_MAP_CACHE;
$USERNAME_TO_GUID_MAP_CACHE = array();
/// Map a user code to a cached GUID
global $CODE_TO_GUID... | pingwangcs/51zhaohu | engine/lib/users.php | PHP | gpl-2.0 | 45,519 |
/**********************************************************************
Audacity: A Digital Audio Editor
Envelope.cpp
Dominic Mazzoni (original author)
Dr William Bland (integration - the Calculus kind)
Monty (xiphmont) (important bug fixes)
****************************************************************... | ThomasFeher/audacity | src/Envelope.cpp | C++ | gpl-2.0 | 49,441 |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<style>
body{
font-family: "Helvetica Neue", "Helvetica", "Arial", sans-serif;
background-color: #EEE;
}
#wide{
border-top: 15px solid #853B45;
padding: 15px;
padding-top:... | nicoverbruggen/openshowcase | app/views/emails/resetpassword.blade.php | PHP | gpl-2.0 | 1,412 |
<?php
/**
* @package Joomla.Plugin
* @subpackage Editors-xtd.fields
*
* @copyright Copyright (C) 2005 - 2020 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\Component\ComponentHelper;
... | twister65/joomla-cms | plugins/editors-xtd/fields/fields.php | PHP | gpl-2.0 | 2,629 |
<?php
/* --------------------------------------------------------------
protected_shops_handlungsanleitung.php 2014-02-28_1207 mabr
Gambio GmbH
http://www.gambio.de
Copyright (c) 2014 Gambio GmbH
Released under the GNU General Public License (Version 2)
[http://www.gnu.org/licenses/gpl-2.0.html]
--------... | khadim-raath/gambioTest | media/content/protected_shops_handlungsanleitung.php | PHP | gpl-2.0 | 1,273 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace YouWalk.Portal.Controllers
{
public class IndexController : Controller
{
public ActionResult Index()
{
return View();
}
}
} | rakhmanoff/YouWalk | YouWalk/Controllers/IndexController.cs | C# | gpl-2.0 | 292 |
#include "renderer.h"
#include "controller.h"
#include "renderableobject.h"
#include <QtQuick/qquickwindow.h>
#include <QtGui/QOpenGLShaderProgram>
#include <QtGui/QOpenGLContext>
#include <QGLFormat>
#include <QOpenGLContext>
#include <iostream>
#include <cmath>
#include <QOpenGLFramebufferObjectFormat>
using namespa... | andeplane/SimpleVisualizer | renderer.cpp | C++ | gpl-2.0 | 2,012 |
/*
* #%L
* VisBio application for visualization of multidimensional biological
* image data.
* %%
* Copyright (C) 2002 - 2014 Board of Regents of the University of
* Wisconsin-Madison.
* %%
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public Lic... | uw-loci/visbio | src/main/java/loci/visbio/VisBio.java | Java | gpl-2.0 | 4,536 |
<?php
if( !defined( '_VALID_MOS' ) && !defined( '_JEXEC' ) ) die( 'Direct Access to '.basename(__FILE__).' is not allowed.' );
/**
* The configuration file for VirtueMart
*
* @package VirtueMart
* @subpackage core
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php
* VirtueMart is free software. Th... | kuwox/wwwfranar | administrator/components/com_virtuemart/virtuemart.cfg.php | PHP | gpl-2.0 | 6,791 |
<?php
defined( 'ABSPATH' ) or die( 'You cannot access this script directly' );
// Hook importer into admin init
add_action( 'admin_init', 'hb_importer' );
function hb_importer() {
global $wpdb;
if ( current_user_can( 'manage_options' ) && isset( $_GET['import_content_data'] ) ) {
if ( !defined('WP_LOAD_IMPORTERS')... | czucker/genco | wp-content/themes/HighendWP/includes/plugins/importer/importer.php | PHP | gpl-2.0 | 33,687 |
/******************************************************************************
* Copyright (C) 2011 Kenos Assessoria e Consultoria de Sistemas Ltda *
* Copyright (C) 2011 Ricardo Santana *
* This program is free software; you can redistribute it and/or modify it ... | arthurmelo88/palmetalADP | palmetal_to_lbrk/base/src/org/adempierelbr/model/MLBRTaxConfigProduct.java | Java | gpl-2.0 | 2,274 |
/*
* TODO: license
*/
package ca.mbabic.headphonecontroller.statemachine;
import java.lang.Thread.State;
import java.util.concurrent.Semaphore;
import android.util.Log;
import ca.mbabic.headphonecontroller.services.MediaButtonListenerService;
/**
* State machine keeping track of the state of the but... | mbabic/HeadphoneController | src/ca/mbabic/headphonecontroller/statemachine/HCStateMachine.java | Java | gpl-2.0 | 4,900 |
#!/usr/bin/env python
import os
from setuptools import setup
from subprocess import call
from sys import platform, argv
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
SCRIPTS = ["src/bg_daemon/background_daemon.py"]
# only compile quack when none of these options are chosen... | echenran/bg_daemon | setup.py | Python | gpl-2.0 | 1,862 |
/*
* 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/scripts/World/boss_emerald_dragons.cpp | C++ | gpl-2.0 | 24,419 |
<?php
/*
------------------
Language: Français (French)
------------------
*/
$LANG['COORD_MAP'] = 'Carte de Coordonnées de Liste';
$LANG['NO_COORDS'] = 'Votre requête ne contient apparemment aucun enregistrement avec des coordonnées pouvant être cartographiées';
$LANG['MAYBE_RARE'] = 'Il se peut que les échantillons ... | egbot/Symbiota | content/lang/checklists/checklistmap.fr.php | PHP | gpl-2.0 | 429 |
#region License
/*
* This file is part of uEssentials project.
* https://uessentials.github.io/
*
* Copyright (C) 2015-2018 leonardosnt
*
* 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 F... | uEssentials/uEssentials | src/Commands/CommandRefuelVehicle.cs | C# | gpl-2.0 | 2,730 |
"""
Stateful module base class and interface description.
All stateful Python modules
- Get Skype4Py Skype instance on init - have full control over Skype and
thus are not limited to !command handlers
- Reside in the some modules/ folder as UNIX script modules
- Have .py extension and be ... | mikemike/SkypeBot | unused-modules/stateful.py | Python | gpl-2.0 | 2,755 |
<?php
/*
Plugin Name: Allowed posttags
Plugin URI:
Description: 特権管理者じゃなくてもdlとかのclassを消されたり、WordPress Importerで投稿をインポートした時記事内にiframeとかobjectとかあっても消されたりしないようにする。(<a href="http://ja.forums.wordpress.org/topic/6393?replies=4" target="_blank">元ネタはこちら</a>)
Author: Kei Nomura
Version: 1.0
*/
function set_allowedposttags($co... | mypacecreator/my_allowedposttags | allowedposttags.php | PHP | gpl-2.0 | 1,349 |
<?php
/**
* Template Name: WDM Search Page
*/
include(WP_PLUGIN_DIR.'/wdm-search/wdm-query.php');
global $wp_query, $product_page_width, $product_sidebar, $product_sidebar_width;
$product_sidebar = false;
if (prima_get_option('themelayout') == 'boxed') {
$product_page_width = 665;
}
else {
$product_page_width... | GiorgioNatili/windmaniacs | wp-content/themes/yourflexishop/b4ksearchpage.php | PHP | gpl-2.0 | 2,699 |
/*
Copyright (C) 2005 Wolfgang Becker <uafr@gmx.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 2 of the License, or
(at your option) any later version.
This program is distribute... | javiercantero/lincity-ng | src/lincity-ng/GameView.cpp | C++ | gpl-2.0 | 69,238 |
/***************************************************************************
* Copyright (C) 2010 by Kai Dombrowe <just89@gmx.de> *
* *
* This program is free software; you can redistribute it and/or modify *
* it unde... | hippich/recorditnow | src/upload/videopage.cpp | C++ | gpl-2.0 | 3,534 |
using System;
using System.Text.RegularExpressions;
using SelfMediaDatabase.Core.Operations.Prune;
using System.Collections.Generic;
namespace SelfMediaDatabase.Core.Operations
{
public static class FileFilterProvider
{
private static readonly Regex _tagFileRegex;
private static readonly Regex _pruneHisto... | crabouif/Self-Media-Database | SelfMediaDatabase.Core/Operations/FileFilterProvider.cs | C# | gpl-2.0 | 1,602 |
/**
* OWASP Benchmark Project v1.1
*
* 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 Benchmark is free software: you can redistribute it and/... | iammyr/Benchmark | src/main/java/org/owasp/benchmark/testcode/BenchmarkTest12371.java | Java | gpl-2.0 | 3,211 |
using UnityEngine;
public static class AnimationCurveExtensions {
public static AnimationCurve Clamp(this AnimationCurve curve, float minTime, float maxTime, float minValue, float maxValue) {
for (int i = 0; i < curve.keys.Length; i++) {
Keyframe key = curve.keys[i];
if (key.time < minTime || key.time > max... | Magicolo/LibPd4UnityTools | PDPlayerExample/Assets/Other Assets/Magicolo/GeneralTools/Utils/Extensions/AnimationCurveExtensions.cs | C# | gpl-2.0 | 632 |
<?php
//DRY don't repeat yourself
$tipo_usuario = array('Adm','FBA','Lab');
require_once '../validarSesion.php';
require_once '../../model/resultado_interface.php';
require_once '../../model/laboratorio_interface.php';
$parametro_template = 'abm/resultado.html';
$parametro_columnas = Array('ID_RESULTADO','COMENTARIO'... | ggoral/improved_login | controller/tablas/controller.resultado.php | PHP | gpl-2.0 | 1,303 |
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Microsoft.Win32;
using Sdl.Community.XLIFF.Manager.Common;
using Sdl.Community.XLIFF.Manager.Interfaces;
namespace Sdl.Community.XLIFF.Manager.Service
{
public class DialogService : IDialogService
{
public List<string> ShowFileDialog(stri... | sdl/Sdl-Community | XLIFF.Manager/XLIFF.Manager/Service/DialogService.cs | C# | gpl-2.0 | 1,168 |
<?php
/**
* Created by PhpStorm.
* User: Firdavs Murodov
* Date: 4/20/15
* Time: 8:59 AM
*/
require 'config.php';
// $_user_ = 'test';
// $_password_ = 'test';
session_start();
$url_action = (empty($_REQUEST['action'])) ? 'logIn' : $_REQUEST['action'];
$auth_realm = (isset($auth_realm)) ? $auth_realm : '';
if (... | firdavsich/dashboard | auth.php | PHP | gpl-2.0 | 2,309 |
/***************************************************************************
qgsvertextool.cpp
--------------------------------------
Date : February 2017
Copyright : (C) 2017 by Martin Dobias
Email : wonder dot sk at gmail dot com
***********************************... | dgoedkoop/QGIS | src/app/vertextool/qgsvertextool.cpp | C++ | gpl-2.0 | 72,948 |
from sqlalchemy.ext.declarative import declarative_base
from sqlalchemy.orm import (
scoped_session,
sessionmaker,
)
from zope.sqlalchemy import ZopeTransactionExtension
import tornado.web
from handlers.index import IndexHandler
from handlers.sensors import SensorsHandler
import logging
logging.getLogger(... | nextgis/entels_front_demo | entels_demo_tornado/__init__.py | Python | gpl-2.0 | 548 |
<?php
namespace VMeC\VmecChurches\Domain\Repository;
/***************************************************************
*
* Copyright notice
*
* (c) 2014 Christoph Fischer <christoph.fischer@volksmission.de>, Volksmission entschiedener Christen e.V.
*
* All rights reserved
*
* This script is part of the TYP... | Volksmission/vmec_churches | Classes/Domain/Repository/AddressRepository.php | PHP | gpl-2.0 | 1,198 |
<?php
/**
* @file
* Default theme implementation to display a printer-friendly version page.
*
* This file is akin to Drupal's page.tpl.php template. The contents being
* displayed are all included in the $content variable, while the rest of the
* template focuses on positioning and theming the other page elemen... | heliogabal/karus_theme | templates/print.tpl.php | PHP | gpl-2.0 | 4,821 |
/*
* Copyright (C) Johan Engelen 2007-2008 <j.b.c.engelen@utwente.nl>
* Abhishek Sharma
*
* Released under GNU GPL, read the file 'COPYING' for more information
*/
#include "live_effects/lpeobject.h"
#include "live_effects/effect.h"
#include "xml/repr.h"
#include "xml/node-event-vector.h"
#include "sp-object.... | danieljabailey/inkscape_experiments | src/live_effects/lpeobject.cpp | C++ | gpl-2.0 | 5,686 |
class SectionsController < ApplicationController
authorize_resource
def index
flash.keep
redirect_to courses_path
end
def new
@section = Section.new
@section.course = Course.find(params[:course_id])
end
def create
@section = Section.new(section_params)
@section.course = Course.fin... | epicodus/textbook | app/controllers/sections_controller.rb | Ruby | gpl-2.0 | 1,356 |
package com.rarnu.tools.neo.activity;
import android.Manifest;
import android.app.AlertDialog;
import android.app.Fragment;
import android.content.pm.PackageManager;
import android.os.Build;
import android.os.Bundle;
import com.rarnu.tools.neo.R;
import com.rarnu.tools.neo.api.NativeAPI;
import com.rarnu.tools.neo.bas... | baijian/root-tools | RootTools2/src/main/java/com/rarnu/tools/neo/activity/MainActivity.java | Java | gpl-2.0 | 3,185 |
package xzd.mobile.android.common;
import java.io.ByteArrayOutputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.sql.Timestamp;
import java.text.SimpleDateFormat;
imp... | zhanglei920802/ypgl | src/xzd/mobile/android/common/ImageUtils.java | Java | gpl-2.0 | 18,019 |
package org.uppermodel.translog;
import java.util.LinkedList;
import java.util.List;
import org.uppermodel.translog.v0v1v0.Event;
import org.w3c.dom.Document;
import org.w3c.dom.Element;
import org.w3c.dom.Node;
import org.w3c.dom.NodeList;
import javax.xml.xpath.XPath;
import javax.xml.xpath.XPathConstants;
import ... | DanielCoutoVale/TranslogToolset | src/org/uppermodel/translog/TranslogDocument_0_1_0.java | Java | gpl-2.0 | 4,381 |
// Copyright (C) 2012-2016 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library 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, or (at your op... | paranoiacblack/gcc | libstdc++-v3/testsuite/23_containers/set/debug/iterator_self_move_assign_neg.cc | C++ | gpl-2.0 | 992 |
package com.catglo.dashplaygroundfree;
import java.util.LinkedList;
import android.app.Activity;
import android.content.Context;
import android.content.res.Resources;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.graphics.Canvas;
import android.graphics.Paint;
import android.gr... | marchold/DashAndDittosPlayground | PlaygroundFree/src/com/catglo/dashplaygroundfree/MenuExecutor.java | Java | gpl-2.0 | 973 |
<?php
/**
* Loads the correct file using the get_template_part function
*
* @package Total
* @author Alexander Clarke
* @copyright Copyright (c) 2014, Symple Workz LLC
* @link http://www.wpexplorer.com
* @since Total 1.40
*/
if ( ! function_exists( 'wpex_get_template_part' ) ) {
function wpex_get_template_par... | poppalex/VLAA_dev | wp-content/themes/Total/framework/template-parts.php | PHP | gpl-2.0 | 1,184 |
/*
* This file is part of the TrinityCore Project. See AUTHORS file for Copyright information
*
* 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
... | AshamaneProject/AshamaneCore | src/server/game/Spells/Spell.cpp | C++ | gpl-2.0 | 327,065 |
<?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\Matroska;
use PHPExiftool\Driver\AbstractTag;
class Co... | Droces/casabio | vendor/phpexiftool/phpexiftool/lib/PHPExiftool/Driver/Tag/Matroska/CodecInfoURL.php | PHP | gpl-2.0 | 721 |
package org.rosuda.deducer.widgets.event;
import java.awt.event.KeyEvent;
import java.awt.event.KeyListener;
public class RKeyListener extends RListener implements KeyListener{
public void keyPressed(KeyEvent arg0) {
eventOccured(arg0,"keyPressed");
}
public void keyReleased(KeyEvent arg0) {
eventOccured(arg... | ifellows/Deducer | org/org/rosuda/deducer/widgets/event/RKeyListener.java | Java | gpl-2.0 | 420 |
package org.apache.xmlrpc;
public interface SessionHandler {
void checkSession(Integer SessionId, Integer UserId) throws InvalidSessionException;
}
| BayCEER/bayeos-xmlrpc | src/main/java/org/apache/xmlrpc/SessionHandler.java | Java | gpl-2.0 | 156 |