repo_name
stringlengths
4
116
path
stringlengths
4
379
size
stringlengths
1
7
content
stringlengths
3
1.05M
license
stringclasses
15 values
Res2013/MyCleanArchitecture
MyCleanArchitecture/Library/src/androidTest/java/herry/library/ExampleInstrumentedTest.java
735
package herry.library; import android.content.Context; import android.support.test.InstrumentationRegistry; import android.support.test.runner.AndroidJUnit4; import org.junit.Test; import org.junit.runner.RunWith; import static org.junit.Assert.*; /** * Instrumentation test, which will execute on an Android device...
gpl-3.0
csbernath/DataCommander
Foundation/.NetStandard-2.0/Data/IDataParameterValue.cs
121
namespace Foundation.Data { public interface IDataParameterValue { object ValueObject { get; } } }
gpl-3.0
jantman/puppet-archlinux-macbookretina
spec/spec_helper_acceptance.rb
1099
require 'beaker-rspec' require 'beaker/puppet_install_helper' require 'beaker/module_install_helper' RSpec.configure do |c| # Project root proj_root = File.expand_path(File.join(File.dirname(__FILE__), '..')) # Readable test descriptions c.formatter = :documentation # Configure all nodes in nodeset c.bef...
gpl-3.0
OpenSID/OpenSID
donjo-app/controllers/buku_umum/Pengurus.php
7138
<?php defined('BASEPATH') OR exit('No direct script access allowed'); /* * File ini: * * Controller untuk modul Pengaturan > Pengurus * * donjo-app/controllers/Pengurus.php * */ /* * File ini bagian dari: * * OpenSID * * Sistem informasi desa sumber terbuka untuk memajukan desa * * Aplikasi dan sourc...
gpl-3.0
davidmp/sgeupeu
sgeupeu/src/java/sge/modelo/Temporada.java
1047
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package sge.modelo; public class Temporada { int idtemporada; String inicio; String descripcion; String fin; String estado; public int getIdtemporada() { return idtemporada; } ...
gpl-3.0
marcinkowalczyk/cgrates
engine/users_test.go
24030
/* Real-time Online/Offline Charging System (OCS) for Telecom & ISP environments Copyright (C) ITsysCOM GmbH 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 yo...
gpl-3.0
ronin-ruby/ronin-asm
spec/spec_helper.rb
208
require 'rspec' require 'ronin/asm/version' include Ronin include Ronin::ASM RSpec.configure do |specs| specs.treat_symbols_as_metadata_keys_with_true_values = true specs.filter_run_excluding :yasm end
gpl-3.0
themiwi/freefoam-debian
src/OpenFOAM/db/functionObjects/IOOutputFilter/IOOutputFilter.H
3737
/*---------------------------------------------------------------------------* \ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | \\ / A nd | Copyright (C) 1991-2010 OpenCFD Ltd. \\/ M anipulation | --------------...
gpl-3.0
SynergyMC/PlotSquared
Bukkit/src/main/java/com/plotsquared/bukkit/listeners/worldedit/WEListener.java
13609
package com.plotsquared.bukkit.listeners.worldedit; import com.intellectualcrafters.plot.PS; import com.intellectualcrafters.plot.config.C; import com.intellectualcrafters.plot.config.Settings; import com.intellectualcrafters.plot.object.Plot; import com.intellectualcrafters.plot.object.PlotPlayer; import com.intellec...
gpl-3.0
hamish2014/optTune
optTune/paretoArchives/paretoArchive2D_noise.py
19031
""" 2D pareto front data structure for noisy optimization environments. More specifically, designed for bi-objective problems where - the first objective is noise-free, and - only the second objective has noise present. These 2D paretoArchives are design for problems which are typically encountered in multi-objectiv...
gpl-3.0
donatellosantoro/Llunatic
jep-2.4.1/src/org/nfunk/jep/function/PostfixMathCommand.java
3746
/***************************************************************************** JEP 2.4.1, Extensions 1.1.1 April 30 2007 (c) Copyright 2007, Nathan Funk and Richard Morris See LICENSE-*.txt for license information. *****************************************************************************/ package org...
gpl-3.0
fearless359/simpleinvoices_zend2
extensions/sub_customer/si_classes/SubCustomers.php
4254
<?php namespace extensions\sub_customer\si_classes; use si_classes\DomainId; class SubCustomers { /** * Add extension database field if not present. * @return boolean true if no DB error; otherwise false. */ public static function addParentCustomerId() { global $config, $pdoDb; ...
gpl-3.0
jkevlorayna/sams
core/header.php
1236
<!DOCTYPE html> <html lang="en" ng-app="app"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="description" content=""> <meta name="author" content=""> <title>Student Attendance Management System Administrator</title> <!-- Bootstrap core CSS --> <l...
gpl-3.0
nickkolok/chas-ege
zdn/misc_nines2022/2/main.js
57
window.nomer=sl(1,1); window.comment='Параболы';
gpl-3.0
OpenFn/OpenFn-Site
db/migrate/20140704211041_add_settings_to_user.rb
255
class AddSettingsToUser < ActiveRecord::Migration def change add_column :users, :odk_username, :string add_column :users, :odk_password, :string add_column :users, :sf_username, :string add_column :users, :sf_password, :string end end
gpl-3.0
kolrabi/DesktopBooru
Sources/Database/Queries/Config/Set.cs
577
using System; using System.Data.Common; using System.Data; namespace Booru.Queries.Config { public class Set : DatabaseQuery { private Set (string key, string value) : base( "INSERT OR REPLACE INTO " + ConfigTableName + " " + " (name, value) " + " VALUES (@name, @val...
gpl-3.0
alternativeTime/unicarb_static
app/models/glycosuite/GeneralSites.java
1351
package models; import java.util.*; import javax.persistence.*; import play.db.ebean.*; import play.data.format.*; import play.data.validation.*; import play.mvc.Content; import com.avaje.ebean.*; /** * Sites entity managed by Ebean */ @SuppressWarnings("serial") @Entity @Table(name="general_sites", schema="gly...
gpl-3.0
jpahullo/planetsim
src/planet/test/serialize/LoadSerializedFile.java
1518
package planet.test.serialize; import planet.commonapi.Network; import planet.generic.commonapi.GenericApp; import planet.generic.commonapi.factory.GenericFactory; import planet.generic.commonapi.factory.Topology; import planet.test.TestNames; import planet.util.Properties; /** * Builds a network based wit...
gpl-3.0
brangerbriz/webroutes
nw-app/telegeography-data/internetexchanges/metro-areas/madrid.js
809
{"buildings":[{"latitude":"40.490159","address":["c/ Lezama 4","c/ Lezama, 4","Madrid, Spain, E28034"],"longitude":"-3.690178","offset":"background:url('images/markers.png') no-repeat -1166px 0;","id":19423},{"latitude":"40.4391411","address":["Calle Albasanz 71","Madrid, Spain, E28037"],"longitude":"-3.6214827","offse...
gpl-3.0
Graylog2/graylog2-server
graylog-storage-elasticsearch6/src/test/java/org/graylog/storage/elasticsearch6/views/searchtypes/eventlist/ESEventListTest.java
5318
/* * Copyright (C) 2020 Graylog, Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the Server Side Public License, version 1, * as published by MongoDB, Inc. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; withou...
gpl-3.0
Hikarikun92/Windows-Kinect-Control
Kinect/KinectApp/Camera.xaml.cs
3369
/* Copyright (C) 2014 Lucas José dos Santos Souza 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
penguinflyer5234/egoboo
egolib/src/egolib/Core/StringUtilities.hpp
7184
//******************************************************************************************** //* //* This file is part of Egoboo. //* //* Egoboo 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
Pantare/sun-rising---the-forgotten-shadows
Assets/Scripts/MotherShip.cs
6373
using UnityEngine; using System.Linq; using System.Collections; using System.Collections.Generic; public class MotherShip : MonoBehaviour { [Range(0f, 50f)] public float speed; //Velocidad maxima de la nave. [Range(0f, 5000f)] public float currentSpeed; ...
gpl-3.0
philvbprogrammer/XrmToolBox
XrmToolBox.PluginsStore/Extensions.cs
1394
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Reflection; using XrmToolBox.Extensibility; using XrmToolBox.Extensibility.Interfaces; namespace XrmToolBox.PluginsStore { public static class FileInfoExtensions { /// <summary> /// Checks if the c...
gpl-3.0
mater06/LEGOChimaOnlineReloaded
LoCO Client Files/Decompressed Client/Extracted DLL/Wb.Lpw.Protocol/LogCodes/Services/Inventory/RemoveItemFromPlayerInventory/Info.cs
762
// Decompiled with JetBrains decompiler // Type: Wb.Lpw.Platform.Protocol.LogCodes.Services.Inventory.RemoveItemFromPlayerInventory.Info // Assembly: Wb.Lpw.Protocol, Version=2.13.83.0, Culture=neutral, PublicKeyToken=null // MVID: A621984F-C936-438B-B744-D121BF336087 // Assembly location: C:\Users\CGA Computer\Deskto...
gpl-3.0
dave-billin/moos-ivp-uidaho
projects/pVehicleID/src/pVehicleIDMain.cpp
2360
//============================================================================= /* Copyright (C) 2012 Brandt Pedrow 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...
gpl-3.0
konamith/wm-bus-api
wm-bus-dao/wm-bus-dao-support/src/main/java/com/hundsun/wm/api/dao/support/core/Channel.java
371
package com.hundsun.wm.api.dao.support.core; /** * 适配层向外部接口发送请求的通道 * * @author liuming * * @param <P> * 入参 * @param <R> * 出参 */ public interface Channel<P, R> { /** * 发送一个请求,同步接收返回结果 * * @param parameter 入参 * @return 出参 */ R send(P parameter); }
gpl-3.0
jesusc/eclectic
plugins/org.eclectic.frontend.syntax/src-gen/org/eclectic/frontend/parser/antlr/internal/InternalMappingsLexer.java
58194
package org.eclectic.frontend.parser.antlr.internal; // Hack: Use our own Lexer superclass by means of import. // Currently there is no other way to specify the superclass for the lexer. import org.eclipse.xtext.parser.antlr.Lexer; import org.antlr.runtime.*; import java.util.Stack; import java.util.List; import ja...
gpl-3.0
erickvla/mySat
src/org/mysat/persistence/daos/PersonaDao.java
2509
/** * */ package org.mysat.persistence.daos; import java.io.Serializable; import java.util.HashMap; import java.util.List; import java.util.Map; import org.mysat.Constants; import org.mysat.persistence.entities.Persona; /** * @author imac * */ public class PersonaDao extends AbstractDao<Persona, Long> implemen...
gpl-3.0
Ayuntamiento-Zaragoza/dxf2gml-catastro
catastro/utils.py
283
# -*- coding: utf-8 -*- import os def handle_uploaded_file(f, target): path = os.path.dirname(target) if not os.path.isdir(path): os.makedirs(path) with open(target, 'wb+') as destination: for chunk in f.chunks(): destination.write(chunk)
gpl-3.0
sigecoin/sigecoin
test/hash_tests.cpp
5671
// Copyright (c) 2017 SIGE developer // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "hash.h" #include "utilstrencodings.h" #include "test/test_sigecoin.h" #include <vector> #include <boost/test/unit_test.hpp> BOOST_...
gpl-3.0
Libertual/api-server
middlewares/authMidlw.js
731
const jwt = require('jwt-simple'); const moment = require('moment'); const config = require('../config/main'); function isAuth(req, res, next) { // console.log(req.headers); if (!req.headers.authorization) return res.status(403).send({ message: 'No estás conectado.' }); const token = req.header('Authorization'...
gpl-3.0
wp-plugins/uiform-form-builder
modules/formbuilder/views/fields/templates/prevpanel_submitbtn.php
2956
<?php /** * Intranet * * PHP version 5 * * @category PHP * @package Rocket_form * @author Softdiscover <info@softdiscover.com> * @copyright 2015 Softdiscover * @license http://www.php.net/license/3_01.txt PHP License 3.01 * @link http://www.uiform.com/wordpress-form-builder */ if (...
gpl-3.0
urashima9616/Leetcode_Python
Leet130_SurroundedRegions2.py
2294
import Queue class Solution(object): def solve(self, board): """ :type board: List[List[str]] :rtype: void Do not return anything, modify board in-place instead. """ if not board: return rowdim = len(board) coldim = len(board[0]) openlist =...
gpl-3.0
gtri-iead/org.gtri.util.scala
xsdbuilder/src/main/scala/org/gtri/util/scala/xsdbuilder/elements/XsdSimpleType.scala
2244
package org.gtri.util.scala.xsdbuilder.elements import org.gtri.util.scala.statemachine._ import org.gtri.util.xsddatatypes._ import org.gtri.util.xsddatatypes.XsdCodes._ import org.gtri.util.xsddatatypes.XsdConstants._ import org.gtri.util.scala.xsdbuilder.XmlParser._ import org.gtri.util.scala.xmlbuilder.{XmlNamespa...
gpl-3.0
Vespapp/vespapp-web
api/migrations/0032_auto_20160721_1004.py
423
# -*- coding: utf-8 -*- # Generated by Django 1.9.4 on 2016-07-21 08:04 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('api', '0031_appversion_last'), ] operations = [ migrations.RenameField( ...
gpl-3.0
dbs-leipzig/foodbroker_ruby
model/customer.rb
278
class Customer < ERPMasterData def Customer.duck Customer.new :kind end def initialize kind @name = "#{NAMES[:customer][:adj].sample} #{NAMES[:customer][:noun].sample} #{NAMES[:cities].sample}" super kind DomainData.add2stats 1,0 end end
gpl-3.0
SQLPower/power-matchmaker
regress/ca/sqlpower/matchmaker/munge/TestingAbstractMungeStep.java
1256
/* * Copyright (c) 2008, SQL Power Group Inc. * * This file is part of DQguru * * DQguru 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) a...
gpl-3.0
h-asai/AnswersheetAnalysis
AnswerSheetAnalysis/Common/RelayCommand.cs
1813
using System; using System.Windows.Input; using System.Diagnostics; namespace AnswerSheetAnalysis { /// <summary> /// Relay command that catches events /// </summary> public class RelayCommand : ICommand { readonly Action<object> _execute; readonly Predicate<object> _ca...
gpl-3.0
srnsw/xena
plugins/project/ext/src/mpxj/src/net/sf/mpxj/mpx/MPXTaskField.java
20712
/* * file: MPXTaskField.java * author: Jon Iles * copyright: (c) Packwood Software 2005 * date: 20-Feb-2006 */ /* * This library is free software; you can redistribute it and/or modify it * under the terms of the GNU Lesser General Public License as published by the * Free Software F...
gpl-3.0
HkB115/RefineCraft
RefineCraft/src/net/refination/refinecraft/commands/Commandtpa.java
1647
package net.refination.refinecraft.commands; import net.refination.refinecraft.User; import org.bukkit.Server; import static net.refination.refinecraft.I18n.tl; public class Commandtpa extends RefineCraftCommand { public Commandtpa() { super("tpa"); } @Override public void run(Server server...
gpl-3.0
Tony-Hao/Valx
W_utility/log.py
750
# logging utlities import logging from datetime import datetime # define the script global logger def ext_print (name): tnow = datetime.now() name = '['+str(tnow)+'] ' +name return name #Usage: #from utility.log import strd_logger #from cgi import log #log = strd_logger ('XXXX') #log.error ('XXX') #log.info ('X...
gpl-3.0
Bleno/portfolio
portfolio/views/login.py
1980
# -*- encoding: utf-8 -*- from colander import Schema, SchemaNode, String from deform.widget import PasswordWidget, TextInputWidget, CheckboxWidget from deform import Button from pyramid.httpexceptions import HTTPFound from pyramid.security import Allow from pyramid.security import forget from pyramid.security import ...
gpl-3.0
rask004/AndroidMotionRecorder
app/src/main/java/com/rolandjamesaskew/portifolio/android/devicesensorsrecorder/fragment/AvailableSensorsFragment.java
6524
package com.rolandjamesaskew.portifolio.android.devicesensorsrecorder.fragment; import android.content.Context; import android.hardware.Sensor; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.v4.app.Fragment; import android.view.LayoutInflater; import android.view.View; imp...
gpl-3.0
rfsantos1996/LobsterCraft
src/main/java/com/jabyftw/lobstercraft/commands/player/RepairCommand.java
2201
package com.jabyftw.lobstercraft.commands.player; import com.jabyftw.easiercommands.CommandExecutor; import com.jabyftw.easiercommands.CommandHandler; import com.jabyftw.easiercommands.SenderType; import com.jabyftw.lobstercraft.player.OnlinePlayer; import com.jabyftw.lobstercraft.Permissions; import org.bukkit.Materi...
gpl-3.0
ruimaciel/femp
gui/src/ui/dialogs/NodeActionsDialog.c++
1008
#include "NodeActionsDialog.h++" #include "LoadPatternDialog.h++" #include <QAbstractItemView> NodeActionsDialog::NodeActionsDialog(LoadPatternsModel& model, QWidget* parent) : QDialog(parent) { setupUi(this); this->comboBoxLoadPattern->setModel(&model); } size_t NodeActionsDialog::getLoadPattern() { ...
gpl-3.0
hospage/tynod
perfilWrk.php
10425
<!DOCTYPE html> <?php session_start(); if($_SESSION['tipoUsuario'] == "usuarios") { echo '<script>window.location = "perfilUsr.php"</script>'; } ?> <html> <head> <title></title> <link rel="stylesheet" type="text/css" href="css/booty.css"> <link rel="stylesheet" type="text/css" href="css/animate.css"...
gpl-3.0
coldfix/pystif
pystif/pitip.py
2067
""" Python Information Theoretic Inequality Prover Usage: pitip VARNAMES CHECK [-p] Options: -p, --prove Show proof """ import numpy as np from .core.app import application from .core.io import System, column_varname_labels from .core.it import elemental_inequalities, elemental_forms def _format_d...
gpl-3.0
openqbit/Systems-Insurance
OpenQbit.InsuranceSystem.git/OpenQbit.Insurance.Service.WebApi/Areas/HelpPage/SampleGeneration/HelpPageSampleKey.cs
6497
using System; using System.Collections.Generic; using System.ComponentModel; using System.Net.Http.Headers; namespace OpenQbit.Insurance.Service.WebApi.Areas.HelpPage { /// <summary> /// This is used to identify the place where the sample should be applied. /// </summary> public class HelpPageSampleKey...
gpl-3.0
aaujon/dolibarr
htdocs/fourn/class/fournisseur.product.class.php
24707
<?php /* Copyright (C) 2005 Rodolphe Quiedeville <rodolphe@quiedeville.org> * Copyright (C) 2006-2011 Laurent Destailleur <eldy@users.sourceforge.net> * Copyright (C) 2009-2014 Regis Houssin <regis.houssin@capnetworks.com> * Copyright (C) 2011 Juanjo Menent <jmenent@2byte.es> * Copyright (C) 2012 Christophe...
gpl-3.0
talperetz/deep_bb
bb-client/src/app/chat/chat.component.ts
1180
import {Component, OnInit} from '@angular/core'; import {ChatService} from "./chat.service"; @Component({ selector: 'app-chat', templateUrl: './chat.component.html', styleUrls: ['./chat.component.css'] }) export class ChatComponent implements OnInit { public messages: any[] = []; constructor(private chatSe...
gpl-3.0
icgc-dcc/dcc-portal
dcc-portal-server/src/main/java/org/icgc/dcc/portal/server/service/SessionService.java
4491
/* * Copyright (c) 2014 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
geminy/aidear
oss/qt/qt-everywhere-opensource-src-5.9.0/qt3d/src/core/changes/qnodecreatedchange.cpp
4269
/**************************************************************************** ** ** Copyright (C) 2016 Klaralvdalens Datakonsult AB (KDAB). ** Contact: http://www.qt-project.org/legal ** ** This file is part of the Qt3D module of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL3$ ** Commercial License Usage ** Licensees ho...
gpl-3.0
AADProductions/FRONTIERS
Assets/Scripts/GameWorld/WIScripts/Creatures/BodyAnimator.cs
9965
using UnityEngine; using System.Collections; using System.Collections.Generic; using Frontiers; public class BodyAnimator : MonoBehaviour { public Animator animator; //send messages about our state to the sounds object public float MovementMultiplier = 25f; public float RunVerticalAxisCutoff = 15f; public bool Su...
gpl-3.0
Lyrositor/Omnibot
Utils.cpp
2571
/* Copyright (C) 2012 Lyrositor This file is part of Omnibot. Omnibot 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
cSploit/android.MSF
lib/msf/http/wordpress/version.rb
8081
# -*- coding: binary -*- module Msf::HTTP::Wordpress::Version # Used to check if the version is correct: must contain at least one dot WORDPRESS_VERSION_PATTERN = '([^\r\n"\']+\.[^\r\n"\']+)' # Extracts the Wordpress version information from various sources # # @return [String,nil] Wordpress version if fou...
gpl-3.0
formtools/module-data_visualization
activity_charts/page_appearance.php
1759
<?php use FormTools\Submissions; $num_submissions = Submissions::getSubmissionCount($vis_info["form_id"], $vis_info["view_id"]); $page_vars["has_submissions_in_view"] = ($num_submissions > 0) ? "yes" : "no"; $page_vars["js_messages"] = array( "phrase_please_select", "phrase_please_select_form", "word_edit", "wor...
gpl-3.0
crs4/vispa
galaxy/tools/multiplex.py
800
# BEGIN_COPYRIGHT # # Copyright (C) 2013-2014 CRS4. # # This file is part of vispa. # # vispa 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
autentia/TNTConcept
tntconcept-core/src/main/java/com/autentia/tnt/dao/search/DepartmentSearch.java
14144
/** * TNTConcept Easy Enterprise Management by Autentia Real Bussiness Solution S.L. * Copyright (C) 2007 Autentia Real Bussiness Solution S.L. * * 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 Founda...
gpl-3.0
fauconnier/LaToe
src/org/melodi/analyser/talismane_client/service/Sentence.java
1972
/////////////////////////////////////////////////////////////////////////////// //Copyright (C) 2012 Jean-Philippe Fauconnier // //This file is part of TalismaneClient. // //TalismaneClient is free software: you can redistribute it and/or modify //it under the terms of the GNU Affero General Public License as published...
gpl-3.0
jvail/cutefarm
src/reportviewwidget.cpp
18769
/* CuteFarm Copyright (C) 2008-2011 Jan Vaillant 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 License 3. This program is distributed in the hope that it will be useful, b...
gpl-3.0
tylert/wall-calendar-core
holiday_canada.py
11460
#!/usr/bin/env python from datetime import date, timedelta import click from paper_cal import * @click.command() @click.option( '--year', '-y', default=date.today().year, help='Year to show', ) def main(year): ''' ''' # https://www.canada.ca/en/revenue-agency/services/tax/public-holiday...
gpl-3.0
geronimp/enrichM
enrichm/databases.py
8098
#!/usr/bin/env python3 # Imports import os import logging import pickle # Local from enrichm.data import Data ############################################################################### class Databases: def __init__(self): if os.path.isfile(os.path.join(Data.DATABASE_DIR, 'VERSION')): wi...
gpl-3.0
jcenteno1973/sicafam
resources/views/plantillas/plantilla_inicio.blade.php
2186
<!doctype html> <!-- * Nombre del archivo: plantilla_inicio.blade.php * Descripción: * Fecha de creación:11/11/2016 * Creado por: Juan Carlos Centeno Borja --> <html lang="es" xml:lang="es"></html> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta ...
gpl-3.0
jan-klos/dmn_python
dmn_python/DMNImport.py
15551
from xml.dom import minidom from dmn_python.definitions.Elements import * from dmn_python.definitions.Model import Model from dmn_python.definitions.ItemDefinition import ItemDefinition from dmn_python.definitions.Requirements import * from dmn_python.definitions.Logic import * class DMNImport: @staticmethod ...
gpl-3.0
parogers/demoquest
src/browser.js
916
/* demoquest - An adventure game demo with parallax scrolling * Copyright (C) 2017 Peter Rogers * * 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...
gpl-3.0
felipetavares/flow
src/gen/index.js
453
var map; module.exports.map = function (_map) { map = _map; } function point (O, pos) { if (map) { var o = new O(); o.pos(pos); map.insert(o); return o; } } module.exports.line = function (O, start, delta) { if (map) { var pos = Util.generatePositions(start, delta); pos.splice(0, 0, ...
gpl-3.0
bes422/JDI
Java/Tests/jdi-uitest-webtests/src/test/java/com/epam/jdi/uitests/testing/unittests/tests/composite/SearchTests.java
910
package com.epam.jdi.uitests.testing.unittests.tests.composite; import com.epam.jdi.uitests.testing.unittests.InitTests; import org.testng.annotations.BeforeMethod; import org.testng.annotations.Test; import java.lang.reflect.Method; import static com.epam.jdi.uitests.core.preconditions.PreconditionsState.isInState;...
gpl-3.0
geminy/aidear
oss/qt/qt-everywhere-opensource-src-5.9.0/qtdeclarative/tests/auto/qml/ecmascripttests/test262/test/suite/ch15/15.2/15.2.3/15.2.3.13/15.2.3.13-2-9.js
645
/// Copyright (c) 2012 Ecma International. All rights reserved. /// Ecma International makes this code available under the terms and conditions set /// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the /// "Use Terms"). Any redistribution of this code must retain the above /// copyright an...
gpl-3.0
Droon99-Developer/AGHF-APCS
src/AGHF/CreditsPnl.java
1042
package AGHF; import java.awt.Font; import javax.swing.JLabel; import javax.swing.JPanel; public class CreditsPnl extends JPanel { private Font font = new Font("Dialog", Font.BOLD | Font.HANGING_BASELINE, 100); private Font font2 = new Font("Dialog", Font.PLAIN | Font.ROMAN_BASELINE, 20); public void show(){ JL...
gpl-3.0
robbyn/minica
src/main/java/org/tastefuljava/minica/Filters.java
2935
/* Minica, a very simple certificate authority Copyright (C) 2011 Maurice Perry <maurice@perry.ch> 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...
gpl-3.0
MazZzinatus/storm
resources/3rdparty/eigen-3.3-beta1/unsupported/test/polynomialutils.cpp
3584
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2010 Manuel Yguel <manuel.yguel@gmail.com> // // This Source Code Form is subject to the terms of the Mozilla // Public License v. 2.0. If a copy of the MPL was not distributed // with this file, You can obtain ...
gpl-3.0
davidfsmith/API-OAuth-Analytics
app/google/__init__.py
4863
from flask import Flask, Blueprint, render_template, redirect, url_for, session, request, flash from flask_oauthlib.client import OAuth, OAuthException from flask_debugtoolbar import DebugToolbarExtension from flask import json import os import urllib2 mod = Blueprint('google', __name__, template_folder='templates'...
gpl-3.0
Porobu/Al-kaboom
Al-kaboom/src/si/alkaboom/frontend/ranking/RankingInternalFrame.java
813
package si.alkaboom.frontend.ranking; import java.awt.BorderLayout; import javax.swing.JInternalFrame; import si.alkaboom.backend.AlKaboom; import si.alkaboom.frontend.TaulaPanela; public class RankingInternalFrame extends JInternalFrame { private static final long serialVersionUID = 6481265986429597754L...
gpl-3.0
zetaops/ulakbus
ulakbus/views/bap/bap_satin_alma_islemleri.py
30775
# -*- coding: utf-8 -*- # Copyright (C) 2015 ZetaOps Inc. # # This file is licensed under the GNU General Public License v3 # (GPLv3). See LICENSE.txt for details. from pyoko import ListNode from ulakbus.models import BAPTeklif, BAPButcePlani, BAPTeklifFiyatIsleme from zengine.views.crud import CrudView, obj_filter, ...
gpl-3.0
abrandao/lab
phpunit-with-code-coverage/vendor/composer/autoload_static.php
65126
<?php // autoload_static.php @generated by Composer namespace Composer\Autoload; class ComposerStaticInit148e3ff598796c30c73a1c9a3acfccd8 { public static $files = array ( '6124b4c8570aa390c21fafd04a26c69f' => __DIR__ . '/..' . '/myclabs/deep-copy/src/DeepCopy/deep_copy.php', ); public static $pr...
gpl-3.0
isnuryusuf/ingress-indonesia-dev
apk/classes-ekstartk/org/codehaus/jackson/impl/JsonParserBase.java
161
// INTERNAL ERROR // /* Location: classes_dex2jar.jar * Qualified Name: org.codehaus.jackson.impl.JsonParserBase * JD-Core Version: 0.6.2 */
gpl-3.0
danielbonetto/twig_MVC
lang/th/filters.php
4537
<?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. // // Moodle...
gpl-3.0
bieberg0n/bjdns
gfwlistcheck.py
1277
import base64 import urllib.parse from utils import ( dict_deep_set ) class GfwList: def __init__(self): self.data = dict() self.read_line() def add_host(self, host): parts = [part for part in reversed(host.split('.')) if part] dict_deep_set(self.data, parts) def read...
gpl-3.0
njdart/markings-template-example
root.syntaxes.js
2455
/** * module - export a function that will modify any existing syntaxes * * @param {type} taskDefs description * @return {type} description */ module.exports.default = function(taskDefs) { let taskOrder = taskDefs.taskOrder; let tasks = taskDefs.tasks; tasks['fillertexts'] = { runTasksBefore...
gpl-3.0
HexHive/datashield
compiler/llvm/lib/Target/X86/X86MCInstLower.cpp
67998
//===-- X86MCInstLower.cpp - Convert X86 MachineInstr to an MCInst --------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
gpl-3.0
ImagoTrigger/sdrtrunk
src/main/java/io/github/dsheirer/source/wave/RealWaveSource.java
8217
/******************************************************************************* * SDR Trunk * Copyright (C) 2014,2015 Dennis Sheirer * * 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 Soft...
gpl-3.0
craftercms/studio-ui
ui/app/src/components/NewContentDialog/styles.ts
1494
/* * Copyright (C) 2007-2021 Crafter Software Corporation. 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 version 3 as published by * the Free Software Foundation. * * This program is distributed in the hope tha...
gpl-3.0
MiniMarvin/studies
algorithms/insertion_sort_01.cpp
1625
#include <iostream> #include <cstdlib> #define MAX_SIZE 20 #define MAX_NUM 100 using namespace std; int randArr(int *&arr); void insertion_sort(int *arr, int size, int order); int main(int argc, char** argv) { srand(time(NULL)); int *arr; int size; int order = 1; // if user input the orde...
gpl-3.0
jeffreyadams/atlasofliegroups-docs
atlas_static/doxygen/search/typedefs_5.js
1108
var searchData= [ ['f_5floop',['f_loop',['../namespaceatlas_1_1interpreter.html#afb5ad98db48bb2ba2643978703cfda0d',1,'atlas::interpreter']]], ['fiber_5forbit',['fiber_orbit',['../namespaceatlas_1_1cartanclass.html#a423f20840e390fe67c01c15d5f852668',1,'atlas::cartanclass']]], ['fiberelt',['FiberElt',['../namespace...
gpl-3.0
m3rlin87/darkstar
scripts/zones/Middle_Delkfutts_Tower/Zone.lua
3141
----------------------------------- -- -- Zone: Middle_Delkfutts_Tower -- ----------------------------------- local ID = require("scripts/zones/Middle_Delkfutts_Tower/IDs"); require("scripts/globals/conquest"); require("scripts/globals/npc_util"); require("scripts/globals/settings"); require("scripts/globals/treasure")...
gpl-3.0
immesys/bw2
vendor/vuvuzela.io/crypto/rand/cpu_amd64.go
32
package rand func cpu() uint64
gpl-3.0
marcusmueller/gnuradio
gr-fec/lib/tagged_decoder_impl.cc
3260
/* -*- c++ -*- */ /* * Copyright 2014 Free Software Foundation, Inc. * * This file is part of GNU Radio * * GNU Radio is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3, or (at your option...
gpl-3.0
clovertrail/cloudinit-bis
cloudinit/config/cc_apt_configure.py
33402
# vi: ts=4 expandtab # # Copyright (C) 2009-2010 Canonical Ltd. # Copyright (C) 2012 Hewlett-Packard Development Company, L.P. # # Author: Scott Moser <scott.moser@canonical.com> # Author: Juerg Haefliger <juerg.haefliger@hp.com> # # This program is free software: you can redistribute it and/or modify # ...
gpl-3.0
SOWRON/SC
src/server/game/AI/CoreAI/PetAI.cpp
15647
/* * * Copyright (C) 2011-2012 ArkCORE2 <http://www.arkania.net/> * Copyright (C) 2010-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 ...
gpl-3.0
cammace/iGuide
app/src/main/java/team6/iguide/CampusIssueInfoWindow.java
9058
package team6.iguide; /*** iGuide Copyright (C) 2015 Cameron Mace 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
9thSenseRobotics/bosh_server
abhinavsingh-JAXL-f049d08/xep/jaxl.0050.php
2739
<?php /* Jaxl (Jabber XMPP Library) * * Copyright (c) 2009-2010, Abhinav Singh <me@abhinavsingh.com>. * 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 c...
gpl-3.0
JoseLoarca/jc-chat
JCChat/app/src/main/java/org/jcloarca/jcchat/entities/User.java
1033
package org.jcloarca.jcchat.entities; import java.util.Map; /** * Created by JCLoarca on 6/9/2016. */ public class User { String email; boolean online; Map<String, Boolean> contacts; public final static boolean ONLINE = true; public final static boolean OFFLINE = false; public User() { ...
gpl-3.0
MHeasell/rwe
src/rwe/io/tnt/TntArchive.cpp
3823
#include "TntArchive.h" #include <array> #include <cassert> #include <rwe/io_utils.h> namespace rwe { TntException::TntException(const std::string& __arg) : runtime_error(__arg) { } TntException::TntException(const char* string) : runtime_error(string) { } TntArchive::TntArchive(std::ist...
gpl-3.0
kremi151/MinaMod
src/main/java/lu/kremi151/minamod/util/FeatureList.java
534
package lu.kremi151.minamod.util; public class FeatureList { public static final boolean enable_ice_altar = false; public static final boolean enable_redstone_crossroad = false; public static final boolean enable_bees = false; public static final boolean enable_jetpack = false; public static final boolea...
gpl-3.0
Maxim-38RUS-Zabelin/sdk-release
sdk-android/src/com/mobileapptracker/MATPreloadData.java
4058
package com.mobileapptracker; public class MATPreloadData { public String publisherId; public String offerId; public String agencyId; public String publisherReferenceId; public String publisherSub1; public String publisherSub2; public String publisherSub3; public String publisherSub4; ...
gpl-3.0
AkiraGTX/Erebus-Password-Manager
Erebus/Tests/Erebus.Core.Tests/AesCryptographerTests.cs
7014
using Erebus.Core.Contracts; using Erebus.Core.Implementations; using Moq; using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Security; using System.Threading.Tasks; using Xunit; namespace Erebus.Tests.Common { public class AesCryptographerTests : IDisposable...
gpl-3.0
cool-runnings/CometVisu
src/designs/discreet_sand/design_setup.js
1111
/* design_setup.js * * copyright (c) 2010-2017, Christian Mayer and the CometVisu contributers. * * 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...
gpl-3.0
PhoenixDevTeam/Phoenix-for-VK
app/src/main/java/biz/dealnote/messenger/model/selection/Sources.java
2308
package biz.dealnote.messenger.model.selection; import android.os.Parcel; import android.os.Parcelable; import java.util.ArrayList; /** * Created by Ruslan Kolbasa on 16.08.2017. * phoenix */ public class Sources implements Parcelable { private final ArrayList<AbsSelectableSource> sources; public Source...
gpl-3.0
pascal-ballet/ChronoCell
src/chronocell/Phase.java
956
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package chronocell; import java.util.Hashtable; /** * * @author goby */ public class Phase { String name=null; Hashtable<S...
gpl-3.0