repo_name stringlengths 4 116 | path stringlengths 4 379 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
alexfilth/quezacotl | Quezacotl/InitWorker.cs | 173000 | using System;
using System.Text;
namespace Quezacotl
{
class InitWorker
{
#region Declarations
public static byte[] Init;
public static byte[] BackupInit;
public static int GfDataOffset = -1;
public static int OffsetToGfSelected = -1;
public static int Charac... | gpl-3.0 |
mmmovania/libjpeg_VS2012 | control/residualblockhelper.hpp | 5301 | /*************************************************************************
** Copyright (c) 2011-2012 Accusoft **
** This program is free software, licensed under the GPLv3 **
** see README.license for details **
** **
** For... | gpl-3.0 |
Stefie/aframe-curvedimage-calculator | webpack.config.js | 1432 | const path = require('path'),
webpack = require('webpack'),
poststylus = require('poststylus'),
HtmlWebpackPlugin = require('html-webpack-plugin');
module.exports = {
context: __dirname + "/app",
entry: ['babel-polyfill','./app.jsx'],
output: {
path: __dirname,
filename: "bundle.js"
},
resolve: {
... | gpl-3.0 |
douniwan5788/netbox | NetBox2/BoxConsole.cpp | 3561 | // BoxConsole.cpp : implementation file
//
#include "stdafx.h"
#include "BoxConsole.h"
#include "BoxSystem.h"
#include "NetBox2.h"
#include <openssl\rand.h>
#ifdef _DEBUG
#define new DEBUG_NEW
#endif
// CBoxConsole
IMPLEMENT_DYNAMIC(CBoxConsole, CBoxSafeObject)
CBoxConsole::CBoxConsole() : m_h... | gpl-3.0 |
MikeMatt16/Abide | Abide Halo Library/Abide.HaloLibrary/Halo2/Retail/Tag/Generated/GlobalTagImportInfoBlock.Generated.cs | 2607 | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//---... | gpl-3.0 |
telerik/justdecompile-plugins | De4dot.JustDecompile/De4dot/sources/dnlib/src/DotNet/MD/MetaData.cs | 25722 | /*
Copyright (C) 2012-2014 de4dot@gmail.com
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, modify, m... | gpl-3.0 |
alemart/mestrado | html5/Cesium-1.6/Specs/Core/createGuidSpec.js | 1095 | /*global defineSuite*/
defineSuite([
'Core/createGuid'
], function(
createGuid) {
"use strict";
/*global jasmine,describe,xdescribe,it,xit,expect,beforeEach,afterEach,beforeAll,afterAll,spyOn,runs,waits,waitsFor*/
it('creates GUIDs', function() {
var isGuidRegex = /^(\{... | gpl-3.0 |
v4nz666/7drl2016 | py2exe-setup.py | 1728 | from distutils.core import setup
import py2exe
import os
import sys
sys.argv.append('py2exe')
# The filename of the script you use to start your program.
target_file = 'main.py'
# The root directory containing your assets, libraries, etc.
assets_dir = '.\\'
# Filetypes not to be included in the above.
excluded_f... | gpl-3.0 |
exmex/DCNC | src/GameServer/Network/Handlers/Join/PlayerInfoReq.cs | 6734 | using System.Collections.Generic;
using System.Linq;
using Shared.Network;
using Shared.Network.GameServer;
using Shared.Objects;
using Shared.Util;
namespace GameServer.Network.Handlers.Join
{
public class PlayerInfoReq
{
[Packet(Packets.CmdPlayerInfoReq)]
public static void Handle(Packet pac... | gpl-3.0 |
DMCsys/smartalkaudio | oss-survey/EqualizerAPO-src-1.2/Editor/AnalysisPlotView.cpp | 2524 | /*
This file is part of EqualizerAPO, a system-wide equalizer.
Copyright (C) 2015 Jonas Thedering
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 Li... | gpl-3.0 |
Drakuwa/aTrip2Europe | src/com/app/trip/Macedonia.java | 2101 | package com.app.trip;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.ImageView;
import android.widget.TextView;
public class Macedonia extends Activ... | gpl-3.0 |
Nehmulos/ascension-switch | editor/pub/src/Selection.js | 3245 | function Selection(x,y) {
this.x = x || 0;
this.y = y || 0;
this.w = 0;
this.h = 0;
}
Selection.prototype.serialize = function() {
return {
x: this.x,
y: this.y,
w: this.w,
h: this.h
};
}
Selection.prototype.resetore = function(serialized) {
this.x = seriali... | gpl-3.0 |
formtools/module-pages | lang/en_us.php | 2952 | <?php
/*
Form Tools - Module Language File
---------------------------------
File created: Oct 24th, 2:46 AM
If you would like to help translate this module, please visit:
http://www.formtools.org/translations/
*/
$L = array();
// required
$L["module_name"] = "Pages";
$L["module_description"] = "Th... | gpl-3.0 |
tahg/CraftPail | src/main/java/net/minecraft/server/NetLoginHandler.java | 4788 | package net.minecraft.server;
import java.net.Socket;
import java.util.Random;
import java.util.logging.Logger;
public class NetLoginHandler extends NetHandler {
public static Logger a = Logger.getLogger("Minecraft");
private static Random d = new Random();
public NetworkManager networkManager;
publi... | gpl-3.0 |
cloudsploit/scans | plugins/google/storage/bucketRetentionPolicy.spec.js | 7519 | const expect = require('chai').expect;
var bucketRetentionPolicy = require('./bucketRetentionPolicy');
var failDate = new Date();
failDate.setMonth(failDate.getMonth() - 1);
const bucket = [
{
'kind': 'storage#bucket',
'selfLink': 'https://www.googleapis.com/storage/v1/b/bucket-1',
'id': '... | gpl-3.0 |
chiara-paci/santaclara-css | santaclara_css/template_vars_delegate.py | 1955 | from django.conf import settings
from django.core.urlresolvers import resolve
from django.core.exceptions import ImproperlyConfigured
from importlib import import_module
def app_delegate(request):
"""
Leverage the DELEGATED_TEMPLATE_CONTEXT_PROCESSORS setting and url
application namespaces to delegate temp... | gpl-3.0 |
ubports-weblate/gallery-app | tests/autopilot/gallery_app/emulators/media_selector.py | 1186 | # -*- Mode: Python; coding: utf-8; indent-tabs-mode: nil; tab-width: 4 -*-
# Copyright 2013 Canonical
#
# This program is free software: you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 3, as published
# by the Free Software Foundation.
from gallery_app.emulators.gal... | gpl-3.0 |
HParker/tin | plugins/whoami/ip.rb | 421 | # frozen_string_literal: true
require_relative '../plugin'
require 'maxminddb'
module Plugins
class Ip < Plugin
KEYWORD = 'whoami'
keyword KEYWORD, info: 'Show your identification'
def initialize(info)
@info = info
end
def title
KEYWORD
end
def contents
{
ip: ... | gpl-3.0 |
valmynd/MediaFetcher | src/plugins/youtube_dl/youtube_dl/extractor/ku6.py | 845 | from __future__ import unicode_literals
from .common import InfoExtractor
class Ku6IE(InfoExtractor):
_VALID_URL = r'https?://v\.ku6\.com/show/(?P<id>[a-zA-Z0-9\-\_]+)(?:\.)*html'
_TEST = {
'url': 'http://v.ku6.com/show/JG-8yS14xzBr4bCn1pu0xw...html',
'md5': '01203549b9efbb45f4b87d55bdea1ed1',
'info_dict': {... | gpl-3.0 |
bjtj/http-server | tests/test-url.cpp | 4627 | #include "utils.hpp"
#include <libhttp-server/Url.hpp>
#include <liboslayer/Logger.hpp>
#include <libhttp-server/UrlEncoderDecoder.hpp>
using namespace std;
using namespace osl;
using namespace http;
static void test_url() {
string text = "http://10.0.12.96:2869/upnphost/udhisapi.dll?content=uuid:27151292-513d-4dc... | gpl-3.0 |
spanishtech/RGGE-Engine | src/me/soxey6/engine/managers/scene/Scene.java | 2939 | package me.soxey6.engine.managers.scene;
import me.soxey6.engine.events.scene.FocusEvent;
import me.soxey6.engine.events.scene.SceneCreateEvent;
import me.soxey6.engine.main.Engine;
import me.soxey6.engine.main.Wrapper;
import me.soxey6.engine.managers.event.objects.listener.EventListener;
import me.soxey6.engine.obje... | gpl-3.0 |
applifireAlgo/ZenClubApp | zenws/src/main/webapp/app/zenws/shared/com/zen/viewmodel/app/AddClubMembersViewModel.js | 207 | Ext.define('Zenws.zenws.shared.com.zen.viewmodel.app.AddClubMembersViewModel', {
'extend': 'Ext.app.ViewModel',
'alias': 'viewmodel.AddClubMembersViewModel',
'model': 'AddClubMembersModel'
}); | gpl-3.0 |
bocheninc/L0 | core/p2p/peer_manager.go | 9639 | // Copyright (C) 2017, Beijing Bochen Technology Co.,Ltd. All rights reserved.
//
// This file is part of L0
//
// The L0 is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
... | gpl-3.0 |
JuBra/GEMEditor | GEMEditor/connect/ncbi.py | 4095 | from six.moves.urllib.request import urlopen
from six.moves.urllib.parse import quote_plus
# Mapping between month abbreviations and the numerical month
month_int_mapping = {'': 0,
'Jan': 1,
'Feb': 2,
'Sep': 9,
'Oct': 10,
... | gpl-3.0 |
cfbarragan/CleaningShop | gulpfile.js | 1317 | var gulp = require('gulp');
var jshint = require('gulp-jshint');
var jscs = require('gulp-jscs');
var nodemon = require('gulp-nodemon');
var jsFiles = ['*.js','src/**/*.js'];
gulp.task('style', function() {
return gulp.src(jsFiles)
.pipe(jshint())
.pipe(jshint.reporter('jshint-stylish', {
verbose ... | gpl-3.0 |
yonatanm/faceoff | template-portfolio.php | 1781 | <?php
/**
Template Name: Portfolio
*
*
* @file template-portfolio.php
* @package StanleyWP
* @author Brad Williams & Carlos Alvarez
* @copyright 2003 - 2014 Gents Themes
* @license license.txt
* @version Release: 3.0.3
* @link http://codex.wordpress.org/T... | gpl-3.0 |
Saican/Whitman | src/p_terrain.cpp | 16930 | /*
** p_terrain.cpp
** Terrain maintenance
**
**---------------------------------------------------------------------------
** Copyright 1998-2006 Randy Heit
** All rights reserved.
**
** Redistribution and use in source and binary forms, with or without
** modification, are permitted provided that the following condit... | gpl-3.0 |
pinky39/grove | source/Grove/Core/Events/PermanentModifiedEvent.cs | 305 | namespace Grove.Events
{
using Modifiers;
public class PermanentModifiedEvent
{
public readonly Card Card;
public readonly IModifier Modifier;
public PermanentModifiedEvent(Card card, IModifier modifier)
{
Card = card;
Modifier = modifier;
}
}
} | gpl-3.0 |
mater06/LEGOChimaOnlineReloaded | LoCO Client Files/Decompressed Client/Extracted DLL/System.Web/System/Web/UI/HtmlControls/HtmlInputImage.cs | 10670 | // Decompiled with JetBrains decompiler
// Type: System.Web.UI.HtmlControls.HtmlInputImage
// Assembly: System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
// MVID: 7E68A73E-4066-4F24-AB0A-F147209F50EC
// Assembly location: C:\Windows\Microsoft.NET\Framework\v4.0.30319\System.Web.dll
using S... | gpl-3.0 |
papamas/DMS-KANGREG-XI-MANADO | src/main/java/com/openkm/frontend/client/bean/GWTToken.java | 3514 | /**
* OpenKM, Open Document Management System (http://www.openkm.com)
* Copyright (c) 2006-2015 Paco Avila & Josep Llort
*
* No bytes were intentionally harmed during the development of this application.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GN... | gpl-3.0 |
MrCrayfish/MrCrayfishSkateboardingMod | src/main/java/com/mrcrayfish/skateboarding/network/message/MessageTrick.java | 1258 | package com.mrcrayfish.skateboarding.network.message;
import io.netty.buffer.ByteBuf;
import net.minecraft.world.World;
import net.minecraftforge.fml.common.network.simpleimpl.IMessage;
import net.minecraftforge.fml.common.network.simpleimpl.IMessageHandler;
import net.minecraftforge.fml.common.network.simpleimpl.Mess... | gpl-3.0 |
Dax89/harbour-sailorgram | harbour-sailorgram/translations/harbour-sailorgram-ru.ts | 38035 | <?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="ru">
<context>
<name>AboutPage</name>
<message>
<source>About SailorGram</source>
<translation>О SailorGram</translation>
</message>
<message>
<source>Version</source>
<translation>Версия</tr... | gpl-3.0 |
active-citizen/shop.1c | www/local/libs/phpexcel/PHPExcel/Reader/Abstract.php | 6967 | <?php
/**
* PHPExcel
*
* Copyright (c) 2006 - 2014 PHPExcel
*
* This library 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 2.1 of the License, or (at your option) any later ve... | gpl-3.0 |
XasWorks/XasCode | Ruby/MQTT/lib/mqtt/base_handler.rb | 9127 |
require 'timeout'
require 'mqtt'
require 'colorize'
require 'xasin_logger'
module MQTT
class BaseHandler
include XasLogger::Mix
# Split a Topic into a Topic-Array
# @param topicName [String] The string topic which to split
# @return [Array<String>] A list of individual topic-branches
# @note This functio... | gpl-3.0 |
Omertron/api-themoviedb | src/main/java/com/omertron/themoviedbapi/enumeration/MediaType.java | 1865 | /*
* Copyright (c) 2004-2016 Stuart Boston
*
* This file is part of TheMovieDB API.
*
* TheMovieDB API 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 Li... | gpl-3.0 |
magarena/magarena | src/magic/cardBuilder/renderers/TypeLine.java | 4000 | package magic.cardBuilder.renderers;
import java.awt.Color;
import java.awt.Font;
import java.awt.FontMetrics;
import java.awt.Graphics2D;
import java.awt.RenderingHints;
import java.awt.image.BufferedImage;
import magic.awt.MagicFont;
import magic.cardBuilder.CardResource;
import magic.cardBuilder.ResourceManager;
... | gpl-3.0 |
ezekielriva/social-network-test | public/js/SocialNet.js | 578 | define(['router'], function(router) {
var initialize = function() {
checkLogin(runApplication);
};
var checkLogin = function(callback) {
var authRequest = $.ajax('/account/authenticated');
authRequest.done(function() { return callback(true) });
authRequest.fail(function() { return callback(false)... | gpl-3.0 |
gohdan/DFC | known_files/hashes/core/model/modx/processors/security/group/removeuser.php | 57 | ModX Revolution 2.5.0 = 43379a3e1a691f69fd15f0568fcd2a20
| gpl-3.0 |
chummer5a/chummer5a | Chummer/Forms/EditNotes.cs | 4982 | /* This file is part of Chummer5a.
*
* Chummer5a 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.
*
* Chummer5a is distribu... | gpl-3.0 |
donatellosantoro/Llunatic | LunaticGUI/gui/src/it/unibas/lunatic/gui/action/ActionWindowDeps.java | 2066 | package it.unibas.lunatic.gui.action;
import it.unibas.lunatic.ContextAwareActionProxy;
import it.unibas.lunatic.IModel;
import it.unibas.lunatic.gui.IViewManager;
import it.unibas.lunatic.gui.R;
import it.unibas.lunatic.gui.model.LoadedScenario;
import java.awt.Component;
import java.awt.event.ActionEvent;
import jav... | gpl-3.0 |
kryptohash/kryptohash-android | app/src/main/java/com/github/kryptohash/kryptohashj/wallet/BasicKeyChain.java | 23808 | /**
* Copyright 2013 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 to ... | gpl-3.0 |
muxiaobai/OOAD | task3/SSH/src/main/java/DaoImpl/BaseDaoImpl.java | 5444 | package DaoImpl;
import java.io.Serializable;
import java.lang.reflect.ParameterizedType;
import java.util.List;
import org.hibernate.HibernateException;
import org.hibernate.Query;
import org.hibernate.Session;
import org.hibernate.SessionFactory;
import Dao.BaseDao;
/**
* BaseDaoImpl:基类实现类,implements BaseDao
*
... | gpl-3.0 |
tjgillies/ThinkUp | webapp/_lib/controller/class.AccountConfigurationController.php | 4068 | <?php
/**
*
* ThinkUp/webapp/_lib/controller/class.AccountConfigurationController.php
*
* Copyright (c) 2009-2010 Gina Trapani
*
* LICENSE:
*
* This file is part of ThinkUp (http://thinkupapp.com).
*
* ThinkUp is free software: you can redistribute it and/or modify it under the terms of the GNU General Public... | gpl-3.0 |
HenryHu/Turpial | turpial/ui/qt/webview.py | 11411 | # -*- coding: utf-8 -*-
# Qt widget to show statusesin Turpial using a QWebView
import re
import os
from jinja2 import Template
from PyQt4.QtWebKit import QWebView
from PyQt4.QtWebKit import QWebPage
from PyQt4.QtWebKit import QWebSettings
from PyQt4.QtCore import Qt
from PyQt4.QtCore import pyqtSignal
from turpi... | gpl-3.0 |
CloudWise-OpenSource/SAPNetworkMonitor | server/src/main/java/com/cloudwise/sap/niping/dao/mapper/AccessCredentialsMapper.java | 849 | package com.cloudwise.sap.niping.dao.mapper;
import com.cloudwise.sap.niping.common.entity.AccessCredentials;
import org.skife.jdbi.v2.StatementContext;
import org.skife.jdbi.v2.tweak.ResultSetMapper;
import java.sql.ResultSet;
import java.sql.SQLException;
public class AccessCredentialsMapper implements ResultSetMa... | gpl-3.0 |
vitalisator/librenms | LibreNMS/Exceptions/HostIpExistsException.php | 923 | <?php
/**
* HostIpExistsException.php
*
* -Description-
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* ... | gpl-3.0 |
hitchhiker/prime | Prime/Prime.Core/Subscriptions/RenewingSubscriptionsListener.cs | 4069 | using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Timers;
using GalaSoft.MvvmLight.Messaging;
using LiteDB;
using Prime.Base;
namespace Prime.Core
{
public class RenewingSubscriptionsListener<T> : IDisposable where T :... | gpl-3.0 |
lcostantini/haycancha | db/migrate/20140822170745_add_attachment_avatar_to_teams.rb | 210 | class AddAttachmentAvatarToTeams < ActiveRecord::Migration
def self.up
change_table :teams do |t|
t.attachment :avatar
end
end
def self.down
remove_attachment :teams, :avatar
end
end
| gpl-3.0 |
kuiwang/my-dev | src/main/java/com/taobao/api/domain/SearchHotelObject.java | 4791 | package com.taobao.api.domain;
import java.util.List;
import com.taobao.api.TaobaoObject;
import com.taobao.api.internal.mapping.ApiField;
import com.taobao.api.internal.mapping.ApiListField;
/**
* 酒店搜索返回的酒店对象
*
* @author auto create
* @since 1.0, null
*/
public class SearchHotelObject extends TaobaoObject {
... | gpl-3.0 |
valentingrigorean/Bss | Bss.SharedCore/Utils/StringCipher.cs | 6756 | //
// StringCipher.cs
//
// Author:
// valentingrigorean <v.grigorean@software-dep.net>
//
// Copyright (c) 2016 valentingrigorean
//
// 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... | gpl-3.0 |
ursfassler/rizzly | src/ast/pass/input/xml/parser/reference/UnlinkedAnchorParser.java | 1786 | /**
* This file is part of Rizzly.
*
* Rizzly 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.
*
* Rizzly is distributed i... | gpl-3.0 |
ac2cz/FoxTelem | lib/mysql-connector-java-8.0.13/src/main/core-impl/java/com/mysql/cj/AbstractQuery.java | 8441 | /*
* Copyright (c) 2017, 2018, Oracle and/or its affiliates. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU General Public License, version 2.0, as published by the
* Free Software Foundation.
*
* This program is also distributed with... | gpl-3.0 |
k0001/saywah | saywah/core/providers.py | 2721 | # -*- coding: utf8 -*-
# This file is part of Saywah.
# Copyright (C) 2009 Renzo Carbonara <gnuk0001@gmail.com>
#
# Saywah is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
#... | gpl-3.0 |
e-gob/Consola-de-aplicaciones | app/Usuario.php | 1296 | <?php
namespace App;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;
class Usuario extends Model
{
use SoftDeletes;
/**
* The table associated with the model.
*
* @var string
*/
protected $table = 'usuario';
/**
* The attributes that ar... | gpl-3.0 |
ksarkar/CoveringArray | src/edu/asu/ca/kaushik/algorithms/derandomized/condexpintervariations/triebased/Trie.java | 6238 | /**
* Copyright (C) 2013-2016 Kaushik Sarkar <ksarkar1@asu.edu>
*
* This file is part of CoveringArray project.
*
* CoveringArray is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the
* Free Software Foundation, either version 3 of the ... | gpl-3.0 |
dbunibas/spicy | spicyGUI/spicygui/src/it/unibas/spicygui/widget/ConstantWidget.java | 3922 | /*
Copyright (C) 2007-2011 Database Group - Universita' della Basilicata
Giansalvatore Mecca - giansalvatore.mecca@unibas.it
Salvatore Raunich - salrau@gmail.com
Marcello Buoncristiano - marcello.buoncristiano@yahoo.it
This file is part of ++Spicy - a Schema Mapping and Data Exchange Tool
... | gpl-3.0 |
Solerni-R1-1/CoreBundle | Repository/RoleRepository.php | 9099 | <?php
/*
* This file is part of the Claroline Connect package.
*
* (c) Claroline Consortium <consortium@claroline.net>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Claroline\CoreBundle\Repository;
use Doctrine\ORM\E... | gpl-3.0 |
davivcgarcia/python-dcc-ufrj | Exercicios - Lista Paulo Roma/Lista 1/ex4.py | 1158 | #! /usr/bin/env python
# coding: utf-8
#
# 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... | gpl-3.0 |
RoboCup-SSL/ssl-vision | src/shared/capture/capture_basler.cpp | 12302 | /*
* capture_basler.cpp
*
* Created on: Nov 21, 2016
* Author: root
*/
#include "capture_basler.h"
#include <vector>
#include <string>
#define MUTEX_LOCK mutex.lock()
#define MUTEX_UNLOCK mutex.unlock()
int BaslerInitManager::count = 0;
void BaslerInitManager::register_capture() {
if (count++ == 0) {
... | gpl-3.0 |
geminy/aidear | oss/qt/qt-everywhere-opensource-src-5.9.0/qtmultimedia/examples/multimediawidgets/videographicsitem/main.cpp | 2952 | /****************************************************************************
**
** Copyright (C) 2015 The Qt Company Ltd.
** Contact: http://www.qt.io/licensing/
**
** This file is part of the examples of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:BSD$
** You may use this file under the terms of the BSD license as follow... | gpl-3.0 |
Interfacelab/ilab-media-tools | lib/mcloud-aws/aws-sdk-php/src/Signature/SignatureProvider.php | 4566 | <?php
namespace MediaCloud\Vendor\Aws\Signature;
use MediaCloud\Vendor\Aws\Exception\UnresolvedSignatureException;
/**
* Signature providers.
*
* A signature provider is a function that accepts a version, service, and
* region and returns a {@see SignatureInterface} object on success or NULL if
* no signature ca... | gpl-3.0 |
kret0s/gnuhealth-live | tryton/server/trytond-3.8.3/trytond/modules/bank/bank.py | 5527 | # This file is part of Tryton. The COPYRIGHT file at the top level of
# this repository contains the full copyright notices and license terms.
from stdnum import iban
from sql import operators, Literal, Null
from sql.conditionals import Case
from trytond.model import ModelView, ModelSQL, fields
__all__ = ['Bank', '... | gpl-3.0 |
kamibu/finalengine | src/scene/lights/light.js | 158 | /*global
SceneNode : false
*/
/**
* @constructor
* @extends SceneNode
*/
function Light(){
SceneNode.call( this );
}
Light.extend( SceneNode );
| gpl-3.0 |
pesapower/ikiwi | iKiwi/Messages/EncryptionKey.cs | 2589 | using System;
using System.Text;
namespace iKiwi.Messages
{
/// <summary>
/// Encryption Key message.
/// </summary>
class EncryptionKey : AbstractMessage
{
#region Data Members
/// <summary>
/// The symmetric encryption key.
/// </summary>
private string m_strSymmetricEncryptionKey;
... | gpl-3.0 |
decoit/Visa-Topologie-Editor | backend/src/de/decoit/visa/topology/VLAN.java | 7122 | /*
* Copyright (C) 2013, DECOIT GmbH
*
* This file is part of VISA Topology-Editor.
*
* VISA Topology-Editor is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by the
* Free Software Foundation, either version 3 of the License, or (at your... | gpl-3.0 |
dmitry-vlasov/russell | src/rus/transform/rus_transform_unused_steps.cpp | 3170 | #include <atomic>
#include <rus_ast.hpp>
#include <rus/prover/unify/rus_prover_unify_index.hpp>
namespace mdl { namespace rus {
void reduce_unused_steps(Proof* proof, std::atomic<int>& counter) {
set<const Step*> used_steps;
traverseProof(proof->qed(), [&used_steps](Writable* n) {
if (Step* s = dynamic_cast<Step*... | gpl-3.0 |
ProteinDF/ProteinDF | src/libpdftl/tl_dense_vector_impl_lapack.cc | 7680 | #include <algorithm>
#include <cassert>
#include <functional>
#include <numeric>
#include "TlUtils.h"
#include "lapack.h"
#include "tl_dense_vector_impl_lapack.h"
TlDenseVector_ImplLapack::TlDenseVector_ImplLapack(
const TlDenseVectorObject::index_type size)
: size_(size), vector_(NULL) {
this->initialize... | gpl-3.0 |
proycon/foliatools | foliatools/conllu2folia.py | 7029 | #!/usr/bin/env python
#-*- coding:utf-8 -*-
#---------------------------------------------------------------
# CONNL-U to FoLiA converter
# by Maarten van Gompel
# Centre for Language and Speech technology
# Radboud University Nijmegen
# proycon AT anaproy DOT nl
#
# Licensed under GPLv3
#
#-----------------... | gpl-3.0 |
ThirtyDegreesRay/OpenHub | app/src/main/java/com/thirtydegreesray/openhub/mvp/contract/IReleasesContract.java | 653 | package com.thirtydegreesray.openhub.mvp.contract;
import com.thirtydegreesray.openhub.mvp.contract.base.IBaseContract;
import com.thirtydegreesray.openhub.mvp.model.Release;
import java.util.ArrayList;
/**
* Created by ThirtyDegreesRay on 2017/9/16 11:05:13
*/
public interface IReleasesContract {
interface ... | gpl-3.0 |
pritam176/UAQ | Sites/js/lib/bootstrap-select.js | 38941 | (function ($) {
'use strict';
$.expr[':'].icontains = function (obj, index, meta) {
return $(obj).text().toUpperCase().indexOf(meta[3].toUpperCase()) >= 0;
};
var Selectpicker = function (element, options, e) {
if (e) {
e.stopPropagation();
e.preventDefault();
}
this.$element = $(... | gpl-3.0 |
agnusfeec/tattCBIR | sistema.py | 9049 | # -*- coding: utf-8 -*-
"""
Created on Mon Jun 27 10:20:08 2016
@author: agnus
"""
def monta_lista_imagens(path = '.', ext='.png'):
import os
imagens = {}
for dirname, dirnames, filenames in os.walk(path):
# print path to all filenames with extension py.
for filename in filenames:
... | gpl-3.0 |
Lunat1q/Catchem-PoGo | Source/PoGo.PokeMobBot.Logic/Tasks/RecycleSpecificItemTask.cs | 2235 | #region using directives
using System;
using System.Threading;
using System.Threading.Tasks;
using PoGo.PokeMobBot.Logic.Event.Item;
using PoGo.PokeMobBot.Logic.Logging;
using PoGo.PokeMobBot.Logic.State;
using PoGo.PokeMobBot.Logic.Utils;
using POGOProtos.Inventory.Item;
#endregion
namespace PoGo.PokeMobBot.Logic.... | gpl-3.0 |
talbrecht/pism_pik06 | src/base/stressbalance/ssa/SSATestCase.cc | 17531 | // Copyright (C) 2009--2014 Ed Bueler, Constantine Khroulev, and David Maxwell
//
// This file is part of PISM.
//
// PISM is free software; you can redistribute it and/or modify it under the
// terms of the GNU General Public License as published by the Free Software
// Foundation; either version 3 of the License, or ... | gpl-3.0 |
uhoreg/moodle | lib/yui/3.4.1pr1/build/selection/selection-debug.js | 36612 | /*
YUI 3.4.1pr1 (build 4097)
Copyright 2011 Yahoo! Inc. All rights reserved.
Licensed under the BSD License.
http://yuilibrary.com/license/
*/
YUI.add('selection', function(Y) {
/**
* Wraps some common Selection/Range functionality into a simple object
* @class Selection
* @constructor
* @modul... | gpl-3.0 |
forairan/WorldPainter | WorldPainter/WPGUI/src/main/java/org/pepsoft/worldpainter/PreferencesDialog.java | 78028 | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/*
* PreferencesDialog.java
*
* Created on Apr 26, 2012, 3:18:17 PM
*/
package org.pepsoft.worldpainter;
import java.util.SortedMap;
import java.awt.event.ActionEvent;
import java.awt.event.KeyEvent;
import org.pep... | gpl-3.0 |
tcstewar/nengo_learning_examples | rl/find_best.py | 1066 | import nengo
import numpy as np
model = nengo.Network()
model.config[nengo.Ensemble].neuron_type=nengo.Direct()
with model:
x = nengo.Ensemble(100, 1, neuron_type=nengo.LIF())
y = nengo.Ensemble(100, 1, neuron_type=nengo.LIF())
nengo.Connection(x, y,
function=lambda x: 1-4*(x-0.5... | gpl-3.0 |
Nessphoro/ParallelPowderToy | generated/ElementClasses.cpp | 6734 | #include "ElementClasses.h"
std::vector<Element> GetElements()
{
std::vector<Element> elements;
elements.push_back(Element_NONE());
elements.push_back(Element_DUST());
elements.push_back(Element_WATR());
elements.push_back(Element_OIL());
elements.push_back(Element_FIRE());
elements.push_back(Element_STNE());
... | gpl-3.0 |
Shnoulle/LS-AuthWPbyDB | third_party/phpass/test.php | 1994 | <?php
#
# This is a test program for the portable PHP password hashing framework.
#
# Written by Solar Designer and placed in the public domain.
# See PasswordHash.php for more information.
#
require 'PasswordHash.php';
header('Content-type: text/plain');
$ok = 0;
# Try to use stronger but system-specific hashes, w... | gpl-3.0 |
EmreTufan/CakePHP | bookmarker/src/Model/Entity/Tag.php | 820 | <?php
namespace App\Model\Entity;
use Cake\ORM\Entity;
/**
* Tag Entity
*
* @property int $id
* @property string $title
* @property \Cake\I18n\FrozenTime $created
* @property \Cake\I18n\FrozenTime $modified
*
* @property \App\Model\Entity\Bookmark[] $bookmarks
*/
class Tag extends Entity
{
/**
* Fi... | gpl-3.0 |
McLeodMoores/xl4j | comjvm-win32/local-test/JvmCycleTest.cpp | 3445 | /*
* Copyright 2014-present by McLeod Moores Software Limited.
* See distribution for license.
*/
#include "stdafx.h"
#include "comjvm/local.h"
#include "comjvm/core.h"
#include "local/CScanExecutor.h"
using namespace Microsoft::VisualStudio::CppUnitTestFramework;
namespace localtest {
TEST_CLASS (JvmCycleTest)... | gpl-3.0 |
firm1/zest-writer | src/test/java/com/zds/zw/TestMarkdown.java | 524 | package com.zds.zw;
import com.zds.zw.utils.ZMD;
import org.junit.Before;
import org.junit.Test;
import static org.junit.Assert.assertEquals;
public class TestMarkdown {
ZMD zmd;
@Before
public void Setup() {
zmd = new ZMD();
}
@Test
public void test() {
String strBefore = ... | gpl-3.0 |
lubing521/MonaServer | MonaCore/sources/HTTP/HTTPPacket.cpp | 5712 | /*
Copyright 2014 Mona
mathieu.poux[a]gmail.com
jammetthomas[a]gmail.com
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This ... | gpl-3.0 |
Graylog2/graylog2-server | graylog2-server/src/main/java/org/graylog/plugins/pipelineprocessor/functions/hashing/Murmur3_128.java | 1143 | /*
* Copyright (C) 2020 Graylog, Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the Server Side Public License, version 1,
* as published by MongoDB, Inc.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; withou... | gpl-3.0 |
devonjones/PathfinderOpenReference | app/src/main/java/org/evilsoft/pathfinder/reference/preference/PathfinderPreferenceActivity.java | 1702 | /***
Copyright (c) 2008-2012 CommonsWare, LLC
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 to in writing, so... | gpl-3.0 |
urashima9616/Leetcode_Python | leet_3.py | 1058 | import sys, os
class Solution():
def lengthOfLongestSubstring(self, s):
str_len = len(s)
if str_len==0:
return 0
pt_i = 0
pt_e = 0
alpha_beta={}
max_len=1
for pt_e in xrange(str_len):
print pt_e
if alpha_beta.has_key(s[pt_e... | gpl-3.0 |
Altaxo/Altaxo | Altaxo/Base/Main/Services/PropertyReflection/DisplayOrderAttribute.cs | 1599 | #region Copyright
/////////////////////////////////////////////////////////////////////////////
// Altaxo: a data processing and data plotting program
// Copyright (C) 2002-2011 Dr. Dirk Lellinger
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of t... | gpl-3.0 |
RevelSystems/Online-Ordering | skins/retail/views/header.js | 4113 | /*
* Revel Systems Online Ordering Application
*
* Copyright (C) 2014 by Revel Systems
*
* This file is part of Revel Systems Online Ordering open source application.
*
* Revel Systems Online Ordering open source application is free software: you
* can redistribute it and/or modify it under the terms of the G... | gpl-3.0 |
caglar/denetx | src/multiclass/dvec.cc | 2953 | /*
* dvec.cc
*
* Created on: Apr 26, 2011
* Author: caglar
*/
#include <cstdlib>
#include <cfloat>
#include <iostream>
#include <algorithm>
#include <functional>
#include <map>
#include <boost/multi_array.hpp>
#include "multiclass/dvec.h"
#include "float_cmp.h"
using std::copy;
using std::max_element;
us... | gpl-3.0 |
gcontini/android-cartridge | cartridge/src/main/java/com/googlecode/androidcartridge/metafacades/authentication/AuthenticationControllerFacadeLogicImpl.java | 2421 | // license-header java merge-point
//
// Generated by: MetafacadeLogicImpl.vsl in andromda-meta-cartridge.
package com.googlecode.androidcartridge.metafacades.authentication;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
import org.andromda.metafacades.uml.AttributeFacade;
import o... | gpl-3.0 |
dmromanov/csvtotextile | tests/TestCase/Command/CsvToTextileTest.php | 2051 | <?php
namespace CsvToTextile\Test\TestCase\Command;
use CsvToTextile\Command\CsvToTextileCommand;
use Symfony\Bundle\FrameworkBundle\Test\KernelTestCase;
use Symfony\Component\Console\Application;
use Symfony\Component\Console\Exception\RuntimeException;
use Symfony\Component\Console\Tester\CommandTester;
/**
* Cla... | gpl-3.0 |
lethalman/nixpaste | nixpaste.py | 6490 | #!/usr/bin/env python
import logging
import random
import urllib
from bottle import Bottle, run, request, response, static_file, template, TEMPLATE_PATH, BaseRequest
import fcntl
import base64
import hashlib
import os
import json
import re
from copy import copy
os.umask(0077)
nameRe = re.compile ("^[a-zA-Z0-9_-]+$")... | gpl-3.0 |
teamdeeson/warden | src/Deeson/WardenBundle/Event/SiteUpdateEvent.php | 570 | <?php
/**
* @file
* An event which fires when a site asks to be updated and after that
* update request has been verified.
*/
namespace Deeson\WardenBundle\Event;
use Deeson\WardenBundle\Document\SiteDocument;
class SiteUpdateEvent extends SiteEvent {
/**
* @var
*/
protected $data;
/**
* @param... | gpl-3.0 |
themiwi/freefoam-debian | src/meshTools/triSurface/surfaceFeatures/surfaceFeatures.H | 11675 | /*---------------------------------------------------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 1991-2010 OpenCFD Ltd.
\\/ M anipulation |
---------------... | gpl-3.0 |
fraunhoferfokus/fokus-upnp | upnp-utils/src/main/java/de/fraunhofer/fokus/upnp/util/Base64Helper.java | 6608 | /**
*
* Copyright (C) 2004-2008 FhG Fokus
*
* This file is part of the FhG Fokus UPnP stack - an open source UPnP implementation
* with some additional features
*
* You can redistribute the FhG Fokus UPnP stack and/or modify it
* under the terms of the GNU General Public License Version 3 as published by
* the Free So... | gpl-3.0 |
fzimmermann89/pyload | module/plugins/accounts/Http.py | 410 | # -*- coding: utf-8 -*-
from module.plugins.internal.Account import Account
class Http(Account):
__name__ = "Http"
__type__ = "account"
__version__ = "0.05"
__status__ = "testing"
__description__ = """Http dummy account plugin"""
__license__ = "GPLv3"
__authors__ = [("zoid... | gpl-3.0 |
hiddentao/mist | customProtocols.js | 1257 | const electron = require('electron');
const protocol = electron.protocol;
const path = require('path');
protocol.registerHttpProtocol('mist', function(request, callback) {
// callback({mimeType: 'text/html', data: new Buffer('<h5>Response</h5>')});
console.log((request.url.indexOf('mist://interface') !== -1) ?... | gpl-3.0 |
nferruzzi/giudice-server | ui/info.py | 124151 | # -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'info.ui'
#
# Created by: PyQt5 UI code generator 5.6
#
# WARNING! All changes made in this file will be lost!
from PyQt5 import QtCore, QtGui, QtWidgets
class Ui_Dialog(object):
def setupUi(self, Dialog):
Dialog.setObjectName("... | gpl-3.0 |
vilbeyli/DX11Renderer | Source/Renderer/Source/RenderCommands.cpp | 6485 | // VQEngine | DirectX11 Renderer
// Copyright(C) 2018 - Volkan Ilbeyli
//
// 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... | gpl-3.0 |
pierre-rouanet/poppy-testbench | benchmarks/communication_robustness.py | 4251 | """
We are trying to measure:
* the timeout/communication error frequency
"""
import time
import numpy
import argparse
from matplotlib import pylab
from contextlib import closing
from progressbar import ProgressBar
from pypot.dynamixel.error import BaseErrorHandler
from pypot.dynamixel.controller import _PosSpe... | gpl-3.0 |
kelvinm1/TableSchemaExporter | TableSchemaExporter/Properties/AssemblyInfo.cs | 1465 | 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("Tab... | gpl-3.0 |