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
#include <epoxy/gl.h> #include "../asset_manager.h" #include "../common.h" #include "../ship_space.h" #include "../mesh.h" #include "../player.h" #include "tools.h" extern GLuint overlay_shader; extern GLuint simple_shader; extern ship_space *ship; extern asset_manager asset_man; extern mesh_data const * mesh_for...
engineers-nightmare/engineers-nightmare
src/tools/remove_block.cc
C++
gpl-3.0
1,912
@extends('main') @section('title', 'My Requests') @section('stylesheets') <link rel="stylesheet" href="/css/author.css"> @stop @section('content') <!-- Wrapper --> <div id="wrapper"> <!-- Main --> <div id="main"> <!-- Show All Advice --> <section id="answer" class="main special"> <header class="major">...
jia1/addvise
resources/views/needAddvise_me.blade.php
PHP
gpl-3.0
2,064
class LogisticRegression(): def __init__(self, input_size, output_size): self.W = np.random.uniform(size=(input_size, output_size), high=0.1, low=-0.1) self.b = np.random.uniform(size=output_size, high=0.1, low=-0.1) self...
wikistat/Apprentissage
BackPropagation/solutions/lr_class.py
Python
gpl-3.0
1,424
# -*- coding: utf-8 -*- # Generated by Django 1.9 on 2015-12-14 14:30 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('barbadosdb', '0007_club_users'), ] operations = [ migrations.RenameField( ...
codento/barbados
barbados/barbadosdb/migrations/0008_club_users2.py
Python
gpl-3.0
415
<?php /** * Created by PhpStorm. * User: sizov * Date: 7/23/14 * Time: 7:49 PM */ include 'install/checkconf.php'; $ldap_server = $LdapIp; $domain = $DomainPrefix; function ldapAuth($ldap_server, $login, $password) { $ldapConn = ldap_connect( $ldap_server ) or die("can't connect to l...
SpecialForce3331/sldap
web/views/auth.php
PHP
gpl-3.0
2,551
package br.net.fabiozumbi12.pixelvip.bukkit; import br.net.fabiozumbi12.pixelvip.bukkit.bungee.SpigotText; import org.bukkit.Bukkit; import org.bukkit.command.CommandSender; import org.bukkit.entity.Player; import java.security.SecureRandom; import java.text.SimpleDateFormat; import java.util.*; import java.util.conc...
FabioZumbi12/PixelVip
PixelVip-Spigot/src/main/java/br/net/fabiozumbi12/pixelvip/bukkit/PVUtil.java
Java
gpl-3.0
6,402
// This library re-implements setTimeout, setInterval, clearTimeout, clearInterval for iOS6. // iOS6 suffers from a bug that kills timers that are created while a page is scrolling. // This library fixes that problem by recreating timers after scrolling finishes (with interval correction). // This code is free to use b...
Karplyak/avtomag.url.ph
axZm/plugins/ios6TimersFix.js
JavaScript
gpl-3.0
2,999
<?php /** * Qhebunel * User profile (settings) page * This page should be used instead of the WP admin dashboard for readers * to change their settings. * * This page is displayed when a handler runs into an error. */ if (!defined('QHEBUNEL_REQUEST') || QHEBUNEL_REQUEST !== true) die; global $sectio...
attilawagner/qhebunel
pages/profileedit.php
PHP
gpl-3.0
5,850
<?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...
dixidix/simulacion
extras/moodledata/lang/es/qtype_ddimageortext.php
PHP
gpl-3.0
1,223
from argparse import ArgumentParser, ArgumentTypeError from locale import getdefaultlocale from multiprocessing import Pool from contextlib import redirect_stdout from io import StringIO from zdict import constants, utils, easter_eggs from zdict.api import dump from zdict.completer import DictCompleter from zdict.load...
zdict/zdict
zdict/zdict.py
Python
gpl-3.0
8,711
package edu.uiuc.zenvisage.zqlcomplete.executor; import java.util.ArrayList; import java.util.List; public class ZColumn { private String variable; private String attribute; //put z here private List<String> values; private String expression; private boolean aggregate; // after executing expression, implement...
zenvisage/zenvisage
src/main/java/edu/uiuc/zenvisage/zqlcomplete/executor/ZColumn.java
Java
gpl-3.0
1,296
/**========================================================= * Module: SupportService.js * Checks for features supports on browser =========================================================*/ /*jshint -W069*/ (function() { 'use strict'; angular .module('naut') .service('support', se...
rdemorais/ecar-spa
pe-spa/src/js/modules/common/services/support.service.js
JavaScript
gpl-3.0
2,683
# Generated by Django 2.0.9 on 2019-01-25 03:02 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('base', '0009_auto_20170824_0722'), ] operations = [ migrations.AlterField( model_name='alphagramtag', name='tag', ...
domino14/Webolith
djAerolith/base/migrations/0010_auto_20190124_1902.py
Python
gpl-3.0
488
# Authors: # Jason Gerard DeRose <jderose@redhat.com> # # Copyright (C) 2008 Red Hat # see file 'COPYING' for use and warranty information # # 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, ei...
cluck/freeipa
ipatests/test_ipalib/test_crud.py
Python
gpl-3.0
7,084
<?php /* * GraPHPizer source code analytics engine (cli component) * Copyright (C) 2015 Martin Helmich <kontakt@martin-helmich.de> * * 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...
martin-helmich/graphpizer-cli
src/Persistence/Op/MergeNode.php
PHP
gpl-3.0
2,735
<a href="?page=<?=$page?>&cate=<?=$cate?>"> <button type="button" class="btn btn-default" ><i class="fa fa-arrow-left"></i> Back to Testimonial List</button> </a> <br><br> <header class="widget-header"> <a href="?page=<?=$page?>&cate=<?=$cate?>"> <button type="button" class="close">&times;</button> </a> <h4 clas...
brandonccy/SmartNano
admincp/modules/pages/about-us/includes/action/editTestimonial.php
PHP
gpl-3.0
1,979
/* Generated By:JavaCC: Do not edit this line. ParseException.java Version 5.0 */ /* JavaCCOptions:KEEP_LINE_COL=null */ package de.fuberlin.csw.aspectowl.parser; /** * This exception is thrown when parse errors are encountered. * You can explicitly create objects of this exception type by * calling the method gene...
ag-csw/aspect-owl-protege
src/main/java/de/fuberlin/csw/aspectowl/parser/ParseException.java
Java
gpl-3.0
6,190
/** * Copyright (C) 2001-2016 by RapidMiner and the contributors * * Complete list of developers available at our web site: * * http://rapidminer.com * * This program is free software: you can redistribute it and/or modify it under the terms of the * GNU Affero General Public License as published by the...
transwarpio/rapidminer
rapidMiner/rapidminer-studio-core/src/main/java/com/rapidminer/operator/execution/UnitExecutor.java
Java
gpl-3.0
1,306
package com.fuav.android.view.checklist.row; import com.fuav.android.R; import com.fuav.android.view.checklist.CheckListItem; import android.view.LayoutInflater; import android.view.View; import android.view.View.OnFocusChangeListener; import android.view.ViewGroup; import android.widget.EditText; public ...
forgodsake/TowerPlus
Android/src/com/fuav/android/view/checklist/row/ListRow_Note.java
Java
gpl-3.0
1,912
// Code generated by entc, DO NOT EDIT. package ent import ( "context" "errors" "fmt" "entgo.io/ent/dialect/sql/sqlgraph" "entgo.io/ent/schema/field" "github.com/gen0cide/laforge/ent/ginfilemiddleware" "github.com/gen0cide/laforge/ent/provisionedhost" "github.com/gen0cide/laforge/ent/provisioningstep" "gith...
gen0cide/laforge
ent/ginfilemiddleware_create.go
GO
gpl-3.0
11,377
/** * junit-remote * * 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...
Tradeshift/junit-remote
src/main/java/com/tradeshift/test/remote/internal/RedirectingStream.java
Java
gpl-3.0
1,372
/* This file is part of the db4o object database http://www.db4o.com Copyright (C) 2004 - 2011 Versant Corporation http://www.versant.com db4o is free software; you can redistribute it and/or modify it under the terms of version 3 of the GNU General Public License as published by the Free Software Foundation. db4o ...
potty-dzmeia/db4o
src/db4oj.tests/src/com/db4o/db4ounit/common/assorted/TransientCloneTestCase.java
Java
gpl-3.0
3,796
/* * This file is part of Applied Energistics 2. * Copyright (c) 2013 - 2015, AlgorithmX2, All rights reserved. * * Applied Energistics 2 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 ver...
itachi1706/Applied-Energistics-2
src/main/java/appeng/server/subcommands/ChunkLogger.java
Java
gpl-3.0
2,932
#include "code_generator_widget.h" #include <iostream> #include <fstream> #include <map> #include <string> CodeGeneratorWidget::CodeGeneratorWidget(QWidget *parent, Qt::WindowFlags f) : QDialog(parent,f) { setupUi(this); code_hl=new SyntaxHighlighter(code_txt); code_hl->loadConfiguration(GlobalAttributes...
campisano/pgmodeler
plugins/code_generator/src/code_generator_widget.cpp
C++
gpl-3.0
2,090
/** * ----------------------------------------------------------------------------- * @package smartVISU * @author Martin Gleiß * @copyright 2012 - 2015 * @license GPL [http://www.gnu.de] * ----------------------------------------------------------------------------- */ /** * Class for controll...
lbernau/smartVISU-deprecated
driver/io_smarthome.py.js
JavaScript
gpl-3.0
5,820
/* Copyright 2012 James Edwards This file is part of Jhrome. Jhrome is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. Jhrome is distr...
DJVUpp/Desktop
djuvpp-djvureader-_linux-f9cd57d25c2f/DjVuReader++/src/com/newgroup/tabs/event/TabAddedEvent.java
Java
gpl-3.0
1,427
# -*- coding: utf-8 -*- # # This file is execfile()d with the current directory set to its # containing dir. # # 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 json ...
malept/gmusicprocurator
docs/conf.py
Python
gpl-3.0
12,282
#!python3 import os import sys import fnmatch import re import shutil import subprocess PYTEST = "pytest" FLAKE8 = "flake8" BLACK = "black" BLACK_FLAGS = ["-l", "79"] PYGETTEXT = os.path.join(sys.base_prefix, "tools", "i18n", "pygettext.py") INCLUDE_PATTERNS = {"*.py"} EXCLUDE_PATTERNS = { "build/*", "docs/*"...
mu-editor/mu
make.py
Python
gpl-3.0
12,681
<?php // declare(encoding='UTF-8'); /** * Classe Registre, qui permet un accès à différentes variables et paramètres à travers les autres classes. * C'est un remplaçant à la variable magique $_GLOBALS de Php. * C'est un singleton. * Si vous voulez paramètré votre application via un fichier de configuration, utilise...
jpmilcent/depim
server/framework/Registre.php
PHP
gpl-3.0
2,499
{ aboutMessage: "Über ProjecQtOr …", aboutMessageLocale: "Lokal", aboutMessageWebsite: "Webseite", AccessProfile: "Zugriffsprofile", accessProfileGlobalCreator: "Ersteller+", accessProfileGlobalManager: "Manager+", accessProfileGlobalReader: "Leser+", accessProfileGlobalUpdater: "Änderer+", accessProfileNoAccess: "Kein...
nikochan2k/projeqtor-ja
tool/i18n/nls/de/lang.js
JavaScript
gpl-3.0
84,654
<?php /** * * @package mahara * @subpackage dwoo * @author Catalyst IT Ltd * @author Jordi Boggiano <j.boggiano@seld.be> * @license http://www.gnu.org/copyleft/gpl.html GNU GPL version 3 or later * @copyright For copyright information on Mahara, please see the README file distributed with this sof...
MaharaProject/mahara
htdocs/lib/dwoo/mahara/Dwoo_Template_Mahara.php
PHP
gpl-3.0
4,089
/*---------------------------------------------------------------------------*\ ========= | \\ / F ield | foam-extend: Open Source CFD \\ / O peration | Version: 3.2 \\ / A nd | Web: http://www.foam-extend.org \\/ M anipulation | For ...
Unofficial-Extend-Project-Mirror/foam-extend-foam-extend-3.2
src/finiteArea/fields/faPatchFields/constraint/wedge/wedgeFaPatchField.C
C++
gpl-3.0
5,145
package rprogn.callables.stack; import rprogn.callables.Callable; import rprogn.functions.Scope; import rprogn.interpreter.Interpreter; import rprogn.variable.Var; import rprogn.variable.VarStack; public class CallablePush implements Callable { @Override public void Call(Interpreter interpreter, Scope scope) { V...
TehFlaminTaco/RProgN-2
source/src/rprogn/callables/stack/CallablePush.java
Java
gpl-3.0
641
/* * WANDORA * Knowledge Extraction, Management, and Publishing Application * http://wandora.org * * Copyright (C) 2004-2015 Wandora Team * * 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 Foundatio...
Anisorf/ENCODE
encode/src/org/wandora/application/server/WebAppHelper.java
Java
gpl-3.0
2,691
package domain.dao; import java.sql.Timestamp; import java.util.Date; import javax.persistence.ParameterMode; import javax.persistence.Query; import javax.persistence.StoredProcedureQuery; import org.hibernate.Session; import hibernate.HibernateConnection; /** * The Class DAOSimulator. */ public class DAOSimulat...
Maracars/POPBL5
src/domain/dao/DAOSimulator.java
Java
gpl-3.0
3,764
/**************************************************************************** ** Copyright (C) 2014-2017 Dream IP ** ** This file is part of GPStudio. ** ** GPStudio is a 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...
DreamIP/GPStudio
gui-tools/src/gpstudio_gui/viewer/viewerwidgets/pdfviewer.cpp
C++
gpl-3.0
1,292
# Generated by Django 2.0 on 2018-02-26 22:11 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('CreateYourLaws', '0012_codeblock_is_cdp'), ] operations = [ migrations.RenameField( model_name='codeblock', old_name='is_cdp',...
denisjul/democratos
democratos/CreateYourLaws/migrations/0013_auto_20180226_2211.py
Python
gpl-3.0
369
/** * @file mirror/pre_registered/default.hpp * @brief Pre-registration of the default set of namespace, types, * classes, etc. with Mirror * * Copyright 2008-2010 Matus Chochlik. Distributed under the Boost * Software License, Version 1.0. (See accompanying file * LICENSE_1_0.txt or copy at http://www.boost...
firestarter/firestarter
redist/mirror-lib/mirror/pre_registered/default.hpp
C++
gpl-3.0
1,508
/* Sqlmake http://code.google.com/p/sqlmake/ Copyright © 2010-2012 Mitja Golouh This file is part of Sqlmake. Sqlmake is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the...
danijelkavcic/sqlmake
src/SQLMakeTest/SQLPlusScannerDropStatementsTest.cs
C#
gpl-3.0
26,506
/* * This file is part of evQueue * * evQueue 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. * * evQueue is distributed in t...
anshumang/evqueue-core
evqueue.cpp
C++
gpl-3.0
10,552
/** * @file Session class. * @copyright 2014 Shipping Soon * @license GPLv3 * @see {@link https://github.com/shippingsoon/Synesthesia-Symphony} for sourcecode * @see {@link https://www.shippingsoon.com/synesthesia-symphony} for online demo */ import {IConfig, IGameData, ISession} from '../game/types'; import {in...
shippingsoon/Synesthesia-Symphony
system/session.ts
TypeScript
gpl-3.0
2,736
<? header('Content-Type: application/json; charset=utf-8'); require_once "MysqliDb.php"; $lat = $_GET['latitude']; // latitude of centre of bounding circle in degrees $lon = $_GET['longitude']; // longitude of centre of bounding circle in degrees $rad = $_GET['radius']; // radius of bounding circle in kilomet...
fabienric/geoservice-api
search.php
PHP
gpl-3.0
1,709
import json import socket import sys attackSocket = socket.socket() attackSocket.connect(('localhost', 8080)) attackSocket.send("{0}\r\n".format( json.dumps( {'membership': "full", 'channel': sys.argv[1], 'message': ' '.join(sys.argv[3:]), 'type': "start", 'which': sys.argv[2]} )).encode('utf-8')) attackSocket.clo...
randomrandomlol123/fewgewgewgewhg
sender.py
Python
gpl-3.0
325
/*---------------------------------------------------------------------------*\ ========= | \\ / F ield | foam-extend: Open Source CFD \\ / O peration | Version: 3.2 \\ / A nd | Web: http://www.foam-extend.org \\/ M anipulation | For ...
Unofficial-Extend-Project-Mirror/foam-extend-foam-extend-3.2
src/thermophysicalModels/pdfs/RosinRammler/RosinRammler.H
C++
gpl-3.0
2,909
/*---------------------------------------------------------------------------*\ ========= | \\ / F ield | foam-extend: Open Source CFD \\ / O peration | Version: 3.2 \\ / A nd | Web: http://www.foam-extend.org \\/ M anipulati...
Unofficial-Extend-Project-Mirror/foam-extend-foam-extend-3.2
src/foam/algorithms/polygon/pointInPolygon/HormannAgathos.H
C++
gpl-3.0
4,042
<?php function concat_exclamation($str) { $str .= "!"; print $str; } function concat_exclamation_to_each_value($arr) { foreach ($arr as $key => $value) { $arr[$key] = $value . "!"; } print_r($arr); } function concat_exclamation_to_name($obj) { $obj->newname .= "!"; print_r($obj); ...
themystic/php-demos
object-oriented-programming/passing-by-reference.php
PHP
gpl-3.0
2,344
<?php /* Copyright (C) 2015 FH Technikum-Wien * * 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 ...
FH-Complete/FHC-AddOn-Bewerbung
cronjobs/neu_registriert_job.php
PHP
gpl-3.0
10,904
/*===========================================================================*\ * * * OpenFlipper * * Copyright (C) 2001-2014 by Computer Graphics Group, RWTH Aachen * * ...
heartvalve/OpenFlipper
Plugin-Datacontrol/TreeModel.hh
C++
gpl-3.0
7,695
/* package de.elxala.zWidgets Copyright (C) 2005-2017 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...
wakeupthecat/gastona
pc/src/javaj/widgets/zImage.java
Java
gpl-3.0
9,717
/* * qZeb3D - calculating 3D-point-clouds from Georawfiles/Georohdaten of german ZEB * Copyright (C) 2016 Christoph Jung * * 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 ...
jagodki/qzeb3d
ZebData/Rawdata/track.cpp
C++
gpl-3.0
3,636
<?php /** * Zend Framework * * LICENSE * * This source file is subject to the new BSD license that is bundled * with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://framework.zend.com/license/new-bsd * If you did not receive a copy of the license an...
MailCleaner/MailCleaner
www/framework/Zend/Search/Lucene/Document/Exception.php
PHP
gpl-3.0
1,162
import os import unittest from vsg.rules import process from vsg import vhdlFile from vsg.tests import utils sTestDir = os.path.dirname(__file__) lFile, eError =vhdlFile.utils.read_vhdlfile(os.path.join(sTestDir,'rule_035_test_input.vhd')) lExpected = [] lExpected.append('') utils.read_file(os.path.join(sTestDir, ...
jeremiah-c-leary/vhdl-style-guide
vsg/tests/process/test_rule_035.py
Python
gpl-3.0
2,131
/* * Pixel Dungeon * Copyright (C) 2012-2015 Oleg Dolya * * Shattered Pixel Dungeon * Copyright (C) 2014-2021 Evan Debenham * * 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 vers...
00-Evan/shattered-pixel-dungeon
core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/Skeleton.java
Java
gpl-3.0
3,174
<?php use Phast\System; System::$Configuration["Database.ServerName"] = "localhost"; System::$Configuration["Database.UserName"] = "Sydne_Sullen"; System::$Configuration["Database.Password"] = "Hb+z.p)iF/}P.*aoIW6efA2.#"; System::$Configuration["Database.DatabaseName"] = "Sydne_SullenStudio"; System::$Co...
alcexhim/Sydne
PrivateWebsite/Include/Configuration.inc.php
PHP
gpl-3.0
604
import { Component, OnInit } from '@angular/core'; @Component({ selector: 'operaciones', templateUrl: './operaciones.component.html', styleUrls: ['./operaciones.component.css'] }) export class OperacionesComponent implements OnInit { constructor() { } ngOnInit(): void { } }
NetRevolutions/SICOTYC
SICOTYC/UI/src/app/sicotyc/operaciones/operaciones.component.ts
TypeScript
gpl-3.0
297
""" Indivo Model for VideoMessage """ from fact import Fact from django.db import models from django.conf import settings class VideoMessage(Fact): file_id=models.CharField(max_length=200) storage_type=models.CharField(max_length=200) subject=models.CharField(max_length=200) from_str=models.CharField(max_...
newmediamedicine/indivo_server_1_0
indivo/models/fact_objects/videomessage.py
Python
gpl-3.0
489
package de.danielluedecke.zettelkasten.database; public class Result { Document[] collection = new Document[0]; public Result() {} public Result(Document[]collection) { this.collection = collection; } public int getCount() {return collection.length;} public Document getItem(int i) {...
RalfBarkow/Zettelkasten
src/main/java/de/danielluedecke/zettelkasten/database/Result.java
Java
gpl-3.0
345
class HomeController < ApplicationController def index end def nice end end
tudor3084/percent2
app/controllers/home_controller.rb
Ruby
gpl-3.0
95
/************************************************************************** * Otter Browser: Web browser controlled by the user, not vice-versa. * Copyright (C) 2015 - 2016 Michal Dutkiewicz aka Emdek <michal@emdek.pl> * * This program is free software: you can redistribute it and/or modify * it under the terms of the ...
elebow/otter
src/ui/toolbars/BookmarkWidget.cpp
C++
gpl-3.0
4,719
package com.simplecity.amp_library.ui.modelviews; import android.support.annotation.Nullable; import android.text.TextUtils; import android.view.View; import android.view.ViewGroup; import android.widget.TextView; import butterknife.BindView; import butterknife.ButterKnife; import com.simplecity.amp_library.R; import ...
timusus/Shuttle
app/src/main/java/com/simplecity/amp_library/ui/modelviews/GenreView.java
Java
gpl-3.0
3,659
package worker import ( "context" "encoding/json" "errors" "fmt" "io" "net/http" "sync" "time" "github.com/docker/distribution/reference" dc "github.com/docker/docker/client" "github.com/ethereum/go-ethereum/common" log "github.com/noxiouz/zapctx/ctxlog" "github.com/opencontainers/go-digest" "github.com...
sonm-io/core
insonmnia/worker/whitelist.go
GO
gpl-3.0
3,863
<?php /** * flatCore Content Management System * Installer/Updater */ session_start(); error_reporting(E_ALL ^E_NOTICE); require '../config.php'; $modus = 'install'; define('INSTALLER', TRUE); if(isset($_GET['l']) && is_dir('../lib/lang/'.basename($_GET['l']).'/')) { $_SESSION['lang'] = basename($_GET['l']); }...
flatCore/flatCore-CMS
install/index.php
PHP
gpl-3.0
2,785
using System.Diagnostics; using System.ComponentModel; using System.IO; using System.Text; namespace System.IO.Ports { [MonitoringDescriptionAttribute("SerialPortDesc")] public class SerialPort : Component { public const int InfiniteTimeout = -1; [MonitoringDescriptionAttribute("Serial...
zebraxxl/CIL2Java
StdLibs/System/System/IO/Ports/SerialPort.cs
C#
gpl-3.0
11,104
/* * Created: 15.04.2012 * * Copyright (C) 2012 Victor Antonovich (v.antonovich@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 you...
3cky/bkemu-android
app/src/main/java/su/comp/bk/arch/cpu/opcode/CmpOpcode.java
Java
gpl-3.0
3,085
# -*- coding: utf-8 -*- # Copyright (C) 2007-2010 Toms Bauģis <toms.baugis at gmail.com> # This file is part of Project Hamster. # Project Hamster 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...
landonb/hamster-applet
src/hamster/widgets/dayline.py
Python
gpl-3.0
13,958
<?php /* Template Name: Proyectos */ get_header(); the_post(); ?> <div id="primary" class="content-area col-md-9 col-xs-12"> <div id="content" class="site-content col-xs-12"> <article id="post-<?php the_ID() ?>" <?php post_class() ?>> <header class="entry-header"> <h1 class="entry-title"><?php the_title(...
ETICAGNU/eticagnuwptheme
proyectos.php
PHP
gpl-3.0
1,313
<? namespace Module\Car\Offer\Admin { class Detail extends \System\Module { public function run() { $rq = $this->request; $res = $this->response; $ident = $this->req('ident'); $offer = \Car\Offer::get_first() ->where(array( 'ident' => $ident, 'visible' => true )) ->fetch(); ...
just-paja/improtresk-2015
lib/module/car/offer/admin/detail.php
PHP
gpl-3.0
1,186
/** * Copyright (C) 2011 Eric Huang * * This file is part of rectpack. * * rectpack is free software: you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later vers...
pupitetris/rectpack
src/ConflictBT.cc
C++
gpl-3.0
5,723
import simplejson import traceback import logging import os import requests from collections import OrderedDict from string import ascii_letters, digits ID = "nem" permission = 1 nem_logger = logging.getLogger("NEM_Tools") # Colour Constants for List and Multilist command COLOURPREFIX = unichr(3) COLOUREND = COLOUR...
NotEnoughMods/NotEnoughModPolling
NotEnoughMods_Tools.py
Python
gpl-3.0
19,543
def __load(): import imp, os, sys ext = 'pygame/imageext.so' for path in sys.path: if not path.endswith('lib-dynload'): continue ext_path = os.path.join(path, ext) if os.path.exists(ext_path): mod = imp.load_dynamic(__name__, ext_path) break e...
mokuki082/EggDrop
code/build/bdist.macosx-10.6-intel/python3.4-standalone/app/temp/pygame/imageext.py
Python
gpl-3.0
397
// // Copyright (c) 2014 richards-tech // // This file is part of VRWidgetLib // // VRWidgetLib 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...
robotage/SyntroApps
SyntroCommon/GL/VRWidgetLib/VRPlaneWidget.cpp
C++
gpl-3.0
2,597
/***************************************************************** * This file is part of Managing Agricultural Research for Learning & * Outcomes Platform (MARLO). * MARLO 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...
CCAFS/MARLO
marlo-data/src/main/java/org/cgiar/ccafs/marlo/data/dao/mysql/DeliverableUserPartnershipMySQLDAO.java
Java
gpl-3.0
4,091
package cuina.map; import cuina.database.KeyReference; import java.io.IOException; import java.io.ObjectInputStream; import java.io.ObjectOutputStream; import java.io.Serializable; import java.util.ArrayList; import java.util.List; /** * Rasterbasiertes Spielfeld mit Terraininformationen. * <p> * Enthält weitere ...
TheWhiteShadow3/cuina
CuinaEclipse/cuina.editor.map/src/cuina/map/Map.java
Java
gpl-3.0
2,507
class CreateIssues < ActiveRecord::Migration[4.2] def change create_table :issues do |t| t.references :user, null: false, index: true, foreign_key: true t.string :barcode, null: false t.text :message, null: false t.integer :resolver_id, index: true t.timestamp :resolved_at t.t...
ndlib/annex-ims
db/migrate/20150428155251_create_issues.rb
Ruby
gpl-3.0
418
using System; using EP.SOLID.DIP.Solucao.Interfaces; namespace EP.SOLID.DIP.Solucao { public class Cliente { private readonly ICPFServices _cpfServices; private readonly IEmailServices _emailServices; public Cliente( ICPFServices cpfServices, IEmailServices em...
CARLORION/PrincipiosSOLID
EP.SOLID/5 - DIP/DIP.Solucao/Cliente.cs
C#
gpl-3.0
794
# -*- coding: utf-8 -*- # Generated by Django 1.9 on 2017-02-01 20:16 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('djreceive', '0024_auto_20170131_1732'), ] operations = [ migrations.RemoveFiel...
rivasd/djPsych
djreceive/migrations/0025_auto_20170201_1516.py
Python
gpl-3.0
1,227
// Core functionality inspired by http://www.ghosthorses.co.uk/production-diary/super-simple-responsive-progress-bar/ jQuery(function($) { moveProgressBar(); $(window).resize(function() { moveProgressBar(); }); function moveProgressBar() { $('.rprogress-wrap').each(function(i, e) { var ge...
wp-plugins/responsive-progress-bar
assets/js/responsive-progressbar.js
JavaScript
gpl-3.0
642
#include <SFML/Window.hpp> #include <SFML/OpenGL.hpp> #include <stdio.h> #include <math.h> //CONSTANTS #define GL_PI (3.141592653f) //GLOBALS GLboolean g_vsync = false; GLboolean g_run = true; //WIN VARS (Start square) GLuint win_w = 600; GLuint win_h = 600; //LIMITS GLfloat limit = 100.0f; GLfloat rot_inc = ...
neptoess/opengl-superbible-fourth
ch03/Pointsz/src/main.cpp
C++
gpl-3.0
3,535
import Modal from '../../src/modal' import EventHandler from '../../src/dom/event-handler' import ScrollBarHelper from '../../src/util/scrollbar' /** Test helpers */ import { clearBodyAndDocument, clearFixture, createEvent, getFixture, jQueryMock } from '../helpers/fixture' describe('Modal', () => { let fixtureEl ...
kmcurry/3Scape
public/bower_components/bootstrap/js/tests/unit/modal.spec.js
JavaScript
gpl-3.0
35,285
/** * Dokuwiki Namespaced template java file * * @link https://www.dokuwiki.org/template:namespaced * @author Simon DELAGE <sdelage@gmail.com> * @license GPL 2 (https://www.gnu.org/licenses/gpl-2.0.html) * * Here comes java magic * * We handle several device classes based on browser width. * - desktop: ...
geekitude/dokuwiki-template-namespaced
script.js
JavaScript
gpl-3.0
4,265
const teams = [ { id: "sln", full: "St. Louis Cardinals", location: "St. Louis", nickname: "Cardinals", }, { id: "mil", full: "Milwaukee Brewers", location: "Milwaukee", nickname: "Brewers", }, { id: "atl", full: "Atlanta Braves", location: "Atlanta", nickname: "Braves", }, { id: "nyn...
Conrad2134/pitchfx
src/teams.js
JavaScript
gpl-3.0
2,914
"use strict"; const { BrowserWindow } = require("electron"); module.exports = (dirname, storage) => { let win; let init = () => { if (win === null || win === undefined) { createWindow(); } }; let createWindow = () => { const { screen } = require("electron"); ...
Toinane/colorpicker
src/browsers/support.js
JavaScript
gpl-3.0
950
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil -*- */ /** * Copyright (C) 2014-2015 University of Arizona. * * 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 ...
oascigil/trafficgen
src/ndn-traffic-client.cpp
C++
gpl-3.0
31,588
#!/usr/bin/env python # -*- coding: utf-8 -*- from __future__ import (absolute_import, division, print_function, unicode_literals) from future.builtins import * from unittest import TestCase __author__ = 'nicolas' import os class TestTauPyModel(TestCase): def test_create_taup_model(self):...
obspy/TauPy
taupy/tests/test_tauPyModel.py
Python
gpl-3.0
645
<?php defined('BASEPATH') OR exit('No direct script access allowed'); /** * View * @copyright (c) 2017, Davi Menezes (davimenezes.dvi@gmail.com) */ ?> <!-- Content Header (Page header) --> <section class="content-header"> <h1> Read Mail <small> https://bitbucket.org/DaviMenezes</small> </h1> <o...
DaviMenezes/DviCodeIgniter
application/views/examples/mailbox/read_mail.php
PHP
gpl-3.0
12,385
package edu.xjtu.wwh.rmi; import java.io.IOException; import java.net.MalformedURLException; import java.rmi.Naming; import java.rmi.NotBoundException; import java.rmi.RemoteException; import edu.xjtu.wwh.core.OperHDFS; import edu.xjtu.wwh.parameter.DefaultParameter; public class ThirdParty { public static void ma...
SteadyStill/rfid
src/edu/xjtu/wwh/rmi/ThirdParty.java
Java
gpl-3.0
1,997
<?php /* * Copyright 2014 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://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
ftisunpar/BlueTape
vendor/google/apiclient-services/src/Google/Service/YouTube.php
PHP
gpl-3.0
70,431
define(['backbone'], function(Backbone){ var Role = Backbone.Model.extend({ idAttribute: 'UID', url: '/api/role' }); var role = new Role(); role.fetch(); return role; });
gsmlg/oneblog
app/assets/javascript/app/role.js
JavaScript
gpl-3.0
207
# GNU Solfege - free ear training software # Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2011, # 2013 Tom Cato Amundsen # Copyright (C) 2013 Jan Baumgart (Folkwang Universitaet der Kuenste) # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU ...
RannyeriDev/Solfege
solfege/exercises/solmisation.py
Python
gpl-3.0
16,440
package org.cgiar.ccafs.marlo.data.model; // Generated May 17, 2017 3:36:29 PM by Hibernate Tools 4.3.1.Final /** * CustomParameter generated by hbm2java */ public class CustomParameter extends MarloAuditableEntity implements java.io.Serializable { /** * */ private static final long serialVersionUID = 9...
CCAFS/MARLO
marlo-data/src/main/java/org/cgiar/ccafs/marlo/data/model/CustomParameter.java
Java
gpl-3.0
1,703
# -*- coding: utf-8 -*- # Generated by Django 1.11.8 on 2018-02-15 11:53 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('sigad', '0033_auto_20180207_1028'), ] operations = [ migrations.AddField( ...
cmjatai/cmj
cmj/sigad/migrations/0034_auto_20180215_0953.py
Python
gpl-3.0
1,088
#region Copyright & License Information /* * Copyright 2007-2020 The OpenRA Developers (see AUTHORS) * This file is part of OpenRA, which is free software. It is made * available to you under the terms of the GNU General Public License * as published by the Free Software Foundation, either version 3 of * the Licen...
tysonliddell/OpenRA
OpenRA.Mods.Common/Traits/World/GameSaveViewportManager.cs
C#
gpl-3.0
2,338
/* * Copyright (C) 2016 Salvatore D'Angelo * This file is part of Mr Snake project. * This file derive from the Mr Nom project developed by Mario Zechner for the Beginning Android * Games book (chapter 6). * * Mr Snake is free software: you can redistribute it and/or modify * it under the terms of the GNU ...
sasadangelo/MrSnake
app/src/main/java/org/androidforfun/mrsnake/model/Snake.java
Java
gpl-3.0
7,705
"use strict"; var TransitionHookPhase; (function (TransitionHookPhase) { TransitionHookPhase[TransitionHookPhase["CREATE"] = 0] = "CREATE"; TransitionHookPhase[TransitionHookPhase["BEFORE"] = 1] = "BEFORE"; TransitionHookPhase[TransitionHookPhase["RUN"] = 2] = "RUN"; TransitionHookPhase[TransitionHookPh...
DigitalCookiesGroup/SWEDesigner
Front-End/node_modules/@uirouter/core/lib/transition/interface.js
JavaScript
gpl-3.0
852
<?php namespace Squareup; class Exception extends \Exception { const ERR_CODE_ACCESS_TOKEN_REVOKED = 'ACCESS_TOKEN_REVOKED'; const ERR_CODE_ACCESS_TOKEN_EXPIRED = 'ACCESS_TOKEN_EXPIRED'; private $config; private $log; private $language; private $errors; private $isCurlError; private ...
lucasjkr/opencommerce
system/library/squareup/exception.php
PHP
gpl-3.0
2,480
/** * Copyright Université Lyon 1 / Université Lyon 2 (2009,2010) * * <ithaca@liris.cnrs.fr> * * This file is part of Visu. * * This software is a computer program whose purpose is to provide an * enriched videoconference application. * * Visu is a free software subjected to a double license. * You can r...
ithaca/visu
VisuServeur/visu/src/com/lyon2/utils/UserAccountHelpers.java
Java
gpl-3.0
3,804
/* * Copyright (c) 2019. Bernard Bou <1313ou@gmail.com> */ package treebolic.glue.component; import android.content.Context; import android.content.res.Resources; import android.content.res.TypedArray; import android.graphics.Point; import android.graphics.Rect; import android.graphics.drawable.Drawable; import and...
1313ou/TreebolicLib
treebolicGlue/src/main/java/treebolic/glue/component/Utils.java
Java
gpl-3.0
5,780
class CreatePermissions < ActiveRecord::Migration def self.up create_table :permissions do |t| t.integer :role_id t.integer :user_id t.timestamps end end def self.down drop_table :permissions end end
alfrenovsky/Digesto
db/migrate/20110908115724_create_permissions.rb
Ruby
gpl-3.0
240
/* -*- mia-c++ -*- * * This file is part of MIA - a toolbox for medical image analysis * Copyright (c) Leipzig, Madrid 1999-2017 Gert Wollny * * MIA 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; eith...
gerddie/mia
src/2dsegment-local-cmeans.cc
C++
gpl-3.0
17,671
import Ember from 'ember'; import { module, test } from 'qunit'; import startApp from 'azureexplorer/tests/helpers/start-app'; module('Integration | Notifications', { afterEach: function() { Ember.run(this.application, 'destroy'); this.store = null; } }); test('Notifications show up for batch ...
ritazh/xplat
tests/acceptance/notification-test.js
JavaScript
gpl-3.0
1,845