repo_name stringlengths 4 116 | path stringlengths 4 379 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
alfrenovsky/Digesto | test/unit/sysconfig_test.rb | 156 | require 'test_helper'
class SysconfigTest < ActiveSupport::TestCase
# Replace this with your real tests.
test "the truth" do
assert true
end
end
| gpl-3.0 |
Mariusz-v7/ClientServer | src/test/integration/pl/mrugames/nucleus/server/telnet_example/ExampleClientWorkerFactory.java | 546 | package pl.mrugames.nucleus.server.telnet_example;
import pl.mrugames.nucleus.server.client.*;
public class ExampleClientWorkerFactory implements ClientWorkerFactory<String, String> {
private final Runnable shutdownServer;
public ExampleClientWorkerFactory(Runnable shutdownServer) {
this.shutdownServ... | gpl-3.0 |
jedistev/AmazonStatement_Project | Dashboard-uk-main.php | 1860 | <?php
//include auth.php file on all secure pages
include("auth.php");
//sql database
include ('sql/mainSql.php');
?>
<!DOCTYPE html>
<html lang="en">
<head>
<?php include 'nav/meta.php'; ?>
<?php include 'nav/css.php'; ?>
<!-- Dashboard CSS only-->
<link href="css/static.css" rel=... | gpl-3.0 |
czimbortibor/Large-annotated-image-collection-management | documentation/html/search/files_4.js | 362 | var searchData=
[
['graphicsimage_2ecpp',['GraphicsImage.cpp',['../_graphics_image_8cpp.html',1,'']]],
['graphicsimage_2ehpp',['GraphicsImage.hpp',['../_graphics_image_8hpp.html',1,'']]],
['graphicsview_2ecpp',['GraphicsView.cpp',['../_graphics_view_8cpp.html',1,'']]],
['graphicsview_2ehpp',['GraphicsView.hpp',... | gpl-3.0 |
Lizzaran/LeagueSharp-Standalones | SFXUtility/SFXGank/Data/Relics.cs | 5185 | #region License
/*
Copyright 2014 - 2015 Nikita Bernthaler
Relics.cs is part of SFXGank.
SFXGank 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 lat... | gpl-3.0 |
gherardovarando/ObjCounter | src/main/java/ObjCounter_Options.java | 1985 | /**
* _ObjCounter.java
*
*
* Copyright (C) 2015 Gherardo Varando
*
* This plugin is based on _3D_Object_Counter code by Fabrice P. Cordelières
*
* License:
* 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 Fr... | gpl-3.0 |
jctanner/ansibullbot | tests/unit/triagers/plugins/test_needs_contributor.py | 1398 | #!/usr/bin/env python
import unittest
from ansibullbot.triagers.plugins.needs_contributor import get_needs_contributor_facts
from tests.utils.helpers import get_issue
class AnsibleTriageMock(object):
BOTNAMES = [u'ansibot']
class TestNeedsContributorFacts(unittest.TestCase):
def setUp(self):
self... | gpl-3.0 |
marvin-we/steem-java-api-wrapper | core/src/test/java/eu/bittrade/libs/steemj/BaseITForOperationParsing.java | 1470 | /*
* This file is part of SteemJ (formerly known as 'Steem-Java-Api-Wrapper')
*
* SteemJ 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 you... | gpl-3.0 |
Team-Radicool/CreepTech | src/main/java/com/harry9137/ct/tileentity/TileEntityIncubator.java | 4395 | package com.harry9137.ct.tileentity;
import com.harry9137.ct.energy.IEnergyContainer;
import net.minecraft.entity.passive.EntityChicken;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.entity.projectile.EntityEgg;
import net.minecraft.init.Blocks;
import net.minecraft.init.Items;
import net.minec... | gpl-3.0 |
FrankM1/qazana | assets/dev/js/editor/elements/views/base.js | 20112 | var BaseSettingsModel = require( 'qazana-elements/models/base-settings' ),
ControlsCSSParser = require( 'qazana-editor-utils/controls-css-parser' ),
Validator = require( 'qazana-validator/base' ),
BaseContainer = require( 'qazana-views/base-container' ),
BaseElementView;
BaseElementView = BaseContainer.extend( {
... | gpl-3.0 |
wahez/pibot | loop/repeated_test.cc | 1282 | /*
Copyright 2016 Walther Zwart
This file is part of pibot++.
pibot++ 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 |
benfah/CustomUtils | src_old/main/java/me/benfah/cu/api/WorldStore.java | 2806 | package me.benfah.cu.api;
import java.io.File;
import java.io.FileOutputStream;
import java.io.ObjectOutputStream;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import org.bukkit.Location;
import org.bukkit.World;
import org.bukkit.block... | gpl-3.0 |
gamenew09/RobloxLauncher | RobloxLauncher.BETA/Form1.Designer.cs | 6668 | namespace RobloxLauncher.BETA
{
partial class Form1
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
///... | gpl-3.0 |
luizfernandorg/calendar | examples/angular/js/calendar.js | 3088 | (function(calendarModule){
if(typeof module === 'object' && typeof module.exports === 'object' ){
module.exports = calendarModule();
}else{
return calendar = calendarModule();
}
}(function(){
var myMonths = [
'January',
'February',
'March',
'April',
'May',
... | gpl-3.0 |
smherdgn/EShopping | src/main/java/com/indbilisim/fieldsdataprop/LocationFieldsDataPropService.java | 3184 | package com.indbilisim.fieldsdataprop;
import com.indbilisim.fieldsproperties.LocationFieldsProperties;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
i... | gpl-3.0 |
EuropeanSocialInnovationDatabase/ESID-main | TextMining/NER/test_StanforNER.py | 7687 | # -*- coding: utf-8 -*-
import unittest
from StanfordNER import StanfordTagger
class TestTagger(unittest.TestCase):
def test_case1(self):
text = 'While in France, Christine Lagarde discussed short-term stimulus efforts in a recent interview with the Wall Street Journal.'
st = StanfordTagger()
classified_text = s... | gpl-3.0 |
blueboz/GDOU | 海大通v1/gen/cn/blueboz/gdou/BuildConfig.java | 157 | /** Automatically generated file. DO NOT MODIFY */
package cn.blueboz.gdou;
public final class BuildConfig {
public final static boolean DEBUG = true;
} | gpl-3.0 |
nathieb/red5_embedded | src/main/java/com/red5/DBManager.java | 1277 | package com.red5;
import java.io.File;
import java.sql.Connection;
import java.sql.DriverManager;
import org.hsqldb.persist.HsqlProperties;
/**
*
* @author olivier
*/
public class DBManager {
String dbLocation; // change it to your db location
org.hsqldb.server.Server sonicServer;
Connection dbConn = ... | gpl-3.0 |
phScholz/XeVe | src/advanced_strings.cpp | 2276 | #include <stdio.h>
#include <stdlib.h>
#include <string>
#include <string.h>
#include <QDebug>
#include "event.h"
using namespace std;
// 0x09 - horizontal tab
// 0x0a - linefeed
// 0x0b - vertical tab
// 0x0c - form feed
// 0x0d - carriage return
// 0x20 - space
// \0 - end of string
char *as_trim(char *str) {
c... | gpl-3.0 |
bsutton/scoutmaster | scoutmaster/src/test/java/au/org/scoutmaster/DumpKeyStore.java | 1948 | package au.org.scoutmaster;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.security.InvalidAlgorithmParameterException;
import java.security.KeyStore;
import java.security.KeyStoreException;
import java.security.NoSuchAlgorithmException;
import java.security.cert.PKIXParam... | gpl-3.0 |
sergeynikifforov/labs2016 | hex115.py | 953 | import turtle
turtle.shape('turtle')
turtle.speed(1000000000000000000000000000000000000)
turtle.begin_fill()
turtle.color("yellow")
for i in range(360):
turtle.left(1)
turtle.forward(2)
turtle.end_fill()
turtle.goto(50, 120)
turtle.begin_fill()
turtle.color("blue")
for i in range(360):
turtle.left(1)
turtle.for... | gpl-3.0 |
nens/threedi-task | doc/source/conf.py | 6652 | # -*- coding: utf-8 -*-
# Note that not all possible configuration values are present in this
# autogenerated file.
# All configuration values have a default; values that are commented out
# serve to show the default.
import datetime
project = "threedi_task"
author = ""
version = ""
release = ""
this_year = datetime.... | gpl-3.0 |
ruby-processing/JRubyArt-examples | examples/WOVNS/geometric_grid4.rb | 593 | # Divan Quality, Pastel 2 Palette
PALETTE = %w[#D1D2EA #BFCDE5 #ABC1E5 #EEC3C3 #FFE4F3 #FFEEF8].freeze
STEP = 133
def settings
size(2400, 6372) # 13.5" x 36", 177 DPI
no_smooth
end
attr_reader :couluers
def setup
sketch_title 'Geometric Grid'
@couluers = web_to_color_array(PALETTE)
background(color('#6984B... | gpl-3.0 |
sjefen6/pakkespor | functions.php | 4460 | <?php
$cookielifetime = 1209600;
$trackingNumbers = array();
$trackingNumbers_json = array();
$autorefresh = htmlspecialchars(@$_COOKIE["autorefresh"]);
$lang = "en";
$browserlang = strtolower(substr($_SERVER['HTTP_ACCEPT_LANGUAGE'], 0, 2));
if(in_array($browserlang,array("no","nb","nn",""))){
$lang = "no";
}
if (... | gpl-3.0 |
gatATAC/rmsupportapp | vendor/bundle/ruby/2.1.0/gems/hobo-2.2.6/lib/generators/hobo/plugin.rb | 3510 | module Generators
module Hobo
Plugin = classy_module do
protected
def gem_with_comments(*args)
options = args.extract_options!
name = args[0]
unless File.read("Gemfile") =~ /^gem ("|')#{name}/
if (comments = options.delete(:comments))
append_file "Gemfil... | gpl-3.0 |
noisecapella/bostonbusmap | tools/plot_route_from_database.py | 1095 | import argparse
import sqlite3
import tempfile
import csv
import subprocess
from generate.schema import Box
def main():
parser = argparse.ArgumentParser(description="Plot a route from database")
parser.add_argument("sqlite_path")
parser.add_argument("route")
args = parser.parse_args()
with sqlite3... | gpl-3.0 |
organicsmarthome/OSHv4 | source/osh_core/datatypes_src/osh/datatypes/power/LoadProfile.java | 35136 | package osh.datatypes.power;
import java.io.Serializable;
import java.util.EnumMap;
import java.util.Iterator;
import java.util.Map;
import java.util.Map.Entry;
import java.util.TreeMap;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.... | gpl-3.0 |
likeleon/OneComic | OneComic.Admin/Properties/Resources.Designer.cs | 2787 | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--... | gpl-3.0 |
richelbilderbeek/BoostGraphTutorial | BoostGraphTutorial/add_vertex_test.cpp | 745 | #include "add_vertex.h"
#include "add_vertex_demo.impl"
#include <boost/test/unit_test.hpp>
#include "create_empty_undirected_graph.h"
#include "create_empty_directed_graph.h"
BOOST_AUTO_TEST_CASE(add_vertex_undirected_graph)
{
auto g = create_empty_undirected_graph();
BOOST_CHECK(boost::num_vertices(g) == 0);
... | gpl-3.0 |
LanguageMachines/quoll | quoll/classification_pipeline/modules/vectorize.py | 26714 |
from luiginlp.engine import Task, WorkflowComponent, InputFormat, registercomponent, InputSlot, Parameter, BoolParameter, IntParameter
from quoll.classification_pipeline.modules.featurize import Featurize
from quoll.classification_pipeline.functions import vectorizer, featselector, quoll_helpers, docreader
import n... | gpl-3.0 |
z-smart/ips_modules | EnergyVisualizer/module.php | 4260 | <?
// Klassendefinition
class EnergyVisualizer extends IPSModule {
// Der Konstruktor des Moduls
// Überschreibt den Standard Kontruktor von IPS
public function __construct($InstanceID) {
// Diese Zeile nicht löschen
parent::__construct($InstanceID);
... | gpl-3.0 |
d4rken/rootvalidator | app/src/main/java/eu/thedarken/rootvalidator/main/core/suapp/SuperUserAppResult.java | 2303 | /*
* Project Root Validator
*
* @link https://github.com/d4rken/rootvalidator
* @license https://github.com/d4rken/rootvalidator/blob/master/LICENSE GPLv3
*/
package eu.thedarken.rootvalidator.main.core.suapp;
import android.content.Context;
import java.util.ArrayList;
import java.util.List;
import eu.thedarke... | gpl-3.0 |
sdalu/kuiristo | app/json-resources.rb | 4509 | class KuiristoWeb
#
#
#
get '/categories.json' do
content_type :json
DB[:categories_for_recipes]
.select(:id, :key, :name, :group)
.order(:group, :id)
.all.to_json
end
# Typeahead? Fuse.js?
# https://en.wikipedia.org/wiki/Bitap_al... | gpl-3.0 |
P1R/OraMon4PRTG | XMLTags.py | 4922 | # Copyright 2015 David Eugenio Perez Negron Rocha
#
# This file is part of OraMon4PRTG.
#
# OraMon4PRTG is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option)... | gpl-3.0 |
phiratio/Pluralsight-materials | Paths/Jquery/06Useful jQuery Plugins/useful-jquery-plugins-exercise-files/jQueryPlugins/js/jquery.autotab.min.js | 5985 | /**
* Autotab - jQuery plugin 1.5b
* https://github.com/Mathachew/jquery-autotab
*
* Copyright (c) 2013 Matthew Miller
*
* Licensed under the MIT licensing:
* http://www.opensource.org/licenses/mit-license.php
*/
(function(e){var h=navigator.platform,d={tabPause:800,focusChange:null,iOS:"iPad"===h||"iPhone... | gpl-3.0 |
dewtx29/dewdd_minecraft_plugins | new/dewdd_minecraft_plugins/dewdd_fd/src/fd/Main.java | 448 |
package fd;
import java.util.logging.Logger;
import org.bukkit.plugin.java.JavaPlugin;
public class Main extends JavaPlugin {
Logger log;
DigEventListener2 ax = new DigEventListener2();
public void onDisable() {
getServer().getPluginManager().disablePlugin(this);
}
public void onEna... | gpl-3.0 |
foxcarlos/decimemijobot | bot/urls.py | 358 | from django.conf.urls import url
from . import views
from .views import Login
urlpatterns = [
url(r'^$', views.index, name='index'),
url(r'^test/$', views.test, name='test'),
url(r'login/... | gpl-3.0 |
bbfamily/abu | abupy/ExtBu/futures/_base.py | 21108 | # Copyright 2009 Brian Quinlan. All Rights Reserved.
# Licensed to PSF under a Contributor Agreement.
import collections
import logging
import threading
import itertools
import time
__author__ = 'Brian Quinlan (brian@sweetapp.com)'
FIRST_COMPLETED = 'FIRST_COMPLETED'
FIRST_EXCEPTION = 'FIRST_EXCEPTION'
ALL_COMPLETED... | gpl-3.0 |
danielbonetto/twig_MVC | lang/nl/theme_binarius.php | 2856 | <?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 |
Traderain/Wolven-kit | CP77.CR2W/Types/cp77/characterCreationBodyMorphOption.cs | 1690 | using CP77.CR2W.Reflection;
using FastMember;
using static CP77.CR2W.Types.Enums;
namespace CP77.CR2W.Types
{
[REDMeta]
public class characterCreationBodyMorphOption : inkWidgetLogicController
{
[Ordinal(1)] [RED("optionLabel")] public inkTextWidgetReference OptionLabel { get; set; }
[Ordinal(2)] [RED("selected... | gpl-3.0 |
pedro-mendonca/qtranslate-x | qtranslate_frontend.php | 43721 | <?php
if ( !defined( 'ABSPATH' ) ) exit;
add_filter('wp_translator', 'QTX_Translator::get_translator');
function qtranxf_get_front_page_config() {
static $page_configs;//cache
if($page_configs) return $page_configs;
global $q_config;
$url_path = $q_config['url_info']['wp-path'];
$url_query = isset($q_config['ur... | gpl-3.0 |
DynamicDevices/monodebugvs | MonoDebugVS/AD7/AD7ProgramProvider.cs | 3320 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using Microsoft.VisualStudio.Debugger.Interop;
namespace DynamicDevices.MonoDebugVS
{
// This class implments IDebugProgramProvider2.
// This registered interface allows the s... | gpl-3.0 |
aykutalparslan/Telegram-Server | src/main/java/org/telegram/tl/L57/updates/GetDifference.java | 1935 | /*
* This file is part of Telegram Server
* Copyright (C) 2015 Aykut Alparslan KOÇ
*
* Telegram Server 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 |
www-eee/www-eee-util-misc | dynamic/src/main/java/net/www_eee/util/misc/dynamic/form/DynForm.java | 15977 | /*
* Copyright 1999-2016 by Chris Hubick. All Rights Reserved.
*
* This work is licensed under the terms of the "GNU LESSER GENERAL PUBLIC LICENSE" version 3, as published by the Free
* Software Foundation <http://www.gnu.org/licenses/>, a copy of which you should have received in the file LICENSE.txt.
*/
packag... | gpl-3.0 |
qharley/BotQueue | classes/PEAR/Image/3D/Paintable/Object/3dsChunks.php | 7664 | <?php
class Image_3D_Chunk {
protected $type;
protected $content;
protected $size;
protected $chunks;
//>------ Primary chunk
const MAIN3DS = 0x4D4D;
//>------ Main Chunks
const EDIT3DS = 0x3D3D; // this is the start of the editor config
const KEYF3DS = 0xB000; // this is the start of the key... | gpl-3.0 |
dddsnn/discord_sh_bot | src/replier.rs | 2757 | use model::{UserData, Tier, Timeframe, StatusReport};
use std::iter;
use std::collections::HashSet;
pub fn unknown_request(msg_content: &str) -> String {
"\"".to_owned() + msg_content + "\" is not a valid request. Type \"help\" to find out what is."
}
pub fn help() -> String {
// TODO
"This is an unhelpfu... | gpl-3.0 |
IdcNoob/Ensage | Evader/Data/AbilityModifiers.cs | 3872 | namespace Evader.Data
{
using System;
using System.Collections.Generic;
using System.Linq;
using Ensage;
internal class AbilityModifiers
{
private readonly Dictionary<string, string> fixedAbilityModifiers = new Dictionary<string, string>
{
{ "modifier_phantom_assas... | gpl-3.0 |
we6jbo/We6jboisFreeSL | We6jboisFreeSL/src/main/java/data/Data.java | 1827 | /*
* Copyright (C) 2013 Jeremiah ONeal <joneal@nuaitp.net>
*
* 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.
*
*... | gpl-3.0 |
jackywgw/ntopng_test | src/CollectorInterface.cpp | 5257 | /*
*
* (C) 2013-16 - ntop.org
*
*
* 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 distribu... | gpl-3.0 |
InnoFang/DesignPatterns | src/io/innofang/factory_method/base/ConcreteFactory.java | 443 | package io.innofang.factory_method.base;
/**
* Created by Inno Fang on 2017/5/6.
*/
public class ConcreteFactory extends Factory{
@Override
public <T extends Product> T createProduct(Class<T> clz) {
Product product = null;
try {
product = (Product) Class.forName(clz.getName()).ne... | gpl-3.0 |
Google1234/Scheduling-optimization | Cbc-2.7.5-win64-intel11.1/include/coin/CbcHeuristicRINS.hpp | 2712 | /* $Id: CbcHeuristicRINS.hpp 1261 2009-10-30 12:45:20Z forrest $ */
// Copyright (C) 2006, International Business Machines
// Corporation and others. All Rights Reserved.
// This code is licensed under the terms of the Eclipse Public License (EPL).
#ifndef CbcHeuristicRINS_H
#define CbcHeuristicRINS_H
#include "CbcH... | gpl-3.0 |
fred/MNN | app/models/item_stat.rb | 262 | class ItemStat < ActiveRecord::Base
belongs_to :item, inverse_of: :item_stat
after_save :touch_item
# update item every 20 page views
def touch_item
if views_counter > 9 && views_counter.modulo(10) == 0
item.touch
end
true
end
end
| gpl-3.0 |
ahmetabdi/SickRage | sickbeard/providers/generic.py | 21100 | # coding=utf-8
# Author: Nic Wolfe <nic@wolfeden.ca>
# URL: http://code.google.com/p/sickbeard/
#
# This file is part of SickRage.
#
# SickRage 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 ... | gpl-3.0 |
hidayat365/Inventory.NET | Biruni.FE/frmMain.cs | 34668 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using C1.Win.C1Ribbon;
using Biruni.Master.List;
using Biruni.Master.Entry;
using Biruni.Sales.List;
using Biruni.Purchasing.List;
using Biruni.Inventory.L... | gpl-3.0 |
hantsy/spring-reactive-sample | boot-data-couchbase/src/test/java/com/example/demo/PostRepositoryTest.java | 3949 | package com.example.demo;
import lombok.extern.slf4j.Slf4j;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.boot.test.util.TestPropertyValue... | gpl-3.0 |
series6147/ProcessPlayer | ProcessPlayer/ProcessPlayer.Windows/Controls/LogListView.cs | 3741 | using log4net.Core;
using System;
using System.Collections.ObjectModel;
using System.Collections.Specialized;
using System.Windows;
using System.Windows.Controls;
namespace ProcessPlayer.Windows.Controls
{
[TemplatePart(Name = "PART_ListBox", Type = typeof(ListBox))]
public class LogListView : Contr... | gpl-3.0 |
Clodo76/airvpn-client | src/Lib.Core/ResourcesFiles.cs | 1935 | // <eddie_source_header>
// This file is part of Eddie/AirVPN software.
// Copyright (C)2014-2016 AirVPN (support@airvpn.org) / https://airvpn.org
//
// Eddie 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 |
kalamara/csdbg-automake | include/tcpsockbuf.hpp | 2000 | #ifndef _CSDBG_TCPSOCKBUF
#define _CSDBG_TCPSOCKBUF 1
/**
@file include/tcpsockbuf.hpp
@brief Class csdbg::tcpsockbuf definition
*/
#include "./streambuf.hpp"
namespace csdbg {
/**
@brief A buffered TCP/IP socket output stream
A tcpsockbuf object is a buffered TCP/IP client socket, designed specifically
to i... | gpl-3.0 |
GitSquared/ORNE-client | app/core/startup.js | 7421 | console.time("MainStartup");
console.time("FullStartup");
const {app, ipcMain, BrowserWindow, nativeImage, session} = require('electron');
const path = require('path');
const url = require('url');
const fs = require('fs');
const autoUpdater = require('electron-updater').autoUpdater;
app.commandLine.appendSwitch('disab... | gpl-3.0 |
thanhnew2001/jhms | web/src/main/java/com/ph/hms/action/ServiceParamAction.java | 3074 | package com.ph.hms.action;
import java.util.Collection;
import com.opensymphony.xwork.ActionSupport;
import com.ph.hms.Service;
import com.ph.hms.ServiceManager;
import com.ph.hms.ServiceParam;
public class ServiceParamAction extends ActionSupport {
private int serviceParamId;
private ServiceParam serviceParam;... | gpl-3.0 |
fvaldes33/crafty-cli | install/templates/docker/_db.php | 1189 | <?php
/**
* Database Configuration
*
* All of your system's database configuration settings go in here.
* You can see a list of the default settings in craft/app/etc/config/defaults/db.php
*/
return array(
'*' => array(
// The database server name or IP address. Usually this is 'localhost' or '127.0... | gpl-3.0 |
quasars100/Resonance_testing_scripts | setup.py | 2709 | try:
from setuptools import setup, Extension
except ImportError:
from distutils.core import setup, Extension
from codecs import open
import os
libreboundmodule = Extension('librebound',
sources = [ 'src/librebound.c',
'src/integrator_ias15.c',
... | gpl-3.0 |
jike2016/308b-2016 | mod/notemy/version.php | 1102 | <?php
/*
* 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") + y... | gpl-3.0 |
piaoyidaodi/DataAnalysis | src/cc/comac/ui/popupmenu/CenterPanePopupMenu.java | 219 | package cc.comac.ui.popupmenu;
import javax.swing.JComponent;
public class CenterPanePopupMenu extends DefaultCenterPanePopupMenu {
public CenterPanePopupMenu(JComponent parent) {
super(parent);
}
}
| gpl-3.0 |
LouisStrous/LUX | src/files.cc | 251394 | /* This is file files.cc.
Copyright 2013 Louis Strous, Richard Shine
Copyright 2014 Louis Strous
This file is part of LUX.
LUX is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
Software Foundation, either version 3 of the License, or... | gpl-3.0 |
mailcow/mailcow-dockerized | data/web/inc/lib/vendor/directorytree/ldaprecord/src/Models/ActiveDirectory/Group.php | 1573 | <?php
namespace LdapRecord\Models\ActiveDirectory;
class Group extends Entry
{
/**
* The object classes of the LDAP model.
*
* @var array
*/
public static $objectClasses = [
'top',
'group',
];
/**
* The groups relationship.
*
* Retrieves groups that ... | gpl-3.0 |
smarthomeNG/smarthome | logics/check_items.py | 3083 | #!/usr/bin/env python3
# check_items.py
"""
given following items within a yaml:
MyItem:
MyChildItem:
type: num
initial_value: 12
MyGrandchildItem:
type: str
initial_value: "foo"
Within a logic it is possible to set the value of MyChildItem to 42 with
``sh.MyItem.MyChildItem(42)`` and retr... | gpl-3.0 |
Jochen1980/lacshop | tmp/smarty/8598d46dca4e7422400351001a2e3f7a^%%08^08A^08ABD53A%%details.tpl.php | 1491 | <?php /* Smarty version 2.6.26, created on 2014-04-19 00:24:45
compiled from page/details/details.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'oxid_include_widget', 'page/details/details.tpl', 6, false),)), $this);... | gpl-3.0 |
Sw24Softwares/StarkeVerben | app/src/androidTest/java/org/sw24softwares/starkeverben/ExampleInstrumentedTest.java | 760 | package org.sw24softwares.starkeverben;
import android.content.Context;
import androidx.test.InstrumentationRegistry;
import androidx.test.runner.AndroidJUnit4;
import org.junit.Test;
import org.junit.runner.RunWith;
import static org.junit.Assert.assertEquals;
/**
* Instrumentation test, which will execute on an ... | gpl-3.0 |
francescogabbrielli/beacons | transponderApp/src/main/java/au/com/smarttrace/beacons/transponder/DeviceListActivity.java | 2991 | /*******************************************************************************
*
* This file is part of Beacon Transponder.
*
* Beacon Transponder 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 |
retomerz/jbincmp | core/src/main/java/ch/retomerz/jbincmp/index/impl/inmemory/InmemoryUsageIndex.java | 1067 | /*
* Copyright (c) 2014 Reto Merz
*/
package ch.retomerz.jbincmp.index.impl.inmemory;
import ch.retomerz.jbincmp.index.UsageClassIndex;
import ch.retomerz.jbincmp.index.UsageIndex;
import ch.retomerz.jbincmp.java.New;
import ch.retomerz.jbincmp.reporter.Reporter;
import ch.retomerz.jbincmp.util.SlashedPath;
import ... | gpl-3.0 |
Ant-f/HashCalculator | HashCalculatorTests/View/Control/DragDropHostInternalTests.cs | 5061 | // HashCalculator
// Tool for calculating and comparing file hash sums, e.g. sha1
// Copyright(C) 2016 Anthony Fung
// 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 L... | gpl-3.0 |
VPAC/rsa | src/rsaquery/src/org/vpac/ndg/query/NodeReference.java | 1902 | /*
* This file is part of the Raster Storage Archive (RSA).
*
* The RSA 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.
*
* The... | gpl-3.0 |
MarkoMilojevic/Timesheet-Management | TimesheetManagement.Client.Mvc/Services/EmployeeApiService.cs | 1801 | using System.Collections.Generic;
using System.Net.Http;
using System.Threading.Tasks;
using Marvin.JsonPatch;
using TimesheetManagement.Client.Mvc.Common.Entities;
using TimesheetManagement.Client.Mvc.Common.Services;
namespace TimesheetManagement.Client.Mvc.Services
{
public static class EmployeeApiService
... | gpl-3.0 |
LeonardoJPerez/HandyTools | HandyTools.Web.API/Repositiory/ReportsRepository.cs | 1525 | using HandyTools.Database;
using HandyTools.Models;
using HandyTools.Web.API.Interfaces;
using System;
using System.Collections.Generic;
namespace HandyTools.Web.API.Repositiory
{
public class ReportsRepository : BaseRepository, IReportRepository
{
public ReportsRepository(IDbContext context) : base(c... | gpl-3.0 |
graphefruit/Beanconqueror | src/app/brew-parameter/brew-parameter.page.spec.ts | 705 | import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
import {IonicModule} from '@ionic/angular';
import {BrewParameterPage} from './brew-parameter.page';
describe('BrewParameterPage', () => {
let component: BrewParameterPage;
let fixture: ComponentFixture<BrewParameterPage>;
beforeE... | gpl-3.0 |
heldergg/webpymail | webpymail/mailapp/views/__init__.py | 814 | # WebPyMail - IMAP python/django web mail client
# Copyright (C) 2008 Helder Guerreiro
# This file is part of WebPyMail.
#
# WebPyMail 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 L... | gpl-3.0 |
cosminrentea/roda | src/main/java/ro/roda/webjson/admin/SnippetGroupInfoController.java | 1720 | package ro.roda.webjson.admin;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.HttpHeaders;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import org.springframework.stereotype.Controller;
import org.spr... | gpl-3.0 |
angelasabas/enthusiast | enthusiast/show_update.php | 16578 | <?php
/*****************************************************************************
Enthusiast: Listing Collective Management System
Copyright (c) by Angela Sabas
http://scripts.indisguise.org/
Enthusiast is a tool for (fan)listing collective owners to easily
maintain their listing collectives and listing... | gpl-3.0 |
cjamieso/moodle313 | report/analytics/lang/en/report_analytics.php | 10626 | <?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 |
temetherian/omnomic | olj.py | 19920 | #!/usr/bin/python
import datetime
import jinja2
import json
import os
import random
import uuid
import webapp2
from google.appengine.api import app_identity
from google.appengine.ext import ndb
from cards import mob
from cards import pros
import comm
import engine
import game as olj_game
JINJA_ENVIRONMENT = jinja... | gpl-3.0 |
jughead/ptz-camp | app/urls/participant_url.rb | 123 | class ParticipantUrl < ApplicationUrl
def camp
object.camp
end
def parameters
[{slug: camp.slug}]
end
end
| gpl-3.0 |
gohdan/DFC | known_files/hashes/manager/processors/user_documents_permissions.class.php | 161 | MODX Evolution 1.1 = e6d590bf018829e9f846d5f618c2a011
MODX Evolution 1.0.5 = e3ebb098299c7a66c8f796751e7ade19
Evolution 1.3.6 = ec6bd91997549034d61fc709c43eb7e4
| gpl-3.0 |
rajyraman/XrmToolBox | XrmToolBox.PluginsStore/IStore.cs | 459 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace XrmToolBox.PluginsStore
{
public interface IStore
{
void LoadNugetPackages();
string GetPluginProjectUrlByFileName(string fileName);
void UninstallByFileName(... | gpl-3.0 |
berndhs/satview | src/checkpt.cpp | 1461 | #include "checkpt.h"
#include <QTimer>
#include <QAbstractButton>
#include <QPushButton>
//
// Copyright (C) 2009 - Bernd H Stramm
//
// This program is distributed under the terms of
// the GNU General Public License version 3
//
// This software is distributed in the hope that it will be useful,
// but WITHOUT ... | gpl-3.0 |
fisharebest/localization | test/Language/LanguageDsbTest.php | 712 | <?php
namespace Fisharebest\Localization\Language;
use Fisharebest\Localization\PluralRule\PluralRule10;
use Fisharebest\Localization\Script\ScriptLatn;
use PHPUnit\Framework\TestCase;
/**
* Tests for the LanguageDsb class
*
* @author Greg Roach <greg@subaqua.co.uk>
* @copyright (c) 2020 Greg Roach
* @licens... | gpl-3.0 |
outaooutao/repository1 | src/Gzipper.cc | 3705 | #include "Gzipper.h"
#include "Debugger.h"
#include <cstring>
#include <sstream>
const u_char Gzipper::gzheader[10] = { 0x1f, 0x8b, Z_DEFLATED, 0, 0, 0, 0, 0, 0, 3 };
Gzipper::Gzipper(unsigned length):compressedSize(0),u_offset(0),sendingOffset(0),
uData(new char[9*length]),cData(new char[2*length]),subsFilter(uData... | gpl-3.0 |
cSploit/android.MSF | modules/exploits/multi/http/sflog_upload_exec.rb | 4780 | ##
# This module requires Metasploit: http://metasploit.com/download
# Current source: https://github.com/rapid7/metasploit-framework
##
require 'msf/core'
class Metasploit3 < Msf::Exploit::Remote
Rank = ExcellentRanking
include Msf::Exploit::Remote::HttpClient
include Msf::Exploit::PhpEXE
def initialize(in... | gpl-3.0 |
resistor58/deaths-gmod-server | wire/lua/entities/gmod_wire_screen/init.lua | 2362 | AddCSLuaFile( "cl_init.lua" )
AddCSLuaFile( "shared.lua" )
include('shared.lua')
ENT.WireDebugName = "Screen"
ENT.ValueA = 0
ENT.ValueB = 0
function ENT:Initialize()
self.Entity:PhysicsInit( SOLID_VPHYSICS )
self.Entity:SetMoveType( MOVETYPE_VPHYSICS )
self.Entity:SetSolid( SOLID_VPHYSICS )
self.... | gpl-3.0 |
deathcap/BedrockAPI | src/main/java/org/bukkit/material/Dispenser.java | 795 | package org.bukkit.material;
import org.bukkit.Material;
import org.bukkit.block.BlockFace;
import org.bukkit.material.Directional;
import org.bukkit.material.DirectionalContainer;
import org.bukkit.material.Dispenser;
import org.bukkit.material.FurnaceAndDispenser;
import org.bukkit.material.MaterialData;
public cl... | gpl-3.0 |
dpasch01/laraland | app/Http/routes.php | 619 | <?php
/*
|--------------------------------------------------------------------------
| Application Routes
|--------------------------------------------------------------------------
|
| This file is where you may define all of the routes that are handled
| by your application. Just tell Laravel the URIs it should resp... | gpl-3.0 |
bartnv/libtables | db.php | 230 | <?
if (!mysql_connect('localhost', 'username', 'password')) die("Can't connect to database");
if (!mysql_select_db('database')) die("Can't select database");
mysql_set_charset('utf8');
mysql_query("SET lc_time_names = 'nl_NL'");
| gpl-3.0 |
Matrooskin/oxid_ce_test | admin/vendor_main.php | 5080 | <?php
/**
* This file is part of OXID eShop Community Edition.
*
* OXID eShop Community Edition 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 |
google-code/annuus | src/com/ams/protocol/rtmp/amf/AmfValue.java | 7931 | package com.ams.protocol.rtmp.amf;
import java.io.DataOutputStream;
import java.io.IOException;
import java.util.Date;
import java.util.LinkedHashMap;
import java.util.Map;
import com.ams.io.BufferList;
import com.ams.io.BufferOutputStream;
public class AmfValue {
public final static int AMF_INT = 1;... | gpl-3.0 |
anxsec/IntroduceToAlgorithmImplement | sort/selection.js | 666 | function selection_sort(unsortedArr) {
for ( let i = 0; i < unsortedArr.length - 1; i++ ) {
let maxIdx = i;
for ( let j = i; j < unsortedArr.length; j++) {
if (unsortedArr[j] > unsortedArr[maxIdx])
maxIdx = j;
}
[unsortedArr[i], unsortedArr[maxIdx]] = [unsortedArr[maxIdx], unsortedArr[i]... | gpl-3.0 |
cosminrentea/roda | src/main/webapp/RODAdmin/app/store/studies/StudyTree.js | 312 | /**
*
*/
Ext.define('RODAdmin.store.studies.StudyTree', {
extend: 'RODAdmin.store.BaseTree',
requires: [
'RODAdmin.model.studies.Study'
],
autoLoad: false,
model: 'RODAdmin.model.studies.Study',
proxy: {type: 'mainajax', url: 'studiestree'},
folderSort: true,
}); | gpl-3.0 |
andlaus/opm-common | src/opm/parser/eclipse/EclipseState/Eclipse3DProperties.cpp | 52672 | /*
Copyright 2016 Statoil ASA.
This file is part of the Open Porous Media project (OPM).
OPM 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 la... | gpl-3.0 |
MarcosT96/AdminDinero | pages/ManageExpense.php | 7154 | <?php
$msgBox='';
//Incluir funciones
include('includes/Functions.php');
//Incluir notificaciones
include ('includes/notification.php');
//Obtener id del gasto a administrarGet id expense to manage
if(isset($_GET['id'])){
$ExpenseId = abs($_GET['id']);
//Seleccionar gasto desde la edicion
if($ExpenseId != ''){
$E... | gpl-3.0 |
sonofeft/XYmath | xymath/newtGreg3.py | 5597 | from __future__ import absolute_import
from __future__ import division
from builtins import zip
from builtins import map
from builtins import range
from builtins import object
from past.utils import old_div
import bisect
class cubicNG(object): # cubic Newton-Gregory Interpolation
''' cubic Newton-Gr... | gpl-3.0 |
adenzhang/ftl | test/tagged_tuple_tests.cpp | 4356 | #include <ftl/ftl.h>
#include <ftl/tagged_tuple.h>
#include <iostream>
#include <string>
using namespace ftl;
ADD_TEST_CASE( tagged_tuple_tests )
{
{
std::cout << "false:" << can_construct_dataframe<std::string, int>() << std::endl;
std::cout << "false:" << can_construct_dataframe<std::string, st... | gpl-3.0 |