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 |
|---|---|---|---|---|---|
// OpenCppCoverage is an open source code coverage for C++.
// Copyright (C) 2014 OpenCppCoverage
//
// 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
// an... | OpenCppCoverage/OpenCppCoveragePlugin | VSPackage/OutputWindowWriter.cs | C# | gpl-3.0 | 2,517 |
#!/usr/bin/python
# -*- coding: utf-8 -*-
# (c) 2012, Michael DeHaan <michael.dehaan@gmail.com>
# 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
DOCUMENTATION = '''
---
module: git
autho... | dmsimard/ansible | lib/ansible/modules/git.py | Python | gpl-3.0 | 53,677 |
<?php
/**************************************************************************/
/* PHP-NUKE: Advanced Content Management System */
/* ============================================ */
/* */
/* Th... | TGates71/PNPv1-Languages | PNPv101-lang-english/modules/MetAuthors/language/lang-english.php | PHP | gpl-3.0 | 3,154 |
/*
This file is part of SpatGRIS.
Developers: Samuel Béland, Olivier Bélanger, Nicolas Masson
SpatGRIS 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... | GRIS-UdeM/spatServerGRIS | Source/sg_AbstractSliceComponent.cpp | C++ | gpl-3.0 | 1,548 |
#include "main/SimpleCardProtocol.hh"
#include "bridge/BridgeConstants.hh"
#include "bridge/CardShuffle.hh"
#include "bridge/CardType.hh"
#include "bridge/Position.hh"
#include "engine/SimpleCardManager.hh"
#include "main/Commands.hh"
#include "main/PeerCommandSender.hh"
#include "messaging/CardTypeJsonSerializer.hh"
... | jasujm/bridge | src/main/SimpleCardProtocol.cc | C++ | gpl-3.0 | 4,231 |
#define BOOST_TEST_MODULE sugar_integration_tests
#include <boost/test/included/unit_test.hpp>
| vancleve/fwdpp | testsuite/integration/sugar_integration_tests.cc | C++ | gpl-3.0 | 95 |
// 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 +
//-------------------------------------... | mganeva/mantid | Framework/DataHandling/src/RemoveLogs.cpp | C++ | gpl-3.0 | 2,988 |
/**
* file mirror/doc/factory_generator.hpp
* Documentation only header
*
* @author Matus Chochlik
*
* Copyright 2008-2010 Matus Chochlik. Distributed under the Boost
* Software License, Version 1.0. (See accompanying file
* LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
*/
#ifndef MIR... | firestarter/firestarter | redist/mirror-lib/mirror/doc/factory_generator.hpp | C++ | gpl-3.0 | 12,717 |
namespace GemsCraft.Entities.Metadata.Flags
{
public enum TameableFlags: byte
{
IsSitting = 0x01,
/// <summary>
/// Only used with wolves
/// </summary>
IsAngry = 0x02,
IsTamed = 0x04
}
}
| apotter96/GemsCraft | GemsCraft/Entities/Metadata/Flags/TameableFlags.cs | C# | gpl-3.0 | 251 |
import React from 'react';
import { connect } from 'react-redux';
import { View, Text, FlatList } from 'react-native';
import sb from 'react-native-style-block';
import dateHelper from '@shared/utils/date-helper';
import appConfig from '../config.app';
import ConvItem from '../components/ConvItem';
import { reloadConve... | TRPGEngine/Client | src/app/src/screens/HomeScreen.tsx | TypeScript | gpl-3.0 | 4,755 |
import java.io.BufferedReader;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;
public class ReadSavedData
{
public static void StartRead() throws IOException
{
FileReader file = new FileReader("C:/Users/Public/Documents/SavedData.txt");
BufferedReader rea... | uSirPatrick/IPCalcGUI | IPCalc2/src/ReadSavedData.java | Java | gpl-3.0 | 556 |
class ApplicationController < ActionController::Base
class ForbiddenException < StandardError; end
protect_from_forgery
before_filter :set_locale
before_filter :authenticate_user!
layout :get_layout
def set_locale
I18n.locale = params[:locale] || I18n.default_locale
end
def get_layout
if !use... | autohome/autohome-web | app/controllers/application_controller.rb | Ruby | gpl-3.0 | 650 |
/**
* Copyright 2010 David Froehlich <david.froehlich@businesssoftware.at>,
* Samuel Kogler <samuel.kogler@gmail.com>,
* Stephan Stiboller <stistc06@htlkaindorf.at>
*
* This file is part of Codesearch.
*
* Codesearch is free software: you can redistribute it and/or modify
* i... | codesearch-github/codesearch | src/custom-libs/Codesearch-JHighlight/src/main/java/com/uwyn/jhighlight/pcj/hash/CharHashFunction.java | Java | gpl-3.0 | 1,832 |
using System;
using System.Diagnostics;
using System.Text;
using System.Windows.Forms;
using OpenDentBusiness;
namespace OpenDental.Eclaims
{
/// <summary>
/// Summary description for BCBSGA.
/// </summary>
public class BCBSGA{
/// <summary></summary>
public static string ErrorMessage="";
public BCBSGA()
... | eae/opendental | OpenDental/Eclaims/BCBSGA.cs | C# | gpl-3.0 | 5,973 |
#include "inventorypage.h"
#include "ui_inventorypage.h"
#include "fak.h"
#include "inventorypage.h"
#include <QtDebug>
#include "QtDebug"
#include <QSqlQuery>
#include <QSqlError>
#include <QSqlRecord>
static const QString path = "C:/Sr.GUI/FAKKIT/db/fakdb4.db";
InventoryPage::InventoryPage(QWidget *parent) :
QD... | r0ug3-Mary/Sr.GUI | FAKKITpics/inventorypage.cpp | C++ | gpl-3.0 | 1,227 |
var gulp = require('gulp');
var browserSync = require('browser-sync');
var jshint = require('gulp-jshint');
var concat = require('gulp-concat');
var uglify = require('gulp-uglify');
var rename = require('gulp-rename');
// 静态服务器
gulp.task('browser-sync', function() {
browserSync.init({
files: "src/**",
... | bdSpring/zhou-task02 | 26/gulpfile.js | JavaScript | gpl-3.0 | 946 |
using UnityEngine;
using System.Collections;
public class TimeScaleManager : MonoBehaviour {
public static TimeScaleManager instance;
public delegate void OnTimeScaleChangeCallback();
public event OnTimeScaleChangeCallback TimeScaleChange;
public bool isPlaying;
public bool IsPaused {
get { return... | Michael-Dawkins/GeometricDefense | Assets/Scripts/Services/TimeScaleManager.cs | C# | gpl-3.0 | 1,551 |
package org.amse.marinaSokol.model.interfaces.object.net;
public interface IActivationFunctor {
/**
* Ôóíêöèÿ àêòèâàöèè
* @param x - ÷èñëî, ïîäàííîå íà ôóíêöèþ àêòèâàöèè
* @return âûõîä íåéðîíà
* */
double getFunction(double x);
/**
* ïðîèçâîäíàÿ ôóíêöèè àêòèâàöèè
... | sokolm/NeuroNet | src/org/amse/marinaSokol/model/interfaces/object/net/IActivationFunctor.java | Java | gpl-3.0 | 558 |
/*
SPDX-FileCopyrightText: 2007 Jean-Baptiste Mardelle <jb@kdenlive.org>
SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
*/
#include "definitions.h"
#include <klocalizedstring.h>
#include <QColor>
#include <utility>
#ifdef CRASH_AUTO_TEST
#pragma GCC diagnostic push
#pragma GCC diagnostic i... | KDE/kdenlive | src/definitions.cpp | C++ | gpl-3.0 | 5,551 |
// ------------------------------------------------------------------------------------------
// Licensed by Interprise Solutions.
// http://www.InterpriseSolutions.com
// For details on this license please visit the product homepage at the URL above.
// THE ABOVE NOTICE MUST REMAIN INTACT.
// -------------------... | bhassett/Expressions-CB13 | tableorder_process.aspx.cs | C# | gpl-3.0 | 5,729 |
<?php
/**
* WooCommerce Admin Webhooks Class
*
* @author WooThemes
* @category Admin
* @package WooCommerce/Admin
* @version 2.4.0
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly
}
/**
* WC_Admin_Webhooks.
*/
class WC_Admin_Webhooks {
/**
* Initialize the webhooks admin actions... | bryceadams/woocommerce | includes/admin/class-wc-admin-webhooks.php | PHP | gpl-3.0 | 14,839 |
/**
* Copyright (c) 2000-2013 Liferay, Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License as published by the Free
* Software Foundation; either version 2.1 of the License, or (at your option)
* any later... | aritzg/EuroMillionGame-portlet | docroot/WEB-INF/service/net/sareweb/emg/service/DrawServiceUtil.java | Java | gpl-3.0 | 3,192 |
#define ICON_SIZE QSize(48,48)
#define EXPANDED_HEIGHT 413
#define UNEXPANDED_HEIGHT 137
#include "mainpage.h"
#include "ui_options.h"
#include <QWidget>
#include <QComboBox>
#include <QHBoxLayout>
#include <QVBoxLayout>
#include <QGroupBox>
#include <QCheckBox>
#include <QLineEdit>
#include <QMimeData>
#in... | realbardia/silicon | SApplications/ImageBurner/mainpage.cpp | C++ | gpl-3.0 | 8,814 |
/* 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/. */
package org.mozilla.javascript.optimizer;
import org.mozilla.javascript.ArrowFunction;
import org.mozilla.javasc... | oswetto/LoboEvolution | LoboParser/src/main/java/org/mozilla/javascript/optimizer/OptRuntime.java | Java | gpl-3.0 | 18,041 |
#include "relativelayout.h"
#include <QDebug>
RelativeLayout::RelativeLayout(View *parent) :
View(parent)
{
// By default, QQuickItem does not draw anything. If you subclass
// QQuickItem to create a visual item, you will need to uncomment the
// following line and re-implement updatePaintNode()
/... | achipa/outqross_blog | 2_OutQross.Android_components/relativelayout.cpp | C++ | gpl-3.0 | 1,257 |
/*
Copyright 2012 SINTEF ICT, Applied Mathematics.
This file is part of the Open Porous Media project (OPM).
OPM 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
(a... | jokva/opm-core | opm/core/pressure/IncompTpfa.hpp | C++ | gpl-3.0 | 8,431 |
<?php
/**
* Functions for building the page content for each codex page
*
* @since 1.0.0
* @package Codex_Creator
*/
/**
* Get and format content output for summary section of the codex page.
*
* @since 1.0.0
* @package Codex_Creator
* @param int $post_id Post ID of the post content required.
* @param strin... | NomadDevs/codex_creator | lib/content_output_functions.php | PHP | gpl-3.0 | 41,482 |
/*******************************************************************************
* Copyright 2010 Olaf Sebelin
*
* This file is part of Verdandi.
*
* Verdandi 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 Found... | osebelin/verdandi | src/main/java/verdandi/InvalidIntervalException.java | Java | gpl-3.0 | 1,220 |
/*
* SPDX-License-Identifier: GPL-3.0
*
*
* (J)ava (M)iscellaneous (U)tilities (L)ibrary
*
* JMUL is a central repository for utilities which are used in my
* other public and private repositories.
*
* Copyright (C) 2016 Kristian Kutin
*
* This program is free software: you can redistribute it and/or modi... | gammalgris/jmul | Utilities/Web/src/jmul/web/page/PageLoader.java | Java | gpl-3.0 | 5,731 |
// Copyright 2016, Durachenko Aleksey V. <durachenko.aleksey@gmail.com>
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later ve... | AlekseyDurachenko/vkOAuth | src/version.cpp | C++ | gpl-3.0 | 1,812 |
import { Model } from "chomex";
import catalog from "./catalog";
export interface DeckCaptureLike {
_id: any;
title: string;
row: number; col: number; page: number;
cell: { x: number; y: number; w: number, h: number; };
protected?: boolean;
}
/**
* 編成キャプチャの設定を保存する用のモデル。
* ふつうの1艦隊編成もあれば、連合艦隊、航空基地編成などもある。
... | otiai10/kanColleWidget | src/js/Applications/Models/DeckCapture/index.ts | TypeScript | gpl-3.0 | 1,889 |
/*******************************************************************************
MPhoto - Photo viewer for multi-touch devices
Copyright (C) 2010 Mihai Paslariu
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 F... | miabrahams/MPhoto | dev/ImageLoadQueue.cpp | C++ | gpl-3.0 | 2,610 |
<?php
/*************************
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 pu... | coppermine-gallery/cpg1.6.x | include/transliteration/xb9.php | PHP | gpl-3.0 | 2,810 |
package co.edu.udea.ingenieriaweb.admitravel.bl;
import java.util.List;
import co.edu.udea.ingenieriaweb.admitravel.dto.PaqueteDeViaje;
import co.edu.udea.ingenieriaweb.admitravel.util.exception.IWBLException;
import co.edu.udea.ingenieriaweb.admitravel.util.exception.IWDaoException;
/**
* Clase DestinoBL define la... | yefry/AdmiTravelSpring | AdmiTravelSpring/src/co/edu/udea/ingenieriaweb/admitravel/bl/PaqueteDeViajeBL.java | Java | gpl-3.0 | 1,439 |
// mailer.js
var nodemailer = require('nodemailer');
var smtpTransport = nodemailer.createTransport("SMTP", {
service: "Mandrill",
debug: true,
auth: {
user: "evanroman1@gmail.com",
pass: "k-AdDVcsNJ9oj8QYATVNGQ"
}
});
exports.sendEmailConfirmation = function(emailaddress, username, firs... | evrom/ativinos---deprecated | local_modules/mailer.js | JavaScript | gpl-3.0 | 1,602 |
$(function(){
$('#telefone').mask('(99)9999-9999');
$('.editar').on({
click : function(){
var url = URI+"sistema/editar/"+$(this).attr('data-item');
window.location.href = url;
}
});
$('.deletar').on({
click : function(){
... | Carlos-Claro/admin2_0 | js/sistema.js | JavaScript | gpl-3.0 | 1,437 |
# -*- coding: UTF-8 -*-
"""
Desc: django util.
Note:
---------------------------------------
# 2016/04/30 kangtian created
"""
from hashlib import md5
def gen_md5(content_str):
m = md5()
m.update(content_str)
return m.hexdigest()
| tiankangkan/paper_plane | k_util/hash_util.py | Python | gpl-3.0 | 257 |
using System;
namespace Server.Network
{
public delegate void OnPacketReceive( NetState state, PacketReader pvSrc );
public delegate bool ThrottlePacketCallback( NetState state );
public class PacketHandler
{
public PacketHandler( int packetID, int length, bool ingame, OnPacketReceive onReceive )
{... | xrunuo/xrunuo | Server/Network/PacketHandler.cs | C# | gpl-3.0 | 640 |
package com.github.wglanzer.redmine;
import java.util.function.Consumer;
/**
* Interface that is able to create background-tasks
*
* @author w.glanzer, 11.12.2016.
*/
public interface IRTaskCreator
{
/**
* Executes a given task in background
*
* @param pTask Task that should be done in background
*... | wglanzer/redmine-intellij-plugin | core/src/main/java/com/github/wglanzer/redmine/IRTaskCreator.java | Java | gpl-3.0 | 841 |
<?php
$namespacetree = array(
'vector' => array(
),
'std' => array(
'vector' => array(
'inner' => array(
)
)
)
);
$string = "while(!acceptable(a)) perform_random_actions(&a);"; | nitro2010/moodle | blocks/formal_langs/parsertests/input/old/while.php | PHP | gpl-3.0 | 249 |
// ADOBE SYSTEMS INCORPORATED
// Copyright 1993 - 2002 Adobe Systems Incorporated
// All Rights Reserved
//
// NOTICE: Adobe permits you to use, modify, and distribute this
// file in accordance with the terms of the Adobe license agreement
// accompanying it. If you have received this file from a source
// other t... | wholegroup/vector | external/Adobe Photoshop CS6 SDK/samplecode/colorpicker/nearestbase/win/NearestBaseUIWin.cpp | C++ | gpl-3.0 | 2,478 |
# Author: Nic Wolfe <nic@wolfeden.ca>
# URL: http://code.google.com/p/lazylibrarian/
#
# This file is part of Sick Beard.
#
# Sick Beard 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 ... | theguardian/LazyLibrarian_Old | lazylibrarian/notifiers/tweet.py | Python | gpl-3.0 | 5,477 |
<?php
class ControllerCommonLanguage extends Controller {
public function index() {
$this->load->language('common/language');
$data['action'] = $this->url->link('common/language/language', '', $this->request->server['HTTPS']);
$data['code'] = $this->session->data['language'];
$this->load->model('localisati... | vocxod/cintez | www/catalog/controller/common/language.php | PHP | gpl-3.0 | 1,477 |
using System;
using System.Collections;
using System.IO;
namespace Server.Engines.Reports
{
public class StaffHistory : PersistableObject
{
#region Type Identification
public static readonly PersistableType ThisTypeID = new PersistableType("stfhst", new ConstructCallback(Construct));
p... | GenerationOfWorlds/GOW | Scripts/Systems/Management/Services/Web/Reports/Objects/Staffing/StaffHistory.cs | C# | gpl-3.0 | 14,679 |
import numpy as np
import laspy as las
# Determine if a point is inside a given polygon or not
# Polygon is a list of (x,y) pairs. This function
# returns True or False. The algorithm is called
# the "Ray Casting Method".
# the point_in_poly algorithm was found here:
# http://geospatialpython.com/2011/01/point-in-pol... | DTMilodowski/LiDAR_canopy | src/LiDAR_tools.py | Python | gpl-3.0 | 3,971 |
// 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 is dis... | nitro2010/moodle | enrol/attributes/js/jquery.booleanEditor.js | JavaScript | gpl-3.0 | 12,496 |
from flask import json
from unittest.mock import patch, Mock
from urbansearch.gathering.indices_selector import IndicesSelector
from urbansearch.server.main import Server
from urbansearch.server import classify_documents
from urbansearch.server.classify_documents import _join_workers
from urbansearch.workers import Wo... | urbansearchTUD/UrbanSearch | tests/server/test_classify_documents.py | Python | gpl-3.0 | 3,035 |
/*
Copyright (C) 2014-2019 de4dot@gmail.com
This file is part of dnSpy
dnSpy 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... | manojdjoshi/dnSpy | Extensions/dnSpy.Debugger/dnSpy.Debugger/Breakpoints/Code/DbgCodeBreakpointsServiceImpl.cs | C# | gpl-3.0 | 13,268 |
#-*- coding:utf-8 -*-
from findbilibili import *
#funtion name [checkinfo]
#判断要输出的回答
#param array 抓取的文字
#return string 回答
def checkinfo2(content):
content[1] = content[1].decode('gbk')
key = content[1].encode('utf-8')
if key == '节操':
return '这种东西早就没有了'
result = animation(key) #搜动漫
ret... | cwdtom/qqbot | tom/check.py | Python | gpl-3.0 | 705 |
<?
// If the form told us to generate a route or if this was a pending entry, re-generate a route.
if ($data[$key] == "generate" || (isset($edit_id) && !is_numeric($edit_id))) {
if ($options["not_unique"]) {
$value = $cms->urlify(strip_tags($data[$options["source"]]));
} else {
$oroute = $cms->urlify(strip_... | matthisamoto/bigtreedemo | core/admin/form-field-types/process/route.php | PHP | gpl-3.0 | 620 |
/**
*
*/
package qa.AnswerFormation;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import java.util.Queue;
import qa.IQuestion;
import qa.Utility;
/**
* @author Deepak
*
*/
public class AnswerGenerator implements IAnswerGenerator {
/**
*
* @param proce... | ddeeps2610/NLP_PA2_QA | src/qa/AnswerFormation/AnswerGenerator.java | Java | gpl-3.0 | 3,904 |
// File__Duplicate - Duplication of some formats
// Copyright (C) 2007-2012 MediaArea.net SARL, Info@MediaArea.net
//
// This library is free software: you can redistribute it and/or modify it
// under the terms of the GNU Library General Public License as published by
// the Free Software Foundation, either versi... | MikeSouza/mpc-hc | src/thirdparty/MediaInfo/MediaInfo/Video/File_Avc_Duplicate.cpp | C++ | gpl-3.0 | 9,917 |
package com.wisecityllc.cookedapp.fragments;
import android.app.Activity;
import android.support.v4.app.Fragment;
import android.net.Uri;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ListView;
import android.widget.Progress... | dexterlohnes/cooked-android | app/src/main/java/com/wisecityllc/cookedapp/fragments/AlertsFragment.java | Java | gpl-3.0 | 4,689 |
/*
* Copyright (C) 2014 - Center of Excellence in Information Assurance
*
* 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... | CoEIA/hajeb | CoEIAKeysGenerator/keysgeneratorwidget.cpp | C++ | gpl-3.0 | 4,671 |
<?php
require "funciones.php";
CopiarArchivo($_REQUEST["txtRuta"]);
?> | 1caruxx/Ejercicios_PHP | C._Archivos_y_formularios/ejercicio_22/admin.php | PHP | gpl-3.0 | 80 |
package org.aslab.om.metacontrol.action;
import java.util.HashSet;
import java.util.Set;
import org.aslab.om.ecl.action.Action;
import org.aslab.om.ecl.action.ActionFeedback;
import org.aslab.om.ecl.action.ActionResult;
import org.aslab.om.metacontrol.value.CompGoalAtomTracker;
/**
* <!-- begin-UML-doc -->
* <!-... | aslab/rct | higgs/branches/ros-fuerte/OM/versions/NamePerception_OM/OMJava/src/org/aslab/om/metacontrol/action/FunctionalAction.java | Java | gpl-3.0 | 1,624 |
$(function() {
$("#childGrid").jqGrid(
{
url : "TBCcnsizePrm.html?getGridData",datatype : "json",mtype : "GET",colNames : [ 'Conn Id',getLocalMessage('water.connsize.frmDt'), getLocalMessage('water.connsize.toDt'), getLocalMessage('water.connsize.frm'),getLocalMessage('water.connsize.to'), getLocalMessage('e... | abmindiarepomanager/ABMOpenMainet | Mainet1.1/MainetServiceParent/MainetServiceWeb/src/main/webapp/js/masters/connectionsize/connectionSizeScript.js | JavaScript | gpl-3.0 | 5,451 |
// Copyleft 2005 Chris Korda
// 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 any later version.
/*
chris korda
revision history:
rev date co... | victimofleisure/PotterDraw | trunk/PotterDraw/PersistDlg.cpp | C++ | gpl-3.0 | 3,742 |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class WaterItem : BaseItem {
// Use this for initialization
public override void Start()
{
base.Start();
BulletSpeed = .1f;
ItemSprite = gameObject.GetComponent<SpriteRenderer>().sprite;
... | Shafournee/Shafman-repo | Assets/Scripts/Item Scipts/ShotSpeedItems/WaterItem.cs | C# | gpl-3.0 | 455 |
package net.ballmerlabs.scatterbrain.network.wifidirect;
import android.os.Handler;
import android.os.Looper;
import android.os.Message;
import net.ballmerlabs.scatterbrain.network.GlobalNet;
/**
* Created by user on 5/29/16.
*/
@SuppressWarnings({"FieldCanBeLocal", "DefaultFileTemplate"})
class WifiDirectLooper e... | gnu3ra/Scatterbrain | app/src/main/java/net/ballmerlabs/scatterbrain/network/wifidirect/WifiDirectLooper.java | Java | gpl-3.0 | 938 |
/**
* @file Map places of interest
* @author Tom Jenkins tom@itsravenous.com
*/
module.exports = {
castle: {
title: 'Rowton Castle',
lat: 52.708739,
lng: -2.9228567,
icon: 'pin_castle.png',
main: true,
description: 'Where it all happens! Rowton Castle is a small castle manor house roughly halfway betwe... | itsravenous/lizandtomgetmarried | src/components/map/places.js | JavaScript | gpl-3.0 | 1,179 |
var struct_create_packets_1_1__2 =
[
[ "angle", "struct_create_packets_1_1__2.html#a425d33bd27790066ff7edb4a608a8149", null ],
[ "buttons", "struct_create_packets_1_1__2.html#a6b7d2d6c0a3a063f873420c010063b33", null ],
[ "distance", "struct_create_packets_1_1__2.html#afb30de28ec41190d0cb278640d4782ab", null... | kipr/harrogate | shared/client/doc/struct_create_packets_1_1__2.js | JavaScript | gpl-3.0 | 416 |
/* xoreos-tools - Tools to help with xoreos development
*
* xoreos-tools is the legal property of its developers, whose names
* can be found in the AUTHORS file distributed with this source
* distribution.
*
* xoreos-tools is free software; you can redistribute it and/or
* modify it under the terms of the GNU Ge... | xoreos/xoreos-tools | src/common/base64.cpp | C++ | gpl-3.0 | 7,266 |
package org.jlinda.nest.gpf;
import com.bc.ceres.core.ProgressMonitor;
import org.apache.commons.math3.util.FastMath;
import org.esa.beam.framework.datamodel.Band;
import org.esa.beam.framework.datamodel.MetadataElement;
import org.esa.beam.framework.datamodel.Product;
import org.esa.beam.framework.datamodel.ProductDa... | kristotammeoja/ks | jlinda/jlinda-nest/src/main/java/org/jlinda/nest/gpf/InterferogramOp.java | Java | gpl-3.0 | 20,085 |
using LightDirector.Domain;
namespace LightDirector
{
public interface IEffectView<T> where T : EffectBase
{
}
}
| binton10186/light-director | LightDirector/Views/IEffectView.cs | C# | gpl-3.0 | 126 |
package com.xxl.job.database.meta;
import com.xxl.job.database.dboperate.DBManager;
/**
* 基于mysql的一些特殊处理定义
*
*/
public class MySQLDatabaseMeta extends DatabaseMeta {
public MySQLDatabaseMeta() {
this.dbType = DBManager.MYSQL_DB;
}
}
| lijie2713977/xxl-job | xxl-job-database/src/main/java/com/xxl/job/database/meta/MySQLDatabaseMeta.java | Java | gpl-3.0 | 277 |
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=utf-8"/>
<!-- Incluimos los archivos Javascript externos -->
<script src='jquery.js'></script>
<script src='amazingslider.js'></script>
<script src='initslider-1.js'></script>
<style>
a{
f... | ricardo7227/DAW | DIW/aaa_profe/Intranet/Multimedia/Imagenes/Archivos/iconos/index.php | PHP | gpl-3.0 | 3,022 |
<?php
namespace Volantus\FlightBase\Src\General\MSP;
use Volantus\MSPProtocol\Src\Protocol\Response\Response;
/**
* Class MSPResponseMessage
*
* @package Volantus\FlightBase\Src\General\MSP
*/
class MSPResponseMessage
{
/**
* @var string
*/
private $id;
/**
* @var Response
*/
... | Volantus/flight-base | src/General/MSP/MSPResponseMessage.php | PHP | gpl-3.0 | 864 |
<?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... | danielbonetto/twig_MVC | lang/hu/plagiarism_turnitin.php | PHP | gpl-3.0 | 10,844 |
#include "if_expression.h"
#include <glog/logging.h>
#include "../internal/compilation.h"
#include "../public/value.h"
namespace afc {
namespace vm {
namespace {
class IfExpression : public Expression {
public:
IfExpression(std::shared_ptr<Expression> cond,
std::shared_ptr<Expression> true_case,
... | alefore/edge | src/vm/internal/if_expression.cc | C++ | gpl-3.0 | 3,919 |
using System;
using System.Diagnostics;
using EasyRemote.Spec;
namespace EasyRemote.Impl.Extension
{
public static class PathExt
{
/// <summary>
/// Get path for program
/// </summary>
/// <param name="program">Program</param>
/// <returns>Full path</returns>
pu... | fa18swiss/EasyRemote | EasyRemote.Impl/Extension/PathExt.cs | C# | gpl-3.0 | 688 |
# Copyright (c) 2015 ProbeDock
# Copyright (c) 2012-2014 Lotaris SA
#
# This file is part of ProbeDock.
#
# ProbeDock 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 y... | probedock/probedock | app/policies/test_payload_policy.rb | Ruby | gpl-3.0 | 1,555 |
import net.sf.javabdd.*;
/**
* @author John Whaley
*/
public class NQueens {
static BDDFactory B;
static boolean TRACE;
static int N; /* Size of the chess board */
static BDD[][] X; /* BDD variable array */
static BDD queen; /* N-queen problem expressed as a BDD */
static BDD solution; /* On... | aindilis/sandbox-gamer | JavaBDD/NQueens.java | Java | gpl-3.0 | 4,650 |
using CP77.CR2W.Reflection;
using FastMember;
using static CP77.CR2W.Types.Enums;
namespace CP77.CR2W.Types
{
[REDMeta]
public class ItemCompareBuilder : IScriptable
{
[Ordinal(0)] [RED("item1")] public InventoryItemData Item1 { get; set; }
[Ordinal(1)] [RED("item2")] public InventoryItemData Item2 { get; set; ... | Traderain/Wolven-kit | CP77.CR2W/Types/cp77/ItemCompareBuilder.cs | C# | gpl-3.0 | 532 |
<?php
namespace controllers\bases;
abstract class HttpBase extends UriMethodBase {
/**
* @var array
*/
protected $params;
function __construct() {
$uriSections = \Request::getInstance()->getUriSections();
$paramsUri = array_slice($uriSections, DEFAULT_PARAMS_START_POSITION);
... | franciscomaestre/mvcd-framework | controllers/extends/HttpBase.php | PHP | gpl-3.0 | 1,246 |
<?php
$return_value = 0;
if(isset($_FILES['photo']))
{
$target_dir = "../../upload/news/doc/";
require "../config.php";
$total_files = sizeof($_FILES['photo']['name']);
$resp = '';
for($i = 0; $i < $total_files; $i++)
{
$tmp_name = $_FILES['photo']["tmp_name"][$i];
$name = $_FI... | yasilvalmeida/gov_portal | backgp/ajax/noticia_anexo/upload-add-pdf.php | PHP | gpl-3.0 | 1,401 |
# coding: utf-8
"""
mistune
~~~~~~~
The fastest markdown parser in pure Python with renderer feature.
:copyright: (c) 2014 - 2016 by Hsiaoming Yang.
"""
import re
import inspect
__version__ = '0.7.3'
__author__ = 'Hsiaoming Yang <me@lepture.com>'
__all__ = [
'BlockGrammar', 'BlockLexer',
'In... | ebursztein/SiteFab | SiteFab/parser/mistune.py | Python | gpl-3.0 | 35,424 |
# noinspection PyPackageRequirements
import wx
import gui.globalEvents as GE
import gui.mainFrame
from gui.contextMenu import ContextMenuSingle
from service.fit import Fit
class AmmoToDmgPattern(ContextMenuSingle):
visibilitySetting = 'ammoPattern'
def __init__(self):
self.mainFrame = gui.mainFrame... | DarkFenX/Pyfa | gui/builtinContextMenus/ammoToDmgPattern.py | Python | gpl-3.0 | 1,296 |
package net.adanicx.cyancraft.client.model;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import net.minecraft.client.model.ModelRenderer;
import net.minecraft.entity.Entity;
import net.adanicx.cyancraft.client.OpenGLHelper;
import net.adanicx.cyancraft.entities.EntityArmorStand;... | Cyancraft/Cyancraft | src/main/java/net/adanicx/cyancraft/client/model/ModelArmorStand.java | Java | gpl-3.0 | 4,767 |
<?php include 'common_header.php'; ?>
<!-- Settings View Title -->
<h3><?php e($title); ?></h3>
<!-- Pasephrase Reset Form -->
<form id="settings_account_reset" class="rounded" action="<?php u('/settings/accounts/reset'); ?>" method="post" accept-charset="UTF-8" enctype="multipart/form-data">
<fieldset>
... | kijin/nearlyfreemail | program/views/accounts_reset.php | PHP | gpl-3.0 | 1,673 |
# This module is for compatibility only. All functions are defined elsewhere.
__all__ = ['rand', 'tril', 'trapz', 'hanning', 'rot90', 'triu', 'diff', 'angle',
'roots', 'ptp', 'kaiser', 'randn', 'cumprod', 'diag', 'msort',
'LinearAlgebra', 'RandomArray', 'prod', 'std', 'hamming', 'flipud',
... | beiko-lab/gengis | bin/Lib/site-packages/numpy/oldnumeric/mlab.py | Python | gpl-3.0 | 3,566 |
<?php
/**
* WES WebExploitScan Web GPLv4 http://github.com/libre/webexploitscan
*
* The PHP page that serves all page requests on WebExploitScan installation.
*
* The routines here dispatch control to the appropriate handler, which then
* prints the appropriate page.
*
* All WebExploitScan code is released unde... | libre/webexploitscan | wes/data/rules/fullscan/10092019-MS-PHP-Antimalware-Scanner-2369-malware_signature.php | PHP | gpl-3.0 | 1,060 |
#include <vgStableHeaders.h>
#include "vgentry/vgSound3DEntry.h"
#include <vgUIController/vgPropertyPage.h>
#include <vgUIController/vgUIController.h>
#include <vgKernel/vgkVec3.h>
#include <vgMesh/vgmMeshManager.h>
//#include <vgMath/vgfVector3.h>
#include <vgKernel/vgkSelectManager.h>
PropertiesParam vg... | xzy0008/sample_code | SAMPLE_CODE/src/vgEntry/vgSound3DEntry.cpp | C++ | gpl-3.0 | 4,971 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Natural Europe Pathways <?php echo isset($title) ? ' | ' . strip_formatting($title) : ''; ?></title>
<!-- Meta -->
<meta http-equiv="Co... | agroknow/PAT | application/views/scripts/common/header.php | PHP | gpl-3.0 | 6,482 |
!function(namespace) {
'use strict';
function Modal(elem, params) {
this.$element = jQuery(elem);
this.params = params || {};
this.cssReadyElement = this.params.cssReadyElement || 'JS-Modal-ready';
this.cssActiveElement = this.params.cssActiveElement || 'JS-Modal-active';
this.__construct();
... | subuk/bakapy | front/scripts/modal.js | JavaScript | gpl-3.0 | 2,698 |
/*
* Copyright (C) 2009 Christopho, Solarus - http://www.solarus-engine.org
*
* Solarus 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 ve... | ziz/solarus | src/hero/HookshotState.cpp | C++ | gpl-3.0 | 5,054 |
# -*- coding: utf-8 -*-
from south.utils import datetime_utils as datetime
from south.db import db
from south.v2 import SchemaMigration
from django.db import models
class Migration(SchemaMigration):
def forwards(self, orm):
# Adding model 'ArticleComment'
db.create_table('cms_articlecomment', (
... | josircg/raizcidadanista | raizcidadanista/cms/migrations/0004_auto__add_articlecomment.py | Python | gpl-3.0 | 14,504 |
# Copyright (C) 2015 SensorLab, Jozef Stefan Institute http://sensorlab.ijs.si
#
# Written by Tomaz Solc, tomaz.solc@ijs.si
#
# This work has been partially funded by the European Community through the
# 7th Framework Programme project CREW (FP7-ICT-2009-258301).
#
# This program is free software: you can redistribute ... | avian2/spectrumwars | controller/spectrumwars/testbed/simulation.py | Python | gpl-3.0 | 3,927 |
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <dirent.h>
#include <fcntl.h>
#include <assert.h>
#include <unistd.h>
#include <sys/mman.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/time.h>
#include <bcm2835.h>
#include <unistd.h>
#include <iostream>
//#define BCM2708_PERI_BASE ... | FreshXOpenSource/wallyd | extra/dht22.cpp | C++ | gpl-3.0 | 6,241 |
// This file is part of BOINC.
// http://boinc.berkeley.edu
// Copyright (C) 2008 University of California
//
// BOINC is free software; you can redistribute it and/or modify it
// under the terms of the GNU Lesser General Public License
// as published by the Free Software Foundation,
// either version 3 of the Licens... | hanxue/Boinc | api/boinc_api.cpp | C++ | gpl-3.0 | 44,618 |
/*
* BufferAllocator.java February 2001
*
* Copyright (C) 2001, Niall Gallagher <niallg@users.sf.net>
*
* 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/li... | TehSomeLuigi/someluigis-peripherals | slp_common/org/simpleframework/util/buffer/BufferAllocator.java | Java | gpl-3.0 | 8,448 |
"""add graphql ACL to users
Revision ID: 2d4882d39dbb
Revises: c4d0e9ec46a9
"""
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = '2d4882d39dbb'
down_revision = 'dc2848563b53'
POLICY_NAME = 'wazo_default_user_policy'
ACL_TEMPLATES = ['dird.graphql.me']
policy_tabl... | wazo-pbx/xivo-auth | alembic/versions/2d4882d39dbb_add_graphql_acl_to_users.py | Python | gpl-3.0 | 3,250 |
#include "VCL.h"
#include "Unit1.h"
#include "GridMap.h"
#include "defines.h"
#include "matrix_utils.h"
#include "bat_run.h"
#include "LoadData.h"
#include <cstdio>
#include <ctime>
#include <cstring>
#include <cmath>
// special LSM mode with "-1 distance" = no aggregation of spots, just statistics per unit
bool LSM_m... | cbig/zonation-core | zig4/core/LSIdent.cpp | C++ | gpl-3.0 | 27,025 |
<?php
session_start();
include_once 'inc/vcode.inc.php';
$_SESSION['vcode']=vcode(100,40,30,4);
?> | TRyToDOit/CFCBBS | show_code.php | PHP | gpl-3.0 | 99 |
/**
* OpenKM, Open Document Management System (http://www.openkm.com)
* Copyright (c) 2006-2015 Paco Avila & Josep Llort
*
* No bytes were intentionally harmed during the development of this application.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Ge... | papamas/DMS-KANGREG-XI-MANADO | src/main/java/com/openkm/servlet/DownloadServlet.java | Java | gpl-3.0 | 4,131 |
#
# Copyright (c) 2013 Christopher L. Felton
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This p... | cfelton/minnesota | setup.py | Python | gpl-3.0 | 1,770 |
/* FILE GeneticOperations.hh
** PACKAGE GeneticOperations
** AUTHOR Edward S. Blurock
**
** CONTENT
** Prototypes for the "GeneticOperations" package in the CoreObjects environment
**
** COPYRIGHT (C) 1997 Edward S. Blurock
*/
#ifndef CoreObjects_GENETICOPERATIONS_HH
#define CoreObjects_GENETICOPERATIO... | blurock/AnalysisDevelop | GeneticOperations/include/CoreObjects/GeneticOperations.hh | C++ | gpl-3.0 | 1,353 |
<?php
/**
* Zend Framework
*
* LICENSE
*
* This source file is subject to the new BSD license that is bundled
* with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://framework.zend.com/license/new-bsd
* If you did not receive a copy of the license a... | abueldahab/medalyser | library/Zend/View/Helper/HeadScript.php | PHP | gpl-3.0 | 15,547 |
/* Copyright (C) 2012-2014 Carlos Pais
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is dis... | fr33mind/Belle | editor/actions/get_user_input.cpp | C++ | gpl-3.0 | 2,974 |
package com.example.heregpsloc;
import java.security.SecureRandom;
import java.math.BigInteger;
// http://stackoverflow.com/questions/41107/how-to-generate-a-random-alpha-numeric-string
public final class SessionIdentifierGenerator {
private SecureRandom random = new SecureRandom();
public String nextSessio... | popokatapepel/project_uebersaxen | app/src/main/java/com/example/heregpsloc/SessionIdentifierGenerator.java | Java | gpl-3.0 | 392 |