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
/*************************************************************************** * Project file: NPlugins - NTalk - TimedFilter.java * * Full Class name: fr.ribesg.bukkit.ntalk.filter.bean.TimedFilter * * * * ...
Ribesg/NPlugins
NTalk/src/main/java/fr/ribesg/bukkit/ntalk/filter/bean/TimedFilter.java
Java
gpl-3.0
1,459
/* * 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 net.projectzombie.regionrotation.modules; import com.sk89q.worldguard.bukkit.WGBukkit; import com.sk89q.worldedit.LocalWorld; ...
jmbannon/RegionRotation
src/main/java/net/projectzombie/regionrotation/modules/RegionWorld.java
Java
gpl-3.0
1,404
package com.plutomc.power.common.blocks; import com.plutomc.core.common.blocks.BlockMetal; import com.plutomc.power.Power; import com.plutomc.power.common.tileentities.TileEntityCombustionEngine; import com.plutomc.power.init.BlockRegistry; import com.plutomc.power.init.GuiHandler; import net.minecraft.block.ITileEnti...
plutomc/power
src/main/java/com/plutomc/power/common/blocks/BlockCombustionEngine.java
Java
gpl-3.0
3,925
<?php /** * @author YIThemes * @package WooCommerce/Templates * @version 1.6.4 */ global $post; echo '<div class="options_group">'; // Active custom onsale $active = get_post_meta($post->ID, '_active_custom_onsale', true); woocommerce_wp_checkbox( array( 'id' => '_active_cus...
zgomotos/Bazar
woocommerce/admin/custom-onsale.php
PHP
gpl-3.0
4,599
package nl.jappieklooster; import java.util.logging.ConsoleHandler; import java.util.logging.Level; import java.util.logging.Logger; /** * Wraps arround the java.util.logging.Logger, just to save some typing time. & it makes all the * loging go trough here so sutting it down is easy * * @author jappie */ public ...
jappeace/hw-isad2gp-groovy
src/nl/jappieklooster/Log.java
Java
gpl-3.0
1,848
#ifndef SHRIMPS_EVENT_GENERATOR_BASE_H #define SHRIMPS_EVENT_GENERATOR_BASE_H #include "SHRiMPS/Eikonals/Omega_ik.H" namespace SHRIMPS { class Event_Generator_Base { protected: Omega_ik * p_eikonal; double m_smin; public: Event_Generator_Base(): p_eikonal(NULL),m_smin(0.) {} ~Event_Generator...
cms-externals/sherpa
SHRiMPS/Event_Generation/Event_Generator_Base.H
C++
gpl-3.0
630
/** * JSONDB - JSON Database Manager * * Manage JSON files as databases with JSONDB Query Language (JQL) * * This content is released under the GPL License (GPL-3.0) * * Copyright (c) 2016, Centers Technologies * * @package JSONDB * @author Nana Axel * @copyright Copyright (c) 2016, Centers Technolog...
na2axl/jsondb-js
src/Cache.js
JavaScript
gpl-3.0
1,980
# Cucumber no longer supplies this file. It is here until we figure out if we should get rid of it or keep it # TL;DR: YOU SHOULD DELETE THIS FILE # # This file was generated by Cucumber-Rails and is only here to get you a head start # These step definitions are thin wrappers around the Capybara/Webrat API that lets y...
IntersectAustralia/anznn
features/step_definitions/web_steps.rb
Ruby
gpl-3.0
7,327
import com.google.common.collect.MapDifference; import com.google.common.collect.Maps; import com.google.common.reflect.TypeToken; import com.google.gson.*; import com.thoughtworks.xstream.XStream; import com.thoughtworks.xstream.io.xml.DomDriver; import edu.pitt.isg.Converter; import edu.pitt.isg.dc.TestConvertDatsToJ...
midas-isg/digital-commons
src/test/java/DatasetValidatorTest.java
Java
gpl-3.0
37,788
from couchpotato.api import addApiView from couchpotato.core.event import addEvent, fireEvent, fireEventAsync from couchpotato.core.helpers.encoding import ss from couchpotato.core.helpers.request import jsonified from couchpotato.core.logger import CPLog from couchpotato.core.plugins.base import Plugin from couchpotat...
jayme-github/CouchPotatoServer
couchpotato/core/_base/updater/main.py
Python
gpl-3.0
14,024
package com.success.txn.jpa.repos; import java.util.Date; import javax.persistence.EntityManager; import javax.persistence.criteria.CriteriaBuilder; import javax.persistence.criteria.CriteriaQuery; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired;...
btamilselvan/tamils
springtxn/src/main/java/com/success/txn/jpa/repos/RepetableReadRepo.java
Java
gpl-3.0
2,233
/* MapleLib - A general-purpose MapleStory library * Copyright (C) 2009, 2010, 2015 Snow and haha01haha01 * 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 Lice...
haha01haha01/MapleLib
WzLib/WzProperties/WzStringProperty.cs
C#
gpl-3.0
3,632
/* * Copyright (c) 2011 Nicholas Okunew * All rights reserved. * * This file is part of the com.atomicleopard.webelemental library * * The com.atomicleopard.webelemental library is free software: you * can redistribute it and/or modify it under the terms of the GNU * Lesser General Public Lic...
atomicleopard/WebElemental
src/main/java/com/atomicleopard/webelemental/ElementMatchers.java
Java
gpl-3.0
3,429
<?php /*************************************************************************** * db.php * ------------------- * begin : Saturday, Feb 13, 2001 * copyright : (C) 2001 The phpBB Group * email : support@phpbb...
CATtelecomProjects/BIS
db/db.php
PHP
gpl-3.0
3,290
package edu.casetools.icase.mreasoner.gui.model.io; import java.io.BufferedReader; import java.io.FileReader; import java.io.IOException; public class FileReaderModel { FileReader fileReader = null; BufferedReader br = null; public void open(String fileName){ try { fileReader = new FileR...
ualegre/mreasoner-gui
mreasoner-gui/src/main/java/edu/casetools/icase/mreasoner/gui/model/io/FileReaderModel.java
Java
gpl-3.0
830
package alexiil.mc.mod.load.baked.render; import org.lwjgl.opengl.GL11; import net.minecraft.client.gui.FontRenderer; import alexiil.mc.mod.load.render.MinecraftDisplayerRenderer; import buildcraft.lib.expression.api.IExpressionNode.INodeDouble; import buildcraft.lib.expression.api.IExpressionNode.INodeLong; import...
AlexIIL/CustomLoadingScreen
src/main/java/alexiil/mc/mod/load/baked/render/BakedTextRender.java
Java
gpl-3.0
2,497
package eu.siacs.conversations.persistance; import android.annotation.TargetApi; import android.content.ContentResolver; import android.content.Context; import android.content.Intent; import android.database.Cursor; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.graphics.Canvas; ...
andre-hub/Conversations
src/main/java/eu/siacs/conversations/persistance/FileBackend.java
Java
gpl-3.0
34,726
<?php /** * Handler Registry * * @package Quark-Framework * @version $Id: handlerregistry.php 69 2013-01-24 15:14:45Z Jeffrey $ * @author Jeffrey van Harn <Jeffrey at lessthanthree.nl> * @since December 15, 2012 * @copyright Copyright (C) 2012-2013 Jeffrey van Harn. All rights reserved. * @license http://...
jvanharn/QuarkFramework
system/framework/extensions/handlerregistry.php
PHP
gpl-3.0
4,477
<?php /* * ******************************************************************** * Customization Services by ModulesGarden.com * Copyright (c) ModulesGarden, INBS Group Brand, All Rights Reserved * (2014-11-12, 10:35:44) * * * CREATED BY MODULESGARDEN -> http://modulesgarden.com * CONTA...
QiuLihua83/Magento_with_some_popular_mods
app/code/community/Modulesgarden/Base/Model/Adminnotification/Item.php
PHP
gpl-3.0
1,257
// port.js class SingleData { constructor (port, order, type, value) { this.port = port this.order = order this.type = type this.value = value } } export let inputVariables = [] export let countVariables = [] // Add a new port export function Add (countInputPort) { countInputPort++ inputVaria...
cy92830/DataTypeGUI
src/scripts/port1.js
JavaScript
gpl-3.0
4,832
<?PHP require_once("website.php"); $adminModuleUtils->checkAdminModule(MODULE_FORM); $mlText = $languageUtils->getMlText(__FILE__); $warnings = array(); $formSubmitted = LibEnv::getEnvHttpPOST("formSubmitted"); if ($formSubmitted) { $formId = LibEnv::getEnvHttpPOST("formId"); $name = LibEnv::getEnvHttpPOST(...
stephaneeybert/learnintouch
modules/form/duplicate.php
PHP
gpl-3.0
2,253
// DXQuake3 Source // Copyright (c) 2003 Richard Geary (richard.geary@dial.pipex.com) // // // Useful Utilities for DQ // #include "stdafx.h" //'a'-'A' = 97 - 65 = 32 #define DQLowerCase( in ) ( ( (in)>='a' && (in)<='z' ) ? (in)-32 : (in) ) //Copy pSrc to pDest up to null terminating char or MaxLength /...
coltongit/dxquake3
code/utils.cpp
C++
gpl-3.0
10,161
function createDownloadLink(data,filename,componentId){ let a = document.createElement('a'); a.href = 'data:' + data; a.download = filename; a.innerHTML = 'Export'; a.class = 'btn' let container = document.getElementById(componentId); container.appendChild(a);...
alvcarmona/efficiencycalculatorweb
effcalculator/frontend/assets/js/utils.js
JavaScript
gpl-3.0
678
/* To Do: Fix Reverse Driving Make only one side fire (right) */ /* Copyright (c) 2014, 2015 Qualcomm Technologies Inc All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted (subject to the limitations in the disclaimer below) provided that...
NeonRD1/FTC772
ftc_app-master/TeamCode/src/main/java/org/firstinspires/ftc/teamcode/Autonomous.java
Java
gpl-3.0
11,732
/*root_check.c */ #include <ctype.h> #include <errno.h> #include <fcntl.h> #include <limits.h> #include <linux/input.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <sys/stat.h> #include <sys/statfs.h> #include <sys/types.h> #include <time.h> #include <unistd.h> #include <dirent.h> #include "com...
MTK6580/walkie-talkie
ALPS.L1.MP6.V2_HEXING6580_WE_L/alps/bootable/recovery/root_check.cpp
C++
gpl-3.0
49,261
<?php /** * Zend Framework * * LICENSE * * This source file is subject to the new BSD license that is bundled * with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://framework.zend.com/license/new-bsd * If you did not receive a copy of the license an...
jvianney/SwiftHR
Zend/View/Helper/HtmlElement.php
PHP
gpl-3.0
4,330
<?php namespace Neos\Neos\TYPO3CR\Transformations; /* * This file is part of the Neos.Neos package. * * (c) Contributors of the Neos Project - www.neos.io * * This package is Open Source Software. For the full copyright and license * information, please view the LICENSE file which was distributed with this * so...
hhoechtl/neos-development-collection
Neos.Neos/Classes/TYPO3CR/Transformations/ImageVariantTransformation.php
PHP
gpl-3.0
6,680
/* * Copyright (C) 2013 The OmniROM Project * * 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 ...
OmniEvo/android_frameworks_base
packages/SystemUI/src/com/android/systemui/tuner/SeekBarPreference.java
Java
gpl-3.0
3,019
 using System; using System.Web; using System.Web.Routing; using System.Drawing; using System.Drawing.Imaging; using Meridian59.Files.BGF; namespace Meridian59.BgfService { /// <summary> /// /// </summary> public class FileRouteHandler : IRouteHandler { public FileRouteHandler() {...
MorbusM59/meridian59-dotnet
Meridian59.BgfService/App_Code/FileHttpHandler.cs
C#
gpl-3.0
8,579
<?php require('../core.php'); $act=explode('/',$_REQUEST['action']); $db=$app->conn[0]; $tbl='tbl_grupo'; switch($act[0]){ case 'create': if($app->acl(103)){ $record = json_decode(html_entity_decode(file_get_contents('php://input'),ENT_COMPAT,'utf-8'),true); if($db->AutoExec...
openvinci/openvinci
data/group.php
PHP
gpl-3.0
1,942
/* * Copyright (C) 2015 Max Planck Institute for Psycholinguistics * * 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 versi...
TheLanguageArchive/ASV
metadata-browser-hybrid/src/main/java/nl/mpi/metadatabrowser/services/cmdi/impl/res/cmdi2html.js
JavaScript
gpl-3.0
1,134
package com.example.channelmanager; /** * Created by Administrator on 2017/2/7. * 频道列表 */ public class ProjectChannelBean { private String topicid; // 设置该标签是否可编辑,如果出现在我的频道中,且值为1,则可在右上角显示删除按钮 private int editStatus; private String cid; private String tname; private String ename; // 标签类型,...
liaozhoubei/NetEasyNews
channelmanager/src/main/java/com/example/channelmanager/ProjectChannelBean.java
Java
gpl-3.0
1,956
/** Template Controllers @module Templates */ /** The execute contract template @class [template] elements_executeContract @constructor */ Template['elements_executeContract'].onCreated(function(){ var template = this; // Set Defaults TemplateVar.set('sending', false); // show execute part if its ...
EarthDollar/ed-meteor-dapp-wallet
app/client/templates/elements/executeContract.js
JavaScript
gpl-3.0
11,818
/* * Copyright (C) 2016 Douglas Wurtele * * 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 di...
dougwurtele/Army-Tracker
src/main/java/org/wurtele/ArmyTracker/models/enumerations/AbsenceStatusType.java
Java
gpl-3.0
857
package org.zarroboogs.weibo.widget.galleryview; import android.annotation.TargetApi; import android.content.Context; import android.os.Build; import android.util.FloatMath; import android.view.MotionEvent; import android.view.ScaleGestureDetector; import android.view.ScaleGestureDetector.OnScaleGestureListener; impo...
MehmetNuri/Beebo
app/src/main/java/org/zarroboogs/weibo/widget/galleryview/VersionedGestureDetector.java
Java
gpl-3.0
8,826
/*************************************************************************** * Copyright (C) 2011-2017 Alexander V. Popov. * * This file is part of Molecular Dynamics Trajectory * Reader & Analyzer (MDTRA) source code. * * MDTRA source code is free software; you can redistribute it and/or * modify it under the term...
MrXaeroX/MDTRA
src/mdtra_resultDialog.cpp
C++
gpl-3.0
14,044
package com.github.ypid.complexalarm; import java.io.IOException; import java.io.InputStream; import java.util.Scanner; import android.content.Context; import android.content.res.AssetManager; import android.util.Log; import com.evgenii.jsevaluator.JsEvaluator; import com.evgenii.jsevaluator.JsFunctionCallFormatter;...
ypid/ComplexAlarm
src/com/github/ypid/complexalarm/OpeningHours.java
Java
gpl-3.0
4,883
# -*- coding: utf-8 -*- #------------------------------------------------------------------------------ # file: $Id$ # auth: metagriffin <mg.github@uberdev.org> # date: 2012/04/20 # copy: (C) Copyright 2012-EOT metagriffin -- see LICENSE.txt #-----------------------------------------------------------------------------...
metagriffin/pysyncml
pysyncml/change/__init__.py
Python
gpl-3.0
1,255
/** * Copyright (c) 2000-2004 Liferay, LLC. All rights reserved. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use,...
austindlawless/dotCMS
src/com/dotmarketing/portlets/mailinglists/action/ViewMailingListsAction.java
Java
gpl-3.0
8,207
/* * Copyright (c) 2017 OBiBa. All rights reserved. * * This program and the accompanying materials * are made available under the terms of the GNU Public License v3.0. * * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. *...
Rima-B/mica2
mica-core/src/main/java/org/obiba/mica/core/service/SchemaFormContentFileService.java
Java
gpl-3.0
5,584
Bitrix 17.0.9 Business Demo = e475d0cd490d83505c54e6cec1c3d6ed
gohdan/DFC
known_files/hashes/bitrix/modules/bizproc/install/activities/bitrix/webhookactivity/lang/en/webhookactivity.php
PHP
gpl-3.0
63
<?php /* Smarty version Smarty-3.1.19, created on 2017-09-23 12:35:41 compiled from "/var/www/html/admin240x2hjae/themes/default/template/page_header_toolbar.tpl" */ ?> <?php /*%%SmartyHeaderCode:61757368659c68d5d8d2e84-70988510%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed'); $_valid = $_smarty...
rjpalermo1/paymentsandbox_ps
src/app/cache/dev/smarty/compile/d6/5a/ae/d65aaeae6f3a1059b7e9527adddd1e40bec16718.file.page_header_toolbar.tpl.php
PHP
gpl-3.0
14,335
/** * * This file is part of Tulip (www.tulip-software.org) * * Authors: David Auber and the Tulip development Team * from LaBRI, University of Bordeaux * * Tulip 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 Sof...
jukkes/TulipProject
unit_test/library/tulip/testPlugin2.cpp
C++
gpl-3.0
1,069
"""Test class for Custom Sync UI :Requirement: Sync :CaseAutomation: Automated :CaseLevel: Acceptance :CaseComponent: Repositories :TestType: Functional :CaseImportance: High :Upstream: No """ from fauxfactory import gen_string from nailgun import entities from robottelo import manifests from robottelo.api.util...
omaciel/robottelo
tests/foreman/ui/test_sync.py
Python
gpl-3.0
5,811
<?php $L['Alerts_Title'] = 'Allarmi personalizzati'; $L['Alerts_Description'] = 'Allarmi personalizzati da ${0}'; $L['Alerts_header'] = 'Allarmi personalizzati da ${0}'; $L['Alerts_Configure_header'] = 'Configura download automatico'; $L['Update_Alerts_label'] = 'Scarica allarmi personalizzati'; $L['Refresh_label'] =...
NethServer/nethserver-lang
locale/it/server-manager/NethServer_Module_Alerts.php
PHP
gpl-3.0
1,563
// dependencies define(['mvc/ui/ui-tabs', 'mvc/ui/ui-misc', 'mvc/ui/ui-portlet', 'utils/utils', 'plugin/models/chart', 'plugin/models/group', 'plugin/views/group', 'plugin/views/settings', 'plugin/views/types'], function(Tabs, Ui, Portlet, Utils, Chart, Group, GroupView, SettingsView, TypesView) { ...
mikel-egana-aranguren/SADI-Galaxy-Docker
galaxy-dist/config/plugins/visualizations/charts/static/views/editor.js
JavaScript
gpl-3.0
9,412
/** * This file is part of RT2D, a 2D OpenGL framework. * * - Copyright 2017 Rik Teerling <rik@onandoffables.com> * - Initial commit */ #include "canvas.h" Canvas::Canvas() : Entity() { this->init(16); } Canvas::Canvas(int pixelsize) : Entity() { this->init(pixelsize); } Canvas::~Canvas() { } void...
rktrlng/rt2d
rt2d/canvas.cpp
C++
gpl-3.0
2,543
<?php namespace App\Services\Geografico\ObterOsc; use App\Services\BaseService; use App\Dao\Geografico\GeolocalizacaoDao; class Service extends BaseService{ public function executar(){ $conteudoRequisicao = $this->requisicao->getConteudo(); $modelo = new Model($conteudoRequisicao); if($modelo->obterCodi...
Plataformas-Cidadania/portalosc
app/Services/Geografico/ObterOsc/Service.php
PHP
gpl-3.0
795
package com.dank.festivalapp.lib; import android.content.Context; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import android.database.sqlite.SQLiteOpenHelper; import android.util.Log; public class DataBaseHelper extends SQLiteOpenHelper{ //The Android's default system path of...
dankl/festivalapp-lib
src/com/dank/festivalapp/lib/DataBaseHelper.java
Java
gpl-3.0
1,650
// -*- Mode: Go; indent-tabs-mode: t -*- /* * Copyright (C) 2019-2020 Canonical Ltd * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License version 3 as * published by the Free Software Foundation. * * This program is distributed in the hop...
chipaca/snappy
gadget/install/partition.go
GO
gpl-3.0
10,175
// ---------------------------------------------------------------------- // File: VersionedHashRevisionTracker.cc // Author: Georgios Bitzes - CERN // ---------------------------------------------------------------------- /************************************************************************ * quarkdb - a redis-l...
gbitzes/quarkdb
src/storage/VersionedHashRevisionTracker.cc
C++
gpl-3.0
3,494
package ems.server.protocol; import ems.server.domain.Device; import ems.server.domain.EventSeverity; import ems.server.domain.EventType; import ems.server.utils.EventHelper; import java.text.DateFormat; import java.text.SimpleDateFormat; import java.util.Date; import java.util.TimeZone; /** * EventAwareResponseHa...
thebaz73/ems-server
src/main/java/ems/server/protocol/EventAwareResponseHandler.java
Java
gpl-3.0
1,600
<?php /* COPYRIGHT 2008 - see www.milliondollarscript.com for a list of authors This file is part of the Million Dollar Script. Million Dollar Script is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, eithe...
LauraHilliger/hufemap
include/ads.inc.php
PHP
gpl-3.0
21,673
// binary_frame.go /* Binary Frame Tool. Version: 0.1.1. Date of Creation: 2018-01-28. Author: McArcher. This is a simple Tool which draws a binary Frame around the Content. A Frame consists of logical Ones (1) and has a Spacer of Zeroes (0). So, --- XXX XXX --- Becomes something with a binary Frame w...
legacy-vault/tests
go/binary_frame/2/binary_frame.go
GO
gpl-3.0
29,039
#!/usr/bin/env python2 # -*- coding: utf-8 -*- """ Created on Wed Sep 20 13:37:16 2017 Author: Peiyong Jiang : jiangpeiyong@impcas.ac.cn Function: 旋转使得变换。 """ import matplotlib.pyplot as plt import tensorflow as tf import numpy as np plt.close('all') emitX=12 alphaX=-10. betaX=13. gammaX=(1.+alphaX**2)/...
iABC2XYZ/abc
DM_Twiss/TwissTrain9.py
Python
gpl-3.0
1,927
<?php theme()->render("2column-right", [ ["Header", "top"], ["Post", "content"], ["Comments", "content"], ["SidebarRight", "right"], ["Footer", "bottom"] ]);
erikkubica/netlime-starter-theme-v2
single.php
PHP
gpl-3.0
177
/* This file is part of Arkhados. Arkhados 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. Arkhados is distributed in the hope that...
TripleSnail/Arkhados
src/arkhados/spell/buffs/info/MineralArmorInfo.java
Java
gpl-3.0
2,655
jQuery(document).ready(function(){ if( $('.cd-stretchy-nav').length > 0 ) { var stretchyNavs = $('.cd-stretchy-nav'); stretchyNavs.each(function(){ var stretchyNav = $(this), stretchyNavTrigger = stretchyNav.find('.cd-nav-trigger'); stretchyNavTrigger.on('click', function(event){ event.prevent...
GobiernoFacil/agentes-v2
public/js/main.js
JavaScript
gpl-3.0
716
#include "precomp.h" #include "stdinc.h" #include "io_sfen.h" #include "commandpacket.h" namespace godwhale { const CommandPacket::CharSeparator CommandPacket::ms_separator(" ", ""); CommandPacket::CommandPacket(CommandType type) : m_type(type), m_positionId(-1), m_position(false) { } CommandPacket::CommandPack...
ebifrier/godwhale
src/commandpacket.cpp
C++
gpl-3.0
9,268
using System; using System.Collections.Generic; using System.Linq; using System.Text; using UnityEngine; using KSP; namespace panelfar { public static class PANELFARMeshSimplification { //Take the raw part geometry and simplify it so that further simplification of the entire vessel is faster p...
ferram4/PANELFAR
PANELFAR/PANELFARMeshSimplification.cs
C#
gpl-3.0
15,504
import threading import asyncio async def hello(): print('Hello world! (%s)' % threading.currentThread()) await asyncio.sleep(1) print('Hello again! (%s)' % threading.currentThread()) loop = asyncio.get_event_loop() tasks = [hello(), hello()] loop.run_until_complete(asyncio.wait(tasks)) loop.cl...
IIIIIIIIll/sdy_notes_liaoxf
LiaoXueFeng/as_IO/async_await.py
Python
gpl-3.0
325
#include <iostream> #include <string> class Shape { public : virtual void draw (void) = 0; static Shape *Create (std::string type); }; class circle : public Shape { public : void draw(void){ std::cout << "circle" << std::endl; } }; class square : public Shape { public : void draw(void){ std::cout ...
selvagit/experiments
computing/cpp/factory_method.cpp
C++
gpl-3.0
709
/* Author: Juan Rada-Vilela, Ph.D. Copyright (C) 2010-2014 FuzzyLite Limited All rights reserved This file is part of fuzzylite. fuzzylite 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 ver...
senabhishek/fuzzyliteAndSwift
FuzzyLiteTemplate/fuzzylite/src/defuzzifier/IntegralDefuzzifier.cpp
C++
gpl-3.0
1,554
""" Tests are performed against csr1000v-universalk9.03.15.00.S.155-2.S-std. """ import unittest from iosxe.iosxe import IOSXE from iosxe.exceptions import AuthError node = '172.16.92.134' username = 'cisco' password = 'cisco' port = 55443 class TestIOSXE(unittest.TestCase): def setUp(self): self.xe = ...
bobthebutcher/iosxe
tests/test_iosxe.py
Python
gpl-3.0
1,026
//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 that it will be useful, //but...
huggle/huggle3-qt-lx
src/huggle_core/apiqueryresult.hpp
C++
gpl-3.0
3,741
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = versionTransform; var _path2 = require('path'); var _path3 = _interopRequireDefault(_path2); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } var packagePath = _path3.defa...
cassiane/KnowledgePlatform
Implementacao/nodejs-tcc/node_modules/babel-plugin-version-transform/lib/index.js
JavaScript
gpl-3.0
675
from __future__ import absolute_import from pywb.framework.wbrequestresponse import WbResponse, WbRequest from pywb.framework.archivalrouter import ArchivalRouter from six.moves.urllib.parse import urlsplit import base64 import socket import ssl from io import BytesIO from pywb.rewrite.url_rewriter import SchemeOn...
pombredanne/pywb
pywb/framework/proxy.py
Python
gpl-3.0
16,139
/* Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'image', 'eo', { alertUrl: 'Bonvolu tajpi la retadreson de la bildo', alt: 'Anstataŭiga Teksto', border: 'Bordero', btnUpload: 'Sendu al Servilo...
tsmaryka/hitc
public/javascripts/ckeditor/plugins/image/lang/eo.js
JavaScript
gpl-3.0
1,029
/** * Copyright (c) 2010-11 The AEminium Project (see AUTHORS file) * * This file is part of Plaid Programming Language. * * Plaid Programming Language is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Founda...
AEminium/AeminiumRuntime
src/aeminium/runtime/tools/benchmark/RTBench.java
Java
gpl-3.0
2,591
<h1><?php the_issuu_message('Document'); ?></h1> <form action="" method="post" id="document-upload"> <input type="hidden" name="name" value="<?= $doc->name; ?>"> <table class="form-table"> <tbody> <tr> <th><label for="title"><?php the_issuu_message('Title'); ?></label></th> <td><input type="text" ...
wp-plugins/issuu-panel
menu/documento/forms/update.php
PHP
gpl-3.0
3,277
#include "component.h" #include "entity.h" namespace entity { Component::Component(Entity* parent) : QObject(parent) { if (parent != NULL) { parent->addComponent(this); } } } uint qHash(entity::HashableComponent* key, uint seed) { return key == 0 ? 0 : key->hash(seed); }
alaineman/PowerGrid
src/EntityFramework/entity/component.cpp
C++
gpl-3.0
312
import java.util.List; import java.util.LinkedList; import java.util.ArrayList; import java.util.Arrays; import java.io.File; import java.io.BufferedReader; import java.io.FileReader; import java.util.Scanner; import java.io.IOException; import java.io.FileNotFoundException; import java.lang.NumberFormatException; impo...
pworkshop/FanReg
tools/FanMapMaker.java
Java
gpl-3.0
4,595
# -*- coding: utf-8 -*- import os from pygal import * def listeEuler(f, x0, y0, pas, n): x, y, L = x0, y0, [] for k in range(n): L += [(x, y)] x += pas y += pas * f(x, y) return L def euler(f, x0, y0, xf, n): pas = (xf - x0) / n courbe = XY() courbe.title = "Methode ...
NicovincX2/Python-3.5
Analyse (mathématiques)/Analyse fonctionnelle/Équation différentielle/euler.py
Python
gpl-3.0
468
vti_encoding:SR|utf8-nl vti_timelastmodified:TW|14 Aug 2014 12:39:17 -0000 vti_extenderversion:SR|12.0.0.0 vti_author:SR|Office-PC\\Rafael vti_modifiedby:SR|Office-PC\\Rafael vti_timecreated:TR|01 Nov 2014 09:09:36 -0000 vti_backlinkinfo:VX| vti_nexttolasttimemodified:TW|14 Aug 2014 12:39:17 -0000 vti_cacheddtm:TX|03 N...
Vitronic/kaufreund.de
admin/language/english/openbay/_vti_cnf/amazonus_overview.php
PHP
gpl-3.0
753
// Copyright © 2014, 2015, Travis Snoozy // // 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 di...
Travis-Snoozy/AffordableHomeAutomation
c/pawn-testtool/main.cpp
C++
gpl-3.0
7,041
import {Injectable} from '@angular/core'; import {SnackBarService} from './snack-bar.service'; import {LangChangeEvent, TranslateService} from '@ngx-translate/core'; @Injectable({ providedIn: 'root' }) export class TranslatableSnackBarService { /** * @param snackBarService * @param translateService */ ...
h-da/geli
app/webFrontend/src/app/shared/services/translatable-snack-bar.service.ts
TypeScript
gpl-3.0
1,580
import { AccessToken, Project, User, UserFeatureFlag, UserRole } from '@dev/translatr-model'; import { map } from 'rxjs/operators'; // General export const isAdmin = (user?: User): boolean => user !== undefined && user.role === UserRole.Admin; // Users export const hasCreateUserPermission = () => map(isAdmin); exp...
resamsel/translatr
ui/libs/translatr-sdk/src/lib/shared/permissions.ts
TypeScript
gpl-3.0
3,518
package com.bytezone.diskbrowser.nufx; import java.io.IOException; import java.nio.file.Files; import java.nio.file.Path; import java.util.ArrayList; import java.util.List; import com.bytezone.diskbrowser.prodos.write.DiskFullException; import com.bytezone.diskbrowser.prodos.write.FileAlreadyExistsException; import c...
dmolony/DiskBrowser
src/com/bytezone/diskbrowser/nufx/Binary2.java
Java
gpl-3.0
3,371
package componentes; import javax.swing.JTextField; import javax.swing.text.AttributeSet; import javax.swing.text.BadLocationException; import javax.swing.text.PlainDocument; public class JTextFieldPrazo extends PlainDocument { /** * */ private static final long serialVersionUID = -80208526622585137...
DiegoEveling/RHFacil
src/componentes/JTextFieldPrazo.java
Java
gpl-3.0
1,557
using System; using System.IO; using System.Linq; namespace FocalLengthAnalyzer { public class Program { public void Main(string[] args) { if (args.Count()<1) { Console.WriteLine("Please pass the path to the directory with jpeg files as the first argument."); ...
mkorz/FocalLengthAnalyzer
src/FocalLengthAnalyzer/Program.cs
C#
gpl-3.0
641
#!/usr/bin/env python # -*- coding: utf-8 -*- import os import argparse import pprint import proteindf_bridge as bridge import logging import logging.config def get_rest_of_frame_molecule(frame_molecule, selected_molecule): # calc the rest selector = bridge.Select_AtomGroup(selected_molecule) selected ...
ProteinDF/ProteinDF_bridge
scripts/brd-restructure.py
Python
gpl-3.0
2,717
package se.vidstige.jadb; import se.vidstige.jadb.managers.Bash; import java.io.*; import java.util.ArrayList; import java.util.List; public class JadbDevice { public enum State { Unknown, Offline, Device, Recovery, BootLoader }; private final String serial; p...
Echtzeitsysteme/mindroid
impl/serverApp/src/main/java/se/vidstige/jadb/JadbDevice.java
Java
gpl-3.0
7,644
import RPi.GPIO as GPIO KnockPin = 11 LedPin = 12 Led_status = 1 def setup(): GPIO.setmode(GPIO.BOARD) # Numbers GPIOs by physical location GPIO.setup(LedPin, GPIO.OUT) # Set LedPin's mode is output GPIO.setup(KnockPin, GPIO.IN, pull_up_down=GPIO.PUD_UP) GPIO.output(LedPin, GPIO.HIGH) # Set LedPin high(...
bicard/raspberrypi
quad-store-sensors/37in1/knock-rgb-led-smd.py
Python
gpl-3.0
1,005
/* * Copyright (c) 2016 The Ontario Institute for Cancer Research. All rights reserved. * * This program and the accompanying materials are made available under the terms of the...
icgc-dcc/dcc-submission
dcc-submission-server/src/main/java/org/icgc/dcc/submission/server/repository/UserRepository.java
Java
gpl-3.0
2,841
#!/usr/bin/python # -*- coding: utf-8 -*- # Copyright (C) 2018 David Arroyo Menéndez # Author: David Arroyo Menéndez <davidam@gnu.org> # Maintainer: David Arroyo Menéndez <davidam@gnu.org> # This file is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as p...
davidam/python-examples
basics/leap.py
Python
gpl-3.0
1,385
/* * 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 Code.Domain; /** * * @author Andres Orduz Grimaldo */ public class Jornada { private int id; private String no...
LayneGranados/Colegios
GestionColegios/Codigo/GestionColegiosCliente/src/Code/Domain/Jornada.java
Java
gpl-3.0
950
<?php /* * Copyright (c) 2013 Algolia * http://www.algolia.com/ * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use...
rayrutjes/wc-order-search-admin
libs/vendor/algolia/algoliasearch-client-php/src/AlgoliaSearch/ClientContext.php
PHP
gpl-3.0
7,874
<?php /* @var $this yii\web\View */ use yii\data\ActiveDataProvider; use yii\widgets\ListView; /* @var $books array */ /* @var $book \app\models\Books */ /* @var $booksPhotos \app\models\BooksPhotos */ /* @var $booksDataProvider ActiveDataProvider */ /* @var $popularBooksDataProvider ActiveDataProvider */ $this->tit...
coding-books/website
views/site/index.php
PHP
gpl-3.0
2,499
function drawChart(len){ var box = document.createElement('div'); box.setAttribute('style','width:500px;height:500px;border:1px solid black;display:flex;flex-direction:column'); for(var i=0; i<len; i++){ var row = document.createElement('div'); if(i<len-1){ row.setAttribute('style','...
shashankKeshava/effective-enigma
jobCrunch/chess.js
JavaScript
gpl-3.0
1,186
package com.tage.rpgutil.client.gui; import net.minecraftforge.client.event.RenderGameOverlayEvent; import cpw.mods.fml.common.eventhandler.Cancelable; import cpw.mods.fml.common.eventhandler.Event; import cpw.mods.fml.common.eventhandler.EventPriority; @Cancelable public class GuiHealth extends Event { public st...
T4ge/RPGUtils
src/main/java/com/tage/rpgutil/client/gui/GuiHealth.java
Java
gpl-3.0
386
using System; using System.Linq; using System.Collections.Generic; using System.Reflection; using System.Xml; using log4net; using System.ComponentModel; using System.Xml.Serialization; using System.Text; using System.IO; using common; using jm726.lib.wrapper; using jm726.lib.wrapper.logger; namespace jm726.lib.wrappe...
JohnMcCaffery/RoutingIsland
Source/Diagrams/jm726.lib/Wrapper/Logger/XmlLogWriter.cs
C#
gpl-3.0
7,090
/*! \file \author Igor Mironchik (igor.mironchik at gmail dot com). Copyright (c) 2017 Igor Mironchik 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...
igormironchik/3Dtree
3Dtree/camera_controller.hpp
C++
gpl-3.0
1,494
# Copyright 2015 Allen Institute for Brain Science # This file is part of Allen SDK. # # Allen SDK is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, version 3 of the License. # # Allen SDK is distributed in the ...
wvangeit/AllenSDK
allensdk/api/queries/biophysical_perisomatic_api.py
Python
gpl-3.0
12,180
/* eslint-disable no-self-assign */ import Game from '../../../../gui/html/js/game'; import { Plugin } from '../../../../gui/html/js/plugin'; import Translator from '../../../../gui/html/js/translator'; jest.mock('../../../../gui/html/js/dom'); jest.mock('../../../../gui/html/js/filters'); describe('Game', () => { ...
silentdark/loot
src/tests/gui/html/js/test_game.ts
TypeScript
gpl-3.0
21,385
# == Schema Information # # Table name: causes # # id :integer not null, primary key # name :string not null # description :string # image_id :integer # created_at :datetime not null # updated_at :datetime not null # require 'rails_helper' RSpec.describe C...
LuizEdgar/SerVoluntarioAPI
spec/models/cause_spec.rb
Ruby
gpl-3.0
403
<?php /** * The template part for displaying single archive from hospital posts * * @package Twenty-Sixteen-Child * * */ ?> <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>> <header class="entry-header"> <?php the_title( sprintf( '<h2 class="entry-title-hospital"><a href="%s" rel="bookmark">', e...
umeshramya/Twenty-Sixteen-Hospital
template-parts/content-reviews-archive.php
PHP
gpl-3.0
906
#!/usr/bin/env python # # This file is protected by Copyright. Please refer to the COPYRIGHT file # distributed with this source distribution. # # This file is part of GNUHAWK. # # GNUHAWK is free software: you can redistribute it and/or modify is under the # terms of the GNU General Public License as published by ...
RedhawkSDR/integration-gnuhawk
components/sig_source_i/tests/test_sig_source_i.py
Python
gpl-3.0
4,531
#include "trayicon.h" #include <QApplication> #include <QMenu> #include <QTimer> #include <conf/addressgroup.h> #include <conf/appgroup.h> #include <conf/confmanager.h> #include <conf/firewallconf.h> #include <form/controls/mainwindow.h> #include <fortsettings.h> #include <manager/hotkeymanager.h> #include <manager/w...
tnodir/fort
src/ui/form/tray/trayicon.cpp
C++
gpl-3.0
15,320
package at.ltd.tools.fw.peer2peerFirewall.backend.entities.comparator; @FunctionalInterface public interface ComparatorLambda<T> { int comp(T t1, T t2); }
a-frankdank/peer2peerFirewall
peer2peerFirewall-pom/peer2peerFirewall-backend-poc/src/main/java/at/ltd/tools/fw/peer2peerFirewall/backend/entities/comparator/ComparatorLambda.java
Java
gpl-3.0
163
// Obdi - a REST interface and GUI for deploying software // Copyright (C) 2014 Mark Clarkson // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at yo...
mclarkson/obdi-saltkeymanager
go/saltkeys.go
GO
gpl-3.0
4,629