repo_name stringlengths 4 116 | path stringlengths 3 942 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
OperationDarkside/ProjectDNC | DNC/XmlSerializer.cpp | 1718 | #include "XmlSerializer.h"
namespace dnc {
namespace Xml {
XmlSerializer::XmlSerializer() {}
XmlSerializer::~XmlSerializer() {}
std::string XmlSerializer::ToString() {
return std::string("System.Xml.XmlSerializer");
}
std::string XmlSerializer::GetTypeString() {
return std::string("XmlSerializer"... | gpl-3.0 |
ricecakesoftware/CommunityMedicalLink | ricecakesoftware.communitymedicallink.hl7/src/org/hl7/v3/AgeDetectedIssueCode.java | 913 |
package org.hl7.v3;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlType;
/**
* <p>AgeDetectedIssueCodeのJavaクラス。
*
* <p>次のスキーマ・フラグメントは、このクラス内に含まれる予期されるコンテンツを指定します。
* <p>
* <pre>
* <simpleType name="AgeDetectedIssueCode">
* <restriction base="{urn:hl7-org:v... | gpl-3.0 |
deimosfr/blog | content/post/2010-06-24-puppet-ca-pete.md | 1444 | ---
title: Puppet ça pête !
author: Deimos
type: post
date: 2010-06-24T14:50:45+00:00
url: /2010/06/24/puppet-ca-pete/
image: /images/Puppet-short.png
thumbnailImage: /thumbnails/Puppet-short.png
thumbnailImagePosition: left
categories:
- Developement
- Hi-Tech
- Linux
- OpenBSD
- Solaris
tags:
- Developeme... | gpl-3.0 |
interspiresource/interspire | admin/language/nb-NO/catalog/attribute_group.php | 1022 | <?php
/**
* @package Arastta eCommerce
* @copyright Copyright (C) 2015 Arastta Association. All rights reserved. (arastta.org)
* @license GNU General Public License version 3; see LICENSE.txt
*/
// Heading
$_['heading_title'] = 'Produktegenskaper - Grupper';
// Text
$_['text_success'] = 'Endringer ble ... | gpl-3.0 |
huntie/dotfiles | vscode/install.sh | 609 | code --install-extension brian-anders.sublime-duplicate-text
code --install-extension britesnow.vscode-toggle-quotes
code --install-extension dbaeumer.vscode-eslint
code --install-extension dinhlife.gruvbox
code --install-extension eamodio.gitlens
code --install-extension editorconfig.editorconfig
code --install-extens... | gpl-3.0 |
MasiaArmato/coplux | libraries/joomla/data/set.php | 12869 | <?php
/**
* @package Joomla.Platform
* @subpackage Data
*
* @copyright Copyright (C) 2005 - 2015 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE
*/
defined('JPATH_PLATFORM') or die;
/**
* JDataSet is a collection class ... | gpl-3.0 |
workwelldone/bright-eyes | src/medium_challenges/BenderSolution.java | 5937 | package medium_challenges;
import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;
class BenderSolution {
public static void main(String args[]) {
@SuppressWarnings("resource")
Scanner in = new Scanner(System.in);
int R = in.nextInt();
int C = in.nextInt();
... | gpl-3.0 |
Assassinss/Moment | app/src/main/java/me/zsj/moment/utils/CircleTransform.java | 1691 | package me.zsj.moment.utils;
import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.BitmapShader;
import android.graphics.Canvas;
import android.graphics.Paint;
import com.bumptech.glide.load.engine.bitmap_recycle.BitmapPool;
import com.bumptech.glide.load.resource.bitmap.Bit... | gpl-3.0 |
Sworken/RagSWC | src/server/scripts/OutdoorPvP/OutdoorPvPHP.h | 4238 | /*
* Copyright (C)
*
* 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 hop... | gpl-3.0 |
seap-udea/GravRay | util/doc/cspice/reordc_c.html | 7956 |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML>
<HEAD>
<TITLE>reordc_c</TITLE>
</HEAD>
<BODY style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<A name="TOP"></A>
<table style="text-align: left; margin-left: auto; margin-right: auto; width: 800px;"
border="0" cellpadding... | gpl-3.0 |
KlausMerkert/FreeRail | rocview/dialogs/decoders/bidibidentdlg.h | 5389 | /*
Rocrail - Model Railroad Software
Copyright (C) 2002-2014 Rob Versluis, Rocrail.net
This program is free software; you can redistribute it and/or
as published by the Free Software Foundation; either version 2
modify it under the terms of the GNU General Public License
of the License, or (at your option) ... | gpl-3.0 |
swgopenge/openge | src/clientdata/visitors/SlotDefinitionVisitor.java | 1410 | package clientdata.visitors;
import java.nio.charset.Charset;
import java.nio.charset.CharsetDecoder;
import java.util.HashMap;
import java.util.Map;
import org.apache.mina.core.buffer.IoBuffer;
import clientdata.VisitorInterface;
public class SlotDefinitionVisitor implements VisitorInterface {
public static class ... | gpl-3.0 |
mspublic/openair4G-mirror | targets/PROJECTS/SPECTRA/DEMO_SPECTRA/spectra_demo_src/CRM/server-gae/restlet/src/fr/eurecom/senml/entity/ContactTest.java | 917 | package fr.eurecom.senml.entity;
import javax.jdo.annotations.IdGeneratorStrategy;
import javax.jdo.annotations.PersistenceCapable;
import javax.jdo.annotations.Persistent;
import javax.jdo.annotations.PrimaryKey;
import com.google.appengine.api.datastore.Key;
@PersistenceCapable
public class ContactTest {
@Prima... | gpl-3.0 |
GitFranzis/gourmet-calculator | src/pages/calculator/calculator.html | 3024 | <ion-header>
<ion-navbar color="secondary">
<button ion-button menuToggle>
<ion-icon color="primary" name="menu"></ion-icon>
</button>
<ion-title color="primary">Gourmet Calculator</ion-title>
</ion-navbar>
</ion-header>
<ion-content class="calc">
<form #calcForm="ngForm" (ngSubmit)="onSubmit()"... | gpl-3.0 |
zhdk/madek | app/models/custom_url.rb | 247 | class CustomUrl < ActiveRecord::Base
belongs_to :media_resource
belongs_to :creator, class_name: 'User', foreign_key: :creator_id
belongs_to :updator, class_name: 'User', foreign_key: :updator_id
default_scope lambda{order(id: :asc)}
end
| gpl-3.0 |
AussieGuy0/soccerSim | src/main/java/me/anthonybruno/soccerSim/team/member/Player.java | 1523 | package me.anthonybruno.soccerSim.team.member;
import me.anthonybruno.soccerSim.models.Range;
/**
* Player is a class that contains information about a player.
*/
public class Player extends TeamMember {
private final Range shotRange;
private final int goal;
/**
* Creates a new player with a nam... | gpl-3.0 |
smartstoreag/SmartStoreNET | src/Libraries/SmartStore.Core/Collections/TreeNodeBase.cs | 13704 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using Newtonsoft.Json;
using SmartStore.Core.Infrastructure;
namespace SmartStore.Collections
{
public abstract class TreeNodeBase<T> where T : TreeNodeBase<T>
{
private T _parent;
private List<T> _children = new L... | gpl-3.0 |
modsim/vizardous | src/main/java/vizardous/delegate/dataFilter/ComparableFilter.java | 1741 | package vizardous.delegate.dataFilter;
import java.util.Iterator;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;
import java.util.Set;
import vizardous.util.Converter;
/**
* Filter class that provides filter functionality for data structures with comparable content
*
* @au... | gpl-3.0 |
cs-au-dk/Artemis | contrib/Z3/lib/ast_smt_pp.h | 3147 | /*++
Copyright (c) 2008 Microsoft Corporation
Module Name:
ast_smt_pp.h
Abstract:
Pretty printer of AST formulas as SMT benchmarks.
Author:
Nikolaj Bjorner 2008-04-09.
Revision History:
--*/
#ifndef _AST_SMT_PP_H_
#define _AST_SMT_PP_H_
#include"ast.h"
#include<string>
#inclu... | gpl-3.0 |
IDEES-Rouen/Flight-Scrapping | flight/docker-entrypoint.sh | 215 | #!/bin/bash
set -e
echo "$(whoami)"
if [ "$(whoami)" == "root" ]; then
chown -R scrapy:scrapy /home/scrapy/backup
chown --dereference scrapy "/proc/$$/fd/1" "/proc/$$/fd/2" || :
exec gosu scrapy "$@"
fi | gpl-3.0 |
npsr/antishout.js | example.html | 987 | <!DOCTYPE html>
<html>
<head>
<title>!AntiShout demo</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width">
</head>
<body>
<form action="/">
<p>
<label>Type: text</label>
<input type="text" placeholder="T... | gpl-3.0 |
Komrod/web-servo | tutorials.md | 5390 |
# Tutorials
## Table of contents
- [Make a server from scratch](https://github.com/Komrod/web-servo/blob/master/tutorials.md#make-a-server-from-scratch)
- [Create a HTTPS server](https://github.com/Komrod/web-servo/blob/master/tutorials.md#make-a-https-server)
## Make a server from scratch
Assuming you start from... | gpl-3.0 |
OpenSoftwareSolutions/PDFReporterKit | PDFReporterKit/Sources/org/oss/pdfreporter/crosstabs/fill/calculation/BucketingServiceContext.h | 1963 | //
// Generated by the J2ObjC translator. DO NOT EDIT!
// source: ../pdfreporter-core/src/org/oss/pdfreporter/crosstabs/fill/calculation/BucketingServiceContext.java
//
#include "J2ObjC_header.h"
#pragma push_macro("INCLUDE_ALL_OrgOssPdfreporterCrosstabsFillCalculationBucketingServiceContext")
#ifdef RESTRICT_OrgO... | gpl-3.0 |
systemson/BlankBoard | resources/lang/es/articles.php | 516 | <?php
return array(
'title' => 'Publicaciones',
'parent' => 'Contenido',
'name' => 'publicación|publicaciones',
'table' =>
array(
'id' => 'ID',
'action' => 'Acción',
'title' => 'Título',
'category_id' => 'Categoría',
'author_id' => 'Autor',
'url_alias' => 'Alias de la URL',
'autho... | gpl-3.0 |
KyleLearnedThis/data-structures | src/main/java/com/albion/common/graph/algorithms/BreathFirstSearch.java | 868 | package com.albion.common.graph.algorithms;
import com.albion.common.graph.core.v1.Edge;
import com.albion.common.graph.core.v1.Graph;
import com.albion.common.graph.core.v1.Vertex;
import java.util.ArrayList;
import java.util.List;
public class BreathFirstSearch {
public static Vertex locate(Graph graph, Integer ... | gpl-3.0 |
svbnet/Athame | Athame.PluginAPI/Service/PagedMethod.cs | 1242 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Athame.PluginAPI.Service
{
/// <summary>
/// Represents a collection of items that are retrieved as pages from a service.
/// </summary>
/// <typeparam name="T">The type of eac... | gpl-3.0 |
martinmladenov/SoftUni-Solutions | CSharp OOP Basics/Exercises/04. Inheritance - Exercise/Animals/Animals/Kitten.cs | 261 | namespace Animals.Animals
{
public class Kitten : Cat
{
public Kitten(string name, int age) : base(name, age, "Female")
{
}
public override string ProduceSound()
{
return "Meow";
}
}
}
| gpl-3.0 |
beanandbean/URLDetector | README.md | 120 | URLDetector
===========
URLDetector is an objc program that can find all parts in a string that might refer to an URL.
| gpl-3.0 |
jiachenning/fibjs | vender/src/v8/src/platform-freebsd.cc | 8266 | // Copyright 2012 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Platform-specific code for FreeBSD goes here. For the POSIX-compatible
// parts, the implementation is in platform-posix.cc.
#include <osconfig.h>
... | gpl-3.0 |
clearclaw/xxpaper | xxpaper/contents.py | 590 | #! /usr/bin/env python
import logging, logtool
from .page import Page
from .xlate_frame import XlateFrame
LOG = logging.getLogger (__name__)
class Contents:
@logtool.log_call
def __init__ (self, canvas, objects):
self.canvas = canvas
self.objects = objects
@logtool.log_call
def render (self):
w... | gpl-3.0 |
finesseseth/SOCOMD | rgoc_rhssaf_compat/CfgWeapons.hpp | 4218 | class CfgWeapons {
// Base classes
class ItemCore;
class H_HelmetB;
class H_Cap_red;
class H_Bandanna_khk;
class rhs_booniehat2_marpatd;
// RHSSAF
class rhssaf_helmet_base : H_HelmetB{
rgoc_canAcceptNVG = 1;
};
class rhssaf_helmet_m59_85_nocamo : rhssaf_helmet_base{
rgoc_canAcceptNVG = 1;
};
class rhs... | gpl-3.0 |
ecemandirac/FlightTracker | Fare_Module/src/java/services/calculatorService.java | 1825 | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package services;
import FareCalculator.Calculate;
import java.util.ArrayList;
import javax.ws.rs.core.Context;
import javax.ws.rs.core.UriInfo;
import javax.ws.rs.PathParam;
import javax.ws.rs.Consumes;
import javax.ws... | gpl-3.0 |
kmorin/case-apps | 2015/Case.ViewportReporting/Case.ViewportReporting/My Project/AssemblyInfo.vb | 2384 | Imports System
Imports System.Reflection
Imports System.Runtime.InteropServices
Imports System.Globalization
Imports System.Resources
Imports System.Windows
' General Information about an assembly is controlled through the following
' set of attributes. Change these attribute values to modify the information
' assoc... | gpl-3.0 |
ningshu/Juicer | app/src/main/java/xyw/ning/juicer/poco/model/Size.java | 237 | package xyw.ning.juicer.poco.model;
import xyw.ning.juicer.base.NoProguard;
/**
* Created by Ning-win on 2016/7/30.
*/
public class Size implements NoProguard {
public String url;
public long width;
public long height;
}
| gpl-3.0 |
rilwen/open-quantum-systems | math-test/integr/WeightedIntegralTest.cpp | 1913 | #include <gtest/gtest.h>
#include "math/integr/WeightedIntegral.h"
#include "math/integr/IntegrationDensities.h"
#include <stdexcept>
#include <cmath>
class WeightedIntegralTest: public testing::Test
{
};
TEST_F(WeightedIntegralTest,Test)
{
rql::integr::WeightedIntegral wi(rql::integr::WeightedIntegral::... | gpl-3.0 |
axr/core | src/core/hss/values/selectors/HSSEventSelector.h | 2991 | /********************************************************************
* a A
* AM\/MA
* (MA:MMD
* :: VD
* :: º
* ::
* :: ** .A$MMMMND AMMMD AMMM6 MMMM MMMM6
+ 6::Z. TMMM MMMMMMMMMDA VMMMD AMMM6 MMMMMMMMM6
... | gpl-3.0 |
dobrakmato/Sergius | src/test/java/ts3bot/helpers/MethodSignatureTester.java | 4969 | /*
* Copyright (C) 2014 Matej Kormuth <http://matejkormuth.eu>
*
* 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.
* ... | gpl-3.0 |
asanzdiego/curso-interfaces-web-2014 | 03-rwd/slides/export/rwd-deck-slides.html | 37701 | <!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js ie6" > <![endif]-->
<!--[if IE 7]> <html class="no-js ie7" > <![endif]-->
<!--[if IE 8]> <html class="no-js ie8" > <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" > <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta http-equiv="content-type" cont... | gpl-3.0 |
MikeMatt16/Abide | Abide Tag Definitions/Generated/Library/WeaponSharedInterfaceStructBlock.Generated.cs | 2208 | //------------------------------------------------------------------------------
// <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 |
atomgenie/B2cave | b2cave/b2cave/admin/php/modif_general.php | 703 | <?php
require('../../php/bdd.php');
$bdd->query('DELETE FROM general WHERE 1');
$reqe = $bdd->prepare('INSERT INTO general (name, text, date) VALUES (:label, :text, 0)');
$reqe->execute(array(
"label" => 'titre_accueil',
"text" => $_POST['title']
));
$reqe->CloseCursor();
$reqe = $bdd->prepare('INSERT INTO gen... | gpl-3.0 |
jo-tham/org_text_miner | analysis.md | 12738 | Get required packages
=====================
``` r
library(devtools)
install.packages('tm')
install.packages("SnowballC")
devtools::install_github("cran/wordcloud")
```
Setup corpus
============
- Around here I became frustrated with the CamlCase inconsistencies. Oh well.
- The recursive argument doesn't seem to ... | gpl-3.0 |
wellingtondellamura/compilers-codes-samples | translators/simple-postfix-translator/postfix_lex/tokens.h | 81 | #ifndef TOKENS_H
#define TOKENS_H
#define NUMBER 256
#define SYMBOL 257
#endif
| gpl-3.0 |
ZeroOne71/ql | 02_ECCentral/02_Portal/UI/ECCentral.Portal.UI.MKT/Views/HotKeywords.xaml.cs | 9684 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using System.Windows.Navig... | gpl-3.0 |
TheMrNomis/T-racing | Assets/Scripts/UI/SelectOnInput.cs | 617 | using UnityEngine;
using System.Collections;
using UnityEngine.EventSystems;
public class SelectOnInput : MonoBehaviour {
public EventSystem eventSystem;
public GameObject selectedObject;
private bool buttonSelected;
// Use this for initialization
void Start () {
}
// Update is called once per ... | gpl-3.0 |
amatig/PlantsVsBugs | src/org/anddev/amatidev/pvb/Tutorial.java | 7881 | package org.anddev.amatidev.pvb;
import java.util.LinkedList;
import org.amatidev.util.AdEnviroment;
import org.amatidev.util.AdPrefs;
import org.anddev.amatidev.pvb.bug.BugBeetle;
import org.anddev.amatidev.pvb.card.Card;
import org.anddev.amatidev.pvb.card.CardTomato;
import org.anddev.amatidev.pvb.obj.Dialog;
impo... | gpl-3.0 |
Thealexander/Sarglass | Documentacion/2. Diagramas BPMN/2. Generados/Añadir Escuela a proyectos-1.0.html | 229 | <html>
<body>
<table border="0" cellspacing="0" cellpadding="0" align="LEFT">
<tr>
<td><img src="file:///I:/Monografia/2. Diagramas BPMN/3. Generados/Añadir Escuela a proyectos-1.0_0_0.png"/></td>
</tr>
</table>
</body>
</html> | gpl-3.0 |
vedgy/QtWidgetsUtilities | README.md | 1175 | ## Introduction
<b>vedgTools/QtWidgetsUtilities</b> is a general-purpose C++ library, which
depends on QtCore and QtWidgets/QtGui libraries. Both Qt4 and Qt5 are supported.
It also depends on vedgTools/CMakeModules and vedgTools/QtCoreUtilities
libraries, which are present as submodules in this git repository.
## Lic... | gpl-3.0 |
Vadavim/jsr-darkstar | scripts/globals/spells/protect.lua | 1084 | -----------------------------------------
-- Spell: Protect
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function onMagicCastingCheck(caster,target,spel... | gpl-3.0 |
COx2/JUCE_JAPAN_DEMO | 2018/JUCE/examples/GUI/OpenGLAppDemo.h | 15810 | /*
==============================================================================
This file is part of the JUCE examples.
Copyright (c) 2017 - ROLI Ltd.
The code included in this file is provided under the terms of the ISC license
http://www.isc.org/downloads/software-support-policy/isc-license. Permiss... | gpl-3.0 |
mikonapoli/grakn | grakn-engine/src/main/java/ai/grakn/engine/backgroundtasks/config/KafkaTerms.java | 1152 | /*
* Grakn - A Distributed Semantic Database
* Copyright (C) 2016 Grakn Labs Limited
*
* Grakn 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... | gpl-3.0 |
MediaKraken/MediaKraken_Deployment | source_rust/mk_lib_hash/src/mk_lib_hash_md5.rs | 122 | use sha1::{Sha1, Digest};
use std::fs;
let mut file = fs::File::open(&path)?;
let hash = Sha1::digest_reader(&mut file)?; | gpl-3.0 |
hmemcpy/milewski-ctfp-pdf | src/content/3.2/code/scala/snippet04.scala | 161 | abstract class Adjunction[F[_], U[_]](
implicit val F: Functor[F],
val U: Representable[U]
){
def unit[A](a: A): U[F[A]]
def counit[A](a: F[U[A]]): A
}
| gpl-3.0 |
sebastianha/webos-app_de.omoco.100pixels | app/assistants/history-assistant.js | 4982 | function HistoryAssistant() {
}
HistoryAssistant.prototype.setup = function() {
this.appMenuModel = {
visible: true,
items: [
{ label: $L("About"), command: 'about' },
{ label: $L("Help"), command: 'tutorial' },
]
};
this.controller.setupWidget(Mojo.Menu.appMenu, {omitDefaultItems: true}, this.appMenuMo... | gpl-3.0 |
AdaHeads/Coverage_Tests | disabled_tests/incoming_calls.py | 9794 | # -*- coding: utf-8 -*-
import logging
from pprint import pformat
from time import clock, sleep
try:
import unittest2 as unittest
except ImportError:
import unittest
import config
from event_stack import TimeOutReached
from database_reception import Database_Reception
from static_ag... | gpl-3.0 |
BSDStudios/parity | ethcore/src/types/transaction.rs | 18976 | // Copyright 2015-2017 Parity Technologies (UK) Ltd.
// This file is part of Parity.
// Parity 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... | gpl-3.0 |
HKUST-Aerial-Robotics/VINS-Mono | vins_estimator/src/factor/imu_factor.h | 8487 | #pragma once
#include <ros/assert.h>
#include <iostream>
#include <eigen3/Eigen/Dense>
#include "../utility/utility.h"
#include "../parameters.h"
#include "integration_base.h"
#include <ceres/ceres.h>
class IMUFactor : public ceres::SizedCostFunction<15, 7, 9, 7, 9>
{
public:
IMUFactor() = delete;
IMUFacto... | gpl-3.0 |
luis-esteve/gnss-sdr | src/core/system_parameters/GPS_L1_CA.h | 11551 | /*!
* \file GPS_L1_CA.h
* \brief Defines system parameters for GPS L1 C/A signal and NAV data
* \author Javier Arribas, 2011. jarribas(at)cttc.es
*
* -------------------------------------------------------------------------
*
* Copyright (C) 2010-2015 (see AUTHORS file for a list of contributors)
*
* GNSS-SD... | gpl-3.0 |
Decision-Maker/sp | public/javascripts/Controllers/navController.js | 1136 | /* Copyright 2016 Devon Call, Zeke Hunter-Green, Paige Ormiston, Joe Renner, Jesse Sliter
This file is part of Myrge.
Myrge 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... | gpl-3.0 |
bram85/topydo | topydo/lib/Todo.py | 3165 | # Topydo - A todo.txt client written in Python.
# Copyright (C) 2014 - 2015 Bram Schoenmakers <bram@topydo.org>
#
# 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,... | gpl-3.0 |
daniel-koehn/GERMAINE | include/segy.h | 25371 | /* Copyright (c) Colorado School of Mines, 1996.*/
/* All rights reserved. */
/* segy.h - include file for SEGY traces
*
* declarations for:
* typedef struct {} segy - the trace identification header
* typedef struct {} bhed - binary header
*
* Note:
* If header words are added, run the ma... | gpl-3.0 |
Foorgol/QTournament | tests_deprecated/tstScore.cpp | 11604 | /*
* File: tstGenericDBObject.cpp
* Author: volker
*
* Created on March 2, 2014, 3:46 PM
*/
#include <QString>
#include "tstScore.h"
#include "Score.h"
using namespace QTournament;
//----------------------------------------------------------------------------
void tstScore::testGameScore_IsValidScore()
{
... | gpl-3.0 |
nonnakip/nastyfans-suite | assignfee/Makefile | 355 | CC = gcc
CFLAGS = -g -Wall -Werror -D_GNU_SOURCE -I../include
LDFLAGS = -ljson-c
HEADERS = ../include/json.h ../include/error.h ../include/account.h ../include/util.h
SRC = assignfee.c ../lib/json.c ../lib/account.c ../lib/error.c ../lib/util.c
assignfee: $(SRC) $(HEADERS)
$(CC) $(CFLAGS) $(LDFLAGS) $(SRC) -o$@
clea... | gpl-3.0 |
semiconductor7/java-101 | Projects_import/Project1/src/FeetMeters.java | 467 |
import java.util.Scanner;
public class FeetMeters {
public static void main(String[] args) {
Scanner keyboard = new Scanner(System.in);
System.out.print("Number of feet: ");
float feet = keyboard.nextInt();
float foottometers = (float) .305;
System.out.println("");
... | gpl-3.0 |
dustinbrisebois/moodle | grade/classes/grades/grader/gradingpanel/point/external/store.php | 6329 | <?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 |
cliftonmcintosh/openstates | openstates/mn/__init__.py | 5612 | from pupa.scrape import Jurisdiction, Organization
from .bills import MNBillScraper
from .committees import MNCommitteeScraper
from .people import MNPersonScraper
from .vote_events import MNVoteScraper
from .events import MNEventScraper
from .common import url_xpath
"""
Minnesota legislative data can be found at the O... | gpl-3.0 |
Spoje-NET/FlexiPeeHP | testing/src/FlexiPeeHP/NastaveniTest.php | 1380 | <?php
namespace Test\FlexiPeeHP;
use FlexiPeeHP\Nastaveni;
/**
* Generated by PHPUnit_SkeletonGenerator on 2016-04-27 at 17:32:11.
*/
class NastaveniTest extends FlexiBeeROTest
{
/**
* @var Nastaveni
*/
protected $object;
/**
* Sets up the fixture, for example, opens a network connectio... | gpl-3.0 |
jwbuurlage/Zee | include/util/report.hpp | 5111 | #pragma once
#include <fstream>
#include <iomanip>
#include <map>
#include <sstream>
#include <string>
#include "jw.hpp"
namespace Zee {
class Report {
public:
Report(std::string title, std::string rowTitle)
: title_(title), rowTitle_(rowTitle) {
rowSize_ = rowTitle_.size();
}
void a... | gpl-3.0 |
ohgood/Head-First-Design-Patterns | ProxyPattern/GumballMachineTestDrive.java | 425 | package ProxyPattern;
public class GumballMachineTestDrive {
public static void main(String[] args) {
int count = 0;
if (args .length < 2) {
System.out.println("GumballMachine <name> <inventory>");
System.exit(1);
}
count = Integer.parseInt(args[1]);
GumballMachine gumballMachine = new GumballMachine(... | gpl-3.0 |
olhsha/OpenSKOS2tempMeertens | library/OpenSKOS/Solr/Document.php | 8418 | <?php
/**
* OpenSKOS
*
* LICENSE
*
* This source file is subject to the GPLv3 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://www.gnu.org/licenses/gpl-3.0.txt
* If you did not receive a copy of the license and are unab... | gpl-3.0 |
kin63camapa/convertor | sqlconnectdialog.h | 466 | #ifndef SQLCONNECTDIALOG_H
#define SQLCONNECTDIALOG_H
#include <QDialog>
#include <QtSql>
namespace Ui {
class SQLConnectDialog;
}
class SQLConnectDialog : public QDialog
{
Q_OBJECT
public:
explicit SQLConnectDialog(QWidget *parent = 0);
~SQLConnectDialog();
QSqlDatabase connect(QSqlDatabase db);
p... | gpl-3.0 |
cksystemsgroup/cpcc | cpcc-demo/src/main/java/cpcc/demo/setup/builder/SensorConstants.java | 6792 | // This code is part of the CPCC-NG project.
//
// Copyright (c) 2009-2016 Clemens Krainer <clemens.krainer@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 2 of t... | gpl-3.0 |
fumseck/aphrodite | app/Console/Commands/Venus.php | 1016 | <?php
namespace App\Console\Commands;
use App\App;
use Illuminate\Console\Command;
use Illuminate\Support\Facades\Artisan;
use Imperium\File\File;
class Venus extends Command
{
/**
* The name and signature of the console command.
*
* @var string
*/
protected $signature = 'app:secure';
... | gpl-3.0 |
talek69/curso | stimulsoft/src/com/stimulsoft/report/chart/view/series/radar/StiRadarAreaSeries.java | 2787 | /*
* Decompiled with CFR 0_114.
*
* Could not load the following classes:
* com.stimulsoft.base.drawing.StiBrush
* com.stimulsoft.base.drawing.StiColor
* com.stimulsoft.base.drawing.StiSolidBrush
* com.stimulsoft.base.drawing.enums.StiPenStyle
* com.stimulsoft.base.serializing.annotations.StiDefaulValue
... | gpl-3.0 |
xmjiao/octave-debian | libgui/graphics/PushButtonControl.h | 1136 | /*
Copyright (C) 2011-2017 Michael Goffioul
This file is part of Octave.
Octave 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.
Octave is... | gpl-3.0 |
mattparizeau/2DGameEngine | ge_common/com/base/engine/math/Vector2f.java | 1731 | package com.base.engine.math;
public class Vector2f
{
private float x, y;
public Vector2f(float x, float y)
{
this.x = x;
this.y = y;
}
public Vector2f normalized()
{
float len = length();
float x_ = x / len;
float y_ = y / len;
... | gpl-3.0 |
gen4young/twidere | src/org/mariotaku/twidere/util/EnvironmentAccessor.java | 1877 | /*
* Twidere - Twitter client for Android
*
* Copyright (C) 2012 Mariotaku Lee <mariotaku.lee@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 Lice... | gpl-3.0 |
infobeisel/polyvr | src/core/utils/toString.cpp | 2978 | #include "toString.h"
vector<string> splitString(string s, char c) {
stringstream ss(s);
string token;
vector<string> res;
while (std::getline(ss, token, c)) res.push_back(token);
return res;
}
string toString(string s) { return s; }
string toString(bool b) { stringstream ss; ss << b; return ss.s... | gpl-3.0 |
galaktor/galaktor.github.io | 2011/06/mapping-network-drives-for-teamcity.html | 341 | <!DOCTYPE html><html><head><link rel="canonical" href="http://raph.es/blog/2011/06/mapping-network-drives-for-teamcity-build-agents/"/><meta http-equiv="content-type" content="text/html; charset=utf-8" /><meta http-equiv="refresh" content="0;url=http://raph.es/blog/2011/06/mapping-network-drives-for-teamcity-build-agen... | gpl-3.0 |
esteban-uo/-Grafo-Red-Social-de-Investigadores | app/models/nivel_sni.php | 803 | <?php
class NivelSni extends AppModel {
var $name = 'NivelSni';
var $displayField = 'nombre';
var $validate = array(
'nombre' => array(
'minlength' => array(
'rule' => array('minlength', 1),
'message' => 'Valor muy pequeño.',
'allowEmpty' => false
),
),
'descripcion' => array(
'minlength' ... | gpl-3.0 |
awood/orbach | orbach/core/urls.py | 1005 | '''
Copyright 2015
This file is part of Orbach.
Orbach 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.
Orbach is distributed in the hope t... | gpl-3.0 |
dma-gh/Shogi-Game | src/Silver.java | 1589 |
public class Silver extends Piece {
public Silver(int owner) {
super(owner);
setSymbol("S");
setType("Silver");
}
public boolean canMove(Square from, Square to, Board b) {
if(promoted) {
//Gold movement code
if((Math.abs(from.getR() - to.getR()) <= 1 &&
(Math.abs(from.getC() - to.getC()) ... | gpl-3.0 |
0x006EA1E5/oo6 | src/main/java/org/otherobjects/cms/tools/GravatarTool.java | 5206 | /*
* This file is part of the OTHERobjects Content Management System.
*
* Copyright 2007-2009 OTHER works Limited.
*
* OTHERobjects 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 ... | gpl-3.0 |
puliuyinyi/test | src/main/java/com/baobaotao/transaction/nestcall/BaseService.java | 75 | package com.baobaotao.transaction.nestcall;
public class BaseService {
}
| gpl-3.0 |
ddimensia/RaceCapture_App | autosportlabs/racecapture/views/util/alertview.py | 3843 | import kivy
kivy.require('1.9.1')
from kivy.uix.popup import Popup
from kivy.uix.label import Label
from kivy.uix.gridlayout import GridLayout
from kivy.metrics import dp
from kivy.app import Builder
from kivy.properties import StringProperty, ObjectProperty
from kivy.clock import Clock
from kivy.metrics import sp
from... | gpl-3.0 |
lddubeau/glerbl | glerbl/check/__init__.py | 461 |
class CheckBase(object):
"""
Base class for checks.
"""
hooks = []
# pylint: disable=W0105
"""Git hooks to which this class applies. A list of strings."""
def execute(self, hook):
"""
Executes the check.
:param hook: The name of the hook being run.
:type ... | gpl-3.0 |
jcntux/Dolibarr | htdocs/product/stock/index.php | 5429 | <?php
/* Copyright (C) 2003-2006 Rodolphe Quiedeville <rodolphe@quiedeville.org>
* Copyright (C) 2004-2011 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2005-2009 Regis Houssin <regis.houssin@capnetworks.com>
*
* This program is free software; you can redistribute it and/or modify
* it u... | gpl-3.0 |
Babbafett/evaluate_your_prof | php/generateTAN.php | 2980 | <?php
require_once ('getConnection.php');
$stmt = $connect -> stmt_init();
$query = "SELECT c_token FROM t_course WHERE c_id = ?";
if (!($stmt -> prepare($query))) {
echo "Prepare failed: " . $connect -> errno . $connect -> error;
}
if (!($stmt -> bind_param("d", $_POST["course"]))) {
echo "Bind failed: " . $connect ... | gpl-3.0 |
Chen-Leon/DeviationX | src/pages/text/model_loadsave.c | 943 | /*
This project 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.
Deviation is distributed in the hope that it will be useful,
but WITHO... | gpl-3.0 |
jesg/junit3Tojunit4 | src/com/gowan/plugin/SelectionToICompilationUnitList.java | 5321 | /*
Copyright (C) 2013 Jason Gowan
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 tha... | gpl-3.0 |
Copona/copona | system/library/db/mpdo.php | 4141 | <?php
namespace DB;
final class mPDO {
private $connection = null;
private $statement = null;
public function __construct($hostname, $username, $password, $database, $port = '3306') {
try {
$dsn = "mysql:host={$hostname};port={$port};dbname={$database};charset=UTF8";
$opt... | gpl-3.0 |
FabianFriedrich/Text2Process | src/com/inubit/research/textToProcess/textModel/WordNode.java | 2249 | /**
* copyright
* Inubit AG
* Schoeneberger Ufer 89
* 10785 Berlin
* Germany
*/
package com.inubit.research.textToProcess.textModel;
import java.awt.Color;
import java.awt.Graphics;
import java.awt.Graphics2D;
import java.awt.Shape;
import java.awt.geom.Rectangle2D;
import net.frapu.code.visualization.ProcessNo... | gpl-3.0 |
nemishkor/npu-calendars | application/views/calendar_add_view.php | 905 | <?php
/*
* $result->groups
* $result->auditories
* $result->lectors
* $result->calendars
*/
?>
<h1>Додати календар</h1>
<div class="uk-margin">
<div class="uk-form">
<?php
if(mysqli_num_rows($result->groups) > 0){
echo '<select>';
while($row = mysqli_fetch_assoc($result->groups)) {
echo '<opti... | gpl-3.0 |
cmoralesweb/electric-theme | wp-content/themes/electric/inc/theme-options/scripts.php | 3745 | <?php
/*
Scripts and styles options
*/
/**
* Renders the Scripts and styles options section.
*/
function electric_thop_render_scripts_section(){
echo "<p>" . __('You are not forced to use everything that the theme includes. If you are not going to use a feature (because you don\'t like it or because you prefer a ... | gpl-3.0 |
MbCrew/wiicraft-code | libogc/include/ogc/machine/processor.h | 6592 | #ifndef __PROCESSOR_H__
#define __PROCESSOR_H__
#include <gctypes.h>
#include "asm.h"
#define __stringify(rn) #rn
#define ATTRIBUTE_ALIGN(v) __attribute__((aligned(v)))
// courtesy of Marcan
#define STACK_ALIGN(type, name, cnt, alignment) u8 _al__##name[((sizeof(type)*(cnt)) + (alignment) + (((... | gpl-3.0 |
qualitance/ldir-web | client/components/page-skipper/page-skipper.directive.js | 1522 | 'use strict';
angular.module('ldrWebApp')
/**
* @name pageSkipper
* @param config
* @param pages
* @type element
* @description Skip to page directive
* @requires $scope
*/
.directive('pageSkipper', function () {
return {
restrict: 'E',
templat... | gpl-3.0 |
jeremiahyan/odoo | addons/point_of_sale/static/src/js/db.js | 21089 | odoo.define('point_of_sale.DB', function (require) {
"use strict";
var core = require('web.core');
var utils = require('web.utils');
/* The PosDB holds reference to data that is either
* - static: does not change between pos reloads
* - persistent : must stay between reloads ( orders )
*/
var PosDB = core.Class.ex... | gpl-3.0 |
nbuechler/nb.com-v8 | views/home.html | 23965 | <div class="container">
<div class="row jumbotron indexBKGD">
<div class="col-xs-12 col-sm-10 col-sm-offset-1">
<div class="row">
<div class="col-12 col-sm-12 col-lg-12" style="text-align: center;">
<div class="panel panel-default">
<div class="panel-body">
... | gpl-3.0 |
joshuacox/mkdomoticz | Makefile | 5104 | .PHONY: all help build run builddocker rundocker kill rm-image rm clean enter logs
all: help
help:
@echo ""
@echo "-- Help Menu"
@echo "" This is merely a base image for usage read the README file
@echo "" 1. make run - build and run docker container
@echo "" 2. make build - build docker container... | gpl-3.0 |
cefn/allyourx | allyourx/xq/result/list_projects.html | 2095 | <!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>
<link rel="stylesheet" type="text/css" href="assets/style.css"></link>
</head>
<body>
<div class="content">
<h1><a ... | gpl-3.0 |
besport/BSLoginServices | Vendor/BSLoginServices/BSRunKeeperLoginSegue.h | 917 | //
// 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 program is distributed in the hope that it wil... | gpl-3.0 |