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 |
|---|---|---|---|---|---|
Bitrix 16.5 Business Demo = ea7587a817bea036305172b8333d43ef
| gohdan/DFC | known_files/hashes/bitrix/modules/main/lang/ru/admin/short_uri_edit.php | PHP | gpl-3.0 | 61 |
from math import ceil
import numpy as np
from ipywidgets import widgets
from tqdm.notebook import tqdm
from matplotlib import pyplot as plt
import lib.iq_mixer_calibration
from drivers import IQAWG
from lib.data_management import load_IQMX_calibration_database, \
save_IQMX_calibration
from lib.iq_mixer_calibratio... | vdrhtc/Measurement-automation | drivers/IQVectorGenerator.py | Python | gpl-3.0 | 12,060 |
/*
Copyright 2012-2016 Michael Pozhidaev <michael.pozhidaev@gmail.com>
This file is part of LUWRAIN.
LUWRAIN 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 ... | rPman/luwrain | src/main/java/org/luwrain/core/ShortcutManager.java | Java | gpl-3.0 | 2,884 |
#include "tool_move.hpp"
#include "document/idocument_board.hpp"
#include "board/board.hpp"
#include "document/idocument_package.hpp"
#include "pool/package.hpp"
#include "document/idocument_padstack.hpp"
#include "pool/padstack.hpp"
#include "document/idocument_schematic.hpp"
#include "schematic/schematic.hpp"
#includ... | carrotIndustries/horizon | src/core/tools/tool_move.cpp | C++ | gpl-3.0 | 14,465 |
#include <cstdlib> // srand()
#include <ctime> // time()
#include "StateManager.hpp"
#include "SDL.hpp"
#include "Log.hpp"
#include "Config.hpp"
#include "GameStateMainMenu.hpp"
#include "GameStateGame.hpp"
#include "GameStateGameOver.hpp"
#include "Window.hpp"
#include "Graphics.hpp"
StateManager::StateManager(int ... | alexdantas/idj | src/StateManager.cpp | C++ | gpl-3.0 | 2,154 |
ace.require("ace/ext/language_tools");
var editor = ace.edit("editor");
editor.setOptions({
enableBasicAutocompletion: true
});
editor.setTheme("ace/theme/eclipse");
editor.getSession().setMode("ace/mode/java");
document.getElementById('editor').style.fontSize = '18px';
editor.setAutoScrollEditorIntoView(true);
... | AbdallaMahmoud/codeyard | src/main/resources/webapp/js/main.js | JavaScript | gpl-3.0 | 7,360 |
import {Component, OnInit} from '@angular/core';
import {FundDataService} from '../funddata/funddata.service';
@Component({
selector: 'app-fund-table',
templateUrl: './fund-table.component.html',
styleUrls: ['./fund-table.component.css']
})
export class FundTableComponent implements OnInit {
private colShow: stri... | jensim/fundscreener | src/app/fund-table/fund-table.component.ts | TypeScript | gpl-3.0 | 1,096 |
/*
* Copyright appNativa Inc. All Rights Reserved.
*
* This file is part of the Real-time Application Rendering Engine (RARE).
*
* RARE 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 vers... | appnativa/rare | source/rare/swingx/com/appnativa/rare/platform/swing/ui/view/RadioButtonView.java | Java | gpl-3.0 | 8,918 |
package de.roskenet.simplecms.repository;
import org.springframework.data.repository.PagingAndSortingRepository;
import de.roskenet.simplecms.entity.Attribute;
public interface AttributeRepository extends PagingAndSortingRepository<Attribute, Integer> {
}
| roskenet/simple-cms | src/main/java/de/roskenet/simplecms/repository/AttributeRepository.java | Java | gpl-3.0 | 260 |
/**
*
* Copyright (C) 2004-2008 FhG Fokus
*
* This file is part of the FhG Fokus UPnP stack - an open source UPnP implementation
* with some additional features
*
* You can redistribute the FhG Fokus UPnP stack and/or modify it
* under the terms of the GNU General Public License Version 3 as published by
* the Free So... | fraunhoferfokus/fokus-upnp | upnp-core/src/main/java/de/fraunhofer/fokus/upnp/core/UPnPDocParser.java | Java | gpl-3.0 | 5,855 |
#!/usr/bin/python
# -*- coding: utf-8 -*-
# (c) 2017, Andrew Kofink <ajkofink@gmail.com>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) ... | ATIX-AG/foreman-ansible-modules | plugins/modules/subscription_manifest.py | Python | gpl-3.0 | 5,027 |
import moment from 'moment';
import PublicationsController from './controller/publications.controller.js';
import AuthorsController from './controller/authors.controller.js';
import PublishersController from './controller/publishers.controller.js';
/*
* Application routing
*/
function routing($routeProvider) {
$r... | enric-sinh/publication-library | web/src/app/app.config.js | JavaScript | gpl-3.0 | 1,574 |
#include "disablenonworkingunits.h"
#include "wololo/datPatch.h"
namespace wololo {
void disableNonWorkingUnitsPatch(genie::DatFile *aocDat, std::map<int, std::string> *langReplacement) {
/*
* Disabling units that are not supposed to show in the scenario editor
*/
for (size_t civIndex = 0; civIndex < aocDat->C... | Tails8521/WololoKingdoms | fixes/disablenonworkingunits.cpp | C++ | gpl-3.0 | 872 |
import styled from "./Theme";
export const Content = styled.div`
margin: 2rem 0;
padding: 5px;
`;
| lucas-burdell/lucas-burdell.github.io | src/Content.tsx | TypeScript | gpl-3.0 | 102 |
<?php
namespace Chamilo\Core\Repository\Selector;
/**
* A category of options in a ContentObjectTypeSelector
*
* @author Hans De Bisschop <hans.de.bisschop@ehb.be>
*/
class TypeSelectorCategory
{
/**
*
* @var string
*/
private $type;
/**
*
* @var string
*/
private $... | vanpouckesven/cosnics | src/Chamilo/Core/Repository/Selector/TypeSelectorCategory.php | PHP | gpl-3.0 | 2,653 |
# coding: utf-8
# Copyright (C) 2017 Open Path View, Maison Du Libre
# 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.
# ... | OpenPathView/batchPanoMaker | opv_import/model/camera_set_partition.py | Python | gpl-3.0 | 1,341 |
<?php
/**
* @version $Id: search.class.php v1.0 $
* @package PBDigg
* @copyright Copyright (C) 2007 - 2008 PBDigg.com. All Rights Reserved.
* @license PBDigg is free software and use is subject to license terms
*/
class search
{
/**
* 搜索类型
*/
var $_searchtype;
/**
* 搜索条件语句
*/
var $_searchsql = '';
... | mikeshou/pbdigg | include/search.class.php | PHP | gpl-3.0 | 12,688 |
using System;
namespace ForumSystem.Data.Models.BaseEntities
{
public interface IDeletableEntity
{
bool IsDeleted { get; set; }
DateTime? DeletedOn { get; set; }
}
}
| iwelina-popova/ForumSystem | Source/Data/ForumSystem.Data.Models/BaseEntities/IDeletableEntity.cs | C# | gpl-3.0 | 199 |
<?php
/**
* Nombre del archivo: RegionSicaController.php
* Descripción:Contiene las funciones del controlador
* Fecha de creación:18/11/2017
* Creado por: Juan Carlos Centeno Borja
*/
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Models\region_sica;
use App\Http\Request... | jcenteno1973/sicafam | app/Http/Controllers/RegionSicaController.php | PHP | gpl-3.0 | 2,136 |
/*
* Copyright (C) 2013 Huub de Beer
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merge, publis... | htdebeer/PhD-DE3 | src/models/model.js | JavaScript | gpl-3.0 | 19,172 |
/////////////////////////////////////////////////////////////////////////////
// C# Version Copyright (c) 2003 CenterSpace Software, LLC //
// //
// This code is free software under the Artistic license. //
// ... | bashrc/sentience | sentcore/MersenneTwister.cs | C# | gpl-3.0 | 15,228 |
package main
import (
"net/http"
"os"
"path"
"strings"
"github.com/zenazn/goji/web"
)
func fileServeHandler(c web.C, w http.ResponseWriter, r *http.Request) {
fileName := c.URLParams["name"]
filePath := path.Join(Config.filesDir, fileName)
if !fileExistsAndNotExpired(fileName) {
notFoundHandler(c, w, r)
... | matthazinski/linx-server | fileserve.go | GO | gpl-3.0 | 1,505 |
/******************************************************************************
*******************************************************************************
*******************************************************************************
libferris
Copyright (C) 2001 Ben Martin
libferris is free software... | monkeyiq/ferris | plugins/context/libferrisgoogle_shared.cpp | C++ | gpl-3.0 | 87,216 |
//
// This file is part of Return To The Roots.
//
// Return To The Roots 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.
//
// Retu... | stefson/s25client | libs/s25main/gameTypes/LanGameInfo.cpp | C++ | gpl-3.0 | 1,822 |
<?php
/*
publicacion_miniatura.php
Una publicacion en miniatura
*/
/*
Created on : 23/04/2015, 14:40:40
Author : Juan Manuel Scarciofolo
License : GPLv3
*/
?>
<div class="publicacion_miniatura">
<h2><?php print $producto->getDescripcion(); ?></h2>
<p>
<?php
$... | scarfive/mercadosocialmdq | publicacion_miniatura.php | PHP | gpl-3.0 | 727 |
require 'package'
class Aspell_fr < Package
description 'French Aspell Dictionary'
homepage 'https://ftpmirror.gnu.org/aspell/dict/0index.html'
version '0.50-3'
source_url 'https://ftpmirror.gnu.org/aspell/dict/fr/aspell-fr-0.50-3.tar.bz2'
source_sha256 'f9421047519d2af9a7a466e4336f6e6ea55206b356cd33c8bd18cb... | chromebrew/chromebrew-test | packages/aspell_fr.rb | Ruby | gpl-3.0 | 1,281 |
require_relative '../core_ext/array'
require_relative '../core_ext/hash'
require_relative 'host'
require_relative 'command'
require_relative 'command_map'
require_relative 'configuration'
require_relative 'coordinator'
require_relative 'logger'
require_relative 'log_message'
require_relative 'formatters/abstract'
r... | mattbrictson/sshkit | lib/sshkit/all.rb | Ruby | gpl-3.0 | 786 |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
add word counts to Cornetto lexical units database file
The word count file should have three columns, delimited by white space,
containing (1) the count, (2) the lemma, (3) the main POS tag.
The tagset is assumed to be the Spoken Dutch Corpus tagset,
and the characte... | emsrc/pycornetto | bin/cornetto-add-counts.py | Python | gpl-3.0 | 4,585 |
/*
* Copyright 2012-2016 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... | shitongtong/libraryManage | spring-boot-demo/data-jpa/src/main/java/com/stt/data/jpa/service/HotelRepository.java | Java | gpl-3.0 | 1,574 |
/************************************************************************
* Copyright (C) 2019 Spatial Information Systems Research Limited
*
* 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,... | richeytastic/FaceTools | src/Action/ActionToggleCameraActorInteraction.cpp | C++ | gpl-3.0 | 4,893 |
#!/usr/bin/env python3
from heapq import heapify, heappop, heappush
with open('NUOC.INP') as f:
m, n = map(int, f.readline().split())
height = [[int(i) for i in line.split()] for line in f]
queue = ([(h, 0, i) for i, h in enumerate(height[0])]
+ [(h, m - 1, i) for i, h in enumerate(height[-1])]
... | McSinyx/hsg | others/other/nuoc.py | Python | gpl-3.0 | 941 |
#include <stdio.h>
#include <unistd.h>
#include <sys/socket.h>
#include <sys/types.h>
#include <arpa/inet.h>
#include <netinet/in.h>
#include <string.h>
#define BUFFER_SIZE 1024
int main()
{
int socketfd;
int port = 2047;
struct sockaddr_in server_in;
struct sockaddr_in client_in;
int client_in_l... | dashee/dashee | playground/src/udpserver.cpp | C++ | gpl-3.0 | 1,733 |
<?php
/* Copyright (C) 2014 Daniel Preussker <f0o@devilcode.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.
*
... | rasssta/librenms | includes/html/common/worldmap.inc.php | PHP | gpl-3.0 | 11,457 |
package com.bruce.android.knowledge.custom_view.scanAnimation;
/**
* @author zhenghao.qi
* @version 1.0
* @time 2015年11月09日14:45:32
*/
public class ScanAnimaitonStrategy implements IAnimationStrategy {
/**
* 起始X坐标
*/
private int startX;
/**
* 起始Y坐标
*/
private int startY;
/**... | qizhenghao/Hello_Android | app/src/main/java/com/bruce/android/knowledge/custom_view/scanAnimation/ScanAnimaitonStrategy.java | Java | gpl-3.0 | 2,115 |
Wordpress 4.5.3 = 8fdd30960a4499c4e96caf8c5f43d6a2
Wordpress 4.1.13 = 9db7f2e6f8e36b05f7ced5f221e6254b
Wordpress 3.8.16 = 9ebe6182b84d541634ded7e953aec282
Wordpress 3.4.2 = d59b6610752b975950f30735688efc36
Wordpress 5.1.1 = 2cde4ea09e0a8414786efdcfda5b9ae4
Wordpress 5.3.1 = 3f2b1e00c430271c6b9e901cc0857800
| gohdan/DFC | known_files/hashes/wp-includes/js/tinymce/wp-tinymce.php | PHP | gpl-3.0 | 308 |
// needs Markdown.Converter.js at the moment
(function () {
var util = {},
position = {},
ui = {},
doc = window.document,
re = window.RegExp,
nav = window.navigator,
SETTINGS = { lineLength: 72 },
// Used to work around some browser bugs where we c... | MitchellMcKenna/LifePress | public/scripts/pagedown/Markdown.Editor.js | JavaScript | gpl-3.0 | 80,757 |
package de.jdellert.iwsa.sequence;
import java.io.Serializable;
import java.util.Collection;
import java.util.HashSet;
import java.util.Map;
import java.util.Map.Entry;
import java.util.Set;
import java.util.TreeMap;
import java.util.TreeSet;
/**
* Symbol table for mapping IPA segments to integers for efficient inte... | jdellert/iwsa | src/de/jdellert/iwsa/sequence/PhoneticSymbolTable.java | Java | gpl-3.0 | 2,258 |
/*
* GNU LESSER GENERAL PUBLIC LICENSE
* Version 3, 29 June 2007
*
* Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
* Everyone is permitted to copy and distribute verbatim copies
* of this license document, but changing it is not allowed.
*
* You can view LICENCE file ... | WeaveMN/DragonProxy | src/main/java/org/dragonet/proxy/network/translator/MessageTranslator.java | Java | gpl-3.0 | 7,266 |
/*
* LBFGS.java
*
* Copyright (C) 2016 Pavel Prokhorov (pavelvpster@gmail.com)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) a... | pavelvpster/Math | src/main/java/org/interactiverobotics/ml/optimization/LBFGS.java | Java | gpl-3.0 | 9,413 |
package cn.bjsxt.oop.staticInitBlock;
public class Parent001 /*extends Object*/ {
static int aa;
static {
System.out.println(" 静态初始化Parent001");
aa=200;
}
}
| yangweijun213/Java | J2SE300/28_51OO/src/cn/bjsxt/oop/staticInitBlock/Parent001.java | Java | gpl-3.0 | 184 |
using Fallout4Checklist.Entities;
namespace Fallout4Checklist.ViewModels
{
public class WeaponStatsViewModel
{
public WeaponStatsViewModel(Weapon weapon)
{
Weapon = weapon;
}
public Weapon Weapon { get; set; }
}
}
| street1030/Fallout4Checklist | Fallout4Checklist/ViewModels/AreaDetail/WeaponStatsViewModel.cs | C# | gpl-3.0 | 275 |
/*********************************************************
*********************************************************
** DO NOT EDIT **
** **
** THIS FILE AS BEEN GENERATED AUTOMATICALLY **
** BY UPA PORTABLE GEN... | thevpc/upa | upa-impl-core/src/main/csharp/Sources/Auto/Uql/ExpressionDeclarationList.cs | C# | gpl-3.0 | 1,258 |
/*
* Copyright (C) 2018 Johan Dykstrom
*
* 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 dis... | dykstrom/jcc | src/main/java/se/dykstrom/jcc/common/ast/AbstractJumpStatement.java | Java | gpl-3.0 | 1,652 |
class Block {
constructor(x, y, width, colour) {
this.x = x;
this.y = y;
this.width = width;
this.colour = colour;
this.occupied = false;
}
draw() {
fill(this.colour);
rect(this.x, this.y, this.width, this.width);
}
}
| DanielGilchrist/p5.js-snake | classes/block.js | JavaScript | gpl-3.0 | 255 |
/*
* Copyright (C) 2012 MineStar.de
*
* This file is part of Contao.
*
* Contao 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.
*
* Contao is distributed in the ... | Minestar/Contao | src/main/java/de/minestar/contao/manager/PlayerManager.java | Java | gpl-3.0 | 3,520 |
package org.grovecity.drizzlesms.jobs.requirements;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.content.IntentFilter;
import org.grovecity.drizzlesms.service.KeyCachingService;
import org.whispersystems.jobqueue.requirements.RequirementListen... | DrizzleSuite/DrizzleSMS | src/org/grovecity/drizzlesms/jobs/requirements/MasterSecretRequirementProvider.java | Java | gpl-3.0 | 1,144 |
/*
* Copyright (C) 2017 Josua Frank
*
* 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 distri... | Sharknoon/dfMASTER | dfMASTER/src/main/java/dfmaster/general/AData.java | Java | gpl-3.0 | 1,113 |
<?php
namespace EasyAjax;
/**
* EasyAjax\FrontInterface interface
*
* @package EasyAjax
* @author Giuseppe Mazzapica
*
*/
interface FrontInterface {
/**
* Check the request for valid EasyAjax
*
* @return bool true if current request is a valid EasyAjax ajax request
* @access public
... | Giuseppe-Mazzapica/EasyAjax | src/EasyAjax/FrontInterface.php | PHP | gpl-3.0 | 915 |
package io.valhala.javamon.pokemon.skeleton;
import io.valhala.javamon.pokemon.Pokemon;
import io.valhala.javamon.pokemon.type.Type;
public abstract class Paras extends Pokemon {
public Paras() {
super("Paras", 35, 70, 55, 25, 55, true, 46,Type.BUG,Type.GRASS);
// TODO Auto-generated constructor stub
}
}
| mirgantrophy/Pokemon | src/io/valhala/javamon/pokemon/skeleton/Paras.java | Java | gpl-3.0 | 316 |
define(['backbone', 'underscore'], function (Backbone, _) {
return Backbone.Model.extend({
idAttribute: 'username',
defaults: {
persona: {
personaPnombre: '',
personaSnombre: '',
personaApaterno: '',
personaAmaterno: '',
dni: ''
}
},
validate: function (attrs, options) {
console.lo... | jaxkodex/edu-stat | src/main/webapp/resources/js/app/models/docente-model.js | JavaScript | gpl-3.0 | 1,442 |
package de.unikiel.inf.comsys.neo4j.inference.sail;
/*
* #%L
* neo4j-sparql-extension
* %%
* Copyright (C) 2014 Niclas Hoyer
* %%
* 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... | niclashoyer/neo4j-sparql-extension | src/main/java/de/unikiel/inf/comsys/neo4j/inference/sail/SailBooleanExprQuery.java | Java | gpl-3.0 | 1,670 |
require 'spec_helper'
describe SessionsController do
render_views
context "#create" do
it "should redirect to patterns path if user is authenticated"
it "should redirect to new_user if user doesn't exist"
it "should redirect to new_user if password is incorrect"
end
end | feministy/appy | spec/controllers/sessions_spec.rb | Ruby | gpl-3.0 | 290 |
#include <math.h>
#include <stdlib.h>
#include "camp_judge.h"
#include "game_event.h"
#include "monster_ai.h"
#include "monster_manager.h"
#include "path_algorithm.h"
#include "player_manager.h"
#include "time_helper.h"
#include "partner.h"
#include "check_range.h"
#include "cached_hit_effect.h"
#include "count_skill_d... | tsdfsetatata/xserver | Server/game_srv/so_game_srv/partner_ai_1.cpp | C++ | gpl-3.0 | 5,862 |
package fi.metatavu.edelphi.jsons.queries;
import java.util.Locale;
import fi.metatavu.edelphi.smvcj.SmvcRuntimeException;
import fi.metatavu.edelphi.smvcj.controllers.JSONRequestContext;
import fi.metatavu.edelphi.DelfoiActionName;
import fi.metatavu.edelphi.EdelfoiStatusCode;
import fi.metatavu.edelphi.dao.querydat... | Metatavu/edelphi | edelphi/src/main/java/fi/metatavu/edelphi/jsons/queries/SaveQueryAnswersJSONRequestController.java | Java | gpl-3.0 | 3,237 |
package org.craftercms.studio.api.dto;
public class UserTest {
public void testGetUserId() throws Exception {
}
public void testSetUserId() throws Exception {
}
public void testGetPassword() throws Exception {
}
public void testSetPassword() throws Exception {
}
}
| craftercms/studio3 | api/src/test/java/org/craftercms/studio/api/dto/UserTest.java | Java | gpl-3.0 | 305 |
/***********************************************************************
This file is part of KEEL-software, the Data Mining tool for regression,
classification, clustering, pattern mining and so on.
Copyright (C) 2004-2010
F. Herrera (herrera@decsai.ugr.es)
L. Sánchez (luciano@uniovi.es)
J. Alcalá-F... | SCI2SUGR/KEEL | src/keel/Algorithms/Genetic_Rule_Learning/RMini/Main.java | Java | gpl-3.0 | 2,637 |
import { Component } from '@angular/core'
@Component({
selector: 'gallery',
templateUrl: 'app/home/gallery.component.html'
})
export class GalleryComponent {
} | PoojaM0267/BTMVDemo | BTMV_ng2/app/home/gallery.component.ts | TypeScript | gpl-3.0 | 172 |
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 1991-2010 OpenCFD Ltd.
\\/ M anipulation |
---------------... | themiwi/freefoam-debian | src/OpenFOAM/meshes/polyMesh/globalMeshData/globalPoints.H | C++ | gpl-3.0 | 8,920 |
// Copyright 2015, 2016 Ethcore (UK) Ltd.
// This file is part of Parity.
// Parity 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.... | pdaian/parity | js/src/ui/ParityBackground/parityBackground.js | JavaScript | gpl-3.0 | 1,825 |
/**
* Piwik - free/libre analytics platform
*
* @link http://piwik.org
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
*/
(function ($, require) {
var exports = require('piwik/UI');
/**
* Creates a new notifications.
*
* Example:
* var UI = require('piwik/UI');
... | piwik/piwik | plugins/CoreHome/javascripts/notification.js | JavaScript | gpl-3.0 | 7,980 |
PREP(initCBASettings);
PREP(postInit); | Jamesadamar/OPT | [J]OPT.Altis/uav/XEH_PREP.hpp | C++ | gpl-3.0 | 39 |
/*
* Jinx is Copyright 2010-2020 by Jeremy Brooks and Contributors
*
* Jinx 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.
*
*... | jeremybrooks/jinx | src/main/java/net/jeremybrooks/jinx/api/PhotosNotesApi.java | Java | gpl-3.0 | 5,049 |
<?php
/**
* PHPUnit
*
* Copyright (c) 2002-2009, Sebastian Bergmann <sb@sebastian-bergmann.de>.
* 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 so... | manusis/dblite | test/lib/phpunit/PHPUnit/Framework/MockObject/Matcher/Parameters.php | PHP | gpl-3.0 | 5,341 |
<?php
/**
*
* @version 1.0.9 June 24, 2016
* @package Get Bible API
* @author Llewellyn van der Merwe <llewellyn@vdm.io>
* @copyright Copyright (C) 2013 Vast Development Method <http://www.vdm.io>
* @license GNU General Public License <http://www.gnu.org/copyleft/gpl.html>
*
**/
defined( '_JEXEC' ) ... | getbible/Joomla-3-Component | admin/models/import.php | PHP | gpl-3.0 | 27,659 |
package de.jotschi.geo.osm.tags;
import org.w3c.dom.Node;
public class OsmMember {
String type, ref, role;
public OsmMember(Node node) {
ref = node.getAttributes().getNamedItem("ref").getNodeValue();
role = node.getAttributes().getNamedItem("role").getNodeValue();
type = node.getAttributes().getNamedItem("t... | Jotschi/libTinyOSM | src/main/java/de/jotschi/geo/osm/tags/OsmMember.java | Java | gpl-3.0 | 490 |
/*********************
* bio_tune_menu.cpp *
*********************/
/****************************************************************************
* Written By Mark Pelletier 2017 - Aleph Objects, Inc. *
* Written By Marcio Teixeira 2018 - Aleph Objects, Inc. *
* ... | tetious/Marlin | Marlin/src/lcd/extui/lib/ftdi_eve_touch_ui/screens/bio_tune_menu.cpp | C++ | gpl-3.0 | 3,525 |
/*
* Copyright (C) 2006-2010 - Frictional Games
*
* This file is part of HPL1 Engine.
*
* HPL1 Engine 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 opti... | FrictionalGames/HPL1Engine | sources/scene/Entity3D.cpp | C++ | gpl-3.0 | 11,350 |
from feeluown.utils.dispatch import Signal
from feeluown.gui.widgets.my_music import MyMusicModel
class MyMusicItem(object):
def __init__(self, text):
self.text = text
self.clicked = Signal()
class MyMusicUiManager:
"""
.. note::
目前,我们用数组的数据结构来保存 items,只提供 add_item 和 clear 方法。
... | cosven/FeelUOwn | feeluown/gui/uimodels/my_music.py | Python | gpl-3.0 | 980 |
(function() {
var app = angular.module('article-directive', ['ui.bootstrap.contextMenu']);
app.config(function($sceProvider) {
// Completely disable SCE. For demonstration purposes only!
// Do not use in new projects.
$sceProvider.enabled(false);
});
app.directive('article', function () {
var c... | lowdev/Article-Annotater | src/main/resources/static/article/angular-article-directive.js | JavaScript | gpl-3.0 | 1,330 |
/*******************************************************************************
* This file is part of RedReader.
*
* RedReader 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 Lic... | QuantumBadger/RedReader | src/main/java/org/quantumbadger/redreader/io/UpdatedVersionListenerNotifier.java | Java | gpl-3.0 | 1,255 |
<?php
/**
* Copyright 2013 Android Holo Colors by Jérôme Van Der Linden
* Copyright 2010 Android Asset Studio by Google Inc
*
* 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:/... | Medialoha/MAB-LAB | libs/asset-studio-colors/widgets/fastscroll/fastscroll.php | PHP | gpl-3.0 | 1,370 |
/*
* This file is protected by Copyright. Please refer to the COPYRIGHT file
* distributed with this source distribution.
*
* This file is part of GNUHAWK.
*
* GNUHAWK is free software: you can redistribute it and/or modify is under the
* terms of the GNU General Public License as published by the Free Softwa... | RedhawkSDR/integration-gnuhawk | components/streams_to_stream_ff_1i/cpp/streams_to_stream_ff_1i_base.cpp | C++ | gpl-3.0 | 31,922 |
/*
Copyright (C) 2014 PencilBlue, LLC
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... | shihokoui/pencilblue | plugins/pencilblue/controllers/admin/content/topics/manage_topics.js | JavaScript | gpl-3.0 | 2,715 |
/* Copyright David Strachan Buchan 2013
* This file is part of BounceBallGame.
BounceBallGame 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 late... | davidsbuchan/BounceBallGame | src/uk/co/ashndave/KeepyUppy.java | Java | gpl-3.0 | 2,378 |
<?php
namespace spf\swoole\worker;
interface IWebSocketWorker {
public function onStart($server, $workerId);
public function onShutdown($server, $workerId);
public function onTask($server, $taskId, $fromId, $data);
public function onFinish($server, $taskId, $data);
public function onOpen($serv... | zhangjunlei26/spf | vendor/spf/swoole/worker/IWebSocketWorker.php | PHP | gpl-3.0 | 419 |
//
// UDPConnection.hpp for server in /home/galibe_s/rendu/Spider/server/core
//
// Made by stephane galibert
// Login <galibe_s@epitech.net>
//
// Started on Sun Nov 6 17:00:50 2016 stephane galibert
// Last update Thu Nov 10 12:34:21 2016 stephane galibert
//
#pragma once
#include <iostream>
#include <string>
#... | Stephouuu/Spider | server/core/UDPConnection.hpp | C++ | gpl-3.0 | 1,378 |
<?php
/*
* Central de conhecimento FEJESP
* Contato: ti@fejesp.org.br
* Autor: Guilherme de Oliveira Souza (http://sitegui.com.br)
* Data: 07/08/2013
*/
// Retorna a árvore inicial para um dado caminho
$caminho = @$_GET['caminho'];
$pastas = preg_split('@/@', $caminho, -1, PREG_SPLIT_NO_EMPTY);
$arvore = array('' ... | fejesp/centralConhecimento | ajax/getArvoreInicial.php | PHP | gpl-3.0 | 1,039 |
function print_last_modif_date(v) {
document.write("Last updated " + v.substr(7, 19));
}
| francois-a/fastqtl | doc/script/print_last_modif_date.js | JavaScript | gpl-3.0 | 89 |
/*
* 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 ma... | Niky4000/UsefulUtils | projects/ssh/apache_mina/apache-sshd-1.2.0/sshd-core/src/main/java/org/apache/sshd/common/SyspropsMapWrapper.java | Java | gpl-3.0 | 6,908 |
package com.baeldung.jhipster5.web.rest;
import com.baeldung.jhipster5.BookstoreApp;
import com.baeldung.jhipster5.config.Constants;
import com.baeldung.jhipster5.domain.Authority;
import com.baeldung.jhipster5.domain.User;
import com.baeldung.jhipster5.repository.AuthorityRepository;
import com.baeldung.jhipster5.rep... | Niky4000/UsefulUtils | projects/tutorials-master/tutorials-master/jhipster-5/bookstore-monolith/src/test/java/com/baeldung/jhipster5/web/rest/AccountResourceIntTest.java | Java | gpl-3.0 | 34,406 |
import { defineMessages } from 'react-intl';
export default defineMessages({
save: {
id: 'cboard.components.FormDialog.save',
defaultMessage: 'Save'
},
cancel: {
id: 'cboard.components.FormDialog.cancel',
defaultMessage: 'Cancel'
}
});
| shayc/cboard | src/components/UI/FormDialog/FormDialog.messages.js | JavaScript | gpl-3.0 | 261 |
<?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... | jrchamp/moodle | backup/moodle2/restore_stepslib.php | PHP | gpl-3.0 | 202,518 |
/*
* 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 xmv.solutions.IT2JZ.Jira;
/**
*
* @author David Koller XMV Solutions GmbH
*/
public class JiraTestcaseStep {
/**
* Name... | XMV-Solutions/ImportTestcases2JiraZephyr | src/main/java/xmv/solutions/IT2JZ/Jira/JiraTestcaseStep.java | Java | gpl-3.0 | 1,034 |
/*
package de.elxala.langutil
(c) Copyright 2006 Alejandro Xalabarder Aulet
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.
Th... | wakeupthecat/gastona | pc/src/de/elxala/Eva/layout/EvaLayout.java | Java | gpl-3.0 | 36,814 |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (C) 2008-2013 by
# Erwin Marsi and Tilburg University
# This file is part of the Pycornetto package.
# Pycornetto 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... | emsrc/pycornetto | bin/cornetto-client.py | Python | gpl-3.0 | 6,265 |
package tempconv
// CToF converts a Celsius temperature to Fahrenheit
func CToF(c Celsius) Fahrenheit {
return Fahrenheit(c * 9 / 5 + 32)
}
// FToC converts s Fahrenheit temperature to Celsius
func FToC(f Fahrenheit) Celsius {
return Celsius((f - 32) * 5 / 9)
}
| ptdecker/gobasics | src/ch02/tempconv/conv.go | GO | gpl-3.0 | 273 |
const { nativeImage } = require('electron')
const { resolve } = require('path')
exports.size16 = nativeImage.createFromPath(resolve(__dirname, '../icon16.png'))
exports.size16.setTemplateImage(true)
| Gerhut/Meibo | lib/icon.js | JavaScript | gpl-3.0 | 201 |
package yio.tro.antiyoy.menu.customizable_list;
import com.badlogic.gdx.graphics.g2d.BitmapFont;
import yio.tro.antiyoy.gameplay.diplomacy.DiplomaticEntity;
import yio.tro.antiyoy.menu.render.AbstractRenderCustomListItem;
import yio.tro.antiyoy.menu.render.MenuRender;
import yio.tro.antiyoy.menu.scenes.Scenes;
import ... | yiotro/Antiyoy | core/src/yio/tro/antiyoy/menu/customizable_list/SimpleDipEntityItem.java | Java | gpl-3.0 | 1,380 |
// ==++==
//
// Copyright (C) 2019 Matthias Fussenegger
//
// 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.
//
// T... | turbolocust/SimpleZIP | SimpleZIP_UI/Presentation/View/Model/MessageDigestModel.cs | C# | gpl-3.0 | 2,339 |
package standalone_tools;
import java.io.File;
import java.util.HashMap;
import java.util.Map;
import java.util.Set;
import framework.DataQuery;
import framework.DiffComplexDetector;
import framework.DiffComplexDetector.SPEnrichment;
import framework.DiffSeedCombDetector;
import framework.QuantDACOResultSet;
import f... | edeltoaster/jdaco_dev | jdaco_dev/src/standalone_tools/CompleXChange.java | Java | gpl-3.0 | 12,876 |
// black-box testing
package router_test
import (
"testing"
"github.com/kataras/iris"
"github.com/kataras/iris/context"
"github.com/kataras/iris/core/router"
"github.com/kataras/iris/httptest"
)
type testController struct {
router.Controller
}
var writeMethod = func(c router.Controller) {
c.Ctx.Writef(c.Ctx... | EriconYu/stocksniper | src/vendor/github.com/kataras/iris/core/router/controller_test.go | GO | gpl-3.0 | 3,581 |
/*
* Geopaparazzi - Digital field mapping on Android based devices
* Copyright (C) 2016 HydroloGIS (www.hydrologis.com)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 ... | geopaparazzi/geopaparazzi | geopaparazzi_library/src/main/java/eu/geopaparazzi/library/profiles/objects/ProfileOtherfiles.java | Java | gpl-3.0 | 2,473 |
#from moderation import moderation
#from .models import SuccessCase
#moderation.register(SuccessCase)
| djangobrasil/djangobrasil.org | src/djangobrasil/success_cases/moderator.py | Python | gpl-3.0 | 104 |
document.addEventListener("DOMContentLoaded", function(event) {
if (/android|blackberry|iPhone|iPad|iPod|webOS/i.test(navigator.userAgent) === false) {
var linkDescrs = document.querySelectorAll('.link-descr');
Array.prototype.forEach.call(linkDescrs, function(el, i) {
el.parentNode.addEventListener('mouseenter... | thedanielgray/thedanielgray.github.io | js/gray.js | JavaScript | gpl-3.0 | 2,070 |
package de.turnierverwaltung.control.settingsdialog;
import java.awt.Dialog;
import java.awt.Font;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.io.File;
import java.sql.SQLException;
import javax.swing.JDialog;
import javax.swing.JFileChooser;
import javax.swing.JOptionPane;
im... | mars7105/JKLubTV | src/de/turnierverwaltung/control/settingsdialog/ActionListenerSettingsControl.java | Java | gpl-3.0 | 18,976 |
namespace Ribbonizer.Ribbon
{
using System.Collections.Generic;
using System.Linq;
using Ribbonizer.Ribbon.DefinitionValidation;
using Ribbonizer.Ribbon.Tabs;
internal class RibbonInitializer : IRibbonInitializer
{
private readonly IEnumerable<IRibbonDefinitionValidator> definitionVal... | BrunoJuchli/RibbonizerSample | Ribbonizer/Ribbon/RibbonInitializer.cs | C# | gpl-3.0 | 1,152 |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (c) 2015 Satpy developers
#
# This file is part of satpy.
#
# satpy 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... | pytroll/satpy | utils/fetch_avhrr_calcoeffs.py | Python | gpl-3.0 | 4,773 |
<?php
/**
* Belgian Scouting Web Platform
* Copyright (C) 2014 Julien Dupuis
*
* This code is licensed under the GNU General Public License.
*
* This is free software, and you are welcome to redistribute it
* under under the terms of the GNU General Public License.
*
* It is distributed without any warrant... | juldup/scouting-web-platform | app/models/Privilege.php | PHP | gpl-3.0 | 11,158 |
<?php
/**
* WES WebExploitScan Web GPLv4 http://github.com/libre/webexploitscan
*
* The PHP page that serves all page requests on WebExploitScan installation.
*
* The routines here dispatch control to the appropriate handler, which then
* prints the appropriate page.
*
* All WebExploitScan code is released unde... | libre/webexploitscan | wes/data/rules/fullscan/10092019-MS-PHP-Antimalware-Scanner-2155-malware_signature.php | PHP | gpl-3.0 | 1,524 |
#define TYPEDEPARGS 0, 1, 2, 3
#define SINGLEARGS
#define REALARGS
#define OCTFILENAME comp_ufilterbankheapint // change to filename
#define OCTFILEHELP "This function calls the C-library\n\
phase=comp_ufilterbankheapint(s,tgrad,fgrad,cfreq,a,do_real,tol,phasetype)\n Yeah."
#include "ltfat_oct_temp... | ltfat/ltfat | oct/comp_ufilterbankheapint.cc | C++ | gpl-3.0 | 2,458 |