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
'use strict'; const express = require('express'); const service = express(); var os = require('os'); var networkInterfaces = os.networkInterfaces(); module.exports = service; module.exports.networkInterfaces = networkInterfaces;
orhaneee/SlackBotHeroku
server/service.js
JavaScript
gpl-3.0
232
<?php /** * The template for displaying search results pages * * @link https://developer.wordpress.org/themes/basics/template-hierarchy/#search-result * * @package ibreatheart */ get_header(); ?> <section id="primary" class="content-area"> <main id="main" class="site-main" role="main"> <?php if ( have_p...
BracketMonks/hackathon-frontend
wordpress-project/ibreatheart-underscores/search.php
PHP
gpl-3.0
1,111
package bio.singa.simulation.model.modules; import bio.singa.simulation.entities.ChemicalEntity; import bio.singa.features.model.Evidence; import bio.singa.features.model.Feature; import bio.singa.simulation.model.modules.concentration.ModuleState; import bio.singa.simulation.model.simulation.Simulation; import java....
cleberecht/singa
singa-simulation/src/main/java/bio/singa/simulation/model/modules/UpdateModule.java
Java
gpl-3.0
906
import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.Arrays; import java.util.StringTokenizer; class Main{ public static class Agency { String name; int A, B; public Agency(String s) { StringTokenizer st=new StringTokenizer(s,":"); this.name=st.nextToken(); st=new StringTo...
PuzzlesLab/UVA
King/10670 Work Reduction.java
Java
gpl-3.0
1,957
/* * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it w...
waikato-datamining/adams-base
adams-core/src/main/java/adams/core/CleanUpHandler.java
Java
gpl-3.0
1,068
/* Copyright (C) 2012 Andrew Cotter 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 ...
maliq/issvm
svm_optimizer_classification_unbiased_perceptron.cpp
C++
gpl-3.0
6,718
<?php /** * Normatividad Torreón - ReglamentoArchivoMunicipal * * Copyright (C) 2017 Guillermo Valdés Lozano <guivaloz@movimientolibre.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundatio...
normatividadtorreon/normatividadtorreon.github.io
lib/ReglamentosVigentes/ReglamentoArchivoMunicipal.php
PHP
gpl-3.0
2,138
/************************* Coppermine Photo Gallery ************************ Copyright (c) 2003-2016 Coppermine Dev Team v1.0 originally written by Gregory DEMAR This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 3 as publishe...
CatBerg-TestOrg/coppermine
js/date.js
JavaScript
gpl-3.0
13,375
from biot import * # display_wires(N_wires=6, r_wires=r_wires) display_quiver() display_particles(mode_name="boris_exact", colormap="Blues") # display_particles(mode_name="RK4_exact", colormap="Reds") print("Finished display") mlab.show()
StanczakDominik/PythonBiotSavart
plot.py
Python
gpl-3.0
240
# This should hold main initialization logic puts "hello world"
benweissmann/rise
src/src/main.rb
Ruby
gpl-3.0
63
package info.jlibrarian.stringutils; /* Original source code (c) 2013 C. Ivan Cooper. Licensed under GPLv3, see file COPYING for terms. */ import java.util.Comparator; /** * Represents a comparable wildcard string, also contains static functions for comparing wildcard strings. * * A wildcard string is any String....
4levity/Conan
src/main/java/info/jlibrarian/stringutils/WildcardString.java
Java
gpl-3.0
3,562
<?php /** * acm : Algae Culture Management (https://github.com/singularfactory/ACM) * Copyright 2012, Singular Factory <info@singularfactory.com> * * This file is part of ACM * * ACM is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * ...
singularfactory/ACM
apps/frontend/modules/report/templates/_maintenance_pdf.php
PHP
gpl-3.0
3,157
package TFC.Handlers.Client; import org.lwjgl.opengl.GL11; import TFC.*; import TFC.Core.TFC_Core; import TFC.Core.TFC_Settings; import TFC.Core.TFC_Time; import TFC.Core.Player.PlayerInfo; import TFC.Core.Player.PlayerManagerTFC; import TFC.Items.*; import TFC.TileEntities.TileEntityWoodConstruct; import...
Timeslice42/TFCraft
TFC_Shared/src/TFC/Handlers/Client/PlankHighlightHandler.java
Java
gpl-3.0
14,157
<?php global $_MODULE; $_MODULE = array(); $_MODULE['<{blocksearch}prestashop>blocksearch-top_13348442cc6a27032d2b4aa28b75a5d3'] = 'Cerca'; $_MODULE['<{blocksearch}prestashop>blocksearch_31a0c03d7fbd1dc61d3b8e02760e703b'] = 'Blocco ricerca rapida'; $_MODULE['<{blocksearch}prestashop>blocksearch_99e20473c0bf3c22d7420ef...
desarrollosimagos/puroextremo.com.ve
modules/blocksearch_mod/translations/it.php
PHP
gpl-3.0
691
package com.bahram.relationshippoints.logistical.Lifecycle; import android.os.Bundle; import android.support.v4.app.Fragment; import android.view.View; /** * Created by bahram on 23.05.2015. */ public abstract class SupportFragmentLifecycle extends Fragment implements LifecycleDataHandling { /** * Called t...
Mithrandir21/RelationshipPoints
app/src/main/java/com/bahram/relationshippoints/logistical/Lifecycle/SupportFragmentLifecycle.java
Java
gpl-3.0
3,247
<?php /** * * UEA Style report * * This is the report suggested from the team using WebPA at UEA, UK * * * @copyright 2007 Loughborough University * @license http://www.gnu.org/licenses/gpl.txt * @version 0.0.0.1 * @since 8 Aug 2008 * */ require_once("../../../includes/inc_global.php"); require_once(DOC__R...
ICTO/WebPA-Source
tutors/assessments/reports/report_uea.php
PHP
gpl-3.0
9,239
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Xml.Linq; using System.Drawing; using System.IO; using FeedReader; using FeedReader.Xml.Interfaces; namespace FeedReader.Xml { internal class FeedRdfImageXmlParser : IFeedTypeImageXmlParser { private Ima...
hasenbolle/InfoService
InfoService/InfoService/Feeds/FeedReader/Xml/FeedRdfImageXmlParser.cs
C#
gpl-3.0
4,835
<?php /** * New Offer email * * @since 0.1.0 * @package public/includes/emails * @author AngellEYE <andrew@angelleye.com> */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly ?> <?php do_action( 'woocommerce_email_header', $email_heading ); ?> <?php printf( '<p><strong>' . __('New of...
wp-plugins/offers-for-woocommerce
public/includes/emails/woocommerce-new-offer.php
PHP
gpl-3.0
3,810
using System.Diagnostics; using System.Security.Claims; using System.Security.Principal; namespace DotnetSpider.Portal.Common { /// <summary> /// Extension methods for <see cref="System.Security.Principal.IPrincipal"/> and <see cref="System.Security.Principal.IIdentity"/> . /// </summary> public static class Princ...
zlzforever/DotnetSpider
src/DotnetSpider.Portal/Common/PrincipalExtensions.cs
C#
gpl-3.0
1,235
<p class="quote"><?php echo $quote->quoteText; ?></p> <p class="author">-<?php echo $quote->quoteAuthor; ?></p>
Hammercake/pi-kiosk-alarm
modules/quote/view.php
PHP
gpl-3.0
111
#!/usr/bin/env python3 # # Copyright (C) 2016 Canonical, Ltd. # Author: Scott Sweeny <scott.sweeny@canonical.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; version 3. # # This program is...
ssweeny/snaplint
snaplint/_rule.py
Python
gpl-3.0
1,643
using System.Runtime.InteropServices; using System.Diagnostics; using System; using System.Security; namespace System.Threading { [ComVisibleAttribute(false)] [DebuggerDisplayAttribute("Participant Count={ParticipantCount},Participants Remaining={ParticipantsRemaining}")] public class Barrier : IDisposable...
zebraxxl/CIL2Java
StdLibs/System/System/Threading/Barrier.cs
C#
gpl-3.0
2,746
// Copyright (c) Clickberry, Inc. All rights reserved. // Licensed under the GNU GENERAL PUBLIC LICENSE Version 3. See License.txt in the project root for license information. define("datacontext", ["jquery"], function($) { return function(resourceUri) { if (!resourceUri) { throw Error("Inva...
clickberry/video-portal
Source/FrontEnd/Portal.Web/Cdn/js/spa/datacontext.js
JavaScript
gpl-3.0
2,802
/* -*- mode: c++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- * * Copyright (C) 2012-2015 Marco Craveiro <marco.craveiro@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 Fou...
DomainDrivenConsulting/dogen
projects/masd.dogen.extraction/src/io/editors_io.cpp
C++
gpl-3.0
1,654
<?php /** * Kunena Component * @package Kunena.Template.Crypsis * @subpackage Layout.User * * @copyright (C) 2008 - 2015 Kunena Team. All rights reserved. * @license http://www.gnu.org/copyleft/gpl.html GNU/GPL * @link http://www.kunena.org **/ defined('_JEXEC') or die; ?> <h2> <?php echo JTe...
OSTraining/Kunena-Forum
components/com_kunena/site/template/crypsisb3/layouts/user/edit/default.php
PHP
gpl-3.0
2,560
#pragma once /* This file is part of Imagine. Imagine is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. Imagine is distributed in the ...
DarkCaster/emu-ex-plus-alpha
imagine/include/imagine/io/FileIO.hh
C++
gpl-3.0
1,248
ModX Revolution 2.5.0 = 539f52dd202abe6bff3cf711e1c09993 MODX Revolution 2.2.8 = 93c2ffd8a497f42474f7b4a3e49503ca
gohdan/DFC
known_files/hashes/core/lexicon/de/filters.inc.php
PHP
gpl-3.0
114
package org.halvors.nuclearphysics.common.event.handler; import net.minecraft.entity.item.EntityItem; import net.minecraft.item.ItemStack; import net.minecraftforge.event.entity.item.ItemExpireEvent; import net.minecraftforge.fml.common.Mod.EventBusSubscriber; import net.minecraftforge.fml.common.eventhandler.Subscrib...
halvors/Nuclear-Physics
src/main/java/org/halvors/nuclearphysics/common/event/handler/ItemEventHandler.java
Java
gpl-3.0
1,244
package com.jeewd.web_store.security; import java.util.Collection; import org.springframework.security.core.GrantedAuthority; import org.springframework.security.core.userdetails.UserDetails; public class User implements UserDetails { private static final long serialVersionUID = -3849758589040177326L; pr...
slavidlancer/JavaEEWebDevelopment
11_CourseProject_Java_Web_Development/CourseProjectWebStore/src/main/java/com/jeewd/web_store/security/User.java
Java
gpl-3.0
2,377
# -*- coding: utf-8 -*- import numpy as np import config from feature.feature_multi import FeatureMulti from similarity.similarity_base import SimiliarityBase class SimilarityStyle(SimiliarityBase): def calculate(self, image1, image2): # 获取特征 multi_feature_extractor = FeatureMulti() lumi...
jinyu121/ACACTS
similarity/similarity_style.py
Python
gpl-3.0
1,581
// ***************************************************************************** // randpool.cpp Tao3D project // ***************************************************************************** // // File description: // // // // // // // // // **************************...
c3d/tao-3D
libcryptopp/cryptopp/randpool.cpp
C++
gpl-3.0
2,879
#!/usr/bin/env python3 """ Copyright 2020 Paul Willworth <ioscode@gmail.com> This file is part of Galaxy Harvester. Galaxy Harvester 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 Free Software Foundation, either version 3 ...
pwillworth/galaxyharvester
html/getSchematicList.py
Python
gpl-3.0
7,494
#include "mounter.h" #include "manager.h" #include <iostream> #include <QStringList> #include <QDir> #include <QDebug> #include <QQueue> class MounterItem { public: MounterItem( const QString & f , const QString & m ) { file = f ; mount_point = m; } QString file; QString mount_point; }; class Mount...
realbardia/silicon
SPlugins/RootMount/Binary/mounter.cpp
C++
gpl-3.0
2,378
/*---------------------------------------------------------------------------*\ * interactive networked Virtual Reality system (inVRs) * * * * Copyright (C) 2005-2009 by the Johannes Kepler University, Linz * * ...
jzarl/inVRs
src/inVRs/Modules/Navigation/AllInOneTranslationModel.cpp
C++
gpl-3.0
4,248
#!/usr/bin/env python # -*- coding: utf-8 -*- # -*- Python -*- """ @file outTemp.py @brief ModuleDescription @date $Date$ """ import sys import time sys.path.append(".") # Import RTM module import RTC import OpenRTM_aist # Import Service implementation class # <rtc-template block="service_impl"> # </rtc-templ...
max-koara/OutTemp
outTemp.py
Python
gpl-3.0
5,559
# Paperwork - Using OCR to grep dead trees the easy way # Copyright (C) 2014 Jerome Flesch # # Paperwork 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 # ...
kschwank/paperwork
src/paperwork/frontend/labeleditor/__init__.py
Python
gpl-3.0
10,471
package com.cloudera.cmf.service; import com.cloudera.cmf.command.ConfirmCommandInfo; import com.cloudera.cmf.command.ServiceCommandHandler; import com.cloudera.cmf.command.SvcCmdArgs; import com.cloudera.cmf.model.DbCommand; import com.cloudera.cmf.model.DbRole; import com.cloudera.cmf.model.DbService; import...
Mapleroid/cm-server
server-5.11.0.src/com/cloudera/cmf/service/AbstractServiceCommand.java
Java
gpl-3.0
2,398
package HHCP; import causalgraph.Edge; import org.jgrapht.graph.ClassBasedEdgeFactory; import org.jgrapht.graph.DefaultDirectedWeightedGraph; import java.util.*; /** * Created by ignasi on 21/08/17. */ public class JustificationGraph { private DefaultDirectedWeightedGraph<String, Edge> graph; public BitSet...
ignasiet/Translator
src/HHCP/JustificationGraph.java
Java
gpl-3.0
4,984
package database; import java.sql.Connection; import java.sql.Driver; import java.sql.DriverManager; import java.sql.SQLException; /** * Singleton class for connecting to the database through JDBC. * * @author Maks (original) * @author Brett Commandeur (modified by) * @reference https://github.com/MaksJS/jdbc-s...
C391-Project/RadiologyApp
src/database/JDBC.java
Java
gpl-3.0
4,195
#ifndef FO_BASE_BUFFER_HPP_ #define FO_BASE_BUFFER_HPP_ #include <stdint.h> #include <cstdlib> #include "Common.hpp" namespace fonline { class Buffer { public: FONLINE_COMMON_API Buffer(); FONLINE_COMMON_API Buffer(size_t alen); FONLINE_COMMON_API ~Buffer(); FONLINE_COMMON_API void Reset();...
alexknvl/fonline
src/FOnlineCommon/buffer.hpp
C++
gpl-3.0
1,163
@extends('layouts.app') @section('title') Account Settings - Barmate POS @stop @section('custom-css') @stop @section('content') <div class="row paper"> <div class="paper-header"> <h2><i class="fa fa-gear"></i>&nbsp;&nbsp;Account Settings</h2> </div> @if ( Ses...
Saluki/Barmate
resources/views/account/main.blade.php
PHP
gpl-3.0
2,925
package com.hhd.breath.app.main.ui; import android.app.Activity; import android.content.Context; import android.content.Intent; import android.os.Bundle; import android.view.View; import android.view.inputmethod.InputMethodManager; import android.widget.EditText; import android.widget.RelativeLayout; import android.wi...
weibingithub/BreathApp
app/src/main/java/com/hhd/breath/app/main/ui/ModifyNameActivity.java
Java
gpl-3.0
2,791
""" SicPy """ # __version__ = '0.1' # __author__ = 'disrupts' # __license__ = 'GPLv3' # Cryptobox should only be used to implement ciphers #from sicpy.cryptobox import Cryptobox # Ciphers are imported directly with sicpy #  not requiring an aditional import from sicpy.ciphers.caesar import Caesar from sicpy.cip...
disrupts/SicPy
sicpy/__init__.py
Python
gpl-3.0
557
<?php /** * Membership Settings meta box * * @package LifterLMS/Admin/PostTypes/MetaBoxes/Classes * * @since 1.0.0 * @version 5.9.0 */ defined( 'ABSPATH' ) || exit; /** * Membership Settings meta box class * * @since 1.0.0 * @since 3.30.3 Fixed spelling errors; removed duplicate array keys. * @since 3.35....
gocodebox/lifterlms
includes/admin/post-types/meta-boxes/class.llms.meta.box.membership.php
PHP
gpl-3.0
13,071
package ru.mos.polls.quests.model.quest; import android.content.Context; import com.google.gson.annotations.SerializedName; import ru.mos.polls.quests.model.QuestFamilyElement; import ru.mos.polls.quests.vm.QuestsFragmentVM; public class OtherQuest extends BackQuest { public static final String TYPE = "other"; ...
active-citizen/android.java
app/src/main/java/ru/mos/polls/quests/model/quest/OtherQuest.java
Java
gpl-3.0
788
<?php /** * Display the upload transaction file screen * * @author Fabrice Douteaud <admin@clearbudget.net> * @package snippets * @access public */ /*********************************************************************** Copyright (C) 2008 Fabrice Douteaud (admin@clearbudget.net) ...
thunderace/clearbudget
snippets/uploadQif.php
PHP
gpl-3.0
2,711
<?php namespace common\modules\prj\models; use Yii; /** * This is the model class for table "{{%prj_burden_cost_base}}". * * @property string $prj_burden_cost_base_id * @property string $cost_base * @property string $description * @property string $cost_base_type * @property string $effective_from * @propert...
zeddarn/yinoerp
_protected/common/modules/prj/models/PrjBurdenCostBase.php
PHP
gpl-3.0
2,128
<span class="fright"> <?php if($this->phpsession->get('menu_type') == FRONT_END_MENU):?> <a class="button back" href="/dashboard/menu/<?php echo isset($lang) && $lang != '' ? $lang :$this->phpsession->get('current_menus_lang'); ?>"><em>&nbsp;</em>Quay lại trang Menu</a> <?php endif;?> <?php if($this->ph...
dzung2t/noithatgo
ci_app/modules/menus/views/admin/back-menu-nav.php
PHP
gpl-3.0
591
var express = require('express'); var router = express.Router(); var seminar = require('../controllers/seminar.controllers'); router.get('/', function(req, res) { res.json({status: false, message: 'None API Implemented'}); }); router.get('/user/:id', function(req, res) { seminar.get(req, res); }); // router.get...
Rajamuda/ittoday-2017
api/routes/seminar.routes.js
JavaScript
gpl-3.0
733
#include "InputModels/SimpleGaussianModel.h" #include "Keyboard.h" #include "Polygon.h" #include "math.h" #include <cctype> #include <boost/random.hpp> #include <boost/random/normal_distribution.hpp> using namespace std; SimpleGaussianModel::SimpleGaussianModel(double xscale, double yscale, double corr) { ysigm...
sangaline/dodona
core/src/InputModels/SimpleGaussianModel.cpp
C++
gpl-3.0
4,337
#!/usr/bin/env node // Special Pythagorean triplet var SUM = 1000; var triplet = get_pythagorean_triplet_by_sum(SUM); console.log(triplet[0] * triplet[1] * triplet[2]); function get_pythagorean_triplet_by_sum(s) { var s2 = Math.floor(SUM / 2); var mlimit = Math.ceil(Math.sqrt(s2)) - 1; for (var m = 2; ...
iansealy/projecteuler
optimal/9.js
JavaScript
gpl-3.0
1,296
#include "Reseaux/RequetePartie/RequetePartie.hpp" RequetePartie::RequetePartie(int tailleRequete, int numeroRequete) : Requete(tailleRequete, 0) { numeroRequete = numeroRequete << 3; data[0] = numeroRequete; }
Aredhele/FreakyMonsters
client/src/Reseaux/RequetePartie/RequetePartie.cpp
C++
gpl-3.0
215
<?php use Phinx\Migration\AbstractMigration; class NullableInvitationFrom extends AbstractMigration { /** * Migrate Up. */ public function up() { $this->execute("ALTER TABLE invitations MODIFY sent_by INT(10) UNSIGNED DEFAULT NULL COMMENT 'The player who sent the invitation'"); } ...
allejo/bzion
migrations/20160212221926_nullable_invitation_from.php
PHP
gpl-3.0
396
import ChatMessage from "phasecore/messagetypes/chatmessage"; interface DeepHistoryNewer { discID: number; messages: ChatMessage[]; newestID: number; } export default DeepHistoryNewer;
popstarfreas/PhaseClient
app/node_modules/phasecore/messagetypes/deephistorynewer.ts
TypeScript
gpl-3.0
199
<div class="col-md-12"> <div class="row"> <div class="col-md-6"> <h1><?php echo L('sensor_LIST'); ?></h1> </div> </div> <div class="row"> <?php if($this->session()->getUserLevel() == 3) : ?> <div class="col-md-4 text-left"> <a href="javascript:void(0)" id="sensors_rescan" class="btn btn-primary"> <...
scratchduino/sdlab-frontend
app/views/sensors/view.all.tpl.php
PHP
gpl-3.0
2,954
# -*- coding: utf-8 -*- # This file is part of BBFlux (BackBox XFCE -> FluxBox Menu Automatic Update Daemon). # # Copyright(c) 2010-2011 Simone Margaritelli # evilsocket@gmail.com - evilsocket@backbox.org # http://www.evilsocket.net # http://www.backbox.org # # This file may be licensed under the terms of of the # GNU ...
evilsocket/BBFlux
parsers/IconParser.py
Python
gpl-3.0
2,214
// Events document.onkeypress = function (e) { e = e || window.event; var key = e.key; return keymap[key](); }; // Mouse events document.onmousemove = function (e) { e = e || window.event; lfo.frequency.value = e.clientX; main_osc.frequency.value = e.clientY / 10; changeBackgroundColor(lfo...
ruckert/web_audio_experiments
synth007/events.js
JavaScript
gpl-3.0
534
import { Menu } from 'electron' import menuActions from './actions' import deviceItems from './devices' import folderItems from './folders' import { getDevicesWithConnections } from '../reducers/devices' import { getFoldersWithStatus } from '../reducers/folders' import { name, version } from '../../../package.json' ...
JodusNodus/syncthing-tray
app/main/menu/index.js
JavaScript
gpl-3.0
1,367
# -*- coding: utf-8 -*- # Copyright (C) 2005 Osmo Salomaa # # 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 pr...
otsaloma/gaupol
gaupol/dialogs/test/test_position_transform.py
Python
gpl-3.0
1,527
package com.kinztech.os.network.codec.game.decode; import com.kinztech.os.game.node.entity.player.Player; import com.kinztech.os.network.protocol.PacketDefinition; import com.kinztech.os.utilities.RSBuffer; /** * Created by Allen Kinzalow on 5/25/2015. */ public interface DecodedPacket { void decode(Player pla...
kinztechcom/OSRS-Server
src/com/kinztech/os/network/codec/game/decode/DecodedPacket.java
Java
gpl-3.0
382
/****************************************************************************** * The MIT License * * Copyright (c) 2011 LeafLabs, LLC. * * 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 Softwar...
AtDinesh/Arduino_progs
Arduino_STM32/STM32F1/variants/nucleo_f103rb/board.cpp
C++
gpl-3.0
11,487
"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; return function (d, b)...
hgrall/merite
src/communication/v0/typeScript/build/tchat/commun/chat.js
JavaScript
gpl-3.0
4,687
package pl.llp.aircasting.screens.common.base; import android.app.ProgressDialog; /** * Created by IntelliJ IDEA. * User: obrok * Date: 1/16/12 * Time: 12:03 PM */ public interface ActivityWithProgress { public static final int SPINNER_DIALOG = 6355; public ProgressDialog showProgressDialog(int progress...
HabitatMap/AirCastingAndroidClient
src/main/java/pl/llp/aircasting/screens/common/base/ActivityWithProgress.java
Java
gpl-3.0
394
/** * This file is part of MythTV Android Frontend * * MythTV Android Frontend 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. *...
MythTV-Clients/MythTV-Android-Frontend
src/org/mythtv/client/ui/preferences/PlaybackProfileEditor.java
Java
gpl-3.0
9,195
/* * Son of Mars * * Copyright (c) 2015-2016, Team Son of Mars * * 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....
DeadPixelsSociety/SonOfMars
src/local/Hud.cc
C++
gpl-3.0
4,307
#!/usr/bin/python # # Copyright 2016 Red Hat | Ansible # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import absolute_import, division, print_function __metaclass__ = type ANSIBLE_METADATA = {'metadata_version': '1.1', 'status': ['prev...
Lujeni/ansible
lib/ansible/modules/cloud/docker/docker_container.py
Python
gpl-3.0
143,393
/* * WebSocketMessage.cpp * * Created on: Sep 10, 2015 * Author: lion */ #include "object.h" #include "ifs/io.h" #include "WebSocketMessage.h" #include "Buffer.h" #include "MemoryStream.h" namespace fibjs { result_t WebSocketMessage_base::_new(int32_t type, bool masked, int32_t maxSize, obj_ptr<WebSoc...
ngot/nightly-test
fibjs/src/websocket/WebSocketMessage.cpp
C++
gpl-3.0
14,485
# This file is part of GxSubOS. # Copyright (C) 2014 Christopher Kyle Horton <christhehorton@gmail.com> # GxSubOS 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...
WarriorIng64/GxSubOS
indicatortray.py
Python
gpl-3.0
4,871
package com.glue.feed.youtube; import java.io.IOException; import java.io.InputStream; import java.text.DateFormat; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Calendar; import java.util.List; import java.util.Properties; import java.util.TimeZone; import org.slf4j.Logger; import o...
pgillet/Glue
glue-feed/src/main/java/com/glue/feed/youtube/YoutubeRequester.java
Java
gpl-3.0
6,629
using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNet.Identity.EntityFramework; using System.Security.Claims; using Microsoft.AspNet.Identity; namespace LanAdeptData.Model { public class User : IdentityUser { [Requ...
ADEPT-Informatique/LanAdept
LanAdeptData/Model/Users/User.cs
C#
gpl-3.0
1,133
package to.oa.qha98.ballisticCalculator.test; import static org.junit.Assert.*; import org.bukkit.util.Vector; import org.junit.Test; public class VectorDefaultConstructorTest { @Test public void test() { Vector v=new Vector(); assertEquals(0d, v.length(), 0.0000001d); } }
qha98/BallisticCalculator
BalisticCalculator/BallisticCalculator/to/oa/qha98/ballisticCalculator/test/VectorDefaultConstructorTest.java
Java
gpl-3.0
298
<?php use Phalcon\Di\FactoryDefault; error_reporting(E_ALL); define('APP_PATH', realpath('..')); try { /** * The FactoryDefault Dependency Injector automatically register the right services providing a full stack framework */ $di = new FactoryDefault(); /** * Read services */ in...
acidopal/crud_phalcon
public/index.php
PHP
gpl-3.0
740
# Copyright (C) 2015-2016 Daniel Sel # # 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 i...
tumi8/sKnock
server/version.py
Python
gpl-3.0
1,225
//////////////////////////////////////////////////////////////////// // // // Part of this source file is taken from Virtual Choreographer // http://virchor.sourceforge.net/ // // File pg-draw.cpp // // // This program is free software; you can redistribute it and/or // modify it under the terms of the ...
yukao/Porphyrograph
LYM-sources/SourcesBerfore18/Porphyrograph-geneMuse-src/pg-draw.cpp
C++
gpl-3.0
147,112
import { Component, OnInit, Inject } from '@angular/core'; import { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material'; @Component({ selector: 'app-remove-quantity', templateUrl: './remove-quantity.component.html', styleUrls: ['./remove-quantity.component.css'] }) export class RemoveQuantityComponent imple...
sumnercreations/ceilings
src/app/quantity/remove-quantity/remove-quantity.component.ts
TypeScript
gpl-3.0
598
/**************************************************************************** ** ** Copyright (C) 2016 The Qt Company Ltd. ** Contact: https://www.qt.io/licensing/ ** ** This file is part of the test suite of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:GPL-EXCEPT$ ** Commercial License Usage ** Licensees holding valid comm...
geminy/aidear
oss/qt/qt-everywhere-opensource-src-5.9.0/qtandroidextras/tests/auto/qandroidjniobject/tst_qandroidjniobject.cpp
C++
gpl-3.0
43,144
// *********************************************************************************************** // * * // * createMenu.cpp - creates application menus * // * ...
rsieger/PanXML
trunk/Sources/ApplicationCreateMenu.cpp
C++
gpl-3.0
7,803
package l2s.gameserver.network.l2.s2c; import l2s.gameserver.model.Creature; /** * 0000: 3f 2a 89 00 4c 01 00 00 00 0a 15 00 00 66 fe 00 ?*..L........f.. * 0010: 00 7c f1 ff ff .|... * * format dd ddd */ public class ChangeWaitTypePacket extends L2GameServerPacket { priv...
pantelis60/L2Scripts_Underground
gameserver/src/main/java/l2s/gameserver/network/l2/s2c/ChangeWaitTypePacket.java
Java
gpl-3.0
890
#region Copyright & License Information /* * Copyright 2007-2014 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. For more information, * see COP...
166MMX/OpenRA
OpenRA.Mods.RA/AI/HackyAI.cs
C#
gpl-3.0
30,524
#!/usr/bin/env python # coding=utf-8 # Copyright (C) 2014 by Serge Poltavski # # serge.poltavski@gmail.com # # # # This program is free software; you can redistribute...
uliss/pddoc
pddoc/pdpainter.py
Python
gpl-3.0
2,655
package main import ( "io/ioutil" "log" "os" "strconv" "time" "github.com/openlab-aux/golableuchtung" serial "github.com/huin/goserial" ) func main() { if len(os.Args) != 5 { log.Fatal("invalid number of arguments") } leucht := lableuchtung.LabLeucht{} c := &serial.Config{ Name: "/dev/ttyACM0", ...
openlab-aux/golableuchtung
serialcli/leucht.go
GO
gpl-3.0
784
<? /** * @license http://www.mailcleaner.net/open/licence_en.html Mailcleaner Public License * @package mailcleaner * @author Olivier Diserens * @copyright 2006, Olivier Diserens */ /** * needs some defaults */ require_once ("system/SystemConfig.php"); class Pie { /** * file name * @var string *...
MailCleaner/MailCleaner
www/classes/view/graphics/Pie.php
PHP
gpl-3.0
4,573
# SSH proxy forward and remote shell __author__ = "Frederico Martins" __license__ = "GPLv3" __version__ = 1 from getpass import getpass from paramiko import AutoAddPolicy, SSHClient, ssh_exception class SSH(object): proxy = None def __init__(self, host, user, password=None, port=22): self.host = ...
flippym/toolbox
ssh-streaming.py
Python
gpl-3.0
1,573
<?php // Define queries inside of the reports array. // !! IMPORTANT: Make sure queries do not have a semicolon ';' at the end so the pagination will work. $reports = array(); $reports['default'] = "SELECT username,full_name,email,date_created,active,login_date from users";
PyrousNET/TorchFramework
reports/users.php
PHP
gpl-3.0
276
import os, json, random from utils import * import collections class FileDataBaseException(Exception): pass def update_dict_recursively(d, u): for k, v in u.iteritems(): if isinstance(v, collections.Mapping): r = update_dict_recursively(d.get(k, {}), v) d[k] = r else: ...
makseq/testarium
testarium/filedb.py
Python
gpl-3.0
6,170
package lejos.utility; import lejos.hardware.LCD; /** * This class has been developed to use it in case of you have * to tests leJOS programs and you need to show in NXT Display data * but you don't need to design a User Interface. * * This class is very useful to debug algorithms in your NXT brick. * ...
SnakeSVx/ev3
Lejos/src/main/java/lejos/utility/DebugMessages.java
Java
gpl-3.0
2,602
<?php /** * @license http://opensource.org/licenses/gpl-license.php GNU Public License * @link https://github.com/bderidder/ldm-guild-website */ namespace LaDanse\RestBundle\Controller\GameData; use LaDanse\RestBundle\Common\AbstractRestController; use LaDanse\RestBundle\Common\JsonResponse; use LaDanse\RestB...
bderidder/ldm-guild-website
src/LaDanse/RestBundle/Controller/GameData/RealmResource.php
PHP
gpl-3.0
1,963
"use strict"; var path = require("path"); var fs = require("fs"); var sourceMap = require('source-map'); var sourceMaps = {}; var coffeeMaps = {}; var registered = false; function registerErrorHandler() { if (registered) return; registered = true; function mungeStackFrame(frame) { if (frame.isNative()) return; ...
phun-ky/heritage
node_modules/neo4j/node_modules/streamline/lib/compiler/underscored.js
JavaScript
gpl-3.0
7,491
RSpec.describe Admission::Status do def privilege context @fake_privilege_klass ||= Struct.new(:context, :inherited) @fake_privilege_klass.new context end describe '#new' do it 'sets privileges to nil' do instance = Admission::Status.new :person, nil, :rules, :arbiter expect(instance).t...
doooby/admission
spec/unit/status_spec.rb
Ruby
gpl-3.0
2,166
<?php class ControllerSettingSetting extends Controller { private $error = array(); public function index() { $this->load->language('setting/setting'); $this->document->setTitle($this->language->get('heading_title')); $this->load->model('setting/setting'); if (($this->request->server['REQ...
dinoweb/lead_store
local/admin/controller/setting/setting.php
PHP
gpl-3.0
47,643
package com.wordpress.marleneknoche.sea.logic; import static org.junit.Assert.assertEquals; import static org.junit.Assert.*; import java.util.HashMap; import java.util.Map; import org.junit.Before; import org.junit.Test; public class NucleobaseCounterTest { private NucleobaseCounter nucleobaseCounter; private s...
Sanguinik/sea
src/test/java/com/wordpress/marleneknoche/sea/logic/NucleobaseCounterTest.java
Java
gpl-3.0
1,956
package com.gavinflood.edumate; import java.util.ArrayList; import java.util.List; import java.util.Vector; import android.app.Activity; import android.app.Dialog; import android.app.ListActivity; import android.content.Context; import android.content.Intent; import android.database.Cursor; import android...
gavinflud/edumate
src/com/gavinflood/edumate/Assignments.java
Java
gpl-3.0
15,858
/* * SkyTube * Copyright (C) 2018 Ramon Mifsud * * 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 (version 3 of the License). * * This program is distributed in the hope that it will be u...
ram-on/SkyTube
app/src/main/java/free/rm/skytube/businessobjects/YouTube/POJOs/YouTubeAPI.java
Java
gpl-3.0
2,605
package nl.knaw.huygens.tei; /* * #%L * VisiTEI * ======= * Copyright (C) 2011 - 2017 Huygens ING * ======= * 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 * Li...
HuygensING/visitei
src/main/java/nl/knaw/huygens/tei/Entities.java
Java
gpl-3.0
1,302
package org.hofapps.tinyplanet; import android.content.Context; import android.util.AttributeSet; /** * Created by fabian on 02.11.2015. */ public class RangeSeekBar extends android.support.v7.widget.AppCompatSeekBar { private static final int ARRAY_MIN_POS = 0; private static final int ARRAY_MAX_POS = 1;...
hollaus/TinyPlanetMaker
app/src/main/java/org/hofapps/tinyplanet/RangeSeekBar.java
Java
gpl-3.0
1,322
class CheckPoint extends MasterBlock { constructor(heading, x, y, moving, rotating) { super("img/blocks/ellenorzo.png", heading, x, y, moving, rotating) this._hit = false } get_newDir(dir) { this._hit = true return [dir] } hitStatus() { return this._hit ...
Sch-Tomi/light-breaker
dev_js/blocks/checkpoint.js
JavaScript
gpl-3.0
326
class ColophonController < ApplicationController def chapter @chapters = Chapter.order("title ASC").all end def who @all_chapters = Chapter.order("title ASC").all end def how end def funding end def highlights end def community @social = Social.where('start_time > ?',Time.now).first @gi...
goodfornothing/goodfornothing
app/controllers/colophon_controller.rb
Ruby
gpl-3.0
3,394
require 'package' class A2png < Package description 'Converts plain ASCII text into PNG bitmap images.' homepage 'https://sourceforge.net/projects/a2png/' version '0.1.5-1' compatibility 'all' source_url 'https://sourceforge.net/projects/a2png/files/a2png/0.1.5/a2png-0.1.5.tar.bz2' source_sha256 'd3ae1c771...
cstrouse/chromebrew
packages/a2png.rb
Ruby
gpl-3.0
1,586
"use strict"; var validMoment = require('../helpers/is-valid-moment-object'); module.exports = function (value, dateFormat) { if (!validMoment(value)) return value; return value.format(dateFormat); };
matfish2/vue-tables-2
compiled/filters/format-date.js
JavaScript
gpl-3.0
206
<?php // Load the plugin files and fire a startup action require_once(dirname(__FILE__) . "/plugins.php"); startup(); require_once(dirname(__FILE__) . "/config.php"); _load_language_file("/index.inc"); /** * * Login page, self posts to become management page * * @author Patrick Lockley * @version 1.0 * @cop...
sdc/xerte
index.php
PHP
gpl-3.0
11,968