repo_name stringlengths 4 116 | path stringlengths 4 379 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
Anshumankumar/Arya | src/ml/logisticRegression.cpp | 6177 | #ifndef ARYA_LOGISTIC_REGRESSION_HPP
#define ARYA_LOGISTIC_REGRESSION_HPP
#include <ml/csvParser.hpp>
#include <ml/model.hpp>
#include <cmath>
class LogisticRegression:public Process<Model*, Model *>
{
calculateCost();
}
using Row = std::pair< int ,std::vector <int>>;
class LogisticRegression:public Proc... | gpl-3.0 |
akardapolov/ASH-Viewer | egantt/src/main/java/com/egantt/swing/cell/editor/state/resize/AbstractResizeEditor.java | 1264 | package com.egantt.swing.cell.editor.state.resize;
import java.awt.Point;
import java.util.Iterator;
import com.egantt.model.drawing.DrawingPart;
import com.egantt.model.drawing.DrawingState;
import com.egantt.model.drawing.axis.AxisInterval;
import com.egantt.model.drawing.axis.MutableInterval;
import com.egantt.swi... | gpl-3.0 |
Lizzaran/LeagueSharp-Standalones | SFXUtility/SFXTurnAround/Library/Extensions/NET/ListExtensions.cs | 3529 | #region License
/*
Copyright 2014 - 2015 Nikita Bernthaler
ListExtensions.cs is part of SFXLibrary.
SFXLibrary 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 o... | gpl-3.0 |
parogers/junker | src/sprites/bomb.js | 2581 | /* JUNKER - Arcade tank shooter written in Javascript using HTML5
* Copyright (C) 2015 Peter Rogers (peter.rogers@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 versio... | gpl-3.0 |
firestarter/firestarter | redist/mirror-lib/lagoon/auxiliary/specifier_getter.hpp | 1938 | /**
* .file lagoon/auxiliary/specifier_getter.hpp
* .brief Implementation of an internal helper function for
* creating instances of specifier implementations
*
* Copyright 2008-2011 Matus Chochlik. Distributed under the Boost
* Software License, Version 1.0. (See accompanying file
* LICENSE_1_0.txt or co... | gpl-3.0 |
piwik/piwik | plugins/CoreHome/DataTableRowAction/MultiRowEvolution.php | 3326 | <?php
/**
* Piwik - free/libre analytics platform
*
* @link https://matomo.org
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
*
*/
namespace Piwik\Plugins\CoreHome\DataTableRowAction;
use Piwik\Common;
use Piwik\Context;
use Piwik\Piwik;
/**
* MULTI ROW EVOLUTION
* The class handles the p... | gpl-3.0 |
insomynwa/wp-content | themes/gon-cakeshop/woocommerce/single-product/title.php | 327 | <?php
/**
* Single Product title
*
* @author WooThemes
* @package WooCommerce/Templates
* @version 1.6.4
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly
}
?>
<?php $gon_options = gon_get_global_variables(); ?>
<h1 itemprop="name" class="product_title entry-title">
<?php the_title(); ?>... | gpl-3.0 |
devbridge/BetterCMS | Modules/BetterCms.Module.Root/Models/ContentRegion.cs | 2107 | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="ContentRegion.cs" company="Devbridge Group LLC">
//
// Copyright (C) 2015,2016 Devbridge Group LLC
//
// This program is free software: you can redistribute it and/or modify
// ... | gpl-3.0 |
dsilva609/Project-Cinderella | BusinessLogic/Migrations/201609010023336_removed type from tracklist.Designer.cs | 860 | // <auto-generated />
namespace BusinessLogic.Migrations
{
using System.CodeDom.Compiler;
using System.Data.Entity.Migrations;
using System.Data.Entity.Migrations.Infrastructure;
using System.Resources;
[GeneratedCode("EntityFramework.Migrations", "6.1.3-40302")]
public sealed partial class... | gpl-3.0 |
hakan648/Gap | Project/Gap.Win/Form1.cs | 9180 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Gap.Win
{
using System.Diagnostics;
using System.Net;
using System.Net.Sockets;
... | gpl-3.0 |
isnuryusuf/ingress-indonesia-dev | apk/classes-ekstartk/com/nianticproject/ingress/common/b/f.java | 755 | package com.nianticproject.ingress.common.b;
import com.badlogic.gdx.graphics.g2d.TextureAtlas;
import com.badlogic.gdx.graphics.g2d.TextureAtlas.TextureAtlasData;
import com.nianticproject.ingress.common.x.p;
final class f
implements com.nianticproject.ingress.common.x.f
{
f(TextureAtlas.TextureAtlasData paramTe... | gpl-3.0 |
exequielrafaela/proton | modules/aws_fab.py | 2515 | # aws cloudtrail lookup-events --lookup-attributes AttributeKey=Username,AttributeValue=matias.desanti
# > /home/delivery/Programming/proton/conf/AWS/cloudtrail_lookup-events.json
# aws cloudtrail lookup-events --lookup-attributes AttributeKey=EventName,AttributeValue=AuthorizeSecurityGroupIngress
# > /home/delivery/P... | gpl-3.0 |
mattnye/sparkler | searchform.php | 426 | <?php
/**
* Search form markup
*
* @package WordPress
* @subpackage Sparkler
* @since Sparkler 1.0
*/
?>
<form action="<?php echo esc_url(home_url('/')); ?>" method="get" class="form-search">
<div class="rel icon icon-magnifying-glass">
<input type="text" id="s" name="s" placeholder="Search" />
... | gpl-3.0 |
pressbooks/pressbooks | inc/covergenerator/class-isbn.php | 6141 | <?php
namespace Pressbooks\Covergenerator;
use function Pressbooks\Utility\debug_error_log;
/**
* @see https://github.com/bwipp/postscriptbarcode/wiki/ISBN
*/
class Isbn {
/**
* @var string
*/
protected $isbnNumber;
/**
* @var string
*/
protected $isbnTextFont = 'Courier';
/**
* @var int
*/
pr... | gpl-3.0 |
wandora-team/wandora | resources/server/d3/browser/static/js/main.js | 12149 | (function() {
'use strict';
var tm, svg, zoomWrapper, force, linkAll, linkEnter, nodeAll, nodeEnter,
pseudoAll, pseudoEnter;
var myAddress = window.location.protocol+'//'+window.location.hostname+(window.location.port ? ':'+window.location.port: '');
/**
* Global config
* @type {Object}
*/
var conf = {
d... | gpl-3.0 |
freayd/qevel | translations/qevel_fr.ts | 4068 | <?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS><TS version="1.1" language="fr">
<context>
<name>AboutDialog</name>
<message>
<location filename="../dialogs/about_dialog.ui" line="14"/>
<source>About Qevel</source>
<translation>À propos de Qevel</translation>
</message>
<mess... | gpl-3.0 |
gama-platform/gama | ummisco.gama.network/src/ummisco/gama/network/common/MessageFactory.java | 3556 | package ummisco.gama.network.common;
import ummisco.gama.network.common.CommandMessage.CommandType;
public final class MessageFactory {
private static final byte[] keyChain = { 3, 5, 8, 13 };
private static final int MAX_HEADER_SIZE = 1024;
public enum MessageType{
COMMAND_MESSAGE,
NETWORK_MESSAGE,
PLAIN_M... | gpl-3.0 |
denz/geophys | gnss/base.py | 10422 | import re
from functools import wraps, partial
import warnings
from contextlib import contextmanager
from mmap import mmap
from itertools import takewhile
import os
from pprint import pprint
from .logger import logger
from .utils import slugify
DATATYPES = {}
QUIET_ON_CLEAN_VALUES = True
class BlocksRegistry(type):
... | gpl-3.0 |
hlim/studio2 | src/main/java/org/craftercms/studio/impl/v1/service/configuration/ServicesConfigImpl.java | 21181 | /*******************************************************************************
* Crafter Studio Web-content authoring solution
* Copyright (C) 2007-2016 Crafter Software Corporation.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Publ... | gpl-3.0 |
nguyenviet1993/lmsonline | lang/vi/completion.php | 15046 | <?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... | gpl-3.0 |
ReproducibleBuilds/diffoscope | diffoscope/comparators/javascript.py | 1313 | # -*- coding: utf-8 -*-
#
# diffoscope: in-depth comparison of files, archives, and directories
#
# Copyright © 2016 Emanuel Bronshtein <e3amn2l@gmx.com>
#
# diffoscope 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 Foun... | gpl-3.0 |
Cubeville/HawkEye-Redux | api/src/main/java/org/cubeville/hawkeye/ItemType.java | 1566 | /*
* 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
* ... | gpl-3.0 |
datoszs/czech-lawyers | frontend/case/DisputeForm.js | 2188 | import React from 'react';
import PropTypes from 'prop-types';
import {connect} from 'react-redux';
import {Panel} from 'react-bootstrap';
import {RichText, Msg} from '../containers';
import {EmailField, TextField, CaptchaForm, TextAreaField, SelectOption, SelectField} from '../containers/form';
import formstatus from ... | gpl-3.0 |
CCAFS/MARLO | marlo-data/src/main/java/org/cgiar/ccafs/marlo/data/manager/ProjectOutcomePandrManager.java | 2812 | /*****************************************************************
* This file is part of Managing Agricultural Research for Learning &
* Outcomes Platform (MARLO).
* MARLO is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free... | gpl-3.0 |
Tmin10/EVE-Security-Service | server-api/src/main/java/ru/tmin10/EVESecurityService/serverApi/model/GetCharactersCharacterIdLoyaltyPointsInternalServerError.java | 2365 | /*
* EVE Swagger Interface
* An OpenAPI for EVE Online
*
* OpenAPI spec version: 0.4.9.dev1
*
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
package ru.tmin10.EVESecurityService.serverAp... | gpl-3.0 |
UnknownStudio/ChinaCraft2 | src/main/java/cn/mccraft/chinacraft/item/ItemCCPickaxe.java | 306 | package cn.mccraft.chinacraft.item;
import cn.mccraft.chinacraft.init.CCCreativeTabs;
import net.minecraft.item.ItemPickaxe;
public class ItemCCPickaxe extends ItemPickaxe{
public ItemCCPickaxe(ToolMaterial material) {
super(material);
setCreativeTab(CCCreativeTabs.tabCore);
}
}
| gpl-3.0 |
XGProyect/XG-Proyect-v3.x.x | src/upload/app/language/english/game/stay_lang.php | 336 | <?php
$lang = [
'stay_report_title' => 'Parking Fleet',
'stay_mess_owner' => 'Your fleet has reached the planet %s %s and delivered its goods:<br>%s: metal %s: crystal %s: deuterium.',
'stay_mess_user' => 'Your fleet is returning from planet %s %s.<br><br>The fleet is delivering %s metal, %s crystal and %s ... | gpl-3.0 |
linuxdeepin/dde-daemon | accounts/utils_test.go | 2969 | /*
* Copyright (C) 2014 ~ 2018 Deepin Technology Co., Ltd.
*
* Author: jouyouyun <jouyouwen717@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 Lic... | gpl-3.0 |
aconley/pofd_affine | examples/multi_gauss_example.cc | 11749 | //Multi-dimensional Gaussian example
#include<string>
#include<iostream>
#include<fstream>
#include<cstdlib>
#include<vector>
#include<limits>
#include<getopt.h>
#include "../include/global_settings.h"
#include "../include/affineExcept.h"
#include "../include/affineEnsemble.h"
#include "../include/paramSet.h"
#inclu... | gpl-3.0 |
Belfalaz/ctf | bruteflag/index.php | 2100 | <html>
<head>
<title>Flag 1.0</title>
<meta charset="utf-8" />
<link href="css/style.css" rel="stylesheet" type="text/css">
<script type="text/javascript">
function check(){
if(document.getElementById('txt_search').value == ""){
alert('Please Enter Search String');
return false;
}
}
</scrip... | gpl-3.0 |
mrworkman/Project-Renfrew | GrammarTests/GrammarTests.cs | 1093 | // Project Renfrew
// Copyright(C) 2017 Stephen Workman (workman.stephen@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)... | gpl-3.0 |
danieldizzy/smartcard-reader | app/src/main/java/org/docrj/smartcard/reader/AppViewActivity.java | 15096 | /*
* Copyright 2015 Ryan Jones
*
* This file is part of smartcard-reader, package org.docrj.smartcard.reader.
*
* smartcard-reader 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... | gpl-3.0 |
marcosgreis/carcounter | src/frametask/delayer.hpp | 1172 | /*
* Copyright (C) 2016 Marcos Goulart Reis. All rights reserved.
*
* 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 versio... | gpl-3.0 |
eumesmoson/curso | node_modules/foreman/test/console-trim.test.js | 1059 | // Needed before requiring colors, otherwise its colorizers are no-ops.
process.stdout.isTTY = true;
var assert = require('chai').assert
, util = require('util')
, Console = require('../lib/console').Console
, colors = require('../lib/colors')
var red = colors.red('red')
var blue = colors.blue('blue')
var long... | gpl-3.0 |
AtiwadkarAjinkya/600-Interview-Programs | EvenFibonnaciSum.java | 719 | package comsciers.com;
import java.util.Scanner;
public class EvenFibonnaciSum {
static Scanner sc = new Scanner(System.in);
public static void main(String[] args) {
// TODO Auto-generated method stub
System.out.println("Enter Upper Limit");
int limit = sc.nextInt();
int f1,f2=0,f3=1;
int sum =... | gpl-3.0 |
gdimitriu/chappy | chappy-interfaces/src/main/java/chappy/interfaces/markers/ISystemLogsPersistence.java | 992 | /**
Copyright (c) 2017 Gabriel Dimitriu All rights reserved.
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
This file is part of chappy project.
Chappy is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
... | gpl-3.0 |
h-adachi/WinGame | WinGame/SceneGame.cpp | 401 | #include "SceneTitle.h"
#include "SceneGame.h"
void SceneGame::Enter(InputList& inputs)
{
inputs.Clear();
inputs.Append("enter", VK_RETURN);
}
void SceneGame::Exit()
{
}
IScene* SceneGame::Update(InputList& inputs)
{
IScene* scene = this;
if (inputs.Get("enter").isPress())
{
scene = new SceneTitle();
}
ret... | gpl-3.0 |
chenc4/RedwoodHQ | project_templates/java_project_appium/src/utils/SwipeAndFindElement.java | 3120 | package utils;
import java.util.HashMap;
import io.appium.java_client.AppiumDriver;
import io.appium.java_client.MobileElement;
import io.appium.java_client.SwipeElementDirection;
/**
* Created by dinkark on 13-Oct-2016
*/
public class SwipeAndFindElement {
public static MobileElement find(HashMap<String, String>... | gpl-3.0 |
jackey-qiu/genx_pc_qiu | MPI_run_files/GenX_run_multiple_mpi_new_3_raxr_BETA.py | 24789 | #!/usr/bin/python
from mpi4py import MPI
import numpy as np
from numpy import *
from datetime import datetime
genxpath = '/home/qiu05/genx_pc_qiu'
import sys,os
import time
sys.path.insert(0,genxpath)
#sys.path.append(genxpath+'/geometry_modules')
import model, time, fom_funcs
import diffev
import filehandling as io
fr... | gpl-3.0 |
dleuenbe/pfila2017 | client/src/app/+admin/password-change-confirmation/password-change-confirmation.component.ts | 356 | import { Component, OnInit } from '@angular/core';
@Component({
selector: 'app-password-change-confirmation',
templateUrl: './password-change-confirmation.component.html',
styleUrls: ['./password-change-confirmation.component.scss']
})
export class PasswordChangeConfirmationComponent implements OnInit {
const... | gpl-3.0 |
MyCoRe-Org/mycore | mycore-webtools/src/main/java/org/mycore/webtools/processing/socket/impl/MCRMessageType.java | 922 | /*
* 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)... | gpl-3.0 |
hohohahi/Bottle_CloudServer | src/main/java/com/shishuo/cms/entity/Comment.java | 2783 | /*
* Copyright © 2013 Changsha Shishuo Network Technology Co., Ltd. All rights reserved.
* 长沙市师说网络科技有限公司 版权所有
* http://www.shishuo.com
*/
package com.shishuo.cms.entity;
import java.util.Date;
import com.shishuo.cms.constant.CommentConstant;
/**
* 评论实体
*
* @author Administrator
*
*/
p... | gpl-3.0 |
trackplus/Genji | src/main/java/com/aurel/track/persist/TProjectPeer.java | 30756 | /**
* Genji Scrum Tool and Issue Tracker
* Copyright (C) 2015 Steinbeis GmbH & Co. KG Task Management Solutions
* <a href="http://www.trackplus.com">Genji Scrum Tool</a>
*
* 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... | gpl-3.0 |
McMoonLakeDev/Script | src/com/minecraft/moonlake/script/execute/Executor.java | 862 | /*
* Copyright (C) 2017 The MoonLake Authors
*
* 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 ... | gpl-3.0 |
brangerbriz/webroutes | nw-app/telegeography-data/internetexchanges/buildings/20170.js | 574 | {"exchanges":[{"info":[{"onclick":null,"link":"mailto:","value":"Antonio Harris, Executive Director"},{"onclick":null,"link":null,"value":"54 11 4326 0777"},{"onclick":null,"link":"mailto:info@cabase.org.ar","value":"info@cabase.org.ar"},{"onclick":"window.open(this.href,'ix-new-window');return false;","link":"http://w... | gpl-3.0 |
vincentcasseau/hyStrath | src/thermophysicalModels/strath/strathSpecie/transport/speciesTransport/powerLawEucken/powerLawEuckenTransport.H | 6672 | /*---------------------------------------------------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2016-2021 hyStrath
\\/ M anipulation |
-------------------... | gpl-3.0 |
avdata99/SIAT | siat-1.0-SOURCE/src/iface/src/ar/gov/rosario/siat/def/iface/model/ParametroAdapter.java | 1020 | //Copyright (c) 2011 Municipalidad de Rosario and Coop. de Trabajo Tecso Ltda.
//This file is part of SIAT. SIAT is licensed under the terms
//of the GNU General Public License, version 3.
//See terms in COPYING file or <http://www.gnu.org/licenses/gpl.txt>
package ar.gov.rosario.siat.def.iface.model;
import ar.gov.r... | gpl-3.0 |
dvoraka/av-service | avprogram/src/main/java/dvoraka/avservice/avprogram/package-info.java | 88 | /**
* Anti-virus infrastructure and wrappers.
*/
package dvoraka.avservice.avprogram;
| gpl-3.0 |
Invertika/data | scripts/maps/ow-n0012-p0018-o0000.lua | 1400 | ----------------------------------------------------------------------------------
-- Map File --
-- --
-- In dieser Datei stehen die entsprechenden externen NPC's, Trigger un... | gpl-3.0 |
Sarius997/Multiplayer-PD | src/com/sarius/multiplayer_pd/levels/RegularLevel.java | 18242 | /*
* Pixel Dungeon
* Copyright (C) 2012-2015 Oleg Dolya
*
* Shattered Pixel Dungeon
* Copyright (C) 2014-2015 Evan Debenham
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either ver... | gpl-3.0 |
wimoverwater/Sick-Beard | sickbeard/browser.py | 2469 | import os
import glob
import string
import cherrypy
from sickbeard import encodingKludge as ek
# use the built-in if it's available (python 2.6), if not use the included library
try:
import json
except ImportError:
from lib import simplejson as json
# this is for the drive letter code, it only works on windo... | gpl-3.0 |
lyy289065406/expcodes | java/01-framework/dubbo-admin/incubator-dubbo-ops/dubbo-admin-frontend/node/node_modules/npm/node_modules/request/node_modules/har-validator/node_modules/ajv/node_modules/json-stable-stringify/node_modules/jsonify/lib/stringify.js | 5543 | var cx = /[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,
escapable = /[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,
gap,
indent,
meta = { // table of character ... | gpl-3.0 |
powercoders/PCBot | src/org/rsbot/script/methods/Trade.java | 7033 | package org.rsbot.script.methods;
import org.rsbot.script.wrappers.RSComponent;
import org.rsbot.script.wrappers.RSInterface;
import org.rsbot.script.wrappers.RSItem;
import org.rsbot.script.wrappers.RSPlayer;
import java.util.ArrayList;
import java.util.List;
/**
* Trade handling.
*
* @author Timer
* @author ky... | gpl-3.0 |
mpoquet/execo | doc/code_samples/g5k_tcp_congestion.py | 5388 | from execo import *
from execo_g5k import *
from execo_engine import *
import yaml, re, itertools
class g5k_tcp_congestion(Engine):
def run(self):
result_file = self.result_dir + "/results"
params = {
"num_flows": igeom(1, 20, 5),
"tcp_congestion_control": ["cubic", "reno"]... | gpl-3.0 |
qilicun/python | python2/PyMOTW-1.132/PyMOTW/subprocess/subprocess_signal_parent_shell.py | 691 | #!/usr/bin/env python
# encoding: utf-8
#
# Copyright (c) 2009 Doug Hellmann All rights reserved.
#
"""
"""
#end_pymotw_header
import os
import signal
import subprocess
import tempfile
import time
import sys
script = '''#!/bin/sh
echo "Shell script in process $$"
set -x
python signal_child.py
'''
script_file = tempfi... | gpl-3.0 |
Tuxos/Symcon-LaMetric | LaMetric/setbluetooth.php | 365 | <?
SetValue($_IPS['VARIABLE'], $_IPS['VALUE']);
$parentid = IPS_GetParent($_IPS['VARIABLE']);
$bluetoothnameid = IPS_GetObjectIDByName('Bluetooth Name', $parentid);
$btid = IPS_GetObjectIDByName('Bluetooth', $parentid);
$mode = GetValueBoolean($btid);
$bluetoothname = GetValueString($bluetoothnameid);
LM_blue... | gpl-3.0 |
Altaxo/Altaxo | Altaxo/CoreTest/Science/Thermodynamics/Fluids/Fluids/Test_Methyl_Z_Z_Z__9_12_15_octadecatrienoate.cs | 35732 | #region Copyright
/////////////////////////////////////////////////////////////////////////////
// Altaxo: a data processing and data plotting program
// Copyright (C) 2002-2018 Dr. Dirk Lellinger
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU ... | gpl-3.0 |
tutao/tutanota | src/api/entities/tutanota/ReceiveInfoServiceData.ts | 1182 | import {create} from "../../common/utils/EntityUtils.js"
import {TypeRef, downcast} from "@tutao/tutanota-utils"
import type {TypeModel} from "../../common/EntityTypes.js"
export const ReceiveInfoServiceDataTypeRef: TypeRef<ReceiveInfoServiceData> = new TypeRef("tutanota", "ReceiveInfoServiceData")
export const _Type... | gpl-3.0 |
b03605079/darkstar | scripts/zones/Western_Altepa_Desert/Zone.lua | 2558 | -----------------------------------
--
-- Zone: Western_Altepa_Desert (125)
--
-----------------------------------
package.loaded["scripts/zones/Western_Altepa_Desert/TextIDs"] = nil;
require("scripts/zones/Western_Altepa_Desert/TextIDs");
require("scripts/globals/icanheararainbow");
require("scripts/global... | gpl-3.0 |
rg2796/ModTest | src/main/java/com/robert/elevators/init/Recipes.java | 812 | package com.robert.elevators.init;
import cpw.mods.fml.common.registry.GameRegistry;
import net.minecraft.block.Block;
import net.minecraft.init.Blocks;
import net.minecraft.init.Items;
import net.minecraft.item.ItemStack;
import net.minecraftforge.oredict.ShapedOreRecipe;
import net.minecraftforge.oredict.ShapelessOr... | gpl-3.0 |
amenonsen/ansible | lib/ansible/modules/network/fortios/fortios_system_snmp_community.py | 19814 | #!/usr/bin/python
from __future__ import (absolute_import, division, print_function)
# Copyright 2019 Fortinet, 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 Lic... | gpl-3.0 |
b3dgs/lionengine | lionengine-game/src/main/java/com/b3dgs/lionengine/game/feature/Recyclable.java | 1395 | /*
* Copyright (C) 2013-2022 Byron 3D Games Studio (www.b3dgs.com) Pierre-Alexandre (contact@b3dgs.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 Licen... | gpl-3.0 |
ihmc/nomads | aci/cpp/netProxy/TCPSocketAdapter.cpp | 16031 | /*
* TCPSocketAdapter.cpp
*
* This file is part of the IHMC NetProxy Library/Component
* Copyright (c) 2010-2018 IHMC.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* version 3 (GPLv3) as published by the Free Software Foundation.... | gpl-3.0 |
bodoba/Roomberry | tools/Drive.cpp | 2667 | /*
* ---------------------------------------------------------------------------------------
* Copyright 2014 by Bodo Bauer <bb@bb-zone.com>
*
* This Roomba Open Interface class is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* t... | gpl-3.0 |
dundertext/dundertext | ui/src/main/scala/dundertext/ui/keyboard/GlobalKeyboardHandler.scala | 793 | package dundertext.ui.keyboard
import org.scalajs.dom
import org.scalajs.dom.KeyboardEvent
class GlobalKeyboardHandler extends Keyboard {
dom.document.onkeydown = onKeyDown _
dom.document.onkeypress = onKeyPress _
var listeners: Set[KeyboardListener] = Set.empty
def onKeyDown(e: KeyboardEvent): Unit = {
... | gpl-3.0 |
ranchoManuel/Ancheta | DataStructures/Enlazadas/source/listasCYP/ILista.java | 794 | package listasCYP;
import java.io.Serializable;
import exceptions.ElementoRepetidoException;
public interface ILista<T> extends Serializable, Iterable<T>{
/**
*
* @param elemento
* @throws ElementoRepetidoException
*/
public void agregar(T elemento) throws ElementoRepetidoException;
/**
... | gpl-3.0 |
jarmond/Curves | curves/nanoscope.py | 12251 | # Curves force analysis software
# JWA (c)2009
# Import Nanoscope force curve
import re
from numpy import *
class NanoscopeFileReadError(Exception):
def __init__(self,err,line):
self.err = err
self.line = line
def __str__(self):
return repr(self.err) + ': ' + repr(self.line)
def ... | gpl-3.0 |
imr/Electric8 | com/sun/electric/tool/simulation/test/SiliconChip.java | 1434 | /* -*- tab-width: 4 -*-
*
* Electric(tm) VLSI Design System
*
* File: SiliconChip.java
* Written by Jonathan Gainsley, Sun Microsystems.
*
* Copyright (c) 2004 Sun Microsystems and Static Free Software
*
* Electric(tm) is free software; you can redistribute it and/or modify
* it under the terms of the GNU Gen... | gpl-3.0 |
YashdalfTheGray/iot-control | public/views/loginUserView/loginUserView.js | 1487 | /* global angular */
angular.module('iotControl')
.controller('LoginUserViewCtrl',
[
'$state', 'toastSvc', 'userSvc',
function($state, toastSvc, userSvc) {
"use strict";
var vm = this;
vm.login = function() {
var SHA512 = new Hashes.SHA512();
... | gpl-3.0 |
chriswmackey/BEnMap | assets/js/main.js | 14270 | //
// page state
var state = {
filter: "All",
metric: "Site EUI (kBTU/sf)",
};
//
// objects/variables that need to be accessed within functions
var style = {};
var table = {};
var statTable = {};
var olMap = {};
var vectorLayer = {};
var vectorSource = {};
var key = 'PARCEL_ID';
var types = [];
var typeKey =... | gpl-3.0 |
seapub/SourceCode | android_applets-master/api_guide/ui/style_theme/02_theme/ThemeTest/src/com/skw/themetest/ThemeTest.java | 483 | package com.skw.themetest;
import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.content.Intent;
public class ThemeTest extends Activity {
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R... | gpl-3.0 |
imr/Electric8 | com/sun/electric/tool/user/dialogs/LayoutImage.java | 17981 | /* -*- tab-width: 4 -*-
*
* Electric(tm) VLSI Design System
*
* File: LayoutImage.java
*
* Copyright (c) 2009 Sun Microsystems and Static Free Software
*
* Electric(tm) 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 Sof... | gpl-3.0 |
DimChristodoulou/PicIt | PicIt/app/src/main/java/com/example/android/picit/SchemaClasses/User.java | 1801 | package com.example.android.picit.SchemaClasses;
import android.content.Context;
import android.content.Intent;
import android.content.SharedPreferences;
import android.preference.PreferenceManager;
import android.util.Log;
import android.widget.Toast;
import com.example.android.picit.ServerHandler.ServerClient;
impo... | gpl-3.0 |
egglestn/quiz | app/assets/javascripts/content.js | 416 | $(document).ready(function() {
$('#content_category').change(function(event) {
var $content = $('.content');
var $answers = $content.find(".answers");
console.log(".");
// Hard-coded value, needs to match the "Question" option in the category enum in content.rb
if (event.target.options.selectedIn... | gpl-3.0 |
reitzig/2015_apportionment | src/de/unikl/cs/agak/appportionment/experiments/ApportionmentInstanceFactory.java | 3134 | /*
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ... | gpl-3.0 |
Exarchiasghost/openemr | version.php | 813 | <?php
// Software version identification.
// This is used for display purposes, and also the major/minor/patch
// numbers are stored in the database and used to determine which sql
// upgrade file is the starting point for the next upgrade.
$v_major = '4';
$v_minor = '1';
$v_patch = '1';
$v_tag = ''; // minor revisio... | gpl-3.0 |
ErikViWe/accounting-manager | src/Main.java | 306 | import gui.GUI;
import helperMethods.SettingsHelper;
public class Main {
/**
* Main class for starting the Program only.
* @param args
* @author Erik Weinstock
* @version 1.0
*/
public static void main(String[] args) {
SettingsHelper.checkForExistence();
GUI mainGUI = new GUI();
}
}
| gpl-3.0 |
IonAgorria/Ouroboros | src/com/agorria/ouroboros/simulation/action/ActionType.java | 413 | package com.agorria.ouroboros.simulation.action;
import com.agorria.ouroboros.core.Utilities;
/**
* Created on 10/12/2017.
* @author Ion Agorria
*
* Stores action types
*/
public enum ActionType {
Message,
PlayerJoin,
PlayerLeave,
SubmitOrder,
RemoveOrder,
Pause,
MessageServer,
;
... | gpl-3.0 |
CNESmeteo/cnesmeteo | user/models/Throttle.php | 262 | <?php namespace CnesMeteo\User\Models;
use October\Rain\Auth\Models\Throttle as ThrottleBase;
class Throttle extends ThrottleBase
{
/**
* @var array Relations
*/
public $belongsTo = [
'user' => ['CnesMeteo\User\Models\User']
];
}
| gpl-3.0 |
coolme200/NodeBB | src/privileges.js | 742 | "use strict";
var privileges = {};
privileges.userPrivilegeList = [
'find',
'read',
'topics:read',
'topics:create',
'topics:reply',
'upload:post:image',
'upload:post:file',
'purge',
'mods'
];
privileges.groupPrivilegeList = [
'groups:find',
'groups:read',
'groups:topics:read',
'groups:topics:create',
'... | gpl-3.0 |
KWARC/deprecated-LLaMaPUn | src/scripts/run_libsvm_experiment.py | 2901 | #!/usr/bin/bash
import os
import subprocess
import sys
#as beryl doesn't support python3:
if sys.version_info[0] < 3:
input = raw_input
def getReadableFileName(msg):
s = input(msg)
if not os.path.isfile(s):
print("Error: File doesn't exist")
return getReadableFileName(msg)
elif not os.access(s, os.R_OK):
... | gpl-3.0 |
monobogdan/novasocial | zo.php | 2632 | <?php
session_start();
error_reporting(E_ALL^E_DEPRECATED);
include "sys/system.page.php";
include "sys/system.db.php";
include "sys/system.auth.php";
include "sys/system.files.php";
include "sys/system.ad.php";
class Page {
var $gen;
var $auth;
var $db;
var $files;
function __construct() {
... | gpl-3.0 |
pompomJuice/cpp-ethereum | libsolidity/Types.cpp | 45484 | /*
This file is part of cpp-ethereum.
cpp-ethereum 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.
cpp-ethereum is ... | gpl-3.0 |
DaniSagan/Game_13w33 | src/gui/Gui.cpp | 8711 | /*
* Hyperopolis: Megacities building game.
Copyright (C) 2014 Daniel Fernández Villanueva
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
(... | gpl-3.0 |
MikeMatt16/Abide | Abide Tag Definitions/Generated/Library/MultiplayerInformationBlock.Generated.cs | 3285 | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//---... | gpl-3.0 |
labscoop/xortify | server/4.11 RC/htdocs/modules/xortify/class/emails_links.php | 2778 | <?php
/*
* Prevents Spam, Harvesting, Human Rights Abuse, Captcha Abuse etc.
* basic statistic of them in XOOPS Copyright (C) 2012 Simon Roberts
* Contact: wishcraft - simon@labs.coop
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License a... | gpl-3.0 |
SrNativee/BotDeUmBot | node_modules/csvtojson/libs/core/Result.js | 1107 | var Writable = require("stream").Writable;
var util = require("util");
function Result(csvParser) {
Writable.call(this);
this.parser = csvParser;
this.param = csvParser.param;
this.buffer = this.param.toArrayString?"":"["+csvParser.getEol();
this.started = false;
var self = this;
this.parser.on("end", fu... | gpl-3.0 |
qt-haiku/LibreOffice | odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/ViewContainer.java | 8531 | /*************************************************************************
*
* The Contents of this file are made available subject to the terms of
* the BSD license.
*
* Copyright 2000, 2010 Oracle and/or its affiliates.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or... | gpl-3.0 |
sailfish-sdk/sailfish-qtcreator | src/libs/utils/environmentmodel.cpp | 13171 | /****************************************************************************
**
** Copyright (C) 2016 The Qt Company Ltd.
** Contact: https://www.qt.io/licensing/
**
** This file is part of Qt Creator.
**
** Commercial License Usage
** Licensees holding valid commercial Qt licenses may use this file in
** accordance w... | gpl-3.0 |
DarthFeder/Reliquary | reliquary_common/xreliquary/Config.java | 6452 | package xreliquary;
import java.io.File;
import java.util.logging.Level;
import net.minecraftforge.common.Configuration;
import xreliquary.lib.Indexes;
import xreliquary.lib.Reference;
import cpw.mods.fml.common.FMLLog;
public class Config {
// items
public static int handgunID;
public static int shellID;
public ... | gpl-3.0 |
reatlat/wp-campaign-url-builder | source/admin/views/partial/reatlat_cub-admin-settings.php | 3836 | <div class="reatlat_cub_container reatlat_cub_tab reatlat_cub_tab-2">
<form method="POST" class="reatlat_cub_form">
<h2 class="title"><?php _e('Add', 'campaign-url-builder'); ?></h2>
<table class="form-table">
<tr>
<th scope="row"><label for="new_campaign_source"><?php _e... | gpl-3.0 |
GeraldWodni/theforth.net | data.js | 1195 | module.exports = {
setup: function _setup( k ) {
var db = k.getDb();
var users = k.crud.sql( db, { table: "users", key: "id", foreignName: "name",
wheres: {
"name": { where: "`name`=?" }
}
} );
var legacyUsers = k.crud.sql( db, { table:... | gpl-3.0 |
0359xiaodong/JAdventure | src/main/java/com/jadventure/game/navigation/Location.java | 4399 | package com.jadventure.game.navigation;
import com.jadventure.game.items.Item;
import com.jadventure.game.entities.NPC;
import com.jadventure.game.monsters.Monster;
import com.jadventure.game.QueueProvider;
import com.google.gson.JsonElement;
import com.google.gson.JsonObject;
import com.google.gson.JsonParser;
impo... | gpl-3.0 |
lostjared/PSP.Homebrew | apps/SDL3D/mx3d.cpp | 17150 | #include "mx3d.h"
float z_pos = 0.0f;
LPDIRECTSOUND8 m_pDS = 0;
LPDIRECTSOUND3DLISTENER g_pDSListener = 0;
int mxApp::InitLoop() {
MSG msg;
go = true;
while(go == true)
{
if(PeekMessage(&msg,NULL,0,0,PM_REMOVE))
{
if(msg.message == WM_QUIT)
break;
TranslateMessage(&msg);
Dispatc... | gpl-3.0 |
MeteoricGames/pioneer | src/LuaSpace.cpp | 21171 | // Copyright © 2008-2014 Pioneer Developers. See AUTHORS.txt for details
// Licensed under the terms of the GPL v3. See licenses/GPL-3.txt
#include "LuaObject.h"
#include "LuaSpace.h"
#include "LuaManager.h"
#include "LuaUtils.h"
#include "Space.h"
#include "Ship.h"
#include "HyperspaceCloud.h"
#include "Pi.h"
#includ... | gpl-3.0 |
ObjectiveTruth/UoitDCLibraryBooking | app/src/main/java/com/objectivetruth/uoitlibrarybooking/MainActivity.java | 4788 | package com.objectivetruth.uoitlibrarybooking;
import android.content.DialogInterface;
import android.content.SharedPreferences;
import android.os.Bundle;
import android.preference.PreferenceManager;
import android.support.v4.app.FragmentTransaction;
import android.view.MenuItem;
import com.objectivetruth.uoitlibraryb... | gpl-3.0 |
Roguehfhf/SPO | GeometricFigures(full)/GeometricsFigureView/AddFigureForm.cs | 1720 | using GeometricFigures;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace GeometricsFigureView
{
public partial class AddFigureForm : Form
... | gpl-3.0 |
gohdan/DFC | known_files/hashes/bitrix/modules/sale/ru/payment/yandex/.description.php | 61 | Bitrix 16.5 Business Demo = 0d462cfb37504ad7f92434dfe7d974a4
| gpl-3.0 |
marcobotteri/3i-compiti-per-casa | es41pag156furbo.cpp | 282 | #include <iostream>
#define N 100
using namespace std;
int main(){
int a[]={0, 7, -1, 0,5,4,10,1,9,2,-43,-2};
int dim=15;
int somme[15];
int appoggio=0;
for (int i=0; i< dim; i++)
appoggio+=a[i];
for( int i=0;i<dim;i++){
somme[i]=appoggio;
appoggio-=a[i];
}
return 0;
}
| gpl-3.0 |
xingh/bsn-modulestore | bsn.ModuleStore.Parser/Sql/Script/Sequence.cs | 9133 | // bsn ModuleStore database versioning
// -----------------------------------
//
// Copyright 2010 by Arsène von Wyss - avw@gmx.ch
//
// Development has been supported by Sirius Technologies AG, Basel
//
// Source:
//
// https://bsn-modulestore.googlecode.com/hg/
//
// License:
//
// The library is d... | gpl-3.0 |