code stringlengths 3 1.05M | repo_name stringlengths 4 116 | path stringlengths 4 991 | language stringclasses 9
values | license stringclasses 15
values | size int32 3 1.05M |
|---|---|---|---|---|---|
package com.shumz.think.ex004;
public class ExFour03 {
public ExFour03() {
System.out.println("An instance of ExFour03 was created...");
}
public static void main(String[] args) {
new ExFour03();
}
}
| Izek/think_in_java_4 | MeCodez/src/com/shumz/think/ex004/ExFour03.java | Java | gpl-3.0 | 210 |
package TFC.Handlers.Client;
import net.minecraft.client.Minecraft;
import net.minecraft.client.gui.ScaledResolution;
import net.minecraft.client.renderer.Tessellator;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraftforge.client.event.RenderGameOverlayEvent;
import net.minecraftforge.client... | Timeslice42/TFCraft | TFC_Shared/src/TFC/Handlers/Client/RenderOverlayHandler.java | Java | gpl-3.0 | 5,784 |
namespace ContaLibre.Areas.HelpPage.ModelDescriptions
{
public class EnumValueDescription
{
public string Documentation { get; set; }
public string Name { get; set; }
public string Value { get; set; }
}
} | seranfuen/contalibre | ContaLibre/Areas/HelpPage/ModelDescriptions/EnumValueDescription.cs | C# | gpl-3.0 | 242 |
var path = require('path')
module.exports = {
// Webpack aliases
aliases: {
quasar: path.resolve(__dirname, '../node_modules/quasar-framework/'),
src: path.resolve(__dirname, '../src'),
assets: path.resolve(__dirname, '../src/assets'),
components: path.resolve(__dirname, '../src/components')
},
... | agustincl/AclBoilerplate | config/index.js | JavaScript | gpl-3.0 | 1,969 |
//
// This file is part of the aMule Project.
//
// Copyright (c) 2003-2011 aMule Team ( admin@amule.org / http://www.amule.org )
// Copyright (c) 2002-2011 Merkur ( devs@emule-project.net / http://www.emule-project.net )
//
// Any parts of this program derived from the xMule, lMule or eMule project,
// or contributed ... | hlechner/hl-test | amule/src/BaseClient.cpp | C++ | gpl-3.0 | 96,820 |
/*
* An Abstract communicator interface which implements listeners.
*/
/*
Copywrite 2013 Will Winder
This file is part of Universal Gcode Sender (UGS).
UGS 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 Softw... | shapeoko/Universal-G-Code-Sender | src/com/willwinder/universalgcodesender/AbstractCommunicator.java | Java | gpl-3.0 | 7,779 |
/*
* Copyright (c) "Neo4j"
* Neo4j Sweden AB [http://neo4j.com]
*
* This file is part of Neo4j.
*
* Neo4j 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... | neo4j/neo4j-browser | src/browser/documentation/help/foreach.tsx | TypeScript | gpl-3.0 | 2,176 |
/*
* Unplayer
* Copyright (C) 2015-2019 Alexey Rochev <equeim@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... | equeim/unplayer | src/queuemodel.cpp | C++ | gpl-3.0 | 3,387 |
/*
* Copyright (C) 2018 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... | Deletescape-Media/Lawnchair | quickstep/src/com/android/quickstep/TaskIconCache.java | Java | gpl-3.0 | 8,440 |
# -*- coding: utf-8 -*-
"""
Created on Wed Jul 6 22:58:00 2016
@author: Diogo
"""
# -*- coding: utf-8 -*-
"""
Created on Sun Jun 26 19:08:00 2016
@author: Diogo
"""
def ImportGames():
games = list()
user_games = dict()
with open('C:\\Users\\Diogo\\Documents\\Monografia FIA\\UserGamesCleansed.tx... | DiogoGoes/TCC | AssociationRule.py | Python | gpl-3.0 | 1,429 |
<?php
/******************************************************************************
*
* Subrion - open source content management system
* Copyright (C) 2017 Intelliants, LLC <https://intelliants.com>
*
* This file is part of Subrion.
*
* Subrion is free software: you can redistribute it and/or modify
* it und... | Saltw/webusable | includes/helpers/ia.category.front.flat.php | PHP | gpl-3.0 | 5,629 |
<?php
/**
* \PHPCompatibility\Sniffs\LanguageConstructs\NewEmptyNonVariableSniff.
*
* PHP version 5.5
*
* @category PHP
* @package PHPCompatibility
* @author Juliette Reinders Folmer <phpcompatibility_nospam@adviesenzo.nl>
*/
namespace PHPCompatibility\Sniffs\LanguageConstructs;
use PHPCompatibility\Sniff;... | universityofglasgow/moodle | local/codechecker/PHPCompatibility/Sniffs/LanguageConstructs/NewEmptyNonVariableSniff.php | PHP | gpl-3.0 | 2,308 |
package com.glory.model;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
@Entity
public class Log {
@Id
@GeneratedValue
private Long id;
private Long transactionId;
private String message;
public Log() {
}
public Log(Long id, Long t... | aliemrahpekesen/4GloryApi | src/main/java/com/glory/model/Log.java | Java | gpl-3.0 | 851 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Entidades
{
public class Class1
{
}
}
| romanf77/Metodos-Estaticos | Clase 8 Array/PROG-LAB-II-master/Clase 08/ejemplosArray/Clases/Class1.cs | C# | gpl-3.0 | 180 |
package l2s.gameserver.network.l2.s2c;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import l2s.commons.lang.ArrayUtils;
import l2s.gameserver.model.Player;
import l2s.gameserver.model.items.ItemInfo;
import l2s.gameserver.model.items.ItemInstance;
import l2s.gameserver.model.items.... | pantelis60/L2Scripts_Underground | gameserver/src/main/java/l2s/gameserver/network/l2/s2c/WareHouseWithdrawListPacket.java | Java | gpl-3.0 | 1,932 |
# -*- coding: utf-8 -*-
from django.contrib import admin
from models import FileMapping
# Register your models here.
admin.site.register(FileMapping)
| tiankangkan/paper_plane | treasure/admin.py | Python | gpl-3.0 | 155 |
<?php
/**
* BwPostman Newsletter Component
*
* BwPostman form field Text templates class.
*
* @version %%version_number%%
* @package BwPostman-Admin
* @author Karl Klostermann
* @copyright (C) %%copyright_year%% Boldt Webservice <forum@boldt-webservice.de>
* @support https://www.boldt-webservice.de/en/forum-e... | RomanaBW/BwPostman | src/administrator/components/com_bwpostman/src/Field/TexttemplatesField.php | PHP | gpl-3.0 | 5,859 |
<?php
namespace App\Model\Table;
use App\Model\Entity\Guest;
use Cake\ORM\Query;
use Cake\ORM\RulesChecker;
use Cake\ORM\Table;
use Cake\Validation\Validator;
/**
* Guests Model
*
* @property \Cake\ORM\Association\BelongsTo $Matchteams
* @property \Cake\ORM\Association\BelongsToMany $Hosts
*/
class GuestsTable e... | pacior/testimonials | src/Model/Table/GuestsTable.php | PHP | gpl-3.0 | 2,307 |
<?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.
//
//... | ouyangyu/fdmoodle | mod/scorm/datamodel.php | PHP | gpl-3.0 | 4,031 |
"use strict";
/*
Copyright (C) 2013-2017 Bryan Hughes <bryan@nebri.us>
Aquarium Control 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.
Aqu... | nebrius/aquarium-control | server/dist/common/src/ICleaning.js | JavaScript | gpl-3.0 | 1,996 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Controls;
namespace Chess
{
public abstract class Screen : UserControl
{
public ScreenControl parentWindow;
public ScreenControl ParentWindow { get { return parentWindow; } }
pr... | TomHulme/P4P | Chess/Screen.cs | C# | gpl-3.0 | 468 |
package com.habitrpg.android.habitica.ui.activities;
import android.content.DialogInterface;
import android.content.Intent;
import android.content.SharedPreferences;
import android.graphics.Color;
import android.net.Uri;
import android.os.Bundle;
import android.preference.PreferenceManager;
import android.support.desi... | yishanhe/habitrpg-android | Habitica/src/com/habitrpg/android/habitica/ui/activities/LoginActivity.java | Java | gpl-3.0 | 13,599 |
<?php
namespace hemio\html;
/**
* The <code>figure</code> element represents a unit of content, optionally with
* a caption, that is self-contained, that is typically referenced as a single
* unit from the main flow of the document, and that can be moved away from the
* main flow of the document without affecting... | qua-bla/html | src/Figure.php | PHP | gpl-3.0 | 683 |
/*
* Copyright (C) 2010-2019 The ESPResSo project
* Copyright (C) 2002,2003,2004,2005,2006,2007,2008,2009,2010
* Max-Planck-Institute for Polymer Research, Theory Group
*
* This file is part of ESPResSo.
*
* ESPResSo is free software: you can redistribute it and/or modify
* it under the terms of the GNU Gener... | KaiSzuttor/espresso | src/script_interface/ComFixed.hpp | C++ | gpl-3.0 | 1,418 |
/**
* Copyright (C) 2010-2016 Structr GmbH
*
* This file is part of Structr <http://structr.org>.
*
* Structr is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at y... | derkaiserreich/structr | structr-core/src/main/java/org/structr/core/function/ErrorFunction.java | Java | gpl-3.0 | 2,991 |
package org.maxgamer.rs.model.skill.prayer;
import java.util.LinkedList;
/**
* @author netherfoam, alva
*/
public enum PrayerGroup {
//Standard prayer book
/** All prayers that boost defense */
DEFENSE(PrayerType.THICK_SKIN, PrayerType.ROCK_SKIN, PrayerType.STEEL_SKIN, PrayerType.CHIVALRY, PrayerType.PIETY, Pray... | tehnewb/Titan | src/org/maxgamer/rs/model/skill/prayer/PrayerGroup.java | Java | gpl-3.0 | 3,118 |
/*
* ASpark
* Copyright (C) 2015 Nikolay Platov
*
* 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.
... | NikolaDasm/aspark | src/nikoladasm/aspark/ASparkUtil.java | Java | gpl-3.0 | 7,066 |
package controller;
import java.io.IOException;
import java.sql.Time;
import java.util.Calendar;
import java.util.List;
import java.util.TimeZone;
import javax.servlet.ServletException;
import javax.servlet.ServletOutputStream;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import ... | phuong95st/project-LA16 | qlhoatdong2/src/controller/OnlController.java | Java | gpl-3.0 | 7,370 |
#ifndef __PLATFORM_H_
#define __PLATFORM_H_
#define STDOUT_IS_PS7_UART
#define UART_DEVICE_ID 0
#include "xil_io.h"
#include "xtmrctr.h"
#include "assert.h"
/* Write to memory location or register */
#define X_mWriteReg(BASE_ADDRESS, RegOffset, data) \
*(unsigned volatile int *)(BASE_ADDRESS + RegOffset) ... | malkadi/FGPU | benchmark/MicroBlaze/src/platform.hpp | C++ | gpl-3.0 | 818 |
import platform
import glob
from .io import DxlIO, Dxl320IO, DxlError
from .error import BaseErrorHandler
from .controller import BaseDxlController
from .motor import DxlMXMotor, DxlAXRXMotor, DxlXL320Motor
from ..robot import Robot
def _get_available_ports():
""" Tries to find the available usb2serial port on ... | manon-cortial/pypot | pypot/dynamixel/__init__.py | Python | gpl-3.0 | 2,888 |
/* -----------------------------------------------------------------------------
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.... | ustegrew/ppm-java | src/ppm_java/_dev/concept/example/event/TSink.java | Java | gpl-3.0 | 1,733 |
<?php
// This file is part of VPL for Moodle - http://vpl.dis.ulpgc.es/
//
// VPL for Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later ... | InstaLearn/phonegaptest3 | mod/vpl/similarity/diff.class.php | PHP | gpl-3.0 | 12,386 |
package org.runnerup.notification;
import android.annotation.TargetApi;
import android.app.Notification;
import android.app.PendingIntent;
import android.content.Context;
import android.content.Intent;
import android.os.Build;
import android.support.v4.app.NotificationCompat;
import org.runnerup.R;
import org.runneru... | netmackan/runnerup | app/src/org/runnerup/notification/GpsBoundState.java | Java | gpl-3.0 | 1,443 |
package pl.idedyk.japanese.dictionary.web.html;
import java.util.List;
public class Ul extends HtmlElementCommon {
public Ul() {
super();
}
public Ul(String clazz) {
super(clazz);
}
public Ul(String clazz, String style) {
super(clazz, style);
}
@Override
protected String getTagName() {
retu... | dedyk/JapaneseDictionaryWeb | src/main/java/pl/idedyk/japanese/dictionary/web/html/Ul.java | Java | gpl-3.0 | 502 |
<?php
/* checklinks.class.php ver.1.1
** Author: Jason Henry www.yourarcadescript.com
** Please keep authorship info intact
** Nov. 26, 2011
**
** Class is used to validate that a link exists on a given web page
** Usage example:
** include("checklinks.class.php");
** $checklink = new checkLink;
** ... | Yourarcadescript/Version-2.5.2 | includes/checklinks.class.php | PHP | gpl-3.0 | 2,197 |
"use strict";
function HelpTutorial()
{
let _getText = function()
{
return "HelpTutorial_Base";
};
this.getName = function(){ return "HelpTutorial_Base"; };
this.getImageId = function(){ return "button_help"; };
this.getText = _getText;
}
function HelpTutorialBuilding(name, image)
{
this.getName = function(... | Hiperblade/OutpostTLH | script/ViewQueueHelp.js | JavaScript | gpl-3.0 | 6,371 |
public class Main {
public static void main(String[] args) {
ProdutoContext manga = new ProdutoContext();
System.out.println("Quantia: " + manga.getQuantia());
manga.fazerCompra(5);
manga.reestocar(5);
manga.fazerCompra(5);
manga.reestocar(15);
System.out.println("Quantia: " + manga.getQuantia());
ma... | guilhermepo2/bcc | 2015-2/POO2 - Praticas/Pratica08-1 - State/src/Main.java | Java | gpl-3.0 | 402 |
using CatalokoService.Helpers.DTO;
using CatalokoService.Helpers.FacebookAuth;
using CatalokoService.Models;
using System;
using System.Web.Mvc;
namespace CatalokoService.Controllers
{
public class HomeController : Controller
{
CatalokoEntities bd = new CatalokoEntities();
public Action... | albertoroque/cataloko | service/CatalokoService/CatalokoService/Controllers/ClienteController/HomeController.cs | C# | gpl-3.0 | 439 |
var Util = require( 'findhit-util' );
// -----------------------------------------------------------------------------
// Data handles wizard data into session
function Data ( route ) {
var session = route.req[ route.router.options.reqSessionKey ];
// If there isn't a `wiz` object on session, just add it
... | brunocasanova/emvici-router | lib/type/wizard/control.js | JavaScript | gpl-3.0 | 1,035 |
using System;
namespace RadarrAPI
{
public class ErrorViewModel
{
public string RequestId { get; set; }
public bool ShowRequestId => !string.IsNullOrEmpty(RequestId);
}
} | jasonla/RadarrAPI.Update | src/RadarrAPI/Models/ErrorViewModel.cs | C# | gpl-3.0 | 200 |
/**
Copyright (C) 2012 Delcyon, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope ... | jahnje/delcyon-capo | java/com/delcyon/capo/protocol/server/ClientRequestProcessorProvider.java | Java | gpl-3.0 | 1,024 |
/*
* 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 program is distributed in the hope that... | paolopavan/cfr | src/weka/filters/unsupervised/attribute/ClusterMembership.java | Java | gpl-3.0 | 15,028 |
/*
* This file is part of *** M y C o R e ***
* See http://www.mycore.de/ for details.
*
* MyCoRe 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)... | MyCoRe-Org/mycore | mycore-base/src/main/java/org/mycore/util/concurrent/MCRPrioritySupplier.java | Java | gpl-3.0 | 3,156 |
#include <iostream>
using namespace std;
int main() {
int n, x, y;
cin >> n;
int a[n];
for (int i = 0; i < n; ++i) {
cin >> a[i];
}
x = a[1] - a[0];
y = a[2] - a[0];
for (int i = 2; i < n; ++i) {
x = max(a[i] - a[i - 1], x);
y = min(a[i] - a[i - 2], y);
}
cout << max(x, y);
}
| yamstudio/Codeforces | 400/496A - Minimum Difficulty.cpp | C++ | gpl-3.0 | 309 |
<?php namespace PrivCode;
defined('ROOT_DIR') or die('Forbidden');
/**
* Base Model Class
*
* @package Priv Code
* @subpackage Libraries
* @category Libraries
* @author Supian M
* @link http://www.priv-code.com
*/
use PrivCode\Database\Database;
class BaseModel extends Database
{
public function __con... | SupianID/Framework | System/BaseModel.php | PHP | gpl-3.0 | 438 |
/*
* 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 com.power.text.Run;
import static com.power.text.dialogs.WebSearch.squerry;
import java.awt.Desktop;
import java.awt.... | Thecarisma/powertext | Power Text/src/com/power/text/Run/WikiSearch.java | Java | gpl-3.0 | 2,201 |
/**
*
*/
package org.jbpt.pm.bpmn;
import org.jbpt.pm.IDataNode;
/**
* Interface class for BPMN Document.
*
* @author Cindy F�hnrich
*/
public interface IDocument extends IDataNode {
/**
* Marks this Document as list.
*/
public void markAsList();
/**
* Unmarks this Document as list.
*/
public ... | BPT-NH/jpbt | jbpt-bpm/src/main/java/org/jbpt/pm/bpmn/IDocument.java | Java | gpl-3.0 | 447 |
#include <QtGui/QApplication>
#include "xmlparser.h"
#include "myfiledialog.h"
#include <iostream>
#include <QMessageBox>
using namespace std;
int main(int argc, char *argv[])
{
QApplication a(argc, argv);/*
MainWindow w;
w.show();*/
MyFileDialog my;//Create dialog
QString name... | etf-sarajevo/etfimagesearch | XMLParser/main.cpp | C++ | gpl-3.0 | 512 |
//
// SuperTuxKart - a fun racing game with go-kart
// Copyright (C) 2004-2005 Steve Baker <sjbaker1@airmail.net>
// Copyright (C) 2006 Joerg Henrichs, Steve Baker
//
// 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 ... | langresser/stk | src/karts/controller/player_controller.hpp | C++ | gpl-3.0 | 3,156 |
// ArduinoJson - arduinojson.org
// Copyright Benoit Blanchon 2014-2019
// MIT License
#pragma once
#include "../Array/ArrayShortcuts.hpp"
#include "../Object/ObjectShortcuts.hpp"
namespace ARDUINOJSON_NAMESPACE {
template <typename TVariant>
class VariantShortcuts : public ObjectShortcuts<TVariant>,
... | felipehfj/Arduino | libraries/ArduinoJson/src/ArduinoJson/Operators/VariantShortcuts.hpp | C++ | gpl-3.0 | 724 |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace SimpleDownload
{
public partial class Downloader : Form
{
public Downloader()
{
Initiali... | abdesslem/QuikDownloader | src/Downloader.cs | C# | gpl-3.0 | 618 |
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("Ca... | kmorin/case-apps | 2017/Case.ReportGroupsByView/Case.ReportGroupsByView/Properties/AssemblyInfo.cs | C# | gpl-3.0 | 1,571 |
<?php
/*
* Micrositio-Phoenix v1.0 Software para gestion de la planeación operativa.
* PHP v5
* Autor: Prof. Jesus Antonio Peyrano Luna <antonio.peyrano@live.com.mx>
* Nota aclaratoria: Este programa se distribuye bajo los terminos y disposiciones
* definidos en la GPL v3.0, debidamente incluidos en el repositorio... | antonio-peyrano/micrositio | v1.1.0/php/frontend/colonias/busColonias.php | PHP | gpl-3.0 | 2,393 |
from numpy import sqrt
from pacal.standard_distr import NormalDistr, ChiSquareDistr
from pacal.distr import Distr, SumDistr, DivDistr, InvDistr
from pacal.distr import sqrt as distr_sqrt
class NoncentralTDistr(DivDistr):
def __init__(self, df = 2, mu = 0):
d1 = NormalDistr(mu, 1)
d2 = distr_sqrt(C... | ianmtaylor1/pacal | pacal/stats/noncentral_distr.py | Python | gpl-3.0 | 2,437 |
IWitness.ErrorsView = Ember.View.extend({
classNames: ["error-bubble"],
classNameBindings: ["isError"],
isError: function() {
return !!this.get("error");
}.property("error")
});
| djacobs/iWitness | app/views/errors_view.js | JavaScript | gpl-3.0 | 198 |
/*
* Copyright 2008-2013, ETH Zürich, Samuel Welten, Michael Kuhn, Tobias Langner,
* Sandro Affentranger, Lukas Bossard, Michael Grob, Rahul Jain,
* Dominic Langenegger, Sonia Mayor Alonso, Roger Odermatt, Tobias Schlueter,
* Yannick Stucki, Sebastian Wendland, Samuel Zehnder, Samuel Zihlmann,
* Samuel Zw... | kuhnmi/jukefox | JukefoxModel/src/ch/ethz/dcg/jukefox/model/collection/MapTag.java | Java | gpl-3.0 | 1,428 |
<?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 ... | mahalaxmi123/moodleanalytics | badges/action.php | PHP | gpl-3.0 | 5,588 |
/*
* Copyright (C) 2011 Klaus Reimer <k@ailis.de>
* See LICENSE.md for licensing information.
*/
package de.ailis.microblinks.l.lctrl.shell;
import gnu.getopt.Getopt;
import gnu.getopt.LongOpt;
import java.util.Arrays;
import de.ailis.microblinks.l.lctrl.resources.Resources;
/**
* Base class for all CLI progra... | microblinks/lctrl | src/main/java/de/ailis/microblinks/l/lctrl/shell/CLI.java | Java | gpl-3.0 | 4,729 |
/************************************************************************
**
** @file vistoolspline.cpp
** @author Roman Telezhynskyi <dismine(at)gmail.com>
** @date 18 8, 2014
**
** @brief
** @copyright
** This source code is part of the Valentina project, a pattern making
** program, whose allow c... | dismine/Valentina_git | src/libs/vtools/visualization/path/vistoolspline.cpp | C++ | gpl-3.0 | 8,739 |
from ert.cwrap import CWrapper, BaseCClass
from ert.enkf import ENKF_LIB
from ert.util import StringList
class SummaryKeyMatcher(BaseCClass):
def __init__(self):
c_ptr = SummaryKeyMatcher.cNamespace().alloc()
super(SummaryKeyMatcher, self).__init__(c_ptr)
def addSummaryKey(self, key):
... | iLoop2/ResInsight | ThirdParty/Ert/devel/python/python/ert/enkf/summary_key_matcher.py | Python | gpl-3.0 | 1,882 |
<?php
/**
* @module wysiwyg Admin
* @version see info.php of this module
* @authors Dietrich Roland Pehlke
* @copyright 2010-2011 Dietrich Roland Pehlke
* @license GNU General Public License
* @license terms see info.php of this module
* @platform see info.php of this module
* @requirements PHP 5.2.x an... | LEPTON-project/LEPTON_1 | upload/modules/wysiwyg_admin/uninstall.php | PHP | gpl-3.0 | 1,358 |
#include <cmath>
#include <iostream>
#include <fstream>
#include <cstdlib>
#include "params.h"
#include "pdg_name.h"
#include "parameters.h"
#include "LeptonMass.h"
//#include "jednostki.h"
#include "grv94_bodek.h"
#include "dis_cr_sec.h"
#include "fragmentation.h"
#include "vect.h"
#include "charge.h"
#include "event1... | NuWro/nuwro | src/dis/dishadr.cc | C++ | gpl-3.0 | 6,276 |
package example;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.OutputStream;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import org.junit.Test;
import com.piedra.excel.annotation.ExcelExport;
import com.piedra.excel.util.ExcelExportor;
... | webinglin/excelExportor | src/test/java/example/ExcelExportorExample.java | Java | gpl-3.0 | 6,820 |
/***************************************************************************
* Project file: NPlugins - NCore - BasicHttpClient.java *
* Full Class name: fr.ribesg.com.mojang.api.http.BasicHttpClient *
* *
* ... | cnaude/NPlugins | NCore/src/main/java/fr/ribesg/com/mojang/api/http/BasicHttpClient.java | Java | gpl-3.0 | 2,563 |
#!/usr/bin/env node
/*jshint -W100*/
'use strict';
/**
* ニコニコ動画ログインサンプル
*
* 以下のusernameとpasswordを書き換えてから実行してください
*/
var username = 'hogehoge';
var password = 'fugafuga';
var client = require('../index');
console.info('ニコニコTOPページにアクセスします');
client.fetch('http://nicovideo.jp/')
.then(function (result) {
consol... | tohshige/test | express/example/niconico.js | JavaScript | gpl-3.0 | 1,404 |
package Eac.event;
import Eac.Eac;
import cpw.mods.fml.common.eventhandler.SubscribeEvent;
import cpw.mods.fml.common.gameevent.PlayerEvent;
import net.minecraft.item.ItemStack;
public class EacOnItemPickup extends Eac {
@SubscribeEvent
public void EacOnItemPickup(PlayerEvent.ItemPickupEvent e) {
if (... | EacMods/Eac | src/main/java/Eac/event/EacOnItemPickup.java | Java | gpl-3.0 | 596 |
class PasswordResetsController < ApplicationController
def new
end
def create
@user = User.find_by_email(params[:email])
if @user
@user.deliver_reset_password_instructions!
redirect_to root_path, notice: 'Instructions have been sent to your email.'
else
flash.now[:alert] = "Sorry bu... | armoin/edinburgh_collected | app/controllers/password_resets_controller.rb | Ruby | gpl-3.0 | 1,003 |
/**
* Copyright (c) 2013 Jad
*
* This file is part of Jad.
* Jad 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.
*
* Jad is d... | fg-netzwerksicherheit/jaddemo | src/de/fhffm/jad/demo/jad/DataFrame.java | Java | gpl-3.0 | 2,330 |
/* This file is part of F3TextViewerFX.
*
* F3TextViewerFX 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.
*
* F3TextViewerFX ... | rindPHI/F3TextViewerFX | src/de/dominicscheurer/quicktxtview/view/FileViewerController.java | Java | gpl-3.0 | 9,526 |
Ext.define("Voyant.notebook.util.Embed", {
transferable: ['embed'],
embed: function() { // this is for instances
embed.apply(this, arguments);
},
constructor: function(config) {
var me = this;
},
statics: {
i18n: {},
api: {
embeddedParameters: undefined,
embeddedConfig: undefined
},
embed: funct... | sgsinclair/Voyant | src/main/webapp/app/notebook/util/Embed.js | JavaScript | gpl-3.0 | 5,429 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CustomWallsAndFloorsRedux
{
public class Settings
{
public List<Animation> AnimatedTiles { get; set; } = new List<Animation>();
}
}
| Platonymous/Stardew-Valley-Mods | CustomWallsAndFloorsRedux/Settings.cs | C# | gpl-3.0 | 282 |
<?php
/**
* Kunena Component
* @package Kunena.Template.Crypsis
* @subpackage Layout.Announcement
*
* @copyright (C) 2008 - 2016 Kunena Team. All rights reserved.
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
* @link http://www.kunena.org
**/
defined('_JEXEC') or die;
$row = $this->... | fxstein/Kunena-Forum | components/com_kunena/site/template/crypsisb3/layouts/announcement/list/row/default.php | PHP | gpl-3.0 | 1,524 |
// opening-tag.hpp
// Started 14 Aug 2018
#pragma once
#include <string>
#include <boost/spirit/include/qi.hpp>
namespace client {
// namespace fusion = boost::fusion;
// namespace phoenix = boost::phoenix;
namespace qi = boost::spirit::qi;
namespace ascii = boost::spirit::ascii;
template<typename Iterator>
str... | Lester-Dowling/studies | C++/boost/spirit/Mini-XML-2017/Unit-Tests/opening-tag.hpp | C++ | gpl-3.0 | 778 |
//: pony/PartyFavor.java
package pokepon.pony;
import pokepon.enums.*;
/** Party Favor
* Good def and spa, lacks Hp and Speed
*
* @author silverweed
*/
public class PartyFavor extends Pony {
public PartyFavor(int _level) {
super(_level);
name = "Party Favor";
type[0] = Type.LAUGHTER;
type[1] = Type... | silverweed/pokepon | pony/PartyFavor.java | Java | gpl-3.0 | 654 |
using System;
namespace GalleryServerPro.Business.Interfaces
{
/// <summary>
/// A collection of <see cref="IUserAccount" /> objects.
/// </summary>
public interface IUserAccountCollection : System.Collections.Generic.ICollection<IUserAccount>
{
/// <summary>
/// Gets a list of user names for accounts in the ... | bambit/BGallery | TIS.GSP.Business.Interfaces/IUserAccountCollection.cs | C# | gpl-3.0 | 5,022 |
var Base = require("./../plugin");
module.exports = class extends Base {
isDisableSelfAttackPriority(self, rival) {
return true;
}
isDisableEnemyAttackPriority(self, rival) {
return true;
}
} | ssac/feh-guide | src/models/seal/hardy_bearing_3.js | JavaScript | gpl-3.0 | 208 |
//////////////////////////////////////////////////
// JIST (Java In Simulation Time) Project
// Timestamp: <EntityRef.java Sun 2005/03/13 11:10:16 barr rimbase.rimonbarr.com>
//
// Copyright (C) 2004 by Cornell University
// All rights reserved.
// Refer to LICENSE for terms and conditions of use.
package jist.runtim... | jbgi/replics | swans/jist/runtime/EntityRef.java | Java | gpl-3.0 | 6,768 |
#!/usr/bin/env python
"""The setup and build script for the python-telegram-bot library."""
import codecs
import os
from setuptools import setup, find_packages
def requirements():
"""Build the requirements list for this project"""
requirements_list = []
with open('requirements.txt') as requirements:
... | txemagon/1984 | modules/Telegram-bot-python/setup.py | Python | gpl-3.0 | 2,168 |
#include "cmilitwostateselect.h"
#include "ui_cmilitwostateselect.h"
#include "cengine.h"
#include "ctextout.h"
void CMili2McuController::DoUpdateLogicView(const CEngineModel *engine) {
if (engine->CurrentMcuType() == CEngineModel::MILI_MCU)
mView->UpdateLogicView(engine);
}
void CMili2McuController::DoU... | mmshihov/microcode | cmilitwostateselect.cpp | C++ | gpl-3.0 | 4,032 |
class Cartridge : property<Cartridge> {
public:
enum class Mode : unsigned {
Normal,
BsxSlotted,
Bsx,
SufamiTurbo,
SuperGameBoy,
};
enum class Region : unsigned {
NTSC,
PAL,
};
//assigned externally to point to file-system datafiles (msu1 and serial)
//example: "/path/to/filena... | grim210/defimulator | defimulator/snes/cartridge/cartridge.hpp | C++ | gpl-3.0 | 2,519 |
<?php
namespace Schatz\CrmBundle\Controller\Leads;
use Schatz\CrmBundle\Constants\ContactStatusConstants;
use Schatz\CrmBundle\Constants\ContactTypeConstants;
use Schatz\GeneralBundle\Constants\PermissionsConstants;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
class LeadsController extends Controller
{
... | edoschatz/taskada | src/Schatz/CrmBundle/Controller/Leads/LeadsController.php | PHP | gpl-3.0 | 4,047 |
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('account', '0003_remove_userprofile_is_check'),
]
operations = [
migrations.RemoveField(
model_name='userprofile'... | yangxianbo/jym | account/migrations/0004_auto_20160525_1032.py | Python | gpl-3.0 | 591 |
/*
* 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 nl.hyranasoftware.githubupdater.domain;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import java.util.Objects... | eternia16/javaGithubUpdater | src/main/java/nl/hyranasoftware/githubupdater/domain/Asset.java | Java | gpl-3.0 | 3,243 |
ModX Revolution 2.5.0 = 88d852255e0a3c20e3abb5ec165b5684
ModX Revolution 2.3.3 = 5137fe8eb650573a752775acc90954b5
ModX Revolution 2.3.2 = 2500d1a81dd43e7e9f4a11e1712aeffb
MODX Revolution 2.2.8 = cc299e05ed6fb94e4d9c4144bf553675
MODX Revolution 2.5.2 = f87541ee3ef82272d4442529fee1028e
| gohdan/DFC | known_files/hashes/manager/controllers/default/resource/update.class.php | PHP | gpl-3.0 | 285 |
#include "RocksIndex.hh"
#include <stdlib.h>
#include <iostream>
// Get command line arguments for array size (100M) and number of trials (1M)
void arrayArgs(int argc, char* argv[], objectId_t& asize, int& reps) {
asize = (argc>1) ? strtoull(argv[1], 0, 0) : 100000000;
reps = (argc>2) ? strtol(argv[2], 0, 0) :... | kelseymh/secindex_proto | rocksdb-index.cc | C++ | gpl-3.0 | 706 |
###
# Copyright 2016 - 2022 Green River Data Analysis, LLC
#
# License detail: https://github.com/greenriver/hmis-warehouse/blob/production/LICENSE.md
###
module Reports::SystemPerformance::Fy2015
class MeasureThree < Base
end
end
| greenriver/hmis-warehouse | app/models/reports/system_performance/fy2015/measure_three.rb | Ruby | gpl-3.0 | 237 |
<?php
/* ----------------------------------------------------------------------
* app/controllers/find/AdvancedSearchObjectsController.php : controller for "advanced" object search request handling
* ----------------------------------------------------------------------
* CollectiveAccess
* Open-source collections ... | bruceklotz/providence-with-Backup | app/controllers/find/SearchObjectsAdvancedController.php | PHP | gpl-3.0 | 5,413 |
/*
* OpenSplice DDS
*
* This software and documentation are Copyright 2006 to 2012 PrismTech
* Limited and its licensees. All rights reserved. See file:
*
* $OSPL_HOME/LICENSE
*
* for full copyright notice and license terms.
*
*/
/**
* @file
*/
#ifndef ORG_OPENSPLI... | SanderMertens/opensplice | src/api/dcps/isocpp/include/org/opensplice/core/policy/CorePolicy.hpp | C++ | gpl-3.0 | 28,610 |
<?php
/**
* WoWRoster.net WoWRoster
*
* AddOn installer
*
* @copyright 2002-2011 WoWRoster.net
* @license http://www.gnu.org/licenses/gpl.html Licensed under the GNU General Public License v3.
* @package WoWRoster
* @subpackage RosterCP
*/
if( !defined('IN_ROSTER') || !defined('IN_ROSTER_ADMIN') )
{
... | WoWRoster/wowroster_dev | admin/addon_install.php | PHP | gpl-3.0 | 21,161 |
<?php
namespace Paged;
/**
* Выводит список как маркерованный
*
* @category Basic library
* @package Paged
* @author Peter S. Gribanov <info@peter-gribanov.ru>
* @version 4.0 SVN: $Revision$
* @since $Date$
* @link $HeadURL$
* @link http://peter-gribanov.ru/#open-source/paged/paged_4-x
* ... | peter-gribanov/php-paged | classes/views/ViewList.php | PHP | gpl-3.0 | 1,223 |
import io
import openpyxl
from django.test import (
Client, TestCase
)
from django.urls import reverse
from core.models import (
User, Batch, Section, Election, Candidate, CandidateParty,
CandidatePosition, Vote, VoterProfile, Setting, UserType
)
class ResultsExporter(TestCase):
"""
Tests the r... | seanballais/botos | tests/test_results_exporter_view.py | Python | gpl-3.0 | 18,942 |
/*
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
any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; wit... | FHust/ISEAFramework | src/geometry/unit_vector.cpp | C++ | gpl-3.0 | 760 |
<?php
/**
@package JobBoard
@copyright Copyright (c)2010-2013 Figomago <http://figomago.wordpress.com> <http://figomago.wordpress.com>
@license : GNU General Public License v3 or later
----------------------------------------------------------------------- */
defined('_JEXEC') or die('Restricted access');
requir... | figomago/joomla-jobboard | pkg_jobboard_1.2.7.1_lite/site/views/list/view.feed.php | PHP | gpl-3.0 | 4,860 |
/*
Copyright © 2017 the InMAP authors.
This file is part of InMAP.
InMAP 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.
InMAP is distribut... | spatialmodel/inmap | emissions/slca/eieio/spatialemis.go | GO | gpl-3.0 | 6,205 |
<?php
class ControllerTotalShipping extends Controller {
private $error = array();
public function index() {
$this->load->language('total/shipping');
$this->document->setTitle($this->language->get('heading_title'));
$this->load->model('setting/setting');
if (($this->request->server['R... | stan-bg/opencart | upload/admin/controller/total/shipping.php | PHP | gpl-3.0 | 3,431 |
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2014.08.02 at 08:05... | ramsodev/DitaManagement | dita/dita.concept/src/net/ramso/dita/concept/SynblkClass.java | Java | gpl-3.0 | 14,623 |
/*
* Copyright (C) 2013-2017 52°North Initiative for Geospatial Open Source
* Software GmbH
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 as published
* by the Free Software Foundation.
*
* If the program is linked with ... | ridoo/dao-series-api | dao/src/main/java/org/n52/series/db/beans/parameter/Parameter.java | Java | gpl-3.0 | 2,458 |
package com.mortensickel.measemulator;
// http://maps.google.com/maps?q=loc:59.948509,10.602627
import com.google.android.gms.common.api.*;
import android.content.Context;
import android.text.*;
import android.app.Activity;
import android.os.Bundle;
import android.os.Handler;
import android.view.View;
import android.wi... | sickel/measem | app/src/main/java/com/mortensickel/measemulator/MainActivity.java | Java | gpl-3.0 | 13,932 |
<?php
// Esercizio: un numero che si dimezza sempre
header('Content-Type: text/plain');
ini_set('display_errors', true); // MAI in produzione!!!
ini_set('html_errors', 0);
/**
* Questa classe continua a dividere
* il suo stato interno per un valore dato.
*/
class invert
{
/**
* Il valore corrente
* @v... | hujuice/oopphp | public/esercizi/divide.php | PHP | gpl-3.0 | 1,214 |
<?php
/**
* CodeIgniter
*
* An open source application development framework for PHP 5.2.4 or newer
*
* NOTICE OF LICENSE
*
* Licensed under the Open Software License version 3.0
*
* This source file is subject to the Open Software License (OSL 3.0) that is
* bundled with this package in the files ... | ngoaho91/sharif-judge | system/database/DB_utility.php | PHP | gpl-3.0 | 10,617 |