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 |
|---|---|---|---|---|---|
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace ptConfigurator
{
public partial class frmConnect : Form
{
int iProgressCounter = 0;
public frmConnect()
{
... | custom-ds/arduinotrack-configurator | ptConfigurator/frmConnect.cs | C# | gpl-3.0 | 964 |
package Aula_4.Carro;
import java.awt.Graphics2D;
public class RodaAros extends Roda {
int n;
public RodaAros(int n, int raio, int xi, int yi) {
super(raio, xi, yi, 0);
this.n = n;
}
/*public RodaAros(int xi, int yi) {
super(17, xi, yi, 0);
n = 8;
raio = 17;
}*/
public void dra... | mini890/2D-Computer-Graphics | src/Aula_4/Carro/RodaAros.java | Java | gpl-3.0 | 818 |
import { PushRequest } from './../protocol/push/PushRequest';
import { PushRequestNewObject } from './../protocol/push/PushRequestNewObject';
import { PushRequestObject } from './../protocol/push/PushRequestObject';
import { PushResponse } from './../protocol/push/PushResponse';
import { PushResponseNewObject } from '.... | Allors/allors | Platform/Workspace/Typescript/src/allors/framework/workspace/Session.ts | TypeScript | gpl-3.0 | 6,112 |
/*
Nodics - Enterprice Micro-Services Management Framework
Copyright (c) 2017 Nodics All rights reserved.
This software is the confidential and proprietary information of Nodics ("Confidential Information").
You shall not disclose such Confidential Information and shall use it only in accordance with ... | Nodics/nodics | gFramework/nDynamo/src/service/class/defaultClassConfigurationService.js | JavaScript | gpl-3.0 | 11,955 |
/*
* Copyright (C) 2009 The Android Open Source Project
*
* 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 app... | s20121035/rk3288_android5.1_repo | packages/apps/Camera2/tests/src/com/android/camera/stress/CameraLatency.java | Java | gpl-3.0 | 7,032 |
#! /usr/bin/python
import sys
sys.path.append('../')
from toolbox.hreaders import token_readers as reader
from toolbox.hreducers import list_reducer as reducer
SOLO_FACTURA = False
def reduction(x,y):
v1 = x.split(',')
v2 = y.split(',')
r = x if int(v1[1])>=int(v2[1]) else y
return r
_reader = reader... | xavi783/u-tad | Modulo4/ejercicio3/reducer.py | Python | gpl-3.0 | 915 |
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011-2014 OpenFOAM Foundation
\\/ M anipulation |
--------... | Atizar/RapidCFD-dev | src/fvOptions/sources/derived/radialActuationDiskSource/radialActuationDiskSource.C | C++ | gpl-3.0 | 3,628 |
/*
* Kerbal Space App
*
* Copyright (C) 2014 Jim Pekarek (Amagi82)
*
* 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... | Amagi82/KerbalSpaceApp | src/com/amagi82/kerbalspaceapp/MissionPlanner.java | Java | gpl-3.0 | 17,210 |
package alexiil.mods.load.json.subtypes;
import java.util.Collections;
import java.util.List;
import java.util.Map;
import net.minecraft.util.ResourceLocation;
import alexiil.mods.load.baked.func.BakedFunction;
import alexiil.mods.load.baked.func.FunctionBaker;
import alexiil.mods.load.baked.insn.BakedInstruction;
i... | Adaptivity/BetterLoadingScreen | src/main/java/alexiil/mods/load/json/subtypes/JsonImagePanorama.java | Java | gpl-3.0 | 1,195 |
#include "privatestorage.h"
#include <definitions/namespaces.h>
#include <definitions/stanzahandlerorders.h>
#include <utils/options.h>
#include <utils/stanza.h>
#include <utils/logger.h>
#define PRIVATE_STORAGE_TIMEOUT 30000
#define SHC_NOTIFYDATACHANGED "/message/x[@xmlns='" NS_VACUUM_PRIVATESTORAG... | Nikoli/vacuum-im | src/plugins/privatestorage/privatestorage.cpp | C++ | gpl-3.0 | 14,432 |
<?php
/**
* Mobile class
*
* @author Arnia (dev@karybu.org)
*/
class MobileInstance
{
/**
* Whether mobile or not mobile mode
* @var bool
*/
var $ismobile = null;
/**
* Get current mobile mode
*
* @return bool If mobile mode returns true or false
*/
function isFr... | arnia/Karybu | classes/mobile/Mobile.class.php | PHP | gpl-3.0 | 7,236 |
import React from 'react';
import { PageHeaderWrapper } from '@ant-design/pro-layout';
import { Card, Typography } from 'antd';
const { Paragraph } = Typography;
export default (props: any): React.ReactNode => {
return (
<PageHeaderWrapper {...props} title="欢迎使用!">
<Card>
<Typography>
... | KevinWG/OSS.Core | FrontEnds/Admin/ClientApp/src/pages/home/Welcome.tsx | TypeScript | gpl-3.0 | 467 |
<?php
return array (
'Show Exact Online invoice' => 'Afficher la facture Exact Online',
'Ordered by' => 'Commander par',
'Invoiced to' => 'Facturé à',
'Order date' => 'Date de commande',
'Payment condition' => 'Condition de paiement',
'Your reference' => 'Vos références',
'Status' => 'Statut',
'Remarks'... | deependhulla/powermail-debian9 | files/rootdir/usr/local/src/groupoffice-6.3/modules/exactonline/language/fr.php | PHP | gpl-3.0 | 1,433 |
const
{series} = require("gulp"),
bump = require("./gulp_modules/task-bump"),
bump_minor = require("./gulp_modules/task-bump-minor"),
bump_major = require("./gulp_modules/task-bump-major"),
readme = require("./gulp_modules/task-readme"),
replace_version = require("./gulp_modules/task-replace-version"),
make_pot ... | WPGlobus/WPGlobus | Gulpfile.js | JavaScript | gpl-3.0 | 1,044 |
/*
* MidiEditor
* Copyright (C) 2010 Markus Schwenk
*
* 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... | easyaspi314/MidiEditor | src/MidiEvent/KeySignatureEvent.cpp | C++ | gpl-3.0 | 3,781 |
<?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... | edurenye/moodle | version.php | PHP | gpl-3.0 | 1,638 |
<?php
/**
* xmlseclibs.php
*
* Copyright (c) 2007-2010, Robert Richards <rrichards@cdatazone.org>.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributions of source co... | sGarciaCL/Transbank | libwebpay/soap/xmlseclibs.php | PHP | gpl-3.0 | 69,538 |
<?php
/* Copyright (C) 2006 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 is ... | zsh2938/FHC-Core | vilesci/kommunikation/kontakt.php | PHP | gpl-3.0 | 5,668 |
package unagoclient.partner;
import unagoclient.Global;
import unagoclient.gui.*;
import javax.swing.*;
/**
* Displays a send dialog, when the partner presses "Send" in the GoFrame. The
* message is appended to the PartnerFrame.
*/
public class PartnerSendQuestion extends CloseDialog {
/**
... | rdnz/UnaGo | unagoclient/partner/PartnerSendQuestion.java | Java | gpl-3.0 | 1,804 |
package com.baeldung.reflect;
public class Person {
private String fullName;
public Person(String fullName) {
this.fullName = fullName;
}
public void setFullName(String fullName) {
this.fullName = fullName;
}
public String getFullName() {
return fullName;
}
}
| Niky4000/UsefulUtils | projects/tutorials-master/tutorials-master/core-java-modules/core-java-8/src/main/java/com/baeldung/reflect/Person.java | Java | gpl-3.0 | 278 |
# coding=utf8
r"""
csection.py -- Create a tree of contents, organized by sections and inside
sections the exercises unique_name.
AUTHOR:
- Pedro Cruz (2012-01): initial version
- Pedro Cruz (2016-03): improvment for smc
An exercise could contain um its %summary tag line a description of section
in form:... | jpedroan/megua | megua/csection.py | Python | gpl-3.0 | 10,442 |
# Copyright 2008 Dan Smith <dsmith@danplanet.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) any later version.
#
# This program is ... | tylert/chirp.hg | chirp/drivers/icf.py | Python | gpl-3.0 | 23,992 |
puts "Bem-vindo ao Jogo da Advinhação"
puts "Qual o seu nome?"
nome = gets
puts ("\n\n\n")
#\n para cada linha em branco - refatoração
puts "Neste jogo você tem de advinhar qual o número escolhido entre 0 e 100.
A cada número escolhido vou lhe dar dicas para que você saiba se está perto de acertar."
puts ("\n\n\... | geisasantos/estudos-dev-jogos | Ruby/jogo_advinhacao.rb | Ruby | gpl-3.0 | 759 |
var createFakeModel = function () { return sinon.createStubInstance(Backbone.Model); };
var createFakeCollection = function () { return sinon.createStubInstance(Backbone.Collection); };
requireMock.requireWithStubs(
{
'models/SearchParamsModel': sinon.stub().returns(createFakeModel()),
'collections/SearchRes... | hwilcox/bcube-interface | spec/views/right_column/PaginationControlsView_spec.js | JavaScript | gpl-3.0 | 7,093 |
<?php
/**
* Entrada [ http://www.entrada-project.org ]
*
* This file gives Entrada users the ability to update their user profile.
*
* @author Organisation: Queen's University
* @author Unit: School of Medicine
* @author Developer: Jonathan Fingland <jonathan.fingland@queensu.ca>
* @copyright Copyright 2010 Que... | mattsimpson/entrada-1x | www-root/core/modules/admin/users/manage/students/mspr.inc.php | PHP | gpl-3.0 | 68,918 |
using System.IO;
using System.Runtime.Serialization;
using WolvenKit.CR2W.Reflection;
using FastMember;
using static WolvenKit.CR2W.Types.Enums;
namespace WolvenKit.CR2W.Types
{
[DataContract(Namespace = "")]
[REDMeta]
public class CBehaviorGraphEngineVectorValueNode : CBehaviorGraphVectorVariableNode
{
[Ordina... | Traderain/Wolven-kit | WolvenKit.CR2W/Types/W3/RTTIConvert/CBehaviorGraphEngineVectorValueNode.cs | C# | gpl-3.0 | 1,057 |
/**
* Copyright (C) 2011 Matthias Jordan <matthias.jordan@googlemail.com>
*
* This file is part of piRSS.
*
* piRSS 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
*... | matthiasjordan/piRSS | src/de/codefu/android/rss/updateservice/ServiceComm.java | Java | gpl-3.0 | 8,607 |
#! /usr/bin/env python
# I found this file inside Super Mario Bros python
# written by HJ https://sourceforge.net/projects/supermariobrosp/
# the complete work is licensed under GPL3 although I can not determine# license of this file
# maybe this is the original author, we can contact him/her http://www.pygame.org/pro... | juanjosegzl/learningpygame | ezmenu.py | Python | gpl-3.0 | 2,298 |
// Copyright (c) 2011 AlphaSierraPapa for the SharpDevelop Team
//
// 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, co... | zuloloxi/dnSpy | dnSpy/GuessFileType.cs | C# | gpl-3.0 | 4,194 |
/*
* Copyright (C) 2014 Emil
*
* 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 distr... | wachsmuth/freeWarOnTerror | src/freeWarOnTerror/cards/IEDs.java | Java | gpl-3.0 | 1,521 |
function date(pub_date){
var date = new Date( Date.parse(pub_date+' UTC'));
return date.toLocaleString();
}
| donkeyxote/djangle | djangle/forum/static/forum/js/localTime.js | JavaScript | gpl-3.0 | 120 |
<div id="search" class="portfolio-search">
<div class="container">
<div class="row">
<div class="col-md-7">
<div class="btn-group">
<button type="button" class="btn btn-default dropdown-toggle language" data-toggle="dropdown">
Language <span class="caret"></span>
</butt... | shippingsoon/Shippingsoon | application/views/portfolio/search.php | PHP | gpl-3.0 | 3,554 |
"""Calculate exact solutions for the zero dimensional LLG as given by
[Mallinson2000]
"""
from __future__ import division
from __future__ import absolute_import
from math import sin, cos, tan, log, atan2, acos, pi, sqrt
import scipy as sp
import matplotlib.pyplot as plt
import functools as ft
import simpleode.core.u... | davidshepherd7/Landau-Lifshitz-Gilbert-ODE-model | llg/mallinson.py | Python | gpl-3.0 | 4,251 |
class Sbs:
def __init__(self, sbsFilename, sbc_filename, newSbsFilename):
import xml.etree.ElementTree as ET
import Sbc
self.mySbc = Sbc.Sbc(sbc_filename)
self.sbsTree = ET.parse(sbsFilename)
self.sbsRoot = self.sbsTree.getroot()
self.XSI_TYPE = "{http://www.w3.or... | mccorkle/seds-utils | Sbs.py | Python | gpl-3.0 | 13,196 |
/*
Copyright 2019-2022 Michael Pozhidaev <msp@luwrain.org>
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 (at your opt... | luwrain/extensions | js/pm.js | JavaScript | gpl-3.0 | 800 |
package com.pixelutilitys.commands;
import com.pixelmonmod.pixelmon.Pixelmon;
import com.pixelmonmod.pixelmon.enums.EnumGui;
import net.minecraft.command.CommandBase;
import net.minecraft.command.ICommandSender;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.util.ChatComponentTranslation;
publi... | AnDwHaT5/PixelUtilities | src/main/java/com/pixelutilitys/commands/PokecheckmeCommand.java | Java | gpl-3.0 | 1,217 |
/*
* _____ _ _ _____ _
* | __ \| | | | / ____| | |
* | |__) | | ___ | |_| (___ __ _ _ _ __ _ _ __ ___ __| |
* | ___/| |/ _ \| __|\___ \ / _` | | | |/ _` | '__/ _ \/ _` |
* | | | | (_) | |_ ____) | (_| | ... | IntellectualSites/PlotSquared | Core/src/main/java/com/plotsquared/core/events/PlotChangeOwnerEvent.java | Java | gpl-3.0 | 3,957 |
/*
* Copyright (C) 2012-2015 Dominik Schürmann <dominik@dominikschuermann.de>
* Copyright (C) 2015 Adithya Abraham Philip <adithyaphilip@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 Fo... | tobiasschuelke/open-keychain | OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/SettingsKeyserverFragment.java | Java | gpl-3.0 | 13,816 |
# -*- coding: utf-8 -*-
# Dioptas - GUI program for fast processing of 2D X-ray diffraction data
# Principal author: Clemens Prescher (clemens.prescher@gmail.com)
# Copyright (C) 2014-2019 GSECARS, University of Chicago, USA
# Copyright (C) 2015-2018 Institute for Geology and Mineralogy, University of Cologne, Germany
... | Dioptas/Dioptas | dioptas/controller/integration/phase/PhaseInCakeController.py | Python | gpl-3.0 | 5,615 |
/*
* Copyright (C) 2016-2022 phantombot.github.io/PhantomBot
*
* 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.
*
... | PhantomBot/PhantomBot | source/tv/phantombot/event/discord/channel/DiscordChannelPartEvent.java | Java | gpl-3.0 | 1,025 |
/*
* Copyright (C) 2014 The Android Open Source Project
*
* 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 app... | MTK6580/walkie-talkie | ALPS.L1.MP6.V2_HEXING6580_WE_L/alps/development/samples/Support7Demos/src/com/example/android/supportv7/app/ToolbarDisplayOptions.java | Java | gpl-3.0 | 4,827 |
<?php if(!defined('__XE__')) exit();
$xml_info = (object)(array(
'author' =>
array (
0 =>
(object)(array(
'name' => 'NAVER',
'email_address' => 'developers@xpressengine.com',
'homepage' => 'http://xpressengine.com/',
)),
),
'extra_vars' =>
(object)(array(
)),
'compon... | sazaam/oldworks | www/xe/test_xe/files/cache/editor/image_link.jp.php | PHP | gpl-3.0 | 607 |
namespace WOT.Stats
{
partial class ctxScreens
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <p... | Phalynx/WOT-Statistics | Solution/WOT.Stats/UserControls/ctxScreens.Designer.cs | C# | gpl-3.0 | 11,313 |
# -*- coding: utf-8 -*-
#
# MAVProxy documentation build configuration file, created by
# sphinx-quickstart on Wed Aug 19 05:17:36 2015.
#
# 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.
#
# ... | Georacer/last_letter | documentation/source/conf.py | Python | gpl-3.0 | 11,461 |
/*
Color.cs
This file is part of Morgan's CLR Advanced Runtime (MCART)
Author(s):
César Andrés Morgan <xds_xps_ivx@hotmail.com>
Copyright © 2011 - 2021 César Andrés Morgan
Morgan's CLR Advanced Runtime (MCART) is free software: you can redistribute it
and/or modify it under the terms of the GNU General Public... | TheXDS/MCART | src/Extensions/ComplexTypes/Types/Entity/Color.cs | C# | gpl-3.0 | 3,305 |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
An implementation of the time frequency phase misfit and adjoint source after
Fichtner et al. (2008).
:copyright:
Lion Krischer (krischer@geophysik.uni-muenchen.de), 2013
:license:
GNU General Public License, Version 3
(http://www.gnu.org/copyleft/gpl.html)... | Phlos/LASIF_scripts | lasif_code/ad_src_tf_phase_misfit.py | Python | gpl-3.0 | 13,183 |
package compiler;
import checker.Checker;
import checker.SemanticException;
import encoder.Encoder;
import parser.Parser;
import parser.SyntacticException;
import scanner.LexicalException;
import util.FileException;
import util.AST.Programa;
/**
* Compiler driver
* @version 2010-september-04
* @disci... | Drakmord2/rec-compiler | Compilador/src/compiler/Compiler.java | Java | gpl-3.0 | 3,268 |
package org.mariotaku.harmony.app;
import android.app.Application;
import android.content.Context;
import com.nostra13.universalimageloader.cache.disc.impl.UnlimitedDiscCache;
import com.nostra13.universalimageloader.core.ImageLoader;
import com.nostra13.universalimageloader.core.ImageLoaderConfiguration;
import com.n... | mariotaku/harmony | src/org/mariotaku/harmony/app/HarmonyApplication.java | Java | gpl-3.0 | 1,908 |
package net.marevalo.flowsmanager;
import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import android.widget.ImageView;
import android.widget.TextView;
import java.util.ArrayList;
public class CollectionAdapte... | marevalo/FlowsManager | app/src/main/java/net/marevalo/flowsmanager/CollectionAdapter.java | Java | gpl-3.0 | 1,955 |
<?php
/**
* @package Interspire eCommerce
* @copyright Copyright (C) 2015 Interspire Co.,Ltd. All rights reserved. (Interspire.vn)
* @credits See CREDITS.txt for credits and other copyright notices.
* @license GNU General Public License version 3; see LICENSE.txt
*/
// Heading
$_['heading_title'] = 'Int... | interspiresource/interspire | admin/language/en-GB/common/header.php | PHP | gpl-3.0 | 1,475 |
package web;
import entities.User;
import services.UserService;
import javax.inject.Inject;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java... | kostovhg/SoftUni | JavaWeb/JavaWebDevelopmentBasics/f_serverpages/demo/src/main/java/web/HomeServlet.java | Java | gpl-3.0 | 3,142 |
<?php
/*
Plugin Name: Like Buttons
Description: Adds Open Graph tags to your posts/pages/etc, adds a Facebook Like button to posts using simple Theme functions. Requires a Facebook Application ID (instructions are provided)
Author: Scott Taylor
Version: 0.4
Author URI: http://tsunamiorigami.com
*/
/**
* You must regi... | wp-plugins/like-buttons | like-buttons.php | PHP | gpl-3.0 | 4,584 |
import json
import random
import requests
from plugin import create_plugin
from message import SteelyMessage
HELP_STR = """
Request your favourite bible quotes, right to the chat.
Usage:
/bible - Random quote
/bible Genesis 1:3 - Specific verse
/bible help - This help text
Verses are specified in th... | sentriz/steely | steely/plugins/bible/main.py | Python | gpl-3.0 | 3,384 |
<?php
return [
/*
|--------------------------------------------------------------------------
| Backpack\CRUD preferences
|--------------------------------------------------------------------------
*/
/*
|------------
| CREATE & UPDATE
|------------
*/
// Where do you want... | lejubila/piGardenWeb | config/backpack/crud.php | PHP | gpl-3.0 | 21,893 |
package yuuto.quantumelectronics.transport.routing;
import net.minecraft.item.ItemStack;
public interface IItemDestination extends IItemRouter{
ItemStack insertItem(ItemStack stack, boolean simulate, boolean supplier);
boolean isSupplier();
}
| AnimeniacYuuto/QuantumElectronics | src/main/java/yuuto/quantumelectronics/transport/routing/IItemDestination.java | Java | gpl-3.0 | 250 |
<?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 ... | lsuits/Moodle-2.0-Plugin-for-Panopto | provision_course_internal.php | PHP | gpl-3.0 | 6,665 |
<?php
/*
* This file is part of MedShakeEHR.
*
* Copyright (c) 2020
* Bertrand Boutillier <b.boutillier@gmail.com>
* http://www.medshake.net
*
* MedShakeEHR 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 Foundat... | MedShake/MedShakeEHR-base | controlers/dropbox/actions/dropboxAjax.php | PHP | gpl-3.0 | 1,145 |
package io.github.notsyncing.lightfur.integration.jdbc;
import io.github.notsyncing.lightfur.annotations.entity.Column;
import java.lang.reflect.Field;
import java.lang.reflect.Modifier;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List... | notsyncing/lightfur | lightfur-integration-jdbc/src/main/java/io/github/notsyncing/lightfur/integration/jdbc/ReflectDataMapper.java | Java | gpl-3.0 | 2,099 |
package de.leif.ffmanagementsuite.service;
import de.leif.ffmanagementsuite.domain.Authority;
import de.leif.ffmanagementsuite.domain.User;
import de.leif.ffmanagementsuite.repository.AuthorityRepository;
import de.leif.ffmanagementsuite.config.Constants;
import de.leif.ffmanagementsuite.repository.UserRepository;
imp... | t08094a/ffManagementSuite | src/main/java/de/leif/ffmanagementsuite/service/UserService.java | Java | gpl-3.0 | 10,089 |
#!/usr/bin/env python
"""
This program decodes the Motorola SmartNet II trunking protocol from the control channel
Tune it to the control channel center freq, and it'll spit out the decoded packets.
In what format? Who knows.
Based on your AIS decoding software, which is in turn based on the gr-pager code and the... | bistromath/gr-smartnet | src/python/smartnet2decode.py | Python | gpl-3.0 | 13,591 |
/*
* Copyright (c) 2014 Washington State Department of Transportation
*
* 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 ver... | chrxn/wsdot-mobile-app | src/main/java/gov/wa/wsdot/mobile/client/activities/trafficmap/expresslanes/SeattleExpressLanesView.java | Java | gpl-3.0 | 1,634 |
/**
*
*/
package org.javahispano.javaleague.client.event;
import org.javahispano.javaleague.shared.domain.TacticUser;
import com.google.gwt.event.shared.GwtEvent;
/**
* @author adou
*
*/
public class UpdateTacticEvent extends GwtEvent<UpdateTacticEventHandler> {
public static Type<UpdateTacticEventHandler> T... | alfonsodou/javaLeagueBootstrap | src/org/javahispano/javaleague/client/event/UpdateTacticEvent.java | Java | gpl-3.0 | 721 |
/*
* HawkEye Redux
* Copyright (C) 2012-2013 Cubeville <http://www.cubeville.org> and contributors
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* ... | Cubeville/HawkEye-Redux | api/src/main/java/org/cubeville/hawkeye/config/ConfigurationNode.java | Java | gpl-3.0 | 7,970 |
# frozen_string_literal: true
FactoryBot.define do
factory :suite do
sequence(:number) { |n| "S#{n}" }
building
factory :suite_with_rooms do
transient do
rooms_count 1
end
after(:create) do |suite, e|
create_list(:single, e.rooms_count, suite: suite)
end
end
... | YaleSTC/vesta | spec/factories/suites.rb | Ruby | gpl-3.0 | 330 |
/*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that... | paolopavan/cfr | src/weka/gui/BEANS/TestSetEvent.java | Java | gpl-3.0 | 2,331 |
<?php
/*
Copyright 2012 the app framework - slattman@gmail.com
This file is part of the app framework.
The app framework 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
... | slattman/app | app/app.php | PHP | gpl-3.0 | 4,152 |
/***************************************************************************
$Id: KVBase.cpp,v 1.57 2009/04/22 09:38:39 franklan Exp $
kvbase.cpp - description
-------------------
begin : Thu May 16 2002
copyright : (C) 2002 by J... | jdfrankland/kaliveda | KVMultiDet/base/KVBase.cpp | C++ | gpl-3.0 | 43,851 |
package it.unibas.lunatic.model.chase.chasede.operators.mainmemory;
import it.unibas.lunatic.Scenario;
import it.unibas.lunatic.model.chase.chasede.operators.IReplaceDatabase;
import java.util.Iterator;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import speedy.model.algebra.operators.ITupleIterator;
impor... | donatellosantoro/Llunatic | lunaticEngine/src/it/unibas/lunatic/model/chase/chasede/operators/mainmemory/MainMemoryReplaceDatabase.java | Java | gpl-3.0 | 2,579 |
<?php defined('SYSPATH') OR die('No direct access allowed.');
class Facebook {
protected static $table_prefix = '';
public static function install()
{
$db_config = Kohana::$config->load('database');
$default = $db_config->get('default');
self::$table_prefix = $default['table_prefix'];
self::_sql();
... | ushahidi/Sweeper | plugins/facebook/classes/facebook.php | PHP | gpl-3.0 | 1,901 |
#include "network.h"
namespace network
{
bool can_reach_host (char const* host)
{
bool res = false;
if(SCNetworkReachabilityRef ref = SCNetworkReachabilityCreateWithName(kCFAllocatorDefault, host))
{
SCNetworkReachabilityFlags flags;
if(SCNetworkReachabilityGetFlags(ref, &flags))
{
if(flags & kSCN... | aarongraham9/TextMate | Frameworks/network/src/network.cc | C++ | gpl-3.0 | 432 |
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* This file incorporates work covered by the following lice... | qt-haiku/LibreOffice | qadevOOo/tests/java/ifc/sheet/_XDataPilotTables.java | Java | gpl-3.0 | 5,478 |
#include "RhythmComposerOS.h"
| onozuka/koblo_software | Products/Rythm_Composer/source/DigitalEcho.cpp | C++ | gpl-3.0 | 37 |
'use strict';
// Create the valorchat configuration
module.exports = function (io, socket) {
// Emit the status event when a new socket client is connected
io.emit('ValorchatMessage', {
type: 'status',
text: 'Is now connected',
created: Date.now(),
profileImageURL: socket.request.user.profileImageU... | AnnaGenev/pokeapp-meanjs | modules/valorchat/server/sockets/valorchat.server.socket.config.js | JavaScript | gpl-3.0 | 1,122 |
/////////////////////////////////////////////////////////////////////////////////
//
// Jobbox WebGUI
// Copyright (C) 2014-2015 Komatsu Yuji(Zheng Chuyu)
//
// 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 Softwa... | komatsuyuji/jobbox | frontends/public/app/store/HistJobunit.js | JavaScript | gpl-3.0 | 1,563 |
<?php
/*=======================================================================
PHP-Nuke Titanium v3.0.0 : Enhanced PHP-Nuke Web Portal System
=======================================================================*/
/************************************************************************/
/* PHP-NUKE: Advanc... | ernestbuffington/PHP-Nuke-Titanium | admin/case/case.authors.php | PHP | gpl-3.0 | 1,660 |
// @flow
import React from 'react';
import type { Trigger } from '../../Domain/Trigger';
import type { Maintenance } from '../../Domain/Maintenance';
import TriggerListItem from '../TriggerListItem/TriggerListItem';
import cn from './TriggerList.less';
type Props = {|
items: Array<Trigger>;
onChange?: (trigger... | sashasushko/moira-front | src/Components/TriggerList/TriggerList.js | JavaScript | gpl-3.0 | 1,197 |
# coding: utf-8
from django.contrib.auth.mixins import LoginRequiredMixin
from django.contrib.auth.mixins import UserPassesTestMixin
from django.views.generic import ListView
from django.views import View
from django.db.models import Q
import posgradmin.models as models
from posgradmin import authorization as auth
from... | sostenibilidad-unam/posgrado | posgradmin/posgradmin/views_academico.py | Python | gpl-3.0 | 17,170 |
#!/usr/bin/env ruby
#
require 'optparse'
module Roma
module Storage
end
Storage::autoload(:TCStorage,'roma/storage/tokyocabinet')
Storage::autoload(:DbmStorage,'roma/storage/dbm')
Storage::autoload(:SQLite3Storage,'roma/storage/sqlite3')
class KeyAccess
def initialize(argv)
options(argv)
... | roma/roma | lib/roma/tools/key_access.rb | Ruby | gpl-3.0 | 2,341 |
// Copyright Alex Holehouse 2011
// Distributed under the terms of the GNU general public license - see COPYING.txt for more details
#include "sbml_confInput.h"
#include <stdio.h>
#include <fstream>
#include <iostream>
#include <sstream>
#include <time.h>
#include <string>
#include <cstdlib>
#include <cstring>
#includ... | alexholehouse/SBMLIntegrator | src/sbml_confInput.cpp | C++ | gpl-3.0 | 47,810 |
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'src/ui/mainwindow.ui'
#
# Created: Fri Feb 15 16:08:54 2013
# by: PyQt4 UI code generator 4.9.3
#
# WARNING! All changes made in this file will be lost!
from PyQt4 import QtCore, QtGui
try:
_fromUtf8 = QtCore.QString.fromUtf8
exce... | itarozzi/classerman | src/ui/mainwindow_ui.py | Python | gpl-3.0 | 16,000 |
package com.autowp.canreader;
import android.content.Context;
import android.hardware.usb.UsbDevice;
import android.os.Build;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ArrayAdapter;
import android.widget.TextView;
import java.util.List;
/**
* ... | autowp/CANreader | app/src/main/java/com/autowp/canreader/UsbDeviceSpinnerAdapter.java | Java | gpl-3.0 | 2,360 |
/*
Copyright (C) 2009-2013 Bengt Martensson.
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 th... | bengtmartensson/IrpMaster | src/main/java/org/harctoolbox/IrpMaster/Wave.java | Java | gpl-3.0 | 25,136 |
# Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and contributors
# For license information, please see license.txt
import frappe
from frappe.model.document import Document
from frappe.website.utils import delete_page_cache
class Homepage(Document):
def validate(self):
if not self.description:
self.descrip... | mhbu50/erpnext | erpnext/portal/doctype/homepage/homepage.py | Python | gpl-3.0 | 801 |
/****************************************************************************
** Meta object code from reading C++ file 'stackencadenamientos.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.3.2)
**
** WARNING! All changes made in this file will be lost!
************************************************... | rudmanmrrod/mmcs | moc_stackencadenamientos.cpp | C++ | gpl-3.0 | 2,747 |
# (void)walker hardware platform support
# Copyright (C) 2012-2013 David Holm <dholmster@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... | dholm/voidwalker | voidwalker/framework/platform/cpu.py | Python | gpl-3.0 | 3,778 |
/*
* Copyright (c) 2018.
*
* This file is part of AvaIre.
*
* AvaIre 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.
*
* AvaI... | avaire/orion | src/main/java/com/avairebot/imagegen/colors/ranks/MountainRangeColors.java | Java | gpl-3.0 | 1,664 |
// ========================================================================= //
// Fighting game framework (2D) with online multiplayer.
// Copyright(C) 2014 Jordan Sparks <unixunited@live.com>
//
// This program is free software; you can redistribute it and / or
// modify it under the terms of the GNU General Public L... | unixunited/Fighting-Game-Framework-2D | LogImpl.hpp | C++ | gpl-3.0 | 1,798 |
# Copyright (c) 2010, Nathaniel Ritmeyer. All rights reserved.
#
# http://www.natontesting.com
#
# Save this in a file called 'unused.rb' in your 'features/support' directory. Then, to list
# all the unused steps in your project, run the following command:
#
# cucumber -d -f Cucumber::Formatter::Unused
#
# or...
#
# ... | IntersectAustralia/anznn | features/support/unused.rb | Ruby | gpl-3.0 | 807 |
package com.tiketal.overwatch.util;
import org.bukkit.Bukkit;
import org.bukkit.boss.BarColor;
import org.bukkit.boss.BarStyle;
import org.bukkit.boss.BossBar;
import org.bukkit.entity.Player;
public class DisplayBar {
private BossBar bar;
public DisplayBar(String name, String color, String style) {
color = co... | Tiketal/Overwatch | src/com/tiketal/overwatch/util/DisplayBar.java | Java | gpl-3.0 | 1,427 |
package mapproject;
import static helpers.Artist.*;
import org.newdawn.slick.opengl.Texture;
/**
* Clase que representa una celda individual del mapa
*
* @author Alba Ríos
*/
public class Tile {
private float x, y, width, height;
private Texture texture;
/**
*
* @param x Coordenada x de... | demiurgosoft/star-droids | StarDroids/src/mapproject/Tile.java | Java | gpl-3.0 | 1,477 |
class CreateRosters < ActiveRecord::Migration[4.2]
def change
create_table :rosters do |t|
t.belongs_to :roster_file
t.string :member_id
t.string :nam_first
t.string :nam_last
t.string :cp_pidsl
t.string :cp_name
t.string :aco_pidsl
t.string :aco_name
t.strin... | greenriver/hmis-warehouse | db/health/migrate/20191107163343_create_rosters.rb | Ruby | gpl-3.0 | 1,472 |
package com.abm.mainet.agency.dao;
import com.abm.mainet.agency.dto.TPAgencyReqDTO;
import com.abm.mainet.agency.dto.TPAgencyResDTO;
import com.abm.mainet.common.domain.Employee;
/**
* @author Arun.Chavda
*
*/
public interface AgencyRegistrationProcessDao {
Employee saveAgnEmployeeDetails(Employee... | abmindiarepomanager/ABMOpenMainet | Mainet1.1/MainetServiceParent/MainetServiceAgency/src/main/java/com/abm/mainet/agency/dao/AgencyRegistrationProcessDao.java | Java | gpl-3.0 | 464 |
# Author: seedboy
# URL: https://github.com/seedboy
#
# This file is part of SickRage.
#
# SickRage is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any la... | bcorbet/SickRage | sickbeard/providers/iptorrents.py | Python | gpl-3.0 | 11,284 |
from collections import defaultdict
class Solution(object):
def minWindow(self, S, T):
"""
:type S: str
:type T: str
:rtype: str
"""
pre = defaultdict(list)
for i, c in enumerate(T, -1):
pre[c].append(i)
for val in pre.values():
... | wufangjie/leetcode | 727. Minimum Window Subsequence.py | Python | gpl-3.0 | 1,035 |
#include "missile.h"
#include "../../ObjManager.h"
#include "../../autogen/sprites.h"
#include "../../caret.h"
#include "../../common/misc.h"
#include "../../game.h"
#include "../../player.h"
#include "../../sound/SoundManager.h"
#include "../../trig.h"
#include "weapons.h"
#define STATE_WAIT_RECOIL_OVER 1
#define ST... | isage/nxengine-evo | src/ai/weapons/missile.cpp | C++ | gpl-3.0 | 8,306 |
<?php defined('_JEXEC') or die('Restricted access'); // no direct access
//########## GET THE CSS NAME FOR SELECTED BULLET ##########//
if ($style == 3) $cssbullet = "bullet-trianglelight-jtmodule";
if ($style == 4) $cssbullet = "bullet-squarelight-jtmodule";
if ($style == 5) $cssbullet = "bullet-pluslight-j... | plexicloud/Plexicloud-Pleximedia | source/modules/mod_jomtube_categories/tmpl/default.php | PHP | gpl-3.0 | 3,243 |
// *****************************************************************************
// path3d.cpp Tao3D project
// *****************************************************************************
//
// File description:
//
// Representation of paths in 3D
//
//
//
//
/... | c3d/tao-3D | app/path3d.cpp | C++ | gpl-3.0 | 47,696 |
package org.w3c.dom.svg;
public interface SVGUnitTypes {
// Unit Types
public static final short SVG_UNIT_TYPE_UNKNOWN = 0;
public static final short SVG_UNIT_TYPE_USERSPACEONUSE = 1;
public static final short SVG_UNIT_TYPE_OBJECTBOUNDINGBOX = 2;
}
| srnsw/xena | plugins/image/ext/src/w3c-svg/src/org/w3c/dom/svg/SVGUnitTypes.java | Java | gpl-3.0 | 281 |
<?php
/* Copyright (C) 2002-2005 Rodolphe Quiedeville <rodolphe@quiedeville.org>
* Copyright (C) 2005 Simon TOSSER <simon@kornog-computing.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 Foundat... | ttingchan/MerchanDolibarr | htdocs/compta/ventilation/fournisseur/lignes.php | PHP | gpl-3.0 | 3,611 |
package org.se.lab;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.io.PrintWriter;
import java.util.ArrayList;
import java.util.Date;
import javax.servlet.ServletException;
import j... | teiniker/teiniker-lectures-securedesign | web-applications/access-control/session-management/Servlet-SessionManagement-ViewState/src/main/java/org/se/lab/ControllerServlet.java | Java | gpl-3.0 | 6,040 |