repo_name stringlengths 4 116 | path stringlengths 4 379 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
iammyr/Benchmark | src/main/java/org/owasp/benchmark/testcode/BenchmarkTest16729.java | 1874 | /**
* 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/... | gpl-2.0 |
sd44/TaobaoCppQtSDK | TaoApiCpp/response/IncrementCustomerStopResponse.cpp | 436 | #include <TaoApiCpp/response/IncrementCustomerStopResponse.h>
bool IncrementCustomerStopResponse::getIsSuccess() const {
return isSuccess;
}
void IncrementCustomerStopResponse::setIsSuccess (bool isSuccess) {
this->isSuccess = isSuccess;
}
void IncrementCustomerStopResponse::parseNormalResponse() {
parseError()... | gpl-2.0 |
nico202/spikestream | library/src/xml/XMLParameterParser.cpp | 3606 | //SpikeStream includes
#include "XMLParameterParser.h"
#include "SpikeStreamXMLException.h"
using namespace spikestream;
//Qt includes
#include <QDebug>
/*! Constructor */
XMLParameterParser::XMLParameterParser(){
}
/*! Destructor */
XMLParameterParser::~XMLParameterParser(){
}
/*--------------------------------... | gpl-2.0 |
AliZafar120/NetworkStimulatorSPl3 | examples/epidemic-test.cc | 3003 | /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
/*
* 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;
*
* This program is distributed in the hope that it will be us... | gpl-2.0 |
lmorg/murex | shell/autocomplete/flags_test.go | 22436 | package autocomplete_test
import (
"context"
"fmt"
"sort"
"strings"
"testing"
_ "github.com/lmorg/murex/builtins"
"github.com/lmorg/murex/config/defaults"
"github.com/lmorg/murex/lang"
"github.com/lmorg/murex/lang/ref"
"github.com/lmorg/murex/shell/autocomplete"
"github.com/lmorg/murex/test/count"
"github... | gpl-2.0 |
xplico/CapAnalysis | www/app/Model/Note.php | 1666 | <?php
/*
CapAnalysis
Copyright 2012 Gianluca Costa (http://www.capanalysis.net)
All rights reserved.
*/
App::uses('AppModel', 'Model');
/**
* Note Model
*
* @property User $User
* @property Item $Item
*/
class Note extends AppModel {
/**
* Display field
*
* @var string
*/
public $displayField... | gpl-2.0 |
msimic/MediaPoint | MediaPoint_Common/Subtitles/SubtitleFormats/UnknownSubtitle11.cs | 10518 | using System;
using System.Collections.Generic;
using System.Text;
using System.Text.RegularExpressions;
namespace MediaPoint.Subtitles.Logic.SubtitleFormats
{
/// <summary>
/// MicroDvd with time codes...?
/// </summary>
public class UnknownSubtitle11 : SubtitleFormat
{
static Regex _rege... | gpl-2.0 |
Parchive/par2cmdline | src/descriptionpacket.cpp | 11458 | // This file is part of par2cmdline (a PAR 2.0 compatible file verification and
// repair tool). See http://parchive.sourceforge.net for details of PAR 2.0.
//
// Copyright (c) 2003 Peter Brian Clements
// Copyright (c) 2019 Michael D. Nahas
//
// par2cmdline is free software; you can redistribute it and/or modify... | gpl-2.0 |
hsfoxman/wiki | languages/messages/MessagesAm.php | 181885 | <?php
/** Amharic (አማርኛ)
*
* See MessagesQqq.php for message documentation incl. usage of parameters
* To improve a translation please visit http://translatewiki.net
*
* @ingroup Language
* @file
*
* @author Codex Sinaiticus
* @author Elfalem
* @author Hinstein
* @author Reedy
* @author Romaine
* @author S... | gpl-2.0 |
casedot/AllYourBaseTemplate | wp-content/plugins/redirection/modules/wordpress.php | 4302 | <?php
class WordPress_Module extends Red_Module {
const MODULE_ID = 1;
private $matched = false;
public function get_id() {
return self::MODULE_ID;
}
public function can_edit_config() {
return false;
}
public function render_config() {
}
public function get_config() {
return arra... | gpl-2.0 |
ArtemElchin/struct-dissector | src/main/net/taunova/protocol/rtp/TcpDissectorDemo.java | 5083 | package net.taunova.protocol.rtp;
import com.taunova.util.field.Fields;
import java.io.File;
import java.io.IOException;
import java.nio.ByteBuffer;
import net.taunova.protocol.*;
import javolution.io.Struct;
public class TcpDissectorDemo extends AbstractDissector {
public Dissection dissect(DataInput input, Dis... | gpl-2.0 |
robertoyus/jautomata-core-android | src/rationals/utils/MsgQueue.java | 2516 | package rationals.utils;
import java.io.Serializable;
import java.util.Collection;
import java.util.Iterator;
import java.util.LinkedList;
import java.util.NoSuchElementException;
/**
* @author bailly
* @version $Id: MsgQueue.java,v 1.1 2013/03/08 17:53:37 gesteban Exp $
*/
public class MsgQueue implements Seriali... | gpl-2.0 |
Square-dot-HipToBe/FieldService | MyTime/Controls/Primitives/DigitDataSource.cs | 1999 | using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using Microsoft.Phone.Controls.Primitives;
namespac... | gpl-2.0 |
felipenaselva/felipe.repository | script.module.urlresolver.xxx/resources/plugins/xnxx.py | 1337 | '''
urlresolver XBMC Addon
Copyright (C) 2016 Gujal
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 di... | gpl-2.0 |
haidarafif0809/qwooxcqmkozzxce | batal_edit_penjualan_ugd.php | 807 | <?php session_start();
// memasukan file db.php
include 'db.php';
include 'sanitasi.php';
// mengirim data(file) no_faktur, menggunakan metode GET
$session_id = session_id();
$no_reg = stringdoang($_GET['no_reg']);
// menghapus data pada tabel tbs_pembelian berdasarkan no_faktur
$qu... | gpl-2.0 |
efaby/clinica | libraries/regularlabs/fields/menuitems.php | 3148 | <?php
/**
* @package Regular Labs Library
* @version 16.5.10919
*
* @author Peter van Westen <info@regularlabs.com>
* @link http://www.regularlabs.com
* @copyright Copyright © 2016 Regular Labs All Rights Reserved
* @license http://www.gnu.org/licenses/gpl-2.0.h... | gpl-2.0 |
bmitchenko/spa | spa.common/Modules/Notification.ts | 1651 | module spa {
/** Уведомление. */
export class Notification<TArgs> {
private _dispatched = false;
private _listeners: { (args?: TArgs): any }[] = [];
private _args: TArgs;
/** Уведомляет подписчиков о событии. */
public notify(args?: TArgs): void {
this._liste... | gpl-2.0 |
pjarosik/golem | src/main/scala/com/github/golem/command/Command.scala | 119 | package com.github.golem.command
trait Command
/**
* Informative means 'response is ommited'.
*/
trait Informative
| gpl-2.0 |
tomsrocket/radio-pi | config/generate-google-key.php | 2327 | <?php
require __DIR__ . '../web-frontend/vendor/autoload.php';
require 'config.php';
if (php_sapi_name() != 'cli') {
throw new Exception('This application must be run on the command line.');
}
/**
* Returns an authorized API client.
* @return Google_Client the authorized client object
*/
function getClient() {
... | gpl-2.0 |
opieproject/opie | i18n/fr/embeddedkonsole.ts | 7275 | <!DOCTYPE TS><TS>
<defaultcodec>iso8859-1</defaultcodec>
<context>
<name>CommandEditDialog</name>
<message>
<source>Command Selection</source>
<translation>Sélection commande</translation>
</message>
</context>
<context>
<name>CommandEditDialogBase</name>
<message>
<source>Co... | gpl-2.0 |
remvee/xmlbs | src/xmlbs/tokens/CDATAToken.java | 1495 | /*
* xmlbs
*
* Copyright (C) 2002 R.W. van 't Veer
*
* 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... | gpl-2.0 |
ForAEdesWeb/AEW25 | templates/ja_cagox/html/com_paycart/search/default_applied_filter.php | 2741 | <?php
/**
* @copyright Copyright (C) 2009 - 2012 Ready Bytes Software Labs Pvt. Ltd. All rights reserved.
* @license GNU/GPL, see LICENSE.php
* @package PAYCART
* @subpackage Front-end
* @contact support+paycart@readybytes.in
* @author rimjhim jain
*/
// no direct access
defined('_JEXEC') or die();
... | gpl-2.0 |
inverse-inc/sogo-integrator.tb3 | chrome/content/messenger/folders-update.js | 14731 | function jsInclude(files, target) {
let loader = Components.classes["@mozilla.org/moz/jssubscript-loader;1"]
.getService(Components.interfaces.mozIJSSubScriptLoader);
for (let i = 0; i < files.length; i++) {
try {
loader.loadSubScript(files[i], target);
}
... | gpl-2.0 |
kunj1988/Magento2 | lib/internal/Magento/Framework/Test/Unit/Data/Form/Element/HiddenTest.php | 1444 | <?php declare(strict_types=1);
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\Framework\Test\Unit\Data\Form\Element;
use Magento\Framework\TestFramework\Unit\Helper\ObjectManager;
/**
* Test for \Magento\Framework\Data\Form\Element\Hidden.
*/
cla... | gpl-2.0 |
egiggy/githubericgiguere | wp-content/themes/8cells_v1.0/8Cells/_vti_cnf/functions.php | 997 | vti_encoding:SR|utf8-nl
vti_timelastmodified:TR|07 Nov 2011 16:42:00 -0000
vti_extenderversion:SR|12.0.0.0
vti_author:SR|Eric-PC\\Eric
vti_modifiedby:SR|Eric-PC\\Eric
vti_timecreated:TR|07 Nov 2011 16:42:00 -0000
vti_cacheddtm:TX|07 Nov 2011 16:42:00 -0000
vti_filesize:IR|24384
vti_cachedlinkinfo:VX|H|http://themefores... | gpl-2.0 |
iammyr/Benchmark | src/main/java/org/owasp/benchmark/testcode/BenchmarkTest14540.java | 3619 | /**
* 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/... | gpl-2.0 |
SpoonLabs/nopol | nopol/src/test/java/fr/inria/lille/repair/nopol/Defects4jUtils.java | 4074 | package fr.inria.lille.repair.nopol;
import fr.inria.lille.commons.synthesis.smt.solver.SolverFactory;
import fr.inria.lille.repair.TestUtility;
import fr.inria.lille.repair.common.config.NopolContext;
import fr.inria.lille.repair.common.synth.RepairType;
import org.apache.commons.io.FileUtils;
import org.apache.commo... | gpl-2.0 |
Fluorohydride/ygopro-scripts | c47128571.lua | 2278 | --報復の隠し歯
function c47128571.initial_effect(c)
--activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_DESTROY)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_ATTACK_ANNOUNCE)
e1:SetCountLimit(1,47128571+EFFECT_COUNT_CODE_OATH)
e1:SetTarget(c47128571.target)
e1:SetOperation(c47128571.activate)
c:R... | gpl-2.0 |
Sagenda/sagenda-wp | assets/vendor/pickadate/lib/translations/he_IL.js | 808 | // Hebrew
jQuery.extend( jQuery.fn.pickadate.defaults, {
monthsFull: [ 'ינואר', 'פברואר', 'מרץ', 'אפריל', 'מאי', 'יוני', 'יולי', 'אוגוסט', 'ספטמבר', 'אוקטובר', 'נובמבר', 'דצמבר' ],
monthsShort: [ 'ינו', 'פבר', 'מרץ', 'אפר', 'מאי', 'יונ', 'יול', 'אוג', 'ספט', 'אוק', 'נוב', 'דצמ' ],
weekdaysFull: [ 'יום ראשו... | gpl-2.0 |
mooflu/critter | utils/FPS.cpp | 1137 | // Description:
// Helpers to count Frames Per Second.
//
// Copyright (C) 2001 Frank Becker
//
// 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 you... | gpl-2.0 |
booklein/wpbookle | wp-content/plugins/wp-lister-for-ebay/includes/EbatNs/GetUserRequestType.php | 2778 | <?php
/* Generated on 6/26/15 3:23 AM by globalsync
* $Id: $
* $Log: $
*/
require_once 'AbstractRequestType.php';
require_once 'ItemIDType.php';
/**
* Retrieves data pertaining to a single eBay user. Callers can use this call to
* return their own user data or the data of another eBay user. Unless the caller
... | gpl-2.0 |
dribbroc/HONEI | honei/la/residual.hh | 3963 | /* vim: set sw=4 sts=4 et nofoldenable : */
/*
* Copyright (c) 2007, 2008 Danny van Dyk <danny.dyk@uni-dortmund.de>
*
* This file is part of the LA C++ library. LibLa is free software;
* you can redistribute it and/or modify it under the terms of the GNU Genera
* Public License version 2, as published by t... | gpl-2.0 |
jreades/starspy | stars/gui/tableViewer/main.py | 354 | import pysal
import wx
from control import TableViewer
class MapFrameApp(wx.App):
def OnInit(self):
db = pysal.open('/Users/charlie/Documents/data/stl_hom/stl_hom.dbf')
self.frame = TableViewer(None,db)
self.frame.Show()
return True
if __name__=='__main__':
app = MapFrameApp(r... | gpl-2.0 |
christophpickl/seetheeye | seetheeye-impl/src/test/java/com/github/christophpickl/seetheeye/impl2/integration/ScopeTest.java | 525 | package com.github.christophpickl.seetheeye.impl2.integration;
import com.github.christophpickl.seetheeye.api.configuration.Configuration;
import com.github.christophpickl.seetheeye.api.test.Action1;
import com.github.christophpickl.seetheeye.api.SeeTheEyeApi;
import com.github.christophpickl.seetheeye.api.integration... | gpl-2.0 |
NeXXEnt/WMS-Official | wms30/controllers/warehouses.php | 13560 | <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
class Warehouses extends CI_Controller {
public function __construct() {
parent::__construct();
/*
* Warehouse Security Check
*/
if(! $this->session->userdata('authenticated')) redirect('/auth', 'refresh')... | gpl-2.0 |
esar/hexed | HexView.Drawing.cs | 25690 | /*
This file is part of HexEd
Copyright (C) 2008-2015 Stephen Robinson <hacks@esar.org.uk>
HexEd 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.
This program is distributed in the hope that it... | gpl-2.0 |
Screenly/Screenly-Cast-for-WordPress | screenly-cast/theme/screenly-cast/index.php | 1027 | <?php
/**
* Main file for archive, page and single posts
*
* PHP version 5
*
* @category PHP
* @package ScreenlyCast
* @author Peter Monte <pmonte@screenly.io>
* @license https://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html GPLv2
* @link https://github.com/Screenly/Screenly-Cast-for-WordPress
* ... | gpl-2.0 |
joshmoore/zeroc-ice | cs/test/Ice/operations/MyDerivedClassTieI.cs | 12957 | // **********************************************************************
//
// 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.
//
// ***************************************************... | gpl-2.0 |
zeypo/pt-coaching | wp-content/themes/ausart/vc_templates/home_blog.php | 549 | <?php
extract(shortcode_atts(array(
'dynamic_title' => '',
'style' => ''
), $atts));
ob_start();
$output = '<div>';
if(!empty($dynamic_title)){
$output .= '<div class="header"><h3>'.$dynamic_title.'</h3></div>';
}
... | gpl-2.0 |
tripnaksha/sourcecode | administrator/components/com_eventlist/views/venue/view.html.php | 5586 | <?php
/**
* @version 1.0 $Id: view.html.php 662 2008-05-09 22:28:53Z schlu $
* @package Joomla
* @subpackage EventList
* @copyright (C) 2005 - 2008 Christoph Lukes
* @license GNU/GPL, see LICENSE.php
* EventList is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Publi... | gpl-2.0 |
jswattjr/DroneController | DroneManager/Models/MessageContainers/Heartbeat.cs | 2950 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DroneConnection;
using NLog;
using Utilities;
namespace DroneManager.Models.MessageContainers
{
/*
The heartbeat message shows that a system is present and responding.
... | gpl-2.0 |
reolus/countyfeecollections | src/countyfeecollections/usercontrols/ucDefendant.Designer.cs | 58506 | /*
County Fee Collections, a .NET application for managing fee payments
Copyright (C) 2015 Pottawattamie County, Iowa
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... | gpl-2.0 |
FabianodeLimaAbreu/conectby | templates/vivid/html/com_content/category/blog_children.php | 2882 | <?php
/**
* @package Joomla.Site
* @subpackage Templates.beez5
* @copyright Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
// no direct access
defined('_JEXEC') or die;
$app... | gpl-2.0 |
tbinna/granny-gear | test/helpers/internal_gear_hubs_helper_test.rb | 83 | require 'test_helper'
class InternalGearHubsHelperTest < ActionView::TestCase
end
| gpl-2.0 |
patrick193/bagstar | plugins/vmcustom/catproduct/catproduct/tmpl/radio.php | 27853 | <?php
/**
*
* @author SM planet - smplanet.net
* @package VirtueMart
* @subpackage custom
* @copyright Copyright (C) 2012-2014 SM planet - smplanet.net. All rights reserved.
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php
*
**/
defined('_JEXEC') or die();
$stockhandle = VmConfig::ge... | gpl-2.0 |
bernds/q4Go | src/interfacehandler.cpp | 13341 | /*
* interfacehandler.cpp
*/
#include <qaction.h>
#include <qpushbutton.h>
#include <qlabel.h>
#include <q3textedit.h>
#include <q3buttongroup.h>
#include <qlineedit.h>
#include <qslider.h>
#include <qtabwidget.h>
//Added by qt3to4:
#include <QPixmap>
#include "defines.h"
#include "interfacehandler.h"
#include "board... | gpl-2.0 |
drallieiv/EchoNestTools | echonest-tools-core/src/main/java/com/herazade/echonest/tools/core/cli/RemixCli.java | 2090 | package com.herazade.echonest.tools.core.cli;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.util.ArrayList;
import java.util.List;
import javax.sound.sampled.AudioInputStream;... | gpl-2.0 |
maddy2101/TYPO3.CMS | typo3/sysext/impexp/Classes/Domain/Repository/PresetRepository.php | 8788 | <?php
/*
* This file is part of the TYPO3 CMS project.
*
* It is free software; you can redistribute it and/or modify it under
* the terms of the GNU General Public License, either version 2
* of the License, or any later version.
*
* For the full copyright and license information, please read the
* LICENSE.tx... | gpl-2.0 |
hendrasaputra/hendrasaputra.com | wp-content/themes/writr/inc/extras.php | 6690 | <?php
/**
* Custom functions that act independently of the theme templates
*
* Eventually, some of the functionality here could be replaced by core features
*
* @package Writr
*/
/**
* Get our wp_nav_menu() fallback, wp_page_menu(), to show a home link.
*/
function writr_page_menu_args( $args ) {
$args['show_... | gpl-2.0 |
Merthyra/WikitoDB | src/main/java/at/ac/tuwien/docspars/entity/Mode.java | 226 | package at.ac.tuwien.docspars.entity;
/**
*
* Enum that declares the database types to be written to
*
* @author hboesch, TuWien
*
* @since 0.1.0
* @version 0.1.0
*/
public enum Mode {
V1, V2, V3, V4, V5, V6;
}
| gpl-2.0 |
wild0522/9grids | index.php | 1005 | <?php
include_once 'urls.php';
?>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>九宮格</title>
</head>
<link rel="stylesheet" type="text/css" href="style/default.css">
<body>
<div class="header">
<img height="92" src="googlelogo_color_272x92dp.png" wi... | gpl-2.0 |
boyns/muffin | src/org/doit/muffin/Icon.java | 3407 | /* $Id: Icon.java,v 1.7 2006/06/18 23:25:51 forger77 Exp $ */
/*
* Copyright (C) 1996-2000 Mark R. Boyns <boyns@doit.org>
*
* This file is part of Muffin.
*
* Muffin 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... | gpl-2.0 |
adirkuhn/expressoDrupal | core/modules/language/lib/Drupal/language/Plugin/views/filter/LanguageFilter.php | 813 | <?php
/**
* @file
* Contains Drupal\language\Plugin\views\filter\LanguageFilter.
*/
namespace Drupal\language\Plugin\views\filter;
use Drupal\views\Plugin\views\filter\InOperator;
use Drupal\Core\Annotation\Plugin;
/**
* Provides filtering by language.
*
* @ingroup views_filter_handlers
*
* @Plugin(
* id... | gpl-2.0 |
Teplitsa/old-IT-volunteer | app/controllers/users_controller.rb | 1498 | # encoding: utf-8
class UsersController < InheritedResources::Base
before_filter :authenticate_user!
load_and_authorize_resource
has_scope :page, default: 1
custom_actions resource: [:ignore, :unignore]
def current_search_path
@current_search_path ||= users_path
end
def index
@users = ... | gpl-2.0 |
toyatech/etsyjs | etsy.js | 250869 | (function (root, factory) {
'use strict';
if (typeof define === 'function' && define.amd) {
define(['exports'], factory);
} else if (typeof exports !== 'undefined') {
factory(exports);
} else {
factory(root.etsyjs = {});
}
}(this, function (exports) {
'use strict';
va... | gpl-2.0 |
FauxFaux/jdk9-hotspot | test/compiler/intrinsics/mathexact/NegExactILoadTest.java | 1513 | /*
* Copyright (c) 2013, 2015, 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 ... | gpl-2.0 |
jacobajit/ion | intranet/apps/notifications/models.py | 1283 | # -*- coding: utf-8 -*-
import hashlib
import json
from django.db import models
from ..users.models import User
class NotificationConfig(models.Model):
user = models.OneToOneField(User)
gcm_token = models.CharField(max_length=250, blank=True, null=True)
gcm_time = models.DateTimeField(blank=True, null=... | gpl-2.0 |
eltharin/glpi | front/commonitilcost.form.php | 2724 | <?php
/**
* ---------------------------------------------------------------------
* GLPI - Gestionnaire Libre de Parc Informatique
* Copyright (C) 2015-2017 Teclib' and contributors.
*
* http://glpi-project.org
*
* based on GLPI - Gestionnaire Libre de Parc Informatique
* Copyright (C) 2003-2014 by the INDEPNET... | gpl-2.0 |
danielja/mudpy | health_tracker/health_tracker.py | 2521 | import meta
import sage
from sage import player, triggers, aliases
from sage.signals import pre_shutdown
from sage.signals.gmcp import skills, vitals
import time
import MySQLdb as mysql
import MySQLdb.cursors
class HealthTracker(object):
def __init__(self):
self.health = 100
self.mana = 100
... | gpl-2.0 |
siemens/fossology | src/www/ui/page/AdminGroupUsers.php | 6563 | <?php
/***********************************************************
Copyright (C) 2014-2015, 2018 Siemens AG
Author: Steffen Weber
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.
This... | gpl-2.0 |
glaubitz/ppsspp-debian | Core/Dialog/PSPOskDialog.cpp | 6815 | // Copyright (c) 2012- PPSSPP 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.0 or later versions.
// This program is distributed in the hope that it will be useful,
// b... | gpl-2.0 |
notabadminer/UniversalCoins | src/main/java/universalcoins/container/UCSlotCoinInput.java | 838 | package universalcoins.container;
import net.minecraft.inventory.IInventory;
import net.minecraft.inventory.Slot;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import universalcoins.UniversalCoins;
public class UCSlotCoinInput extends Slot {
public UCSlotCoinInput(IInventory par1IInventory, i... | gpl-2.0 |
HuayraLinux/python-apt | tests/test_configuration.py | 954 | #!/usr/bin/python
#
# Copyright (C) 2011 Julian Andres Klode <jak@debian.org>
#
# Copying and distribution of this file, with or without modification,
# are permitted in any medium without royalty provided the copyright
# notice and this notice are preserved.
"""Unit tests for verifying the correctness of apt_pkg.Confi... | gpl-2.0 |
marcelinoar/FrameworkWeb | src/base/cliente/lib/ListadoControllerBase.js | 22129 | /***************************************************************************************************
*
* Archivo: ListadoControllerBase.js
* ------------------------------------------------------------------------------------------------
*
* Autor: Marcelino Morales
*
* Version: 1.0
*
* Descripcion: C... | gpl-2.0 |
mfursov/ugene | src/corelibs/U2Designer/src/dashboard/ParametersWidget.cpp | 4680 | /**
* UGENE - Integrated Bioinformatics Tools.
* Copyright (C) 2008-2017 UniPro <ugene@unipro.ru>
* http://ugene.net
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* ... | gpl-2.0 |
osarrat/sigmah-website | issues/api/soap/mc_issue_api.php | 46822 | <?php
# MantisConnect - A webservice interface to Mantis Bug Tracker
# Copyright (C) 2004-2010 Victor Boctor - vboctor@users.sourceforge.net
# This program is distributed under dual licensing. These include
# GPL and a commercial licenses. Victor Boctor reserves the right to
# change the license of future releases.
... | gpl-2.0 |
shukdelmadrij/shukdelmadrij | administrator/components/com_autotweet/libs/SimplePie/SimplePie/IRI.php | 28843 | <?php
/**
* @package Extly.Components
* @subpackage com_autotweet - AutoTweetNG posts content to social channels (Twitter, Facebook, LinkedIn, etc).
*
* @author Prieco S.A. <support@extly.com>
* @copyright Copyright (C) 2007 - 2014 Prieco, S.A. All rights reserved.
* @license http://http://www.gn... | gpl-2.0 |
pastewka/lammps | lib/kokkos/core/src/impl/Kokkos_HostSpace.cpp | 18584 | /*
//@HEADER
// ************************************************************************
//
// Kokkos v. 3.0
// Copyright (2020) National Technology & Engineering
// Solutions of Sandia, LLC (NTESS).
//
// Under the terms of Contract DE-NA0003525 with NTESS,
// the U.S. Govern... | gpl-2.0 |
firemark/herman | init.js | 2837 | var tapes = [];
var machines = [];
var fineMachines = [];
var actualMachines = [];
var counter = 0;
var counterMachine = 0;
var statusNode = null;
var scoresNode = null;
var generation = 0;
function init(){
statusNode = document.getElementById('status');
tapes = [new Tape('firstCanvas'), new Tape('secondCanvas')]... | gpl-2.0 |
fernandaos12/ateliebambolina | cache/smarty/compile/81/5a/ab/815aabd18e78e50aee55862194e7362b793c4583.file.modal_not_trusted.tpl.php | 4640 | <?php /* Smarty version Smarty-3.1.19, created on 2016-03-28 17:55:51
compiled from "C:\wamp\www\atelieshop\admin723qbu3tt\themes\default\template\controllers\modules\modal_not_trusted.tpl" */ ?>
<?php /*%%SmartyHeaderCode:805356f99a57a8d407-68287789%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed... | gpl-2.0 |
bembelimen/joomla-cms | administrator/components/com_newsfeeds/tmpl/newsfeeds/modal.php | 4982 | <?php
/**
* @package Joomla.Administrator
* @subpackage com_newsfeeds
*
* @copyright (C) 2010 Open Source Matters, Inc. <https://www.joomla.org>
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
defined('_JEXEC') or die;
use Joomla\CMS\Factory;
use Joomla\CMS\HTML\HTMLHelpe... | gpl-2.0 |
10211509/maketaobao | app/src/main/java/nobugs/team/shopping/repo/api/retrofit/GetUnitListApiImpl.java | 1407 | package nobugs.team.shopping.repo.api.retrofit;
import java.util.List;
import nobugs.team.shopping.mvp.model.ProductType;
import nobugs.team.shopping.repo.api.GetShopListApi;
import nobugs.team.shopping.repo.api.GetUnitListApi;
import nobugs.team.shopping.repo.api.entity.TypeListResult;
import nobugs.team.shopping.re... | gpl-2.0 |
jmperaltagalisteo/Aprendizaje-Visual | mods/propiedad/condiciones/index.php | 2125 | <?php
session_start();
//Idioma
if(empty($_SESSION['lang']))
$_SESSION['lang'] = 'es';
//Numero
if(empty($_SESSION['numero']))
$_SESSION['numero'] = 1;
//Vocal
if(empty($_SESSION['vocal']))
$_SESSION['vocal'] = 'a';
?>
<!DOCTYPE html>
<html lang="es">
<!--Inclu... | gpl-2.0 |
shlomsky/ivo | administrator/components/com_zoo/views/configuration/tmpl/importcsv.php | 4310 | <?php
/**
* @package ZOO Component
* @file importcsv.php
* @version 2.3.0 December 2010
* @author YOOtheme http://www.yootheme.com
* @copyright Copyright (C) 2007 - 2011 YOOtheme GmbH
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only
*/
// no direct access
defined('_JEXEC') or die('R... | gpl-2.0 |
Fluorohydride/ygopro-scripts | c93912845.lua | 2361 | --リバイバル・ギフト
function c93912845.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_TOKEN)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetHintTiming(0,TIMING_END_PHASE)
e1:SetTarget(c93912845.tar... | gpl-2.0 |
mmilidoni/rubiz | app/models.py | 1295 | from django.db import models
from . import enum
from django.utils.translation import ugettext as _
class Etichetta(models.Model):
nome = models.CharField(max_length=255, verbose_name=_("Nome"))
def __unicode__(self):
return self.nome
class Meta:
verbose_name = _('Etichetta')
verbos... | gpl-2.0 |
noba3/KoTos | xbmc/FileItem.cpp | 88049 | /*
* Copyright (C) 2005-2015 Team Kodi
* http://kodi.tv
*
* This Program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* T... | gpl-2.0 |
CROSP/accordion-categories | example/category-icon/category_add_form_fields.php | 752 | <?php
// Block direct requests
if ( !defined('ABSPATH')) {
die('-1');
}
// Add the field to the Add New Category page
add_action( 'category_add_form_fields', 'pt_taxonomy_add_new_meta_field', 10, 2 );
function pt_taxonomy_add_new_meta_field() {
// this will add the custom meta field to the add new term page
... | gpl-2.0 |
k0da/yast-packager | src/clients/pkg_finish.rb | 5802 | # encoding: utf-8
# File:
# pkg_finish.ycp
#
# Module:
# Step of base installation finish
#
# Authors:
# Jiri Srain <jsrain@suse.cz>
#
# $Id$
#
module Yast
class PkgFinishClient < Client
def main
Yast.import "Pkg"
textdomain "packager"
Yast.import "Installation"
Yast.import "Mode"
... | gpl-2.0 |
xiongpf/GoCRM | controllers/hr_employee.go | 4271 | package controllers
import (
"GoCRM/models"
"encoding/json"
"errors"
"strconv"
"strings"
"github.com/astaxie/beego"
)
// oprations for HrEmployee
type HrEmployeeController struct {
beego.Controller
}
func (c *HrEmployeeController) URLMapping() {
c.Mapping("Post", c.Post)
c.Mapping("GetOne", c.GetOne)
c.Ma... | gpl-2.0 |
cioban/obdpy | lib/obd.py | 7023 | #!/usr/bin/env python2
# -*- encoding: utf-8 -*-
"""
Modulo:
"""
__author__ = 'Sergio Cioban Filho'
__version__ = '1.0'
__date__ = '24/08/2014 11:02:34 AM'
class OBD:
pid_dict = None
gasoline_density = 710 # grams/liter
def __init__(self, pid_dict=None):
self.pid_dict = pid_dict
def filter_d... | gpl-2.0 |
Zolli/BuildR | tests/buildr/http/Response/ContentType/JsonContentTypeTest.php | 1412 | <?php namespace buildr\tests\http\Response\ContentType;
use buildr\Http\Response\ContentType\JsonContentType;
use buildr\Http\Response\ContentType\Encoder\JsonContentEncoder;
use buildr\Http\Header\Writer\JsonHeaderWriter;
use buildr\tests\http\Response\ContentType\AbstractHttpContentTypeTest;
/**
* Json content typ... | gpl-2.0 |
karianna/jdk8_tl | jdk/src/share/classes/sun/text/resources/es/FormatData_es_HN.java | 3446 | /*
* Copyright (c) 1997, 2012, 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 ... | gpl-2.0 |
azharu53/kuwithome | components/com_wishlist/controller.php | 2005 | <?php
/**
* @version CVS: 1.0.0
* @package Com_Wishlist
* @author azharuddin <azharuddin.shaikh53@gmail.com>
* @copyright 2017 azharuddin
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
// No direct access
defined('_JEXEC') or die;
jimport('joomla.application.component... | gpl-2.0 |
botswana-harvard/edc-base | edc_base/modelform_mixins/audit_fields_mixin.py | 658 | from ..utils import get_utcnow
class AuditFieldsMixin:
"""Updates audit fields with username /datetime on create and
modify.
"""
def update_system_fields(self, request, instance, change):
if not change:
instance.user_created = request.user.username
instance.created = ... | gpl-2.0 |
rero/reroils-app | rero_ils/modules/documents/serializers.py | 3560 | # -*- coding: utf-8 -*-
#
# This file is part of RERO ILS.
# Copyright (C) 2017 RERO.
#
# RERO ILS 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 lat... | gpl-2.0 |
kosmosby/medicine-prof | components/com_judownload/templates/default/modpendingcomments/default.php | 4353 | <?php
/**
* ------------------------------------------------------------------------
* JUDownload for Joomla 2.5, 3.x
* ------------------------------------------------------------------------
*
* @copyright Copyright (C) 2010-2015 JoomUltra Co., Ltd. All Rights Reserved.
* @license GNU General... | gpl-2.0 |
naka211/daekcenter_old | modules/mod_dfi_adv/mod_dfi_adv.php | 459 | <?php
//no direct access
defined('_JEXEC') or die('Direct Access to this location is not allowed.');
$template_dir = JURI::root().'templates/'.$mainframe->getTemplate().'/assets/';
// include the helper file
require_once(dirname(__FILE__).DS.'helper.php');
// get a parameter from the module's configuration
$modulec... | gpl-2.0 |
pascavi/espabilapijo | web/themes/custom/espabilapijo/js/glide.js | 37831 | /*!
* Glide.js
* Version: 2.0.6
* Simple, lightweight and fast jQuery slider
* Author: @jedrzejchalubek
* Site: http://http://glide.jedrzejchalubek.com/
* Licensed under the MIT license
*/
;(function($, window, document, undefined){
/**
* --------------------------------
* Glide Animation
* -----------------... | gpl-2.0 |
dannydes/DPLL-BS | com/daniel/dpll/algo/ds/Variable.java | 2789 | package com.daniel.dpll.algo.ds;
/**
* Class representing a variable
* @author Daniel
*/
public class Variable {
/**
* Variable letter
*/
private final char variable;
/**
* Value assigned. Always false for unassigned.
*/
private boolean value;
/**
* Whether va... | gpl-2.0 |
nixone/ds-sem | src/sk/nixone/ds/agent/sem3/assistants/VehicleInitPlanner.java | 1595 | package sk.nixone.ds.agent.sem3.assistants;
import OSPABA.CommonAgent;
import OSPABA.Simulation;
import sk.nixone.ds.agent.ContinualAssistant;
import sk.nixone.ds.agent.annotation.HandleMessage;
import sk.nixone.ds.agent.sem3.Components;
import sk.nixone.ds.agent.sem3.Message;
import sk.nixone.ds.agent.sem3.Messages;
... | gpl-2.0 |
JacquesBonet/UCLG | administrator/components/com_iyosismaps/views/map/view.html.php | 1717 | <?php
/**
* @package Iyosis Maps for Joomla!
* @author Remzi Degirmencioglu
* @copyright (C) 2011 www.iyosis.com
* @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
**/
// no direct access
defined( '_JEXEC' ) or die( 'Restricted access' );
jimport( 'joomla.application.component.view');
class IyosisMa... | gpl-2.0 |
lamsfoundation/lams | lams_common/src/java/org/lamsfoundation/lams/rating/dto/RatingDTO.java | 1516 | /****************************************************************
* Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org)
* =============================================================
* License Information: http://lamsfoundation.org/licensing/lams/2.0/
*
* This program is free software; you can redistri... | gpl-2.0 |
pikoro/phpswapmeet | templates/housing/search.php | 11513 | <?
include_once('classes/search.php');
echo '<div id="listingwrap">';
if($_POST['action']=='search'){
$keyword = $_POST[keyword];
$search = new search();
$results = $search->do_search($_POST['type'],$_POST['min_price'],$_POST['max_price'],$_POST['base'],$_POST['bed'],$_POST['bath']);
if(!empty($results)){
echo '... | gpl-2.0 |
R-Typ/LintPlug | config.cpp | 1847 | /**
* @file config.cpp
* @author Roman Nikiforov
* @brief
*
* Change History
* -------------------------------------------------------------------
* @date 29.01.2015 header created
*
*
*/
#include "config.h"
#include "ui_config.h"
#include "lintplugconstants.h"
#include <QFileDialog>
#include <coreplug... | gpl-2.0 |
DB-SE/isp2014.manh.nguyen | Zeitplaner_Antenna/src/Main.java | 1771 | import java.util.*;
public class Main{
private static Kalender kalender = new Kalender();
//#ifdef Notizen
//@ private static Notizen notizen = new Notizen();
//#endif
public static void main(String[] args) throws Exception {
System.out.println("------- Zeitplaner Antenna -------");
Syst... | gpl-2.0 |
iammyr/Benchmark | src/main/java/org/owasp/benchmark/testcode/BenchmarkTest15185.java | 2528 | /**
* 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/... | gpl-2.0 |
ua2004/Millionaire-3D | Assets/Scripts/UIManager.cs | 38514 | using UnityEngine;
using UnityEngine.UI;
using UnityEngine.SceneManagement;
using System.Collections;
using System.Collections.Generic;
using DG.Tweening;
public class UIManager : MonoBehaviour
{
public static UIManager instance; // static variable which is used to get reference to UIManager instance from every s... | gpl-2.0 |
adriweb/spasm-ng | CZ80AssemblerTest.cpp | 6410 | #include "stdafx.h"
#include "spasm.h"
#include "storage.h"
#include "errors.h"
#include "parser.h"
#include "CTextStream.h"
#include "CIncludeDirectoryCollection.h"
#include "hash.h"
#include "Module.h"
class ATL_NO_VTABLE CZ80Assembler :
public CComObjectRootEx<CComObjectThreadModel>,
public CComCo... | gpl-2.0 |
Hemisphere-Project/JDJ-Android | app/src/main/java/com/hmsphr/jdj/Activities/TextActivity.java | 881 | package com.hmsphr.jdj.Activities;
import android.os.Bundle;
import android.webkit.WebView;
import android.widget.FrameLayout;
import android.widget.TextView;
import com.hmsphr.jdj.Class.MediaActivity;
import com.hmsphr.jdj.Components.Players.TextPlayer;
import com.hmsphr.jdj.Components.Players.WebPlayer;
import com.... | gpl-2.0 |