repo_name stringlengths 4 116 | path stringlengths 4 379 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
CrushAndRun/Cloudbot-Fluke | plugins/core_misc.py | 3636 | import asyncio
import socket
from cloudbot import hook
socket.setdefaulttimeout(10)
# Auto-join on Invite (Configurable, defaults to True)
@asyncio.coroutine
@hook.irc_raw('INVITE', permissions=["botcontrol"])
def invite(irc_paramlist, conn):
"""
:type irc_paramlist: list[str]
:type conn: cloudbot.clien... | gpl-3.0 |
leoetlino/ratp-next-stops | src/app/app.js | 1226 | var app = angular.module("prochainsTrains", [
"templates",
"ngRoute",
"ngSanitize",
"ngStorage",
"mgcrea.ngStrap",
"picardy.fontawesome",
]);
app.config(function ($routeProvider) {
$routeProvider.when("/", {
templateUrl: "/app/home/stops.html",
controller: "StopsCtrl",
controllerAs: "ctrl",
... | gpl-3.0 |
CraftedCart/smblevelworkshop2 | ws2common/src/ws2common/scene/BackgroundGroupSceneNode.cpp | 210 | #include "ws2common/scene/BackgroundGroupSceneNode.hpp"
namespace WS2Common {
namespace Scene {
BackgroundGroupSceneNode::BackgroundGroupSceneNode(const QString name) : SceneNode(name) {}
}
}
| gpl-3.0 |
ZeuJS/Apollo | bags/formValidators.js | 324 | "use strict";
var AbstractBag = require('zeujsChaos/bags/abstract.js');
var FormValidatorsBag = function FormValidatorsBag() {
AbstractBag.call(this);
};
FormValidatorsBag.prototype = Object.create(AbstractBag.prototype);
FormValidatorsBag.prototype.constructor = FormValidatorsBag;
module.exports = FormValidators... | gpl-3.0 |
cSploit/android.MSF | lib/metasploit/framework/login_scanner/gitlab.rb | 3777 | require 'metasploit/framework/login_scanner/http'
module Metasploit
module Framework
module LoginScanner
# GitLab login scanner
class GitLab < HTTP
# Inherit LIKELY_PORTS,LIKELY_SERVICE_NAMES, and REALM_KEY from HTTP
CAN_GET_SESSION = false
DEFAULT_PORT = 80
PRIVATE... | gpl-3.0 |
Marccspro/LudumDare32 | Weapon/src/fr/veridiangames/main/game/level/tiles/items/weapons/WeaponItem.java | 784 | package fr.veridiangames.main.game.level.tiles.items.weapons;
import fr.veridiangames.main.game.Game;
import fr.veridiangames.main.game.entities.Player;
import fr.veridiangames.main.game.entities.weapons.Weapon;
import fr.veridiangames.main.game.level.tiles.items.Item;
public abstract class WeaponItem extends ... | gpl-3.0 |
Niky4000/UsefulUtils | projects/tutorials-master/tutorials-master/libraries/src/test/java/com/baeldung/eclipsecollections/DetectPatternUnitTest.java | 674 | package com.baeldung.eclipsecollections;
import org.assertj.core.api.Assertions;
import org.eclipse.collections.api.list.MutableList;
import org.eclipse.collections.impl.block.factory.Predicates;
import org.eclipse.collections.impl.list.mutable.FastList;
import org.junit.Before;
import org.junit.Test;
public class De... | gpl-3.0 |
cachirulop/PhotoViewer | mapview.cpp | 572 | #include "mapview.h"
MapView::MapView() :
QQuickView()
{
setSource(QUrl("qrc:///qml/MapViewer.qml"));
_mapItem = rootObject()->findChild<QQuickItem *>("map");
setModality(Qt::ApplicationModal);
}
MapView::~MapView()
{
}
void MapView::setPosition(double latitude, double longitude, doub... | gpl-3.0 |
geminy/aidear | oss/qt/qt-everywhere-opensource-src-5.9.0/qtbase/examples/widgets/painting/composition/composition.cpp | 20486 | /****************************************************************************
**
** Copyright (C) 2016 The Qt Company Ltd.
** Contact: https://www.qt.io/licensing/
**
** This file is part of the demonstration applications of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:BSD$
** Commercial License Usage
** Licensees holding v... | gpl-3.0 |
otavanopisto/pyramus | framework/src/main/java/fi/otavanopisto/pyramus/koski/model/lukio/ops2019/LukionOpintojaksonTunnisteVierasKieli2019.java | 1125 | package fi.otavanopisto.pyramus.koski.model.lukio.ops2019;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.databind.JsonDeserializer;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import fi.otavanopisto.pyramus.koski.KoodistoViite;
import fi.otavanopisto.... | gpl-3.0 |
niuware/MSBandViewer | MSBandViewer/AppShell.xaml.cs | 11155 | using System.Collections.Generic;
using System.Linq;
using Windows.Foundation;
using Windows.UI.Xaml.Automation;
using Windows.UI.Core;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Navigation;
using Niuware.MSBandViewer.Controls;
using Niuware.MSBandViewer.Views;
using Niuware... | gpl-3.0 |
goncalomb/CustomItemsAPI | src/main/java/com/goncalomb/bukkit/customitemsapi/api/CustomItemListener.java | 8801 | /*
* Copyright (C) 2013 - Gonçalo Baltazar <http://goncalomb.com>
*
* This file is part of CustomItemsAPI.
*
* CustomItemsAPI is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the Lice... | gpl-3.0 |
manterd/myPhyloDB | functions/__init__.py | 2310 | ### analysis folder
#TODO remove entries only analysis class is complete
from analysis.anova_graphs import getCatUnivData, getQuantUnivData
from analysis.corr_graphs import getCorr
from analysis.diffabund_graphs import getDiffAbund
from analysis.gage_graphs import getGAGE
from analysis.norm_graphs import getNorm, getTa... | gpl-3.0 |
open-ecommerce/dropin | htdocs/views/attendance/_form-today-attendance.php | 3532 | <?php
use kartik\form\ActiveForm;
use yii\helpers\ArrayHelper;
use kartik\datecontrol\DateControl;
use kartik\helpers\Html;
use app\models\Dropin;
$iconsDoctor = [
0 => Html::icon('remove') . ' No need for Doctor',
1 => Html::icon('hourglass') . ' Waiting for Doctor',
2 => Html::icon('ok') . ' Already see... | gpl-3.0 |
diegowald/mksHBOPdf | mksHBOPDF/documenttemplate.cpp | 106 | #include "documenttemplate.h"
DocumentTemplate::DocumentTemplate(QObject *parent) : QObject(parent)
{
}
| gpl-3.0 |
GenerationOfWorlds/GOW | Scripts/Core/Mondains Legacy/Mobiles/Sanctuary/Chiikkaha.cs | 1740 | namespace Server.Mobiles
{
[CorpseName("a Chiikkaha the Toothed corpse")]
public class Chiikkaha : RatmanMage
{
[Constructable]
public Chiikkaha()
{
Name = "Chiikkaha";
Title = "the Toothed";
SetStr(450, 476);
SetDex(157, 179);
... | gpl-3.0 |
manfer/ivozprovider | library/Ivoz/Cgr/Domain/Model/TpRatingProfile/TpRatingProfileDtoAbstract.php | 10152 | <?php
namespace Ivoz\Cgr\Domain\Model\TpRatingProfile;
use Ivoz\Core\Application\DataTransferObjectInterface;
use Ivoz\Core\Application\ForeignKeyTransformerInterface;
use Ivoz\Core\Application\CollectionTransformerInterface;
use Ivoz\Core\Application\Model\DtoNormalizer;
/**
* @codeCoverageIgnore
*/
abstract clas... | gpl-3.0 |
lynnchae/group-common | daoke-mileage-server/src/main/java/me/daoke/mileage/util/HttpRespons.java | 2630 | package me.daoke.mileage.util;
import java.util.Vector;
/**
* @author chenlong
* @Email chenlong@ddmap.com
* @version 1.0.1
* @time 创建时间:Dec 2, 2011
*
*
* 响应对象
*
*/
public class HttpRespons {
String urlString;
int defaultPort;
String file;
String host;
String path;
int port;
String pr... | gpl-3.0 |
xmjiao/octave-debian | libinterp/octave-value/ov-uint64.cc | 1931 | /*
Copyright (C) 2004-2017 John W. Eaton
This file is part of Octave.
Octave is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
Free Software Foundation; either version 3 of the License, or (at your
option) any later version.
Octave is di... | gpl-3.0 |
316181444/Hxms | src/main/java/net/sf/odinms/server/MapleItemInventryType.java | 671 | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package net.sf.odinms.server;
import net.sf.odinms.client.MapleInventoryType;
/**
*
* @author Admin
*/
public class MapleItemInventryType {
private int id;
private MapleInventoryType type;
public int getId() {
... | gpl-3.0 |
gohdan/DFC | known_files/hashes/bitrix/modules/sale/lib/internals/product2product.php | 61 | Bitrix 16.5 Business Demo = d247a47d96f2f4313362616368c8c041
| gpl-3.0 |
scheckmedia/CottBooth | CottBooth/settingswindow.cpp | 11060 | #include "settingswindow.h"
#include "ui_settingswindow.h"
#include "mainwindow.h"
#include "settings.h"
#include "globals.h"
#include <QDebug>
#include <QCryptographicHash>
#include <QDir>
#include <QFileDialog>
#include <QMessageBox>
#include <QStorageInfo>
SettingsWindow::SettingsWindow(QWidget *parent) :
QWidg... | gpl-3.0 |
alexaulbach/FactorioLoaderLib | tmpdata/factorio-data-0.10.12.lua | 832706 | {
raw = {
corpse = {
["acid-splash-purple"] = {
flags = { "not-on-map" },
type = "corpse",
name = "acid-splash-purple",
splash = { {
frame_width = 199,
filename = "__base__/graphics/entity/acid-splash-purple/splash-1.png",
line_length = 5,
... | gpl-3.0 |
djscheuf/LearnCSharp | DJS/Common/DJS.Common.Examples.Tests/Homeworks/Session3/NodeTest.cs | 1165 | using System;
using System.Security;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace DJS.Common.Examples.Tests.Homeworks.Session3
{
[TestClass]
public class NodeTest
{
[TestMethod]
public void ConstructorParamters()
{
// Arrange
var expectedValu... | gpl-3.0 |
oel-mediateam/uwex-media-wp-theme | searchform.php | 364 | <!-- search -->
<form class="search" method="get" action="<?php echo home_url(); ?>" role="search">
<input class="search-input" type="search" name="s" placeholder="<?php _e( 'To search, type and hit enter.', 'uwsmedia' ); ?>">
<button class="search-submit" type="submit" role="button"><?php _e( 'Search', 'uwsmedia'... | gpl-3.0 |
calmofthestorm/suncatcher | include/suncatcher/PatherStateInterface.hh | 1385 | // This file is part of Suncatcher
// Alex Roper <alex@aroper.net>
//
// Suncatcher is free software: you can redistribute it and/or modify it under
// the terms of version 3 of the GNU General Public License as published by the
// Free Software Foundation.
//
// Suncatcher is distributed in the hope that it will be us... | gpl-3.0 |
hanamvu/C4E11 | SS1/tur_a_circle.py | 313 | from turtle import *
from random import *
speed(0)
colormode(255)
for side_n in range(15,2,-1):
color((randint(1, 255),randint(1, 255),randint(1, 255)),(randint(1, 255),randint(1, 255),randint(1, 255)))
begin_fill()
for i in range(side_n):
forward(100)
left(360/side_n)
end_fill()
| gpl-3.0 |
NewmanMDB/VimConfig | tags/unity5/UnityEngine/FogMode.cs | 173 | namespace UnityEngine
{
using System;
public enum FogMode
{
Exponential = 2,
ExponentialSquared = 3,
Linear = 1
}
}
| gpl-3.0 |
kal9mondal/Simple-Java-Game | src/gameObject/ObjectID.java | 69 | package gameObject;
public enum ObjectID {
PLAYER, ENEMY, STATIC
}
| gpl-3.0 |
luisgustavossdd/TBD | framework/PodSixNet/async.py | 659 | #!/usr/bin/python
# -*- coding: utf-8 -*-
""" monkey patched version of asynchat to allow map argument on all version of Python, and the best version of the poll function. """
from sys import version
import asynchat
import asyncore
if float(version[:3]) < 2.5:
from asyncore import poll2 as poll
else:
from a... | gpl-3.0 |
gohdan/DFC | known_files/hashes/bitrix/modules/main/install/components/bitrix/main.share/templates/flat/script.map.js | 61 | Bitrix 16.5 Business Demo = 7e602536e5102acd335f58a3cd44c8b0
| gpl-3.0 |
universityofglasgow/moodle | enrol/gudatabase/classes/task/sync_course.php | 1590 | <?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 |
andrasfuchs/BioBalanceDetector | Tools/KiCad_FreeRouting/FreeRouting-miho-master/freerouting-master/src/main/java/eu/mihosoft/freerouting/rules/NetClasses.java | 5638 | /*
* Copyright (C) 2014 Alfons Wirtz
* website www.freerouting.net
*
* Copyright (C) 2017 Michael Hoffer <info@michaelhoffer.de>
* Website www.freerouting.mihosoft.eu
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as pu... | gpl-3.0 |
jonaski/strawberry | src/covermanager/spotifycoverprovider.cpp | 19242 | /*
* Strawberry Music Player
* Copyright 2020, Jonas Kvinge <jonas@jkvinge.net>
*
* Strawberry is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any ... | gpl-3.0 |
MrHaribo/MicroNet | MicroNet.Model/src/main/java/micronet/annotation/ResponseParameters.java | 336 | package micronet.annotation;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
@Retention(RetentionPolicy.CLASS)
@Target(ElementType.METHOD)
public @interface ResponseParameters {
MessageParameter[] value(... | gpl-3.0 |
ClaroBot/Distribution | plugin/external-user-group-synchronization/Resources/modules/synchronization/user/user-sync-modal.controller.js | 464 | /**
* Created by panos on 6/7/17.
*/
export class UserSyncModalController {
constructor($uibModalInstance, roles) {
this.roles = roles
this._$uibModalInstance = $uibModalInstance
this.cas = 'true'
this.role = this.roles[0]
}
ok() {
this._$uibModalInstance.close({'role':this.role, 'cas':this... | gpl-3.0 |
gpospelov/BornAgain | GUI/coregui/Views/SampleDesigner/InterferenceFunctionViews.cpp | 3060 | // ************************************************************************************************
//
// BornAgain: simulate and fit reflection and scattering
//
//! @file GUI/coregui/Views/SampleDesigner/InterferenceFunctionViews.cpp
//! @brief Implements classes InterferenceFunctionViews
//!
//! @homepage... | gpl-3.0 |
Tinchosan/wingpanel | admin/modulos/listas_precios/lista_precio_nuevo_accion.php | 2397 | <?php
require_once '../../sistema/sesiones.php';
iniciar_sesion();
require_once '../../sistema/genericas.php';
require_once '../../sistema/mysqli_db.php';
$bd = new mysqli_db();
$bd->conectar();
if (esta_registrada_sesion("admin-id-wingpanel")) {
$origen = $_GET['origen'];
//TOMAMOS LOS VALORES DEL POS... | gpl-3.0 |
jamesbrunet/mandroid | src/Assets/Scripts/PlayerController.cs | 3282 | using UnityEngine;
using System.Collections;
using UnityEngine.UI;
using UnityEngine.SceneManagement;
// Our playercontroller is responsible for:
// -Keeping track of its speed
// -Picking up other game objects
// -Keeping track of the score
// The speed tracking, pickups, and score is from
// -Checking win/loss state... | gpl-3.0 |
kindahl/ckcore | include/ckcore/unix/directory.hh | 7157 | /*
* The ckCore library provides core software functionality.
* Copyright (C) 2006-2012 Christian Kindahl
*
* 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 |
anupkdas-nus/global_synapses | pyNN-dispackgaes/common/__init__.py | 1412 | # encoding: utf-8
"""
Defines a backend-independent, partial implementation of the PyNN API
Backend simulator modules are not required to use any of the code herein,
provided they provide the correct interface, but it is suggested that they use
as much as is consistent with good performance (optimisations may require
... | gpl-3.0 |
mars-sim/mars-sim | mars-sim-ui/src/main/java/org/mars_sim/msp/ui/swing/tool/monitor/VehicleTableModel.java | 24999 | /*
* Mars Simulation Project
* VehicleTableModel.java
* @date 2021-10-23
* @author Barry Evans
*/
package org.mars_sim.msp.ui.swing.tool.monitor;
import java.util.Collection;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.logging.Lev... | gpl-3.0 |
maleadt/stockplay | src/interfaces/desktop/StockPlayAdministration/src/com/kapti/administration/helpers/StockPlayeIDLoginScreen.java | 8134 | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.kapti.administration.helpers;
import com.kapti.client.user.User;
import com.kapti.client.user.UserFactory;
import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.Font;
import java.awt.HeadlessE... | gpl-3.0 |
AmosJindao/movie | tests/src/main/java/tests/jdk8/date/LocalDateTest.java | 1336 | package tests.jdk8.date;
import java.time.*;
/**
* Created on 2017/1/19.
*/
public class LocalDateTest {
public static void main(String[] args) {
System.out.println(today());
printYMD();
birthday();
toInstant();
}
static LocalDate today(){
LocalDate today = L... | gpl-3.0 |
phiros/nepi | examples/ns3/local_csma_p2p_star_ping.py | 5591 | #!/usr/bin/env python
#
# NEPI, a framework to manage network experiments
# Copyright (C) 2013 INRIA
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the Lice... | gpl-3.0 |
AA25/visualisationEngine | lang/en/vpl.php | 24793 | <?php
// This file is part of VPL for Moodle - http://vpl.dis.ulpgc.es/
//
// VPL for 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 ... | gpl-3.0 |
cjkirk09/ourBzrflag | bzagents/show_field.py | 3190 | #!/usr/bin/env python
"""
README
This should get some of the boilerplate out of the way for you in visualizing
your potential fields.
Notably absent from this code is anything dealing with vectors, the
interaction of mutliple fields, etc. Your code will be a lot easier if you
define your potential fields in terms of... | gpl-3.0 |
NathanKell/Ferram-Aerospace-Research | FerramAerospaceResearch/LEGACYferram4/FARControllableSurface.cs | 36646 | /*
Ferram Aerospace Research v0.15.6.3 "Kindelberger"
=========================
Aerodynamics model for Kerbal Space Program
Copyright 2015, Michael Ferrara, aka Ferram4
This file is part of Ferram Aerospace Research.
Ferram Aerospace Research is free software: you can redistribute it and/or modify
it under... | gpl-3.0 |
sinxor/marock | app/assets/javascripts/initializations/overlay.js | 516 | var Overlay = {
init: function() {
// Set up event handler
$('[data-behavior="trigger-overlay"]').click(Overlay.open);
$('[data-behavior="close-overlay"]').click(Overlay.close);
},
open: function(event) {
event.preventDefault();
$('[data-behavior="overlay"]').addClass('open');
},
close: ... | gpl-3.0 |
Betterverse/Craftbukkit | src/main/java/net/minecraft/server/EntityEnderman.java | 12979 | package net.minecraft.server;
// CraftBukkit start
import org.bukkit.Location;
import org.bukkit.craftbukkit.event.CraftEventFactory;
import org.bukkit.event.entity.EntityTeleportEvent;
// CraftBukkit end
public class EntityEnderman extends EntityMonster {
private static boolean[] d = new boolean[256];
priva... | gpl-3.0 |
neutmute/emgucv | Emgu.CV/CameraCalibration/RotationMatrix2D.cs | 8270 | //----------------------------------------------------------------------------
// Copyright (C) 2004-2017 by EMGU Corporation. All rights reserved.
//----------------------------------------------------------------------------
using System;
using System.Drawing;
using System.Runtime.InteropServices;
using Syst... | gpl-3.0 |
wandora-team/wandora | src/org/wandora/application/gui/topicpanels/treemap/TopicInfo.java | 1971 | /*
* WANDORA
* Knowledge Extraction, Management, and Publishing Application
* http://wandora.org
*
* Copyright (C) 2004-2016 Wandora Team
*
* 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 Foundat... | gpl-3.0 |
Wopple/Mage | portraitbox.py | 1925 | # Copyright 2009 Christopher Czyzewski
# This file is part of Project Mage.
#
# Project Mage 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) a... | gpl-3.0 |
dlfivefifty/dlfivefifty-butterfly | include/bfio/structures/source.hpp | 1111 | /*
ButterflyFIO: a distributed-memory fast algorithm for applying FIOs.
Copyright (C) 2010-2011 Jack Poulson <jack.poulson@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, e... | gpl-3.0 |
ahaqxjl/ccf | 2013121/src/Main.java | 938 | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int count = Integer.parseInt(scanner.nextLine());
int[] numbers = new int[count];
String numbersStr = scanner.nextLine();
String[] numbersArray = numbersStr.split(" ");
... | gpl-3.0 |
jishnu7/timestep | build/native/native.js | 9023 | var fs = require('fs');
var ff = require('ff');
var path = require('path');
var wrench = require('wrench');
var hashFile = require("../../../../src/hashFile");
/**
* Packaging for Native.
* Native on any platform requires a compiled JavaScript file, so we make this
* generic and include it here.
*/
var _build;
v... | gpl-3.0 |
Charence/stk-code | lib/irrlicht/source/Irrlicht/CIrrDeviceLinux.cpp | 82873 | // Copyright (C) 2002-2012 Nikolaus Gebhardt
// Copyright (C) 2014-2015 Dawid Gan
// This file is part of the "Irrlicht Engine".
// For conditions of distribution and use, see copyright notice in irrlicht.h
extern bool GLContextDebugBit;
#include "CIrrDeviceLinux.h"
#ifdef _IRR_COMPILE_WITH_X11_DEVICE_
#... | gpl-3.0 |
CubicVoxel/openspacebox | core/src/li/yuri/openspacebox/ingame/object/SectorBeacon.java | 1828 | /*
* This file is part of OpenSpaceBox.
* Copyright (C) 2019 by Yuri Becker <hi@yuri.li>
*
* OpenSpaceBox is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your o... | gpl-3.0 |
TheOnePharaoh/YGOPro-Custom-Cards | script/c99199048.lua | 2292 | --Airin, Magical Girl of the Future Gears
function c99199048.initial_effect(c)
c:SetSPSummonOnce(99199048)
--spsummon
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(99199048,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_DESTROY)
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O)
e1:SetCode... | gpl-3.0 |
SirFrancisBillard/assorted-gamemodes | arena/gamemode/modules/damage/sv_hurtsounds.lua | 675 |
local function GetGender(ply)
return ply.model_table and ply.model_table.gender or GENDER_MALE
end
hook.Add("EntityTakeDamage", "Arena.HurtSounds", function(ply, dmg)
-- hurt sounds
ply.hurtsound_cooldown = ply.hurtsound_cooldown or 0
if IsValid(ply) and ply:IsPlayer() and ply.hurtsound_cooldown < CurTime() then
... | gpl-3.0 |
enabrintain/PandPArcadeGame | PintsAndPixelsArcadeGame/Assets/LevelManager.cs | 308 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class LevelManager : MonoBehaviour {
public void loadLevel(string name){
SceneManager.LoadScene (name);
}
public void quitRequest(){
Application.Quit ();
}
}// LevelManager | gpl-3.0 |
colinsheppard/beam | src/test/scala/beam/tags/Tags.scala | 319 | package beam.tags
import org.scalatest.Tag
object Periodic extends Tag("beam.tags.Periodic")
object Performance extends Tag("beam.tags.Performance")
object Integration extends Tag("beam.tags.Integration")
object Mocked extends Tag("beam.tags.Mocked")
object ExcludeRegular extends Tag("beam.tags.ExcludeRegular")
| gpl-3.0 |
Metalith/Astrum | src/components/mesh.hpp | 289 | #ifndef COMPONENT_MESH
#define COMPONENT_MESH
#include <vector>
#include <glfw3.h>
class Mesh : public Component {
public:
int getID() { return 0; }
std::vector<GLfloat> vertices;
std::vector<GLfloat> bounds;
std::vector<GLfloat> normals;
std::vector<int> indices;
};
#endif
| gpl-3.0 |
darakcheeff/fast | fonbet.0.2.js | 556 |
range = prompt("Укажите пороговое значение:");
a=document.getElementsByTagName("table")[0].children;
for (i = 0; i < a.length; i++) {
for (ii = 1; ii < a[i].children.length; ii++){
for (iii = 2; iii < a[i].children[ii].children.length; iii++) {
if(parseInt(range)<parseInt(a[i].children[ii].child... | gpl-3.0 |
benjaminfisher/tucker-maxon | plugins/i18n_gallery/lang/da.php | 3509 | <?php
$i18n = array(
'ADD_IMAGES' => "Tilføj billeder"
, 'ADMIN_SETTINGS_HEADER' => "Administrationspanel"
, 'ADMIN_THUMB_DIMENSIONS' => "Format på miniature"
, 'AUTOSTART' => "Start automatisk billedfremvisning"
, 'BACK' => "Tilbage til oversigt"
, 'BOTTOM' => "Nederst"
, 'CREATE_GALLERY' => "Opret nyt... | gpl-3.0 |
Spaner/TrackIt | src/main/java/com/trackit/presentation/event/EventManager.java | 3001 | /*
* This file is part of Track It!.
* Copyright (C) 2013 Henrique Malheiro
* Copyright (C) 2015 Pedro Gomes
*
* TrackIt! 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 |
sachin36987/google_drive_remote-upload_php | driveScriptt/vendor/google/apiclient-services/src/Google/Service/ManufacturerCenter.php | 3994 | <?php
/*
* Copyright 2014 Google Inc.
*
* 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 applicable law or agreed t... | gpl-3.0 |
hornetmj/CUBRID-MySQL-adapter-testcase | unit/cubrid_cci/cci_bind_param_array.cc | 2023 | #include <cas_cci.h>
#include "gtest/gtest.h"
class CCI_Bind_Param_Array : public ::testing::Test {
protected:
int conn_handle;
int req_handle;
int exec_retval;
T_CCI_ERROR err_buf;
static char *create_tbl;
static char *drop_tbl;
static char *insert_tbl;
virtual void SetUp () {
... | gpl-3.0 |
MarcosFernandez/heatmapUCSC | bedGraphToBed9/bedGraphToBed9.cpp | 5349 | /*
* main.cpp
*
* Created on: 25 Out, 2013
* Author: marcos
*/
#include <stdlib.h>
#include <iostream>
#include <fstream>
#include <string>
#include <vector>
#include <sstream>
#include <algorithm>
#include <math.h>
using namespace std;
struct heatMapSettings
{
std::vector <std::string> vHeatMapColors;
f... | gpl-3.0 |
Platonymous/Stardew-Valley-Mods | NoSoilDecayRedux/Config.cs | 122 | namespace NoSoilDecayRedux
{
public class Config
{
public bool farmonly { get; set; } = false;
}
}
| gpl-3.0 |
oksigenasu/antrian | Admin/panggilnomer - Copy.php | 1225 | <?php
//session_start();
include "../koneksi.php";
$id=$_POST['id'];
$nobaru = 0;
?>
<?php
//ambil daftar antrian
$q3=mysql_query("select * from alamat order by nomor desc");
//jika tidak ada antrian
if(mysql_num_rows($q3)<=0)
{
//tidak ada yang antri
echo "<h1>Tidak ada Nomor Antrian</h1>";
}
... | gpl-3.0 |
momentarylapse/tsunami | src/View/Dialog/TuningDialog.cpp | 2286 | /*
* TuningDialog.cpp
*
* Created on: 11.02.2016
* Author: michi
*/
#include "TuningDialog.h"
#include "../../Data/Track.h"
TuningDialog::TuningDialog(hui::Window *_parent, Track *t) :
hui::Window("tuning_dialog", _parent)
{
track = t;
tuning = track->instrument.string_pitch;
gui_num_strings = 0;
up... | gpl-3.0 |
warlof/slackbot | src/resources/views/access/includes/subs/corporation-mapping-tab.blade.php | 1304 | <table class="table table-condensed table-hover table-responsive">
<thead>
<tr>
<th>{{ trans('slackbot::seat.corporation') }}</th>
<th>{{ trans('slackbot::seat.channel') }}</th>
<th>{{ trans('slackbot::seat.created') }}</th>
<th>{{ trans('slackbot::seat.updated') }}</th>
... | gpl-3.0 |
SPCoffey/OpenSourceParty | OpenSourceParty/Properties/AssemblyInfo.cs | 1406 | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Op... | gpl-3.0 |
tukusejssirs/eSpievatko | spievatko/espievatko/prtbl/srv/php-5.5.11/ext/standard/tests/url/parse_url_basic_002.phpt | 5675 | --TEST--
Test parse_url() function: Parse a load of URLs without specifying PHP_URL_SCHEME as the URL component
--FILE--
<?php
/* Prototype : proto mixed parse_url(string url, [int url_component])
* Description: Parse a URL and return its components
* Source code: ext/standard/url.c
* Alias to functions:
*/
/*... | gpl-3.0 |
storri/libreverse | reverse/data_containers/control_flow_graph_sequence.cpp | 5339 | /* control_flow_graph_sequence.cpp
Copyright (C) 2008 Stephen Torri
This file is part of Libreverse.
Libreverse 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
o... | gpl-3.0 |
YoannLaala/GorillaEngine | Sources/Engine/Renderer/Resource/RenderTarget.hpp | 2399 | #ifndef _RENDERER_RENDER_TARGET_HPP_
#define _RENDERER_RENDER_TARGET_HPP_
/******************************************************************************
** Includes
******************************************************************************/
#include <Renderer/Resource/Resource.hpp>
/*****************************... | gpl-3.0 |
tsokalo/ghn-plc | ghn-plc/model/ghn-plc-fulld-phy-pmd.cc | 9724 | /* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */
/*
* Copyright (c) 2013 TUD
*
* Created on: 25.06.2013
* Author: Stanislav Mudriievskyi <stanislav.mudriievskyi@tu-dresden.de>
*/
#include "ns3/log.h"
#include "ns3/nstime.h"
#include "ns3/simulator.h"
#include "ghn-plc-fulld-phy-pmd.h"
N... | gpl-3.0 |
Dalan94/Super_Martin | Super_Martin/doc/html/search/files_5.js | 748 | var searchData=
[
['main_2ec',['main.c',['../main_8c.html',1,'']]],
['map_2ec',['map.c',['../map_8c.html',1,'']]],
['map_2eh',['map.h',['../map_8h.html',1,'']]],
['menu_2ec',['menu.c',['../menu_8c.html',1,'']]],
['menu_2eh',['menu.h',['../menu_8h.html',1,'']]],
['menu_5flevel_2ec',['menu_level.c',['../menu_... | gpl-3.0 |
droidefense/engine | mods/memapktool/src/main/java/org/jf/dexlib2/dexbacked/instruction/DexBackedInstruction35mi.java | 3118 | /*
* Copyright 2013, Google Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of conditio... | gpl-3.0 |
tastyproject/tasty | tasty/tests/functional/protocols/conversions/unsigned-homomorphic-garbled-unsigned/protocol_online_server.py | 521 | from tasty.types import conversions
from tasty.types import *
from tasty.types.driver import TestDriver
__params__ = {'la': 32, 'lb': 32, 'dima': 10, 'dimb': 10}
driver = TestDriver()
def protocol(client, server, params):
server.b = Unsigned(bitlen=233, empty=True, signed=False, dim=[1]).input(src=driver, desc='b'... | gpl-3.0 |
zenorogue/noteye | hydra/data.cpp | 35029 | // Hydra Slayer: math puzzle roguelike
// Copyright (C) 2010-2016 Zeno Rogue, see 'hydra.cpp' for details
#define LEVELS 12
#define LEVELS2 50
#define CLEVELS 10
struct levelinfo {
int maxheads;
int growlimit;
int weapon;
int bweapon;
int heal;
int msize;
};
levelinfo linf[LEVELS] = {
{ 3, 3, ... | gpl-3.0 |
Foboy/GogoDesginer | upload/admin/language/zh-CN/extension/installer.php | 1503 | <?php
// Heading
$_['heading_title'] = '扩展安装';
// Text
$_['text_success'] = '成功:你已安装的扩展!';
$_['text_unzip'] = '解压缩文件!';
$_['text_ftp'] = '复制文件!';
$_['text_sql'] = '运行SQL!';
$_['text_xml'] = '申请修改!';
$_['text_php'] = '运行PHP!';
$_['text_remove'] ... | gpl-3.0 |
tmrowco/electricitymap | web/src/components/countrytable.js | 24581 | import NoDataOverlay from '../components/nodataoverlay'
const d3 = Object.assign(
{},
require('d3-array'),
require('d3-axis'),
require('d3-collection'),
require('d3-format'),
require('d3-selection'),
require('d3-scale'),
);
var getSymbolFromCurrency = require('currency-symbol-map');
var moment = require(... | gpl-3.0 |
tdemarchi/financisto-converter | financisto-data/src/main/java/br/tkd/financisto/data/pojo/FinancistoDataEntityTransactionPojo.java | 16841 | package br.tkd.financisto.data.pojo;
import java.util.Collection;
import java.util.Collections;
import java.util.Date;
import java.util.LinkedHashMap;
import java.util.Map;
import org.apache.commons.lang3.time.DateFormatUtils;
import br.tkd.financisto.data.FinancistoDataEntityAccount;
import br.tkd.financ... | gpl-3.0 |
Polaris1949/Polaris | todo/tree-chain.hpp | 3723 | class tree_chain
{
private:
int e,beg[200010],nex[200010],to[200010],wt[200010],a[200010<<2],laz[200010<<2],son[200010],id[200010],fa[200010],cnt,dep[200010],siz[200010],top[200010],res=0;
inline void pushdown(int rt,int lenn){
laz[rt<<1]+=laz[rt];
laz[rt<<1|1]+=laz[rt];
... | gpl-3.0 |
aodn/aodn-portal | src/test/javascript/portal/search/FacetDrilldownPanelSpec.js | 3122 | describe("Portal.search.FacetDrilldownPanel", function() {
var searcher;
var drilldownPanel;
var testContainer;
var mockSearchResponse = Portal.search.SearchSpecHelper.mockSearchResponse;
beforeEach(function() {
searcher = new Portal.service.CatalogSearcher();
drilldownPanel = new... | gpl-3.0 |
dgraziotin/Pomotux | src/pomotuxdatabase.cpp | 29187 | /* This file is generated by litesql-gen */
#include "pomotuxdatabase.hpp"
namespace pomotuxdatabase {
using namespace litesql;
ActivityInAIS::Row::Row(const litesql::Database& db, const litesql::Record& rec)
: activityInventorySheet(ActivityInAIS::ActivityInventorySheet), activity(ActivityInAIS::Activity)
{
... | gpl-3.0 |
roelmann/uswmoodle | question/type/opaque/backup/moodle2/restore_qtype_opaque_plugin.class.php | 3532 | <?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 |
daria-mih/DPR | Week 5/CommandPattern/commands/On.cs | 434 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CommandPattern
{
public class On : Command
{
Device device;
public On(Device d)
{
device = d;
}
public void execute()
{
... | gpl-3.0 |
pacomus/roboblocks | src/blocks/text_char_special/text_char_special.js | 1218 | 'use strict';
/* global Blockly, JST, RoboBlocks */
/* jshint sub:true */
/**
* text_char_special code generation
* @return {String} Code generated with block parameters
*/
Blockly.Arduino.text_char_special = function() {
var char = this.getFieldValue('CHAR');
var code = JST['text_char_special']({
'char': char
... | gpl-3.0 |
alexisamzpro/HypeV3 | tradeIlegal/organe.lua | 11089 | ----------------------------------------------------
--===================Aurelien=====================--
----------------------------------------------------
------------------------Lua-------------------------
local DrawMarkerShow = true
local DrawBlipTradeShow = true
-- -900.0, -3002.0, 13.0
-- -800.0, -3002.0, 13... | gpl-3.0 |
smart-facility/cognicity-server | test/testValidation.js | 1630 | 'use strict';
/* jshint -W079 */ // Ignore this error for this import only, as we get a redefinition problem
var test = require('unit.js');
/* jshint +W079 */
var Validation = require('../Validation.js');
var moment = require('moment');
describe( "validateNumberParameter", function() {
it( 'passes with a nu... | gpl-3.0 |
dennerlager/sepibrews | sepibrews/progressbar/__about__.py | 995 | '''Text progress bar library for Python.
A text progress bar is typically used to display the progress of a long
running operation, providing a visual cue that processing is underway.
The ProgressBar class manages the current progress, and the format of the line
is given by a number of widgets. A widget is an object ... | gpl-3.0 |
themiwi/freefoam-debian | src/sampling/sampledSurface/isoSurface/isoSurface.H | 14189 | /*---------------------------------------------------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 1991-2010 OpenCFD Ltd.
\\/ M anipulation |
---------------... | gpl-3.0 |
erudit/zenon | eruditorg/base/test/factories.py | 1731 | from django.conf import settings
from django.contrib.auth.models import Group
from django.test import RequestFactory, Client
from django.contrib.auth.models import AnonymousUser
import factory
from faker import Factory as FakerFactory
from core.subscription.models import UserSubscriptions
faker = FakerFactory.create... | gpl-3.0 |
EmmanuelMess/Simple-Accounting | SimpleAccounting/app/src/main/java/com/emmanuelmess/simpleaccounting/db/legacy/TableMonthlyBalance.java | 3866 | package com.emmanuelmess.simpleaccounting.db.legacy;
import android.content.Context;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import com.emmanuelmess.simpleaccounting.data.Session;
import static android.database.Cursor.FIELD_TYPE_NULL;
import static com.alexfu.sqlitequerybuilder... | gpl-3.0 |
cpp-ftw/ccsh | lib/ccsh_utils_windows.cpp | 6452 | #include <ccsh/ccsh_utils.hpp>
#include "ccsh_internals.hpp"
#ifdef _WIN32
#ifndef _SILENCE_CXX17_CODECVT_HEADER_DEPRECATION_WARNING
#define _SILENCE_CXX17_CODECVT_HEADER_DEPRECATION_WARNING
#endif
#include <codecvt>
#include <mutex>
namespace ccsh {
fs::path get_home()
{
tchar_t result[MAX_PATH];
winapi_h... | gpl-3.0 |
aaujon/dolibarr | htdocs/projet/index.php | 9672 | <?php
/* Copyright (C) 2001-2005 Rodolphe Quiedeville <rodolphe@quiedeville.org>
* Copyright (C) 2004-2014 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2005-2010 Regis Houssin <regis.houssin@capnetworks.com>
*
* This program is free software; you can redistribute it and/or modify
* it u... | gpl-3.0 |
romus/statistic4text | statistic4text/utils/read_utils.py | 3010 | # -*- coding: utf-8 -*-
__author__ = 'romus'
from abc import ABCMeta, abstractmethod
import pymongo
class ReadUtils():
__metaclass__ = ABCMeta
@abstractmethod
def getDict(self, dictID):
"""
Получить данные по словарю по ID
:param dictID: ID словаря
:rtype: dict
... | gpl-3.0 |