repo_name
stringlengths
4
116
path
stringlengths
4
379
size
stringlengths
1
7
content
stringlengths
3
1.05M
license
stringclasses
15 values
sergiusens/snapcraft
setup.py
5212
#!/usr/bin/env python3 # -*- Mode:Python; indent-tabs-mode:nil; tab-width:4 -*- # # Copyright (C) 2015-2018 Canonical Ltd # # 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 pro...
gpl-3.0
AndreasAnemyrLNU/phploggerlib
view/html/HTMLPage.php
2471
<?php /** * Created by PhpStorm. * User: AndreasAnemyr * Date: 2015-11-03 * Time: 22:47 */ namespace view; class HTMLPage { private $nav; /** * HTMLPage constructor. */ public function __construct(\view\Navigation $nav) { $this->nav = $nav; } public function getHTMLPa...
gpl-3.0
brgl/EmbeddedLinuxSuite
include/els/System.hpp
1356
/* * Copyright (C) 2013 Bartosz Golaszewski * * 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, or (at your option) * any later version. * * This program is distributed i...
gpl-3.0
tutao/tutanota
app-android/app/src/main/java/de/tutao/tutanota/credentials/CredentialsEncryptionBeforeAPI30.java
5435
package de.tutao.tutanota.credentials; import android.security.keystore.KeyPermanentlyInvalidatedException; import android.security.keystore.UserNotAuthenticatedException; import android.util.Log; import androidx.annotation.RequiresApi; import androidx.biometric.BiometricManager; import androidx.biometric.BiometricPr...
gpl-3.0
andreabrambilla/libres
lib/include/ert/job_queue/workflow_joblist.hpp
1870
/* Copyright (C) 2012 Equinor ASA, Norway. The file 'workflow_joblist.h' is part of ERT - Ensemble based Reservoir Tool. ERT 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
bcgov/sbc-qsystem
QSystem/src/ru/apertum/qsystem/common/QConfig.java
22371
/* * Copyright (C) 2016 {Apertum}Projects. web: www.apertum.ru email: info@apertum.ru * * 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 ...
gpl-3.0
fesch/Moenagade
src/lu/fisch/moenagade/gui/ImageFile.java
511
/* * 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 lu.fisch.moenagade.gui; import java.io.File; /** * * @author robert.fisch */ public class ImageFile extends F...
gpl-3.0
raisercostin/mucommander-2
src/main/com/mucommander/VersionChecker.java
11115
/* * This file is part of muCommander, http://www.mucommander.com * Copyright (C) 2002-2012 Maxence Bernard * * muCommander 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
eae/opendental
OpenDentBusiness/Crud/JobCrud.cs
22043
//This file is automatically generated. //Do not attempt to make changes to this file because the changes will be erased and overwritten. using System; using System.Collections; using System.Collections.Generic; using System.Data; using System.Drawing; namespace OpenDentBusiness.Crud{ public class JobCrud { ///<sum...
gpl-3.0
openstates/openstates
openstates/hi/__init__.py
3122
from openstates.utils import url_xpath, State from .people import HIPersonScraper from .events import HIEventScraper from .bills import HIBillScraper # from .committees import HICommitteeScraper settings = dict(SCRAPELIB_TIMEOUT=300) class Hawaii(State): scrapers = { "people": HIPersonScraper, "...
gpl-3.0
pootzko/auto-wol
src/net/cmikavac/autowol/utils/TimeUtil.java
4438
package net.cmikavac.autowol.utils; import java.text.DateFormat; import java.text.SimpleDateFormat; import java.util.Calendar; import java.util.Locale; import android.content.Context; public class TimeUtil { /** * Gets a timestamp in milliseconds from hour and minute of day. * @param hour Hour of...
gpl-3.0
Interfacelab/ilab-media-tools
lib/mcloud-aws/aws-sdk-php/src/GuardDuty/GuardDutyClient.php
10449
<?php namespace MediaCloud\Vendor\Aws\GuardDuty; use MediaCloud\Vendor\Aws\AwsClient; /** * This client is used to interact with the **Amazon GuardDuty** service. * @method \MediaCloud\Vendor\Aws\Result acceptInvitation(array $args = []) * @method \MediaCloud\Vendor\GuzzleHttp\Promise\Promise acceptInvitationAsync...
gpl-3.0
heartvalve/OpenFlipper
Plugin-MeanCurvature/MeanCurvature.hh
4867
/*===========================================================================*\ * * * OpenFlipper * * Copyright (C) 2001-2014 by Computer Graphics Group, RWTH Aachen * * ...
gpl-3.0
gythialy/openmuc
projects/driver/modbus/src/test/java/org/openmuc/framework/driver/modbus/test/DriverTest.java
1855
/* * Copyright 2011-2021 Fraunhofer ISE * * This file is part of OpenMUC. * For more information visit http://www.openmuc.org * * OpenMUC 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 ...
gpl-3.0
hairymunky/golg
golg/editor/dialogs/scroll_picker.cc
5830
/********************************************************************** Golgotha Forever - A portable, free 3D strategy and FPS game. Copyright (C) 1999 Golgotha Forever Developers Sources contained in this distribution were derived from Crack Dot Com's public release of Golgotha which can be fou...
gpl-3.0
darlinghq/darling
src/frameworks/CoreServices/src/CarbonCore/Multiprocessing.cpp
2383
/* This file is part of Darling. Copyright (C) 2012-2013 Lubos Dolezel Darling 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. Darling is ...
gpl-3.0
Pisti03/Snake
src/test/java/hu/unideb/inf/snake/PositionTest.java
2263
package hu.unideb.inf.snake; /* * #%L * Snake * %% * Copyright (C) 2016 University of Debrecen, Faculty of Informatics * %% * 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, eit...
gpl-3.0
nadoo/glider
rule/check.go
2909
package rule import ( "crypto/tls" "errors" "fmt" "io" "net" "os" "os/exec" "regexp" "strings" "time" "github.com/nadoo/glider/pkg/pool" "github.com/nadoo/glider/proxy" ) // Checker is a forwarder health checker. type Checker interface { Check(dialer proxy.Dialer) (elap time.Duration, err error) } type...
gpl-3.0
ramsodev/DitaManagement
dita/dita.map/src/net/ramso/dita/map/ItemgroupClass.java
16653
// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2014.08.02 at 08:10...
gpl-3.0
gohdan/DFC
known_files/hashes/bitrix/modules/sale/payment/qiwi/en/qiwi.php
61
Bitrix 16.5 Business Demo = 42aec6751144ef758a2bd513af19dfbf
gpl-3.0
mon2au/invoicebinder
invoicebinderhome/src/main/java/com/invoicebinderhome/server/service/DownloadServiceImpl.java
1242
/* * 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 com.invoicebinderhome.server.service; import com.invoicebinderhome.client.service.download.DownloadService; import com.invoice...
gpl-3.0
JavidTeam/TeleJavid
plugins/fun.lua
16878
--Begin Fun.lua By @Javid_Team --Special Thx To @Ali_K_1999 -------------------------------- local function run_bash(str) local cmd = io.popen(str) local result = cmd:read('*all') return result end -------------------------------- local api_key = nil local base_api = "https://maps.googleapis.com/maps/api"...
gpl-3.0
cryogenic-dreams/StarCraft-GPBot
GPBot/src/nonTerminal/TechTree.java
751
package nonTerminal; import ec.EvolutionState; import ec.Problem; import ec.gp.ADFStack; import ec.gp.GPData; import ec.gp.GPIndividual; import ec.gp.GPNode; public class TechTree extends GPNode { /** * */ private static final long serialVersionUID = 1; public String toString() { return "techtree";// Thi...
gpl-3.0
VulpesCorsac/ANGEL
V 0.5.0 (Shaman)/Equipment/Generator/DS345/DS345.cpp
11643
#include "DS345.h" DS345::DS345() { this->serial = nullptr; } DS345::DS345(const QString &portName, const int &new_baudrate) { this->serial = nullptr; setConnection(portName, new_baudrate); } DS345::~DS345() { if (this->serial->isOpen()) this->serial->close(); this->serial->~QSerialPort()...
gpl-3.0
manusis/dblite
test/testers/lib/FwUnitTestCase.php
818
<?php class FwUnitTestCase extends UnitTestCase { public function __construct() { parent::__construct(); } private $browser; public function getBrowser() { if($this->browser && $this->browser->sessionId) { return $this->browser; } else { ...
gpl-3.0
perf2k2/direct
src/api/entities/bidmodifiers/BidModifierToggleItem.php
832
<?php namespace perf2k2\direct\api\entities\bidmodifiers; use perf2k2\direct\api\enums\bidmodifiers\BidModifierTypeEnum; use perf2k2\direct\api\FilteredEntity; final class BidModifierToggleItem extends FilteredEntity { protected $CampaignId; protected $AdGroupId; protected $Type; protected $Enabled; ...
gpl-3.0
OWASP/WebSpa
src/main/java/net/seleucus/wsp/daemon/WSDaemonStart.java
225
package net.seleucus.wsp.daemon; import net.seleucus.wsp.main.WSGestalt; import net.seleucus.wsp.main.WebSpa; public class WSDaemonStart extends WSGestalt { public WSDaemonStart(WebSpa myWebSpa) { super(myWebSpa); } }
gpl-3.0
erseco/ugr_ddsi
controller/chart_users_data.php
1153
<?php /******************************************* * * 2014 - DDSI (Diseño y desarrollo de sistemas de información) * Grado en Ingeniería Informática * * Ernesto Serrano <erseco@correo.ugr.es> * Garoé Expósito Luis <garoluis@correo.ugr.es * Daniel Pérez Gázquez <Plenidag@correo.ugr.es> * Jose Fco Alcalde <jfap0...
gpl-3.0
YuanLiou/phenom
mobile/src/main/java/liou/rayyuan/phenom/model/CurrentUserManager.java
2106
package liou.rayyuan.phenom.model; import android.text.TextUtils; import liou.rayyuan.phenom.model.domain.Token; import retrofit2.Call; import retrofit2.Callback; import retrofit2.Response; /** * Created by louis383 on 16/5/8. */ public class CurrentUserManager { private APIManager apiManager; private Pre...
gpl-3.0
daemonraco/toobasic
includes/configs/ConfigLoaderSimple.php
658
<?php /** * @file ConfigLoaderSimple.php * @author Alejandro Dario Simi */ namespace TooBasic\Configs; // // Class aliases. use TooBasic\Paths; /** * @class ConfigLoaderSimple * This class holds the logic to load multiple config files in a simple way. */ class ConfigLoaderSimple extends ConfigLoader { // //...
gpl-3.0
dmitry-vlasov/russell
src/all.cpp
1431
#include "com/actions.cpp" #include "com/log.cpp" #include "com/common.cpp" #include "com/memusage.cpp" #include "com/timer.cpp" #include "com/xml.cpp" #include "daem.cpp" #include "mm/mm_sys.cpp" #include "rus/rus_sys.cpp" #include "mm/mm_cut.cpp" #include "mm/mm_inclusions.cpp" #include "mm/mm_merge.cpp" #include ...
gpl-3.0
esbtools/event-handler
lightblue/src/main/java/org/esbtools/eventhandler/lightblue/client/FindRequests.java
4834
/* * Copyright 2016 esbtools Contributors and/or its affiliates. * * This file is part of esbtools. * * 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
Tynael/Dummy-Website
includes/functions.php
4446
<?php function redirect_to($new_location) { header("Location: " . $new_location); exit; } function mysql_prep($string) { global $connection; $escaped_string = mysqli_real_escape_string($connection, $string); return $escaped_string; } function confirm_query($result_set) { if (!$result_set) { die("...
gpl-3.0
leaot/LaJoy-Meteor-Starter-Theme-with-User-System
app/.meteor/local/build/programs/web.browser/app/client/lib/semantic-ui/definitions/behaviors/visit.js
34209
(function(){ ///////////////////////////////////////////////////////////////////////// // // // client/lib/semantic-ui/definitions/behaviors/visit.js // // // //////////...
gpl-3.0
janhf/PartmanCalculator
src/de/upb/phys/partmancalc/PartmanAlgorithm.java
2157
/* * PartmanCalculator - Calculates partition sizes with the algorithm * of debian installers partitioner * Copyright (C) 2015 Jan-Philipp Hülshoff <github@bklosr.de> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as...
gpl-3.0
goodspb/elcon
app/common/Model/MetaData/InCache.php
964
<?php namespace Common\Model\MetaData; use Common\Cache; use Phalcon\Mvc\Model\MetaData; use Phalcon\Mvc\Model\Exception; /** * Common\Model\MetaData\InCache * * Stores model meta-data in cache. * *<code> * $metaData = new \Common\Model\Metadata\InCache(); *</code> */ class InCache extends MetaData { pro...
gpl-3.0
techdude101/code
JS/HelloWorld.js
31
document.write("Hello World");
gpl-3.0
CDrummond/madrigal
core/monoicon.cpp
7273
/* * Cantata * * Copyright (c) 2011-2016 Craig Drummond <craig.p.drummond@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 * (a...
gpl-3.0
Emd4600/SporeModder
src/sporemodder/files/formats/renderWare4/Rw4ToDDS.java
5611
package sporemodder.files.formats.renderWare4; import java.io.File; import java.io.IOException; import java.nio.file.Files; import java.nio.file.StandardOpenOption; import java.util.HashMap; import java.util.List; import javax.swing.JPanel; import sporemodder.files.ActionCommand; import sporemodder.files.FileStreamA...
gpl-3.0
nickebbutt/od-suffixtree
src/main/java/com/od/radixtree/sequence/CharSequenceWithAssignableTerminalChar.java
1205
package com.od.radixtree.sequence; /** * User: nick * Date: 23/05/13 * Time: 09:41 * * A CharSequenceWithIntTerminator in which an int is specified as the terminator value. * * This should be used when adding sequences to a generalized suffix tree structure, since in this case each * sequence added (and its ...
gpl-3.0
RotaruDan/cytopathologyeditor
app/models/application.server.model.js
792
'use strict'; /** * Module dependencies. */ var mongoose = require('mongoose'), Schema = mongoose.Schema; /** * Application Schema */ var ApplicationSchema = new Schema({ name: { type: String, required: 'Please add an apk file!' }, apkFile: { type: String, trim: tru...
gpl-3.0
ManuRodriguezSebastian/DAM
Procesos/EjerciciosNoe/src/Mesa.java
972
public class Mesa { boolean[] platos; public Mesa(int nPlatos) { platos = new boolean[nPlatos]; } public synchronized int entrarFilosofo() { int i; for (i = 0; i < platos.length; i++) { int anterior = (i + platos.length - 1) % platos.length; int siguiente = (i + 1) % platos.length; if (!platos[an...
gpl-3.0
OlyNet/olydorfapp
app/src/main/java/eu/olynet/olydorfapp/model/AbstractMetaItemMixIn.java
2672
/* * This file is part of OlydorfApp. * * OlydorfApp 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. * * OlydorfApp is distribu...
gpl-3.0
nicolas17/boincgit-test
client/cs_scheduler.cpp
38474
// This file is part of BOINC. // http://boinc.berkeley.edu // Copyright (C) 2008 University of California // // BOINC 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 Foundation, // either version 3 of the Licens...
gpl-3.0
HeySoftware/ServiQS
vendor/league/uri/src/Interfaces/Path.php
4410
<?php /** * League.Uri (http://uri.thephpleague.com) * * @package League.uri * @author Ignace Nyamagana Butera <nyamsprod@gmail.com> * @copyright 2013-2015 Ignace Nyamagana Butera * @license https://github.com/thephpleague/uri/blob/master/LICENSE (MIT License) * @version 4.2.0 * @link https://gith...
gpl-3.0
jinzekid/codehub
python/py3_6venv/FlaskDev/hello_渲染模版.py
532
# Author: Jason Lu from flask import Flask, render_template, make_response from flask_bootstrap import Bootstrap app = Flask(__name__) bootstrap = Bootstrap(app) @app.route('/') def index(): return render_template('index.html') @app.route('/user/<name>') def user(name): return render_template('user.html', na...
gpl-3.0
Fxe/biosynth-framework
biosynth-integration/src/main/java/edu/uminho/biosynth/core/data/integration/chimera/service/IntegrationStatisticsService.java
818
package edu.uminho.biosynth.core.data.integration.chimera.service; import java.util.Map; import pt.uminho.sysbio.biosynth.integration.IntegratedCluster; import pt.uminho.sysbio.biosynth.integration.IntegrationSet; public interface IntegrationStatisticsService { public int countTotalMetaboliteMembers(); public in...
gpl-3.0
popstarfreas/PhaseClient
app/node_modules/phasemobile/swipe/handler.ts
163
import SwipeDirection from "phasemobile/swipe/direction"; type Handler = (element: HTMLElement, direction: SwipeDirection) => void; export default Handler;
gpl-3.0
helencoder/WCPcms
WCP/Home/Controller/IndexController.class.php
763
<?php namespace Home\Controller; use Think\Controller; /** * 项目入口控制器 */ class IndexController extends Controller { //项目入口跳转行为(访问人员记录) public function index() { //sleep for 5 seconds //sleep(5); //存储访问用户记录(访问人员记录、时间、IP等) $res = save_browse_user_records(); if ($r...
gpl-3.0
EverCraft/EverAPI
src/main/java/fr/evercraft/everapi/plugin/EPlugin.java
13087
/* * This file is part of EverAPI. * * EverAPI 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. * * EverAPI is distribut...
gpl-3.0
slq/tokfm-parser
src/main/java/com/slq/scrappy/tokfm/TokFm.java
3859
package com.slq.scrappy.tokfm; import com.slq.scrappy.tokfm.podcast.PodcastData; import com.slq.scrappy.tokfm.podcast.PodcastDownloadService; import com.slq.scrappy.tokfm.podcast.PodcastInterceptorChain; import com.slq.scrappy.tokfm.podcast.Podcasts; import com.slq.scrappy.tokfm.podcast.ResponseProcessor; import com.s...
gpl-3.0
petre2dor/piGarden
devices/controller/gpio/md-rd/read_dev.py
173
import time import random print '{"httpCode": "200", "type": "SUCCESS", "message": "All good.", "data": [{"type": "RAINING", "value": "'+str(random.randrange(0, 2))+'"}]}'
gpl-3.0
S1Products/S1WifiServer
Libraries/MessageRoutingEngine/src/info/s1products/server/event/PacketNotifiedListener.java
662
/******************************************************************************* * Copyright (c) 2013 Shuichi Miura. * All rights reserved. This program and the accompanying materials * are made available under the terms of the GNU Public License v3.0 * which accompanies this distribution, and is available at ...
gpl-3.0
MNKgod/darkstar
scripts/globals/abilities/pets/searing_light.lua
1090
--------------------------------------------------- -- Searing Light --------------------------------------------------- require("/scripts/globals/settings"); require("/scripts/globals/status"); require("/scripts/globals/monstertpmoves"); require("/scripts/globals/magic"); --------------------------------------------...
gpl-3.0
zymtech/leetcode
datastructure/tree/TreeNode.py
185
# -*- coding: utf-8 -*- # Definition for a binary tree node. class TreeNode(object): def __init__(self, x): self.val = x self.left = None self.right = None
gpl-3.0
wuhaining/-wuhaining.github.io
ApplicationTest/bpmWebService/src/oracle/bpel/services/workflow/query/model/LogicalOperatorEnumType.java
826
package oracle.bpel.services.workflow.query.model; import javax.xml.bind.annotation.XmlEnum; import javax.xml.bind.annotation.XmlType; /** * <p>Java class for LogicalOperatorEnumType. * * <p>The following schema fragment specifies the expected content contained within this class. * <p> * <pre> * &lt;simpleTy...
gpl-3.0
joruri/joruri-maps
lib/gis/model/base/status.rb
457
# encoding: utf-8 module Gis::Model::Base::Status def state_select [["有効","enabled"],["無効","disabled"]] end def state_show select = state_select select.each{|a| return a[0] if a[1] == state} return nil end def user_kind_select [["個別ユーザ管理",1],["所属管理",2]] end def user_kind_show ...
gpl-3.0
michaelkbradshaw/cummulative-quiz
moodleCQuiz/root/mod/cquiz/accessmanager.php
18773
<?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
Novatouch/Corba
LivreEnLigne/src/LivreEnLigne/_BanqueStub.java
2535
package LivreEnLigne; /** * Interface definition : Banque * * @author OpenORB Compiler */ public class _BanqueStub extends org.omg.CORBA.portable.ObjectImpl implements Banque { static final String[] _ids_list = { "IDL:LivreEnLigne/Banque:1.0" }; public String[] _ids() { r...
gpl-3.0
axkr/symja_android_library
symja_android_library/tools/src/main/java/org/matheclipse/core/mathcell/PlotButtonExample.java
351
package org.matheclipse.core.mathcell; public class PlotButtonExample extends BasePlotExample { @Override public String exampleFunction() { return "Manipulate(Plot(f(x), {x, 0, 2*Pi}), {f, {Sin, Cos, Tan, Cot}})"; } public static void main(String[] args) { PlotButtonExample p = new PlotButtonExample(...
gpl-3.0
Studio182/Crystal-Mail
plugins/managesieve/managesieve.js
16077
/* Sieve Filters (tab) */ if (window.cmail) { cmail.addEventListener('init', function(evt) { var tab = $('<span>').attr('id', 'settingstabpluginmanagesieve').addClass('tablink'); var button = $('<a>').attr('href', cmail.env.comm_path+'&_action=plugin.managesieve') .attr('title', cmail.gettext('manages...
gpl-3.0
PhotonQyv/mastalab
app/src/main/java/fr/gouv/etalab/mastodon/client/Entities/Emojis.java
1364
/* Copyright 2017 Thomas Schneider * * This file is a part of Mastalab * * 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 vers...
gpl-3.0
Firestorm980/jmcdsn
parts/modules/acf-module-call_to_action.php
973
<!-- parts/modules/acf-module-call_to_action.php --> <?php /** * JMCDSN - ACF Module : CTA * * @package jmcdsn */ $module_id = uniqid( 'module_' ); $module_base = get_sub_field( 'module_base' ); $module_ctas = get_sub_field( 'module_ctas' ); ?> <section id="<?php echo esc_attr( $module_id ); ?>" cl...
gpl-3.0
searchfirst/Lenore
app/webroot/js/lib/ckeditor/skins/ob/skin.js
1138
/* Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.skins.add('ob',(function(){var a=[];if(CKEDITOR.env.ie&&CKEDITOR.env.version<7)a.push('icons.png','images/sprites_ie6.png','images/dialog_sides.gif');return{pr...
gpl-3.0
undisputed-seraphim/KanColleAPI
KanColleAPI/Request/Nyukyo.cs
522
using System.Text; namespace KanColle.Request.Nyukyo { public class Nyukyo { public static string START = "api_req_nyukyo/start/"; public static string Start (int ship_id, int ndock_id, int highspeed = 0) { StringBuilder str = new StringBuilder(); str.AppendFormat("api_verno={0}&", 1); str.AppendFormat...
gpl-3.0
versionstudio/vibestreamer
src/sqlite3x/sqlite3x_exception.cpp
1233
/* Copyright (C) 2004-2005 Cory Nelson This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this software for any purpose, including commercia...
gpl-3.0
drytoastman/wwscc
swingapps/src/org/wwscc/registration/DriverRenderer.java
1242
package org.wwscc.registration; import java.awt.Color; import java.awt.Component; import java.awt.Font; import javax.swing.DefaultListCellRenderer; import javax.swing.JList; import org.wwscc.storage.Driver; public class DriverRenderer extends DefaultListCellRenderer { Font font = getFont().deriveFont(...
gpl-3.0
opencart/opencart
upload/admin/controller/marketplace/marketplace.php
38525
<?php namespace Opencart\Admin\Controller\Marketplace; class Marketplace extends \Opencart\System\Engine\Controller { public function index(): void { $this->load->language('marketplace/marketplace'); $this->document->setTitle($this->language->get('heading_title')); if (isset($this->request->get['filter_search'...
gpl-3.0
greaternemo/a-roguelike
ARL/Fov.js
26609
// ARL.Fov // Field of view calculation ARL.Fov = function() {}; /* ARL.Fov.prototype. */ ARL.Fov.prototype.buildRings = function(params) { let aLoc = params.aLoc; let aRange = params.aRange; let mapSize = GCON('PHYS_BASE').mapSize; let locX = parseInt(aLoc.split(',')[0]); let locY = parseI...
gpl-3.0
kingtang/spring-learn
spring-core/src/test/java/org/springframework/core/GenericTypeResolverTests.java
9656
/* * Copyright 2002-2015 the original author or authors. * * 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 ap...
gpl-3.0
R-Blouin/Etk.Excel
Etk/EtkException.cs
1319
using System; using System.Runtime.Serialization; using Etk.Tools.Log; namespace Etk { [Serializable] public class EtkException : Exception { private readonly ILogger log = Logger.Instance; public EtkException() : base() { } public EtkException(string message) ...
gpl-3.0
ianj-als/omtc
src/test/java/com/capitati/omtc/core/session/SessionTests.java
6880
package com.capitati.omtc.core.session; import java.net.URI; import java.net.URISyntaxException; import java.util.Date; import java.util.Set; import java.util.UUID; import java.util.concurrent.AbstractExecutorService; import java.util.concurrent.ArrayBlockingQueue; import java.util.concurrent.ExecutionException; impor...
gpl-3.0
elmsln/elmsln
core/dslmcode/cores/haxcms-1/build/es5-amd/node_modules/@polymer/polymer/lib/utils/mixin.js
2774
define(["exports", "./boot.js"], function (_exports, _boot) { "use strict"; Object.defineProperty(_exports, "__esModule", { value: true }); _exports.dedupingMixin = void 0; /** @license Copyright (c) 2017 The Polymer Project Authors. All rights reserved. This code may only be used under the BSD st...
gpl-3.0
furylynx/MAE
libmae/src/mae/fl/laban/mv/direction_symbol.cpp
12093
#include "direction_symbol.hpp" namespace mae { namespace fl { namespace laban { namespace mv { direction_symbol::direction_symbol(e_level vertical, e_direction horizontal, std::shared_ptr<pin> modification_pin, std::shared_ptr<pin> relationship_pin, std::shared_ptr<i_dynamics_sign> dynami...
gpl-3.0
ftninformatika/bisis-v5
bisis-swing-client/src/main/java/com/ftninformatika/bisis/libenv/PubTypeTreeModel.java
2511
/** * */ package com.ftninformatika.bisis.libenv; import com.ftninformatika.bisis.format.PubTypes; import com.ftninformatika.bisis.format.UField; import com.ftninformatika.bisis.format.UFormat; import com.ftninformatika.bisis.format.USubfield; import java.util.Vector; import javax.swing.event.EventListenerList; i...
gpl-3.0
codehaus/geobatch
flowmanagers/jgsflodess/src/main/java/it/geosolutions/geobatch/registry/RegistryConfiguratorAction.java
2820
/* * GeoBatch - Open Source geospatial batch processing system * http://geobatch.codehaus.org/ * Copyright (C) 2007-2008-2009 GeoSolutions S.A.S. * http://www.geo-solutions.it * * GPLv3 + Classpath exception * * This program is free software: you can redistribute it and/or modify * it under the terms of...
gpl-3.0
dronekit/dronekit-server
src/main/scala/com/geeksville/scalatra/JettyLauncher.scala
1394
/** * ***************************************************************************** * Copyright 2013 Kevin Hester * * See LICENSE.txt for license details. * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANT...
gpl-3.0
papamas/DMS-KANGREG-XI-MANADO
src/main/java/com/openkm/extension/frontend/client/widget/dropbox/ConfirmPopup.java
4497
/** * OpenKM, Open Document Management System (http://www.openkm.com) * Copyright (c) 2006-2015 Paco Avila & Josep Llort * * No bytes were intentionally harmed during the development of this application. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GN...
gpl-3.0
TEDICpy/wp-tedic-theme
inc/template-tags.php
4603
<?php /** * Custom template tags for this theme. * * Eventually, some of the functionality here could be replaced by core features. * * @package zerif */ if ( ! function_exists( 'zerif_paging_nav' ) ) : /** * Display navigation to next/previous set of posts when applicable. ...
gpl-3.0
matthenning/ciliatus
app/Http/Controllers/Web/SetupController.php
1381
<?php namespace App\Http\Controllers\Web; use App\Http\Controllers\Controller; use App\Property; use Illuminate\Http\Request; /** * Class SetupController * @package App\Http\Controllers\Web */ class SetupController extends Controller { /** * @return \Illuminate\Contracts\View\Factory|\Illuminate\View\Vi...
gpl-3.0
pH-7/Slim-URL-Shortener
constants.php
540
<?php /** * @author Pierre-Henry Soria <ph7software@gmail.com> * @copyright (c) 2013, Pierre-Henry Soria. All Rights Reserved. * @link http://github.com/pH-7/Slim-URL-Shortener * @license GNU General Public License <http://www.gnu.org/licenses/gpl.html> */ namespace PHS; def...
gpl-3.0
shree-shubham/Unitype
Sets-STL.cpp
685
#include <cmath> #include <cstdio> #include <vector> #include <iostream> #include <set> #include <algorithm> using namespace std; int main() { /* Enter your code here. Read input from STDIN. Print output to STDOUT */ set <int> s; int N = 0; cin >> N; for (int i = 0; i < N; i++) { in...
gpl-3.0
cschwan/hep-ps
src/initial_state.cpp
1684
#include "hep/ps/initial_state.hpp" #include <map> #include <stdexcept> #include <utility> namespace hep { parton_set partons_in_initial_state_set(initial_state_set set) { parton_set result; for (auto const state : set) { result.add(state_parton_one(state)); result.add(state_parton_two(s...
gpl-3.0
Sectan/GolangFundamentals
12_functions/11_self-executing/main.go
388
// A function literal can invoked directly. // Golang Spec: https://golang.org/ref/spec#Function_literals // Interesting stackoverflow post: https://stackoverflow.com/questions/16008604/why-add-after-closure-body-in-golang package main import "fmt" func main() { defer func() { fmt.Println("Anonymous function with...
gpl-3.0
erickok/ratebeer
app/src/main/java/com/ratebeer/android/ShareHelper.java
2228
package com.ratebeer.android; import android.content.ComponentName; import android.content.Context; import android.content.Intent; import android.content.pm.ResolveInfo; import android.net.Uri; import com.ratebeer.android.api.Api; import java.util.ArrayList; import java.util.List; import java.util.Locale; public fi...
gpl-3.0
HParker/tin
spec/app_spec.rb
617
# frozen_string_literal: true require_relative 'spec_helper' include Mote::Helpers scope do test 'home' do get '/' assert_equal 200, last_response.status end test 'help' do get '/?q=help' assert_equal 200, last_response.status assert_equal JSON.parse(last_response.body), 'title' => 'He...
gpl-3.0
WhisperSystems/Signal-Android
app/src/main/java/org/thoughtcrime/securesms/database/SenderKeySharedDatabase.java
6000
package org.thoughtcrime.securesms.database; import android.content.ContentValues; import android.content.Context; import android.database.Cursor; import androidx.annotation.NonNull; import org.signal.core.util.logging.Log; import org.thoughtcrime.securesms.database.helpers.SQLCipherOpenHelper; import org.thoughtcr...
gpl-3.0
forgodsake/TowerPlus
Android/src/com/fuav/android/utils/AndroidApWarningParser.java
9130
package com.fuav.android.utils; import com.o3dr.services.android.lib.drone.attribute.error.ErrorType; import com.fuav.android.core.model.AutopilotWarningParser; import com.fuav.android.core.drone.autopilot.MavLinkDrone; import java.util.Locale; import static com.o3dr.services.android.lib.drone.attribute.error.Error...
gpl-3.0
deos/PermaTabs-Mod
chrome/permatabs/content/prefsWindow.js
3011
function PrefsWindow() { this.onLoad = function() { this.transparency('permaTabsPrefColor'); this.transparency('permaTabsPrefLabelColor'); this.disablefields(); }; this.onSave = function() { var wm = Components.classes['@mozilla.org/appshell/window-mediator;1'].getService(Components.interfaces.nsIWindowM...
gpl-3.0
tfg13/LanXchange
modules/android/src/main/java/de/tobifleig/lxc/plaf/android/activity/MainActivity.java
33985
/* * Copyright 2009, 2010, 2011, 2012, 2013, 2014, 2015 Tobias Fleig (tobifleig gmail com) * * All rights reserved. * * This file is part of LanXchange. * * LanXchange 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 Softw...
gpl-3.0
TRCIMPLAN/trcimplan.github.io
lib/IBCColoniasTorreon/UniversidadAgrariaAntonioNarro.php
4690
<?php /** * TrcIMPLAN Sitio Web - IBCColoniasTorreon UniversidadAgrariaAntonioNarro * * Copyright (C) 2017 Guillermo Valdés Lozano <guivaloz@movimientolibre.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 F...
gpl-3.0
neo4j/neo4j-browser
src/shared/modules/sidebar/sidebarDuck.ts
3340
/* * Copyright (c) "Neo4j" * Neo4j Sweden AB [http://neo4j.com] * * This file is part of Neo4j. * * Neo4j 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...
gpl-3.0
knotman90/google-interview
problems/codeforces/1066A.cpp
453
#include <algorithm> #include <array> #include <cmath> #include <iostream> #include <iterator> #include <limits> #include <numeric> #include <unordered_map> #include <vector> using namespace std; int main() { int t; cin>>t; while(t--) { int L,v,l,r; cin>>L>>v>>l>>r; const int tot = L/v; const int l1 = v*((l+...
gpl-3.0
EyeSeeTea/pictureapp
app/src/ereferrals/java/org/eyeseetea/malariacare/layout/listeners/LogoutAndLoginRequiredOnPreferenceClickListener.java
2863
package org.eyeseetea.malariacare.layout.listeners; import android.app.AlertDialog; import android.content.DialogInterface; import android.content.Intent; import android.preference.DialogPreference; import android.preference.Preference; import android.util.Log; import org.eyeseetea.malariacare.LoginActivity; import o...
gpl-3.0
yadickson/autoplsp
src/main/java/com/github/yadickson/autoplsp/package-info.java
82
/** * Generator class package folder. */ package com.github.yadickson.autoplsp;
gpl-3.0
derniercri/boo-js
flow-typed/npm/babel-plugin-transform-class-properties_vx.x.x.js
1022
// flow-typed signature: b671973e8dc64046a1b0c930cac8671a // flow-typed version: <<STUB>>/babel-plugin-transform-class-properties_v^6.24.1/flow_v0.43.1 /** * This is an autogenerated libdef stub for: * * 'babel-plugin-transform-class-properties' * * Fill this stub out by replacing all the `any` types. * * Onc...
gpl-3.0
hitech95/Smart-CCraft
src/main/java/it/kytech/smartccraft/tileentity/TileChargeStationMK4.java
1047
/** * This file is part of SmartCCraft * * Copyright (c) 2015 hitech95 <https://github.com/hitech95> * Copyright (c) contributors * * 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...
gpl-3.0
ballotpath/BallotPath
BPAdmin/components/renderers/view_renderer.php
4592
<?php class ViewRenderer extends Renderer { function RenderDetailPageEdit($page) { $this->RenderPage($page); } function RenderPage(Page $Page) { $this->SetHTTPContentTypeByPage($Page); $Page->BeforePageRender->Fire(array(&$Page)); $customParams = array(); ...
gpl-3.0
chathura77/agentworld
AgentWorld/src/SimpleCreature.java
15012
/** * This class has got the attributes and the methods that a simple creature * has. A simple creature may move around in the grid world randomly, by taking * random moves for random amounts of times. * * Copyright (C) 2012 Chathura M. Sarathchandra Magurawalage. * * This program is free software: you can ...
gpl-3.0
ericpony/safety-prover
SafetyProver/src/main/java/encoding/AutomataEncoding.java
3550
package encoding; import elimination.AcceptanceTree; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import org.sat4j.specs.ContradictionException; import org.sat4j.specs.TimeoutException; import java.util.HashSet; import java.util.List; import java.util.Set; public class Automata...
gpl-3.0