repo_name
stringlengths
4
116
path
stringlengths
4
379
size
stringlengths
1
7
content
stringlengths
3
1.05M
license
stringclasses
15 values
Flexlay/flexlay
external/clanlib/GUI/menu_item.cpp
2821
/* ** ClanLib SDK ** Copyright (c) 1997-2005 The ClanLib Team ** ** This software is provided 'as-is', without any express or implied ** warranty. In no event will the authors be held liable for any damages ** arising from the use of this software. ** ** Permission is granted to anyone to use this software for a...
gpl-3.0
JohanEkblad/beacon-mountain
android/BeaconMountain/app/src/main/java/se/omegapoint/beaconmountain/data/ClientData.java
3453
package se.omegapoint.beaconmountain.data; import android.location.Location; import java.util.ArrayList; import java.util.List; public class ClientData { private String nickname; private double latitude = -1d; private double longitude = -1d; private Location location = null; private boolean answe...
gpl-3.0
jdsolucoes/Pymodoro
modules/sql.py
3285
#!/usr/bin/env python # -*- coding: utf-8 -*- # This file is part of Pymodoro. # Pymodoro 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. # Pymodoro is distributed in the hope that it will be usefu...
gpl-3.0
xuenhappy/ergate
test/ergate/dict/ChinaDailyCropusTest.java
732
package ergate.dict; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStreamReader; import java.nio.charset.Charset; import ergate.spi.zh.dict.ChinaDailyCropus; import ergate.spi.zh.dict.ChinaDailyCropus.Node; public class ChinaDailyCropusTest { public static vo...
gpl-3.0
GGG-KILLER/Scripted-Downloader
Scripted DL/MainForm.cs
6727
using ScriptedDL.ScriptLoader; using System; using System.ComponentModel; using System.IO; using System.Windows.Forms; namespace ScriptedDL { public partial class MainForm : Form { private ImageList il; private InfoParser.ScriptInfo si; Boolean IsDownloading; pub...
gpl-3.0
LouisePaulDelvaux/Til-Liam
src_liam/sandbox/test_hungarian.py
3392
from munkres import Munkres, print_matrix import numpy as np import operator import time as t import pdb matrix =[[ 7.2115 , 31.9857 , 6.8306], [ 6.1489 , 5.6583 , 6.461 ], [ 32.9857 , 32.9857 , 32.9857]] def rapid(matrix): if isinstance(matrix,np.ndarray): matrix=matrix.tolist() ...
gpl-3.0
hknutzen/Netspoc-Web
app/proxy/Custom.js
1832
/* (C) 2014 by Daniel Brunkhorst <daniel.brunkhorst@web.de> Heinz Knutzen <heinz.knutzen@gmail.com> https://github.com/hknutzen/Netspoc-Web 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 Founda...
gpl-3.0
Alig96/nzombies
nzombies3/gamemode/loader.lua
1316
//Load all our files in to the respective realms //Main Tables nz = {} local gmfolder = "nzombies3" local _,dirs = file.Find( gmfolder.."/gamemode/*", "LUA" ) print("nZombies 3.0 Loading...") function AutoInclude(name, dir) local sep = string.Explode("_", name) name = dir..name if sep[1] == "cl" and SERVER t...
gpl-3.0
TeamUmbrella/Shopping-Cart-Admin
application/libraries/Layout.php
797
<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); class Layout { var $obj; var $layout; function __construct() { $this->obj =& get_instance(); $this->layout = 'theme/template_main'; } function setLayout($layout) { $this->layo...
gpl-3.0
SeyZ/forest-rails
lib/generators/forest_liana/install_generator.rb
2534
require 'rails/generators' module ForestLiana class InstallGenerator < Rails::Generators::Base desc 'Forest Rails Liana installation generator' argument :env_secret, type: :string, required: true, desc: 'required', banner: 'env_secret' def install if ForestLiana.env_secret.present? puts "...
gpl-3.0
Rise-Vision/widget-video
src/widget/analytics.js
416
var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-57092159-2']); _gaq.push(['_trackPageview']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'...
gpl-3.0
GlebPoljakov/whois-phpipam
templates/subnet.php
611
<?php $tbl = new Console_Table( CONSOLE_TABLE_ALIGN_LEFT, //left alignment '' //no border ); $subnet_info_array = array ( array('Subnet:', $details['subnet'].'/'.$details['mask']), array('Section:', $details['sectionName']), array('Description:', $details['description']), array('VRF:', $de...
gpl-3.0
webrtd/website
plugins/content_plugins/nationalboard.php
506
<? /* content plugin admin terms - used to login as other users (c) 3kings.dk 30-01-2013 rasmus@3kings.dk draft */ if ($_SERVER['REQUEST_URI'] == $_SERVER['PHP_SELF']) header("location: /"); content_plugin_register('nb', 'content_handle_nationalboard', 'Hovedbestyrelse'); function content_handle_natio...
gpl-3.0
caioblima/phpzce-code-guide
php-basics/code/control-structures.php
281
<?php //Control structures //If then else: if (exp1) { //some code } elseif (exp2) { //some code } else { //some code } //Nested if then else: if ($omething) { //some code if ($somethingElse) { //some code } else { //some code } } else { //some code }
gpl-3.0
ArnaudKOPP/BioREST
BioREST/String.py
12028
# coding=utf-8 """ String-db REST services Website : www.http://string-db.org REST Documentation : http://string-db.org/help/index.jsp?topic=/org.string-db.docs/api.html # ### String REST TEST # from BioREST import String # string = String(identity='kopp@igbmc.fr') """ __author__ = "Arnaud KOPP" __copyright_...
gpl-3.0
Bioinformanics/ucsd-bioinformatics-2
Week4/SpectralConvolutionProblem.py
1217
""" Spectral Convolution Problem: Compute the convolution of a spectrum. Input: A collection of integers Spectrum. Output: The list of elements in the convolution of Spectrum. If an element has multiplicity k, it should appear exactly k times; you may return the elements in any order. """ def spectral_...
gpl-3.0
projectestac/alexandria
html/langpacks/el/qtype_multianswer.php
6956
<?php // This file is part of Moodle - https://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
caloriscz/caloriscms
www/js/all-front-custom.js
1364
(function ($) { /* Colorbox: lightbox */ $('a.gallery').colorbox({ rel: 'gallery', maxWidth: '100%', maxHeight: '95%', scrolling: false }); /* Alternative image on hover */ $('.img-hovered').hover(function () { var source = $(this).attr('src'); ...
gpl-3.0
RandomLyrics/Colony
Colony/OrionOld/Engine/Cache.cs
1346
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace OrionOld.Engine { public class Cache { private IDictionary<Type, IShareable> _cache; public IDictionary<Type, IShareable> Dic { get { return _cache; } } public...
gpl-3.0
henriqdp/santinho
config/environments/production.rb
3459
Rails.application.configure do # Settings specified here will take precedence over those in config/application.rb. # Code is not reloaded between requests. config.cache_classes = true # Eager load code on boot. This eager loads most of Rails and # your application in memory, allowing both threaded web serve...
gpl-3.0
farizhermawan/idem
layer/api/page/console/debug.php
1233
<?php $this->title = "API Console Debug"; $this->layout = "default.php"; ?> <h1><?=$this->title?></h1> <fieldset> <form> <div class="row"> <div class="input-field col s12"> <input id="api" type="text" name="api" class="validate"> <label for="api">api</label> </div> <div class="input-field col s...
gpl-3.0
crypto-universe/SPECK
src/pkcs7.rs
7114
#![allow(unused_parens)] use padding::*; pub struct PKCS7; impl PaddingGenerator for PKCS7 { fn set_padding (plaintext: &[u8], padding: &mut[u8], block_len: usize) { assert!(block_len != 0 && block_len < 256, "Sorry, wrong block length!"); assert!(padding.len() == block_len, "Padding lenght should be e...
gpl-3.0
jazztickets/choria
src/scripting.cpp
44355
/****************************************************************************** * choria - https://github.com/jazztickets/choria * Copyright (C) 2021 Alan Witkowski * * 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 ...
gpl-3.0
os2loop/profile
modules/loop_documents/templates/loop-documents-collection-print-footer.tpl.php
1710
<?php /** * @file * Document collection print footer template. */ ?> <!DOCTYPE html> <html> <head> <meta charset="utf-8"/> <title>print – footer – <?php echo $collection->title; ?></title> <style> html, body { margin: 0; padding: 0; } .container { display: table; ...
gpl-3.0
jmcameron/attachments_translations
attachments-Swedish-sv-SE/install.php
2372
<?php /** * Attachments language pack installation script * * @package Attachments * * @author Jonathan M. Cameron * @copyright Copyright (C) 2013 Jonathan M. Cameron * @license http://www.gnu.org/licenses/gpl-3.0.html GNU/GPL * @link http://joomlacode.org/gf/project/attachments/frs/ */ // No direct access de...
gpl-3.0
wpgreece/wpgreece-theme
404.php
760
<?php get_header(); ?> <section class = "content row page-container responsiville-equalheights"> <article class = "column tablet-column-100 laptop-column-65 laptop-push-15"> <!-- ERROR 404 TITLES AND STUFF --> <h1><?php _e( 'Ωπ! Η σελίδα αυτή δεν βρέθηκε', 'wpgc' ); ?> <?...
gpl-3.0
REI-Systems/GovDashboard-Community
webapp/sites/all/modules/platform/transaction/xa_transaction/tm/TransactionManager.php
1814
<?php /* * Copyright 2014 REI Systems, Inc. * * This file is part of GovDashboard. * * GovDashboard 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 opti...
gpl-3.0
zsh2938/FHC-Core
content/statistik/anwesenheitsliste.php
5362
<?php /* Copyright (C) 2004 Technikum-Wien * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as * published by the Free Software Foundation; either version 2 of the * License, or (at your option) any later version. * * This pro...
gpl-3.0
chamilo/chash
src/Command/Installation/InstallCommand.php
43485
<?php namespace Chash\Command\Installation; use Chash\Command\Common\CommonCommand; use Doctrine\DBAL\Connection; use Doctrine\ORM\EntityManager; use Symfony\Bundle\FrameworkBundle\Console\Application; use Symfony\Component\Console\Input\ArrayInput; use Symfony\Component\Console\Input\InputArgument; use Symfony\Compo...
gpl-3.0
alexeykish/aircompany-spring
dao/src/main/java/by/pvt/kish/aircompany/dao/IDAO.java
1625
package by.pvt.kish.aircompany.dao; import by.pvt.kish.aircompany.exceptions.DaoException; import java.util.List; /** * This interface represents a contract for a IDAO for the Entity models. * * @author Kish Alexey */ public interface IDAO<T> { /** * Create the given Entity in the DB * * @par...
gpl-3.0
Polymaker/ldd-modder
Sources/LDDModder.BrickEditor/Rendering/Shaders/WireframeShader2Program.cs
1013
using ObjectTK.Shaders.Variables; using OpenTK.Graphics.OpenGL; using ObjectTK.Shaders.Sources; using OpenTK; using OpenTK.Graphics; namespace LDDModder.BrickEditor.Rendering.Shaders { [SourceFile("LDDModder.BrickEditor.Resources.Shaders.WireframeShader2.glsl", Embedded = true, SourceName = "WireframeShader2")] ...
gpl-3.0
steffen-foerster/booking-calendar
App_Code/de/fiok/controls/UIMessage.cs
2190
namespace de.fiok.controls { using System; using System.Collections; using System.Web.UI; using System.Web.UI.WebControls; using de.fiok.web; using log4net; /// <summary> /// Das Control zeigt formatierte Meldungen an. /// </summary> public class UIMessage : WebControl { private static readon...
gpl-3.0
cathyyul/sumo-0.18
docs/doxygen/d1/d61/class_a_g_household.js
2599
var class_a_g_household = [ [ "AGHousehold", "d1/d61/class_a_g_household.html#a6aace659f488c3720c0e148aecde4db2", null ], [ "AGHousehold", "d1/d61/class_a_g_household.html#a3104854bc59f3454cd69fa5d8e8548a6", null ], [ "addACar", "d1/d61/class_a_g_household.html#af23dea6e8508778b7a2fdc64496292f4", null ], ...
gpl-3.0
h3llrais3r/Auto-Subliminal
web/autosubliminal/src/app/modules/home/home.component.ts
668
import { Component } from '@angular/core'; import { WantedTotals } from '../../shared/models/wanted'; @Component({ selector: 'app-home', templateUrl: './home.component.html', styleUrls: ['./home.component.scss'] }) export class HomeComponent { total = 0; totalEpisodes = 0; totalMovies = 0; constructor(...
gpl-3.0
PyPila/apof
src/apof/portal/tests/test_apps.py
365
from django.apps.config import AppConfig from django.test import TestCase from apof.portal.apps import PortalConfig class AppsTestCase(TestCase): def test_BasketConfig_mro(self): self.assertEqual( PortalConfig.__mro__, ( PortalConfig, AppConfig, ...
gpl-3.0
manojdjoshi/dnSpy
Extensions/dnSpy.Debugger/dnSpy.Debugger/Evaluation/UI/VariablesWindowVM.cs
7028
/* Copyright (C) 2014-2019 de4dot@gmail.com This file is part of dnSpy dnSpy 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
STEENBRINK/Kaasmod-2-1.7.10
src/main/java/nl/steenbrink/kaasmod/block/fluid/BlockCurd.java
377
package nl.steenbrink.kaasmod.block.fluid; import net.minecraft.block.material.Material; import net.minecraftforge.fluids.Fluid; import nl.steenbrink.kaasmod.reference.Names; public class BlockCurd extends BlockKaasmodFluidBase { public BlockCurd(Fluid fluid, Material material) { super(fluid, material...
gpl-3.0
sharptogether/DotnetSpider
src/MySql.Data/Field.cs
10637
// Copyright ?2004, 2015, Oracle and/or its affiliates. All rights reserved. // // MySQL Connector/NET is licensed under the terms of the GPLv2 // <http://www.gnu.org/licenses/old-licenses/gpl-2.0.html>, like most // MySQL Connectors. There are special exceptions to the terms and // conditions of the GPLv2 as it is a...
gpl-3.0
Ebag333/Pyfa
eos/db/saveddata/databaseRepair.py
7172
# =============================================================================== # Copyright (C) 2010 Diego Duclos # # This file is part of pyfa. # # pyfa 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, eithe...
gpl-3.0
flyingliang/Data-Management-Suite
Src/Data-Server/Data.Server/Program.cs
1011
using System; using System.ServiceProcess; using FalconSoft.Data.Server.Installers; namespace FalconSoft.Data.Server { internal class Program { [STAThread] private static void Main() { AppDomain.CurrentDomain.UnhandledException += (sender, args) => ServerApp.Logger.Error("U...
gpl-3.0
Huigang610/busmaster-1
Sources/Application/BusStatistics.cpp
1612
/* * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will...
gpl-3.0
gohdan/DFC
known_files/hashes/simpla/design/js/codemirror/mode/xquery/test.js
52
Simpla CMS 2.3.8 = 2284f1cddf9bf0eeaaf808af86258246
gpl-3.0
Dutchworth/CountdownNumbers
test/RpnUtilsTests.cpp
1969
#include "RpnUtils.h" #include <stack> #include "Element.h" #include "gtest/gtest.h" class RpnUtilsTests : public ::testing::Test { private: void emptyStack(std::stack<Element>& stack) { int size = stack.size(); for (int i = 0; i < stack.size(); ++i) { stack.pop(); } } protected: std::stack...
gpl-3.0
CuonDeveloper/cuon
cuon_client/cpp/doc/html/search/defines_6d.js
361
var searchData= [ ['my_5flinux32',['MY_LINUX32',['../d9/d3a/global_8hpp.html#a9ee639a3257f7f33e49e8059d3cbd503',1,'global.hpp']]], ['my_5flinux64',['MY_LINUX64',['../d9/d3a/global_8hpp.html#aef7edc5e915748a398774aba2be70e32',1,'global.hpp']]], ['my_5fwin32',['MY_WIN32',['../d9/d3a/global_8hpp.html#ab40d3d5d1f7ad0...
gpl-3.0
gsimsek/robomongo
src/robomongo/core/settings/SettingsManager.cpp
9883
#include "robomongo/core/settings/SettingsManager.h" #include <QDir> #include <QFile> #include <QVariantList> #include <parser.h> #include <serializer.h> #include "robomongo/core/settings/ConnectionSettings.h" #include "robomongo/core/utils/Logger.h" #include "robomongo/core/utils/StdUtils.h" #include "robomongo/gui/...
gpl-3.0
Leopardob/dice-dev
dice/foam_app.py
5734
# External modules # ================ from PyQt5.QtCore import QUrl, pyqtSlot # DICE modules # ============ from dice.app import BasicApp class FoamApp(BasicApp): app_name = "NoNameFoamApp" def __init__(self, parent, instance_name, status): BasicApp.__init__(self, parent, instance_name, status) ...
gpl-3.0
AnthonyRawlinsUoM/lfmc-staging
src/app/components/importjobs/importjobs.component.spec.ts
660
import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { ImportjobsComponent } from './importjobs.component'; describe('ImportjobsComponent', () => { let component: ImportjobsComponent; let fixture: ComponentFixture<ImportjobsComponent>; beforeEach(async(() => { TestBed.configureT...
gpl-3.0
santiontanon/xspelunker
java/src/PNGtoMSX/GenerateAssemblerPatternPatch.java
9732
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package PNGtoMSX; import java.awt.image.BufferedImage; import java.io.File; import java.util.ArrayList; import java.util.Collections; ...
gpl-3.0
Codetector1374/FrameworkG
css/zui/dist/lib/imgcutter/zui.imgcutter.js
10545
/*! * ZUI: 图片裁剪工具 - v1.5.0 - 2016-09-09 * http://zui.sexy * GitHub: https://github.com/easysoft/zui.git * Copyright (c) 2016 cnezsoft.com; Licensed MIT */ /* ======================================================================== * ZUI: img-cutter.js * http://zui.sexy * ======================================...
gpl-3.0
plamen911/softuni-jscore
_01JSFundamentals/_03ExpressionsConditionalStatementsAndLoops/_03DistanceOverTime.js
296
'use strict'; // https://judge.softuni.bg/Contests/Compete/Index/308#2 function solve(numbers) { let speedA = numbers[0]; let speedB = numbers[1]; let time = numbers[2] / (60 * 60); return Math.abs((speedA * time) - (speedB * time)) * 1000; } console.log(solve([0, 60, 3600]));
gpl-3.0
greenriver/hmis-warehouse
db/warehouse/migrate/20200917193037_add_income_totals_to_apr.rb
311
class AddIncomeTotalsToApr < ActiveRecord::Migration[5.2] def change add_column :hud_report_apr_clients, :income_total_at_start, :integer add_column :hud_report_apr_clients, :income_total_at_annual_assessment, :integer add_column :hud_report_apr_clients, :income_total_at_exit, :integer end end
gpl-3.0
tlaothong/schoolreg
SuraswadeeWeb/Controllers/AdminManageController.cs
4283
using SuraswadeeWeb.Models; using SuraswadeeWeb.Repositories; using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; namespace SuraswadeeWeb.Controllers { public class AdminManageController : Controller { // GET: AdminManage [Authorize] ...
gpl-3.0
mrmagee/tpg
modules/bad-behavior/bad-behavior/responses.inc.php
8155
<?php if (!defined('BB2_CORE')) die('I said no cheating!'); // Defines the responses which Bad Behavior might return. function bb2_get_response($key) { $bb2_responses = array( '00000000' => array('response' => 200, 'explanation' => '', 'log' => ''), '136673cd' => array('response' => 403, 'explanation' => ...
gpl-3.0
OpenCaseWork/ui
src/app/state/reducers/search-reducer.ts
3787
import * as SearchActions from '../actions/search-actions'; import { ResponseStatus, BaseEntity } from '../../core/models/request-response.models'; import { EnumExtension } from '../../core/extensions/enum-extension'; import { SearchEnum } from '../resources/resource.service'; export interface SearchState { ...
gpl-3.0
BabyCareSystem/BabyCareApp
src/com/example/babycare/fragments/Crying_Show_Activity.java
1049
package com.example.babycare.fragments; import com.hardcopy.btchat.R; import android.app.Activity; import android.content.Context; import android.os.Bundle; import android.os.Vibrator; import android.widget.CompoundButton; import android.widget.Switch; public class Crying_Show_Activity extends Activity { Switch sw...
gpl-3.0
sailorgary64/fishrescue
src/friendly.cpp
10087
/* * friendly.cpp * * Created on: Apr 8, 2009 * Author: urioxis */ #include "friendly.hpp" Friendly::Friendly(int newId) { this->id = newId; this->type = FRIENDLY; this->playerHandle = Player::getPlayerHandle(); this->cell = -1; score = 0; hwidth = 10; hheight = 22; bbox.hheight = 22; bbox.hwidth ...
gpl-3.0
ndaniel/fusioncatcher
bin/generate_banned.py
364988
#!/usr/bin/env python # -*- coding: utf-8 -*- """ It generates the list of banned candidate fusion genes. This list is hard coded inhere. Author: Daniel Nicorici, Daniel.Nicorici@gmail.com Copyright (c) 2009-2021 Daniel Nicorici This file is part of FusionCatcher. FusionCatcher is free software: you can redistrib...
gpl-3.0
Kinnaj7/FishHelper
FishHelper/Functions.cs
8757
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Net.NetworkInformation; using System.Text; using System.Threading.Tasks; using System.Runtime.InteropServices; using System.Net; using System.Collections; using System.Threading; namespace FishHelper { public...
gpl-3.0
FISHunderscore/VB-to-VCS
MiniEditGanden/MiniEditGanden/mdiMiniEdit.cs
19430
// This file is part of VB-to-VCS, and is therefore licensed under the GNU GPLv3 public license. // Copyright (C) 2016 Ganden Schaffner and James Fletcher // 1. What does Option Explicit do? // Forces you to declare all variables // FOrces you to case them to the correct type if necessary using System; using System...
gpl-3.0
leonardovilarinho/prontuario-sus
src/resources/views/pacientes/prescricao/addmed.blade.php
2864
@extends('layouts.app') @section('titulo', 'Adicionar um medicamento') @section('lateral') @endsection @section('conteudo') <p style="text-align:center"> @if(session('msg')) <span class="texto-verde"> {{ session('msg') }} </span> @endif @if(sessi...
gpl-3.0
Winbringer/UWP_Test
App1/BackGroundTasks/AudioPlayback.cs
613
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Windows.ApplicationModel.Background; namespace BackGroundTasks { public sealed class AudioPlayback : IBackgroundTask { private BackgroundTaskDeferral _deferral; public void...
gpl-3.0
shelllbw/workcraft
XmasPlugin/src/org/workcraft/plugins/xmas/tools/VerQuery.java
27161
package org.workcraft.plugins.xmas.tools; import java.awt.BorderLayout; import java.awt.Color; import java.awt.FlowLayout; import java.awt.Graphics2D; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.ItemEvent; import java.awt.event.ItemListener; import java.io.BufferedRea...
gpl-3.0
litdev1/LitDev
LitDev/Box2D/Box2D.Collision/BroadPhase.cs
27931
using Box2DX.Common; using System; namespace Box2DX.Collision { public class BroadPhase { public static readonly ushort BROADPHASE_MAX = Box2DX.Common.Math.USHRT_MAX; public static readonly ushort Invalid = BroadPhase.BROADPHASE_MAX; public static readonly ushort NullEdge = BroadPhase.BROADPHASE_MAX; public P...
gpl-3.0
tobast/compil-petitscala
tests/typing/bad/testfile-return-2.scala
80
class C { var x = return 1 } object Main { def main(args: Array[String]) { } }
gpl-3.0
deVinnnie/magic-membership-management
src/main/java/be/mira/jongeren/administration/repository/MembershipRepository.java
257
package be.mira.jongeren.administration.repository; import be.mira.jongeren.administration.domain.Membership; import org.springframework.data.jpa.repository.JpaRepository; public interface MembershipRepository extends JpaRepository<Membership, Long> { }
gpl-3.0
wwood/bbbin
blast_evalue_grep.rb
719
#!/usr/bin/env ruby # Takes in a blast -m 8 file, and then returns lines with a better # than defined e-value if __FILE__ == $0 require 'rubygems' require 'optparse' # Parse cmd line options USAGE = "Usage: blast_mask.rb [-m] <fasta_filename> <blast_filename>" cutoff = 1e-5 options = { :print_masked_...
gpl-3.0
cgi-atlantic-java/skills
src/main/java/skills/beans/Profile.java
1243
package skills.beans; import skills.model.*; import skills.model.interfaces.SkillProfile; import java.util.Collections; import java.util.LinkedList; import java.util.List; /** * UI bean representing a skill profile */ public class Profile implements IProfile { private final SkillProfile profile; public P...
gpl-3.0
countchrisdo/EvangelionMod
src/main/java/com/camp/item/KnowFruit.java
976
package com.camp.item; import cpw.mods.fml.relauncher.Side; import cpw.mods.fml.relauncher.SideOnly; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.item.ItemFood; import net.minecraft.item.ItemStack; import net.minecraft.potion.Potion; import net.minecraft.potion.PotionEffect; import ne...
gpl-3.0
SoftGuys/LetsMakeUsFamous
tests/unit/data/landmarks.data.tests.js
7443
/* eslint-disable */ const chai = require('chai'); const mock = require('mock-require'); const sinon = require('sinon'); const sinonChai = require('sinon-chai'); chai.use(sinonChai); const { expect } = chai; describe('landmarks data tests', () => { let database = null; let Landmark = null; let Landmarks...
gpl-3.0
LariscusObscurus/ITP3_ImageProcessing
Utility.hpp
866
// Utility.hpp /* © 2013 David Wolf * * This file is part of ImageProcessing. * * ImageProcessing 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
Iran/ClassicRA
OpenRA.Mods.RA.Classic/Render/RenderBuildingTurreted.cs
992
#region Copyright & License Information /* * Copyright 2007-2011 The OpenRA Developers (see AUTHORS) * This file is part of OpenRA, which is free software. It is made * available to you under the terms of the GNU General Public License * as published by the Free Software Foundation. For more information, * see COP...
gpl-3.0
githubdoe/DFTFringe
dftthumb.cpp
1336
/****************************************************************************** ** ** Copyright 2016 Dale Eason ** This file is part of DFTFringe ** 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...
gpl-3.0
The-Three-Otakus/Joint-Animator
loveframes/objects/columnlist.lua
23315
--[[------------------------------------------------ -- Love Frames - A GUI library for LOVE -- -- Copyright (c) 2012-2014 Kenny Shields -- --]]------------------------------------------------ -- get the current require path local path = string.sub(..., 1, string.len(...) - string.len(".objects.columnlist")) local l...
gpl-3.0
foricles/Game-Engine
Game Engine/Game Engine/gameobject.cpp
230
#include "gameobject.h" GameObject::GameObject() : oMesh(nullptr) { oName = "GameObject" + std::to_string(oId); oMesh = new Mesh; } GameObject::~GameObject() { delete oMesh; } Mesh *GameObject::getMesh() { return oMesh; }
gpl-3.0
MailCleaner/MailCleaner
www/framework/Zend/Http/Client/Adapter/Interface.php
2248
<?php /** * Zend Framework * * LICENSE * * This source file is subject to the new BSD license that is bundled * with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://framework.zend.com/license/new-bsd * If you did not receive a copy of the license a...
gpl-3.0
Bunsan/ForestryMC
src/main/java/forestry/core/recipes/ShapedRecipeCustom.java
5338
/******************************************************************************* * Copyright (c) 2011-2014 SirSengir. * All rights reserved. This program and the accompanying materials * are made available under the terms of the GNU Lesser Public License v3 * which accompanies this distribution, and is available at...
gpl-3.0
Hernanarce/pelisalacarta
python/version-mediaserver/platformcode/controllers/controller.py
4706
# -*- coding: utf-8 -*- # ------------------------------------------------------------ # pelisalacarta 4 # Copyright 2015 tvalacarta@gmail.com # http://blog.tvalacarta.info/plugin-xbmc/pelisalacarta/ # # Distributed under the terms of GNU General Public License v3 (GPLv3) # http://www.gnu.org/licenses/gpl-3.0.ht...
gpl-3.0
iterate-ch/cyberduck
cryptomator/src/main/java/ch/cyberduck/core/cryptomator/features/CryptoCompressFeature.java
2371
package ch.cyberduck.core.cryptomator.features; /* * Copyright (c) 2002-2017 iterate GmbH. All rights reserved. * https://cyberduck.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 Foundation; e...
gpl-3.0
SEAL-UCLA/API_Matching
code/edu.utexas.ece.apimatching/src/edu/washington/cs/others/SKimTransaction.java
7434
/* * API Matching * Copyright (C) <2015> <Dr. Miryung Kim miryung@cs.ucla.edu> * * 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 yo...
gpl-3.0
Diiana/proyectoDAW
src/main/java/net/rafaelaznar/operaciones/HistorialRemove.java
1645
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package net.rafaelaznar.operaciones; import com.google.gson.Gson; import java.util.HashMap; import java.util.Map; import javax.servlet.ServletException; import javax.servlet.http.HttpServletRequest; import javax.servlet...
gpl-3.0
SammysHP/BetaBlog
lib/exceptions/ItemNotFoundException.php
87
<?php namespace exceptions; class ItemNotFoundException extends BetablogException { }
gpl-3.0
zhdk/madek
db/migrate/20150219182142_recreate_previews_fix_jg_size_constraint_02.rb
397
class RecreatePreviewsFixJgSizeConstraint02 < ActiveRecord::Migration disable_ddl_transaction! def change MediaFile.where("created_at > '2014-10-01'::date").find_each do |mf| if mf.previews_creatable? begin mf.recreate_image_previews! rescue Exception => e Rails.logger....
gpl-3.0
arnaudpourbaix/angular-jqwidgets
jqwidgets/grid.js
4778
/* global jQuery */ (function(window, $) { 'use strict'; var module = angular.module('apx-jqwidgets.grid', [ 'apx-jqwidgets.common', 'apx-jqwidgets.data-adapter' ]); module .provider( '$jqGrid', function JqGridProvider() { var options = { altRows : true, columnsResize : true, ...
gpl-3.0
MECTsrl/ATCMcontrol_Engineering
src/COM/softing/fc/CMN/trace/traceex.cpp
6312
/*H>> $Header: /4CReleased/V2.20.00/COM/softing/fc/CMN/trace/traceex.cpp 1 28.02.07 19:00 Ln $ *----------------------------------------------------------------------------* * * =FILENAME $Workfile: traceex.cpp $ * $Logfile: /4CReleased/V2.20.00/COM/softing/fc/CMN/trace/trace...
gpl-3.0
safecrack/safecrack
demonstration_code/python_twitter_script/try_combo.py
1392
#!/usr/bin/env python import sys import serial import re import twitter_birdy new_tweet_list = [] old_tweet_list = [] try_tweet = [] found = 0 print "Connecting to arduino..." ser = serial.Serial('/dev/ttyACM3', 115200) print "Connected!" while found == 0: print "---------------------------------" print "Waiti...
gpl-3.0
softwarevamp/amazon-mws
src/MarketplaceWebService/Model/RequestReportResult.php
2609
<?php /** * PHP Version 5 * * @category Amazon * @package MarketplaceWebService * @copyright Copyright 2009 Amazon Technologies, Inc. * @link http://aws.amazon.com * @license http://aws.amazon.com/apache2.0 Apache License, Version 2.0 * @version 2009-01-01 */ /*****************...
gpl-3.0
Raegdan/hest
src/com/fasterxml/jackson/core/json/WriterBasedJsonGenerator.java
64537
package com.fasterxml.jackson.core.json; import java.io.*; import java.math.BigDecimal; import java.math.BigInteger; import com.fasterxml.jackson.core.*; import com.fasterxml.jackson.core.io.*; /** * {@link JsonGenerator} that outputs JSON content using a {@link java.io.Writer} * which handles character encoding. ...
gpl-3.0
goodod/evaluator
src/test/java/de/uni_rostock/goodod/test/ClassExpressionNamingNormalizerTestCase.java
6834
/** Copyright (C) 2012 The University of Rostock. Written by: Niels Grewe Created: 17.02.2012 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 (a...
gpl-3.0
martimyc/Engine
Engine/SpherePrimitive.cpp
1238
#include "MathGeoLib\src\Geometry\Sphere.h" #include "Application.h" #include "BasicGeometry.h" #include "SpherePrimitive.h" SpherePrimitive::SpherePrimitive() : Primitive(SPHERE_NUM_VERTICES, SPHERE_NUM_VERTICES) //num_vertices, num_indices {} SpherePrimitive::~SpherePrimitive() {} bool SpherePrimitive::LoadSphere(...
gpl-3.0
rafaellc28/Portfolio
public/assets/controllers/EducationsController-9115d9e08c334be2c1eecb5d41d7a875.js
480
(function() { angular.module('portfolioApp').controller("EducationsController", function($scope, $routeParams, $location, Educations) { var serverErrorHandler; $scope.init = function() { this.listsService = new Educations(serverErrorHandler); return $scope.lists = this.listsService.all(); }; ...
gpl-3.0
black-lamp/yii2-bl-cms
backend/components/imagable/BaseName.php
667
<?php namespace backend\components\imagable; use Yii; /** * @author Albert Gainutdinov <xalbert.einsteinx@gmail.com> */ abstract class BaseName extends \yii\base\Object { abstract public function generate($baseName); public function getName($name) { return $this->generate($name); } // ab...
gpl-3.0
mephasor/mephaBot
runBot.py
2503
#!/usr/bin/python3.5 import discord import asyncio import urllib import re import importlib import sys import configReader if not discord.opus.is_loaded(): # the 'opus' library here is opus.dll on windows # or libopus.so on linux in the current directory # you should replace this with the location the ...
gpl-3.0
akkk33/AE-AdvBlog
vendor/System/Http/Response.php
1498
<?php namespace System\Http; use System\App; class Response { /** * Application object * * @var \System\App */ private $app; /** * Headers container * * @var array */ private $headers = []; /** * Content * * @var string */ priv...
gpl-3.0
gguruss/mixerp
src/FrontEnd/Modules/HRM.API/Tests/TerminationRouteTests.cs
11619
// ReSharper disable All using System; using System.Configuration; using System.Diagnostics; using System.Net.Http; using System.Runtime.Caching; using System.Web.Http; using System.Web.Http.Controllers; using System.Web.Http.Dispatcher; using System.Web.Http.Hosting; using System.Web.Http.Routing; using Xunit; namesp...
gpl-3.0
Rai/aura
src/ChannelServer/Skills/Combat/RangedAttack.cs
15450
// Copyright (c) Aura development team - Licensed under GNU GPL // For more information, see license file in the main folder using Aura.Channel.Network.Sending; using Aura.Channel.Skills.Base; using Aura.Channel.Skills.Magic; using Aura.Channel.World.Entities; using Aura.Mabi.Const; using Aura.Mabi.Network; using Aur...
gpl-3.0
tnRaro/ncc-archive
src/index.js
1887
import Session, { Credentials } from "node-ncc-es6"; import config from "../config"; import fs from "fs"; import path from "path"; import db, { getGfs } from "./db"; import app from "./app"; import request from "request"; const credentials = new Credentials( config.username, config.password ); const session = new S...
gpl-3.0
MeteorAdminz/dnSpy
dnSpy/dnSpy.Contracts.DnSpy/MVVM/IInitializeDataTemplate.cs
1121
/* Copyright (C) 2014-2016 de4dot@gmail.com This file is part of dnSpy dnSpy 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 late...
gpl-3.0
mrvux/FeralTic-SDX
Tests/Resources/Texture1DTests.cs
1349
using FeralTic.DX11; using FeralTic.DX11.Resources; using Microsoft.VisualStudio.TestTools.UnitTesting; using SharpDX.DXGI; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace FeralTic.Tests { [TestClass] public class Texture1DTests : RenderDeviceTestBase { ...
gpl-3.0
diegoisawesome/AME
Dependencies/Hacking/Event assembler/Core/Code/Language/Expression/Tree/Sum.cs
755
// ----------------------------------------------------------------------- // <copyright file="SumExpression.cs" company=""> // TODO: Update copyright text. // </copyright> // ----------------------------------------------------------------------- namespace Nintenlord.Event_Assembler.Core.Code.Language.Expression { ...
gpl-3.0
theshadowx/qtphotomanager
src/mainwindow.cpp
23691
#include "mainwindow.h" #include "ui_mainwindow.h" /// Constructor of MainWindow MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::MainWindow) { userChain = new UsersChain(); imageCellChain = new ImageCellChain(); database = new DataBase(); nbTries = 0; currentUser ...
gpl-3.0