repo_name stringlengths 4 116 | path stringlengths 4 379 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
geomaster/Aurora3D | Aurora/include/boost/spirit/home/lex/tokenize_and_parse_attr.hpp | 4451 | // Copyright (c) 2001-2011 Hartmut Kaiser
// Copyright (c) 2001-2011 Joel de Guzman
// Copyright (c) 2009 Carl Barron
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
#if !defined(BOOST_PP_IS_ITERAT... | gpl-3.0 |
DeinFreund/Zero-K-Infrastructure | ZkData/Migrations/201712101826097_SpringFilesUnitsyncAttempts.Designer.cs | 859 | // <auto-generated />
namespace ZkData.Migrations
{
using System.CodeDom.Compiler;
using System.Data.Entity.Migrations;
using System.Data.Entity.Migrations.Infrastructure;
using System.Resources;
[GeneratedCode("EntityFramework.Migrations", "6.1.3-40302")]
public sealed partial class Spring... | gpl-3.0 |
remytms/Distribution | plugin/claco-form/Repository/CategoryRepository.php | 1002 | <?php
/*
* This file is part of the Claroline Connect package.
*
* (c) Claroline Consortium <consortium@claroline.net>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Claroline\ClacoFormBundle\Repository;
use Claroline... | gpl-3.0 |
chip/rhodes | platform/wm/rhodes/menubar.cpp | 2643 | #include "stdafx.h"
#if !defined(_WIN32_WCE)
#include "resource.h"
#include "menubar.h"
/*
void CODButtonImpl::DrawItem ( LPDRAWITEMSTRUCT lpdis )
{
CDCHandle dc = lpdis->hDC;
CDC dcMem;
dcMem.CreateCompatibleDC ( dc );
dc.SaveDC();
dcMem.SaveDC();
// Draw the button's background, red if it has t... | gpl-3.0 |
dragome/dragome-examples | dragome-jbox2d-examples/src/main/java/org/jbox2d/gwt/showcase/client/example/ShapeEditing.java | 3986 | /*******************************************************************************
* Copyright (c) 2011, Daniel Murphy
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions ... | gpl-3.0 |
montecillodavid/createconvert_updates | src/com/createconvertupdates/adapters/ViewPagerAdapter.java | 872 | package com.createconvertupdates.adapters;
import com.createconvertupdates.media.MessageListingFragment;
import com.createconvertupdates.media.ProjectListingFragment;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentPagerAdapter;
public clas... | gpl-3.0 |
cbrherms/Shinobi | web/libs/js/pnotify.custom.min.js | 30744 | /*
PNotify 3.0.0 sciactive.com/pnotify/
(C) 2015 Hunter Perrin; Google, Inc.
license Apache-2.0
*/
(function(b,k){"function"===typeof define&&define.amd?define("pnotify",["jquery"],function(q){return k(q,b)}):"object"===typeof exports&&"undefined"!==typeof module?module.exports=k(require("jquery"),global||b):b.PNotify=... | gpl-3.0 |
nkhare/rockstor-core | src/rockstor/storageadmin/static/storageadmin/js/views/add_afp_share.js | 3831 | /*
*
* @licstart The following is the entire license notice for the
* JavaScript code in this page.
*
* Copyright (c) 2012-2013 RockStor, Inc. <http://rockstor.com>
* This file is part of RockStor.
*
* RockStor is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Pub... | gpl-3.0 |
arraydev/snap-engine | snap-gpf/src/test/java/org/esa/snap/gpf/operators/standard/reproject/ReprojectionOpTest.java | 8543 | /*
* Copyright (C) 2010 Brockmann Consult GmbH (info@brockmann-consult.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 3 of the License, or (at your option)
* any late... | gpl-3.0 |
cmjatai/cmj | sapl/base/migrations/0011_auto_20171121_0958.py | 655 | # -*- coding: utf-8 -*-
# Generated by Django 1.9.13 on 2017-11-21 11:58
from __future__ import unicode_literals
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('base', '0010_remove_appconfig_painel_aberto'),
]
operations = [
migrations.AlterMod... | gpl-3.0 |
mbauskar/erpnext | erpnext/buying/doctype/request_for_quotation/request_for_quotation.js | 8841 | // Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors
// License: GNU General Public License v3. See license.txt
{% include 'erpnext/public/js/controllers/buying.js' %};
cur_frm.add_fetch('contact', 'email_id', 'email_id')
frappe.ui.form.on("Request for Quotation",{
setup: function(frm) {
frm.cus... | gpl-3.0 |
betterangels/buoy | vendor/pear-pear.horde.org/Horde_Imap_Client/Horde/Imap/Client/Translation.php | 1078 | <?php
/**
* Copyright 2010-2016 Horde LLC (http://www.horde.org/)
*
* See the enclosed file COPYING for license information (LGPL). If you
* did not receive this file, see http://www.horde.org/licenses/lgpl21.
*
* @category Horde
* @copyright 2010-2016 Horde LLC
* @license http://www.horde.org/licenses/lgpl2... | gpl-3.0 |
OpenCFD/OpenFOAM-1.7.x | src/turbulenceModels/incompressible/LES/Smagorinsky2/Smagorinsky2.H | 3490 | /*---------------------------------------------------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 1991-2010 OpenCFD Ltd.
\\/ M anipulation |
---------------... | gpl-3.0 |
lospooky/gpforsim | GP4Sim.Trading/Solutions/TradingSolution.cs | 3617 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
using HeuristicLab.Data;
using HeuristicLab.Optimization;
using HeuristicLab.Common;
using System.Reflection;
using GP4Sim.SimulationFramework.Solutions;
using GP4... | gpl-3.0 |
kotsios5/openclassifieds2 | oc/vendor/Instagram-API/vendor/friendsofphp/php-cs-fixer/src/Fixer/FunctionNotation/NativeFunctionInvocationFixer.php | 5682 | <?php
/*
* This file is part of PHP CS Fixer.
*
* (c) Fabien Potencier <fabien@symfony.com>
* Dariusz Rumiński <dariusz.ruminski@gmail.com>
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
namespace PhpCsFixer\Fixer\FunctionNotation;
use P... | gpl-3.0 |
numsol/HybGe-Flow3D | documentation/html/search/functions_3.js | 136 | var searchData=
[
['geo_5fsanity',['geo_sanity',['../namespacehgf_1_1mesh.html#aa322d02e2545e3574cc6ade2d4c4a38b',1,'hgf::mesh']]]
];
| gpl-3.0 |
kamcpp/edusys | new-dept-website/src/src/main/java/com/mftvanak/web/portal/web/kaptcha/impl/DefaultWordRenderer.java | 2376 | package com.mftvanak.web.portal.web.kaptcha.impl;
import java.awt.Color;
import java.awt.Font;
import java.awt.Graphics2D;
import java.awt.RenderingHints;
import java.awt.font.FontRenderContext;
import java.awt.font.GlyphVector;
import java.awt.image.BufferedImage;
import java.util.Random;
import com.mftvanak.web.por... | gpl-3.0 |
m5w/matxin-lineariser | tg/src/morph2/Distance.java | 1549 | /**
*
*/
package morph2;
/**
* @author Dr. Bernd Bohnet, 14.03.2010
*
*
*/
public class Distance {
//****************************
// Get minimum of three values
//****************************
static private int Minimum (int a, int b, int c) {
int mi;
mi = a;
if (b < mi) {
mi... | gpl-3.0 |
sethryder/modpackindex | app/views/twitch/channel.blade.php | 2139 | @extends('layouts.base')
@section('content')
<script src="//ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js"></script>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<script>
$(function () {
window.onPlayerEvent = function (data) {
... | gpl-3.0 |
waikato-datamining/adams-base | adams-core/src/test/java/adams/flow/source/newlist/FixedListTest.java | 1808 | /*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it w... | gpl-3.0 |
Nakaner/OpenRailwayMap | locales/scan_legends.py | 1868 | #!/usr/bin/python3
import fileinput
import json
import re
if __name__ == "__main__":
from optparse import OptionParser
parser = OptionParser(usage="%prog [options]")
parser.add_option("-i", "--input",
action="append", type="string", dest="ifiles",
help="JSON input file, required")
parser.add_option("-o", "-... | gpl-3.0 |
nossas/bonde-server | spec/requests/mobilizations/form_entries.rb | 1105 | require 'rails_helper'
RSpec.describe "FormEntries", type: :request do
let(:user) { create(:user) }
before { stub_current_user(user) }
describe 'GET /mobilizations/:mobilization_id/form_entries' do
let!(:widget) { create :widget }
let!(:form_entry_1) { create :form_entry, widget: widget }
let!(:fo... | gpl-3.0 |
moovida/jgrasstools | apps/src/main/java/org/hortonmachine/nww/layers/defaults/spatialite/SpatialitePolygonLayer.java | 15134 | /*
* This file is part of HortonMachine (http://www.hortonmachine.org)
* (C) HydroloGIS - www.hydrologis.com
*
* The HortonMachine is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of th... | gpl-3.0 |
kira8565/graylog2-server | graylog2-web-interface/src/stores/inputs/InputStatesStore.js | 3034 | import Reflux from 'reflux';
import UserNotification from 'util/UserNotification';
import URLUtils from 'util/URLUtils';
import ApiRoutes from 'routing/ApiRoutes';
import fetch from 'logic/rest/FetchProvider';
const InputStatesStore = Reflux.createStore({
listenables: [],
init() {
this.list();
},
getIni... | gpl-3.0 |
EyeSeeTea/dhis2 | dhis-2/dhis-services/dhis-service-dxf2/src/main/java/org/hisp/dhis/dxf2/datavalueset/DefaultDataValueSetService.java | 44710 | package org.hisp.dhis.dxf2.datavalueset;
/*
* Copyright (c) 2004-2016, University of Oslo
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the ab... | gpl-3.0 |
ayman-alkom/espocrm | application/Espo/Core/Field/DateTime/DateTimeFactory.php | 1979 | <?php
/************************************************************************
* This file is part of EspoCRM.
*
* EspoCRM - Open Source CRM application.
* Copyright (C) 2014-2021 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* Website: https://www.espocrm.com
*
* EspoCRM is free software: you can redist... | gpl-3.0 |
OpenCFD/OpenFOAM-1.7.x | src/thermophysicalModels/specie/reaction/Reactions/Reaction/Reaction.H | 8320 | /*---------------------------------------------------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 1991-2010 OpenCFD Ltd.
\\/ M anipulation |
---------------... | gpl-3.0 |
iblacksand/SimpleDiveMeets | node_modules/electron-packager/test/ignore.js | 5016 | 'use strict'
const common = require('../common')
const fs = require('fs-extra')
const ignore = require('../ignore')
const path = require('path')
const packager = require('..')
const test = require('ava')
const util = require('./_util')
function ignoreTest (t, opts, ignorePattern, ignoredFile) {
opts.dir = util.fixt... | gpl-3.0 |
SpiritsThief/mifit | libs/chemlib/RefmacAtomTyper.cpp | 16064 | #include "RefmacType.h"
#include "RefmacAtomTyper.h"
#include "atom_util.h"
#include <chemlib/Monomer.h>
#include "mol_util.h"
using namespace std;
namespace chemlib
{
RefmacAtomTyper::RefmacAtomTyper(const Residue &res, const vector<Bond> &bonds)
: AtomTyper(res, bonds)
{
}
char*RefmacAtomTyper::AtomType(const... | gpl-3.0 |
nishanttotla/predator | cpachecker/src/org/sosy_lab/cpachecker/cfa/types/Type.java | 1304 | /*
* CPAchecker is a tool for configurable software verification.
* This file is part of CPAchecker.
*
* Copyright (C) 2007-2014 Dirk Beyer
* All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You... | gpl-3.0 |
enormandeau/Scripts | 00_deprecated/fasta_qual_to_fastq.py | 888 | #!/usr/bin/env python
"""Convert a FASTA and a QUAL file from Roche 454 sequencing in a FASTQ file.
Usage:
%program <input_file> <start_marker> <stop_marker> <output_file>"""
import sys
import re
try:
from Bio import SeqIO
except:
print "This program requires the Biopython library"
sys.exit(0)
try:... | gpl-3.0 |
adjivas/mouse | app/script/mouscreen/selector.js | 2141 | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* selector.js :+: :+: :+: ... | gpl-3.0 |
sinfulspartan/Hackathon--InfoRep | Cmfcmf/OpenWeatherMap/WeatherHistory.php | 3452 | <?php
/**
* OpenWeatherMap-PHP-API — A php api to parse weather data from http://www.OpenWeatherMap.org .
*
* @license MIT
*
* Please see the LICENSE file distributed with this source code for further
* information regarding copyright and licensing.
*
* Please visit the following links to read about the usage p... | gpl-3.0 |
luben93/Navi | NaviMobile/Assets/NaviMobileScripts/PoseManager.cs | 8477 | #if !UNITY_IOS
/*
* This file is part of Navi.
* Copyright 2015 Vasanth Mohan. All Rights Reserved.
*
* Navi 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 y... | gpl-3.0 |
OpenCFD/OpenFOAM-1.7.x | src/OpenFOAM/meshes/meshShapes/cellShape/cellShapeIO.C | 3974 | /*---------------------------------------------------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 1991-2010 OpenCFD Ltd.
\\/ M anipulation |
---------------... | gpl-3.0 |
MauHernandez/cyclope | cyclope/apps/medialibrary/frontend_views.py | 3039 | #!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Copyright 2010-2013 Código Sur Sociedad Civil.
# All rights reserved.
#
# This file is part of Cyclope.
#
# Cyclope 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 Foundat... | gpl-3.0 |
bjornsturmberg/EMUstack | examples/simo_031-1D_grating-2_inclusions.py | 4681 | """
simo_030-1D_grating.py is a simulation example for EMUstack.
Copyright (C) 2015 Bjorn Sturmberg
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 Licen... | gpl-3.0 |
yeppoint/oneplus | upload/catalog/language/chinese/amazonus/order.php | 356 | <?php
/**
* $Author: http://www.opencartchina.com
**/
$_['paid_on_amazonus_text'] = 'Amazon US 支付';
$_['shipping_text'] = '配送';
$_['shipping_tax_text'] = '配送税率';
$_['gift_wrap_text'] = '包装';
$_['gift_wrap_tax_text'] = '包装税率';
$_['sub_total_text'] = '小计';
$_['tax_text'] = '税率';
$_['total_text'] = '总计'; | gpl-3.0 |
roastedlasagna/mo-food-mod | src/com/watabou/mofoodpd/items/armor/MailArmor.java | 1084 | /*
* Pixel Dungeon
* Copyright (C) 2012-2014 Oleg Dolya
*
* 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.
*
* ... | gpl-3.0 |
aschmitz/nepenthes | app/workers/cipher_worker.rb | 1403 | require 'net/https'
require 'openssl'
module Net
class HTTP
def set_context=(value)
@ssl_context = OpenSSL::SSL::SSLContext.new
@ssl_context &&= OpenSSL::SSL::SSLContext.new(value)
end
end
end
class CipherWorker
include Sidekiq::Worker
sidekiq_options :queue => :lomem_slow
def perform(id, ho... | gpl-3.0 |
naughtyboy83/android-netspoof | androidnetspoof/src/main/java/uk/digitalsquid/netspoofer/About.java | 2592 | /*
* This file is part of Network Spoofer for Android.
* Network Spoofer lets you change websites on other people’s computers
* from an Android phone.
* Copyright (C) 2014 Will Shackleton <will@digitalsquid.co.uk>
*
* Network Spoofer is free software: you can redistribute it and/or modify
* it under the terms of... | gpl-3.0 |
wpXtreme/wpdk | classes/core/wpdk-functions.php | 25435 | <?php
/**
* @file wpdk-functions.php
*
* Very useful functions for common cases. All that is missing in WordPress.
*
* ## Overview
* This file contains the pure inline function without class wrapper. You can use these function directly from code.
*
* @brief Very useful functions for ... | gpl-3.0 |
WinterMute/codeblocks_sf | src/plugins/contrib/wxSmith/wxsproject.cpp | 11636 | /*
* This file is part of wxSmith plugin for Code::Blocks Studio
* Copyright (C) 2006-2007 Bartlomiej Swiecki
*
* wxSmith 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
* ... | gpl-3.0 |
epfl-lara/leon | testcases/lazy-datastructures/withOrb/Haskell-Library/StreamLibrary.scala | 6605 | package haskell
import leon._
import lang._
import annotation._
import instrumentation._
import mem._
import higherorder._
import collection._
import invariant._
/**
* This is a collection of methods translated to Scala from the haskell stream library.
* To prove a running steps bound, we impose a precondition that... | gpl-3.0 |
DarkSynopsis/Kuriimu | src/game/game_maple_story_3ds/Properties/Resources.Designer.cs | 4609 | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--... | gpl-3.0 |
tinygg/MCIR | sqlol/includes/adodb/adodb-lib.inc.php | 36732 | <?php
// security - hide paths
if (!defined('ADODB_DIR')) die();
global $ADODB_INCLUDED_LIB;
$ADODB_INCLUDED_LIB = 1;
/*
@version V5.14 8 Sept 2011 (c) 2000-2011 John Lim (jlim#natsoft.com). All rights reserved.
Released under both BSD license and Lesser GPL library license.
Whenever there is any discrepancy... | gpl-3.0 |
structr/structr | structr-core/src/main/java/org/structr/schema/parser/NumericalPropertyParser.java | 3373 | /*
* Copyright (C) 2010-2021 Structr GmbH
*
* This file is part of Structr <http://structr.org>.
*
* Structr 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 yo... | gpl-3.0 |
OpenCFD/OpenFOAM-1.7.x | src/postProcessing/functionObjects/field/fieldValues/cellSource/cellSourceFunctionObject.H | 1875 | /*---------------------------------------------------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2009-2010 OpenCFD Ltd.
\\/ M anipulation |
---------------... | gpl-3.0 |
tomours/dolibarr | htdocs/admin/ticketsup.php | 26500 | <?php
/* Copyright (C) 2013-2018 Jean-François FERRY <hello@librethic.io>
* Copyright (C) 2016 Christophe Battarel <christophe@altairis.fr>
*
* 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... | gpl-3.0 |
mhbu50/erpnext | erpnext/patches/v4_2/update_requested_and_ordered_qty.py | 754 | # Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors
# License: GNU General Public License v3. See license.txt
import frappe
def execute():
from erpnext.stock.stock_balance import get_indented_qty, get_ordered_qty, update_bin_qty
count=0
for item_code, warehouse in frappe.db.sql("""select distin... | gpl-3.0 |
masroore/db4o | Db4objects.Db4o.Tests/Db4objects.Db4o.Tests/Common/Handlers/ClassHandlerTestCase.cs | 2085 | /* This file is part of the db4o object database http://www.db4o.com
Copyright (C) 2004 - 2011 Versant Corporation http://www.versant.com
db4o is free software; you can redistribute it and/or modify it under
the terms of version 3 of the GNU General Public License as published
by the Free Software Foundation.
db4o ... | gpl-3.0 |
jandy-team/jandy | jandy-server/src/main/java/io/jandy/util/api/json/TCommit.java | 632 | package io.jandy.util.api.json;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
/**
* @author JCooky
* @since 2016-12-19
*/
@Data
@JsonIgnoreProperties(ignoreUnknown = true)
public class TCommit {
@JsonProperty("message")
p... | gpl-3.0 |
jharding/philanthropist | lib/background/session_manager.js | 2753 | /*globals chrome, URI */
(function() {
// module declaration
var sessionManager = {};
// module dependencies
var logger = {};
var kAmazonUrl = 'http://www.amazon.com';
var kCookieName = 'session-id';
var kMaxTimeBetweenAssociatedVisits = 12 * 60 * 60 * 1000; // 12 hours
var currentSe... | gpl-3.0 |
bjakja/Kainote | Thirdparty/wxWidgets/src/common/datetimefmt.cpp | 75252 | ///////////////////////////////////////////////////////////////////////////////
// Name: src/common/datetimefmt.cpp
// Purpose: wxDateTime formatting & parsing code
// Author: Vadim Zeitlin
// Modified by:
// Created: 11.05.99
// RCS-ID: $Id$
// Copyright: (c) 1999 Vadim Zeitlin <zeitlin@dptm... | gpl-3.0 |
PFgimenez/PhD | src/preferences/heuristiques/simple/HeuristiqueEntropieNormalisee.java | 1553 | package preferences.heuristiques.simple;
import java.util.Map;
/* (C) Copyright 2016, Gimenez Pierre-François
*
* 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 o... | gpl-3.0 |
foodcoop1040/foodsoft | spec/models/user_spec.rb | 2550 | require_relative '../spec_helper'
describe User do
it 'is correctly created' do
user = create :user,
nick: 'johnnydoe', first_name: 'Johnny', last_name: 'DoeBar',
email: 'johnnydoe@foodcoop.test', phone: '+1234567890'
expect(user.nick).to eq('johnnydoe')
expect(user.first_name).to eq('Johnny... | gpl-3.0 |
censam/open_cart | multilanguage/OC-Europa-1-5-1-3-9.part01/upload/admin/language/polski/module/store.php | 1363 | <?php
/**
* OpenCart 1.5.1.1 Polskie Tłumaczenie
*
* This script is protected by copyright. It's use, copying, modification
* and distribution without written consent of the author is prohibited.
*
*
* @category OpenCart
* @package OpenCart
* @author Krzysztof Kardasz <krzysztof.kardasz@gmail.com>
... | gpl-3.0 |
dmitry-vlasov/mdl | src/nstd/type/traits/indicator/nstd_type_traits_indicator_Null.hpp | 1249 | /*****************************************************************************/
/* Project name: nstd - non-standard library */
/* File name: nstd_type_traits_indicator_Null.hpp */
/* Description: Null type indicator */
... | gpl-3.0 |
CalgaryCommunityTeams/2015RobotCode | src/edu/first/util/TextFiles.java | 3167 | package edu.first.util;
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
import java.nio.file.Files;
/**
* A set of utility methods to manipulate text files. Behavior of IO is
* documented in Javadocs.
*
* @since May 14 13
* @author Joel Gallant
*/
public final class Tex... | gpl-3.0 |
epfl-lara/leon | src/unit-test/scala/leon/purescala/ArrayQuantifiersInstantiation.scala | 897 | /* Copyright 2009-2015 EPFL, Lausanne */
package leon
package purescala
import leon.purescala.Common._
import leon.purescala.Definitions._
import leon.purescala.Types._
import leon.purescala.Expressions._
import leon.purescala.TreeNormalizations._
class ArrayQuantifiersInstantiationSuite extends LeonTestSuite with E... | gpl-3.0 |
aelred/mindmapsdb | grakn-test/src/test/java/ai/grakn/graphs/NguyenGraph.java | 4122 | /*
* Grakn - A Distributed Semantic Database
* Copyright (C) 2016 Grakn Labs Limited
*
* Grakn 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... | gpl-3.0 |
AlexIIL/AlexIILLib-DEPRECATED | src/main/java/alexiil/mods/lib/item/IChangingItemString.java | 527 | package alexiil.mods.lib.item;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.ItemStack;
public interface IChangingItemString {
/** @param i
* The item to get a string from
* @param player
* The player, BEWARE! this player is client side, s... | gpl-3.0 |
calamares/calamares | src/libcalamaresui/modulesystem/PythonQtViewModule.cpp | 5915 | /* === This file is part of Calamares - <https://calamares.io> ===
*
* SPDX-FileCopyrightText: 2016 Teo Mrnjavac <teo@kde.org>
* SPDX-FileCopyrightText: 2018 Adriaan de Groot <groot@kde.org>
* SPDX-FileCopyrightText: 2018 Raul Rodrigo Segura <raurodse@gmail.com>
* SPDX-License-Identifier: GPL-3.0-or-later
... | gpl-3.0 |
felinoidthekeratincoated/landwalkers | src/EventHandler.hh | 3343 | #ifndef EVENTHANDLER_HH
#define EVENTHANDLER_HH
#include <vector>
#include <SDL2/SDL.h>
// forward declare
class WindowHandler;
class Player;
class Inventory;
class Hotbar;
class World;
struct MouseBox;
struct StatBar;
class Menu;
class DroppedItem;
/* A struct to hold information about which keys do what. This is s... | gpl-3.0 |
fmreina/20162-INE5424-Agrupamento2-Tema1.1-ComponentesDeControleEAutomacao-17 | ine5424/src/machine/pc/timer_test.cc | 1067 | // EPOS PC_Timer Test Program
#include <utility/ostream.h>
#include <machine.h>
#include <display.h>
#include <timer.h>
using namespace EPOS;
OStream cout;
void handler()
{
static int elapsed;
int lin, col;
Display::position(&lin, &col);
Display::position(0, 60 + Machine::cpu_id() * 2);
Display... | gpl-3.0 |
justmedude/librenms | includes/html/modal/alert_schedule.inc.php | 18859 | <?php
/*
* LibreNMS
*
* Copyright (c) 2014 Neil Lathwood <https://github.com/laf/ http://www.lathwood.co.uk/fa>
*
* 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 ... | gpl-3.0 |
mhmli/helpers | wordpress/class.wordpress_database.php | 888 | <?php
/*
database functions for wordpress
*/
class wordpress_db {
function is_tree($pid){
// is the current page a subpage of page id $pid?
// mhm 2010
$anc = get_post_ancestors($GLOBALS['post']->ID);
foreach($anc as $ancestor):
if(is_page() && $ancestor == $pid):
return true;
endif;
endforeach;... | gpl-3.0 |
OpenFOAM/OpenFOAM-5.x | src/regionModels/surfaceFilmModels/thermoSingleLayer/thermoSingleLayerI.H | 4340 | /*---------------------------------------------------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011-2017 OpenFOAM Foundation
\\/ M anipulation |
--------... | gpl-3.0 |
donald-w/Anki-Android | lint-rules/src/test/java/com/ichi2/anki/lint/rules/DirectDateInstantiationTest.java | 4736 | package com.ichi2.anki.lint.rules;
import org.intellij.lang.annotations.Language;
import org.junit.Test;
import static com.android.tools.lint.checks.infrastructure.TestFile.JavaTestFile.create;
import static com.android.tools.lint.checks.infrastructure.TestLintTask.lint;
import static org.junit.Assert.assertTrue;
pu... | gpl-3.0 |
khozzy/pyalcs | lcs/strategies/action_planning/goal_sequence_searcher.py | 11083 | from typing import List, Optional, Tuple
from lcs import Perception
from lcs.agents.acs2 import Classifier
from lcs.agents.acs2.ClassifiersList import ClassifiersList
class GoalSequenceSearcher:
def __init__(self):
self.forward_classifiers = []
self.backward_classifiers = []
self.forward... | gpl-3.0 |
censam/open_cart | multilanguage/OC-Europa-1-5-1-3-9.part01/upload/catalog/language/serbian/account/transaction.php | 414 | <?php
// Heading
$_['heading_title'] = 'Vaše transakcije';
// Column
$_['column_date_added'] = 'Datum dodavanja';
$_['column_description'] = 'Opis';
$_['column_amount'] = 'Iznos (%s)';
// Text
$_['text_account'] = 'Nalog';
$_['text_transaction'] = 'Vaše transakcije';
$_['text_total'] = 'Va... | gpl-3.0 |
davisc/django-osgeo-importer | osgeo_importer/tasks.py | 3670 | import os
import shutil
from osgeo_importer.models import UploadFile
import celery
from osgeo_importer.views import OSGEO_IMPORTER
import logging
from geonode.celery_app import app
from osgeo_importer.models import UploadLayer, UploadException
from django.conf import settings
logger = logging.getLogger(__name__)
cla... | gpl-3.0 |
Sebbyastian/openfaction | shared/CKillableObject.cpp | 789 | /*****************************************************************************
*
* PROJECT: Open Faction
* LICENSE: See LICENSE in the top level directory
* FILE: shared/CKillableObject.cpp
* PURPOSE: Base class for all objects with life
* DEVELOPERS: Rafal Harabien
*
**************************... | gpl-3.0 |
vanan08/android-browser-cmcsoft | src/org/cmc/utils/Constants.java | 6300 | /*
* CMC Browser for Android
*
* Copyright (C) 2010 J. Devauchelle and contributors.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* version 3 as published by the Free Software Foundation.
*
* This program is distributed in the ... | gpl-3.0 |
manifestcreative/woocommerce | includes/class-wc-api.php | 11668 | <?php
/**
* WooCommerce API
*
* Handles WC-API endpoint requests.
*
* @author WooThemes
* @category API
* @package WooCommerce/API
* @since 2.0
*/
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
/**
* API class.
*/
class WC_API extends WC_Legacy_API {
/**
* Setup class.
*
* @since 2.0
*/
public f... | gpl-3.0 |
syboor/openimsce | openims/libs/tinymce/jscripts/tiny_mce/plugins/pie/editor_plugin_src.js | 2650 | (function() {
// Load plugin specific language pack
tinymce.PluginManager.requireLangPack('pie');
tinymce.create('tinymce.plugins.piePlugin', {
/**
* Initializes the plugin, this will be executed after the plugin has been created.
* This call is done before the editor instance has finished it's initializati... | gpl-3.0 |
boydjd/openfisma | library/Zend/Tool/Project/Context/Zf/ApplicationConfigFile.php | 7985 | <?php
/**
* Zend Framework
*
* LICENSE
*
* This source file is subject to the new BSD license that is bundled
* with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://framework.zend.com/license/new-bsd
* If you did not receive a copy of the license an... | gpl-3.0 |
Darkpeninsula/DarkCore-Old | src/server/scripts/Northrend/IcecrownCitadel/instance_icecrown_citadel.cpp | 36867 | /*
* Copyright (C) 2005-2012 MaNGOS <http://www.getmangos.com/>
* Copyright (C) 2008-2012 Trinity <http://www.trinitycore.org/>
* Copyright (C) 2010-2012 Project SkyFire <http://www.projectskyfire.org/>
* Copyright (C) 2011-2012 Darkpeninsula Project <http://www.darkpeninsula.eu/>
*
* This program is free softwar... | gpl-3.0 |
saumiko/ProjectArchiveAnalyzer | Project300/src/main/java/com/great/cms/db/dao/GenericDao.java | 667 | package com.great.cms.db.dao;
import java.io.Serializable;
import java.util.List;
import com.great.cms.db.entity.DomainObject;
/**
* @author sknabil
* @version 1.0.0
*
*/
public interface GenericDao <T extends DomainObject, ID extends Serializable> {
public T findById(ID id) throws RuntimeExcepti... | gpl-3.0 |
grimoirelab/sortinghat | sortinghat/exceptions.py | 3478 | # -*- coding: utf-8 -*-
#
# Copyright (C) 2014-2018 Bitergia
#
# 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 ... | gpl-3.0 |
Marlinski/Rumble | app/src/main/java/org/disrupted/rumble/userinterface/fragments/FragmentContactList.java | 4552 | /*
* Copyright (C) 2014 Lucien Loiseau
* This file is part of Rumble.
* Rumble 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.
*... | gpl-3.0 |
Harkame/My_lib | src/TestJsoup.java | 1633 | import java.io.IOException;
import java.util.Scanner;
import org.jsoup.Jsoup;
import org.jsoup.nodes.Document;
import org.jsoup.nodes.Element;
import org.jsoup.select.Elements;
public class TestJsoup
{
public static void main(String[] Args) throws IOException
{
System.out.print("Title : ");
Scanner keyboardScan... | gpl-3.0 |
samszo/open-edition | plugins-dist/porte_plume/lang/barreoutils_it.php | 5665 | <?php
// This is a SPIP language file -- Ceci est un fichier langue de SPIP
// extrait automatiquement de http://trad.spip.net/tradlang_module/barreoutils?lang_cible=it
// ** ne pas modifier le fichier **
if (!defined('_ECRIRE_INC_VERSION')) {
return;
}
$GLOBALS[$GLOBALS['idx_lang']] = array(
// B
'barre_a_acce... | gpl-3.0 |
metalab25/OpenSID | donjo-app/controllers/Setting.php | 1361 | <?php if (!defined('BASEPATH')) exit('No direct script access allowed');
class Setting extends CI_Controller {
public function __construct()
{
parent::__construct();
session_start();
$this->load->model('user_model');
$grup = $this->user_model->sesi_grup($_SESSION['sesi']);
if ($grup != 1)
{
if (empty... | gpl-3.0 |
indianopt/todb | test_mysql.php | 1215 | <HTML>
<HEAD>
<TITLE>Test wizard page 3: MySQL/PHP installation</TITLE>
</HEAD>
<BODY>
<h1>Testing MySQL/PHP installation:</h1>
<p>Note: TODB uses the PHP MySQL libraries, <i>not</i> the MySQLi libraries.</p>
<p>If your MySQL installation is working correctly with PHP, you should see current date and the ... | gpl-3.0 |
geminy/aidear | oss/qt/qt-everywhere-opensource-src-5.9.0/qtmultimedia/src/multimediawidgets/qgraphicsvideoitem.cpp | 11187 | /****************************************************************************
**
** Copyright (C) 2016 The Qt Company Ltd.
** Contact: https://www.qt.io/licensing/
**
** This file is part of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** Commercial License Usage
** Licensees holding valid commercial Qt licenses may u... | gpl-3.0 |
krishardy/argentum-firmware | src/argentum/argentum.cpp | 1256 | /*
Argentum Firmware
Copyright (C) 2013 Isabella Stevens
Copyright (C) 2014 Michael Shiel
Copyright (C) 2015 Trent Waddington
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 Foundati... | gpl-3.0 |
masneyb/flickrdownload | dev/src/java/org/gftp/FlickrDownload/IOUtils.java | 5116 | /*
FlickrDownload - Copyright(C) 2010 Brian Masney <masneyb@onstation.org>.
If you have any questions, comments, or suggestions about this program, please
feel free to email them to me. You can always find out the latest news about
FlickrDownload from my website at http://www.onstation.org/flickrdownload/
Fl... | gpl-3.0 |
PandoraPFA/LArContent | larpandoracontent/LArThreeDReco/LArCosmicRay/TwoViewCosmicRayRemovalTool.cc | 24754 | /**
* @file larpandoracontent/LArThreeDReco/LArTransverseTrackMatching/TwoViewCosmicRayRemovalTool.cc
*
* @brief Implementation of the two view cosmic removal tool class.
*
* $Log: $
*/
#include "larpandoracontent/LArThreeDReco/LArCosmicRay/TwoViewCosmicRayRemovalTool.h"
#include "Pandora/AlgorithmHeaders.... | gpl-3.0 |
avish/gitextensions | Plugins/GitUIPluginInterfaces/IGitPlugin.cs | 288 | namespace GitUIPluginInterfaces
{
public interface IGitPlugin
{
string Description { get; }
IGitPluginSettingsContainer Settings { get; set; }
void Register(IGitUICommands gitUiCommands);
void Execute(GitUIBaseEventArgs gitUiCommands);
}
} | gpl-3.0 |
murilotimo/moodle | calendar/managesubscriptions_form.php | 6732 | <?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle 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.
//
//... | gpl-3.0 |
Fatalerror66/ffxi-a | scripts/zones/Fort_Ghelsba/mobs/Orcish_Fodder.lua | 806 | -----------------------------------
-- Area: Fort Ghelsba (141)
-- Mob: Orcish_Fodder
-----------------------------------
-- require("scripts/zones/Fort_Ghelsba/MobIDs");
-----------------------------------
-- onMobInitialize
-----------------------------------
function onMobInitialize(mob)
end;
---------------... | gpl-3.0 |
wdzhou/mantid | Framework/PythonInterface/mantid/api/src/Exports/Sample.cpp | 3589 | #include "MantidAPI/Sample.h"
#include "MantidGeometry/Crystal/OrientedLattice.h"
#include "MantidGeometry/Crystal/CrystalStructure.h"
#include "MantidKernel/Material.h"
#include "MantidPythonInterface/kernel/GetPointer.h"
#include <boost/python/class.hpp>
#include <boost/python/copy_const_reference.hpp>
#include <boo... | gpl-3.0 |
thebykov/trufit | wp-content/plugins/codepress-admin-columns/classes/Column/Post/Shortcodes.php | 1171 | <?php
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
/**
* Display used shortcodes
*
* @since 2.3.5
*/
class AC_Column_Post_Shortcodes extends AC_Column {
public function __construct() {
$this->set_type( 'column-shortcode' );
$this->set_label( __( 'Shortcodes', 'codepress-admin-columns' ) );
}
public function ... | gpl-3.0 |
fabriciobizotto/webprogramming | EnemSpring/src/main/java/com/algaworks/pedidovenda/model/Cliente.java | 2360 | package com.algaworks.pedidovenda.model;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.EnumType;
import javax.persistence.Enumerated;
import javax.persiste... | gpl-3.0 |
sanger-pathogens/Artemis | src/main/java/uk/ac/sanger/artemis/io/SimpleEntryInformation.java | 14627 | /* SimpleEntryInformation.java
*
* created: Wed Feb 9 2000
*
* This file is part of Artemis
*
* Copyright (C) 2000 Genome Research Limited
*
* 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 Found... | gpl-3.0 |
makzk/AnEpicSnake | src/Snake.cpp | 4781 | /*
* File: Snake.cpp
* Author: Jonathan Gutiérrez
*
* Created on 28 de junio de 2014, 08:59 PM
*
* AnEpicSnake v0.5-dev
*
* This file is part of AnEpicSnake, licensed under the GPLv3 license.
* See the NOTICE.txt file for more information.
*/
#include "stdafx.h"
#include "Snake.h"
Snake::Snake() {
... | gpl-3.0 |
halayudha/bearded-octo-bugfixes | BestPeerDevelop/sg/edu/nus/protocol/body/CAClientBody.java | 3438 | /*
* @(#) CAClientBody.java 1.0 2006-1-6
*
* Copyright 2006, National University of Singapore.
* All rights reserved.
*/
package sg.edu.nus.protocol.body;
import java.security.cert.Certificate;
/**
* Implement the message body used for communicating with peers which
* contains the user identifier, certifica... | gpl-3.0 |
Puzzlout/EasyMvc | Library/Core/HttpRequest.php | 4889 | <?php
namespace Library\Core;
if (!FrameworkConstants_ExecutionAccessRestriction) {
exit('No direct script access allowed');
}
class HttpRequest {
public $requestId;
public function __construct() {
$this->requestId = \Library\Utility\UUID::v4();
}
public function requestId() {
return $this->requ... | gpl-3.0 |
kplian/pxp | lib/ux/GMapPanel(2).js | 6665 | /*!
* Ext JS Library 3.3.0
* Copyright(c) 2006-2010 Ext JS, Inc.
* licensing@extjs.com
* http://www.extjs.com/license
*/
/**
* @class Ext.ux.GMapPanel
* @extends Ext.Panel
* @author Shea Frederick
*/
Ext.ux.GMapPanel = Ext.extend(Ext.Panel, {
initComponent : function(){
var defConfig = {
... | gpl-3.0 |