code stringlengths 3 1.01M | repo_name stringlengths 5 116 | path stringlengths 3 311 | language stringclasses 30
values | license stringclasses 15
values | size int64 3 1.01M |
|---|---|---|---|---|---|
using CatalokoService.Helpers.DTO;
using CatalokoService.Helpers.FacebookAuth;
using CatalokoService.Models;
using System;
using System.Web.Mvc;
namespace CatalokoService.Controllers
{
public class HomeController : Controller
{
CatalokoEntities bd = new CatalokoEntities();
public Action... | albertoroque/cataloko | service/CatalokoService/CatalokoService/Controllers/ClienteController/HomeController.cs | C# | gpl-3.0 | 439 |
var Util = require( 'findhit-util' );
// -----------------------------------------------------------------------------
// Data handles wizard data into session
function Data ( route ) {
var session = route.req[ route.router.options.reqSessionKey ];
// If there isn't a `wiz` object on session, just add it
... | brunocasanova/emvici-router | lib/type/wizard/control.js | JavaScript | gpl-3.0 | 1,035 |
using System;
namespace RadarrAPI
{
public class ErrorViewModel
{
public string RequestId { get; set; }
public bool ShowRequestId => !string.IsNullOrEmpty(RequestId);
}
} | jasonla/RadarrAPI.Update | src/RadarrAPI/Models/ErrorViewModel.cs | C# | gpl-3.0 | 200 |
/**
Copyright (C) 2012 Delcyon, Inc.
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 ... | jahnje/delcyon-capo | java/com/delcyon/capo/protocol/server/ClientRequestProcessorProvider.java | Java | gpl-3.0 | 1,024 |
<html>
<head>
<title>datypus</title>
<link rel="stylesheet" type="text/css" href="/css/datystyle.css">
<body>
<div class="chart"></div>
<script src="http://d3js.org/d3.v3.min.js" charset="utf-8"></script>
<script type="text/javascript">
var data = [4, 8, 15, ... | zbisch/platypus | index.html | HTML | gpl-3.0 | 738 |
/*
* 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/filters/unsupervised/attribute/ClusterMembership.java | Java | gpl-3.0 | 15,028 |
/*
* This file is part of *** M y C o R e ***
* See http://www.mycore.de/ for details.
*
* MyCoRe 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)... | MyCoRe-Org/mycore | mycore-base/src/main/java/org/mycore/util/concurrent/MCRPrioritySupplier.java | Java | gpl-3.0 | 3,156 |
<ion-header>
<ion-navbar>
<ion-title>Login</ion-title>
</ion-navbar>
</ion-header>
<ion-content padding>
<!-- Shows error message is socket is not connected. -->
<ion-item no-lines *ngIf="!loginManager.loginAvailable()">
<ion-label style="color: #ea6153">
Login service unavailable as cannot conn... | castlechef/words | ionic-app/WordsApp/src/pages/login/login.html | HTML | gpl-3.0 | 1,829 |
#include <iostream>
using namespace std;
int main() {
int n, x, y;
cin >> n;
int a[n];
for (int i = 0; i < n; ++i) {
cin >> a[i];
}
x = a[1] - a[0];
y = a[2] - a[0];
for (int i = 2; i < n; ++i) {
x = max(a[i] - a[i - 1], x);
y = min(a[i] - a[i - 2], y);
}
cout << max(x, y);
}
| yamstudio/Codeforces | 400/496A - Minimum Difficulty.cpp | C++ | gpl-3.0 | 309 |
<?php namespace PrivCode;
defined('ROOT_DIR') or die('Forbidden');
/**
* Base Model Class
*
* @package Priv Code
* @subpackage Libraries
* @category Libraries
* @author Supian M
* @link http://www.priv-code.com
*/
use PrivCode\Database\Database;
class BaseModel extends Database
{
public function __con... | SupianID/Framework | System/BaseModel.php | PHP | gpl-3.0 | 438 |
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package com.power.text.Run;
import static com.power.text.dialogs.WebSearch.squerry;
import java.awt.Desktop;
import java.awt.... | Thecarisma/powertext | Power Text/src/com/power/text/Run/WikiSearch.java | Java | gpl-3.0 | 2,201 |
/**
*
*/
package org.jbpt.pm.bpmn;
import org.jbpt.pm.IDataNode;
/**
* Interface class for BPMN Document.
*
* @author Cindy F�hnrich
*/
public interface IDocument extends IDataNode {
/**
* Marks this Document as list.
*/
public void markAsList();
/**
* Unmarks this Document as list.
*/
public ... | BPT-NH/jpbt | jbpt-bpm/src/main/java/org/jbpt/pm/bpmn/IDocument.java | Java | gpl-3.0 | 447 |
#include <QtGui/QApplication>
#include "xmlparser.h"
#include "myfiledialog.h"
#include <iostream>
#include <QMessageBox>
using namespace std;
int main(int argc, char *argv[])
{
QApplication a(argc, argv);/*
MainWindow w;
w.show();*/
MyFileDialog my;//Create dialog
QString name... | etf-sarajevo/etfimagesearch | XMLParser/main.cpp | C++ | gpl-3.0 | 512 |
//
// SuperTuxKart - a fun racing game with go-kart
// Copyright (C) 2004-2005 Steve Baker <sjbaker1@airmail.net>
// Copyright (C) 2006 Joerg Henrichs, Steve Baker
//
// 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 ... | langresser/stk | src/karts/controller/player_controller.hpp | C++ | gpl-3.0 | 3,156 |
// ArduinoJson - arduinojson.org
// Copyright Benoit Blanchon 2014-2019
// MIT License
#pragma once
#include "../Array/ArrayShortcuts.hpp"
#include "../Object/ObjectShortcuts.hpp"
namespace ARDUINOJSON_NAMESPACE {
template <typename TVariant>
class VariantShortcuts : public ObjectShortcuts<TVariant>,
... | felipehfj/Arduino | libraries/ArduinoJson/src/ArduinoJson/Operators/VariantShortcuts.hpp | C++ | gpl-3.0 | 724 |
// Mantid Repository : https://github.com/mantidproject/mantid
//
// Copyright © 2018 ISIS Rutherford Appleton Laboratory UKRI,
// NScD Oak Ridge National Laboratory, European Spallation Source
// & Institut Laue - Langevin
// SPDX - License - Identifier: GPL - 3.0 +
#ifndef VTKPEAKMARKERFACTORY_TEST_H_
#d... | mganeva/mantid | qt/paraview_ext/VatesAPI/test/vtkPeakMarkerFactoryTest.h | C | gpl-3.0 | 12,092 |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace SimpleDownload
{
public partial class Downloader : Form
{
public Downloader()
{
Initiali... | abdesslem/QuikDownloader | src/Downloader.cs | C# | gpl-3.0 | 618 |
/**
* 表示データ作成用テンプレート(patTemplate)
*
* LICENSE: This source file is licensed under the terms of the GNU General Public License.
*
* @package Magic3 Framework
* @author 平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
* @copyright Copyright 2006-2014 Magic3 Project.
* @license http://www.gnu.org/copyleft/... | magic3org/magic3 | widgets/s/simple_html/include/template/admin.tmpl.html | HTML | gpl-3.0 | 3,059 |
reopen
======
The Repo+Open Project Framework Manifest
license
-------
[GNU GENERAL PUBLIC LICENSE Version 3](http://www.gnu.org/licenses/gpl-3.0-standalone.html)
| tmc9031/reopen | README.md | Markdown | gpl-3.0 | 166 |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Ca... | kmorin/case-apps | 2017/Case.ReportGroupsByView/Case.ReportGroupsByView/Properties/AssemblyInfo.cs | C# | gpl-3.0 | 1,571 |
<?php
/*
* Micrositio-Phoenix v1.0 Software para gestion de la planeación operativa.
* PHP v5
* Autor: Prof. Jesus Antonio Peyrano Luna <antonio.peyrano@live.com.mx>
* Nota aclaratoria: Este programa se distribuye bajo los terminos y disposiciones
* definidos en la GPL v3.0, debidamente incluidos en el repositorio... | antonio-peyrano/micrositio | v1.1.0/php/frontend/colonias/busColonias.php | PHP | gpl-3.0 | 2,393 |
from numpy import sqrt
from pacal.standard_distr import NormalDistr, ChiSquareDistr
from pacal.distr import Distr, SumDistr, DivDistr, InvDistr
from pacal.distr import sqrt as distr_sqrt
class NoncentralTDistr(DivDistr):
def __init__(self, df = 2, mu = 0):
d1 = NormalDistr(mu, 1)
d2 = distr_sqrt(C... | ianmtaylor1/pacal | pacal/stats/noncentral_distr.py | Python | gpl-3.0 | 2,437 |
IWitness.ErrorsView = Ember.View.extend({
classNames: ["error-bubble"],
classNameBindings: ["isError"],
isError: function() {
return !!this.get("error");
}.property("error")
});
| djacobs/iWitness | app/views/errors_view.js | JavaScript | gpl-3.0 | 198 |
/*
* Copyright 2008-2013, ETH Zürich, Samuel Welten, Michael Kuhn, Tobias Langner,
* Sandro Affentranger, Lukas Bossard, Michael Grob, Rahul Jain,
* Dominic Langenegger, Sonia Mayor Alonso, Roger Odermatt, Tobias Schlueter,
* Yannick Stucki, Sebastian Wendland, Samuel Zehnder, Samuel Zihlmann,
* Samuel Zw... | kuhnmi/jukefox | JukefoxModel/src/ch/ethz/dcg/jukefox/model/collection/MapTag.java | Java | gpl-3.0 | 1,428 |
<?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 ... | mahalaxmi123/moodleanalytics | badges/action.php | PHP | gpl-3.0 | 5,588 |
/*
* Copyright (C) 2011 Klaus Reimer <k@ailis.de>
* See LICENSE.md for licensing information.
*/
package de.ailis.microblinks.l.lctrl.shell;
import gnu.getopt.Getopt;
import gnu.getopt.LongOpt;
import java.util.Arrays;
import de.ailis.microblinks.l.lctrl.resources.Resources;
/**
* Base class for all CLI progra... | microblinks/lctrl | src/main/java/de/ailis/microblinks/l/lctrl/shell/CLI.java | Java | gpl-3.0 | 4,729 |
/************************************************************************
**
** @file vistoolspline.cpp
** @author Roman Telezhynskyi <dismine(at)gmail.com>
** @date 18 8, 2014
**
** @brief
** @copyright
** This source code is part of the Valentina project, a pattern making
** program, whose allow c... | dismine/Valentina_git | src/libs/vtools/visualization/path/vistoolspline.cpp | C++ | gpl-3.0 | 8,739 |
<?php
/**
Copyright 2012-2014-2013 Nick Korbel
This file is part of Booked Scheduler.
Booked Scheduler is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any lat... | ksdtech/booked | Presenters/Admin/ManageConfigurationPresenter.php | PHP | gpl-3.0 | 8,379 |
#include <stdlib.h>
#include <stdio.h>
#include "array_heap.h"
int array_init(array* arr, int size) {
arr->data = realloc(NULL, sizeof(void*) * size);
if (0 == (size_t)arr->data) {
return -1;
}
arr->length = size;
arr->index = 0;
return 0;
}
int array_push(array* arr, void* data) {
((size_t*)arr->d... | kristov/vroom | module/array_heap.c | C | gpl-3.0 | 989 |
### Bienvenida
Hora de inicio: 09:12 a.m.
El Lic. Eduardo Holguín da la bienvenida y le concede la palabra al Arq. Rafael Pérez Fernández.
### Introducción
El Arq. Rafael Pérez Fernández expone los objetivos del Plan Estratégico Metropolitano.
Introducción por Lic. Rodrigo González Morales: Explicación de los res... | TRCIMPLAN/PEM | lib/Mesa2/CTDesarrolloSocialMinuta.md | Markdown | gpl-3.0 | 6,640 |
from ert.cwrap import CWrapper, BaseCClass
from ert.enkf import ENKF_LIB
from ert.util import StringList
class SummaryKeyMatcher(BaseCClass):
def __init__(self):
c_ptr = SummaryKeyMatcher.cNamespace().alloc()
super(SummaryKeyMatcher, self).__init__(c_ptr)
def addSummaryKey(self, key):
... | iLoop2/ResInsight | ThirdParty/Ert/devel/python/python/ert/enkf/summary_key_matcher.py | Python | gpl-3.0 | 1,882 |
<?php
/**
* @module wysiwyg Admin
* @version see info.php of this module
* @authors Dietrich Roland Pehlke
* @copyright 2010-2011 Dietrich Roland Pehlke
* @license GNU General Public License
* @license terms see info.php of this module
* @platform see info.php of this module
* @requirements PHP 5.2.x an... | LEPTON-project/LEPTON_1 | upload/modules/wysiwyg_admin/uninstall.php | PHP | gpl-3.0 | 1,358 |
#include <cmath>
#include <iostream>
#include <fstream>
#include <cstdlib>
#include "params.h"
#include "pdg_name.h"
#include "parameters.h"
#include "LeptonMass.h"
//#include "jednostki.h"
#include "grv94_bodek.h"
#include "dis_cr_sec.h"
#include "fragmentation.h"
#include "vect.h"
#include "charge.h"
#include "event1... | NuWro/nuwro | src/dis/dishadr.cc | C++ | gpl-3.0 | 6,276 |
package example;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.OutputStream;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import org.junit.Test;
import com.piedra.excel.annotation.ExcelExport;
import com.piedra.excel.util.ExcelExportor;
... | webinglin/excelExportor | src/test/java/example/ExcelExportorExample.java | Java | gpl-3.0 | 6,820 |
/***************************************************************************
* Project file: NPlugins - NCore - BasicHttpClient.java *
* Full Class name: fr.ribesg.com.mojang.api.http.BasicHttpClient *
* *
* ... | cnaude/NPlugins | NCore/src/main/java/fr/ribesg/com/mojang/api/http/BasicHttpClient.java | Java | gpl-3.0 | 2,563 |
/*
Fomalhaut
Copyright (C) 2014 mtgto
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... | mtgto/Fomalhaut | FomalhautOSX/FomalhautOSX/RoutingConnection+Secure.h | C | gpl-3.0 | 761 |
#!/usr/bin/env node
/*jshint -W100*/
'use strict';
/**
* ニコニコ動画ログインサンプル
*
* 以下のusernameとpasswordを書き換えてから実行してください
*/
var username = 'hogehoge';
var password = 'fugafuga';
var client = require('../index');
console.info('ニコニコTOPページにアクセスします');
client.fetch('http://nicovideo.jp/')
.then(function (result) {
consol... | tohshige/test | express/example/niconico.js | JavaScript | gpl-3.0 | 1,404 |
// Copyright (c) 2018 - 2020, Marcin Drob
// Kainote 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.
// Kainote is distribut... | bjakja/Kainote | Kaiplayer/LogHandler.h | C | gpl-3.0 | 1,722 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_66) on Sat Nov 28 10:51:55 EST 2015 -->
<title>VariableQuantumIndexWriter (MG4J (big) 5.4.1)</title>
<meta name="date" content="2015-11-28">
<l... | JC-R/mg4j | docs/it/unimi/di/big/mg4j/index/VariableQuantumIndexWriter.html | HTML | gpl-3.0 | 10,581 |
#!/usr/bin/python
# coding: utf8
import os
import subprocess
from '{% if cookiecutter.namespace %}{{ cookiecutter.namespace }}.{{ cookiecutter.project_slug }}{% else %}{{ cookiecutter.project_slug }}{% endif %}'.commands.base import BaseCommand
from '{% if cookiecutter.namespace %}{{ cookiecutter.namespace }}.{{ cooki... | antoinedube/numeric-cookiecutter | {{cookiecutter.namespace+'.'+cookiecutter.project_slug}}/{{cookiecutter.project_slug}}/commands/configure.py | Python | gpl-3.0 | 571 |
<a href
tabindex="-1"
ng-attr-title="{{match.label}}">
<span ng-bind-html="match.label.artist | uibTypeaheadHighlight:query"></span>
<br>
<small ng-bind-html="match.label.title | uibTypeaheadHighlight:query"></small>
</a>
| prismsoundzero/delicious-library-template | prismsoundzero.libraryhtmltemplate/Contents/Template/html/item-match.html | HTML | gpl-3.0 | 240 |
package Eac.event;
import Eac.Eac;
import cpw.mods.fml.common.eventhandler.SubscribeEvent;
import cpw.mods.fml.common.gameevent.PlayerEvent;
import net.minecraft.item.ItemStack;
public class EacOnItemPickup extends Eac {
@SubscribeEvent
public void EacOnItemPickup(PlayerEvent.ItemPickupEvent e) {
if (... | EacMods/Eac | src/main/java/Eac/event/EacOnItemPickup.java | Java | gpl-3.0 | 596 |
class PasswordResetsController < ApplicationController
def new
end
def create
@user = User.find_by_email(params[:email])
if @user
@user.deliver_reset_password_instructions!
redirect_to root_path, notice: 'Instructions have been sent to your email.'
else
flash.now[:alert] = "Sorry bu... | armoin/edinburgh_collected | app/controllers/password_resets_controller.rb | Ruby | gpl-3.0 | 1,003 |
/*
* Copyright 2011 Mect s.r.l
*
* This file is part of FarosPLC.
*
* FarosPLC 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.... | MECTsrl/ATCMcontrol_RunTimeSystem | inc/BuildNr.h | C | gpl-3.0 | 809 |
//
// DetailViewController.h
// ScrollView+PaperFold+PageControl
//
// Created by Jun Seki on 13/06/2014.
// Copyright (c) 2014 Poq Studio. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "PaperFoldView.h"
#import "SwipeView.h"
@interface DetailViewController : UIViewController <UISplitViewControllerDeleg... | kiddomk/ScrollView-PaperFold-PageControl | ScrollView+PaperFold+PageControl/DetailViewController.h | C | gpl-3.0 | 805 |
/*
* This file is part of gap.
*
* gap is free software: you can redistribute it and/or modify
* under the terms of the GNU General Public License as published by
* Free Software Foundation, either version 3 of the License, or
* your option) any later version.
*
* gap is distributed in the hope that it will be ... | mattia-barbaresi/gap | src/opt.h | C | gpl-3.0 | 1,643 |
// Copyright 2020 ETH Zurich. All Rights Reserved.
#pragma once
#include "real.h"
#include <mirheo/core/mesh/membrane.h>
#include <mirheo/core/pvs/object_vector.h>
#include <mirheo/core/pvs/views/ov.h>
#include <mirheo/core/utils/cpu_gpu_defines.h>
#include <mirheo/core/utils/cuda_common.h>
#include <mirheo/core/util... | dimaleks/uDeviceX | src/mirheo/core/interactions/membrane/force_kernels/common.h | C | gpl-3.0 | 2,010 |
/**
* Copyright (c) 2013 Jad
*
* This file is part of Jad.
* Jad 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.
*
* Jad is d... | fg-netzwerksicherheit/jaddemo | src/de/fhffm/jad/demo/jad/DataFrame.java | Java | gpl-3.0 | 2,330 |
/* This file is part of F3TextViewerFX.
*
* F3TextViewerFX 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.
*
* F3TextViewerFX ... | rindPHI/F3TextViewerFX | src/de/dominicscheurer/quicktxtview/view/FileViewerController.java | Java | gpl-3.0 | 9,526 |
object rec{
def main(args: Array[String]){
def factorial(num: Int): BigInt={
if(num<=1){
1
}
else{
num*factorial(num-1)
}
}
print("Factorial of 4 is: "+factorial(4))
}
}
| Jargon4072/DS-ALGO_implementations | scala/rec.scala | Scala | gpl-3.0 | 227 |
Ext.define("Voyant.notebook.util.Embed", {
transferable: ['embed'],
embed: function() { // this is for instances
embed.apply(this, arguments);
},
constructor: function(config) {
var me = this;
},
statics: {
i18n: {},
api: {
embeddedParameters: undefined,
embeddedConfig: undefined
},
embed: funct... | sgsinclair/Voyant | src/main/webapp/app/notebook/util/Embed.js | JavaScript | gpl-3.0 | 5,429 |
<!--
This test case covers the following situation:
1. an open tag for a void element
2. the next token is a close tag that does not match (1)
-->
<html><head><basefont color="blue"></head><body></body></html>
| rhdunn/cainteoir-engine | tests/html/tree-construction/4-in-head~basefont/self-closing.html | HTML | gpl-3.0 | 213 |
//===========================================================================
// Summary:
// IDPKDocÊǸºÔðÎĵµ´ò¿ª£¬»ñÈ¡ÎĵµÒ»Ð©ÊôÐԵĽӿÚÀà¡£
// Usage:
// ʹÓÃDPK_CreateDoc½øÐд´½¨£¬Ê¹ÓÃDPK_DestoryDocÏú»Ù¡£
// Remarks:
// Null
// Date:
// 2011-9-15
// Author:
// Zhang JingDan (zhangjingdan@duokan.com)
... | stevezuoli/OriginApp | Kernel/include/PDFKit/PDFLib/IDKPDoc.h | C | gpl-3.0 | 6,829 |
TV Series API
=========
TV Series API is developed to make it easier for anyone to feed their own versions of [Popcorn Time CE](https://github.com/PopcornTime-CE/desktop).
It contains:
- Metadata about TV Shows and individual episodes (taken from Trakt)
- Multiple quality magnet links for every episode
- Abili... | hezag/tvseries-api | README.md | Markdown | gpl-3.0 | 6,813 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CustomWallsAndFloorsRedux
{
public class Settings
{
public List<Animation> AnimatedTiles { get; set; } = new List<Animation>();
}
}
| Platonymous/Stardew-Valley-Mods | CustomWallsAndFloorsRedux/Settings.cs | C# | gpl-3.0 | 282 |
/*
* Copyright (C) 2006-2009 Daniel Prevost <dprevost@photonsoftware.org>
*
* This file is part of Photon (photonsoftware.org).
*
* This file may be distributed and/or modified under the terms of the
* GNU General Public License version 2 or version 3 as published by the
* Free Software Foundation and appearing... | dprevost/photon | src/Common/Tests/Options/IsShortPresentNullHandle.c | C | gpl-3.0 | 2,353 |
<?php
/**
* Kunena Component
* @package Kunena.Template.Crypsis
* @subpackage Layout.Announcement
*
* @copyright (C) 2008 - 2016 Kunena Team. All rights reserved.
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
* @link http://www.kunena.org
**/
defined('_JEXEC') or die;
$row = $this->... | fxstein/Kunena-Forum | components/com_kunena/site/template/crypsisb3/layouts/announcement/list/row/default.php | PHP | gpl-3.0 | 1,524 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>TAU \ Language (API) \ Processing 2+</title>
<link rel="icon" href="/favicon.ico" type="image/x-icon" />
<meta http-equ... | SebastianFath/3-axis-Gimbal.Arduino | processing-3.0.1/modes/java/reference/TAU.html | HTML | gpl-3.0 | 6,710 |
/* ============================================================
* QupZilla - WebKit based browser
* Copyright (C) 2010-2014 David Rosca <nowrep@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 ... | ThaFireDragonOfDeath/qupzilla | src/lib/adblock/adblockicon.h | C | gpl-3.0 | 1,738 |
// opening-tag.hpp
// Started 14 Aug 2018
#pragma once
#include <string>
#include <boost/spirit/include/qi.hpp>
namespace client {
// namespace fusion = boost::fusion;
// namespace phoenix = boost::phoenix;
namespace qi = boost::spirit::qi;
namespace ascii = boost::spirit::ascii;
template<typename Iterator>
str... | Lester-Dowling/studies | C++/boost/spirit/Mini-XML-2017/Unit-Tests/opening-tag.hpp | C++ | gpl-3.0 | 778 |
// Mantid Repository : https://github.com/mantidproject/mantid
//
// Copyright © 2018 ISIS Rutherford Appleton Laboratory UKRI,
// NScD Oak Ridge National Laboratory, European Spallation Source
// & Institut Laue - Langevin
// SPDX - License - Identifier: GPL - 3.0 +
#ifndef MANTID_TESTMESHOBJECT__
#define... | mganeva/mantid | Framework/Geometry/test/MeshObjectTest.h | C | gpl-3.0 | 45,834 |
//: pony/PartyFavor.java
package pokepon.pony;
import pokepon.enums.*;
/** Party Favor
* Good def and spa, lacks Hp and Speed
*
* @author silverweed
*/
public class PartyFavor extends Pony {
public PartyFavor(int _level) {
super(_level);
name = "Party Favor";
type[0] = Type.LAUGHTER;
type[1] = Type... | silverweed/pokepon | pony/PartyFavor.java | Java | gpl-3.0 | 654 |
using System;
namespace GalleryServerPro.Business.Interfaces
{
/// <summary>
/// A collection of <see cref="IUserAccount" /> objects.
/// </summary>
public interface IUserAccountCollection : System.Collections.Generic.ICollection<IUserAccount>
{
/// <summary>
/// Gets a list of user names for accounts in the ... | bambit/BGallery | TIS.GSP.Business.Interfaces/IUserAccountCollection.cs | C# | gpl-3.0 | 5,022 |
var Base = require("./../plugin");
module.exports = class extends Base {
isDisableSelfAttackPriority(self, rival) {
return true;
}
isDisableEnemyAttackPriority(self, rival) {
return true;
}
} | ssac/feh-guide | src/models/seal/hardy_bearing_3.js | JavaScript | gpl-3.0 | 208 |
//////////////////////////////////////////////////
// JIST (Java In Simulation Time) Project
// Timestamp: <EntityRef.java Sun 2005/03/13 11:10:16 barr rimbase.rimonbarr.com>
//
// Copyright (C) 2004 by Cornell University
// All rights reserved.
// Refer to LICENSE for terms and conditions of use.
package jist.runtim... | jbgi/replics | swans/jist/runtime/EntityRef.java | Java | gpl-3.0 | 6,768 |
#!/usr/bin/env python
"""The setup and build script for the python-telegram-bot library."""
import codecs
import os
from setuptools import setup, find_packages
def requirements():
"""Build the requirements list for this project"""
requirements_list = []
with open('requirements.txt') as requirements:
... | txemagon/1984 | modules/Telegram-bot-python/setup.py | Python | gpl-3.0 | 2,168 |
#!/bin/bash -e
. ../../../blfs.comm
build_src() {
srcfil=URI-1.65.tar.gz
srcdir=URI-1.65
build_standard_perl_module
}
gen_control() {
cat > $DEBIANDIR/control << EOF
$PKGHDR
Description: Uniform Resource Identifiers (absolute and relative)
This module implements the URI class. Objects of this class represent
"Unifo... | fangxinmiao/projects | Architeture/OS/Linux/Distributions/LFS/build-scripts/blfs-7.6-systemv/p/perl-modules/URI-1.65/build.sh | Shell | gpl-3.0 | 865 |
package se.sics.asdistances;
import se.sics.asdistances.ASDistances;
import java.io.IOException;
import java.util.logging.Level;
import java.util.logging.Logger;
import org.junit.*;
/**
*
* @author Niklas Wahlén <nwahlen@kth.se>
*/
public class ASDistancesTest {
ASDistances distances = null;
public ASDis... | jimdowling/gvod | bootstrap/ISPFriendliness-Distances/src/test/java/se/sics/asdistances/ASDistancesTest.java | Java | gpl-3.0 | 796 |
#include "cmilitwostateselect.h"
#include "ui_cmilitwostateselect.h"
#include "cengine.h"
#include "ctextout.h"
void CMili2McuController::DoUpdateLogicView(const CEngineModel *engine) {
if (engine->CurrentMcuType() == CEngineModel::MILI_MCU)
mView->UpdateLogicView(engine);
}
void CMili2McuController::DoU... | mmshihov/microcode | cmilitwostateselect.cpp | C++ | gpl-3.0 | 4,032 |
#creativeblock {
clear:both;
border-bottom: 1px #1d649d solid;
border: 5px solid #f1f1f1;
padding: 1%;
margin: 1%;
}
#feaimg img{
width: 30%;
float:left;
padding-right: 2%;
}
#featitle {
font-size: larger;
font-weight: bold;
color: #1d649d;
}
#featitle a {
color: #1d649d;
}
#feacontent {
}
#feacontent a {
color: #1d6... | jessicaleemraz/mindshare-wp-code-review | css/style.css | CSS | gpl-3.0 | 326 |
/*********************************************************
*********************************************************
** DO NOT EDIT **
** **
** THIS FILE AS BEEN GENERATED AUTOMATICALLY **
** BY UPA PORTABLE GEN... | thevpc/upa | upa-impl-core/src/main/csharp/Sources/Auto/Event/UpdateFormulaObjectEventCallback.cs | C# | gpl-3.0 | 2,055 |
/* -*- c++ -*- */
/*
* Copyright 2019-2020 Daniel Estevez <daniel@destevez.net>
*
* This file is part of gr-satellites
*
* SPDX-License-Identifier: GPL-3.0-or-later
*
*/
#ifndef INCLUDED_SATELLITES_DISTRIBUTED_SYNCFRAME_SOFT_IMPL_H
#define INCLUDED_SATELLITES_DISTRIBUTED_SYNCFRAME_SOFT_IMPL_H
#include <satelli... | daniestevez/gr-satellites | lib/distributed_syncframe_soft_impl.h | C | gpl-3.0 | 1,024 |
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
/* */
/* This file is part of the program and library */
/* SCIP --- Solving Constraint Integer Programs */
... | LiangliangNan/PolyFit | 3rd_scip/scip/struct_concsolver.h | C | gpl-3.0 | 5,663 |
class Cartridge : property<Cartridge> {
public:
enum class Mode : unsigned {
Normal,
BsxSlotted,
Bsx,
SufamiTurbo,
SuperGameBoy,
};
enum class Region : unsigned {
NTSC,
PAL,
};
//assigned externally to point to file-system datafiles (msu1 and serial)
//example: "/path/to/filena... | grim210/defimulator | defimulator/snes/cartridge/cartridge.hpp | C++ | gpl-3.0 | 2,519 |
<?php
namespace Schatz\CrmBundle\Controller\Leads;
use Schatz\CrmBundle\Constants\ContactStatusConstants;
use Schatz\CrmBundle\Constants\ContactTypeConstants;
use Schatz\GeneralBundle\Constants\PermissionsConstants;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
class LeadsController extends Controller
{
... | edoschatz/taskada | src/Schatz/CrmBundle/Controller/Leads/LeadsController.php | PHP | gpl-3.0 | 4,047 |
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('account', '0003_remove_userprofile_is_check'),
]
operations = [
migrations.RemoveField(
model_name='userprofile'... | yangxianbo/jym | account/migrations/0004_auto_20160525_1032.py | Python | gpl-3.0 | 591 |
#pragma once
#include "storm/storage/memorystructure/NondeterministicMemoryStructure.h"
namespace storm {
namespace storage {
enum class NondeterministicMemoryStructurePattern { Trivial, FixedCounter, SelectiveCounter, FixedRing, SelectiveRing, SettableBits, Full };
std::string toString(NondeterministicMemoryStruct... | moves-rwth/storm | src/storm/storage/memorystructure/NondeterministicMemoryStructureBuilder.h | C | gpl-3.0 | 2,271 |
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package nl.hyranasoftware.githubupdater.domain;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import java.util.Objects... | eternia16/javaGithubUpdater | src/main/java/nl/hyranasoftware/githubupdater/domain/Asset.java | Java | gpl-3.0 | 3,243 |
/*****************************************************************************
The Dark Mod GPL Source Code
This file is part of the The Dark Mod Source Code, originally based
on the Doom 3 GPL Source Code as published in 2011.
The Dark Mod Source Code is free software: you can redistribute ... | Extant-1/ThieVR | game/Http/HttpRequest.h | C | gpl-3.0 | 2,733 |
ModX Revolution 2.5.0 = 88d852255e0a3c20e3abb5ec165b5684
ModX Revolution 2.3.3 = 5137fe8eb650573a752775acc90954b5
ModX Revolution 2.3.2 = 2500d1a81dd43e7e9f4a11e1712aeffb
MODX Revolution 2.2.8 = cc299e05ed6fb94e4d9c4144bf553675
MODX Revolution 2.5.2 = f87541ee3ef82272d4442529fee1028e
| gohdan/DFC | known_files/hashes/manager/controllers/default/resource/update.class.php | PHP | gpl-3.0 | 285 |
#include "RocksIndex.hh"
#include <stdlib.h>
#include <iostream>
// Get command line arguments for array size (100M) and number of trials (1M)
void arrayArgs(int argc, char* argv[], objectId_t& asize, int& reps) {
asize = (argc>1) ? strtoull(argv[1], 0, 0) : 100000000;
reps = (argc>2) ? strtol(argv[2], 0, 0) :... | kelseymh/secindex_proto | rocksdb-index.cc | C++ | gpl-3.0 | 706 |
###
# Copyright 2016 - 2022 Green River Data Analysis, LLC
#
# License detail: https://github.com/greenriver/hmis-warehouse/blob/production/LICENSE.md
###
module Reports::SystemPerformance::Fy2015
class MeasureThree < Base
end
end
| greenriver/hmis-warehouse | app/models/reports/system_performance/fy2015/measure_three.rb | Ruby | gpl-3.0 | 237 |
#!/usr/bin/env bash
. test_common.sh
id=process
rm -f $id.out
ln -s "$test_base/test/$id.data.in" . 2>/dev/null
test_server_start $id test
pid=$!
hector_client_set PE_test.run 1
hector_client -c "PROCESS PE_test" $HECTOR_HOST <$id.data.in >$id.data.out
hector_client_wait M_simple[0].items 1000
hector_client_set PE_te... | qiq/hector_core | test/process.sh | Shell | gpl-3.0 | 475 |
<?php
/* ----------------------------------------------------------------------
* app/controllers/find/AdvancedSearchObjectsController.php : controller for "advanced" object search request handling
* ----------------------------------------------------------------------
* CollectiveAccess
* Open-source collections ... | bruceklotz/providence-with-Backup | app/controllers/find/SearchObjectsAdvancedController.php | PHP | gpl-3.0 | 5,413 |
/*
* OpenSplice DDS
*
* This software and documentation are Copyright 2006 to 2012 PrismTech
* Limited and its licensees. All rights reserved. See file:
*
* $OSPL_HOME/LICENSE
*
* for full copyright notice and license terms.
*
*/
/**
* @file
*/
#ifndef ORG_OPENSPLI... | SanderMertens/opensplice | src/api/dcps/isocpp/include/org/opensplice/core/policy/CorePolicy.hpp | C++ | gpl-3.0 | 28,610 |
<?php
/**
* WoWRoster.net WoWRoster
*
* AddOn installer
*
* @copyright 2002-2011 WoWRoster.net
* @license http://www.gnu.org/licenses/gpl.html Licensed under the GNU General Public License v3.
* @package WoWRoster
* @subpackage RosterCP
*/
if( !defined('IN_ROSTER') || !defined('IN_ROSTER_ADMIN') )
{
... | WoWRoster/wowroster_dev | admin/addon_install.php | PHP | gpl-3.0 | 21,161 |
# odoo_ml_quality_module | r-castro/odoo_ml_quality_module | README.md | Markdown | gpl-3.0 | 24 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html><head><title></title>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta name="generator" content="Doxygen 1.8.6">
<link rel="stylesheet" type="text/css" href="search.c... | Nitrosito/ED | Practicas/Practica2/source/html/search/typedefs_1.html | HTML | gpl-3.0 | 1,019 |
<?php
namespace Paged;
/**
* Выводит список как маркерованный
*
* @category Basic library
* @package Paged
* @author Peter S. Gribanov <info@peter-gribanov.ru>
* @version 4.0 SVN: $Revision$
* @since $Date$
* @link $HeadURL$
* @link http://peter-gribanov.ru/#open-source/paged/paged_4-x
* ... | peter-gribanov/php-paged | classes/views/ViewList.php | PHP | gpl-3.0 | 1,223 |
import io
import openpyxl
from django.test import (
Client, TestCase
)
from django.urls import reverse
from core.models import (
User, Batch, Section, Election, Candidate, CandidateParty,
CandidatePosition, Vote, VoterProfile, Setting, UserType
)
class ResultsExporter(TestCase):
"""
Tests the r... | seanballais/botos | tests/test_results_exporter_view.py | Python | gpl-3.0 | 18,942 |
/*
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
any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; wit... | FHust/ISEAFramework | src/geometry/unit_vector.cpp | C++ | gpl-3.0 | 760 |
<?php
/**
@package JobBoard
@copyright Copyright (c)2010-2013 Figomago <http://figomago.wordpress.com> <http://figomago.wordpress.com>
@license : GNU General Public License v3 or later
----------------------------------------------------------------------- */
defined('_JEXEC') or die('Restricted access');
requir... | figomago/joomla-jobboard | pkg_jobboard_1.2.7.1_lite/site/views/list/view.feed.php | PHP | gpl-3.0 | 4,860 |
/*
Copyright © 2017 the InMAP authors.
This file is part of InMAP.
InMAP 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.
InMAP is distribut... | spatialmodel/inmap | emissions/slca/eieio/spatialemis.go | GO | gpl-3.0 | 6,205 |
<?php
class ControllerTotalShipping extends Controller {
private $error = array();
public function index() {
$this->load->language('total/shipping');
$this->document->setTitle($this->language->get('heading_title'));
$this->load->model('setting/setting');
if (($this->request->server['R... | stan-bg/opencart | upload/admin/controller/total/shipping.php | PHP | gpl-3.0 | 3,431 |
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2014.08.02 at 08:05... | ramsodev/DitaManagement | dita/dita.concept/src/net/ramso/dita/concept/SynblkClass.java | Java | gpl-3.0 | 14,623 |
<?php
/*
Extension:Moderation - MediaWiki extension.
Copyright (C) 2020 Edward Chernenko.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) a... | edwardspec/mediawiki-moderation | tests/phpunit/consequence/RejectOneConsequenceTest.php | PHP | gpl-3.0 | 3,757 |
/*
* Copyright (C) 2013-2017 52°North Initiative for Geospatial Open Source
* Software GmbH
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 as published
* by the Free Software Foundation.
*
* If the program is linked with ... | ridoo/dao-series-api | dao/src/main/java/org/n52/series/db/beans/parameter/Parameter.java | Java | gpl-3.0 | 2,458 |
/* glpapi16.c (basic graph and network routines) */
/***********************************************************************
* This code is part of GLPK (GNU Linear Programming Kit).
*
* Copyright (C) 2000,01,02,03,04,05,06,07,08,2009 Andrew Makhorin,
* Department for Applied Informatics, Moscow Aviation Institute,... | macmanes-lab/BinPacker | glpk-4.40/src/glpapi16.c | C | gpl-3.0 | 18,723 |
#pragma once
#ifndef ENGINE_MESH_SKELETON_H
#define ENGINE_MESH_SKELETON_H
class Mesh;
class SMSH_File;
struct MeshCPUData;
struct MeshNodeData;
struct MeshRequest;
namespace Engine::priv {
class PublicMesh;
class MeshImportedData;
class MeshLoader;
class ModelInstanceAnimation;
class ModelI... | mstubinis/Serenity | SerenityLib/include/serenity/resources/mesh/animation/Skeleton.h | C | gpl-3.0 | 3,682 |
package com.mortensickel.measemulator;
// http://maps.google.com/maps?q=loc:59.948509,10.602627
import com.google.android.gms.common.api.*;
import android.content.Context;
import android.text.*;
import android.app.Activity;
import android.os.Bundle;
import android.os.Handler;
import android.view.View;
import android.wi... | sickel/measem | app/src/main/java/com/mortensickel/measemulator/MainActivity.java | Java | gpl-3.0 | 13,932 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.