repo_name stringlengths 4 116 | path stringlengths 4 379 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
smallsun912/ADC | Marksman/Tristana.cs | 13061 | #region
using System;
using System.Drawing;
using System.Linq;
using LeagueSharp;
using SharpDX.Direct3D9;
using Font = SharpDX.Direct3D9.Font;
using LeagueSharp.Common;
#endregion
namespace Marksman
{
internal class Tristana : Champion
{
public static Spell Q, W, E, R;
public static Font vTex... | gpl-3.0 |
JulianH99/pygame2017 | Mundo/main_final.py | 6665 | from powerups.modules.powerup_generator import POWERUP_INTERVAL, PowerupGenerator
import sys as s
from Obstaculo import *
from Escenario import *
from pygame.locals import *
from Bolita.ClaseBolita import *
from Label import Label
from Menu.Menu import Menu
from pygame import *
# aumento de puntaje
SCORE_ADD_INTERVAL... | gpl-3.0 |
derekberube/wildstar-foundation-architecture | src/main/java/com/wildstartech/wfa/propertymanagement/Payment.java | 2437 | /*
* Copyright (c) 2001 - 2017 Wildstar Technologies, LLC.
*
* This file is part of Wildstar Foundation Architecture.
*
* Wildstar Foundation Architecture 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,... | gpl-3.0 |
heartvalve/OpenFlipper | PluginCollection-Renderers/Plugin-Render-ShaderPipeline/Renderer.cc | 1758 |
#include "Renderer.hh"
#include <OpenFlipper/common/GlobalOptions.hh>
#include <OpenFlipper/BasePlugin/PluginFunctions.hh>
#include <ACG/GL/ShaderCache.hh>
#undef QT_NO_OPENGL
#include <QGLFormat>
#include <QMenu>
// =================================================
Renderer::Renderer()
{
}
Renderer::~Renderer... | gpl-3.0 |
cneira/Taraxacum | include/beast/core/detail/type_traits.hpp | 1762 | //
// Copyright (c) 2013-2017 Vinnie Falco (vinnie dot falco at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
#ifndef BEAST_DETAIL_TYPE_TRAITS_HPP
#define BEAST_DETAIL_TYPE_TRAITS_HPP
#inclu... | gpl-3.0 |
sorab2142/sorabpithawala-magicgrove | source/Grove/Artifical/TargetingRules/GainReach.cs | 571 | namespace Grove.Artifical.TargetingRules
{
using System.Collections.Generic;
using System.Linq;
using Gameplay;
using Gameplay.Misc;
using Gameplay.Targeting;
public class GainReach : TargetingRule
{
protected override IEnumerable<Targets> SelectTargets(TargetingRuleParameters p)
{
var can... | gpl-3.0 |
thEpisode/DevFest-IoT-Microsoft | Server/app/controllers/humidityController.js | 1619 | function HumidityController(dependencies) {
/// Dependencies
var _mongoose;
/// Properties
var _entity;
var constructor = function () {
_mongoose = dependencies.mongoose;
_entity = require('../Models/Humidity')(dependencies);
_entity.Initialize();
}
var create... | gpl-3.0 |
bioothod/apparat | middleware/cors.go | 180 | package middleware
import "github.com/gin-gonic/gin"
func CORS() gin.HandlerFunc {
return func(c *gin.Context) {
c.Header("Access-Control-Allow-Origin", "*")
c.Next()
}
}
| gpl-3.0 |
risi-kondor/pMMF | utility/ThreadBank2.hpp | 3304 | /*
pMMF is an open source software library for efficiently computing
the MMF factorization of large matrices.
Copyright (C) 2015 Risi Kondor, Nedelina Teneva, Pramod Mudrakarta
This file is part of pMMF.
pMMF is free software: you can redistribute it and/or modify
it under the terms of t... | gpl-3.0 |
cooked/NDT | sc.ndt.editor.fast.fst/src-gen/sc/ndt/editor/fast/fastfst/impl/nDTTorSprImpl.java | 5143 | /**
*/
package sc.ndt.editor.fast.fastfst.impl;
import org.eclipse.emf.common.notify.Notification;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.impl.ENotificationImpl;
import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
import sc.ndt.editor.fast.fastfst.FastfstPackage;
import sc.ndt.editor.f... | gpl-3.0 |
martin-eden/workshop | concepts/date/is_valid_month.lua | 373 | --[[
Return whether given integer is valid month number.
If not, return false and string with error.
]]
return
function(month)
assert_integer(month)
local result, err_msg
result = (month >= 1) and (month <= 12)
if not result then
err_msg =
('Invalid value for month number: %d.'):fo... | gpl-3.0 |
COSMOGRAIL/COSMOULINE | pipe/2_skysub_scripts/123.py | 372 | import os
execfile("../config.py")
from variousfct import *
os.system("python 1_skysub_NU.py")
if defringed:
os.system("python 1b_compute_fringes.py")
if sample_only :
os.system("python 2_skypng_sample_NU.py")
else:
os.system("python 2_skypng_NU.py")
print "I can remove the electron images."
proquest(Tr... | gpl-3.0 |
niksoc/srmconnect | app/js/pages/ListViewPage.js | 3722 | import React from 'react';
import {Col, Pagination, Nav, NavItem} from 'react-bootstrap';
import PageTitle from '../components/PageTitle';
import ListView from '../components/ModelViews/ListView';
import InfoPanel from '../components/InfoPanel';
import SearchBox from '../components/SearchBox';
import axios from 'axios'... | gpl-3.0 |
eljost/pysisyphus | tests_staging/test_baker_irc/test_baker_irc.py | 2333 | #!/usr/bin/env python3
import itertools as it
from pathlib import Path
import shutil
from pysisyphus.helpers import get_baker_opt_ts_geoms
from pysisyphus.color import green, red
from pysisyphus.calculators import Gaussian16
from pysisyphus.irc import EulerPC
colors = {
True: green,
False: red,
}
geoms, me... | gpl-3.0 |
informationsea/filereader | src/filereader_mmap.hpp | 776 | #ifndef _FILEREADER_MMAP_H_
#define _FILEREADER_MMAP_H_
#ifndef _WIN32
#include <sys/types.h>
#include "filereader_core.hpp"
class MmapReader : public FileReader
{
public:
MmapReader();
virtual ~MmapReader();
virtual bool open(int fd);
virtual const char* read(size_t length, size_t *readlen);
v... | gpl-3.0 |
AuScope/VEGL-Portal | src/main/java/org/auscope/portal/server/vegl/VEGLJobManager.java | 4770 | package org.auscope.portal.server.vegl;
import java.util.Date;
import java.util.List;
import org.apache.commons.lang.exception.ExceptionUtils;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
/**
* Class that talks to the data objects to retrieve or save data
*
* @a... | gpl-3.0 |
lawl-dev/Kiwi | src/Kiwi.Semantic/Binder/Nodes/BoundParameter.cs | 763 | using Kiwi.Parser.Nodes;
namespace Kiwi.Semantic.Binder.Nodes
{
public class BoundParameter : BoundNode, IBoundMember, IParameter
{
public BoundParameter(string name, IType type, ParameterSyntax parameterSyntax) : base(parameterSyntax)
{
Name = name;
Type = type;
... | gpl-3.0 |
ngspipes/engine | src/main/java/ngspipesengine/core/configurator/engines/VMManager.java | 2552 | /*-
* Copyright (c) 2016, NGSPipes Team <ngspipes@gmail.com>
* All rights reserved.
*
* This file is part of NGSPipes <http://ngspipes.github.io/>.
*
* 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 ... | gpl-3.0 |
gsterjov/fusemc | Plugin.Theatre/Widgets/VideoWidget.cs | 3322 | /*
Copyright (c) Goran Sterjov
This file is part of the Fuse Project.
Fuse 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 ve... | gpl-3.0 |
soft4good/extension-release | lib/ObfuscatorIO/ObfuscatorIO/Api.php | 2761 | <?php
namespace ObfuscatorIO;
const BASE_URL = 'https://obfuscator.io';
class API
{
static function initRequest( $sUrl )
{
$iRequest = curl_init();
curl_setopt( $iRequest, CURLOPT_HEADER, 0 );
curl_setopt( $iRequest, CURLOPT_FOLLOWLOCATION, 1 );
curl_setopt( $iReques... | gpl-3.0 |
rendermani/ascio-ssl-whmcs-plugin | v3/service/GetMessagesResponse.php | 655 | <?php
namespace ascio\v3;
class GetMessagesResponse extends AbstractResponse
{
/**
* @var ArrayOfMessage $Messages
*/
protected $Messages = null;
/**
* @param int $ResultCode
*/
public function __construct($ResultCode = null)
{
parent::__construct($ResultCode);
}
... | gpl-3.0 |
sipes23/Omeka | application/models/ElementSetTable.php | 1262 | <?php
/**
* @copyright Roy Rosenzweig Center for History and New Media, 2007-2010
* @license http://www.gnu.org/licenses/gpl-3.0.txt
* @package Omeka
*/
/**
* @package Omeka
* @subpackage Models
* @author CHNM
* @copyright Roy Rosenzweig Center for History and New Media, 2007-2010
*/
class ElementSetTable ex... | gpl-3.0 |
Icemap/LineDesignManager | src/main/java/com/studio/tensor/ldm/controller/TestController.java | 986 | package com.studio.tensor.ldm.controller;
import java.util.Date;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.sprin... | gpl-3.0 |
jrialland/parserjunior | old/lexer/src/test/java/net/jr/common/PositionTest.java | 1504 | package net.jr.common;
import net.jr.marshalling.MarshallingUtil;
import org.junit.Assert;
import org.junit.Test;
public class PositionTest {
@Test
public void test() {
Position p = new Position(12, 21);
Assert.assertEquals(12, p.getLine());
Assert.assertEquals(21, p.getColumn());
... | gpl-3.0 |
PlamenHP/Softuni | Programing Basics/Programming Basics Exam - 17 January 2016/MasterHerbalist/MasterHerbalist.cs | 1429 |
namespace Namespace
{
using System;
using System.Collections.Generic;
using System.Linq;
class MasterHerbalist
{
static void Main()
{
int expense = int.Parse(Console.ReadLine());
int days = 0;
int totalEarn = 0;
string command;
... | gpl-3.0 |
neeasade/qutebrowser | tests/unit/browser/webkit/test_history.py | 13078 | # vim: ft=python fileencoding=utf-8 sts=4 sw=4 et:
# Copyright 2016 Florian Bruhin (The Compiler) <mail@qutebrowser.org>
#
# This file is part of qutebrowser.
#
# qutebrowser 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 Softwa... | gpl-3.0 |
gruessung/gFramework | styles/style.gvisions.bootstrap_blue/header.php | 3190 | <!DOCTYPE html>
<html lang="de">
<head>
<meta charset="utf-8">
<title><?=sitetitle?> - <?=$sitename?></title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="">
<meta name="author" content="">
<?=$header?>
<!-- Le styles -->
... | gpl-3.0 |
jypeitao/NFC2 | nfctools/nfctools-core/src/main/java/org/nfctools/spi/tama/TamaReader.java | 5418 | /**
* Copyright 2011-2012 Adrian Stabiszewski, as@nfctools.org
*
* 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 require... | gpl-3.0 |
BlastarIndia/roslyn | Src/Diagnostics/Core/FxCopRulesResources.Designer.cs | 26291 | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.34011
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--... | gpl-3.0 |
Giorox/AngelionOT-Repo | data/movements/scripts/premium.lua | 677 | function onStepIn(cid, item, pos)
local notPremium = {x=32060, y=32192, z=7}
local notPremium2 = {x=32060, y=32193, z=7}
if isPremium(cid) then
doTransformItem(item.uid, 447)
elseif (item.uid == 8800) then
doTeleportThing(cid, notPremium)
doSendMagicEffect(getCreaturePosition(cid), 14)
doPlayerSendTextMessage... | gpl-3.0 |
EPSZ-DAW2/daw2-2016-actividades-y-eventos | basic/views/actividadetiquetas/view.php | 702 | <?php
use yii\helpers\Html;
use yii\widgets\DetailView;
use app\models\Etiquetas;
use app\models\Actividades;
/* @var $this yii\web\View */
/* @var $model app\models\ActividadEtiquetas */
$this->title = "";
$this->params['breadcrumbs'][] = ['label' => 'Actividad Etiquetas', 'url' => ['index']];
$this->params['breadcr... | gpl-3.0 |
djbdjb00djb/fog-client | PipeClient/PipeClient.cs | 3034 |
using System;
using System.Collections.Generic;
using System.Text;
using System.Runtime.InteropServices;
using Microsoft.Win32.SafeHandles;
using System.Threading;
using System.IO;
namespace FOG {
/// <summary>
/// Inter-proccess communication client
/// </summary>
public class PipeClient
{
[DllImport("kerne... | gpl-3.0 |
SonamYeshe/AStarPathPlanning | docs/html/search/typedefs_e.js | 1390 | var searchData=
[
['uint',['UInt',['../classtesting_1_1internal_1_1TypeWithSize.html#a3898640d9f6c1e18110eef90f47a5d7b',1,'testing::internal::TypeWithSize::UInt()'],['../classtesting_1_1internal_1_1TypeWithSize_3_014_01_4.html#a7d559570f830bf35d095eeb94d98de58',1,'testing::internal::TypeWithSize< 4 >::UInt()'],... | gpl-3.0 |
BamBam0077/TorrentTrader-2.07 | blocks/latestuploads_block.php | 1055 | <?php
if (!$site_config["MEMBERSONLY"] || $CURUSER) {
begin_block(T_("LATEST_TORRENTS"));
$expire = 900; // time in seconds
if (($latestuploadsrecords = $GLOBALS["TTCache"]->Get("latestuploadsblock", $expire)) === false) {
$latestuploadsquery = mysql_query("SELECT id, name, size, seeders, leechers FROM torrents ... | gpl-3.0 |
ThoNill/DRUCK | DRUCK/src/toni/druck/xml/EditorXMLWalker.java | 11271 | package toni.druck.xml;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.OutputStream;
import java.io.OutputStreamWriter;
import java.io.PrintWriter;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import org.jdom2.Element;
import toni.druck.elemen... | gpl-3.0 |
urashima9616/Leetcode_Python | Leet76_MinimumWindowSubstring2.py | 1676 | import collections
class Solution(object):
def minWindow(self, s, t):
"""
:type s: str
:type t: str
:rtype: str
"""
#opt represents the minimal length of the window that contains T
left, right = [0]*2
need_dict = collections.Counter(t)
symbol_d... | gpl-3.0 |
Scille/parsec-gui | src/components/App.js | 4560 | import React, { Component } from 'react'
import {
HashRouter as Router,
Route,
Redirect,
Switch,
} from 'react-router-dom'
import PersonalFilesContainer from '../containers/PersonalFilesContainer'
import DeletedFilesContainer from '../containers/DeletedFilesContainer'
import ManifestHistoryContainer from '../c... | gpl-3.0 |
InfamousProductions/Infamous_Performance | src/com/infamous/performance/activities/VMSettings.java | 12261 | package com.infamous.performance.activities;
import android.app.Activity;
import android.app.AlertDialog;
import android.content.Context;
import android.content.DialogInterface;
import android.content.SharedPreferences;
import android.content.res.Configuration;
import android.os.AsyncTask;
import android.os.Bundle;
im... | gpl-3.0 |
forgodsake/TowerPlus | ClientLib/src/main/java/com/o3dr/services/android/lib/drone/mission/item/command/Takeoff.java | 2382 | package com.o3dr.services.android.lib.drone.mission.item.command;
import android.os.Parcel;
import com.o3dr.services.android.lib.drone.mission.item.MissionItem;
import com.o3dr.services.android.lib.drone.mission.MissionItemType;
/**
* The vehicle will climb straight up from it’s current location to the altitude spe... | gpl-3.0 |
maestroanth/SkillzInDemand-1---DotNet-MVC-Practice | WebApplication4/Models/ManageViewModels/ManageLoginsViewModel.cs | 430 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http.Authentication;
using Microsoft.AspNetCore.Identity;
namespace WebApplication4.Models.ManageViewModels
{
public class ManageLoginsViewModel
{
public IList<UserLoginInfo> Cur... | gpl-3.0 |
TRPGEngine/Client | src/shared/model/chat-emotion.ts | 520 | import memoizeOne from 'memoize-one';
import { request } from '@shared/utils/request';
import _isString from 'lodash/isString';
export interface ChatEmotionItem {
name?: string;
url: string;
}
/**
* 搜索表情包
*/
export const searchEmotionWithKeyword = memoizeOne(async (keyword: string) => {
if (!_isString(keyword... | gpl-3.0 |
variar/klogg | src/ui/src/iconloader.cpp | 3623 | /*
Sonic Visualiser
An audio file viewer and annotation editor.
Centre for Digital Music, Queen Mary, University of London.
This file copyright 2007 QMUL.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License as
published b... | gpl-3.0 |
ArmandDelessert/WarTanks | NavalBattle/src/navalbattle/client/ClientGrid.java | 7785 | package navalbattle.client;
import java.awt.Dimension;
import java.util.ArrayList;
import navalbattle.boats.Boat;
import navalbattle.boats.BoatIsOutsideGridException;
import navalbattle.boats.BoatPosition;
import navalbattle.boats.BoatUtils;
import navalbattle.boats.PositionNotSetException;
import navalbattle.protocol... | gpl-3.0 |
waikato-datamining/adams-base | adams-core/src/main/java/adams/gui/event/DataChangeListener.java | 1189 | /*
* 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 w... | gpl-3.0 |
PprMkr/Opencart2.0_Dutch | upload/admin/language/dutch/catalog/profile.php | 2289 | <?php
// Heading
$_['heading_title'] = 'Betalingsprofiel(en)';
// Buttons
$_['button_insert'] = 'Toevoegen';
$_['button_copy'] = 'Kopieren';
$_['button_delete'] = 'Verwijderen';
$_['button_remove'] = 'Verwijderen';
// Text
$_['text_confirm'] = 'Weet u het zeker?';
$_['text... | gpl-3.0 |
gadonj18/ballsofsteel | Assets/Scripts/ApplicationLogic.cs | 2614 | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
//This class handles interactions between the scenes and stores data to persist across scenes
public class ApplicationLogic : MonoBehaviour {
private string playerName; //Not sure why I even need this, I guess for high scores?
private lo... | gpl-3.0 |
deathman92/gibdd-web-services | register-vehicle-web-service/src/main/java/ru/vlsu/gibdd/webservice/register/endpoint/RegisterVehicleEndpoint.java | 2184 | package ru.vlsu.gibdd.webservice.register.endpoint;
import lombok.extern.slf4j.Slf4j;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.ws.server.endpoint.annotation.Endpoint;
import org.springframework.ws.server.endpoint.... | gpl-3.0 |
nickapos/myBill | src/main/java/gr/oncrete/nick/mybill/BusinessLogic/InsertCompany.java | 4922 | /*
myBill, bills tracking program
Copyright (C) 2010 Nick Apostolakis
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 pr... | gpl-3.0 |
Atvaark/x64dbg | src/gui/Src/Tracer/TraceBrowser.cpp | 54202 | #include "TraceBrowser.h"
#include "TraceFileReader.h"
#include "TraceFileSearch.h"
#include "RichTextPainter.h"
#include "main.h"
#include "BrowseDialog.h"
#include "QBeaEngine.h"
#include "GotoDialog.h"
#include "LineEditDialog.h"
#include "WordEditDialog.h"
#include "CachedFontMetrics.h"
#include "Breakpo... | gpl-3.0 |
eduarmreyes/fel | catalog/language/es-es/account/address.php | 1956 | <?php
// Heading
$_['heading_title'] = 'Lista de Direcciones';
// Text
$_['text_account'] = 'Cuenta';
$_['text_address_book'] = 'Lista de Direcciones';
$_['text_edit_address'] = 'Modificar Direcciones';
$_['text_add'] = 'Su dirección se ha introducido con éxito';
... | gpl-3.0 |
Traderain/Wolven-kit | WolvenKit.CR2W/Types/W3/RTTIConvert/CSSPPL.cs | 890 | using System.IO;
using System.Runtime.Serialization;
using WolvenKit.CR2W.Reflection;
using FastMember;
using static WolvenKit.CR2W.Types.Enums;
namespace WolvenKit.CR2W.Types
{
[DataContract(Namespace = "")]
[REDMeta]
public class CSSPPL : CObject
{
[Ordinal(1)] [RED("inGameConfigWrapper")] public CHandle<CI... | gpl-3.0 |
yangweijun213/Ruby | RubyTest/watir-classic/TimeOut.rb | 1481 | #-------------------------------------------------------------#
# 超时和元素等待.
# install watir-classic (deprecated),不需要 browser driver
# http://www.cnblogs.com/fithon/p/6689495.html
#-------------------------------------------------------------#
require 'rubygems'
require 'watir-classic' #watir-classic已经废弃,已经整合在wa... | gpl-3.0 |
JhonPolitecnico/Proyectos-2014 | MIDIPlayer/src/playlist/PlayList.java | 509 | package playlist;
/**
* MIDIPlayer
*
* @author Jhon Jairo Eslava
* @code 1310012946
*
*/
import midi.MIDITableModel;
/**
* Single playlist
*
*/
public class PlayList {
private String name;
private MIDITableModel list;
public PlayList(String name, MIDITableModel list) {
super();
this.name = name;
... | gpl-3.0 |
murilotimo/moodle | lib/horde/framework/Horde/Crypt/Blowfish/Mcrypt.php | 2334 | <?php
/**
* Copyright 2005-2008 Matthew Fonda <mfonda@php.net>
* Copyright 2008 Philippe Jausions <jausions@php.net>
* Copyright 2012-2014 Horde LLC (http://www.horde.org/)
*
* See the enclosed file COPYING for license information (LGPL). If you
* did not receive this file, see http://www.horde.org/license... | gpl-3.0 |
danielrothmann/Roth-AIR | JuceLibraryCode/modules/juce_audio_formats/codecs/juce_WavAudioFormat.cpp | 86162 | /*
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2020 - Raw Material Software Limited
JUCE is an open source library subject to commercial or open-source
licensing.
By using JUCE, you agree to the terms of... | gpl-3.0 |
BangL/WGJails | de/bangl/WGJails/core/commands/CmdHelp.java | 1687 | /*
* Copyright (C) 2012 t7seven7t
* BangL <henno.rickowski@googlemail.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 y... | gpl-3.0 |
francy51/AnimeProject | proj/RPG-OLD/Assets/Systems/Item System/scripts/interfaces/IISPrefab.cs | 147 | using UnityEngine;
using System.Collections;
namespace Project.ItemSystem {
public interface IISPrefab {
GameObject Prefab { get; }
}
} | gpl-3.0 |
kpfuchs/gMix | gMix/src/staticContent/evaluation/simulator/core/networkComponent/NetworkNode.java | 6333 | /*******************************************************************************
* gMix open source project - https://svs.informatik.uni-hamburg.de/gmix/
* Copyright (C) 2014 SVS
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as pub... | gpl-3.0 |
pinkipi/skill-prediction | config/skills.js | 86727 | /* Notes:
* '*' can be used in place of the skill or sub-skill to set default values
Races:
0 = Male Human
1 = Female Human
2 = Male High Elf
3 = Female High Elf
4 = Male Aman
5 = Female Aman
6 = Male Castanic
7 = Female Castanic
8 = Popori
9 = Elin
10 = Baraka
*/
module.exports = {
0: { // Warrior
1:... | gpl-3.0 |
kubokkey/vmportal | config/application.rb | 1323 | require File.expand_path('../boot', __FILE__)
require 'rails/all'
# Require the gems listed in Gemfile, including any gems
# you've limited to :test, :development, or :production.
Bundler.require(*Rails.groups)
module Vmportal
class Application < Rails::Application
# Settings in config/environments/* take prec... | gpl-3.0 |
MoyinOtubela/autonomous_controllers | build/robot_controllers/robbie_control/catkin_generated/pkg.develspace.context.pc.py | 392 | # generated from catkin/cmake/template/pkg.context.pc.in
CATKIN_PACKAGE_PREFIX = ""
PROJECT_PKG_CONFIG_INCLUDE_DIRS = "".split(';') if "" != "" else []
PROJECT_CATKIN_DEPENDS = "".replace(';', ' ')
PKG_CONFIG_LIBRARIES_WITH_PREFIX = "".split(';') if "" != "" else []
PROJECT_NAME = "robbie_control"
PROJECT_SPACE_DIR = "... | gpl-3.0 |
zenn1989/ffcms | resource/xbbcode/lib/geshi/c_mac.php | 7726 | <?php
/*************************************************************************************
* c_mac.php
* ---------
* Author: M. Uli Kusterer (witness.of.teachtext@gmx.net)
* Copyright: (c) 2004 M. Uli Kusterer, Nigel McNie (http://qbnz.com/highlighter/)
* Release Version: 1.0.7.18
* Date Started: 2004/06/04
*
... | gpl-3.0 |
kaleidos/Weather-Prophet | android/.metadata/.plugins/org.eclipse.wst.jsdt.core/libraries/xhr.js | 2783 | /*******************************************************************************
* Copyright (c) 2009, 2011 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, an... | gpl-3.0 |
wegener-center/pyCAT | pycat/analysis/indices.py | 8838 | # (C) Wegener Center for Climate and Global Change, University of Graz, 2015
#
# This file is part of pyCAT.
#
# pyCAT 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.
#
# pyCAT is distributed in the ... | gpl-3.0 |
insitu-project/foss-browser-extensions | commons/gulp/lib.js | 1636 | /**
* Copyright 2015 Benjamin Menant <bmenant@lmem.net>
*
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy,... | gpl-3.0 |
rotace/sample_java | sample-maven/src/main/java/app/HelloWorld.java | 155 | package app;
public class HelloWorld {
/**
* @param args
*/
public static void main(String[] args) {
System.out.println("Hello World!");
}
}
| gpl-3.0 |
DuelMonster/SuperMiner | src/main/java/duelmonster/superminer/objects/NotSoRandom.java | 926 | package duelmonster.superminer.objects;
import java.util.Random;
/**
* NotSoRandom provides an implementation of Random that can be used to obtain determinate results when calculating
* random occurrences. E.g. insert it into the World object, call a random function, then replace.
*
* @author thebombzen
*/
publ... | gpl-3.0 |
envelope-project/mlem | src/mpicsr4mlem2.cpp | 25091 | /**
Copyright © 2019 Technische Universitaet Muenchen
Authors: Tilman Kuestner
Dai Yang
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRING... | gpl-3.0 |
axpokl/display | cpp/3-4.cpp | 572 | #include "disp.h"//ʹÓÃDisplayµ¥Ôª¿â
pbitmap img1,img2;
int main(){
createwin(800,600);//½¨Á¢´°¿Ú
img1=loadbmp("display.png");//¶ÁȡͼƬ
img2=loadbmp("display.png");//¶ÁȡͼƬ
drawbmp(img1,(getwidth()-img1->width)/2,(getheight()-img1->height)/2);//»æÖÆÍ¼Æ¬1
freshwin();//ˢд°¿Ú
msgbox("ͼƬ1");//Êä³ö»æÖÆÍê³ÉÐÅÏ¢
bar(i... | gpl-3.0 |
archtaurus/laozhao-python-codes | src/pycode0x0019.py | 1588 | #!/usr/bin/env python2
# -*- coding:utf-8 -*-
"""老赵的Python代码碎片之一
文件: pycode0x0019.py
功能: 读心术(人类版)
许可: General Public License
作者: Zhao Xin (赵鑫) <pythonchallenge@qq.com>
时间: 2016.02.27
"""
# import randint for make_a_guess
from random import randint as make_a_guess
# define the constants
MIN, MAX = 0, 100
BINGO = make... | gpl-3.0 |
angrySCV/scala-sample-from-Codingame.com | src/main/scala/Organic_Compounds/Solution.scala | 1996 | /**
* Created by Kotobotov.ru on 01.10.2018.
*/
object Solution extends App {
val n = readInt
val rowString= (for(i <- 0 until n) yield readLine).toArray
val maxElementsSize = rowString.map(_.size / 3).max
sealed trait Carbon extends Product with Serializable {
var allowedLinks = 0
}
case class CH(h... | gpl-3.0 |
jameskirkpatrick23/ProLineContracting | Pro_Line_Contracting/app/controllers/testimonials_controller.rb | 182 | class TestimonialsController < ApplicationController
def index
end
def new
end
def create
end
def show
end
def edit
end
def update
end
def destroy
end
end | gpl-3.0 |
niavok/einheri | src/einheri/client/ClientGameManager.cpp | 333 | #include "ClientGameManager.h"
namespace ein {
ClientGameManager::ClientGameManager() {
inputModel = new InputModel();
cameraModel = new CameraModel();
decorationModel = new DecorationModel();
}
ClientGameManager::~ClientGameManager() {
delete cameraModel;
delete inputModel;
delete decoration... | gpl-3.0 |
yamstudio/leetcode | csharp/1388.pizza-with-3-n-slices.cs | 872 | /*
* @lc app=leetcode id=1388 lang=csharp
*
* [1388] Pizza With 3n Slices
*/
using System;
using System.Linq;
// @lc code=start
public class Solution {
private static int MaxSizeSlices(int[] slices, int k) {
int n = slices.Length;
int[,] dp = new int[n + 1, k + 1];
for (int i = 1;... | gpl-3.0 |
jamescheney/database-wiki | src/org/dbwiki/data/query/handler/SingleVariableQueryNodeHandler.java | 1953 | /*
BEGIN LICENSE BLOCK
Copyright 2010-2011, Heiko Mueller, Sam Lindley, James Cheney and
University of Edinburgh
This file is part of Database Wiki.
Database Wiki is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published ... | gpl-3.0 |
SplatDevs/HBRelog | Controls/TaskEditor.xaml.cs | 6352 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Reflection;
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 Syste... | gpl-3.0 |
simondona/img-fft-filter-bec-tn | libraries/results.py | 8269 | #!/usr/bin/python
# -*- coding: utf-8 -*-
# Copyright (C) 2014-2016 Simone Donadello
#
# 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) an... | gpl-3.0 |
sapphon/minecraftpython | src/main/resources/assets/techmage/scripts/techmage/warrior/drink_some_tussin.py | 365 | #name<=>Drink Some 'Tussin
#texture<=>potion_bottle_drinkable
#cooldown<=>12000
def drink_some_tussin(duration=9,power=1):
yell('Puttin\' some \'Tussin on it..and then comin\' for YOU!')
console('effect @p 2 '+str(int(duration/3)))
console('effect @p 10 '+str(int(duration))+' '+str(int(power)))
console('effect @p 2... | gpl-3.0 |
hellasmoon/graylog2-server | graylog2-server/src/main/java/org/graylog2/periodical/NodePingThread.java | 4905 | /**
* This file is part of Graylog.
*
* Graylog 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.
*
* Graylog is distributed in t... | gpl-3.0 |
tunacasserole/omni | app/models/omni/location_user.rb | 3350 | class Omni::LocationUser < ActiveRecord::Base
# METADATA (Start) ====================================================================
self.table_name = :location_users
self.primary_key = :location_user_id
# METADATA (End)
# BEHAVIOR (Start) =================================================================... | gpl-3.0 |
Vapekreng/SR | game/room/map_generator/titles/types_of_titles/mob/mob_data.py | 369 | from bearlibterminal import terminal
USED_KEYS = [terminal.TK_ESCAPE, terminal.TK_LEFT, terminal.TK_RIGHT, terminal.TK_DOWN, terminal.TK_UP]
COMMANDS = dict()
COMMANDS[terminal.TK_ESCAPE] = 'quit'
COMMANDS[terminal.TK_LEFT] = 'move left'
COMMANDS[terminal.TK_RIGHT] = 'move right'
COMMANDS[terminal.TK_DOWN] = 'm... | gpl-3.0 |
einsteinx2/WaveBox | WaveBox.Server/src/Transcoding/FFMpegOpusTranscoder.cs | 7533 | using System;
using System.Diagnostics;
using System.IO;
using Ninject;
using WaveBox.Core;
using WaveBox.Core.Extensions;
using WaveBox.Core.Model;
using WaveBox.Core.Model.Repository;
using WaveBox.Server.Extensions;
using WaveBox.Static;
namespace WaveBox.Transcoding {
public class FFMpegOpusTranscoder : Abstra... | gpl-3.0 |
PeterTh/gedosato | source/utils/string_utils.cpp | 1338 | #include "utils/string_utils.h"
#include <stdarg.h>
#include <iomanip>
#include <dxgi1_2.h>
#include <d3d11_2.h>
bool matchWildcard(const string& str, const string& pattern) {
string regex = pattern;
const char* escapeChars[] = { ".", "+", "(", ")", "[", "]", "^", "$"};
for(auto ch : escapeChars) {
boost::repl... | gpl-3.0 |
elffy/Meizhi | app/src/main/java/me/drakeet/meizhi/data/休息视频Data.java | 950 | /*
* Copyright (C) 2015 Drakeet <drakeet.me@gmail.com>
*
* This file is part of Meizhi
*
* Meizhi 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 |
Pneumaticat/Aperture | Aperture.Parser/HTML/Microsyntaxes/DatesAndTimes/Dates.cs | 1635 | using Aperture.Parser.DataStructures;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Aperture.Parser.HTML.Microsyntaxes.DatesAndTimes
{
public static class Dates
{
public static bool IsValidDateString(string input)
... | gpl-3.0 |
bobthebutcher/netconnect | tests/test_messages.py | 165 | from netconnect import messages
def test_message_output():
assert messages.send_command_error_msg('stuff', 'things') == 'stuff error sending "things" command'
| gpl-3.0 |
MitchTalmadge/Emoji-Tools | src/main/java/com/mitchtalmadge/emojitools/operations/splitting/SplittingOperation.java | 1708 | /*
* Copyright (C) 2015 - 2016 Mitch Talmadge (https://mitchtalmadge.com/)
* Emoji Tools helps users and developers of Android, iOS, and OS X extract, modify, and repackage Emoji fonts.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License a... | gpl-3.0 |
lingcarzy/v5cart | system/cache/zone/214.php | 1778 | <?php return array (
0 =>
array (
'zone_id' => '3291',
'name' => 'Ariana',
),
1 =>
array (
'zone_id' => '3292',
'name' => 'Beja',
),
2 =>
array (
'zone_id' => '3293',
'name' => 'Ben Arous',
),
3 =>
array (
'zone_id' => '3294',
'name' => 'Bizerte',
),
4 =>
... | gpl-3.0 |
rossbarclay/safepost | app/controllers/forwardings.js | 873 | /*
Safepost Messaging System https://safepo.st
Copyright (C) 2014 Ross Barclay
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 opt... | gpl-3.0 |
Gnzlt/UCOmove | app/src/main/java/com/gnzlt/ucotren/ui/schedule/ScheduleFragment.java | 3338 | package com.gnzlt.ucotren.ui.schedule;
import android.databinding.DataBindingUtil;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.support.v7.widget.GridLayoutManager;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Toa... | gpl-3.0 |
MaladaN/MaladaN-Messenger-Client | src/net/strangled/maladan/shared/LocalLoginDataStore.java | 1701 | package net.strangled.maladan.shared;
import net.MaladaN.Tor.thoughtcrime.GetSQLConnection;
import net.strangled.maladan.cli.Main;
import net.strangled.maladan.serializables.Authentication.User;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
public class LocalLoginDataStore... | gpl-3.0 |
dev06/UpKeep | Assets/scripts/ui/Container.cs | 423 | using UnityEngine;
using System.Collections;
namespace Game
{
[RequireComponent (typeof(CanvasGroup))]
public class Container : MonoBehaviour {
public bool ShowInEdit;
private CanvasGroup canvasGroup;
public virtual void OnValidate()
{
if (canvasGroup == null) canvasGroup = GetComponent<CanvasGroup... | gpl-3.0 |
damienmarchal/genearead | GeneareadGUI/src/algorithm/text/adaptiveThreshold.cpp | 1074 | #include <header/algorithm/text/adaptiveThreshold.h>
AdaptiveThreshold::AdaptiveThreshold()
: w(5)
, C(2)
, thresholdType(cv::THRESH_BINARY)
, adaptiveMethod(cv::ADAPTIVE_THRESH_MEAN_C)
{
}
QString AdaptiveThreshold::getName() {
return "adaptiveThreshold";
}
void AdaptiveThreshold... | gpl-3.0 |
FSofTlpz/Garmin-DEM-Build | Input2/Properties/Resources.Designer.cs | 3000 | //------------------------------------------------------------------------------
// <auto-generated>
// Dieser Code wurde von einem Tool generiert.
// Laufzeitversion:4.0.30319.42000
//
// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
// der Code erneut gener... | gpl-3.0 |
r0ug3-Mary/Sr.GUI | build-FAKKIT-Desktop-Debug/moc_httprequestworker.cpp | 5302 | /****************************************************************************
** Meta object code from reading C++ file 'httprequestworker.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.3.2)
**
** WARNING! All changes made in this file will be lost!
***************************************************... | gpl-3.0 |
will-bainbridge/OpenFOAM-dev | src/regionModels/surfaceFilmModels/submodels/kinematic/filmMomentumTransportModel/filmMomentumTransportModel/filmMomentumTransportModel.H | 4257 | /*---------------------------------------------------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2013-2020 OpenFOAM Foundation
\\... | gpl-3.0 |
ratrecommends/dice-heroes | main/src/com/vlaaad/dice/game/actions/imp/AreaOfDefence.java | 1428 | /*
* Dice heroes is a turn based rpg-strategy game where characters are dice.
* Copyright (C) 2016 Vladislav Protsenko
*
* 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... | gpl-3.0 |
PhoenixDevTeam/Phoenix-for-VK | app/src/main/java/biz/dealnote/messenger/db/interfaces/ITopicsStore.java | 916 | package biz.dealnote.messenger.db.interfaces;
import java.util.List;
import androidx.annotation.CheckResult;
import androidx.annotation.NonNull;
import biz.dealnote.messenger.db.model.entity.OwnerEntities;
import biz.dealnote.messenger.db.model.entity.PollEntity;
import biz.dealnote.messenger.db.model.entity.TopicEnt... | gpl-3.0 |
habedi/Emacs-theme-creator | Ethemer/MeThemerApp/views.py | 370 | from django.shortcuts import render
from django.http import HttpResponse
from django.template import RequestContext, loader
#def index(request):
# return HttpResponse("i'm going to show you the world on!.")
def index(request):
template = loader.get_template('index.html')
context = RequestContext(request)
... | gpl-3.0 |
resistor58/deaths-gmod-server | wire/lua/entities/gmod_wire_plug/cl_init.lua | 267 |
include('shared.lua')
ENT.Spawnable = false
ENT.AdminSpawnable = false
ENT.RenderGroup = RENDERGROUP_OPAQUE
function ENT:DrawEntityOutline()
if (GetConVar("wire_plug_drawoutline"):GetBool()) then
self.BaseClass.DrawEntityOutline( self )
end
end | gpl-3.0 |