repo_name stringlengths 4 116 | path stringlengths 4 379 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
moisesjbc/gcs | web/js/utilities.js | 2184 | /***
* Copyright 2012, 2014
* Garoe Dorta Perez
* Moises J. Bonilla Caraballo (Neodivert)
*
* This file is part of GCS.
*
* GCS 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 ... | gpl-3.0 |
nickbattle/vdmj | vdmj/src/main/java/com/fujitsu/vdmj/po/definitions/POThreadDefinition.java | 2304 | /*******************************************************************************
*
* Copyright (c) 2016 Fujitsu Services Ltd.
*
* Author: Nick Battle
*
* This file is part of VDMJ.
*
* VDMJ is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License a... | gpl-3.0 |
SamuelDoud/complex-homotopy | NavigationBar.py | 464 | import tkinter
import matplotlib
from matplotlib.backends.backend_tkagg import NavigationToolbar2TkAgg
class NavigationBar(NavigationToolbar2TkAgg):
"""This class removes the buttons not usable in the program"""
def __init__(self, canvas, window):
self.toolitems = [tool for tool in NavigationToolbar2T... | gpl-3.0 |
Urco13/PracticasClase | ArrayBidimensional/src/arraybidimensional/ArrayBidimensional.java | 2146 | /*
Crear Matriz de 3x4
Almacenar numeros
metodo mostrar tabla,
mostrar los datos de la fila 3,
mostrar suma de cada fila,
mostrar suma columna 3,
Donde esta el numero?
Recorrer por columnas y mostrar
*/
package arraybidimensional;
import java.io.BufferedReader;
import java.io.InputStreamReader;
/**... | gpl-3.0 |
RalphBariz/RalphsDotNet | Service.Data.NHibernate/RalphsDotNet.Service.Data.NHibernate/MonoSqliteDriver.cs | 941 | namespace RalphsDotNet.Service.Data
{
public class MonoSqliteDriver : NHibernate.Driver.ReflectionBasedDriver
{
public MonoSqliteDriver ()
: base(
"Mono.Data.Sqlite",
"Mono.Data.Sqlite",
"Mono.Data.Sqlite.SqliteConnection",
"Mon... | gpl-3.0 |
veronecrm/veronecrm | src/core/System/Http/Session/FlashBag.php | 1939 | <?php
/**
* Verone CRM | http://www.veronecrm.com
*
* @copyright Copyright (C) 2015 - 2016 Adam Banaszkiewicz
* @license GNU General Public License version 3; see license.txt
*/
namespace System\Http\Session;
use System\ParameterBag;
class FlashBag
{
protected $flashes = ['new' => [], 'current' => []];
... | gpl-3.0 |
delalond/STEPS | STEPS-2.0.0/cpp/tetexact/tri.hpp | 9710 | ////////////////////////////////////////////////////////////////////////////////
// STEPS - STochastic Engine for Pathway Simulation
// Copyright (C) 2007-2013ÊOkinawa Institute of Science and Technology, Japan.
// Copyright (C) 2003-2006ÊUniversity of Antwerp, Belgium.
//
// See the file AUTHORS for details.
//
// Thi... | gpl-3.0 |
famzim13/CS585 | src/engine/containers/node.cpp | 30 | // node.cpp
#include "node.h"
| gpl-3.0 |
Grumbel/scatterbackup | scatterbackup/fileinfo.py | 6866 | # ScatterBackup - A chaotic backup solution
# Copyright (C) 2015 Ingo Ruhnke <grumbel@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 ... | gpl-3.0 |
XMGmen/zentao | search/view/buildform.html.php | 16230 | <?php
/**
* The buildform view of search module of ZenTaoPMS.
*
* @copyright Copyright 2009-2015 青岛易软天创网络科技有限公司(QingDao Nature Easy Soft Network Technology Co,LTD, www.cnezsoft.com)
* @license ZPL (http://zpl.pub/page/zplv11.html)
* @author Chunsheng Wang <chunsheng@cnezsoft.com>
* @package search
... | gpl-3.0 |
h4ck3rm1k3/ansible | v2/ansible/executor/module_common.py | 7421 | # (c) 2013-2014, Michael DeHaan <michael.dehaan@gmail.com>
#
# This file is part of Ansible
#
# Ansible 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) an... | gpl-3.0 |
VictorPisciotti/Asistente-Lucy | Speech Lucy/Bluetooth-Demo/Bluetooth-Demo/Window1.xaml.cs | 5079 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windo... | gpl-3.0 |
openqt/algorithms | projecteuler/pe482-the-incenter-of-a-triangle.py | 370 | #!/usr/bin/env python
# coding=utf-8
"""482. The incenter of a triangle
https://projecteuler.net/problem=482
ABC is an integer sided triangle with incenter I and perimeter p.
The segments IA, IB and IC have integral length as well.
Let L = p + |IA| + |IB| + |IC|.
Let S(P) = ∑L for all such triangles where p ≤ P. ... | gpl-3.0 |
OgarioProject/Ogar2-Server | src/main/java/com/ogarproject/ogar/server/util/thread/RunnableImpl.java | 1349 | /**
* This file is part of Ogar.
*
* Ogar 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.
*
* Ogar is distributed in the hope t... | gpl-3.0 |
kidsfm/cms | schedule/migrations/0005_auto_20170314_1035.py | 1492 | # -*- coding: utf-8 -*-
# Generated by Django 1.10.5 on 2017-03-14 14:35
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('schedule', '0004_auto_20170309_1040'),
]
operations = [
migrations.CreateMo... | gpl-3.0 |
aci2n/isms | Common/src/isms/models/ThresholdType.java | 232 | package isms.models;
public enum ThresholdType {
WARNING(10),
DANGER(20),
CRITICAL(30);
private int priority;
ThresholdType(int priority) {
this.priority = priority;
}
public int getPriority() {
return priority;
}
}
| gpl-3.0 |
Chase22/Disgaea-Multiverse | Disgaea-Multiverse/src/main/java/org/disgea/data/character/Resistances.java | 2164 | package org.disgea.data.character;
public class Resistances {
private int sword;
private int spear;
private int axe;
private int fist;
private int staff;
private int gun;
private int bow;
private int monstera;
private int monsterb;
private int heat;
private int cold;
private int wind;
priva... | gpl-3.0 |
OPM/ResInsight | ApplicationLibCode/ProjectDataModel/WellLog/RimWellLogPlotCollection.cpp | 10863 | /////////////////////////////////////////////////////////////////////////////////
//
// Copyright (C) 2015- Statoil ASA
// Copyright (C) 2015- Ceetron Solutions AS
//
// ResInsight 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 |
KabOOm356/Reporter | src/main/java/net/KabOOm356/Locale/Entry/LocalePhrases/UnclaimPhrases.java | 1600 | package net.KabOOm356.Locale.Entry.LocalePhrases;
import net.KabOOm356.Locale.Entry.LocalePhrase;
/**
* Class containing static {@link LocalePhrase}s that are used by
* {@link net.KabOOm356.Command.Commands.UnclaimCommand}.
*/
public abstract class UnclaimPhrases {
/**
* The report at index %i is alre... | gpl-3.0 |
rtezli/Blitzableiter | Swf/H236VideoPacket.cs | 6112 | using System;
using System.Collections.Generic;
using System.Text;
using System.IO;
namespace Recurity.Blitzableiter.SWF
{
/// <summary>
/// The video packet is the top-level structural element in a Sorenson H.263 video packet.
/// </summary>
public class H236VideoPacket : AbstractSwfElement... | gpl-3.0 |
arksu/origin | client/src/com/a2client/g3d/ModelData.java | 7237 | package com.a2client.g3d;
import com.a2client.Config;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.graphics.Mesh;
import com.badlogic.gdx.math.Matrix4;
import com.badlogic.gdx.math.collision.BoundingBox;
import com.google.gson.Gson;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.io.File;... | gpl-3.0 |
bojuelu/unity-toolbox | Assets/Scripts/UI/Tools/TextSharperer.cs | 907 | using UnityEngine;
using UnityEngine.UI;
namespace UnityToolbox
{
/// <summary>
/// Sharp the fucking UGUI Text
/// Refrence: http://answers.unity3d.com/questions/1226551/ui-text-is-blurred-unity-535f.html
/// Use the way "Lame hack 1"
/// Author: U_Ku_Shu (http://answers.unity3d.com/users/490552/... | gpl-3.0 |
Kneesnap/Kineticraft | src/net/kineticraft/lostcity/data/reflect/behavior/MapStore.java | 1231 | package net.kineticraft.lostcity.data.reflect.behavior;
import net.kineticraft.lostcity.data.JsonData;
import net.kineticraft.lostcity.data.Jsonable;
import net.kineticraft.lostcity.data.maps.SaveableMap;
import net.kineticraft.lostcity.guis.data.GUIMapEditor;
import net.kineticraft.lostcity.item.display.GUIItem;
impo... | gpl-3.0 |
Belxjander/Kirito | SnowStorm/indra/linux_crash_logger/linux_crash_logger.cpp | 1787 | /**
* @file linux_crash_logger.cpp
* @brief Linux crash logger implementation
*
* $LicenseInfo:firstyear=2003&license=viewerlgpl$
* Second Life Viewer Source Code
* Copyright (C) 2010, Linden Research, Inc.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the G... | gpl-3.0 |
mahalaxmi123/moodleanalytics | corplms/reportbuilder/report_forms.php | 71585 | <?php
/*
* This file is part of Corplms LMS
*
* Copyright (C) 2010 onwards Corplms Learning Solutions LTD
*
* 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 |
projectcuracao/projectcuracao | testSelectSolar.py | 803 |
"""
testSelectSolar.py
JCS 01/14/2014 Version 1.0
This program selects Solar
"""
# shelves:
# datacollect - sensor data collection - disabled to RAM
# graphprep - building system graphs
# housekeeping - fan check , general health and wellfare
# alarmchecks - checks for system health alarms
# actions - specific ... | gpl-3.0 |
scurest/Player | src/decoder_wildmidi.cpp | 6526 | /*
* This file is part of EasyRPG Player.
*
* EasyRPG Player 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.
*
* EasyRPG Player... | gpl-3.0 |
PavelSilukou/AlienRP | AlienRP/Elements/TrackTimeline.xaml.cs | 2772 | /*
* ***** BEGIN GPL LICENSE BLOCK*****
* Copyright © 2017 Pavel Silukou
* This file is part of AlienRP.
* AlienRP 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 |
jhjguxin/PyCDC | Karrigell-2.3.5/webapps/demo/consoleOutput.py | 37 | import k_utils
k_utils.trace('essai') | gpl-3.0 |
webSPELL/webSPELL | languages/no/registered_users.php | 2134 | <?php
/*
##########################################################################
# #
# Version 4 / / / #
# -----------__---/__---__------__----__---/---/- #
# ... | gpl-3.0 |
baoping/Red-Bull-Media-Player | RedBullPlayer/PlayerShell/UI/Region.cpp | 1171 | /*
* Red Bull Media Player
* Copyright (C) 2011, Red Bull
*
* 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 v... | gpl-3.0 |
albertz/diplom-thesis-math | src/utils.py | 21773 | # -*- coding: utf-8 -*-
# Hermitian modular forms, https://github.com/albertz/diplom-thesis-math
# Copyright (c) 2013, Albert Zeyer, www.az2000.de
# This code is under the GPL v3 or later, see License.txt in the root directory of this project.
from threading import currentThread
import time, os
from sage.matrix.matrix... | gpl-3.0 |
danielelinaro/dynclamp | python/lcg/seal_test_gui.py | 28383 | #! /usr/bin/env python
import sys
import os
import lcg
import numpy as np
import subprocess as sub
import getopt
from PyQt4 import QtGui,QtCore
from matplotlib.backends.backend_qt4agg import FigureCanvasQTAgg as FigureCanvas
from matplotlib.backends.backend_qt4agg import NavigationToolbar2QT as NavigationToolbar
impor... | gpl-3.0 |
Expugn/S-argo | src/main/java/io/github/spugn/Sargo/CharacterScout/SAOGameFifthAnniversaryStepUp.java | 6941 | package io.github.spugn.Sargo.CharacterScout;
import discord4j.core.object.entity.Message;
import io.github.spugn.Sargo.Objects.Banner;
import io.github.spugn.Sargo.Objects.Character;
import java.util.List;
/**
* SAO GAME 5TH ANNIVERSARY CHARACTER SCOUT
* <p>
* View {@link StepUp}'s JavaDoc for more informati... | gpl-3.0 |
jjdmol/LOFAR | MAC/Deployment/data/Coordinates/load_rotation_matrices.py | 2341 | #!/usr/bin/env python
#coding: iso-8859-15
import re,sys,pgdb,pg
import numpy as np
from math import *
from database import *
# get info from database.py
dbName=getDBname()
dbHost=getDBhost()
db1 = pgdb.connect(user="postgres", host=dbHost, database=dbName)
cursor = db1.cursor()
# calling stored procedures only work... | gpl-3.0 |
QIUMENGYUAN/GeomCrisis | Assets/Scripts/CheckLine.cs | 630 | using UnityEngine;
using System.Collections;
public class CheckLine : MonoBehaviour {
public GameObject NextCheckPoint;
Vector3 StartPosition ;
bool Into = true;
void Start()
{
}
void OnTriggerExit2D(Collider2D other)
{
if (other.tag == "Player" && Into)
{
... | gpl-3.0 |
rogersmendonca/joia | joia-hadoop/src/main/java/br/com/auditoria/joia/mapreduce/all/JoiaReduceAll.java | 945 | package br.com.auditoria.joia.mapreduce.all;
import java.io.IOException;
import org.apache.hadoop.io.Text;
import org.apache.hadoop.mapreduce.Reducer;
/**
* Reduce que acumula as reducoes de JobReduceCount e JobReduceNotOk.
*
* @author Rogers Reiche de Mendonca
*
*/
public class JoiaReduceAll extends Reducer<... | gpl-3.0 |
pinkra/neisse | src/agent/model/DataCollector.py | 374 |
class DataCollector:
"""
A DataCollector collects all data related to a specific group
(e.g. system data, network data, ...).
It denotes an abstract class that define the interface of a DataCollector.
More specific data collectors implements this interface.
"""
def load(self):
pass... | gpl-3.0 |
ZephyrRaine/LD39 | Assets/Scripts/ShapeColorLibrary.cs | 212 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ShapeColorLibrary : ScriptableObject {
public List<Color> _colorShapes;
// Use this for initialization
}
| gpl-3.0 |
jbarascut/blog | pelicanconf.py | 1230 | #!/usr/bin/env python
# -*- coding: utf-8 -*- #
from __future__ import unicode_literals
AUTHOR = u'Gnupyx'
SITENAME = u'Gnupyx'
SITEURL = 'http://gnupyx.ninja'
PATH = 'content'
TIMEZONE = 'Europe/Paris'
DEFAULT_LANG = u'fr'
# Feed generation is usually not desired when developing
FEED_ALL_ATOM = True
CATEGORY_FEED... | gpl-3.0 |
yokuba/data-protest | src/App.js | 1644 | import React, { Component } from 'react';
import { auth, database } from './firebase';
import CurrentUser from './CurrentUser';
import SignIn from './SignIn';
import Newsers from './Newsers';
import pick from 'lodash/pick' ;
import map from 'lodash/map';
import './App.css';
class App extends Component {
constructor(... | gpl-3.0 |
kalliope-project/kalliope | Tests/test_order_analyser.py | 30914 | import unittest
from Tests.utils.utils import get_test_path
from kalliope.core.Models import Brain
from kalliope.core.Models import Neuron
from kalliope.core.Models import Synapse
from kalliope.core.Models.MatchedSynapse import MatchedSynapse
from kalliope.core.Models.Signal import Signal
from kalliope.core.OrderAnaly... | gpl-3.0 |
gladly-team/goodblock | src/js/contentscript-goodblock.js | 1461 | // console.log('Goodblock content script.');
/******************************************************************************/
/******************************************************************************/
var baseElemId = 'goodblock-iframe-base';
var createGbScript = function() {
var script = document.createEleme... | gpl-3.0 |
masterucm1617/botzzaroni | BotzzaroniDev/GATE_Developer_8.4/src/test/gate/corpora/TestDocument.java | 12627 | /*
* TestDocument.java
*
* Copyright (c) 1995-2012, The University of Sheffield. See the file
* COPYRIGHT.txt in the software or at http://gate.ac.uk/gate/COPYRIGHT.txt
*
* This file is part of GATE (see http://gate.ac.uk/), and is free
* software, licenced under the GNU Library General Public License,
* ... | gpl-3.0 |
OpenSHAPA/openshapa | src/main/java/org/openshapa/util/WindowsFileAssociations.java | 2250 | /**
* 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 us... | gpl-3.0 |
jhodapp/snapd | overlord/overlord_test.go | 13317 | // -*- Mode: Go; indent-tabs-mode: t -*-
/*
* Copyright (C) 2016 Canonical Ltd
*
* 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
* published by the Free Software Foundation.
*
* This program is distributed in the hope tha... | gpl-3.0 |
ellis/2009QuVault | quvault/server-lift/src/main/scala/net/ellisw/quvault/lift/QuRendererInstructions.scala | 3462 | package net.ellisw.quvault.lift
import scala.collection.mutable.ArrayBuffer
import scala.collection.mutable.LinkedHashSet
import scala.xml._
class QuRendererInstructions {
def render(xmlQuestions: Node): NodeSeq = {
val xmlInstructionList = xmlQuestions \\ "instructions"
val xmlEntryModeList = xmlQuestion... | gpl-3.0 |
LilyPad/GoLilyPad | packet/minecraft/nbt/limits.go | 381 | package nbt
import (
"fmt"
)
const (
ListLimit = 2097152
ByteArrayLimit = 16777216
Int32ArrayLimit = ByteArrayLimit
Int64ArrayLimit = ByteArrayLimit
DepthLimit = 512
)
type ErrorLimit struct {
Subject string
Length int
Limit int
}
func (this ErrorLimit) Error() string {
return fmt.Sprintf("... | gpl-3.0 |
divyanshgaba/Competitive-Coding | Posterized/main.cpp | 1192 | /************************************
* AUTHOR: Divyansh Gaba *
* INSTITUTION: ASET, BIJWASAN *
************************************/
#include<bits/stdc++.h>
#define fast ios_base::sync_with_stdio(0); cin.tie(0);
#define F first
#define S second
#define PB push_back
#define MP make_pair
#define REP(i,a,b) for (in... | gpl-3.0 |
MazZzinatus/storm | src/storm/storage/jani/Property.cpp | 2003 | #include "Property.h"
namespace storm {
namespace jani {
std::ostream& operator<<(std::ostream& os, FilterExpression const& fe) {
return os << "Obtain " << toString(fe.getFilterType()) << " of the '" << fe.getStatesFormula() << "'-states with values described by '" << ... | gpl-3.0 |
frederikweber/DataAcquisition | src/domain/Generator.java | 2139 | /*
* DataAcquisition
* Copyright (C) 2011 Frederik Weber
*
* 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 |
tanlanxing/demo | php/extra/Trie.php | 3905 | <?php
/**
* Class Trie
* 前缀树搜索
*
* $trie = Trie::getInstance();
* var_dump($trie->search('abcd'));
* $trie->remove('abcd');
* var_dump($trie->search('abcd'));
* $trie->insert('abcd');
* var_dump($trie->search('abcd'));
*
* $time = microtime(true);
* for ($i = 0; $i < 10000; $i++) {
* var_dump($trie->searc... | gpl-3.0 |
stephengold/gold-tiles | src/cells.cpp | 3206 | // File: cells.cpp
// Location: src
// Purpose: implement Cells class
// Author: Stephen Gold sgold@sonic.net
// (c) Copyright 2012 Stephen Gold
// Distributed under the terms of the GNU General Public License
/*
This file is part of the Gold Tile Game.
The Gold Tile Game is free software: you can re... | gpl-3.0 |
nadavkav/moodle | mod/label/lang/en/label.php | 2976 | <?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 |
qharley/BotQueue | models/bot.php | 12322 | <?
/*
This file is part of BotQueue.
BotQueue 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.
BotQueue is distrib... | gpl-3.0 |
danielbchapman/production-management | ProductionWebService/src/main/java/com/danielbchapman/production/web/production/beans/AccountBean.java | 1671 | package com.danielbchapman.production.web.production.beans;
import java.io.Serializable;
import javax.faces.bean.ViewScoped;
import javax.faces.event.ActionEvent;
import lombok.Getter;
import lombok.Setter;
import com.danielbchapman.jboss.login.LoginBeanRemote;
import com.danielbchapman.jboss.login.User;... | gpl-3.0 |
harlequin-tech/MarlinHQ | watchdog.cpp | 1958 | #ifdef USE_WATCHDOG
#include "Marlin.h"
#include "watchdog.h"
//===========================================================================
//=============================private variables ============================
//===========================================================================
static volatile uint8... | gpl-3.0 |
hitherejoe/Vineyard | app/src/main/java/com/hitherejoe/vineyard/ui/activity/LauncherActivity.java | 592 | package com.hitherejoe.vineyard.ui.activity;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import com.hitherejoe.vineyard.util.AccountUtils;
public class LauncherActivity extends Activity {
public LauncherActivity() { }
@Override
protected void onCreate(Bundle sa... | gpl-3.0 |
jwdonze/CloudFormationCs | CloudFormationCsTests/Resources/RDS/DBInstanceTests.cs | 283 | using System;
using NUnit.Framework;
using CFN = CloudFormationCs;
using RDS = CloudFormationCs.Resources.RDS;
namespace CloudFormationCsTests.Resources.RDSTests
{
//[TestFixture()]
//public class DBInstanceTests
//{
// [Test()]
// public void TemplateOk()
// {
// }
//}
}
| gpl-3.0 |
ojschumann/clip | tools/zipiterator.cpp | 1054 | /**********************************************************************
Copyright (C) 2008-2011 Olaf J. Schumann
This file is part of the Cologne Laue Indexation Program.
For more information, see <http://clip4.sf.net>
Clip is free software; you can redistribute it and/or modify
it under the terms of the GN... | gpl-3.0 |
savetheinternet/bbsoop | content/themes/default/views/admin/_user_search.php | 64 | <h3><a href="javascript:void(0);" onclick="">Search…</a></h3>
| gpl-3.0 |
XTRO123/mybb_lang_ru | inc/languages/russian/admin/tools_mailerrors.lang.php | 2501 | <?php
/**
* MyBB Copyright 2014 MyBB Group, All Rights Reserved
*
* Website: http://www.mybb.com
* License: http://www.mybb.com/about/license
*
*/
// --------------------------------------------------------------------------------
// MyBB Language Pack File.
// This file has been generated by MyBB - buildin lang... | gpl-3.0 |
thebracket/bgame | world_defs/items_mechanical.lua | 1010 | -- This file defines mechanical items.
-----------------------------------------------------------------------------------------------------------------
-- Mechanisms are an abstract item used for traps, door/bridge controls and similar.
items["mechanism"] = {
name = "Simple Mechanism",
description = "A collec... | gpl-3.0 |
nataniel/e4u-framework | src/E4u/Model/Repository.php | 2081 | <?php
namespace E4u\Model;
use Doctrine\ORM\EntityRepository,
Doctrine\ORM\QueryBuilder,
Doctrine\ORM\Query\Expr;
class Repository extends EntityRepository
{
const PATTERN_PHRASE_ID = '/^(ID:|#)([\d ,]+)$/i';
const PATTERN_FIELD_ID = '/^\w+\.id$/i';
/**
*
* @param mixed $x
* @param... | gpl-3.0 |
darktorres/ERP-STACCATO | src/estoque.cpp | 18515 | #include "estoque.h"
#include "ui_estoque.h"
#include "acbrlib.h"
#include "application.h"
#include "doubledelegate.h"
#include "estoqueproxymodel.h"
#include "sql.h"
#include "user.h"
#include <QDebug>
#include <QScrollBar>
#include <QSqlError>
#include <QSqlRecord>
Estoque::Estoque(const QVariant &idEstoque_, QWid... | gpl-3.0 |
MaharaProject/mahara | htdocs/group/view.php | 5906 | <?php
/**
* The group 'About' page.
*
* @package mahara
* @subpackage core
* @author Catalyst IT Ltd
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL version 3 or later
* @copyright For copyright information on Mahara, please see the README file distributed with this software.
*
*/
define('I... | gpl-3.0 |
TallerUnityFICH/GeometryDash | Assets/Assets/Scripts/Modules/LoadScene.cs | 348 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class LoadScene : MonoBehaviour {
public void Load (int sceneIndex) {
if (sceneIndex == 0)
GameManager.simulate = true;
SceneManager.LoadScene (sceneIndex);
}
public void Quit() {
... | gpl-3.0 |
nieklinnenbank/FreeNOS | lib/libarch/intel/IntelMP.cpp | 3465 | /*
* Copyright (C) 2015 Niek Linnenbank
*
* 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 di... | gpl-3.0 |
InfinityDeer/Unity-Project | Unity Project/Assets/FirstPersonView/Scripts/Renderer/FPV_Renderer_DisableOnly.cs | 1445 | using System;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
namespace FirstPersonView
{
/// <summary>
/// FPV Renderer for Disable Only objects.
/// This class will disable the renderer on OnPreCull.
/// It will re-enable it on OnPostRender.
/// </summary>
public clas... | gpl-3.0 |
StapleButter/SM64DSe | SM64DSFormats/SWAR.cs | 9925 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
using NAudio.Wave;
using NAudio.Wave.SampleProviders;
namespace SM64DSe.SM64DSFormats
{
class SwavStream : WaveStream, ISampleProvider
{
public static int[] INDEX_TABLE ... | gpl-3.0 |
zilgrg/opencart | upload/admin/controller/blog/setting.php | 18585 | <?php
class ControllerBlogSetting extends Controller {
private $error = array();
public function index() {
$this->load->model('blog/setting');
$this->load->model('setting/setting');
$this->data = $this->load->language('blog/blog');
$this->data = $this->load->language('blog/setting');
$this->document->set... | gpl-3.0 |
pasanzaza/Dragonbound | src/server/GameServerDB/Chat/ChatManager.cs | 2929 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
using Newtonsoft.Json;
using System.Web;
namespace GameServerDB.Chat
{
public class ChatManager
{
public static string Msj(string _msjx, UserManager.UserClass _user)
... | gpl-3.0 |
libretees/libreshop | libreshop/api/views.py | 5461 | import hashlib
from django.conf import settings
from django.contrib.auth import get_user_model
from django.contrib.auth.models import Group
from django.core.mail import EmailMessage
from django.db import transaction
from django.shortcuts import get_object_or_404
from rest_framework.views import APIView
from rest_framew... | gpl-3.0 |
blackdesert/DesertProject | WorldServer/Scripts/AdminCommands/ScrKick.cs | 1882 | using System.Linq;
using Commons.Enums;
using WorldServer.Emu;
using WorldServer.Emu.Networking;
using WorldServer.Emu.Networking.Handling.Frames.Send;
/*
Author:Sagara, InCube
*/
namespace WorldServer.Scripts.AdminCommands
{
public class ScrKick : ICommandScript
{
public void Process(ClientConnecti... | gpl-3.0 |
Bramas/CakePHP2-Upload | Controller/UploadController.php | 1460 | <?php
App::uses('AppController', 'Controller');
class UploadController extends AppController {
public $components = array('Upload.PluploadHandler');
public function admin_uploadHandler()
{
$name = isset($_REQUEST['name']) ? $_REQUEST['name'] : $_FILES['file']["name"];
$this->PluploadHandler->no_cache... | gpl-3.0 |
hgonzalezgaviria/diheke | config/app.php | 8769 | <?php
return [
/*
|--------------------------------------------------------------------------
| Application Environment
|--------------------------------------------------------------------------
|
| This value determines the "environment" your application is currently
| running in. This m... | gpl-3.0 |
processmining/synthetic-log-generator | DeclareDesigner/src/nl/tue/declare/appl/design/model/gui/ActivityDataTableModel.java | 920 | package nl.tue.declare.appl.design.model.gui;
import nl.tue.declare.appl.util.swing.*;
import nl.tue.declare.domain.model.*;
public class ActivityDataTableModel
extends TTableModel {
/**
*
*/
private static final long serialVersionUID = 6799371841545528012L;
public ActivityDataTableModel() ... | gpl-3.0 |
proarc/proarc | proarc-webapp/src/main/java/cz/cas/lib/proarc/webapp/server/rest/AnnotatedStringRecord.java | 1851 | /*
* Copyright (C) 2013 Jan Pokorsky
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distr... | gpl-3.0 |
Abnaxos/NeoBeans | src/test/java/ch/raffael/neobeans/impl/TestBeanPropertyMapping.java | 4883 | package ch.raffael.neobeans.impl;
import java.net.URL;
import org.testng.annotations.*;
import org.neo4j.graphdb.Node;
import org.neo4j.graphdb.NotFoundException;
import org.neo4j.graphdb.Transaction;
import static org.testng.Assert.*;
/**
* @author <a href="mailto:herzog@raffael.ch">Raffael Herzog</a>
*/
publi... | gpl-3.0 |
astralien3000/aversive-- | tests/sasiae/sync/server.cpp | 1302 | #include <QProcess>
#include <iostream>
#include "../../my_assert.hpp"
#include "../util.hpp"
int main(int argc, char** argv) {
(void) argc;
(void) argv;
QProcess client;
client.start("./client.elf", QStringList());
myAssert(client.waitForStarted(), "Line " S__LINE__ ": The client could not be initialized... | gpl-3.0 |
jo-soft/jadfr | jadfr/api/feeds/tests/unittests/test_serializers.py | 2049 | from api.feeds.serializers import RecursiveField, ProxyModelSerializer
from django.db.models import Model, ForeignKey, CharField
from django.test import TestCase
from rest_framework.serializers import Serializer, ModelSerializer
from django.utils.six import BytesIO
from rest_framework.renderers import JSONRenderer
from... | gpl-3.0 |
svn2github/rlgo | unittest/RlTestMain.cpp | 524 | #define BOOST_TEST_DYN_LINK // Must be defined before including unit_test.hpp
#include <boost/test/unit_test.hpp>
#include <iostream>
#include "SgSystem.h"
#include "GoBoard.h"
#include "GoInit.h"
#include "SgInit.h"
#include "RlSetup.h"
bool init_unit_test()
{
SgInit();
GoInit();
GoBoard bd(9);
RlSet... | gpl-3.0 |
softwareanimal/TextSecure-WinterBreak2015 | src/org/thoughtcrime/securesms/database/MmsSmsColumns.java | 10838 | package org.thoughtcrime.securesms.database;
public interface MmsSmsColumns {
public static final String ID = "_id";
public static final String NORMALIZED_DATE_SENT = "date_sent";
public static final String NORMALIZED_DATE_RECEIVED = "date_received";
public static final String THREAD... | gpl-3.0 |
e-biz/arpi-gl | android/arpigl/src/main/java/mobi/designmyapp/arpigl/event/TileEvent.java | 906 | /*
* Copyright (C) 2015 eBusiness Information
* 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 i... | gpl-3.0 |
m3ccanico/ti | threat_intelligence/threat_crowd.py | 6796 | import time
import os
import json
import requests
import logging
import threat_intelligence
from helper import Helper
class ThreatCrowd(threat_intelligence.ThreatIntelligence):
def __init__(self, arguments):
self.ts_file = os.path.join('.cache', 'threatcrowd')
# check if cac... | gpl-3.0 |
kaanburaksener/octoBubbles | src/com/kaanburaksener/octoUML/src/controller/SelectController.java | 8403 | package com.kaanburaksener.octoUML.src.controller;
import com.kaanburaksener.octoUML.src.controller.AbstractDiagramController.Mode;
import com.kaanburaksener.octoUML.src.controller.AbstractDiagramController.ToolEnum;
import com.kaanburaksener.octoUML.src.model.Sketch;
import com.kaanburaksener.octoUML.src.model.edges.... | gpl-3.0 |
turlir/Ursmu | src/ru/ursmu/application/Activity/GendalfDialog.java | 1044 | package ru.ursmu.application.Activity;
import android.app.AlertDialog;
import android.app.Dialog;
import android.os.Bundle;
import android.support.v4.app.DialogFragment;
import android.view.LayoutInflater;
import android.view.View;
import ru.ursmu.application.R;
public class GendalfDialog extends DialogFragment {
... | gpl-3.0 |
danielbonetto/twig_MVC | lang/nl/lesson.php | 40706 | <?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 |
duthils/osmose-frontend | control.py | 9292 | #! /usr/bin/env python
#-*- coding: utf-8 -*-
###########################################################################
## ##
## Copyrights Etienne Chové <chove@crans.org> 2009 ##
## ... | gpl-3.0 |
detroit/detroit-rspec | lib/detroit-rspec.rb | 3915 | require 'detroit/tool'
module Detroit
# Create new RSpec tool with specified +options+.
def RSpec(options={})
RSpec.new(options)
end
# The RSpec tool is used to run project specifications
# written with RSpec. Specifications are expected to found
# in the standard `spec/` directory unless otherwise s... | gpl-3.0 |
arielsiles/sisk1 | src/main/com/encens/khipus/model/finances/CompanyConfiguration.java | 44802 | package com.encens.khipus.model.finances;
import com.encens.khipus.model.CompanyListener;
import com.encens.khipus.model.CompanyNumberListener;
import com.encens.khipus.model.UpperCaseStringListener;
import com.encens.khipus.model.admin.Company;
import com.encens.khipus.model.contacts.Salutation;
import com.encens.khi... | gpl-3.0 |
pacoqueen/cican | formularios/graficas/graph_test.py | 3985 | #!/usr/bin/env python
# -*- coding: utf-8 -*-
###############################################################################
# Copyright (C) 2008-2010 Francisco José Rodríguez Bogado #
# <frbogado@novaweb.es> #
# ... | gpl-3.0 |
fca1/openpnp | src/main/java/org/openpnp/gui/components/reticle/PackageReticle.java | 3250 | /*
* Copyright (C) 2011 Jason von Nieda <jason@vonnieda.org>
*
* This file is part of OpenPnP.
*
* OpenPnP 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 ... | gpl-3.0 |
CognutSecurity/webdemo | orm/Users.py | 518 | '''
Data Model for registered Users
Author: Huang Xiao
Group: Cognitive Security Technologies
Institute: Fraunhofer AISEC
Mail: huang.xiao@aisec.fraunhofer.de
Copyright@2017
'''
from peewee import CharField, DateTimeField, Model
class User(Model):
'''
Data Model for registered User
'''
username = C... | gpl-3.0 |
mbshopM/openconcerto | OpenConcerto/src/org/openconcerto/sql/navigator/RowsSQLListModel.java | 4160 | /*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
*
* Copyright 2011 OpenConcerto, by ILM Informatique. All rights reserved.
*
* The contents of this file are subject to the terms of the GNU General Public License Version 3
* only ("GPL"). You may not use this file except in compliance with th... | gpl-3.0 |
TesfayKidane/mum-mpp | Lab05/src/mum/mpp/lab08/problem04/Weak.java | 1017 | package mum.mpp.lab08.problem04;
import java.util.ArrayList;
import java.util.List;
/** Java 7 way of counting number of names that start with 'N' */
public class Weak {
public static void main(final String[] args) {
Weak w = new Weak();
System.out.println(String.format("Friends with names that star... | gpl-3.0 |
jhtan/cp | uva/12149/main.cpp | 371 | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef vector<int> vi;
typedef pair<int, int> ii;
typedef vector<ii> vii;
typedef set<int> si;
typedef map<string, int> msi;
int main() {
int n; scanf("%d", &n);
while(n) {
printf("%d\n", (n*(n+1)*(2... | gpl-3.0 |
sssfire/com.sun.examples | spring.basic/src/main/java/com/sun/example/activemq/topic/Publisher.java | 3877 | package com.sun.example.activemq.topic;
import java.util.Hashtable;
import java.util.Map;
import javax.jms.Connection;
import javax.jms.ConnectionFactory;
import javax.jms.DeliveryMode;
import javax.jms.Destination;
import javax.jms.JMSException;
import javax.jms.MapMessage;
import javax.jms.Message;
impo... | gpl-3.0 |
open-fidias/db-migration-app | docs/.vuepress/config.js | 599 | module.exports = {
base: '/db-migration-app/',
title: 'DB Migration App',
description: 'Desktop app to migrate databases',
themeConfig: {
repo: 'open-fidias/db-migration-app',
docsDir: 'docs',
editLinks: true,
editLinkText: 'Help us improve this page!',
search: tr... | gpl-3.0 |
khan0407/FinalArcade | theme/splash/layout/report.php | 9251 | <?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 |