code
stringlengths
3
1.05M
repo_name
stringlengths
4
116
path
stringlengths
4
991
language
stringclasses
9 values
license
stringclasses
15 values
size
int32
3
1.05M
package ca.licef.comete.metadata; import ca.licef.comete.core.Core; import ca.licef.comete.core.DefaultView; import ca.licef.comete.core.util.Constants; import ca.licef.comete.core.util.Util; import ca.licef.comete.vocabularies.COMETE; import ca.licef.comete.vocabulary.Vocabulary; import licef.CommonNamespaceContext; ...
LICEF/comete
src/main/java/ca/licef/comete/metadata/LearningObjectView.java
Java
gpl-3.0
15,478
/* * @author Pablo Morillas Lozano */ package proyecto.blocktris.logica.fisica; import java.util.ArrayList; import org.andengine.entity.IEntity; import org.andengine.entity.scene.Scene; import org.andengine.extension.physics.box2d.PhysicsWorld; import com.badlogic.gdx.physics.box2d.Body; /** * The Class Objeto...
sprayz/Phytris
src/proyecto/blocktris/logica/fisica/ObjetoFisico.java
Java
gpl-3.0
2,045
/* * Memoris * Copyright (C) 2017 Jean LELIEVRE * * 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 pro...
jean553/Memoris
includes/LevelAnimation.hpp
C++
gpl-3.0
4,904
<?php /* HCSF - A multilingual CMS and Shopsystem Copyright (C) 2014 Marcus Haase - mail@marcus.haase.name 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...
HaaseIT/HCSF
src/HelperConfig.php
PHP
gpl-3.0
11,419
/* <pcapwrapper.cpp> Copyright(C) 2013,2014 Jan Simon Bunten Simon Kadel Martin Sven Oehler Arne Sven Stühlmeyer This File is part of the WhisperLibrary WhisperLibrary is free software : you can redistribute it and / or modify it under the terms of the GNU General Public License as published by the...
UndeadKernel/whisper-library
whisperLibrary/src/pcapwrapper.cpp
C++
gpl-3.0
16,517
<?php namespace AOE\HappyFeet\Typo3\Hook; /* * Copyright notice * * (c) 2014 AOE GmbH <dev@aoe.com> * * This file is part of the TYPO3 CMS project. * * It is free software; you can redistribute it and/or modify it under * the terms of the GNU General Public License, either version 2 * of the License, or any l...
AOEpeople/happy_feet
Classes/Typo3/Hook/LinkHandler.php
PHP
gpl-3.0
2,046
using System; namespace BrickApp.Models.BrickStore { public class WebsiteAd { public int WebsiteAdId { get; set; } public DateTime? Start { get; set; } public DateTime? End { get; set; } public string TagLine { get; set; } public string Details { get; set; } pub...
smulholland2/BrickApp
src/BrickApp/Models/BrickStore/WebsiteAd.cs
C#
gpl-3.0
403
package net.lecousin.framework.ui.eclipse.control.list; import java.util.ArrayList; import java.util.HashMap; import java.util.Iterator; import java.util.LinkedList; import java.util.List; import java.util.Map; import net.lecousin.framework.Pair; import net.lecousin.framework.Triple; import net.lecousin.framework.eve...
lecousin/net.lecousin.framework-0.1
net.lecousin.framework.ui/src/net/lecousin/framework/ui/eclipse/control/list/LCTable.java
Java
gpl-3.0
54,511
/* Copyright 2015 Philipp Adam, Manuel Caspari, Nicolas Lukaschek contact@ravenapp.org This file is part of Raven. Raven 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 ...
manuelsc/Raven-Messenger
Raven Core/src/safe/KeySafePC.java
Java
gpl-3.0
1,309
module FileStorage # Store and retrieve files from the local filesystem. class LocalFile # Creates a new LocalFile store. # +path+ Specifies the directory in which to store files. If not specified, # files will be stored in a random-named temporary directory. # +tag+ Controls naming of tempo...
edgi-govdata-archiving/web-monitoring-db
lib/file_storage/local_file.rb
Ruby
gpl-3.0
2,429
/* * Copyright (C) 2019 debian * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed...
andersonbui/metaheuristicas
src/main/mochila/cuadratica/ConjuntoInstancias/ConjuntoInstancias300.java
Java
gpl-3.0
1,476
/* * QuarkPlayer, a Phonon media player * Copyright (C) 2008 Trolltech ASA. All rights reserved. * Copyright (C) 2008 Benjamin C. Meyer <ben@meyerhome.net> * Copyright (C) 2008-2009 Tanguy Krotoff <tkrotoff@gmail.com> * * This program is free software: you can redistribute it and/or modify * it under the term...
tkrotoff/QuarkPlayer
libs/TkUtil/SqueezeLabel.cpp
C++
gpl-3.0
1,868
#include "ThreadPool.h" #include <vector> #include <chrono> #include <list> #include <algorithm> using namespace Game; using namespace std; FixedThreadPool::Task::~Task(){} FixedThreadPool::FixedThreadPool(size_t max_thread_count) : threads_(max_thread_count), max_thread_count_(max_thread_count), state_(State::STOP...
hansvanmoer/space-game
src/ThreadPool.cpp
C++
gpl-3.0
3,287
package com.ragingart.miningmodifications.client.gui.container.machines; import com.ragingart.miningmodifications.container.machines.ContainerWaterTurbine; import com.ragingart.miningmodifications.ref.Reference; import com.ragingart.miningmodifications.tileentity.machines.TileEntityWaterTurbine; import net.minecraft.c...
Ragingart/MiningModifications
src/main/java/com/ragingart/miningmodifications/client/gui/container/machines/GuiWaterTurbine.java
Java
gpl-3.0
2,323
using System; using System.Collections; using System.Collections.Specialized; using System.Web.UI; using System.Web.UI.WebControls; using BaiRong.Core; using BaiRong.Core.Model.Enumerations; using BaiRong.Core.Permissions; using SiteServer.CMS.Core; namespace SiteServer.BackgroundPages.Admin { public class ModalP...
kk141242/siteserver
source/SiteServer.BackgroundPages/Admin/ModalPermissionsSet.cs
C#
gpl-3.0
8,475
/* This file is part of Imagine. Imagine 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. Imagine is distributed in the hope that it w...
Rakashazi/emu-ex-plus-alpha
imagine/src/base/android/RootCpufreqParamSetter.cc
C++
gpl-3.0
3,431
package cn.nukkit.command.defaults; import cn.nukkit.Player; import cn.nukkit.command.Command; import cn.nukkit.command.CommandSender; import cn.nukkit.event.TranslationContainer; import cn.nukkit.item.Item; import cn.nukkit.item.enchantment.Enchantment; import cn.nukkit.utils.TextFormat; /** * Created by Pub4Game o...
LinEvil/Nukkit
src/main/java/cn/nukkit/command/defaults/EnchantCommand.java
Java
gpl-3.0
2,298
<?php /** * Created by PhpStorm. * User: Sebastian Erb * Date: 21.02.17 * Time: 19:08 */ require_once($_SERVER['DOCUMENT_ROOT'] . "/instagram/Instagram.php"); $insta = new AjaxInstagram(); $insta->jsonFile = $_SERVER['DOCUMENT_ROOT'] . "/cron/hashtaglist.json"; $insta->showImages(5);
sebastianerb/Instagram-PHP-Hashtag-Feed
InstaFeed.php
PHP
gpl-3.0
296
/******************************************************************************* * Copyright (c) 2011-2014 SirSengir. * All rights reserved. This program and the accompanying materials * are made available under the terms of the GNU Lesser Public License v3 * which accompanies this distribution, and is available at...
AnodeCathode/ForestryMC
src/main/java/forestry/core/genetics/alleles/AlleleRegistry.java
Java
gpl-3.0
9,410
using System; using System.Windows.Forms; using System.Drawing; namespace GitUI.Editor { public delegate void SelectedLineChangedEventHandler(object sender, int selectedLine); public interface IFileViewer { event MouseEventHandler MouseMove; event EventHandler MouseLeave; ...
avish/gitextensions
GitUI/Editor/IFileViewer.cs
C#
gpl-3.0
1,439
package ca.aspibot.env.model; import java.util.*; import ca.aspibot.utils.CoordinatesInt2D; /** * Modèle : Représente l'environnement <br> * Hérite de {@link Observable} pour notifier des changements <br> * Implémente {@link Runnable} pour fonctionner dans un thread séparé * * @author Vincent PORTA & Pierre SE...
vportascarta/UQAC-8INF846-TP1
src/ca/aspibot/env/model/EnvironnementModel.java
Java
gpl-3.0
7,740
/** * Copyright (c) 2000-present Liferay, Inc. All rights reserved. * * 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 Foundation; either version 2.1 of the License, or (at your option) * any la...
queza85/edison
edison-portal-framework/edison-virtuallab-2016-portlet/docroot/WEB-INF/src/org/kisti/edison/virtuallaboratory/service/base/VirtualLabUserTempServiceClpInvoker.java
Java
gpl-3.0
1,776
/* iterator_to_const and const_iterator_to_const class implementations: inline functions. Copyright (C) 2001-2009 Roberto Bagnara <bagnara@cs.unipr.it> This file is part of the Parma Polyhedra Library (PPL). The PPL is free software; you can redistribute it and/or modify it under the terms of the GNU General Pu...
OpenInkpot-archive/iplinux-ppl
src/iterator_to_const.inlines.hh
C++
gpl-3.0
5,179
# frozen_string_literal: true module Parser # Holds p->max_numparam from parse.y # # @api private class MaxNumparamStack attr_reader :stack ORDINARY_PARAMS = -1 def initialize @stack = [] end def empty? @stack.size == 0 end def has_ordinary_params! set(ORDINAR...
BeGe78/esood
vendor/bundle/ruby/3.0.0/gems/parser-3.0.2.0/lib/parser/max_numparam_stack.rb
Ruby
gpl-3.0
739
"use strict"; const serversdb = require("../servers"); const hands = [":ok_hand::skin-tone-1:", ":ok_hand::skin-tone-2:", ":ok_hand::skin-tone-3:", ":ok_hand::skin-tone-4:", ":ok_hand::skin-tone-5:", ":ok_hand:"]; const hand = hands[Math.floor(Math.random() * hands.length)]; module.exports = { // eslint-disable-...
LaChocola/Mei
commands/art.js
JavaScript
gpl-3.0
6,637
/* * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will ...
DontBelieveMe/powertabeditor
test/actions/test_addlefthandfingering.cpp
C++
gpl-3.0
1,336
#include "editor.h" #include "transform.h" #include "indent.h" #include <bundles/bundles.h> #include <text/case.h> #include <text/ctype.h> #include <text/classification.h> #include <text/utf8.h> #include <text/parse.h> #include <text/tokenize.h> #include <text/trim.h> #include <OakSystem/command.h> #include <cf/run_loo...
aarongraham9/TextMate
Frameworks/editor/src/editor.cc
C++
gpl-3.0
63,238
package com.dennisbonke.testmod.utility; import com.dennisbonke.testmod.reference.Reference; import cpw.mods.fml.common.FMLLog; import org.apache.logging.log4j.Level; /** * Created by Dennisbonke on 14-2-2015. */ public class Log { public static void log(Level logLevel, Object object) { FMLLog.log(...
Dennisbonke/JiraiyasTuts
src/main/java/com/dennisbonke/testmod/utility/Log.java
Java
gpl-3.0
1,106
#include <iostream> #include<cstdio> #include<cmath> #include<cstring> #include<algorithm> #include<cstdlib> using namespace std; int main() { char str1[2000],str2[2000],ans[2000],swap_str[2000]; bool check[2000]; long int i,j,k,l,swap,a; while(gets(str1) && gets(str2)) { m...
tanmoy13/UVa
10252 - Common Permutation/main.cpp
C++
gpl-3.0
983
package craftedcart.smblevelworkshop.resource; import org.jetbrains.annotations.NotNull; import java.util.HashMap; import java.util.Map; /** * @author CraftedCart * Created on 04/04/2016 (DD/MM/YYYY) */ public class LangManager { // <Locale, <Key , Value >> @NotNull private s...
CraftedCart/SMBLevelWorkshop
src/main/java/craftedcart/smblevelworkshop/resource/LangManager.java
Java
gpl-3.0
1,987
from collections import namedtuple ScoredObject = namedtuple('ScoredObject', ['key', 'score', 'variable1', 'variable2', 'rounds', 'opponents', 'wins', 'loses'] )
ubc/compair
compair/algorithms/scored_object.py
Python
gpl-3.0
165
# == Schema Information # # Table name: reference # # authors :string(4000) # crc :string(32) # created_at :datetime # dbxref_id :integer # location :string(4000) not null # reference_id :integer not null, primary key # title :string(4000) # updated_at :datetime # c...
Michigan-State-University/gxseq
app/models/biosql/reference.rb
Ruby
gpl-3.0
596
"""Abstract base audio mixer.""" from abc import ABCMeta, abstractmethod import smokesignal from volcorner import signals __all__ = ['Mixer'] class Mixer(metaclass=ABCMeta): @abstractmethod def open(self): """Open the mixer and start monitoring for volume changes.""" @abstractmethod def cl...
cknave/volcorner
volcorner/mixer.py
Python
gpl-3.0
1,024
var ALLOWED_VARIANCE = 0.05; /* Nested model forms BEGIN */ function inspect (obj) { var str; for(var i in obj) str+=i+";\n" //str+=i+"="+obj[i]+";\n" alert(str); } function remove_fields(link) { $(link).prev("input[type=hidden]").val("1"); $(link).closest(".fields").hide(); //...
siyelo/hrtv1
public/javascripts/application.js
JavaScript
gpl-3.0
51,126
<?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...
mahalaxmi123/LTFB3
theme/blackly/settings.php
PHP
gpl-3.0
9,300
package plugins.Freereader; /** * Version * * @author Mario Volke */ public class Version { /** SVN revision number. Only set if the plugin is compiled properly e.g. by emu. */ private static final String svnRevision = "@custom@"; /** Version number of the plugin for getRealVersion(). Increment this on makin...
webholics/Freereader
src/plugins/Freereader/Version.java
Java
gpl-3.0
830
using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Web.Mvc; using SmartStore.Collections; using SmartStore.Core; using SmartStore.Core.Domain.Catalog; using SmartStore.Core.Domain.Customers; using SmartStore.Core.Domain.Orders; using SmartStore.Utilities; nam...
mandocaesar/MesinkuNew
src/Libraries/SmartStore.Services/Catalog/IProductService.cs
C#
gpl-3.0
14,021
/** * @brief * * @file * @ingroup python */ #include <src/common.hpp> #include "genesis/genesis.hpp" using namespace ::genesis::utils; PYTHON_EXPORT_FUNCTIONS( utils_tools_color_names_export, ::genesis::utils, scope ) { scope.def( "color_from_name", ( Color ( * )( std::string const & ))( &...
lczech/genesis
python/src/utils/tools/color/names.cpp
C++
gpl-3.0
2,103
/* * 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 may ...
s20121035/rk3288_android5.1_repo
external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ThreadReference/Status004Debuggee.java
Java
gpl-3.0
3,688
package redecouverte.event.ctl; import java.util.ArrayList; import org.bukkit.entity.*; import org.bukkit.Location; import org.bukkit.block.*; import org.bukkit.event.block.*; import org.bukkit.event.entity.*; import org.bukkit.*; public class Toolbox { public static int SaveTeleportPlayerTo(Player player, World...
Redecouverte/CaptureTheLapis
src/redecouverte/event/ctl/Toolbox.java
Java
gpl-3.0
1,307
package ch.cyberduck.core.transfer; /* * Copyright (c) 2002-2013 David Kocher. All rights reserved. * http://cyberduck.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...
iterate-ch/cyberduck
core/src/main/java/ch/cyberduck/core/transfer/TransferErrorCallback.java
Java
gpl-3.0
1,303
package ch.fhnw.stizzo; import java.io.File; import java.io.FileReader; import java.io.PrintWriter; import java.net.URL; import java.util.ArrayList; import java.util.Scanner; //libreries of reading xml data import javax.xml.parsers.DocumentBuilderFactory; import javax.swing.JOptionPane; import javax.xml.par...
Stizzo/SPARQL_Generator
SPARQL_Generator/src/ch/fhnw/stizzo/Operations.java
Java
gpl-3.0
123,707
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace NuspecPortageGenerator { partial class GeneralSettingsPage { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.ICo...
ArsenShnurkov/nuspec-portage-generator
winforms-gui/OptionsDialog/GeneralSettingsPage.Designer.cs
C#
gpl-3.0
4,612
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); class Cat_crud extends CI_Controller { function __construct() { parent::__construct(); /* Standard Libraries of codeigniter are required */ $this->load->database(); $this->load->helper('ur...
CollinsIchigo/LEO
application/controllers/cat_crud.php
PHP
gpl-3.0
942
/* * SystemPropertiesTable.java * * Copyright (C) 2002-2017 Takis Diakoumis * * 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 any later version. * ...
redsoftbiz/executequery
src/org/underworldlabs/swing/SystemPropertiesTable.java
Java
gpl-3.0
2,792
package org.pwr.transporter.server.business.sales; import java.util.List; import java.util.Map; import org.pwr.transporter.entity.sales.GoodsIssuedNote; import org.pwr.transporter.server.core.hb.criteria.Criteria; import org.pwr.transporter.server.dao.sales.GoodsIssuedNoteDAO; /** * <pre> * Delegates logic for...
InfWGospodarce/projekt
transporter-server/src/org/pwr/transporter/server/business/sales/GoodsIssuedNoteLogic.java
Java
gpl-3.0
2,053
#include <iostream> using namespace std; long long exponent (int base, int power) { long long result = 1, value = base; while (power) { if (power & 1) result *= value; value *= value; power /= 2; } return result; } int main () { int base, power; cin >> base...
jainaman224/Algo_Ds_Notes
Logarithmic_Exponent/Logarithmic_Exponent.cpp
C++
gpl-3.0
551
import unittest import os.path from math import pi from sapphire import corsika data_file_dir = os.path.dirname(__file__) DATA_FILE = os.path.join(data_file_dir, 'test_data/1_2/DAT000000') class CorsikaFileTests(unittest.TestCase): def setUp(self): self.file = corsika.reader.CorsikaFile(DATA_FILE) ...
tomkooij/sapphire
sapphire/tests/corsika/test_corsika.py
Python
gpl-3.0
3,194
""" Abstract base classes define the primitives that renderers and graphics contexts must implement to serve as a matplotlib backend :class:`RendererBase` An abstract base class to handle drawing/rendering operations. :class:`FigureCanvasBase` The abstraction layer that separates the :class:`matplotlib.fi...
alephu5/Soundbyte
environment/lib/python3.3/site-packages/matplotlib/backend_bases.py
Python
gpl-3.0
106,921
from PyQt4.QtGui import * from PyQt4.QtCore import * import datetime import decimal import httplib import json import threading import time import re from decimal import Decimal from electrum_myr.plugins import BasePlugin, hook from electrum_myr.i18n import _ from electrum_myr_gui.qt.util import * from electrum_myr_gu...
wozz/electrum-myr
plugins/exchange_rate.py
Python
gpl-3.0
13,200
/* * funCKit - functional Circuit Kit * Copyright (C) 2013 Lukas Elsner <open@mindrunner.de> * Copyright (C) 2013 Peter Dahlberg <catdog2@tuxzone.org> * Copyright (C) 2013 Julian Stier <mail@julian-stier.de> * Copyright (C) 2013 Sebastian Vetter <mail@b4sti.eu> * Copyright (C) 2013 Thomas Poxrucker <poxrucke...
mindrunner/funCKit
workspace/funCKit/src/main/java/de/sep2011/funckit/validator/LiveCheckValidatorFactory.java
Java
gpl-3.0
1,699
<?php /** * @copyright 2016 Mautic Contributors. All rights reserved. * @author Mautic * * @link http://mautic.org * * @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html */ namespace Mautic\DynamicContentBundle\EventListener; use Mautic\CampaignBundle\Event\CampaignExecutionEvent; use...
mqueme/mautic
app/bundles/DynamicContentBundle/EventListener/CampaignSubscriber.php
PHP
gpl-3.0
5,887
export * from './output-settings';
stream-labs/streamlabs-obs
app/services/settings/output/index.ts
TypeScript
gpl-3.0
35
package LiVEZer.Medicine.WebApp; public final class Globals { public static final String MenuId = "menuItem"; public static final String Method = "method"; public static final String Data = "data"; public final class Session { public static final String Opened = "SESSION_...
VLisnevskiy/LiVEZer.Medicine
src/LiVEZer/Medicine/WebApp/Globals.java
Java
gpl-3.0
1,256
package dk.kiljacken.aestuscraft.library.nbt.handlers; import dk.kiljacken.aestuscraft.library.nbt.INBTHandler; import net.minecraft.item.ItemStack; import net.minecraft.nbt.NBTBase; import net.minecraft.nbt.NBTTagCompound; import net.minecraft.nbt.NBTTagList; public class ItemStackNBTHandler implements INBTHandler {...
kiljacken/AestusCraft
aestuscraft_common/dk/kiljacken/aestuscraft/library/nbt/handlers/ItemStackNBTHandler.java
Java
gpl-3.0
2,469
"use strict"; const ConnectionState = Object.freeze({ Disconnected: "disconnected", Connected: "connected", Reconnecting: "reconnecting", Connecting: "connecting" }); exports.ConnectionState = ConnectionState;
Firebottle/Firebot
shared/connection-constants.js
JavaScript
gpl-3.0
227
// Copyright (c) Clickberry, Inc. All rights reserved. // Licensed under the GNU GENERAL PUBLIC LICENSE Version 3. See License.txt in the project root for license information. using Portal.BackEnd.Encoder.Interface; using Portal.BackEnd.Encoder.Pipeline.Data; using Portal.BackEnd.Encoder.Status; using Portal.Domain.Ba...
clickberry/video-portal
Source/BackEnd/Portal.BackEnd.Encoder/Pipeline/Step/EncodeStep.cs
C#
gpl-3.0
2,787
/* * Copyright 2012 Loong H * * Qingzhou 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. * * Qingzhou is distributed in...
godghost/qingzhou
src/com/loongsoft/qingzhou/MetaData.java
Java
gpl-3.0
1,848
<?php class Database { private static $instance = NULL; private $pdo; //private $query; private function __construct() { try{ $this->pdo = new PDO('mysql:host=localhost;dbname=hdi', 'root', ''); } catch(exception $e) { die ( 'DATABASE: Connection Failed! ' . $e->ge...
hdilink/hdi
calls/classes/Database.php
PHP
gpl-3.0
3,000
/* fs.hpp Author : BAKFR File under GNU GPL v3.0 */ #pragma once #include <string> namespace Utils { namespace Fs { /** * Make a new directory (if it does not exist yet). * * @param path file path in the UNIX format * @return `true` if the directory exists; `false` in case of error. O...
jlppc/OpMon
src/utils/fs.hpp
C++
gpl-3.0
449
// SoftSetServerDlg.cpp : ʵÏÖÎļþ // #include "stdafx.h" #include "PMApp.h" #include "MyHelp.h" #include "SoftInfo.h" #include "SoftSetServerDlg.h" // CSoftSetServerDlg ¶Ô»°¿ò using namespace SoftInfo; IMPLEMENT_DYNAMIC(CSoftSetServerDlg, CDialog) CSoftSetServerDlg::CSoftSetServerDlg(CWnd* pParent /*=NULL*/) : CD...
atlaser/Tools
PMEditor/main/PM/SoftSetServerDlg.cpp
C++
gpl-3.0
1,518
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("RD...
rodrigordi/opennfe
Open NFe 3/RDI.NFe2.ORMAP.MySQL/Properties/AssemblyInfo.cs
C#
gpl-3.0
1,416
# -*- coding: utf-8 -*- # # SpamFighter, Copyright 2008, 2009 NetStream LLC (http://netstream.ru/, we@netstream.ru) # # This file is part of SpamFighter. # # SpamFighter 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 Fou...
smira/spamfighter
spamfighter/core/commands/dispatcher.py
Python
gpl-3.0
2,984
<?php require_once(dirname(__DIR__)) . "/php/class/autoload.php"; require_once("/etc/apache2/capstone-mysql/encrypted-config.php"); if(session_status() !== PHP_SESSION_ACTIVE) { session_start(); } $PAGE_TITLE = "My Account - Cheqout"; $pdo = connectToEncryptedMySQL("/etc/apache2/capstone-mysql/cheqout.ini"); if(@isset...
jameswlhill/cheqout
checkout/index.php
PHP
gpl-3.0
1,438
/* * nutrition_server_application.cpp * Part of nutritiond * * Created on: Jul 20, 2010 * Author: Tyler McHenry <tyler@nerdland.net> */ #include "nutrition_server_application.h" #include "libnutrition/backend/mysql/mysql_back_end.h" #include <QtSql/QSqlDatabase> #include <QDebug> #include <stdexcept> Nutr...
tylermchenry/nutrition_tracker
service/src/nutrition_server_application.cpp
C++
gpl-3.0
1,383
<?php defined('SYSPATH') or die('No direct script access.'); class Controller_Login extends Controller_CL4_Login { }
claerosystems/cl4-jquery-mobile
classes/Controller/Login.php
PHP
gpl-3.0
117
using Android.Util; using AsNum.XFControls; using AsNum.XFControls.Droid; using System.ComponentModel; using Xamarin.Forms; using Xamarin.Forms.Platform.Android; [assembly: ExportRenderer(typeof(TimePickerEx), typeof(TimePickerExRender))] namespace AsNum.XFControls.Droid { public class TimePickerExRender : TimePic...
gruan01/XFControls
XFControls/Src/AsNum.Control.Droid/TimePickerExRender.cs
C#
gpl-3.0
2,009
package SnippingTool; public enum STNotificationTitle { NONE, TITLE_0, TITLE_1, TITLE_2, TITLE_3 }
DJVUpp/Desktop
djuvpp-djvureader-_linux-f9cd57d25c2f/DjVuReader++/src/SnippingTool/STNotificationTitle.java
Java
gpl-3.0
104
package org.cloud.backend.system.dao.sys.service.imp; import org.cloud.backend.system.comm.base.BaseServiceImpl; import org.cloud.backend.system.dao.sys.mapper.SysUserOrganizationMapper; import org.cloud.backend.system.dao.sys.model.SysUserOrganization; import org.cloud.backend.system.dao.sys.model.SysUserOrganization...
rock007/cloud-starter
cloud-backend-system/src/main/java/org/cloud/backend/system/dao/sys/service/imp/SysUserOrganizationServiceImpl.java
Java
gpl-3.0
2,219
// Copyright (c) François Paradis // This file is part of Mox, a card game simulator. // // Mox is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, version 3 of the License. // // Mox is distributed in...
fparadis2/mox
Source/Mox.Engine/Tests/Properties/AssemblyInfo.cs
C#
gpl-3.0
1,454
/******************************************************************************************************************************* * AK.Login.Application.ILoginRequestParser * Copyright © 2014 Aashish Koirala <http://aashishkoirala.github.io> * * This file is part of AK-Login. * * AK-Login is free software: you ...
aashishkoirala/login
src/AK.Login.Application/ILoginRequestParser.cs
C#
gpl-3.0
1,631
/** * Cloud9 Language Foundation * * @copyright 2011, Ajax.org B.V. * @license GPLv3 <http://www.gnu.org/licenses/gpl.txt> */ define(function(require, exports, module) { var Range = require("ace/range").Range; var Anchor = require('ace/anchor').Anchor; var tooltip = require('ext/language/tooltip'); var Editors = ...
Phara0h/cloud9
plugins-client/ext.language/marker.js
JavaScript
gpl-3.0
7,580
package com.dmillerw.wac.item; import java.util.List; import net.minecraft.client.renderer.texture.IconRegister; import net.minecraft.creativetab.CreativeTabs; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.item.Item; import net.minecraft.item.ItemStack; import net.minecraft.util.Icon; import n...
speilberg0/WiresAndCircuits
common/com/dmillerw/wac/item/ItemWireSpool.java
Java
gpl-3.0
1,785
from ..schema import default_radio_driver from .base import OpenWrtConverter class Radios(OpenWrtConverter): netjson_key = 'radios' intermediate_key = 'wireless' _uci_types = ['wifi-device'] def to_intermediate_loop(self, block, result, index=None): radio = self.__intermediate_radio(block) ...
openwisp/netjsonconfig
netjsonconfig/backends/openwrt/converters/radios.py
Python
gpl-3.0
4,636
# Copyright (C) 2012 Google Inc. All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: # # * Redistributions of source code must retain the above copyright # notice, this list of conditions and the f...
cs-au-dk/Artemis
WebKit/Tools/Scripts/webkitpy/common/config/urls_unittest.py
Python
gpl-3.0
3,141
/* * Copyright (C) 2017 The Jappsy Open Source Project (http://jappsy.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 * * Unl...
Jappsy/jappsy
src/common/include/opengl/collections/uGLShaders.cpp
C++
gpl-3.0
2,215
/** * selectbox-utils for jQuery * For Virtual-Office Company * Copyright (c) 2007 Yoshiomi KURISU * Licensed under the MIT (MIT-LICENSE.txt) licenses. * * @example $('#year1').numericOptions({from:2007,to:2011}); * @example $('#month1').numericOptions({from:1,to:12}); * @example $('#date1').numericOptions...
ulinke/phpb2b
static/scripts/jquery/selectbox.js
JavaScript
gpl-3.0
3,526
/** * This file is part of BowWarfare * * Copyright (c) 2016 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 ...
hitech95/Bow-Warfare
bw-sponge/src/main/java/it/kytech/bowwarfare/commands/DisableArena.java
Java
gpl-3.0
1,346
require "string_utils" describe StringUtils do describe ".generate_random_string" do context "given a length argument equal to 10" do it "returns a string that's 10 characters long" do expect(StringUtils.generate_random_string(10).length).to eql(10) end it "returns a random string that...
dbruzzone/wishing-tree
Ruby/discover/spec/string_utils_spec.rb
Ruby
gpl-3.0
644
/* Copyright (C) 2006 Thorsten Berger This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope...
smee/elateXam
taskmodel/taskmodel-core-view/src/main/java/de/thorstenberger/taskmodel/view/correction/DoCorrectionAction.java
Java
gpl-3.0
11,783
package tmp.generated_people; import cide.gast.*; import cide.gparser.*; import cide.greferences.*; import java.util.*; public class Element_head2 extends Element_head { public Element_head2(STag_head sTag_head, ArrayList<CMisc> cMisc1, Content_head_Seq1 content_head_Seq1, ETag_head eTag_head, ArrayList<CMisc...
ckaestne/CIDE
CIDE_Language_XML_concrete/src/tmp/generated_people/Element_head2.java
Java
gpl-3.0
1,615
package nfs import ( "fmt" ) const ( rpcLastFrag = 0x80000000 rpcSizeMask = 0x7fffffff ) const ( rpcCall = 0 rpcReply = 1 ) const nfsProgramNumber = 100003 func handleCall(xid string, xdr *xdr, event *StreamEvent) { // eat rpc version number xdr.getUInt() rpcProg := xdr.getUInt() if rpcProg != nfsProgr...
kofemann/nfstop
nfs/rpc.go
GO
gpl-3.0
1,840
/* * #%L * GC4S components * %% * Copyright (C) 2014 - 2018 Hugo López-Fernández, Daniel Glez-Peña, Miguel Reboiro-Jato, * Florentino Fdez-Riverola, Rosalía Laza-Fidalgo, Reyes Pavón-Rial * %% * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser Gener...
hlfernandez/GC4S
gc4s/src/main/java/org/sing_group/gc4s/input/filechooser/event/package-info.java
Java
gpl-3.0
1,101
<?php App::uses('AppModel', 'Model'); /** * People Model * */ class People extends AppModel { /** * Use table * * @var mixed False or table name */ public $useTable = 'peoples'; /** * Display field * * @var string */ public $displayField = 'name'; /** * Validation rules * * @var array */ public $va...
tomasturi33/persona
app/Model/People.php
PHP
gpl-3.0
1,001
//This file is part of the gNumerator MathML DOM library, a complete //implementation of the w3c mathml dom specification //Copyright (C) 2003, Andy Somogyi // //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 th...
Altaxo/Altaxo
Libraries/Numerator/MathML/MathMLSemanticsElement.cs
C#
gpl-3.0
2,353
--TEST-- free statement after close --SKIPIF-- <?php require_once('skipif.inc'); ?> --FILE-- <?php include "connect.inc"; /************************ * free statement after close ************************/ $link = mysqli_connect($host, $user, $passwd); $stmt1 = mysqli_prepare($link, "SELECT CURRENT_USER()"); ...
tukusejssirs/eSpievatko
spievatko/espievatko/prtbl/srv/new/php-5.2.5/ext/mysqli/tests/051.phpt
PHP
gpl-3.0
431
ig.module( 'game.weapons.beam' ) .requires( 'impact.entity' ) .defines(function() { WeaponBeam = ig.Class.extend({ name: 'WeaponBeam', displayName: 'Lasers', playerAnimOffset: 0, hudImage: new ig.Image( 'media/hud-bullet.png' ), shootSFX: new ig.Sound('media/sounds/eyebeams.*'), fire: fun...
gamebytes/rock-kickass
lib/game/weapons/beam.js
JavaScript
gpl-3.0
1,887
/* Copyright (C) 2012,2013 Max Planck Institute for Polymer Research Copyright (C) 2008,2009,2010,2011 Max-Planck-Institute for Polymer Research & Fraunhofer SCAI This file is part of ESPResSo++. ESPResSo++ is free software: you can redistribute it and/or modify it under the terms of the GNU...
BackupTheBerlios/espressopp
src/ParticleGroup.hpp
C++
gpl-3.0
4,065
/* * This file is part of NLua. * * Copyright (c) 2013 Vinicius Jarina (viniciusjarina@gmail.com) * Copyright (C) 2012 Megax <http://megax.yeahunter.hu/> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to d...
thexa4/FactorioCalculator
References/NLua/Core/NLua/Config/NLuaConfig.cs
C#
gpl-3.0
1,890
/* Zevra, a UCI chess playing engine Copyright (C) 2016-2017 Oleg Smirnov (author) Zevra 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 any later version. ...
sovaz1997/ChessProblemGenerator
Zevra/goback.cpp
C++
gpl-3.0
751
/* * Copyright © 2008 Daniel W. Goldberg * * 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...
TamuGeoInnovation/TAMU.GeoInnovation.PointIntersectors.Census.ReferenceDataImporters
src/Main/Workers/Interfaces/ICensusTractLevelImporterWorker.cs
C#
gpl-3.0
1,360
/* * Straight - A system to manage financial demands for small and decentralized * organizations. * Copyright (C) 2011 Octahedron * * 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,...
fesl/figgo
src/main/java/br/octahedron/figgo/modules/admin/util/Route53Util.java
Java
gpl-3.0
6,610
/* * LaaNo Android application * * @author Aleksandr Borisenko <developer@laano.net> * Copyright (C) 2017 Aleksandr Borisenko * * 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 ver...
alexcustos/linkasanote
app/src/main/java/com/bytesforge/linkasanote/laano/LaanoUiManager.java
Java
gpl-3.0
11,505
package info.peilwebsystems.opensource.marketlist.productmanagement.repository; import java.util.Set; import org.springframework.data.repository.CrudRepository; import org.springframework.stereotype.Repository; import info.peilwebsystems.opensource.marketlist.productmanagement.domain.Category; @Repository public in...
lgpoliveira/MarketList
src/main/java/info/peilwebsystems/opensource/marketlist/productmanagement/repository/CategoryRepository.java
Java
gpl-3.0
431
package ru.fgv.test8; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.util.List; import java.util.Map; import java.util.Optional; import java.util.OptionalDouble; import java.util.TreeMap; import java.util.stream.LongStream; import ja...
iok1979/test
test8/src/main/java/ru/fgv/test8/LambdaMain.java
Java
gpl-3.0
6,686
// XTPChartPointSeriesStyle.cpp // // This file is a part of the XTREME TOOLKIT PRO MFC class library. // (c)1998-2012 Codejock Software, All Rights Reserved. // // THIS SOURCE FILE IS THE PROPERTY OF CODEJOCK SOFTWARE AND IS NOT TO BE // RE-DISTRIBUTED BY ANY MEANS WHATSOEVER WITHOUT THE EXPRESSED WRITTEN // CONSENT O...
atlaser/Tools
PMEditor/libs/Xtreme_ToolkitPro_v15.3.1/Source/Chart/Styles/Point/XTPChartPointSeriesStyle.cpp
C++
gpl-3.0
6,589
<?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 ...
avasys/moodle
theme/bootstrapbase/renderers/core.php
PHP
gpl-3.0
5,831
package org.schabi.newpipe.player.helper; import android.animation.Animator; import android.animation.AnimatorListenerAdapter; import android.animation.ValueAnimator; import android.content.Context; import android.content.Intent; import android.media.AudioFocusRequest; import android.media.AudioManager; import android...
theScrabi/NewPipe
app/src/main/java/org/schabi/newpipe/player/helper/AudioReactor.java
Java
gpl-3.0
6,060
/* src/c-interface-ncs.cc * * Copyright 2004, 2005 The University of York * Copyright 2007, 2008 The University of Oxford * Author: Paul Emsley * * 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 F...
jlec/coot
src/c-interface-ncs.cc
C++
gpl-3.0
32,681
package nl.juraji.biliomi.config.core.biliomi; /** * Created by Juraji on 9-10-2017. * Biliomi */ public class USCore { private String updateMode; private boolean checkForUpdates; private String countryCode; public String getUpdateMode() { return updateMode; } public void setUpdate...
Juraji/Biliomi
core/src/main/java/nl/juraji/biliomi/config/core/biliomi/USCore.java
Java
gpl-3.0
761