repo_name stringlengths 4 116 | path stringlengths 4 379 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
G2159687/espd | app/src/main/java/com/github/epd/sprout/items/food/Food.java | 3404 |
package com.github.epd.sprout.items.food;
import com.github.epd.sprout.Assets;
import com.github.epd.sprout.actors.buffs.Hunger;
import com.github.epd.sprout.actors.hero.Hero;
import com.github.epd.sprout.effects.Speck;
import com.github.epd.sprout.effects.SpellSprite;
import com.github.epd.sprout.items.Item;
import ... | gpl-3.0 |
simple-codeblocks/Codeblocks | src/plugins/scriptedwizard/resources/glut/files/main.cpp | 4326 | /*
* GLUT Shapes Demo
*
* Written by Nigel Stewart November 2003
*
* This program is test harness for the sphere, cone
* and torus shapes in GLUT.
*
* Spinning wireframe and smooth shaded shapes are
* displayed until the ESC or q key is pressed. The
* number of geometry stacks and slices can be adj... | gpl-3.0 |
pperichon/domoticz | hardware/DomoticzHardware.cpp | 38078 | #include "stdafx.h"
#include <iostream>
#include "DomoticzHardware.h"
#include "../main/Logger.h"
#include "../main/localtime_r.h"
#include "../main/Helper.h"
#include "../main/RFXtrx.h"
#include "../main/SQLHelper.h"
#include "../main/mainworker.h"
#include "hardwaretypes.h"
#define round(a) ( int ) ( a + .5 )
CDomo... | gpl-3.0 |
tschroedter/csharp_examples | InterviewTests/MYOB/Game/CircleAsBitArray.cs | 3981 | using System;
using System.Collections.Generic;
using System.Linq;
using Game.Interfaces;
namespace Game
{
public class CircleAsBitArray : ICircle
{
internal const long DefaultMaxLoopCount = 10000000;
private bool[] m_BitArray;
public CircleAsBitArray()
{
MaxLoopCou... | gpl-3.0 |
ItsLastDay/academic_university_2016-2018 | subjects/BigData/hw02/first_metric/first_metric.py | 1949 | from pyspark import SparkConf, SparkContext
import datetime
from operator import add
import sys
import re
access_log_pattern = re.compile('^(?P<ip>.*?) - - (?P<time>.*?) "(?P<page>.*?)" ' + \
'(?P<code>.*?) .*? "(?P<referrer>.*?)" ".*?"$')
HDFS_DIR = '/user/bigdatashad/logs/{}'
def count_referers(events):
... | gpl-3.0 |
ewized/CommonUtils | src/main/java/com/archeinteractive/dev/commonutils/configuration/ConfigModel.java | 4444 | package com.archeinteractive.dev.commonutils.configuration;
import org.bukkit.configuration.InvalidConfigurationException;
import org.bukkit.configuration.file.YamlConfiguration;
import java.io.*;
/*
* SuperEasyConfig - Config
*
* Based off of codename_Bs EasyConfig v2.1
* which was inspired by m... | gpl-3.0 |
bfrgoncalves/Online-PhyloViZ | public/javascripts/App/main/data_Analysis/saveTreePositions.js | 757 | function saveTreePositions(graphObject){
var graph = graphObject.graphGL;
var layout = graphObject.layout;
var datasetID = graphObject.datasetID;
var Positions = {};
var nodePositions = {};
var linkPositions = {};
graph.forEachNode(function(node){
var position = layout.getNodePosition(node.id);
nodePo... | gpl-3.0 |
alexreinking/CommandCenter-New | lib/imu/imudecoder.cpp | 5704 | #include "imudecoder.h"
#include <cmath>
#include <cstdlib>
#include <sys/time.h>
#define PI 3.1415926535897932384
#define IMU_TAG "VNYMR,"
IMUDecoder::IMUDecoder()
{
for(int i = 0; i < 12; i++)
nmeaIndices[i] = i;
nmeaDatums[0] = yawString;
nmeaDatums[1] = pitchString;
nmeaDatums[2] = rollStr... | gpl-3.0 |
sgvandijk/libbats | Preprocessor/debug.hh | 3993 | /*
Debug.hh - C++ debugging preprocessor macro's
Copyright (C) 2004 A. Bram Neijt <b.neijt@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, or (at your opt... | gpl-3.0 |
MNoya/DotaCraft | game/dota_addons/dotacraft/scripts/vscripts/items/auras/vampiric.lua | 696 | item_scourge_bone_chimes = class({})
-- Reutilizes "heroes/dread_lord/vampiric_aura"
LinkLuaModifier("modifier_vampiric_aura", "heroes/dread_lord/vampiric_aura", LUA_MODIFIER_MOTION_NONE)
LinkLuaModifier("modifier_vampiric_aura_buff", "heroes/dread_lord/vampiric_aura", LUA_MODIFIER_MOTION_NONE)
function item_scourge_... | gpl-3.0 |
csalgadow/demokratian_2.x.x | modulos/ui/minified/i18n/jquery.ui.datepicker-ja.min.js | 951 | /*! jQuery UI - v1.10.0 - 2013-01-24
* http://jqueryui.com
* Includes: jquery.ui.datepicker-ja.js
* Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */
jQuery(function(e) {
e.datepicker.regional.ja = {closeText: "閉じる", prevText: "<前", nextText: "次>", currentText: "今日", monthNames: ... | gpl-3.0 |
gohdan/DFC | known_files/hashes/assets/plugins/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/js/attributes.js | 56 | MODX Evolution 1.0.5 = 8956771d3aec26e696cb208b0f075cc2
| gpl-3.0 |
ramsodev/DitaManagement | dita/dita.glosssentry/src/net/ramso/dita/glosssentry/Thead.java | 1762 | //
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2014.08.02 at 08:16... | gpl-3.0 |
drewlu/ossql | src/s3ql/fsck.py | 31852 | '''
fsck.py - this file is part of S3QL (http://s3ql.googlecode.com)
Copyright (C) 2008-2009 Nikolaus Rath <Nikolaus@rath.org>
This program can be distributed under the terms of the GNU GPLv3.
'''
from __future__ import division, print_function, absolute_import
from .backends.common import NoSuchObject
from .common ... | gpl-3.0 |
jmarine/webgl8x8boardgames | game.js | 4075 | /*
WebGL 8x8 board games
Copyright (C) 2011 by Jordi Mariné Fort
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
any later version.
Th... | gpl-3.0 |
leftstick/naive-mock | www/common/page/index.js | 145 |
export {default as page} from './page';
export {default as pageTitle} from './pageTitle';
export {default as pageContent} from './pageContent';
| gpl-3.0 |
heidtgg/leichtathletik-homepage | intern_bearbeiten/EditAthlete.php | 5855 | <?php
include "Athlete.php";
function SelectDataBase($MYSQL_HOST, $MYSQL_BENUTZER, $MYSQL_KENNWORT, $MYSQL_DATENBANK){
$db_link = new mysqli($MYSQL_HOST, $MYSQL_BENUTZER, $MYSQL_KENNWORT);
$db_link->select_db( $MYSQL_DATENBANK);
return $db_link;
}
function DeleteAthlete($database){
$ID = $_POST['ID'];
$sql =... | gpl-3.0 |
IrbisChaos/synchronizer | src/main/java/com/intenso/jira/plugins/synchronizer/config/SynchronizerConfigBuilder.java | 6499 | //
// Decompiled by Procyon v0.5.30
//
package com.intenso.jira.plugins.synchronizer.config;
import org.codehaus.jackson.annotate.JsonProperty;
import org.codehaus.jackson.annotate.JsonIgnoreProperties;
import com.intenso.jira.plugins.synchronizer.utils.Builder;
@JsonIgnoreProperties(ignoreUnknown = true)
public c... | gpl-3.0 |
mateor/pdroid | android-4.0.3_r1/trunk/frameworks/base/core/java/android/widget/Advanceable.java | 1253 | /*
* Copyright (C) 2010 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | gpl-3.0 |
otavanopisto/pyramus | framework/src/main/java/fi/otavanopisto/pyramus/koski/model/aikuistenperusopetus/AikuistenPerusopetuksenKurssinTunnistePV2017.java | 951 | package fi.otavanopisto.pyramus.koski.model.aikuistenperusopetus;
import com.fasterxml.jackson.databind.JsonDeserializer;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import fi.otavanopisto.pyramus.koski.KoodistoViite;
import fi.otavanopisto.pyramus.koski.koodisto.AikuistenPerusopetuksenPaattovai... | gpl-3.0 |
jschultz/okular-kf5-tagging | generators/chm/lib/libchmfile.cpp | 3656 | /***************************************************************************
* Copyright (C) 2004-2007 by Georgy Yunaev, gyunaev@ulduzsoft.com *
* Please do not use email address above for bug reports; see *
* the README file *
* ... | gpl-3.0 |
Filechaser/nzbToMedia | nzbToRadarr-with-extemp4conv.py | 1122 | from core.checkandconvertbysickbeardmp4conv import checkandconvert
from core.subprocesslauncher import Subprocesslauncher
import os
import sys
def main():
# Paths and make sure they exist
path_to_python = sys.executable
path_of_script = os.path.dirname(os.path.realpath(__file__))
nzbtomediadirectory = ... | gpl-3.0 |
cadrian/photofam | photofam-model/src/main/java/net/cadrian/photofam/model/Image.java | 2413 | /**
* This file is part or PhotoFam.
*
* PhotoFam 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, version 3 of the License.
*
* This program is distributed in the hope that it will be useful,
* but WI... | gpl-3.0 |
NewmanMDB/VimConfig | tags/unity5/UnityEditor/AudioLowPassFilterInspector.cs | 1009 | namespace UnityEditor
{
using System;
using UnityEngine;
[CustomEditor(typeof(AudioLowPassFilter)), CanEditMultipleObjects]
internal class AudioLowPassFilterInspector : Editor
{
private SerializedProperty m_LowpassLevelCustomCurve;
private SerializedProperty m_LowpassReson... | gpl-3.0 |
romanalexander/MobArena | src/com/garbagemule/MobArena/framework/Arena.java | 6080 | package com.garbagemule.MobArena.framework;
import java.util.*;
import org.bukkit.Location;
import org.bukkit.World;
import org.bukkit.block.Block;
import org.bukkit.configuration.ConfigurationSection;
import org.bukkit.entity.Entity;
import org.bukkit.entity.Player;
import org.bukkit.inventory.ItemStack;
import com... | gpl-3.0 |
cward13/DarwinOp-Robocup2015 | Player/Config/Walk/Config_OP_Walk.lua | 23797 | module(..., package.seeall); require('vector')
require 'unix'
-- Walk Parameters
walk = {};
----------------------------------------------
-- Stance and velocity limit values
----------------------------------------------
walk.stanceLimitX={-0.10,0.10};
walk.stanceLimitY={0.07,0.20};
walk.stanceLimitA={0*math.pi/180,... | gpl-3.0 |
dzung2t/noithatgo | ci_app/modules/feedbacks/views/admin/list_feedbacks.php | 2344 | <?php
echo form_open('', array('id' => 'feedback_form'), array('feedback_id' => 0, 'from_list' => TRUE));
echo form_close();
?>
<div class="page_header">
<h1 class="fleft">Ý kiến khách hàng</h1>
<small class="fleft">"Quản lý ý kiến phản hồi của khách hàng"</small>
<span class="fright"><a class="butt... | gpl-3.0 |
jrc436/executors | Executors/src/nlp/util/TextNormalizer.java | 1024 | package nlp.util;
public class TextNormalizer {
public static final String disfluencyString = "[disfluency]";
public static String normalizeWord(String word) {
if (word.equals(disfluencyString)) {
return word;
}
String normalized = crushPCT(word.toLowerCase()).trim();
if (normalized.isEmpty()) {
return... | gpl-3.0 |
ltworf/lapdog | main.cpp | 4318 | /*
* lapdog - take actions on devices (dis)appearance on the LAN
* Copyright (C) 2014-2018 Salvo Tomaselli <tiposchi@tiscali.it>
*
* 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 v... | gpl-3.0 |
rafiss/transparent | backend/transparent/core/Module.java | 14822 | package transparent.core;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.OutputStream;
import java.io.PrintStream;
import java.math.BigInteger;
import java.util.Locale;
import transparent.core.database.Database;
public class Module
{
/* contains the full command to ... | gpl-3.0 |
regionbibliotekhalland/digitalaskyltar | itemharvester.py | 7998 | # -*- coding: utf-8 -*-
# Copyright 2013 Regionbibliotek Halland
#
# This file is part of Digitala skyltar.
#
# Digitala skyltar 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 |
mumblepins/Eyrie-App | app/src/main/java/com/dansull/eyrie/ScheduleFragment.java | 17560 | package com.dansull.eyrie;
import android.app.ActionBar;
import android.app.Activity;
import android.content.Context;
import android.content.SharedPreferences;
import android.net.Uri;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.ContextMenu;
import android.view.LayoutInflater;
... | gpl-3.0 |
FendiJatmiko/tryout | config/database.php | 4215 | <?php
return [
/*
|--------------------------------------------------------------------------
| PDO Fetch Style
|--------------------------------------------------------------------------
|
| By default, database results will be returned as instances of the PHP
| stdClass object; however, ... | gpl-3.0 |
Chevrotl/PicoloWars | variables.js | 593 | var TABLE_INFO = {'hauteur' : 0, 'largeur':0}
//Struct :
//{
//id_player : player
//}
var LIST_OF_PLAYER = {}
//Struct :
//{
//id_game : {map:jsonMap, players:{list player}}
//}
var LIST_OF_GAMES = {}
//structure :
// {
// hauteur : int,
// largeur : int,
// cases : [{
// x : int,
// y : int,
// bloc : bool,
/... | gpl-3.0 |
s20121035/rk3288_android5.1_repo | external/apache-harmony/security/src/test/api/java.injected/java/security/cert/myCertPath.java | 1557 | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you... | gpl-3.0 |
Mindful/vmime | src/vmime/security/sasl/SASLContext.cpp | 5149 | //
// VMime library (http://www.vmime.org)
// Copyright (C) 2002-2013 Vincent Richard <vincent@vmime.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 |
irgsmirx/WebServer | src/main/java/com/ramforth/webserver/http/headers/StringHttpHeader.java | 1156 | /*
* Copyright (C) 2014 Tobias Ramforth
*
* 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 d... | gpl-3.0 |
desht/pnc-repressurized | src/main/java/me/desht/pneumaticcraft/common/progwidgets/IJumpBackWidget.java | 320 | package me.desht.pneumaticcraft.common.progwidgets;
/**
* Implemented by widgets that have custom program flow behaviour when a program reaches the end.
* It is put onto a stack when executed normally, and then popped off when reaching the end of a program to call it again.
*/
public interface IJumpBackWidget {
}
| gpl-3.0 |
Mazdallier/AncientWarfare2 | src/main/java/net/shadowmage/ancientwarfare/npc/entity/faction/NpcCustom_1LeaderElite.java | 335 | package net.shadowmage.ancientwarfare.npc.entity.faction;
import net.minecraft.world.World;
public class NpcCustom_1LeaderElite extends NpcFactionLeader
{
public NpcCustom_1LeaderElite(World par1World)
{
super(par1World);
}
@Override
public String getNpcType()
{
return "custom_1.leader.elit... | gpl-3.0 |
oscarbernal93/cliente-servidor | musicPlayer/server.cc | 3715 | #include "hermes.hh"
#include "apolo.hh"
#include <zmqpp/zmqpp.hpp>
#define SNAME "μMus" //server's name
#define LOG_ENABLED true //if true shows a log in console
using namespace zmqpp;
using namespace std;
int socket_message_manager(vector<string> &mlist, list<string> &playlist,socket &skt);
string get_songs(vecto... | gpl-3.0 |
MXtreme/RiverSim | Sources/Graph.cpp | 6849 | #include "Graph.h"
Graph::Graph(){
dim = 0;
}
int Graph::getDim(){
return dim;
}
bool Graph::isVisitato(int id){
std::vector<ElemGraph*> all;
all = getAllNodeList();
return all[id]->getElementPointer()->getVisitato();
}
void Graph::setFalseVisitato(){
std::vector<ElemGraph*> all;
all = getA... | gpl-3.0 |
bourey/moodle | install/lang/nl/install.php | 7476 | <?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 |
thalerjonathan/phd | coding/prototyping/haskell/declarativeABM/java/SpatialGameABS/src/agent/Agent.java | 2954 | package agent;
import java.util.*;
import java.util.concurrent.ThreadLocalRandom;
/**
* Created by jonathan on 20/01/17.
*/
public abstract class Agent<M extends Comparable<M>, E> implements Comparable<Agent<M, E>> {
private int id;
private List<MsgPair> inBox;
private List<MsgPair> outBox;
private... | gpl-3.0 |
richelbilderbeek/ImageRotater | qtimagerotatermenudialog.cpp | 894 | #pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Weffc++"
#include "qtimagerotatermenudialog.h"
#include "qtaboutdialog.h"
#include "imagerotatermenudialog.h"
#include "qtimagerotatermaindialog.h"
#include "ui_qtimagerotatermenudialog.h"
#pragma GCC diagnostic pop
ribi::QtImageRotaterMenuDialog::QtImageR... | gpl-3.0 |
gohdan/DFC | known_files/hashes/bitrix/modules/cluster/lang/en/admin/cluster_webnode_list.php | 61 | Bitrix 16.5 Business Demo = 66ea55f088ef66ae9c195489fdbf8872
| gpl-3.0 |
guiguilechat/EveOnline | model/sde/SDE-Types/src/generated/java/fr/guiguilechat/jcelechat/model/sde/attributes/MjdJumpRange.java | 819 | package fr.guiguilechat.jcelechat.model.sde.attributes;
import fr.guiguilechat.jcelechat.model.sde.IntAttribute;
/**
* distance jumped on mjd activation
*/
public class MjdJumpRange
extends IntAttribute
{
public static final MjdJumpRange INSTANCE = new MjdJumpRange();
@Override
public int getId() ... | gpl-3.0 |
applifireAlgo/OnlineShopEx | onlineshopping/src/main/java/shop/app/server/businessservice/retailcontext/retail/PaymentTranExBzService.java | 4113 | package shop.app.server.businessservice.retailcontext.retail;
import com.athena.framework.server.helper.RuntimeLogInfoHelper;
import com.athena.ruleengine.server.bzservice.RuleEngineInterface;
import com.spartan.shield.sessionService.SessionDataMgtService;
import org.springframework.beans.factory.annotation.Autowired;
... | gpl-3.0 |
tomaszkolonko/ndnSIM-all | ndn-cxx/src/management/nfd-rib-entry.cpp | 8915 | /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
/**
* Copyright (c) 2013-2015 Regents of the University of California.
*
* This file is part of ndn-cxx library (NDN C++ library with eXperimental eXtensions).
*
* ndn-cxx library is free software: you can redistribute it and/or modify it under the
... | gpl-3.0 |
Waikato/moa | moa/src/main/java/moa/gui/experimentertab/TaskTextViewerPanel.java | 23382 | /*
* TaskTextViewerPanel.java
* Copyright (C) 2007 University of Waikato, Hamilton, New Zealand
* @author Richard Kirkby (rkirkby@cs.waikato.ac.nz)
* @author Jansen (moa@cs.rwth-aachen.de)
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU G... | gpl-3.0 |
jamesmacwhite/Radarr | src/NzbDrone.Core/MetadataSource/RadarrAPI/RadarrResources.cs | 4884 | using System;
using System.Collections.Generic;
using System.Linq;
using Newtonsoft.Json;
namespace NzbDrone.Core.MetadataSource.RadarrAPI
{
public class Error
{
[JsonProperty("id")]
public string RayId { get; set; }
[JsonProperty("status")]
public int Status { get; set; }
... | gpl-3.0 |
aleatorio12/ProVentasConnector | jasperreports-6.2.1-project/jasperreports-6.2.1/src/net/sf/jasperreports/engine/JRAbstractObjectFactory.java | 5849 | /*
* JasperReports - Free Java Reporting Library.
* Copyright (C) 2001 - 2014 TIBCO Software Inc. All rights reserved.
* http://www.jaspersoft.com
*
* Unless you have purchased a commercial license agreement from Jaspersoft,
* the following license terms apply:
*
* This program is part of JasperReports.
*
* J... | gpl-3.0 |
ExistentialEnso/Snapplicator | Snapplicator/Areas/Wiki/Models/WikiArticle.cs | 444 | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Web;
using Snapplicator.Models;
namespace Snapplicator.Areas.Wiki.Models
{
public class WikiArticle : DbEntity
{
[Key]
... | gpl-3.0 |
aczwink/ACStdLib | src_backends/Cocoa/UI/CocoaPushButtonBackend.hh | 1884 | /*
* Copyright (c) 2018 Amir Czwink (amir130@hotmail.de)
*
* This file is part of Std++.
*
* Std++ 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 |
anthonybrown/reaction | imports/plugins/core/address/client/components/ShopAddressValidationSettings.js | 5308 | import React, { Component } from "react";
import PropTypes from "prop-types";
import { i18next } from "/client/api";
import Button from "@reactioncommerce/components/Button/v1";
import { SortableTable } from "/imports/plugins/core/ui/client/components";
import AddressValidationSettingsForm from "./AddressValidationSett... | gpl-3.0 |
NULL-HDU/barrage-server | libs/color/color_test.go | 405 | package color
import (
"testing"
)
func TestWrapAndDye(t *testing.T) {
t.Log(Dye(FgRed, "redString"))
t.Log(Dye(Underline, Dye(FgYellow, "yellowBoldString")))
redStringWrap := New(FgRed).Wrap("redString")
redStringDye := Dye(FgRed, "redString")
if redStringDye != redStringWrap {
t.Errorf("effort of wrap and ... | gpl-3.0 |
cristiangiagante/CustomRenderers | Tools/AddCustomFonts/AddCustomFonts/iOS.cs | 3149 | using System;
using System.Collections.Generic;
using System.IO;
namespace AddCustomFonts
{
class iOS : Project
{
private DirectoryInfo _solutionName;
private List<string> _files;
private string _resourceFolder = "Resources\\Fonts";
private string _plistFile = "info.plist";
... | gpl-3.0 |
fahmyfarahat/AngularJS-RegisterSystem | app/scripts/controllers/about.js | 348 | 'use strict';
/**
* @ngdoc function
* @name angularRegisterApp.controller:AboutCtrl
* @description
* # AboutCtrl
* Controller of the angularRegisterApp
*/
angular.module('angularRegisterApp')
.controller('AboutCtrl', function ($scope) {
$scope.awesomeThings = [
'HTML5 Boilerplate',
'AngularJS',... | gpl-3.0 |
WebDaD/StraTic | StraTic-Win/Forms/Editor/Campaign/Campaigns.Designer.cs | 1160 | namespace StraTic.Forms.Editor.Campaign
{
partial class Campaigns
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summar... | gpl-3.0 |
libis/Flandrica | themes/FLANDRICA/temp/js/lightbox.js | 11633 |
/*
Lightbox v2.51
by Lokesh Dhakar - http://www.lokeshdhakar.com
For more information, visit:
http://lokeshdhakar.com/projects/lightbox2/
Licensed under the Creative Commons Attribution 2.5 License - http://creativecommons.org/licenses/by/2.5/
- free for use in both personal and commercial projects
- attribution req... | gpl-3.0 |
aynu/yukar | src/yukar-framework/src/main/java/com/github/aynu/yukar/framework/lang/DataObject.java | 733 | // ----------------------------------------------------------------------------
// Copyright (C) Yukar Evolution Laboratory. All rights reserved.
// GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007
// http://www.gnu.org/licenses/gpl-3.0-standalone.html
// ----------------------------------------------------------... | gpl-3.0 |
MarlonWelter/CRFTool | CRFToolApp/MainWindow.xaml.cs | 848 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Medi... | gpl-3.0 |
moritzfl/sorting-algorithms | src/main/java/de/moritzf/sorting/logic/sorting/steps/InsertionStep.java | 1920 | package de.moritzf.sorting.logic.sorting.steps;
import java.util.Arrays;
import java.util.StringJoiner;
/**
* This class represents a step within the insertion sort algorithm.
*
* @author Moritz Floeter
*/
public class InsertionStep {
/**
* The Sorted marker.
*/
private int sortedMarker;
/*... | gpl-3.0 |
m3rlin87/darkstar | scripts/zones/The_Eldieme_Necropolis/npcs/_5f8.lua | 696 | -----------------------------------
-- Area: The Eldieme Necropolis
-- NPC: Titan's Gate
-- !pos 260 -34 88 195
-----------------------------------
local ID = require("scripts/zones/The_Eldieme_Necropolis/IDs");
require("scripts/globals/keyitems");
-----------------------------------
function onTrade(player,npc,trade... | gpl-3.0 |
fanruan/finereport-design | designer_chart/src/com/fr/plugin/chart/custom/CustomPlotDesignerPaneFactory.java | 5767 | package com.fr.plugin.chart.custom;
import com.fr.chart.chartattr.Plot;
import com.fr.design.beans.BasicBeanPane;
import com.fr.design.mainframe.chart.gui.ChartDataPane;
import com.fr.design.mainframe.chart.gui.data.table.AbstractTableDataContentPane;
import com.fr.design.mainframe.chart.gui.data.table.CategoryPlotTab... | gpl-3.0 |
Firebottle/Firebot | gui/app/services/data-access.service.js | 236 | "use strict";
(function() {
const dataAccess = require("../../backend/common/data-access.js");
angular
.module("firebotApp")
.factory("dataAccess", function() {
return dataAccess;
});
}());
| gpl-3.0 |
acressity/acressity | narratives/migrations/0002_narrative_gallery.py | 540 | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('narratives', '0001_initial'),
('photologue', '0001_initial'),
]
operations = [
migr... | gpl-3.0 |
claudiubrehoi/TrainingProject | src/main/java/com/synertrade/training/dao/AddressDAO.java | 1155 | package com.synertrade.training.dao;
import java.util.List;
import org.hibernate.Hibernate;
import org.hibernate.Query;
import org.hibernate.Session;
import org.hibernate.Transaction;
import com.synertrade.training.util.HibernateUtil;
import com.synertrade.training.vo.TrainingAddressVO;
public class Add... | gpl-3.0 |
ProductionReady/Eleflex | V2.1/src/Versioning Module/Eleflex.Versioning.Storage.SqlServer/App_Start/AutoMapperConfig.cs | 1771 | #region PRODUCTION READY® ELEFLEX® Software License. Copyright © 2015 Production Ready, LLC. All Rights Reserved.
//Copyright © 2015 Production Ready, LLC. All Rights Reserved.
//For more information, visit http://www.ProductionReady.com
//This file is part of PRODUCTION READY® ELEFLEX®.
//
//This program is free soft... | gpl-3.0 |
srs-bsns/Realistic-Terrain-Generation | src/main/java/rtg/world/biome/realistic/vanilla/RealisticBiomeVanillaSunflowerPlains.java | 3793 | package rtg.world.biome.realistic.vanilla;
import java.util.Random;
import net.minecraft.block.Block;
import net.minecraft.block.state.IBlockState;
import net.minecraft.init.Biomes;
import net.minecraft.init.Blocks;
import net.minecraft.world.biome.Biome;
import net.minecraft.world.chunk.ChunkPrimer;
import rtg.api.c... | gpl-3.0 |
l0b0/cronlist | src/crontab/entry/stepped_range/mod.rs | 1509 | extern crate num;
use self::num::Integer;
use std::fmt::Debug;
use std::ops::Add;
pub struct SteppedRange<T>
where
for<'a> &'a T: Add<&'a T, Output = T>,
T: Clone,
T: Debug,
T: Integer,
{
pub start: T,
pub end: T,
// TODO: Use NonZero trait when stable
pub step: T,
}
impl<T> SteppedRa... | gpl-3.0 |
hforge/itools | itools/python/python.py | 2866 | # -*- coding: UTF-8 -*-
# Copyright (C) 2005 Luis Arturo Belmar-Letelier <luis@itaapy.com>
# Copyright (C) 2005-2009 J. David Ibáñez <jdavid.ibp@gmail.com>
# Copyright (C) 2008 David Versmisse <versmisse@lil.univ-littoral.fr>
# Copyright (C) 2008 Matthieu France <matthieu@itaapy.com>
# Copyright (C) 2008 Sylvain Tavern... | gpl-3.0 |
Nettacker/Nettacker | lib/scan/pma/pma.py | 3978 | def pma():
return ['/admin/', '/accounts/login/', '/admin1.php/', '/admin.php/',
'/admin.html/', '/admin1.php/', '/admin1.html/', '/login.php/',
'/admin/cp.php/', '/cp.php/', '/administrator/index.php/', '/administrator/index.html/',
'/administartor/', '/admin.login/', '/administ... | gpl-3.0 |
unixunited/Talos | Source/Component/NetworkComponent.hpp | 3052 | // ========================================================================= //
// Talos - A 3D game engine with network multiplayer.
// Copyright(C) 2015 Jordan Sparks <unixunited@live.com>
//
// This program is free software; you can redistribute it and / or
// modify it under the terms of the GNU General Public Lice... | gpl-3.0 |
nibblebits/PNPZ80 | PNPZ80/src/PNPZ80.cpp | 911 | /* This source file is protected under the GPL License V3. Please view the file
called "COPYING" to view the license with your rights for this source file and the rest of the PNPZ80 project.
If the license in the file "COPYING" was not included in this distribution you may find it here: http://www.gnu.org/license... | gpl-3.0 |
ragnarka/rj-brewery | common/client/gaugeDemo.js | 3037 | let Highcharts = require('highcharts');
require('highcharts/modules/funnel')(Highcharts);
Template.gaugeDemo.helpers({
allTasks: function () {
return Session.get("tasks") || 12;
},
incompleteTasks: function () {
return Session.get("incompleteTasks") || 7;
},
gaugeChart: function (... | gpl-3.0 |
eternallyBaffled/itrade | tests/test_itrade_login.py | 672 | import unittest
import itrade_login
class EmptyLoginRegistryTestCase(unittest.TestCase):
def setUp(self):
self.reg = itrade_login.LoginRegistry()
def tearDown(self):
# conspicuous absence of clean-up logic
self.reg = None
def test_creation(self):
self.assertIsNotNone(self... | gpl-3.0 |
isnuryusuf/ingress-indonesia-dev | apk/classes-ekstartk/com/google/i/a/a/a/k.java | 450 | package com.google.i.a.a.a;
import com.google.c.a.a.b.c;
public final class k
{
public static final c a;
static
{
c localc = new c();
a = localc;
localc.a(533, 1, null).a(533, 2, null).a(1054, 3, null).a(1054, 4, null).a(1054, 5, null).a(533, 6, null).a(533, 7, null).a(1054, 8, null).a(1054, 9, nul... | gpl-3.0 |
toncis/InDonat | forms/kontakt/prigovor/frmprigovorjop.cpp | 1157 | //
// frmprigovorjop.cpp
//
// Author:
// Tonči Sviličić <tonci.svilicic@in2.hr>
//
// Copyright (c) 2012 Tonči Sviličić
//
// 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 ... | gpl-3.0 |
Banana4Life/Disconnect | core/src/de/cubeisland/games/entity/ActivatedDoor.java | 439 | package de.cubeisland.games.entity;
import de.cubeisland.games.tile.TileType;
public class ActivatedDoor extends AbstractDoor {
public ActivatedDoor(int x, int y, TileType type) {
super(x, y, type);
}
@Override
public void open() {
super.open();
this.type = TileType.AUTO_DOOR;... | gpl-3.0 |
delletenebre/xbmc-addon-kilogramme | plugin.video.kilogramme/resources/lib/site_onair.py | 23356 | #!/usr/bin/python
# -*- coding: utf-8 -*-
import re, json, urllib, traceback
from _header import *
BASE_URL = 'http://www.onair.kg/api/'
BASE_NAME = 'OnAir'
BASE_LABEL = 'onair'
#GA_CODE = 'UA-337170-16'
SETT_DAYS = plugin.get_setting('onair_news_count', int)
NK_CODE = '4094'
@plugin.route('/site/' + BASE_LABEL)
d... | gpl-3.0 |
GeoKnow/LinkedGeoData | linkedgeodata-core/src/main/java/org/aksw/linkedgeodata/web/main/MainLinkedGeoDataRestServer.java | 5181 | package org.aksw.linkedgeodata.web.main;
import java.net.URL;
import java.net.URLClassLoader;
import java.security.ProtectionDomain;
import javax.servlet.ServletException;
import org.aksw.commons.util.slf4j.LoggerCount;
import org.aksw.linkedgeodata.web.api.RDFWriterHtml;
import org.apache.commons.cli.CommandLine;
i... | gpl-3.0 |
gqsteven/shuyaoTest | src/main/java/com/shuyao/modules/sys/service/SysConfigService.java | 1184 | package com.shuyao.modules.sys.service;
import java.util.List;
import java.util.Map;
import com.shuyao.modules.sys.entity.SysConfigEntity;
/**
* 系统配置信息
*
* @author shuyao
* @email shuyao@gmail.com
* @date 2017-09-02
*/
public interface SysConfigService {
/**
* 保存配置信息
*/
public void save(SysConfigEntit... | gpl-3.0 |
jdber1/opendrop | opendrop/app/keyboard.py | 1891 | # Copyright © 2020, Joseph Berry, Rico Tabor (opendrop.dev@gmail.com)
# OpenDrop is released under the GNU GPL License. You are free to
# modify and distribute the code, but always under the same license
#
# If you use this software in your research, please cite the following
# journal articles:
#
# J. D. Berry, M. J. ... | gpl-3.0 |
GlowstonePlusPlus/Glowkit | src/main/java/com/destroystokyo/paper/exception/ServerException.java | 622 | package com.destroystokyo.paper.exception;
/**
* Wrapper exception for all exceptions that are thrown by the server.
*/
public class ServerException extends Exception {
public ServerException(String message) {
super(message);
}
public ServerException(String message, Throwable cause) {
s... | gpl-3.0 |
mahalaxmi123/moodleanalytics | course/lib.php | 150232 | <?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 |
piwik/piwik | plugins/Referrers/Reports/GetKeywordsFromCampaignId.php | 1094 | <?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\Referrers\Reports;
use Piwik\Piwik;
use Piwik\Plugin\ViewDataTable;
use Piwik\Plugins\Referrers\Columns\Keyword;
class GetKeywordsFromCa... | gpl-3.0 |
dplc/dwin | dm/include/win32/INITOID.H | 1467 | /*
* I N I T O I D . H
*
* Define macros to be used for initializing MAPI OID's
*
* Copyright 1986-1996 Microsoft Corporation. All Rights Reserved.
*/
#define MAPI_PREFIX 0x2A,0x86,0x48,0x86,0xf7,0x14,0x03
#ifdef _MAC
#undef DEFINE_OID_1
#define DEFINE_OID_1(name, b0, b1) \
EXTERN_C... | gpl-3.0 |
marcosfede/algorithms | array/two_sum/two_sum.go | 350 | package main
import "fmt"
func twoSum(nums []int, target int) []int {
dic := make(map[int]int)
for i := 0; i < len(nums); i++ {
num := nums[i]
if idx, ok := dic[num]; ok {
return []int{idx, i}
}
dic[target-num] = i
}
return []int{}
}
func main() {
arr := []int{3, 2, 4}
target := 6
res := twoSum(arr... | gpl-3.0 |
AlronDerRe/LWJGL3_basic_code | basic lwjgl3/src/Graphics/Textures/TextureLoader.java | 1913 | package Graphics.Textures;
import static org.lwjgl.opengl.GL11.*;
import static org.lwjgl.opengl.GL12.*;
import java.awt.image.BufferedImage;
import java.io.File;
import java.io.IOException;
import java.nio.ByteBuffer;
import javax.imageio.ImageIO;
import org.lwjgl.opengl.GL11;
import org.lwjglx.BufferUtils;
public... | gpl-3.0 |
Konctantin/CSharpAssembler | SharpAssembler.Architectures.X86/Source/Instructions/Xchg.cs | 10386 | #region Copyright and License
/*
* SharpAssembler
* Library for .NET that assembles a predetermined list of
* instructions into machine code.
*
* Copyright (C) 2011 Daniël Pelsmaeker
*
* This file is part of SharpAssembler.
*
* SharpAssembler is free software: you can redistribute it and/or modif... | gpl-3.0 |
jdekozak/galgebra | galgebra/map/detail/distance_impl.hpp | 670 | #if !defined(GALGEBRA_MAP_DISTANCE_IMPL)
#define GALGEBRA_MAP_DISTANCE_IMPL
#include <boost/mpl/minus.hpp>
namespace galgebra {
struct map_iterator_tag;
}
namespace boost {
namespace fusion {
namespace extension {
template<typename Tag>
struct distance_impl;
template<>
struct distanc... | gpl-3.0 |
Gwynthell/FFDB | scripts/zones/Apollyon/TextIDs.lua | 551 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6376; -- You cannot obtain the item <item> come back again after sorting your inventory
ITEM_OBTAINED = 6379; -- Obtained: <item>
GIL_OBTAINED = 6380; -- Obtained <number> gil
KEYITEM_OBTAINED = 6382; -- Obtain... | gpl-3.0 |
appnativa/rare | source/rare/core/com/appnativa/rare/spot/CheckBoxTree.java | 2897 | /**************************************************************************
* CheckBoxTree.java - Wed Feb 17 10:42:11 PST 2016
*
* Copyright (c) appNativa
*
* All rights reserved.
*
* Generated by the Sparse Notation(tm) To Java Compiler v1.0
* Note 1: Code entered after the "//USER_IMPORTS_AND_COMMENTS_MARK{}"... | gpl-3.0 |
sloanr333/opd-legacy | src/com/watabou/legacy/items/scrolls/InventoryScroll.java | 2728 | /*
* Pixel Dungeon
* Copyright (C) 2012-2014 Oleg Dolya
*
* 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 |
BigMaMonkey/easygen | src/main/java/org/bigmamonkey/modelBuilder/TableField.java | 3064 | package org.bigmamonkey.modelBuilder;
import org.bigmamonkey.util.StringUtil;
import java.sql.Types;
/**
* Created by bigmamonkey on 5/22/17.
*/
public class TableField {
private String name; // 原始字段名
private String upperCaseName; // 首字母大写字段名
private int dataType; // 字段类型值,对应 java.sql.Types中的枚举值
pr... | gpl-3.0 |
dasbruns/netzob | src/netzob/Common/Models/Vocabulary/Domain/Parser/all.py | 2301 | #!/usr/bin/env python
# -*- coding: utf-8 -*-
#+---------------------------------------------------------------------------+
#| 01001110 01100101 01110100 01111010 01101111 01100010 |
#| |
#| Netzob : Inferring ... | gpl-3.0 |
Xexanos/LibreCarSharing | LibreCarSharing-persistence/src/main/java/de/librecarsharing/DBCommunity.java | 1630 | package de.librecarsharing;
import javax.persistence.*;
import java.util.*;
@Entity
public class DBCommunity extends DBIdentified{
private String name;
private Set<DBCar> cars;
private Set<DBUser> users;
private DBUser admin;
public DBCommunity() {
users= new HashSet<DBUser>();
... | gpl-3.0 |
YiqunPeng/Leetcode-pyq | solutions/907SumOfSubarrayMinimums.py | 1056 | class Solution:
def sumSubarrayMins(self, A):
"""
:type A: List[int]
:rtype: int
"""
m = 10 ** 9 + 7
ans = 0
right = [0] * len(A)
left = [0] * len(A)
stack = [0]
for i in range(1, len(A)):
if A[i] <= A[stac... | gpl-3.0 |
MarcinWieczorek/NovaGuilds | src/main/java/co/marcin/novaguilds/impl/versionimpl/v1_8_R3/TitleImpl.java | 2868 | /*
* NovaGuilds - Bukkit plugin
* Copyright (C) 2018 Marcin (CTRL) Wieczorek
*
* 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 |
Ostrich-Emulators/semtool | gui/src/main/java/com/ostrichemulators/semtool/ui/components/playsheets/graphsupport/NodeInfoPopup.java | 3134 | /**
* *****************************************************************************
* Copyright 2013 SEMOSS.ORG
*
* This file is part of SEMOSS.
*
* SEMOSS is free software: you can redistribute it and/or modify it under the
* terms of the GNU General Public License as published by the Free Software
* F... | gpl-3.0 |