repo_name
stringlengths
4
116
path
stringlengths
4
379
size
stringlengths
1
7
content
stringlengths
3
1.05M
license
stringclasses
15 values
apicloudcom/APICloud-Studio
org.cef/src/org/cef/handler/CefKeyboardHandler.java
4361
// Copyright (c) 2014 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. package org.cef.handler; import org.cef.browser.CefBrowser; import org.cef.misc.BoolRef; /** * Implement this interface to handl...
gpl-3.0
rukzuk/rukzuk
app/server/tests/helper/Test/Seitenbau/Cms/Response.php
1984
<?php namespace Test\Seitenbau\Cms; use Cms\Response as CmsResponse; /** * Response * * @package Cms */ class Response extends CmsResponse { /** * @var array */ private $expectedResponseBodySectionKeys; /** * @var string */ private $rawResponseBody; /** * @string */ public fun...
gpl-3.0
competitive-programming-itb/contests
NPC2021/qualification/F - Ayam Bangkok Putih cs.cpp
729
/** * Contest : NPC Schemastics 2021 * Team : Ayam Bangkok Putih cs. * Author : Jauhar Wibisono * Problem : F - Fun Quiz */ #include <bits/stdc++.h> using namespace std; const long long mod = 1e9+7; long long mod_pow(long long a, long long b){ long long ret = 1; for (; b; b>>=1){ if (b&1) ret = (ret * ...
gpl-3.0
daftano/dl-learner
components-core/src/main/java/org/dllearner/core/owl/LabelAnnotation.java
1086
/** * Copyright (C) 2007-2011, Jens Lehmann * * This file is part of DL-Learner. * * DL-Learner 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) an...
gpl-3.0
gohdan/DFC
known_files/hashes/bitrix/modules/sale/lib/tradingplatform/vk/feed/data/sources/section.php
63
Bitrix 17.0.9 Business Demo = c025464b5ea3ecdbe3db72188d0e2d93
gpl-3.0
hdecarne/java-default
src/test/java/de/carne/test/util/prefs/FilePreferencesTest.java
5617
/* * Copyright (c) 2018-2020 Holger de Carne and contributors, 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, either version 3 of the License, or * (at your option)...
gpl-3.0
ut/zakk-admin
spec/controllers/home_controller_spec.rb
146
require 'spec_helper' describe HomeController do it "should show homepage" do get :index expect(response).to be_successful end end
gpl-3.0
makmaksim/monitoring
www/crm/views/groups/groups.php
6673
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');?> <div class="page_title"><?=$menu_item->name?></div> <div class="form filter_form navbar-collapse" style="margin-bottom: 15px;"> <div class="form-inline navbar-nav"> <form class="filter_form"> <?php if($perms->control_user)...
gpl-3.0
jonathankablan/prestashop-1.6
prestashop_1.7/app/Resources/translations/fr-FR/1.6modulesautoupgradetranslationsfr-FR.php
79465
<?php global $_MODULE; $_MODULE = array(); $_MODULE['<{autoupgrade}prestashop>adminpreferences_6adf97f83acf6453d4a6a4b1070f3754'] = 'Aucun'; $_MODULE['<{autoupgrade}prestashop>adminpreferences_c035796995e11f000835780bbadbd575'] = 'Standard (5 étapes)'; $_MODULE['<{autoupgrade}prestashop>adminpreferences_b563636fd3896...
gpl-3.0
Lewis-Birkett/TeamAvengersVoteSystem
VoteCaster/VoteCaster/Program.cs
735
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace VoteCaster { class Program { static void Main(string[] args) { List<string> listOfCandidates = new List<string>(); listOfCandidates.Add...
gpl-3.0
weiznich/geomonitoring
ICP/run_icp.cpp
1647
/* * testdata.cpp * * Created on: 05.05.2014 * Author: Georg Semmler */ #include <iostream> #include <string> #include <pcl/point_cloud.h> #include <pcl/point_types.h> #include "../Parser/PlyParser.h" #include "ICP.h" /* * This function copy PCL pointclouds from input to output * * @param input, the ...
gpl-3.0
phoronix-test-suite/phoronix-test-suite
pts-core/objects/pts_Graph/pts_graph_radar_chart.php
10850
<?php /* Phoronix Test Suite URLs: http://www.phoronix.com, http://www.phoronix-test-suite.com/ Copyright (C) 2010 - 2021, Phoronix Media Copyright (C) 2010 - 2021, Michael Larabel This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as publis...
gpl-3.0
Zarius/Bukkit-OtherBlocks
src/com/gmail/zariust/otherdrops/event/DropsMap.java
2646
// OtherDrops - a Bukkit plugin // Copyright (C) 2011 Robert Sargant, Zarius Tularial, Celtic Minstrel // // 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 /...
gpl-3.0
lcpt/xc
verif/tests/materials/ehe/test_shrinkage_02.py
10113
# -*- coding: utf-8 -*- # home made test # Shrinking load pattern test. import xc_base import geom import xc from materials.ehe import EHE_materials __author__= "Luis C. Pérez Tato (LCPT)" __copyright__= "Copyright 2014, LCPT" __license__= "GPL" __version__= "3.0" __email__= "l.pereztato@gmail.com" concrHA30= EHE...
gpl-3.0
PoufPoufProduction/jlodb
editors/asm/asm.js
3906
(function($) { var defaults = { name: "asm", args: {}, // activity arguments validation: false, debug: true }; // private methods var helpers = { // Get the settings settings: function($this, _val) { if (_val) { $this.data("settings", _val); } return $this.data("settings"); }, ...
gpl-3.0
nicoechaniz/lime-app
plugins/lime-plugin-rx/src/rxConstants.js
667
export const GET_NODE_STATUS = 'rx/GET_NODE_STATUS'; export const GET_NODE_STATUS_SUCCESS = 'rx/GET_NODE_STATUS_SUCCESS'; export const GET_NODE_STATUS_ERROR = 'rx/GET_NODE_STATUS_ERROR'; export const TIMER_START = 'rx/TIMER_START'; export const TIMER_STOP = 'rx/TIMER_STOP'; export const INTERVAL_GET = 'rx/INTERVAL_GET'...
gpl-3.0
cjd/xLights
xLights/models/ChannelBlockModel.cpp
9467
/*************************************************************** * This source files comes from the xLights project * https://www.xlights.org * https://github.com/smeighan/xLights * See the github commit history for a record of contributing * developers. * Copyright claimed based on commit dates recorded in Githu...
gpl-3.0
HexHive/datashield
compiler/llvm/tools/clang/test/SemaCXX/typo-correction-crash.cpp
335
// RUN: %clang_cc1 -fsyntax-only -std=c++14 -verify %s auto check1() { return 1; return s; // expected-error {{use of undeclared identifier 's'}} } int test = 11; // expected-note {{'test' declared here}} auto check2() { return "s"; return tes; // expected-error {{use of undeclared identifier 'tes'; did you me...
gpl-3.0
3cky/bkemu-android
app/src/main/java/su/comp/bk/arch/io/memory/SmkMemoryManager.java
11548
/* * Copyright (C) 2021 Victor Antonovich (v.antonovich@gmail.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 version 3 of the License, or * (at your option) any later versio...
gpl-3.0
gohdan/DFC
known_files/hashes/templates/beez/html/com_contact/contact/default_form.php
49
Joomla 1.5.23 = 91626d8a09a940fe7272b00577b7322d
gpl-3.0
OXID-eSales/oxideshop_ce
tests/Integration/Internal/Framework/Module/Configuration/Dao/ModuleConfigurationDaoTest.php
1592
<?php /** * Copyright © OXID eSales AG. All rights reserved. * See LICENSE file for license details. */ declare(strict_types=1); namespace OxidEsales\EshopCommunity\Tests\Integration\Internal\Framework\Module\Configuration\Dao; use OxidEsales\EshopCommunity\Internal\Framework\Module\Configuration\Dao\ModuleConfi...
gpl-3.0
Dabblecraft2DevTeam/Movecraft-3
modules/Movecraft/src/main/java/net/countercraft/movecraft/mapUpdater/update/UpdateCommand.java
131
package net.countercraft.movecraft.mapUpdater.update; public abstract class UpdateCommand{ public abstract void doUpdate(); }
gpl-3.0
1stsetup/TVHClient
src/org/tvheadend/tvhclient/model/SeriesInfo.java
912
package org.tvheadend.tvhclient.model; import java.util.Locale; public class SeriesInfo { public int seasonNumber; public int seasonCount; public int episodeNumber; public int episodeCount; public int partNumber; public int partCount; public String onScreen; public String toString() { if (o...
gpl-3.0
sharun-s/kiwix-html5
www/js/lib/sw.js
11290
// ServiceWorker related code - HTML pages in the archive can be rendered in one of two ways // Parse article HTML for assets and load assets from the ZIM - Parse and Load // Load HTML and Intercept HTTP asset requests, and load assets from the ZIM - Intercept and Load // A service worker is used to implement Intercept...
gpl-3.0
h4h13/RetroMusicPlayer
app/src/main/java/code/name/monkey/retromusic/ui/fragments/settings/AudioSettings.java
1681
package code.name.monkey.retromusic.ui.fragments.settings; import android.content.Intent; import android.content.pm.PackageManager; import android.content.pm.ResolveInfo; import android.media.audiofx.AudioEffect; import android.os.Bundle; import android.support.v7.preference.Preference; import code.name.monkey.retrom...
gpl-3.0
cyberang3l/sysdata-collector
yapsy/PluginInfo.py
7078
#!/usr/bin/python # -*- coding: utf-8; tab-width: 4; indent-tabs-mode: t; python-indent: 4 -*- """ Role ==== Encapsulate a plugin instance as well as some metadata. API === """ from ConfigParser import ConfigParser from distutils.version import StrictVersion class PluginInfo(object): """ Representation o...
gpl-3.0
GEWIS/gewisweb
module/Frontpage/src/Controller/Factory/PageControllerFactory.php
668
<?php namespace Frontpage\Controller\Factory; use Frontpage\Controller\PageController; use Interop\Container\ContainerInterface; use Laminas\ServiceManager\Factory\FactoryInterface; class PageControllerFactory implements FactoryInterface { /** * @param ContainerInterface $container * @param string $req...
gpl-3.0
sogeti-java-nl/masters-of-java-software
ctrlaltdev/src/main/java/nl/ctrlaltdev/net/server/HTTPSocketHandler.java
4895
package nl.ctrlaltdev.net.server; import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.IOException; import java.io.InputStreamReader; import java.io.OutputStream; import java.io.OutputStreamWriter; import java.net.Socket; import java.util.HashMap; import java.util.Map; /** * Simple implementa...
gpl-3.0
mstritt/orbit-image-analysis
src/main/java/com/l2fprod/common/beans/BeanUtils.java
2191
/** * $ $ License. * * Copyright $ L2FProd.com * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable ...
gpl-3.0
fisherMartyn/draw.io
war/js/diagramly/DropboxFile.js
4599
/** * Copyright (c) 2006-2017, JGraph Ltd * Copyright (c) 2006-2017, Gaudenz Alder */ DropboxFile = function(ui, data, stat) { DrawioFile.call(this, ui, data); this.stat = stat; }; //Extends mxEventSource mxUtils.extend(DropboxFile, DrawioFile); /** * Translates this point by the given vector. * * @param {...
gpl-3.0
rfmaze2012/rfmaze-client
src/main/java/com/rfview/MatrixLabel.java
683
package com.rfview; public class MatrixLabel { private final int id; private final String label; private final String description; public MatrixLabel(int id, String label, String description) { super(); this.id = id; this.label = label; this.description = description; ...
gpl-3.0
sWoRm/Spojo
spojo-core/src/main/java/com/github/sworm/spojo/exceptions/RuleException.java
389
/** * */ package com.github.sworm.spojo.exceptions; /** * @author Vincent Palau * @Since Feb 27, 2011 * */ public class RuleException extends SpojoException { /** * */ private static final long serialVersionUID = -6706010699182962172L; /** * @param description */ public RuleEx...
gpl-3.0
G2159687/espd
app/src/main/java/com/github/epd/sprout/levels/SewerLevel.java
4971
package com.github.epd.sprout.levels; import com.github.epd.sprout.Assets; import com.github.epd.sprout.Dungeon; import com.github.epd.sprout.DungeonTilemap; import com.github.epd.sprout.actors.hero.HeroClass; import com.github.epd.sprout.actors.mobs.npcs.Ghost; import com.github.epd.sprout.actors.mobs.npcs.Ghost.Gno...
gpl-3.0
edabg/fpgate
FPGateSrv/src/main/java/TremolZFP/Bluetooth_PasswordRes.java
537
package TremolZFP; public class Bluetooth_PasswordRes { /** *(Length) Up to 3 symbols for the BT password length */ public Double PassLength; public Double getPassLength() { return PassLength; } protected void setPassLength(Double value) { PassLength = value; } /** *...
gpl-3.0
Niky4000/UsefulUtils
projects/tutorials-master/tutorials-master/spring-5-reactive/src/main/java/com/baeldung/functional/FormHandler.java
1706
package com.baeldung.functional; import org.springframework.core.io.buffer.DataBuffer; import org.springframework.util.MultiValueMap; import org.springframework.web.reactive.function.server.ServerRequest; import org.springframework.web.reactive.function.server.ServerResponse; import reactor.core.publisher.Mono; impor...
gpl-3.0
Keitaro-Bzh/MyERP
main/class/User.php
1951
<?php require_once $_SERVER['DOCUMENT_ROOT'] . '/main/class/Personne.php'; require_once $_SERVER['DOCUMENT_ROOT'] . '/main/class/classFonctions/fnClasse_User.php'; class User extends Personne { protected $idUser; protected $username; protected $password; protected $acces; protected $template; protecte...
gpl-3.0
mkuron/espresso
testsuite/python/tests_common.py
18274
# Copyright (C) 2010-2018 The ESPResSo project # # This file is part of ESPResSo. # # ESPResSo 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 v...
gpl-3.0
Gepardec/Hogarama
Hogajama/hogajama-angular-frontend/src/main/ionic/src/app/modules/config-connect-to-device-info/config-connect-to-device-info.page.spec.ts
828
import { CUSTOM_ELEMENTS_SCHEMA } from '@angular/core'; import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { ConfigConnectToDeviceInfoPage } from './config-connect-to-device-info.page'; describe('ConfigConnectToDeviceInfoPage', () => { let component: ConfigConnectToDeviceInfoPage; le...
gpl-3.0
oeil/feudboard
feudboard/src/main/java/org/teknux/feudboard/ws/model/BaseSearch.java
2787
/* * Copyright (C) 2016 TekNux.org * * This file is part of the feudboard GPL Source Code. * * feudboard Source Code 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
Phil-LiDAR2-Geonode/pl2-geonode
geonode/api/urls.py
893
from tastypie.api import Api from .api import TagResource, TopicCategoryResource, ProfileResource, \ GroupResource, RegionResource, OwnersResource from .resourcebase_api import LayerResource, MapResource, DocumentResource, \ ResourceBaseResource, FeaturedResourceBaseResource, DownloadCountResource from django....
gpl-3.0
webmaster442/McuTools
MCUBrowser/TabViewCollection.cs
1170
/******************************************************************************** * Project : Awesomium.NET (TabbedWPFSample) * File : TabViewCollection.cs * Version : 1.7.0.0 * Date : 3/5/2013 * Author : Perikles C. Stephanidis (perikles@awesomium.com) * Copyright : ©20...
gpl-3.0
Salamek/Shadow-of-Dust
neo/sys/win32/win_wndproc.cpp
13538
/* =========================================================================== Shadow of Dust GPL Source Code Copyright (C) 1999-2011 id Software LLC, a ZeniMax Media company. This file is part of the Shadow of Dust GPL Source Code ("Shadow of Dust Source Code"). Shadow of Dust Source Code is free software: you can ...
gpl-3.0
mbeyeler/opencv-python-blueprints
chapter1/filters.py
7008
#!/usr/bin/env python # -*- coding: utf-8 -*- """ A module containing a number of interesting image filter effects, such as: * Black-and-white pencil sketch * Warming/cooling filters * Cartoonizer """ import numpy as np import cv2 from scipy.interpolate import UnivariateSpline __autho...
gpl-3.0
shubhamkmr47/Helikar
inst/www/js/components/QQPlotModal.js
1495
/* copyright 2016 Helikar Lab Developed by Shubham Kumar, Vinit Ravishankar and Akram Mohammed 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) an...
gpl-3.0
petebrew/fhaes
fhaes/src/main/java/org/fhaes/fhrecorder/util/MetaDataTextField.java
2036
/************************************************************************************************** * Fire History Analysis and Exploration System (FHAES), Copyright (C) 2015 * * Contributors: Alex Beatty, Clayton Bodendein, Kyle Hartmann, Scott Goble, and Peter Brewer * * This program is free software: you ca...
gpl-3.0
applifireAlgo/appDemoApps201115
surveyportal/src/main/webapp/app/surveyportal/shared/com/survey/viewmodel/contacts/ContactTypeViewModel.js
237
Ext.define('Surveyportal.surveyportal.shared.com.survey.viewmodel.contacts.ContactTypeViewModel', { "extend": "Ext.app.ViewModel", "alias": "viewmodel.ContactTypeViewModel", "model": "ContactTypeModel", "data": {} });
gpl-3.0
YinYanfei/CadalWorkspace
CadalRecFromPK/src/project/cadal/SimUserRecommend.java
7625
package project.cadal; import java.io.IOException; import java.util.ArrayList; import java.util.Collections; import java.util.Comparator; import java.util.HashMap; import java.util.Iterator; import java.util.Map.Entry; import com.sleepycat.je.Cursor; import com.sleepycat.je.DatabaseEntry; import com.sleepycat.je.Lock...
gpl-3.0
SeqWare/queryengine
seqware-queryengine-backend/src/main/java/org/apache/commons/cli/HackedPosixParser.java
1992
/* * Copyright (C) 2012 SeqWare * * 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 distribute...
gpl-3.0
frits-scholer/pr
pr172/p172_v9.cpp
2636
#include <iostream> #include <iterator> #include <vector> #include <algorithm> #include <string> #include <cstring> using namespace std; #define FOR(i,a,b) for(int i=(a);i<(b);++i) #define REP(i,a) FOR(i,0,a) #define SP << " " << #define ALL(x) x.begin(),x.end() #define PB push_back #define S ...
gpl-3.0
SCI2SUGR/KEEL
src/keel/Algorithms/PSO_Learning/CPSO/CPSO.java
20069
/*********************************************************************** This file is part of KEEL-software, the Data Mining tool for regression, classification, clustering, pattern mining and so on. Copyright (C) 2004-2010 F. Herrera (herrera@decsai.ugr.es) L. Sánchez (luciano@uniovi.es) J. A...
gpl-3.0
skedastik/Alberti
web/htdocs/js/alberti/ToolEllipticalArc.js
5403
/* * Copyright (C) 2011, Alaric Holloway <alaric.holloway@gmail.com> * * This file is part of Alberti. * * Alberti 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 Licens...
gpl-3.0
RhysU/suzerain
suzerain/support/field.hpp
4591
//-------------------------------------------------------------------------- // // Copyright (C) 2008-2014 Rhys Ulerich // Copyright (C) 2012-2014 The PECOS Development Team // Please see http://pecos.ices.utexas.edu for more information on PECOS. // // This file is part of Suzerain. // // Suzerain is free software: yo...
gpl-3.0
1aurent/CloudBackup
CloudBackup.Manager/Schedule/IScheduleEditor.cs
1346
/* ........................................................................ * copyright 2015 Laurent Dupuis * ........................................................................ * < This program is free software: you can redistribute it and/or modify * < it under the terms of the GNU General Public Licens...
gpl-3.0
potsky/laravel-boilerplate-42
laravel/app/lang/en/message.php
171
<?php return array ( 'You have arrived' => 'TODO: You have arrived', 'arrived' => array ( 'You really have arrived' => 'TODO: You really have arrived', ), );
gpl-3.0
lab-experiments/ipmt
src/command_factory.cpp
697
/* @file: InputFactory.cpp @brief: arquivo de implementação do método do método GetCommand. ipmt */ #include "command_factory.hpp" /* @brief: função responsável por retorna o objeto referente ao comando informado via argumentos. */ Command *CommandFactory::GetCommand(InputModel input_model) { Command *com...
gpl-3.0
undeath/joinmarket-clientserver
scripts/yg-privacyenhanced.py
6006
#!/usr/bin/env python3 from future.utils import iteritems import random import sys from jmbase import get_log, jmprint, EXIT_ARGERROR from jmbitcoin import amount_to_str from jmclient import YieldGeneratorBasic, ygmain, jm_single # This is a maker for the purposes of generating a yield from held bitcoins # while max...
gpl-3.0
l2jserver2/l2jserver2
l2jserver2-gameserver/l2jserver2-gameserver-core/src/main/java/com/l2jserver/model/world/actor/calculator/ActorFormula.java
1127
/* * This file is part of l2jserver2 <l2jserver2.com>. * * l2jserver2 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. * * l2jse...
gpl-3.0
belissent/GrampsDynamicWebReport
speed_tests/dynamicweb_BIG/dwr_db_I_fams_20.js
105696
// This file is generated I_fams_20 = [ [], [], [ 43304 ], [], [], [ 43305 ], [], [], [ 43306 ], [ 20203 ], [ 20096 ], [ 20133 ], [ 20046 ], [ 20114 ], [], [],...
gpl-3.0
Phalynx/WOT-Statistics
Solution/WOT.Stats/Scripts/sorttable.js
15446
/* SortTable version 2 7th April 2007 Stuart Langridge, http://www.kryogenix.org/code/browser/sorttable/ Instructions: Download this file Add <script src="sorttable.js"></script> to your HTML Add class="sortable" to any table you'd like to make sortable Click on the headers to sort Thanks to m...
gpl-3.0
RogerRordo/ACM
Source/78.cpp
1459
/* Time: 161106 Prob: URAL1503 By RogerRo */ #include<cstdio> #include<cmath> #define tr(i,l,r) for((i)=(l);(i)<=(r);++i) #define rtr(i,r,l) for((i)=(r);(i)>=(l);--i) #define oo 1E5 #define eps 1E-15 #define maxn 10 using namespace std; double a[maxn][maxn],ans[maxn][maxn]; int n,anss[maxn]; int cmp(double x) { ...
gpl-3.0
QiuLihua83/Magento_with_some_popular_mods
app/code/local/Autocompleteplus/Autosuggest/Model/Mysql4/Fulltext.php
4184
<?php /** * InstantSearchPlus (Autosuggest) * * NOTICE OF LICENSE * * This source file is subject to the Open Software License (OSL 3.0) * that is available through the world-wide-web at this URL: * http://opensource.org/licenses/osl-3.0.php * * @category Mage * @package InstantSearchPlus * @copyright ...
gpl-3.0
cryporchild/rusty-neutron
rusty_neutron/utils/extract_data_from_exif.py
1167
import pathlib import re from pymongo import MongoClient from ..rusty_webapp.api import PhotoFields, DEFAULT_RATING, DEFAULT_DATE from ..rusty_webapp.exif import ExifTags client = MongoClient() db = client.rusty_neutron # TODO Put this into celery tasks def all_photo_paths_in_database_missing_date(): photos...
gpl-3.0
tpilz/lumpR
example/make_wasa_input/compute_musle_k.php
15454
<?php //Till: //0.9$ 14.7.2014: fixed faulty checking of dd_version //Till: //0.9$ alpha: 3.8.2006 //RENAMED table cum_* to t_cum_* //computationally irrelevant //Till: //0.93 alpha: 3.8.2006 //fixed bug in computation of USDA-silt content (computationally relevant) //Till: //0.92 alpha: 1.8.2006 //fixed bug in out...
gpl-3.0
metomi/rose
metomi/rosie/svn_pre_commit.py
13444
#!/usr/bin/env python3 # ----------------------------------------------------------------------------- # Copyright (C) British Crown (Met Office) & Contributors. # # This file is part of Rose, a framework for meteorological suites. # # Rose is free software: you can redistribute it and/or modify # it under the terms of...
gpl-3.0
jeremybernstein/cutechess
projects/cli/src/enginematch.cpp
21948
/* This file is part of Cute Chess. Cute Chess 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. Cute Chess is distri...
gpl-3.0
CLLKazan/iCQA
qa-engine/forum/management/commands/checkinstall.py
3457
import re import sys, traceback from django.core.management.base import NoArgsCommand OK_MESSAGE = " Found %(what)s version %(version)s - OK" OLD_VERSION_ERROR = """ ERROR: Found %(what)s version %(version)s - you should upgrade it to at least %(minimum)s. Package installers like apt-get or yum usua...
gpl-3.0
SafirSDK/safir-sdk-core
src/tests/dose_test.ss/StressTests/MultiPingPong/Ponger.cpp
3877
/****************************************************************************** * * Copyright Saab AB, 2006-2013 (http://safirsdkcore.com) * * Created by: Lars Hagström / stlrha * ******************************************************************************* * * This file is part of Safir SDK Core. * * Safir SDK Core ...
gpl-3.0
drogenlied/qudi
interface/confocal_scanner_interface.py
5250
# -*- coding: utf-8 -*- """ This module contains the Qudi interface file for confocal scanner. Qudi 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 ...
gpl-3.0
monkeyiq/ferris
Ferris/Shell.cpp
37143
/****************************************************************************** ******************************************************************************* ******************************************************************************* ferris Copyright (C) 2001 Ben Martin libferris is free software: y...
gpl-3.0
deathcap/BedrockAPI
src/main/java/org/bukkit/material/MonsterEggs.java
612
package org.bukkit.material; import java.util.List; import org.bukkit.Material; import org.bukkit.material.MaterialData; import org.bukkit.material.MonsterEggs; import org.bukkit.material.TexturedMaterial; public class MonsterEggs extends TexturedMaterial { public MonsterEggs() { } @Deprecated public MonsterE...
gpl-3.0
nicolaswenk/cf_heritage
Assets/Scripts/Model/Input/PepInputController.cs
2361
using UnityEngine; using System.IO.Ports; /// <summary> /// This class manages the device that gets the pressure / flow from the PEP. /// The input selection is done in BuildAndStart() in Assets/Scripts/Controller/LevelController.cs. /// </summary> public class PepInputController : InputController_I { public st...
gpl-3.0
Darkpeninsula/Darkcore-Rebase
src/server/worldserver/CommandLine/CliRunnable.cpp
19348
/* * Copyright (C) 2011-2012 DarkCore <http://www.darkpeninsula.eu/> * Copyright (C) 2011-2012 Project SkyFire <http://www.projectskyfire.org/> * Copyright (C) 2008-2012 TrinityCore <http://www.trinitycore.org/> * Copyright (C) 2005-2012 MaNGOS <http://getmangos.com/> * * This program is free software; you can re...
gpl-3.0
jeromeetienne/neoip
src/neoip_libsess/base/clineopt/base/nunit/neoip_clineopt_nunit.hpp
677
/*! \file \brief Header of the test of clineopt_t */ #ifndef __NEOIP_CLINEOPT_NUNIT_HPP__ #define __NEOIP_CLINEOPT_NUNIT_HPP__ /* system include */ /* local include */ #include "neoip_nunit_testclass_api.hpp" #include "neoip_nunit_testclass_ftor.hpp" #include "neoip_namespace.hpp" NEOIP_NAMESPACE_BEGIN; /** \...
gpl-3.0
alamaison/washer
test/filesystem_test.cpp
2246
/** @file Tests for file and directory functions. @if license Copyright (C) 2012 Alexander Lamaison <awl03@doc.ic.ac.uk> This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation...
gpl-3.0
12019/svn.gov.pt
_src/eidmw/misc/Wix_MW35/pteidcleanup/embedded_rc.cpp
3833
/* **************************************************************************** * eID Middleware Project. * Copyright (C) 2008-2009 FedICT. * * This is free software; you can redistribute it and/or modify it * under the terms of the GNU Lesser General Public License version * 3.0 as published by the Free ...
gpl-3.0
hashashin/ksp_notes
notesRPM/Properties/AssemblyInfo.cs
1576
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // La información general sobre un ensamblado se controla mediante el siguiente // conjunto de atributos. Cambie estos atributos para modificar la información // asociada con un ensamblado. [assembly: AssemblyTitle(...
gpl-3.0
emogames-gbr/syndicates
src/public/php/syndadmin/emo_preise_verteilen.php
8659
<?php require("../../../includes.php"); connectdb(); set_time_limit(3600); $time = time(); $identifier = "pawldwl2"; $globals = assoc("select * from globals order by round desc limit 1"); $round = $globals[round]-1; echo "round: $round<br>"; if (!single("select count(*) from announcements where headline like 'Gewin...
gpl-3.0
runsoftdev/bVnc
bVNC/src/com/iiordanov/tigervnc/rfb/Decoder.java
2566
/* Copyright (C) 2002-2005 RealVNC Ltd. All Rights Reserved. * * This is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * Thi...
gpl-3.0
petr-stety-stetka/SlovanEngine
external/glm/mat3x2.hpp
3105
/////////////////////////////////////////////////////////////////////////////////// /// OpenGL Mathematics (glm.g-truc.net) /// /// Copyright (c) 2005 - 2015 G-Truc Creation (www.g-truc.net) /// Permission is hereby granted, free of charge, to any person obtaining a copy /// of this software and associated documentatio...
gpl-3.0
JoseLoarca/jc-chat
JCChat/app/src/main/java/org/jcloarca/jcchat/lib/GlideImageLoader.java
553
package org.jcloarca.jcchat.lib; import android.content.Context; import android.widget.ImageView; import com.bumptech.glide.Glide; import com.bumptech.glide.RequestManager; /** * Created by JCLoarca on 6/10/2016. */ public class GlideImageLoader implements ImageLoader { private RequestManager requestManager; ...
gpl-3.0
xrootd/xrootd-test-framework
src/XrdTest/ClusterUtils.py
19547
#!/usr/bin/env python #------------------------------------------------------------------------------- # # Copyright (c) 2011-2012 by European Organization for Nuclear Research (CERN) # Author: Lukasz Trzaska <ltrzaska@cern.ch> # # This file is part of XrdTest. # # XrdTest is free software: you can redistribute it and/...
gpl-3.0
simontb/Fussball-Regelfragen-Android
app/src/main/java/de/simontenbeitel/regelfragen/domain/interactor/base/Interactor.java
379
package de.simontenbeitel.regelfragen.domain.interactor.base; /** * This is the main interface of an interactor. Each interactor serves a specific use case. */ public interface Interactor { /** * This is the main method that starts an interactor. It will make sure that the interactor operation is done on ...
gpl-3.0
BerntA/SourceProjectCleaner
ProjectCleaner/Properties/AssemblyInfo.cs
1459
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("Pr...
gpl-3.0
KineticIsEpic/CadenciiStudio
src/cadencii.apputil/BVScrollBar.cs
2087
#if !JAVA /* * BVScrollBar.cs * Copyright © 2009-2011 kbinani * * This file is part of cadencii.apputil. * * cadencii.apputil is free software; you can redistribute it and/or * modify it under the terms of the BSD License. * * cadencii.apputil is distributed in the hope that it will be useful, * but WITHOUT A...
gpl-3.0
deyvedvm/cederj
fund-prog/2017-2/ap1/questao2.py
1408
# coding=utf-8 """ A função fatorial duplo é definida como o produto de todos os números naturais ímpares de 1 até algum número natural ímpar N. Por exemplo, se N é igual a 5 então o fatorial duplo de N é calculado como: 5!! = 1 × 3 × 5 = 15 Implemente um programa que recebe uma sequência de números naturais via ent...
gpl-3.0
icgc-dcc/dcc-portal
dcc-portal-pql/src/main/java/org/dcc/portal/pql/es/utils/ParseTrees.java
2372
/* * Copyright (c) 2015 The Ontario Institute for Cancer Research. All rights reserved. * * This program and the accompanying materials are made available under the terms of the...
gpl-3.0
kosgroup/odoo
addons/stock/tests/test_stock_flow.py
89284
# -*- coding: utf-8 -*- from odoo.addons.stock.tests.common import TestStockCommon from odoo.tools import mute_logger, float_round class TestStockFlow(TestStockCommon): @mute_logger('odoo.addons.base.ir.ir_model', 'odoo.models') def test_00_picking_create_and_transfer_quantity(self): """ Basic stock...
gpl-3.0
explosivose/CHASERS
Assets/BrainStorm/Scripts/Equipment/WeaponLaserEffects.cs
545
using UnityEngine; using System.Collections; public class WeaponLaserEffects : MonoBehaviour { public Transform[] startPoints; public Transform laserEffect; private Transform _nozzle; void Awake() { _nozzle = transform.FindChild("Nozzle"); ObjectPool.CreatePool(laserEffect); } void FireEffect() { f...
gpl-3.0
callummoffat/Unigram
Unigram/Unigram/Views/InvitePage.xaml.cs
817
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.InteropServices.WindowsRuntime; using Windows.Foundation; using Windows.Foundation.Collections; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Controls.Primitives; using Windows.UI.Xam...
gpl-3.0
jugal-ionic/parse-server
node_modules/parse-server/lib/testing-routes.js
2732
'use strict'; var _cache = require('./cache'); var _cache2 = _interopRequireDefault(_cache); var _middlewares = require('./middlewares'); var middlewares = _interopRequireWildcard(_middlewares); var _index = require('./index'); var _node = require('parse/node'); function _interopRequireWildcard(obj) { if (obj &&...
gpl-3.0
cdkrot/RoomedGame
src/tests/src/aabb-test.cpp
502
#include <glm/glm.hpp> #include "gtest/gtest.h" #include "aabb.h" TEST (AABB, isInsideAABB) { AABB aabb = {glm::vec3(-10.0f, 4.0f, -8.0f), glm::vec3(+4.0f, +10.0f, +2.0f)}; EXPECT_TRUE(isInsideAABB(aabb, glm::vec3(0.0f, 5.0f, 0.0f))); EXPECT_TRUE(isInsideAABB(aabb, glm::vec3(3.0f, 4.3f, -4.0f))); EXPECT_FALSE(...
gpl-3.0
dedefajriansyah/jibas
kepegawaian/logout.php
1259
<? /**[N]** * JIBAS Education Community * Jaringan Informasi Bersama Antar Sekolah * * @version: 3.8 (January 25, 2016) * @notes: JIBAS Education Community will be managed by Yayasan Indonesia Membaca (http://www.indonesiamembaca.net) * * Copyright (C) 2009 Yayasan Indonesia Membaca (http://www.indone...
gpl-3.0
thebatua/debus
debus_agent/moc_DTPCommands.cpp
2640
/**************************************************************************** ** Meta object code from reading C++ file 'DTPCommands.h' ** ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.7.0) ** ** WARNING! All changes made in this file will be lost! *********************************************************...
gpl-3.0
viggyprabhu/UVCE-1stSem-ME-CN-TCPIP-Lab
ICMPImpl/src/org/uvce/cn/tcpip/labprograms/program5/PingIP.java
704
package org.uvce.cn.tcpip.labprograms.program5; import java.io.BufferedReader; import java.io.InputStreamReader; public class PingIP { // In this program we use system command Ping // We call java inbuilt class Runtime.getRuntime.exec to execute the command //Whatever output comes from the command, we show it to...
gpl-3.0
scirner22/astah-parametrics-plugin
src/test/java/com/astah/diagram/AstahModelTest.java
1019
package com.astah.diagram; import static org.junit.Assert.*; import java.util.Arrays; import java.util.List; import org.junit.After; import org.junit.Before; import org.junit.Test; import com.change_vision.jude.api.inf.model.IDiagram; import com.change_vision.jude.api.inf.model.IModel; public class AstahModelTest ...
gpl-3.0
kylethayer/bioladder
wiki/includes/api/ApiFeedWatchlist.php
9436
<?php /** * Copyright © 2006 Yuri Astrakhan "<Firstname><Lastname>@gmail.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 version 2 of the License, or * (at your option) any l...
gpl-3.0
ZeroOne71/ql
02_ECCentral/02_Portal/UI/ECCentral.Portal.UI.Common/Resources/ResQueryPayType.Designer.cs
9377
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.269 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //----...
gpl-3.0
giacomocerquone/ilcorsaronero-api
index.js
2982
'use strict'; var request = require('request'), cheerio = require('cheerio'); function search(term, cat, callback) { if (typeof term !== 'string') { callback(new Error("You must enter a string to search.")); return; } scrape("http://ilcorsaronero.info/argh.php?search=" + encodeURIComponent(term), ca...
gpl-3.0
s20121035/rk3288_android5.1_repo
external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/serialization/KeyExceptionTest.java
1761
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you...
gpl-3.0
Forlini91/Empire-Earth---DB-Editor
src/datstructure/structures/TerrainGrayTextures.java
1131
package datstructure.structures; import java.io.IOException; import java.util.List; import datstructure.DatStructure; import datstructure.Entry; /** * Represents the file dbterraingraytextures.dat * * @author MarcoForlini */ public class TerrainGrayTextures extends DatStructure { /** * Uniq...
gpl-3.0