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.brejza.matt.habmodem;
import group.pals.android.lib.ui.filechooser.FileChooserActivity;
import group.pals.android.lib.ui.filechooser.io.localfile.LocalFile;
import java.io.File;
import java.util.List;
import android.os.Bundle;
import android.os.Environment;
import android.os.Parcelable;
import android.pr... | mattbrejza/rtty_modem | habmodem/src/com/brejza/matt/habmodem/StartActivity.java | Java | gpl-3.0 | 4,104 |
#!/usr/bin/env python
# sample module
from jira.client import JIRA
def main():
jira = JIRA()
JIRA(options={'server': 'http://localhost:8100'})
projects = jira.projects()
print projects
for project in projects:
print project.key
# Standard boilerplate to call the main() function.
if __nam... | selvait90/jira-automation | sample.py | Python | gpl-3.0 | 349 |
package ai.hellbound;
import l2s.commons.util.Rnd;
import l2s.gameserver.ai.CtrlEvent;
import l2s.gameserver.ai.Mystic;
import l2s.gameserver.model.Creature;
import l2s.gameserver.model.Playable;
import l2s.gameserver.model.World;
import l2s.gameserver.model.instances.NpcInstance;
import bosses.BelethManager;
/**
* ... | pantelis60/L2Scripts_Underground | dist/gameserver/data/scripts/ai/hellbound/Beleth.java | Java | gpl-3.0 | 1,491 |
#ifndef PHOTONS_PhaseSpace_Generate_Dipole_Photon_Angle_H
#define PHOTONS_PhaseSpace_Generate_Dipole_Photon_Angle_H
#include "ATOOLS/Math/Vector.H"
namespace PHOTONS {
class Generate_Dipole_Photon_Angle {
private:
double m_b1;
double m_b2;
double m_c;
... | cms-externals/sherpa | PHOTONS++/PhaseSpace/Generate_Dipole_Photon_Angle.H | C++ | gpl-3.0 | 4,769 |
/**********************************************************
* Filename: MDBRow.cpp
* Text Encoding: utf-8
*
* Description:
*
*
* Author: moxichang (ishego@gmail.com)
* Harbin Engineering University
* Information Security Research Center
*
************************************... | moxichang/libmo | src/MDB/MDBRow.cpp | C++ | gpl-3.0 | 801 |
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: AssemblyTi... | brusini/SimpleTwitter | Model/Properties/AssemblyInfo.cs | C# | gpl-3.0 | 1,422 |
<?php
// include.php - Handles options for subscribe2
// DO NOT EDIT THIS FILE AS IT IS SET BY THE OPTIONS PAGE
if (!isset($this->subscribe2_options['autosub'])) {
$this->subscribe2_options['autosub'] = "no";
} // option to autosubscribe registered users to new categories
if (!isset($this->subscribe2_options['newr... | Signl/subscribe2 | include/options.php | PHP | gpl-3.0 | 7,366 |
/**
*/
package net.paissad.waqtsalat.core.impl;
import java.util.Calendar;
import net.paissad.waqtsalat.core.WaqtSalatPackage;
import net.paissad.waqtsalat.core.api.Pray;
import net.paissad.waqtsalat.core.api.PrayName;
import org.eclipse.emf.common.notify.Notification;
import org.eclipse.emf.ecore.EClass;
import org.... | paissad/waqtsalat-eclipse-plugin | plugins/net.paissad.waqtsalat.core/src/net/paissad/waqtsalat/core/impl/PrayImpl.java | Java | gpl-3.0 | 9,597 |
import {
DASHBOARD_ACTIVE_COIN_CHANGE,
DASHBOARD_ACTIVE_COIN_BALANCE,
DASHBOARD_ACTIVE_COIN_SEND_FORM,
DASHBOARD_ACTIVE_COIN_RECEIVE_FORM,
DASHBOARD_ACTIVE_COIN_RESET_FORMS,
DASHBOARD_ACTIVE_SECTION,
DASHBOARD_ACTIVE_TXINFO_MODAL,
ACTIVE_COIN_GET_ADDRESSES,
DASHBOARD_ACTIVE_COIN_NATIVE_BALANCE,
DASH... | pbca26/EasyDEX-GUI | react/src/reducers/activeCoin.js | JavaScript | gpl-3.0 | 12,574 |
package ninja.mbedded.ninjaterm.util.rxProcessing.timeStamp;
import javafx.scene.paint.Color;
import ninja.mbedded.ninjaterm.JavaFXThreadingRule;
import ninja.mbedded.ninjaterm.util.rxProcessing.streamedData.StreamedData;
import ninja.mbedded.ninjaterm.util.rxProcessing.streamingFilter.StreamingFilter;
import org.juni... | mbedded-ninja/NinjaTerm | src/test/java/ninja/mbedded/ninjaterm/util/rxProcessing/timeStamp/TimeStampParserTests.java | Java | gpl-3.0 | 17,393 |
// urlParams is null when used for embedding
window.urlParams = window.urlParams || {};
// isLocalStorage controls access to local storage
window.isLocalStorage = window.isLocalStorage || false;
// Checks for SVG support
window.isSvgBrowser = window.isSvgBrowser || (navigator.userAgent.indexOf('MSIE') < 0 || document... | crazykeyboard/draw.io | war/js/diagramly/Init.js | JavaScript | gpl-3.0 | 6,535 |
<?php
/**
* Part of the Sentinel package.
*
* NOTICE OF LICENSE
*
* Licensed under the 3-clause BSD License.
*
* This source file is subject to the 3-clause BSD License that is
* bundled with this package in the LICENSE file.
*
* @package Sentinel
* @version 2.0.18
* @author Cartalyst LLC
* @lic... | kaoz70/flexcms | flexcms/vendor/cartalyst/sentinel/src/migrations/2014_07_02_230147_migration_cartalyst_sentinel.php | PHP | gpl-3.0 | 3,705 |
/*
* File: Worker2.cpp
* Author: saulario
*
* Created on 15 de septiembre de 2016, 6:40
*/
#include "Worker2.h"
#include "Csoft.h"
using namespace csoft::mod2;
Worker2::Worker2(const csoft::Csoft * csoft) {
}
Worker2::Worker2(const Worker2& orig) {
}
Worker2::~Worker2() {
}
void Worker2::doIt(void) {
... | saulario/pruebas | csoft/csoft/src/mod2/Worker2.cpp | C++ | gpl-3.0 | 499 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace YSchool
{
public class Person
{
public int id;
public string name ;
public int gender;//1
public string birthDate;//"1900-00-00T00:00:00"
public int mobileNumb... | ravilogaiya/yujvidya | android-client/YSchool/Person.cs | C# | gpl-3.0 | 476 |
var chai = require('chai')
, sinon = require('sinon')
, sinonChai = require('sinon-chai')
, expect = chai.expect
, Promise = require('es6-promise').Promise
, UpdateTemplatesController = require('../../../platypi-cli/controllers/cli/updatetemplates.controller');
chai.use(sinonChai);
describe('Temp... | tonylegrone/platypi-cli | test/controllers/cli/updatetemplates.controller.test.js | JavaScript | gpl-3.0 | 2,558 |
""" Class that contains client access to the transformation DB handler. """
__RCSID__ = "$Id$"
import types
from DIRAC import S_OK, S_ERROR, gLogger
from DIRAC.Core.Base.Client import Client
from DIRAC.Core.Utilities.List ... | avedaee/DIRAC | TransformationSystem/Client/TransformationClient.py | Python | gpl-3.0 | 22,189 |
from django.db import models
from django.contrib.auth.models import User
import MySQLdb
# Create your models here.
class Comentario(models.Model):
"""Comentario"""
contenido = models.TextField(help_text='Escribe un comentario')
fecha_coment = models.DateField(auto_now=True)
def __unicode__(self):
return self.c... | darciga/cf | blog/models.py | Python | gpl-3.0 | 1,127 |
/*
This file is part of solidity.
solidity 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.
solidity is distributed in the hope that i... | ethereum/solidity | libsolutil/CommonIO.cpp | C++ | gpl-3.0 | 4,494 |
/**
* Copyright (c) 2012 Todoroo Inc
*
* See the file "LICENSE" for the full license governing this code.
*/
package com.todoroo.astrid.reminders;
import android.app.Dialog;
import android.content.Intent;
import android.view.View;
import android.widget.TextView;
import com.todoroo.astrid.activity.AstridActivity;
... | xVir/tasks | src/main/java/com/todoroo/astrid/reminders/NotificationFragment.java | Java | gpl-3.0 | 2,884 |
package com.simplecity.amp_library.model;
import android.content.Context;
import com.simplecity.amp_library.R;
import java.io.File;
public class ArtworkModel {
private static final String TAG = "ArtworkModel";
@ArtworkProvider.Type
public int type;
public File file;
public ArtworkModel(@Artwor... | timusus/Shuttle | app/src/main/java/com/simplecity/amp_library/model/ArtworkModel.java | Java | gpl-3.0 | 1,505 |
package com.newppt.android.ui;
import com.newppt.android.data.AnimUtils2;
import android.content.Context;
import android.util.AttributeSet;
import android.view.MotionEvent;
import android.widget.ImageView;
public class ScaleImage extends ImageView {
final private int FLIP_DISTANCE = 30;
public ScaleImage(Context ... | beyondckw/SynchronizeOfPPT | Android_v5/src/com/newppt/android/ui/ScaleImage.java | Java | gpl-3.0 | 1,835 |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/**************************************************************************
*
* Copyright 2010 American Public Media Group
*
* This file is part of AIR2.
*
* AIR2 is free software: you can redistribute it and/or modify
* it under... | publicinsightnetwork/audience-insight-repository | lib/AIR2_Record.php | PHP | gpl-3.0 | 13,214 |
<?php
/*
oauthcallback.php
This script handles the oAuth grant 'code' that is returned from the provider
(google/fb/openid), and calls the 'authenticate' method of the PBS_LAAS_Client.
That method exchanges the grant 'code' with PBS's endpoints to get access and refresh tokens,
uses those to get user info (email, n... | tamw-wnet/pbs-passport-authenticate | templates/oauthcallback.php | PHP | gpl-3.0 | 3,067 |
#ifndef MUSPLAY_USE_WINAPI
#include <QtDebug>
#include <QFileDialog>
#include <QMessageBox>
#include <QSlider>
#include <QSettings>
#include <QMenu>
#include <QDesktopServices>
#include <QUrl>
#include "ui_mainwindow.h"
#include "musplayer_qt.h"
#include "../Player/mus_player.h"
#include "../AssocFiles/assoc_files.h"
... | jpmac26/PGE-Project | MusicPlayer/MainWindow/musplayer_qt.cpp | C++ | gpl-3.0 | 19,656 |
namespace Freenex.FeexRanks.Database
{
public enum EQueryType
{
Scalar,
Reader,
NonQuery
}
} | Freenex1911/FeexRanks | Database/EQueryType.cs | C# | gpl-3.0 | 128 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace guess_word_game
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static ... | AironSkythe/guess-word-game | guess_game/guess_game/Program.cs | C# | gpl-3.0 | 518 |
// tinygettext - A gettext replacement that works directly on .po files
// Copyright (C) 2006 Ingo Ruhnke <grumbel@gmx.de>
//
// 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 versi... | clbr/stk | src/tinygettext/dictionary.cpp | C++ | gpl-3.0 | 5,378 |
/*
Copyright 2011 Anton Kraievoy akraievoy@gmail.com
This file is part of Holonet.
Holonet 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 vers... | akraievoy/holonet | src/main/java/algores/holonet/core/events/EventNetLookup.java | Java | gpl-3.0 | 3,225 |
var path = require('path');
var Q = require('q');
var fs = require('fs');
var mv = require('mv');
var Upload = require('./upload.model');
exports.upload = function (req, res) {
var tmpPath = req.files[0].path;
var newFileName = Math.random().toString(36).substring(7)+path.extname(tmpPath);
var targetPath =... | NishantDesai1306/lost-and-found | server/api/upload/upload.controller.js | JavaScript | gpl-3.0 | 1,066 |
// Karma configuration
// Generated on Thu Jul 24 2014 18:11:41 GMT-0700 (PDT)
module.exports = function(config) {
config.set({
// base path that will be used to resolve all patterns (eg. files, exclude)
basePath: '',
// frameworks to use
// available frameworks: https://npmjs.org/browse/keyword/k... | bthaase/DDWarden | html/lib/angular-abortable-requests/karma.conf.js | JavaScript | gpl-3.0 | 1,741 |
package br.ifrn.meutcc.visao;
import java.io.IOException;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import br.ifrn.meutcc.modelo.Aluno;
import br... | hayssac/MeuTCC_Grupo1 | MeuTCCApp/src/br/ifrn/meutcc/visao/ViewAlunoCandidatou.java | Java | gpl-3.0 | 1,286 |
package com.idega.development.presentation;
import com.idega.idegaweb.IWBundle;
import com.idega.idegaweb.IWMainApplication;
import com.idega.presentation.IWContext;
import com.idega.presentation.Image;
import com.idega.presentation.Layer;
import com.idega.presentation.PresentationObject;
import com.idega.presentation... | idega/platform2 | src/com/idega/development/presentation/IWDeveloper.java | Java | gpl-3.0 | 5,611 |
package itaf.WsCartItemService;
import java.math.BigDecimal;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;
/**
* <p>bzCollectionOrderDto complex typeµÄ Java Àà¡£
*
* <p>ÒÔÏÂģʽƬ¶ÎÖ¸¶¨°üº¬ÔÚ´ËÀàÖеÄÔ¤ÆÚÄÚÈÝ¡£
*
* <... | zpxocivuby/freetong_mobile_server | itaf-aggregator/itaf-ws-simulator/src/test/java/itaf/WsCartItemService/BzCollectionOrderDto.java | Java | gpl-3.0 | 3,557 |
# -*- coding: utf8 -*-
SQL = """select SQL_CALC_FOUND_ROWS * FROM doc_view order by `name` asc limit %(offset)d,%(limit)d ;"""
FOUND_ROWS = True
ROOT = "doc_view_list"
ROOT_PREFIX = "<doc_view_edit />"
ROOT_POSTFIX= None
XSL_TEMPLATE = "data/af-web.xsl"
EVENT = None
WHERE = ()
PARAM = None
TITLE="Список видов документо... | ffsdmad/af-web | cgi-bin/plugins2/doc_view_list.py | Python | gpl-3.0 | 444 |
/*
* Copyright 2018 Mauricio Colli <mauriciocolli@outlook.com>
* AnimationUtils.java is part of NewPipe
*
* License: GPL-3.0+
* 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 versio... | theScrabi/NewPipe | app/src/main/java/org/schabi/newpipe/util/AnimationUtils.java | Java | gpl-3.0 | 20,120 |
import {Component, OnInit} from '@angular/core';
import {EvaluationService} from '../service/evaluation.service';
@Component({
selector: 'app-evaluation',
templateUrl: './evaluation.component.html',
styleUrls: ['./evaluation.component.css']
})
export class EvaluationComponent implements OnInit {
public result... | david-0/disg | src/app/evaluation/evaluation.component.ts | TypeScript | gpl-3.0 | 638 |
#include "session.h"
// This file is part of MCI_Host.
// MCI_Host 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.
... | Zi-i/MCI_Host | src/session.cpp | C++ | gpl-3.0 | 23,063 |
class UsersController < ApplicationController
def index
users = User.all
render json: users
end
end
| ShawnTe/daily-planner-rails-api | app/controllers/users_controller.rb | Ruby | gpl-3.0 | 112 |
export * from './results.handler';
| olimungo/planning-poker | src/pages/common/handlers/results-handler/index.ts | TypeScript | gpl-3.0 | 35 |
using System;
using System.IO;
using System.Collections.Generic;
using System.Text;
using Kontract.IO;
namespace Kontract.Compression
{
public class LZSSVLE
{
public static byte[] Decompress(Stream input, bool leaveOpen = false)
{
using (var br = new BinaryReader(input, Encoding.De... | IcySon55/Kuriimu | src/Kontract/Compression/LZSSVLE.cs | C# | gpl-3.0 | 2,086 |
<? if($this->uri->segment(3,'add') == 'add'): ?>
<h2>Create user</h2>
<? else: ?>
<h2>Edit user "<?= $member->full_name; ?>"</h2>
<? endif; ?>
<?=form_open($this->uri->uri_string()); ?>
<fieldset>
<legend>Details</legend>
<div class="field">
<label for="first_name">First Name</label>
<?= form_input('first... | bema2004sw/pyrocms | application/modules/users/views/admin/form.php | PHP | gpl-3.0 | 1,262 |
#include <vigir_footstep_planning_plugins/plugin_aggregators/world_model.h>
namespace vigir_footstep_planning
{
WorldModel::WorldModel()
: ExtendedPluginAggregator<WorldModel, CollisionCheckPlugin>("WorldModel")
{
}
void WorldModel::loadPlugins(bool print_warning)
{
ExtendedPluginAggregator<WorldModel, CollisionC... | team-vigir/vigir_footstep_planning_basics | vigir_footstep_planning_plugins/src/plugin_aggregators/world_model.cpp | C++ | gpl-3.0 | 2,257 |
# -*- encoding: utf-8 -*-
#
# OpenERP, Open Source Management Solution
# This module copyright (C) 2014 Savoir-faire Linux
# (<http://www.savoirfairelinux.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
# ... | Xprima-ERP/odoo_addons | xpr_xis_connector/res_users.py | Python | gpl-3.0 | 1,160 |
package com.lizardtech.djvubean.outline;
import java.awt.Color;
import java.awt.Component;
import javax.swing.JLabel;
import javax.swing.JList;
import javax.swing.JPanel;
import javax.swing.ListCellRenderer;
import javax.swing.UIManager;
public class ImageListCellRenderer implements ListCellRenderer
{
/**
* Fro... | DJVUpp/Desktop | djuvpp-djvureader-_linux-f9cd57d25c2f/DjVuReader++/src/com/lizardtech/djvubean/outline/ImageListCellRenderer.java | Java | gpl-3.0 | 2,058 |
/*
* Copyright (c) by Michał Niedźwiecki 2016
* Contact: nkg753 on gmail or via GitHub profile: dzwiedziu-nkg
*
* This file is part of Bike Road Quality.
*
* Bike Road Quality is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Fre... | dzwiedziu-nkg/cyclo-bruxism | proof-of-concept/apk/app/src/main/java/pl/nkg/brq/android/ui/MainActivity.java | Java | gpl-3.0 | 5,333 |
package com.malak.yaim.model;
import java.util.List;
public class FlickrFeed {
private String title;
private String link;
private String description;
private String modified;
private String generator;
private List<Item> items = null;
public String getTitle() {
return title;
}
public void setT... | xavarius/FlickrFeed | app/src/main/java/com/malak/yaim/model/FlickrFeed.java | Java | gpl-3.0 | 1,050 |
"""
Contains format specification class and methods to parse it from JSON.
.. codeauthor:: Tomas Krizek <tomas.krizek1@tul.cz>
"""
import json
import re
def get_root_input_type_from_json(data):
"""Return the root input type from JSON formatted string."""
return parse_format(json.loads(data))
def parse_form... | GeoMop/GeoMop | src/gm_base/model_data/format.py | Python | gpl-3.0 | 4,784 |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
using UnityEditor;
using System.IO;
public class Serializer : MonoBehaviour {
//save defaults are only used to set the data used when initializing that map the next time.
string saveFile;
str... | ZepedaJake/2D-RPG-Unity | Terry's Tower/Assets/Scripts/Serializer.cs | C# | gpl-3.0 | 27,853 |
package grid;
import java.util.Comparator;
import world.World;
/*
* AP(r) Computer Science GridWorld Case Study:
* Copyright(c) 2002-2006 College Entrance Examination Board
* (http://www.collegeboard.com).
*
* This code is free software; you can redistribute it and/or modify
* it under the terms of the GNU G... | fazerlicourice7/botWorld2017 | src/grid/Location.java | Java | gpl-3.0 | 8,439 |
/* This file is part of LiveCG.
*
* Copyright (C) 2013 Sebastian Kuerten
*
* 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 late... | sebkur/live-cg | project/src/main/java/de/topobyte/livecg/ui/geometryeditor/preferences/LAFSelector.java | Java | gpl-3.0 | 2,265 |
package com.yoavst.quickapps.calendar;
import android.content.ContentUris;
import android.content.Context;
import android.content.Intent;
import android.database.Cursor;
import android.net.Uri;
import android.provider.CalendarContract;
import android.provider.CalendarContract.Events;
import com.yoavst.quickapps.Prefe... | gaich/quickapps | app/src/main/java/com/yoavst/quickapps/calendar/CalendarUtil.java | Java | gpl-3.0 | 13,741 |
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("3.... | PlamenHP/Softuni | Entity Framework/Introduction to DB Apps/3. Get Minion Names/Properties/AssemblyInfo.cs | C# | gpl-3.0 | 1,432 |
#===============================================================================
# Filename: rgss.rb
#
# Developer: Raku (rakudayo@gmail.com)
#
# Description: This is the core file to include to enable loading and dumping
# of RMXP's .rxdata files.
#==============================================================... | griest024/PokemonEssentialsEditor | lib/pkmnee/import/plugin/rmxp/rgss.rb | Ruby | gpl-3.0 | 427 |
package uk.tim740.skUtilities.util;
import ch.njol.skript.lang.Expression;
import ch.njol.skript.lang.SkriptParser;
import ch.njol.skript.lang.util.SimpleExpression;
import ch.njol.util.Kleenean;
import org.bukkit.event.Event;
import uk.tim740.skUtilities.skUtilities;
import javax.annotation.Nullable;
import java.io.... | tim740/skUtilities | src/uk/tim740/skUtilities/util/ExprTimeInTimeZone.java | Java | gpl-3.0 | 1,995 |
"""
Page view class
"""
import os
from Server.Importer import ImportFromModule
class PageView(ImportFromModule("Server.PageViewBase", "PageViewBase")):
"""
Page view class.
"""
_PAGE_TITLE = "Python Web Framework"
def __init__(self, htmlToLoad):
"""
Constructor.
- ht... | allembedded/python_web_framework | WebApplication/Views/PageView.py | Python | gpl-3.0 | 781 |
/*
* Copyright (C) 2010 The UAPI Authors
* You may not use this file except in compliance with the License.
* You may obtain a copy of the License at the LICENSE file.
*
* You must gained the permission from the authors if you want to
* use the project into a commercial product
*/
package uapi.service;
import ... | minjing/uapi | uapi.service/src/main/java/uapi/service/ResponseCode.java | Java | gpl-3.0 | 1,491 |
<?php
namespace SHC\Event;
//Imports
use RWF\Date\DateTime;
use RWF\Util\StringUtils;
use SHC\Condition\Condition;
use SHC\Condition\ConditionEditor;
use SHC\Core\SHC;
use SHC\Switchable\Switchable;
use SHC\Switchable\SwitchableEditor;
/**
* Ereignise Verwalten
*
* @author Oliver Kleditzsch
* @copyright ... | agent4788/SHC_Framework | shc/lib/event/eventeditor.class.php | PHP | gpl-3.0 | 39,876 |
/*
* jQuery JavaScript Library v1.10.1
* http://jquery.com/
*
* Includes Sizzle.js
* http://sizzlejs.com/
*
* Copyright 2005, 2013 jQuery Foundation, Inc. and other contributors
* Released under the MIT license
* http://jquery.org/license
*
* Date: 2013-05-30T21:49Z
*/
(function( window, undefined ) {
// C... | michaelBenin/raptor-editor | src/dependencies/jquery.js | JavaScript | gpl-3.0 | 274,078 |
#include <iostream>
using namespace std;
#define FLOAT(name, value) float name = value
#define CONST_FLOAT(name, value) const FLOAT(name, value)
#define VAR_FLOAT(name) FLOAT(name, 0)
#define VAR_INT(name) int name = 0
#define DEFINE_LINEAR_EQUATION(n)\
VAR_FLOAT(a##n);\
VAR_FLOAT(b##n);\
VAR_FLOAT(c##n)\
#define... | NoHomey/FMI-introduction-to-programming-course | homework1/task10.cc | C++ | gpl-3.0 | 4,135 |
/**
* Copyright (C) 2011 Whisper Systems
*
* 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 d... | matlink/SMSSecure | src/org/smssecure/smssecure/recipients/RecipientFactory.java | Java | gpl-3.0 | 4,267 |
/*
* Grakn - A Distributed Semantic Database
* Copyright (C) 2016 Grakn Labs Limited
*
* Grakn 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... | burukuru/grakn | grakn-test/test-integration/src/test/java/ai/grakn/generator/RelationPlayers.java | Java | gpl-3.0 | 1,612 |
package org.janus.miniforth;
import org.janus.data.DataContext;
public class Compare extends WordImpl {
public enum Comp {
EQ, NEQ, LT, GT, LEQ, GEQ
}
Comp comp;
public Compare(Comp comp) {
super(-1);
this.comp = comp;
}
@Override
public void perform(DataContext context) {
super.... | ThoNill/JanusMiniForth | JanusMiniForth/src/org/janus/miniforth/Compare.java | Java | gpl-3.0 | 1,226 |
/*
SuperCollider Qt IDE
Copyright (c) 2012 Jakob Leben & Tim Blechmann
http://www.audiosynth.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 2 of the Licens... | wdkk/iSuperColliderKit | editors/sc-ide/widgets/code_editor/highlighter.hpp | C++ | gpl-3.0 | 3,435 |
/*
* Copyright (C) 2018 The "MysteriumNetwork/node" Authors.
*
* 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.
*
... | MysteriumNetwork/node | core/service/manager.go | GO | gpl-3.0 | 5,078 |
/*
* This file is part of Track It!.
* Copyright (C) 2013 Henrique Malheiro
* Copyright (C) 2015 Pedro Gomes
*
* TrackIt! is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License... | Spaner/TrackIt | src/main/java/com/trackit/business/domain/Folder.java | Java | gpl-3.0 | 2,498 |
<?php namespace eduTrac\Classes\Models;
if ( ! defined('BASE_PATH') ) exit('No direct script access allowed');
/**
* Profile Model
*
* PHP 5.4+
*
* eduTrac(tm) : Student Information System (http://www.7mediaws.org/)
* @copyright (c) 2013 7 Media Web Solutions, LLC
*
* This program is free software; you can re... | vb2005xu/eduTrac | eduTrac/Classes/Models/ProfileModel.php | PHP | gpl-3.0 | 2,264 |
using System;
namespace UnstuckMeLoggers
{
public enum ERR_TYPES_SERVER
{
// if you add one of these please add it in the switch statement to be handled
SERVER_GUI_LOGIN,
SERVER_GUI_LOGOUT,
SERVER_CONNECTION_ERROR,
SERVER_GUI_INTERACTION_ERROR,
SERVER_START,
... | UnstuckME/UnstuckME | UnstuckME/UnstuckMeLoggers/ErrContainerServer.cs | C# | gpl-3.0 | 1,846 |
import discord
import asyncio
import datetime
import time
import aiohttp
import threading
import glob
import re
import json
import os
import urllib.request
from discord.ext import commands
from random import randint
from random import choice as randchoice
from random import choice as rndchoice
from random import shuffl... | IODisrupt/OmegaBot | cogs/runescapecompare.py | Python | gpl-3.0 | 2,978 |
package com.snail.webgame.game.protocal.relation.getRequest;
import org.epilot.ccf.config.Resource;
import org.epilot.ccf.core.processor.ProtocolProcessor;
import org.epilot.ccf.core.processor.Request;
import org.epilot.ccf.core.processor.Response;
import org.epilot.ccf.core.protocol.Message;
import org.slf4j.Logger;
... | bozhbo12/demo-spring-server | spring-game/src/main/java/com/spring/game/game/protocal/relation/getRequest/GetAddRequestProcessor.java | Java | gpl-3.0 | 1,541 |
'use strict';
var ParameterDef = function(object) {
this.id = object.id;
this.summary = object.summary;
this.description = object.description;
this.type = object.type;
this.mandatory = object.mandatory;
this.defaultValue = object.defaultValue;
};
module.exports = ParameterDef;
| linagora/mupee | backend/rules/parameter-definition.js | JavaScript | gpl-3.0 | 292 |
/*******************************************************************************
* Copyright (c) 2000, 2013 IBM Corporation and others.
*
* This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 2.0
* which accompanies this distribution, and is available at
... | Niky4000/UsefulUtils | projects/others/eclipse-platform-parent/eclipse.jdt.core-master/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/JavaElementRequestor.java | Java | gpl-3.0 | 6,654 |
import string
import ast
from state_machine import PSM, Source
class SpecialPattern:
individual_chars = ('t', 'n', 'v', 'f', 'r', '0')
range_chars = ('d', 'D', 'w', 'W', 's', 'S')
special_chars = ('^', '$', '[', ']', '(', ')', '{', '}', '\\', '.', '*',
'?', '+', '|', '.')
rest... | VaysseB/id_generator | src/parser.py | Python | gpl-3.0 | 15,217 |
Fox.define('views/email/fields/from-email-address', 'views/fields/link', function (Dep) {
return Dep.extend({
listTemplate: 'email/fields/from-email-address/detail',
detailTemplate: 'email/fields/from-email-address/detail',
});
});
| ilovefox8/zhcrm | client/src/views/email/fields/from-email-address.js | JavaScript | gpl-3.0 | 261 |
export function Bounds(width, height) {
this.width = width;
this.height = height;
}
Bounds.prototype.equals = function(o) {
return ((o != null) && (this.width == o.width) && (this.height == o.height));
};
| elkonurbaev/nine-e | src/utils/Bounds.js | JavaScript | gpl-3.0 | 219 |
import {
ATTENDANCE_STATUS_CONFIG_ID,
AttendanceStatusType,
NullAttendanceStatusType,
} from "./attendance-status";
import { DatabaseField } from "../../../core/entity/database-field.decorator";
/**
* Simple relationship object to represent an individual child's status at an event including context information.... | NGO-DB/ndb-core | src/app/child-dev-project/attendance/model/event-attendance.ts | TypeScript | gpl-3.0 | 934 |
// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue';
import BootstrapVue from 'bootstrap-vue';
import 'bootstrap-vue/dist/bootstrap-vue.css';
import 'bootstrap/dist/css/bootstrap.css';
import { mapActions } fr... | staskobzar/amiws | web_root_vue/src/main.js | JavaScript | gpl-3.0 | 826 |
#include "hal/time/time.hpp"
namespace hal
{
namespace time
{
static u64 currentTime = 0;
u64 milliseconds()
{
return currentTime;
}
} // namespace time
} // namespace hal
namespace stub
{
namespace time
{
void setCurrentTime(u64 milliseconds)
{
hal::time::currentTime = millise... | matgla/AquaLampWiFiModule | test/UT/src/stub/timeStub.cpp | C++ | gpl-3.0 | 464 |
<?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 | backup/cc/cc_lib/cc_version1.php | PHP | gpl-3.0 | 21,798 |
package com.programandoapasitos.facturador.gui;
import javax.swing.ImageIcon;
import javax.swing.JFrame;
import javax.swing.JMenuBar;
import javax.swing.JMenu;
import javax.swing.JMenuItem;
import javax.swing.JLabel;
import java.awt.event.ActionListener;
import java.awt.event.ActionEvent;
import com.progra... | inazense/java-generate-bills | src/main/java/com/programandoapasitos/facturador/gui/MenuPrincipal.java | Java | gpl-3.0 | 3,783 |
<?php
use Respect\Validation\Validator as DataValidator;
/**
* @api {post} /staff/search-tickets Search tickets
* @apiVersion 4.5.0
*
* @apiName Search tickets
*
* @apiGroup Staff
*
* @apiDescription This path search some tickets.
*
* @apiPermission staff1
*
* @apiParam {String} query Query string to searc... | ivandiazwm/opensupports | server/controllers/staff/search-tickets.php | PHP | gpl-3.0 | 2,810 |
/*
* Lumeer: Modern Data Definition and Processing Platform
*
* Copyright (C) since 2017 Lumeer.io, s.r.o. and/or its affiliates.
*
* 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 ... | Lumeer/web-ui | src/app/view/perspectives/dashboard/search-all/search-all.module.ts | TypeScript | gpl-3.0 | 1,450 |
package com.diggime.modules.email.model.impl;
import com.diggime.modules.email.model.EMail;
import com.diggime.modules.email.model.MailContact;
import org.json.JSONObject;
import java.time.LocalDateTime;
import java.util.List;
import static org.foilage.utils.checkers.NullChecker.notNull;
public class PostmarkEMail ... | drbizzaro/diggime | base/main/src/com/diggime/modules/email/model/impl/PostmarkEMail.java | Java | gpl-3.0 | 5,687 |
/*
* Copyright (C) 2014 Hector Espert Pardo
*
* 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 i... | blackleg/libdam | src/main/java/es/blackleg/libdam/geometry/Circulo.java | Java | gpl-3.0 | 2,177 |
<?php
return [
'facebook' => [
'appId' => '', //application api id for facebook
'appSecret' => '', //application api secret for facebook
'scope' => 'email, user_birthday, publish_actions' //facebook scopes
],
'twitter' => [
'appId' => '', //twitter application consumer key
... | jlorente/social-abstract-client | config/config.php | PHP | gpl-3.0 | 450 |
using System;
using System.Collections.Generic;
using System.Text;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Engine;
using Micropolis.Common;
using Microsoft.ApplicationInsights;
namespace Micropolis.ViewModels
{
public class EvaluationPaneViewModel : BindableBase, Engine.IListener
{
p... | andreasbalzer/MicropolisForWindows | Micropolis.W10/ViewModels/EvaluationPaneViewModel.cs | C# | gpl-3.0 | 24,009 |
<?php
/**
* KR_Custom_Posts
*/
class KR_Custom_Posts extends Odin_Post_Type {
private $_labels = array();
private $_arguments = array();
private $_dashicon = 'dashicons-';
private $_supports = array( 'title', 'editor', 'thumbnail' );
private $_slug;
private $_singular;
private $_plural;
private $_rewr... | abracce/theme-abracce.org.br | app/class/custom-posts.php | PHP | gpl-3.0 | 2,596 |
<?php
/* core/modules/system/templates/block--system-branding-block.html.twig */
class __TwigTemplate_f1b301a70237e4e176f4b41c2721030700b3dd2e5c3f618f2513416e3a699971 extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
// line 1
$this... | acastellon/smtcc | sites/default/files/php/twig/42a2597a_block--system-branding-block.html.twig_c69e55da788ed29c4c90e83e1c7f08c4006237988dbbe9f913bdfe4f6f661444/498169c485adefe3bb313999225832f5bbdd2ab6ac9b397903eae1c54b5b0ab3.php | PHP | gpl-3.0 | 5,470 |
#region using directives
using System;
using PoGo.PokeMobBot.Logic.Event;
using PoGo.PokeMobBot.Logic.Event.Egg;
using PoGo.PokeMobBot.Logic.Event.Fort;
using PoGo.PokeMobBot.Logic.Event.Global;
using PoGo.PokeMobBot.Logic.Event.GUI;
using PoGo.PokeMobBot.Logic.Event.Item;
using PoGo.PokeMobBot.Logic.Event.Logic;
usi... | Lunat1q/Catchem-PoGo | Source/PoGo.PokeMobBot.Logic/StatisticsAggregator.cs | C# | gpl-3.0 | 7,499 |
#pragma warning disable CS1591 // Missing XML comment for publicly visible type or member (no intention to document this file)
namespace RobinHood70.WallE.Base
{
public class AllCategoriesItem
{
#region Constructors
internal AllCategoriesItem(string category, int files, bool hidden, int pages, int size, int subc... | RobinHood70/HoodBot | WallE/Base/Outputs/AllCategoriesItem.cs | C# | gpl-3.0 | 839 |
'''WARCAT: Web ARChive (WARC) Archiving Tool
Tool and library for handling Web ARChive (WARC) files.
'''
from .version import *
| chfoo/warcat | warcat/__init__.py | Python | gpl-3.0 | 130 |
/*
* Symphony - A modern community (forum/SNS/blog) platform written in Java.
* Copyright (C) 2012-2017, b3log.org & hacpai.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 ve... | BrickCat/symphony | src/main/java/org/b3log/symphony/processor/IndexProcessor.java | Java | gpl-3.0 | 21,728 |
/*
Copyright 2011 MCForge
Dual-licensed under the Educational Community License, Version 2.0 and
the GNU General Public License, Version 3 (the "Licenses"); you may
not use this file except in compliance with the Licenses. You may
obtain a copy of the Licenses at
http://www.osedu.org/licenses/ECL-2.0
http:/... | colinodell/mcforge | Commands/CmdMap.cs | C# | gpl-3.0 | 9,301 |
require 'test/unit'
class FizzbuzzTest < Test::Unit::TestCase
# Called before every test method runs. Can be used
# to set up fixture information.
def setup
# Do nothing
end
# Called after every test method runs. Can be used to tear
# down fixture information.
def teardown
# Do nothing
end
... | rogeraaut/rogeraaut.github.io | lang.ruby.d/tests/fizzbuzz_test.rb | Ruby | gpl-3.0 | 688 |
using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using Newegg.Oversea.Silverlight.ControlPanel.Core.Ba... | ZeroOne71/ql | 02_ECCentral/02_Portal/UI/ECCentral.Portal.UI.MKT/NeweggCN/Models/AmbassadorNewsVM.cs | C# | gpl-3.0 | 1,650 |
using ServiceStack.OrmLite;
using System;
using System.Configuration;
using System.Data;
namespace Bm2s.Data.Utils
{
/// <summary>
/// Data access point
/// </summary>
public class Datas
{
/// <summary>
/// Database provider
/// </summary>
private IOrmLiteDialectProvider _dbProvider;
//... | Csluikidikilest/Bm2sServer | Bm2s.Data.Utils/Datas.cs | C# | gpl-3.0 | 2,584 |
/**
* Created by caimiao on 15-6-14.
*/
define(function(require, exports, module) {
exports.hello= function (echo) {
alert(echo);
};
}) | caimmy/prehistory | static/js/js_modules/archjs_tools.js | JavaScript | gpl-3.0 | 154 |
<?php
/**
* @package Joomla.Administrator
* @subpackage com_sciclubpadova
*
* @copyright Copyright (C) 2005 - 2016 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
// No direct access to this file
defined('_JEXEC') or... | lancillot72/JSCE | com_sciclubpadova/site/models/sciclubpadova.php | PHP | gpl-3.0 | 2,647 |
<?php
/** PHPExcel root directory */
if (!defined('PHPEXCEL_ROOT')) {
/**
* @ignore
*/
define('PHPEXCEL_ROOT', dirname(__FILE__) . '/../../');
require(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php');
}
/**
* PHPExcel_Reader_SYLK
*
* Copyright (c) 2006 - 2015 PHPExcel
*
* This library is free software; you can redistribute i... | Aiwings/FNMNS_Formations | assets/PHPExcel/Classes/PHPExcel/Reader/SYLK.php | PHP | gpl-3.0 | 12,367 |
import math
from PyQt5.QtCore import Qt, pyqtSlot
from PyQt5.QtGui import QCloseEvent
from PyQt5.QtWidgets import QDialog, QInputDialog
from urh import settings
from urh.models.FuzzingTableModel import FuzzingTableModel
from urh.signalprocessing.ProtocoLabel import ProtocolLabel
from urh.signalprocessing.ProtocolAnal... | jopohl/urh | src/urh/controller/dialogs/FuzzingDialog.py | Python | gpl-3.0 | 15,833 |
<?php
class ControllerCheckoutRegister extends Controller {
public function index() {
$this->language->load('checkout/checkout');
$this->data['text_checkout_payment_address'] = __('text_checkout_payment_address');
$this->data['text_your_details'] = __('text_your_details');
$this->data['text_your_addre... | maddes/madcart | catalog/controller/checkout/register.php | PHP | gpl-3.0 | 9,487 |