repo_name
stringlengths
4
116
path
stringlengths
4
379
size
stringlengths
1
7
content
stringlengths
3
1.05M
license
stringclasses
15 values
ARIG-Robotique/robots
robot-system-lib-parent/robot-system-lib-core/src/main/java/org/arig/robot/model/Position.java
825
package org.arig.robot.model; import lombok.AllArgsConstructor; import lombok.Data; /** * The Class Position. * <p> * En vu de dessus : * <p> * y (2000) | * | * | * | * | * |---------------------------------- x (3000) * 0,0 * <p> * angle = 0 dans le sens de X dans le sens trigo * * @author gdepuille *...
gpl-3.0
4levity/FastWords
src/com/ijklibrarian/fastwords/NotifyService.java
1163
package com.ijklibrarian.fastwords; import android.app.Notification; import android.app.PendingIntent; import android.app.Service; import android.content.Intent; import android.os.IBinder; import android.os.StrictMode; public class NotifyService extends Service { private static final int ONGOING_NOTIFICATION = 1; ...
gpl-3.0
mozartframework/cms
src/com/mozartframework/mozart/controller/cache/InstanceCreator.java
110
package com.mozartframework.mozart.controller.cache; public interface InstanceCreator<T> { T create(); }
gpl-3.0
woshikie/Just-Another-Magic-Simulator
Just Another Magic Simulator/Assets/Logic/Cards/KLD/L/LathnuHellion.cs
568
using System.Collections; namespace Card { public class LathnuHellion : Card { /* Haste When Lathnu Hellion enters the battlefield, you get {E}{E} (two energy counters). At the beginning of your end step, sacrifice Lathnu Hellion unless you pay {E}{E}. */ private const string UniqueCardName = "Lathnu Hellio...
gpl-3.0
mystyle-platform/mystyle-wp-custom-product-designer
tests/includes/pages/test-mystyle-design-profile-page.php
19117
<?php /** * The MyStyleDesignProfilePageTest class includes tests for testing the * MyStyle_Design_Profile_Page class. * * @package MyStyle * @since 1.4.0 */ /** * Test requirements. */ require_once MYSTYLE_INCLUDES . 'frontend/class-mystyle-frontend.php'; require_once MYSTYLE_PATH . 'tests/mocks/mock-mystyle-...
gpl-3.0
3months/pxfusion
lib/pxfusion/transaction.rb
3989
require "ostruct" require "active_support/core_ext/hash/reverse_merge" class PxFusion::Transaction < OpenStruct def initialize(attributes = {}) attributes.reverse_merge!( username: PxFusion.username, password: PxFusion.password, currency: PxFusion.default_currency, return_url: "https://te...
gpl-3.0
sizuest/EMod
ch.ethz.inspire.emod/src/ch/ethz/inspire/emod/simulation/MachineState.java
652
/*********************************** * $Id$ * * $URL$ * $Author$ * $Date$ * $Rev$ * * Copyright (c) 2011 by Inspire AG, ETHZ * All rights reserved * ***********************************/ package ch.ethz.inspire.emod.simulation; /** * All energy related machine states. Usually, a machine implements a subset ...
gpl-3.0
NCTUGDC/Game-Design-Pattern-Example---TextAdventureGame
TextAdventureGame/TextAdventureGame.Library.General/NPC.cs
714
using MsgPack.Serialization; namespace TextAdventureGame.Library.General { public class NPC { [MessagePackMember(id: 0, Name = "NPC_ID")] public int NPC_ID { get; private set; } [MessagePackMember(id: 1, Name = "Name")] public string Name { get; private set; } [MessageP...
gpl-3.0
lsuits/moodle
mod/turningtech/view.php
3481
<?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. // //...
gpl-3.0
nds/bio_assembly_refinement
bio_assembly_refinement/contig_break_finder.py
8488
''' Find the point at which to break a circular contig (at origin of replication or random gene) Attributes: ----------- fasta_file : input fasta file name gene_file : file with genes (e.g. dnaA) skip : list or file of contig ids to skip (i.e. do not break at gene location) hit_percent_id : min percent identity of ma...
gpl-3.0
FFTEAM/ffteam-neutrino-mp-cst-next-max
src/gui/moviebrowser.cpp
141359
/*************************************************************************** Neutrino-GUI - DBoxII-Project License: GPL 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 th...
gpl-3.0
markgw/jazzparser
src/jazzparser/utils/interface.py
1859
"""Generic interface utilities (e.g. interactive command-line processing). """ """ ============================== License ======================================== Copyright (C) 2008, 2010-12 University of Edinburgh, Mark Granroth-Wilding This file is part of The Jazz Parser. The Jazz Parser is free software: yo...
gpl-3.0
gebner/gapt
core/src/main/scala/at/logic/gapt/provers/viper/grammars/InductiveGrammarFindingMethod.scala
981
package at.logic.gapt.provers.viper.grammars import at.logic.gapt.expr.Expr import at.logic.gapt.grammars.RecursionScheme import at.logic.gapt.proofs.expansion.InstanceTermEncoding import at.logic.gapt.proofs.{ Context, HOLSequent } trait SchematicInductiveProofFindingMethod { def find( endSequent: HOLSequent, enco...
gpl-3.0
Mapleroid/cm-server
server-5.11.0.src/com/cloudera/server/web/cmf/UserSettingsEnum.java
2285
package com.cloudera.server.web.cmf; public enum UserSettingsEnum { SCM_HOSTS_TABLE("com.cloudera.scm.hosts.table"), SCM_HOSTS_FILTER_TABLE("com.cloudera.scm.hosts.filter.table"), SCM_INSTANCES_TABLE("com.cloudera.scm.instances.table"), SCM_INSTANCES_FILTER_TABLE("com.cloudera.scm.instances.fil...
gpl-3.0
Marcin1112/CustomizeExcelRibbon
CustomizeRibbon/src/main/java/ribbonElements/separator/MenuSeparator.java
2405
package ribbonElements.separator; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Map.Entry; import org.w3c.dom.Document; import org.w3c.dom.Element; import ribbonElements.SimpleRibbonContainer; /** * Menu Separator * * @author Marcin * */ pu...
gpl-3.0
geronimo-iia/geva
GEVA/src/Main/Run.java
8820
/* Grammatical Evolution in Java Release: GEVA-v1.0.zip Copyright (C) 2008 Michael O'Neill, Erik Hemberg, Anthony Brabazon, Conor Gilligan Contributors Patrick Middleburgh, Eliott Bartley, Jonathan Hugosson, Jeff Wrigh Separate licences for asm, bsf, antlr, groovy, jscheme, commons-logging, jsci is included in the l...
gpl-3.0
spox/mod_spox
lib/mod_spox/messages/internal/FilterRemove.rb
612
require 'mod_spox/messages/internal/Request' module ModSpox module Messages module Internal class FilterRemove # ModSpox::Filter attr_reader :filter # Type of messages to filter attr_reader :type # filter:: ModSpox::...
gpl-3.0
jonathanverner/comment
hiliteItem.cpp
2617
/** This file is part of project comment * * File: hiliteItem.cpp * Created: 2009-02-13 * Author: Jonathan Verner <jonathan.verner@matfyz.cz> * License: GPL v2 or later * * Copyright (C) 2010 Jonathan Verner <jonathan.verner@matfyz.cz> * * This library is free software; you can redistribute it and/or *...
gpl-3.0
localtube/localtube
mainwindow.cpp
18093
/* Copyright (c) 2015 Clement Roblot This file is part of localtube. Localtube 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. Localtube i...
gpl-3.0
p-gebhard/QuickAnswer
docroot/WEB-INF/src/it/gebhard/qa/service/base/AnswerLocalServiceClpInvoker.java
9198
/** * Copyright (c) 2000-2012 Liferay, Inc. All rights reserved. * * This library is free software; you can redistribute it and/or modify it under * the terms of the GNU Lesser General Public License as published by the Free * Software Foundation; either version 2.1 of the License, or (at your option) * any later...
gpl-3.0
mdarse/Phraseanet
lib/Alchemy/Phrasea/Controller/Admin/DataboxController.php
25272
<?php /* * This file is part of Phraseanet * * (c) 2005-2015 Alchemy * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Alchemy\Phrasea\Controller\Admin; use Alchemy\Phrasea\Application\Helper\UserQueryAware; use Alchemy\P...
gpl-3.0
jayeshnair/ctp
theme/panel/theme-options/typography-buttons.php
701
<?php /** * Your Inspiration Themes * * @package WordPress * @subpackage Your Inspiration Themes * @author Your Inspiration Themes Team <info@yithemes.com> * * This source file is subject to the GNU GENERAL PUBLIC LICENSE (GPL 3.0) * that is bundled with this package in the file LICENSE.txt. * It is also avai...
gpl-3.0
angusmillar/PeterPiper
TestPeterPiper/TestModel/TestAddHocHl7V2Model.cs
73200
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using PeterPiper.Hl7.V2.Model; using PeterPiper.Hl7.V2.Support; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace TestPeterPiper.TestModel { [TestClass] public class UnitTestContentModel...
gpl-3.0
jhonlota/AplGesAdmV2
src/entidades/SubgrupoJpaController.java
2824
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package entidades; import clases.ClaseBaseDatos; import clases.ClaseMensaje; import java.sql.SQLException; import java.util.ArrayList; import javax.swing.DefaultComboBoxModel; /** * * @author Jhon Lopez */ public cl...
gpl-3.0
toto1444/barcode_vulnerability-fuzzing
platform_android/EAN-13 barcode gen project/assets/sample code.java
896
import android.app.Activity; import android.os.Bundle; import android.view.View; import android.widget.TextView; import android.graphics.Typeface; public class AndroidEAN13Activity extends Activity { /** Called when the activity is first created. */ @Override public void onCreate(Bundle ic...
gpl-3.0
alexandervonkurtz/CP2406_Programming2
WEEK8(PRAC7)/cp2406_farrell8_ch11-master/CodeInFigures/Dog.java
125
public class Dog extends Animal { @Override public void speak() { System.out.println("Woof!"); } }
gpl-3.0
kaushal02/CP
Code-Snippets/LCA.cc
2694
vi t[N]; int n, lca[25][N], h[N], start[N], stop[N], tm_; inline bool is_anc(int a, int v) { // determines if a is ancestor of v return start[a] <= start[v] and stop[a] >= stop[v]; } inline int kth_anc(int v, int k) { // returns k'th ancestor of v rep(i,20) { if(k & 1) v = lca[i][v]; k >...
gpl-3.0
hep-mirrors/herwig
Contrib/HiggsPairOL/MEHiggsPairJet.cc
21408
// -*- C++ -*- // // MEHiggsPairJet.cc is a part of Herwig - A multi-purpose Monte Carlo event generator // Copyright (C) 2009-2019 The Herwig Collaboration // // Herwig is licenaaaced under version 2 of the GPL, see COPYING for details. // Please respect the MCnet academic guidelines, see GUIDELINES for details. // //...
gpl-3.0
LoreleiGab/igsis
visual/chamado.ajax.php
754
<?php //Imprime erros com o banco @ini_set('display_errors', '1'); error_reporting(E_ALL); //header( 'Cache-Control: no-cache' ); //header( 'Content-type: application/xml; charset="utf-8"', true ); $con = mysqli_connect('localhost','root','','igsis'); //mysqli_set_charset($con,"utf8"); $cod = mysqli_real_escape_stri...
gpl-3.0
brianmillar/ontropy.org
pages/blog.php
2180
<section id="main"> <?php /* if (isset($_GET["post"])) { $query = "UPDATE POSTS SET VIEWS = VIEWS + 1 WHERE POST_ID = ?"; $stmt = mysqli_prepare($db, $query); mysqli_stmt_bind_param($stmt, "i", $_GET["post"]); mysqli_stmt_execute($stmt); $quer...
gpl-3.0
chg-hou/DawnlightSearch
src/lang/translate_fi.ts
39809
<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE TS> <TS version="2.1" language="fi"> <context> <name>Dialog_Advanced_Setting</name> <message> <location filename="../Ui_advanced_setting_dialog.ui" line="14"/> <source>Advanced Settings</source> <translation type="unfinished"></translation...
gpl-3.0
DOkwufulueze/eth-vue
truffle.js
2383
const bip39 = require("bip39"); const hdkey = require("ethereumjs-wallet/dist/hdkey"); const ProviderEngine = require("web3-provider-engine"); const WalletSubprovider = require("web3-provider-engine/subproviders/wallet.js"); const RPCSubprovider = require("web3-provider-engine/subproviders/rpc.js"); const FilterSubprov...
gpl-3.0
SleepyCreepy/Upside-Down
Assets/Scripts/Scene/MobilePlatforms/TriggerPlatform.cs
335
using System.Collections; using System.Collections.Generic; using UnityEngine; public class TriggerPlatform : MonoBehaviour { [HideInInspector] public bool m_playerDetected = false; void OnTriggerEnter(Collider col) { if (col.tag == "Player") { m_playerDetected = true; ...
gpl-3.0
credentials/irma_assurer
src/org/irmacard/identity/assurer/VerifyClientHandler.java
2758
package org.irmacard.identity.assurer; import io.netty.channel.ChannelFuture; import io.netty.channel.ChannelFutureListener; import io.netty.channel.ChannelHandlerContext; import io.netty.channel.SimpleChannelInboundHandler; import net.sourceforge.scuba.smartcards.CardService; import net.sourceforge.scuba.smartcards....
gpl-3.0
Bruno02468/ver_sua_sala
posteridade/navegante_boletim.py
1028
#!/bin/python import mendel import sys import datetime from urllib.error import HTTPError import re if len(sys.argv) != 3: print("Especifique usuário e senha!") sys.exit(0) login = sys.argv[1] senha = sys.argv[2] ano_atual = datetime.datetime.now().year cookie = mendel.adquirir_cookie(login, senha) if not c...
gpl-3.0
KameLong/AOdia
app/src/main/java/com/kamelong2/aodia/AOdiaIO/FileInfo.java
1167
package com.kamelong2.aodia.AOdiaIO; import java.io.File; public class FileInfo implements Comparable<FileInfo> { private String m_strName; // 表示名 private File m_file; // ファイルオブジェクト // コンストラクタ public FileInfo( String strName, File file ) { m_strName = strNam...
gpl-3.0
Laterus/Darkstar-Linux-Fork
scripts/globals/effects/copy_image.lua
665
----------------------------------- -- -- EFFECT_COPY_IMAGE -- ----------------------------------- require("scripts/globals/status"); ----------------------------------- -- onEffectGain Action ----------------------------------- function onEffectGain(target,effect) target:setMod(MOD_UTSUSEMI, effect...
gpl-3.0
julianmendez/fcalib
src/main/java/de/tudresden/inf/tcs/fcaapi/Expert.java
4920
/** * Interface describing an expert. * @author Baris Sertkaya */ package de.tudresden.inf.tcs.fcaapi; import de.tudresden.inf.tcs.fcaapi.action.ExpertActionListener; /* * FCAAPI: An API for Formal Concept Analysis tools * Copyright (C) 2009 Baris Sertkaya * * This file is part of FCAAPI. * FCAAPI is free so...
gpl-3.0
csebastian2/study
cal/migrations/0003_auto_20151201_0041.py
395
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('cal', '0002_task_description'), ] operations = [ migrations.AlterModelOptions( name='task', options=...
gpl-3.0
mark-burnett/filament-dynamics
unit_tests/numerical/test_utils.py
1229
# Copyright (C) 2010 Mark Burnett # # 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...
gpl-3.0
projectestac/alexandria
html/langpacks/pt/media_youtube.php
1395
<?php // This file is part of Moodle - https://moodle.org/ // // Moodle is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // // Moodle...
gpl-3.0
oliver-johnston/aquarium
scripts/pump.py
801
#!/usr/bin/python3 import sys, argparse from external.AMSpi import AMSpi def main(argv): parser = argparse.ArgumentParser(description="Turn on a pump") parser.add_argument('--pump', type=int) parser.add_argument('--speed', type=int) parser.add_argument('--anticlockwise', default=False, action='store_...
gpl-3.0
kenvandine/snapd
overlord/overlord_test.go
18772
// -*- Mode: Go; indent-tabs-mode: t -*- /* * Copyright (C) 2016-2017 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...
gpl-3.0
CPP0x0B/CPP0x
Chapter04/Test04_36.cc
142
#include <iostream> using namespace std; int main() { int i = 1; double d = 0.1; i /= d; cout << i << endl; return 0; }
gpl-3.0
hs29590/pi_electroplating
barcode_easy.py
1514
import sys import time import threading class ReadFromScanner(): def __init__(self, port): self.hid = { 4: 'S', 5: 'B', 6: 'C', 7: 'D', 8: 'E', 9: 'F', 10: 'G', 11: 'H', 12: 'I', 13: 'J', 14: 'K', 15: 'L', 16: 'M', 17: 'N', 18: 'O', 19: 'P', 20: 'Q', 21: 'R', 22: 'S', 23: 'T', 24: 'U', 25: 'V', 26: 'W', 2...
gpl-3.0
samli6479/Learning
lab9/lab9/StringUtils.java
2650
package lab9; import java.util.regex.Pattern; import java.util.Random; /** Utility function for Strings. * @author Josh Hug */ public class StringUtils { /** To get the style checker to be quiet. */ private static final int ALPHABET_SIZE = 26; /** Random number generator for this class. */ private ...
gpl-3.0
mlistemann/magic-lens-accessibility-maps
lib/webgl-utils.js
2076
// WebGL standard operations function initWebGL(canvas){ var gl = null; var names = ["webgl", "experimental-webgl", "webkit-3d", "moz-webgl"]; for (var i = 0; i < names.length; ++i){ try{ gl = canvas.getContext(names[i], {stencil: true}); } catch(e){} if (gl) break; } if (!gl){ console.log("WebGL...
gpl-3.0
Stormister/Rediscovered-Mod-1.7.10
src/main/java/com/stormister/rediscovered/RenderBlockRedEgg.java
1950
package com.stormister.rediscovered; import net.minecraft.block.Block; import net.minecraft.client.renderer.RenderBlocks; import net.minecraft.client.renderer.tileentity.TileEntityRendererDispatcher; import net.minecraft.world.IBlockAccess; import org.lwjgl.opengl.GL11; import org.lwjgl.opengl.GL12; import cpw.mods....
gpl-3.0
grote/Online-ASP
libgringo/src/claspoutput.cpp
8367
// Copyright (c) 2008, Roland Kaminski // // This file is part of GrinGo. // // GrinGo 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 versio...
gpl-3.0
sneakret/NBTEditor
src/main/java/com/goncalomb/bukkit/nbteditor/nbt/TamedNBT.java
1321
/* * Copyright (C) 2013-2015 Gonçalo Baltazar <me@goncalomb.com> * * This file is part of NBTEditor. * * NBTEditor is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * ...
gpl-3.0
Z-Shang/LoLi
src/LoLi2/loli_typeenv.cpp
570
/* * ===================================================================================== * * Filename: loli_typeenv.cpp * * Description: Type Env of LoLi * * Version: 1.0 * Created: 08/30/2014 06:56:29 PM * Revision: none * Compiler: gcc * * Author: Z.Shan...
gpl-3.0
nsxa/cphp
index.php
1227
<?php ini_set('display_errors',1); ini_set('display_startup_errors',1); $tiempo_inicio = microtime(true); //exec("tracert 8.8.8.8 && exit", $output); //exec('ipconfig /all',$output); //exec('systeminfo',$output); exec('c:/MIEXE.exe'); //print_r($output); $tiempo_fin = microtime(true); echo "Tiempo empleado c...
gpl-3.0
CarlosManuelRodr/wxChaos
libs/wxMSW-3.1.4/src/osx/core/display.cpp
12520
///////////////////////////////////////////////////////////////////////////// // Name: src/osx/core/display.cpp // Purpose: Mac implementation of wxDisplay class // Author: Ryan Norton & Brian Victor // Modified by: Royce Mitchell III, Vadim Zeitlin // Created: 06/21/02 // Copyright: (c) wxWidgets...
gpl-3.0
modemm3/fic
fic-inventory/fic-inventory-business/src/main/java/com/mx/fic/inventory/business/ProviderBean.java
3198
package com.mx.fic.inventory.business; import java.util.ArrayList; import java.util.List; import javax.ejb.Stateless; import javax.ejb.TransactionAttribute; import javax.ejb.TransactionAttributeType; import javax.ejb.TransactionManagement; import javax.ejb.TransactionManagementType; import javax.persistence.EntityExi...
gpl-3.0
fcristini/PPLite2
tests/Powerset/upperbound1.cc
2575
/* Test Pointset_Powerset<PH>::upper_bound_assign(), Pointset_Powerset<PH>::least_upper_bound_assign(). Copyright (C) 2001-2010 Roberto Bagnara <bagnara@cs.unipr.it> Copyright (C) 2010-2017 BUGSENG srl (http://bugseng.com) This file is part of the Parma Polyhedra Library (PPL). The PPL is free software;...
gpl-3.0
kichkasch/pisi
pisiinterfaces.py
5223
""" Provides interfaces (abstract super classes) for generic functionality. This file is part of Pisi. Pisi is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) an...
gpl-3.0
ZeroOne71/ql
02_ECCentral/06_Job_Move/05_PO/IPP.POMgmt.ETA_Monitor/Model/POEntity.cs
1182
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Data; using Newegg.Oversea.Framework.Entity; namespace IPPOversea.POmgmt.Model { public class POEntity { [DataMapping("Sysno", DbType.Int32)] public int SysNo { get; set; } [DataMapping...
gpl-3.0
pastachan/cornellapp
test/utils/cornellutiltest.js
1342
/** * Copyright (c) 2015, Cornellapp. * All rights reserved. * * This source code is licensed under the GNU General Public License v3.0 * license found in the LICENSE file in the root directory of this source * tree. * * * Test file for the cornellutil.js util module. */ var assert = require('assert'), corn...
gpl-3.0
shakabra/web-framework
src/resources/js/github.js
542
$.getJSON('https://api.github.com/users/shakabra/repos?callback=?', function(data) { var repoHTML = ''; $.each(data, function(i, repo) { repoHTML += '<tr>'; repoHTML += '<td><a class="grey-text text-darken-4" href="'+data.html_url+'>'+data.name+'</a>'+'</td>'; re...
gpl-3.0
heikehuan/designPattern-23
src/main/java/event/events/BeginMulticastRegister.java
167
package event.events; /** * Created by ptmind on 2017/9/7. */ public interface BeginMulticastRegister { public void register(BeginMulticastHandler handler); }
gpl-3.0
pdl/BEX
js/bex.textcontainer.js
1322
(function($) { $.widget("bex.bextextcontainer", { options: { pattern: '' }, _create: function() { var self = this; var o = self.options; var el = self.element .addClass("ui-widget ui-widget-content ui-corner-right bex-textcontainer") .click(function(){self.wake()}); return...
gpl-3.0
mhvk/baseband
baseband/mark4/payload.py
18271
# Licensed under the GPLv3 - see LICENSE """ Definitions for VLBI Mark 4 payloads. Implements a Mark4Payload class used to store payload words, and decode to or encode from a data array. For the specification, see https://www.haystack.mit.edu/tech/vlbi/mark5/docs/230.3.pdf """ import sys from collections import named...
gpl-3.0
marianc/python-server-typescript-client
Server/modules/utils/dal/common/entities/dataViews/remoteEntityViewsBase.py
1268
from modules.utils.dal.common.entities.dataViews.dataViewRemoteEntity import DataViewRemoteEntity from modules.utils.dal.common.entities.dataContext import DataContext from modules.utils.dal.common.dtos.dataViewDto import DataViewDto from modules.utils.dal.common.dtos import metadataSrv from modules.utils.dal.comm...
gpl-3.0
john-tornblom/pyrsl
tests/test_intrinsic.py
3871
# encoding: utf-8 # Copyright (C) 2015 John Törnblom import os from utils import RSLTestCase from utils import evaluate_docstring from rsl.runtime import RuntimeException class TestIntrinsic(RSLTestCase): @evaluate_docstring def test_get_env_var(self, rc): ''' .invoke rc = GET_ENV_VAR("PAT...
gpl-3.0
FlyerSky/C_plus_plus
Union_Big-Endian_Little-Endian.cpp
1279
#include "stdafx.h" #include <stdlib.h> #include <stdio.h> #include <iostream> using namespace std; /*********************************************** union ά»¤×ã¹»µÄ¿Õ¼äÀ´Ö÷Ŷà¸öÊý¾Ý³ÉÔ±Öеġ°Ò»ÖÖ¡±£¬ ¶ø²»ÊÇΪÿһ¸öÊý¾Ý³ÉÔ±ÅäÖÿռ䣬ÔÚunion ÖÐËùÓеÄÊý ¾Ý³ÉÔ±¹²ÓÃÒ»¸ö¿Õ¼ä£¬Í¬Ò»Ê±¼äÖ»ÄÜ´¢´æÆäÖÐÒ»¸öÊý¾Ý³ÉÔ±£¬ ËùÓеÄÊý¾Ý...
gpl-3.0
MainScientist/pucapi-java
src/cl/uc/fipezoa/pucapi/callbacks/LoadingCallback.java
225
package cl.uc.fipezoa.pucapi.callbacks; import org.jsoup.helper.StringUtil; /** * Created by fipezoa on 2/2/2016. */ public abstract class LoadingCallback{ public abstract void onProgressChange(Progress progress); }
gpl-3.0
apmuthu/phplist3_php53
core/public_html/lists/config/config_extended.php
37160
<?php /* ========================================================================= General settings for language and database ========================================================================= */ # select the language module to use # Look for <country>.inc files in the texts directory # to find your langua...
gpl-3.0
GlacierSoft/netloan-project
netloan-module/src/main/java/com/glacier/netloan/service/basicdatas/ParameterCreditService.java
9113
package com.glacier.netloan.service.basicdatas; import java.util.Date; import java.util.List; import org.apache.commons.lang3.StringUtils; import org.apache.shiro.SecurityUtils; import org.apache.shiro.subject.Subject; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.st...
gpl-3.0
TeoTwawki/darkstar
scripts/zones/Dynamis-Xarcabard/mobs/Marquis_Decarabia.lua
1279
----------------------------------- -- Area: Dynamis Xarcabard -- MOB: Marquis Decarabia ----------------------------------- local ID = require("scripts/zones/Dynamis-Xarcabard/IDs") mixins = { require("scripts/mixins/dynamis_beastmen"), require("scripts/mixins/job_special") } ---------------------------------...
gpl-3.0
apmoore1/semeval
helper.py
20500
import json import os import math import unitok.configs.english from unitok import unitok as tok import gensim import numpy from scipy.spatial.distance import cosine from sklearn.metrics import mean_absolute_error from sklearn.model_selection import KFold import yaml ### # Configuration helpers ### def __read_...
gpl-3.0
zubryan/CloudM
src/cloudm-invoke/src/main/java/com/github/cloudm/invoke/httpclient/ResolveTemplate.java
3644
package com.github.cloudm.invoke.httpclient; import java.io.FileWriter; import java.io.StringWriter; import java.io.Writer; import java.util.Map; import java.util.Map.Entry; import org.apache.commons.lang.StringUtils; import org.apache.velocity.Template; import org.apache.velocity.VelocityContext; import o...
gpl-3.0
jmm/Site-Catalyst-Utils
template.php
584
<script type="text/javascript" src="site_catalyst_settings.js"></script> <script type="text/javascript" src="site_catalyst.js"></script> <script type="text/javascript"> <?php if ( $page_code[ 'variables' ] ) { echo <<<DOCHERE {$page_code[ 'variables' ]} /************* DO NOT ALTER ANYTHING BELOW THI...
gpl-3.0
ivanamihalek/tcga
icgc/00_data_download/02_download_somatic_files.py
3135
#! /usr/bin/python3 # # This source code is part of icgc, an ICGC processing pipeline. # # Icgc is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later...
gpl-3.0
mailhonor/zcc
auxiliary/mime_type/mime_type.php
1051
<? /* * x-world/x-vrml vrm vrml wr */ $suffixs = Array(); $mts = explode("\n", str_replace("\r", "", file_get_contents("/etc/mime.types"))); foreach ($mts as $mt) { $mt = trim($mt); if ($mt == "") { continue; } if($mt[0] == "#") { continue; } $mt = str_replace("\t", " ", $m...
gpl-3.0
masterucm1617/botzzaroni
BotzzaroniDev/src/icaro/aplicaciones/agentes/AgenteAplicacionContexto/tools/ConversacionBotzza.java
8467
package icaro.aplicaciones.agentes.AgenteAplicacionContexto.tools; import java.util.ArrayList; import java.util.HashMap; import java.util.List; public class ConversacionBotzza { private static HashMap<String,List<String>> conversacion; static{ conversacion = new HashMap<String, List<String>>(); List<Stri...
gpl-3.0
mattsimpson/entrada-1x
www-root/core/modules/admin/clerkship/index.inc.php
21739
<?php /** * Entrada [ http://www.entrada-project.org ] * * Entrada 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. * * Entrada ...
gpl-3.0
codeguy007/CameraControl
CameraControl/CameraControl_DevSrc-2013-07-24/CameraControl_Proshots/nikon-camera-control/PortableDeviceLib/TreeNode.cs
3221
#region License /* TreeNode.cs Copyright (C) 2009 Vincent Lainé This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. Thi...
gpl-3.0
DavidBreuer/CytoSeg
tests/test.py
1464
################################################################################ # Module: test.py # Description: Test imports and network extraction # License: GPL3, see full license in LICENSE.txt # Web: https://github.com/DavidBreuer/CytoSeg ###########################################################################...
gpl-3.0
projectestac/alexandria
html/langpacks/eu/block_badges.php
1441
<?php // This file is part of Moodle - https://moodle.org/ // // Moodle is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // // Moodle...
gpl-3.0
iDigBio/Biospex
app/Services/Process/PanoptesTranscriptionProcess.php
6828
<?php /* * Copyright (C) 2015 Biospex * biospex@gmail.com * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * ...
gpl-3.0
Kithio/Thallus
src/main/java/com/kithio/thallus/reference/GUIs.java
69
package com.kithio.thallus.reference; public enum GUIs { TEST }
gpl-3.0
blktechies/pCeep
app/views/__init__.py
96
from form import CommentForm, PostForm, ProfileForm, MessageForm, WelcomeForm import main, post
gpl-3.0
TIY-Durham/TIY-Contacts
api/test/models/email_address_test.rb
126
require 'test_helper' class EmailAddressTest < ActiveSupport::TestCase # test "the truth" do # assert true # end end
gpl-3.0
weloxux/Overchan-Android
src/nya/miku/wishmaster/chans/chan420/Chan420Module.java
9034
/* * Overchan Android (Meta Imageboard Client) * Copyright (C) 2014-2015 miku-nyan <https://github.com/miku-nyan> * * 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 o...
gpl-3.0
KULeuven-KRR/IDP
src/theory/transformations/RewriteIntoPatterns.hpp
6650
/**************************************************************** * Copyright 2010-2012 Katholieke Universiteit Leuven * * Use of this software is governed by the GNU LGPLv3.0 license * * Written by Broes De Cat, Stef De Pooter, Johan Wittocx * and Bart Bogaerts, K.U.Leuven, Departement Computerwetenschappen, ...
gpl-3.0
m0sk1t/react_email_editor
src/components/BlockList.js
3057
import React from 'react'; import Block from './Block'; import { connect } from 'react-redux'; import { rmBlock, addBlock, swapBlocks, setVisible, selectBlock } from '../actions'; const mapStateToProps = (state) => { return { common: state.common, template: state.template, components: state.components, }; }; ...
gpl-3.0
xpclove/autofp
diffpy/pyfullprof/irfreader.py
5279
#!/usr/bin/env python ############################################################################## # # diffpy.pyfullprof by DANSE Diffraction group # Simon J. L. Billinge # (c) 2010 Trustees of the Columbia University # in the City of New York. All rights reserve...
gpl-3.0
greenriver/hmis-warehouse
db/warehouse/migrate/20210223011452_index_income_fields.rb
314
class IndexIncomeFields < ActiveRecord::Migration[5.2] def change add_index :IncomeBenefits, :InformationDate add_index :IncomeBenefits, [:Earned, :DataCollectionStage], name: 'idx_earned_stage' add_index :IncomeBenefits, [:IncomeFromAnySource, :DataCollectionStage], name: 'idx_any_stage' end end
gpl-3.0
RushuiGuan/mvvm
Albatross.MVVM/Views/Converters/NullVisibilityConverter.cs
1258
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Data; namespace Albatross.MVVM.Views { /// <summary> /// Return the visibility based on if the item is null or not /// </summary> public class NullVisibilit...
gpl-3.0
shakshin/oradev
Config.cs
4617
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Xml.Serialization; namespace oradev { [Serializable] [XmlRootAttribute("OracleDeveloperConfiguation")] ...
gpl-3.0
wp-plugins/business-website-helper
business-website-helper.php
19084
<?php /* Plugin Name: Business Website Helper for WordPress Version: 1.0.3 Plugin URI: https://justaddcontent.com/free-business-website-helper-plugin-wordpress/ Description: A helper to quickly get your business website up and running on any self-hosted WordPress install with the best in class plugins. Author: Just Add...
gpl-3.0
dkogan/emacs-snapshot
test/lisp/cedet/semantic-utest-ia-resources/testjavacomp.java
1923
// testjavacomp.java --- Semantic unit test for Java // Copyright (C) 2009-2022 Free Software Foundation, Inc. // Author: Eric M. Ludlam <zappo@gnu.org> // This file is part of GNU Emacs. // GNU Emacs is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public Licens...
gpl-3.0
ZeroOne71/ql
02_ECCentral/02_Portal/UI/ECCentral.Portal.UI.SO/Facades/SOPendingFacade.cs
1863
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 ECCentral.Portal.Basic.Utilities; using Newegg....
gpl-3.0
interspiresource/interspire
catalog/language/vi-VN/account/newsletter.php
521
<?php /** * @package Arastta eCommerce * @copyright Copyright (C) 2015 Arastta Association. All rights reserved. (arastta.org) * @license GNU General Public License version 3; see LICENSE.txt */ // Heading $_['heading_title'] = 'Đăng ký nhận bản tin'; // Text $_['text_account'] = 'Tài khoản'; $_['text_ne...
gpl-3.0
sonidosmutantes/apicultor
apicultor/machine_learning/quality.py
9212
#!/usr/bin/env python3 # -*- coding: UTF-8 -*- from ..constraints.dynamic_range import dyn_constraint_satis from ..utils.algorithms import * from ..sonification.Sonification import normalize, write_file import numpy as np from scipy.fftpack import fft, ifft, fftfreq from scipy.signal import lfilter, fftconvolve, firwi...
gpl-3.0
Guts/DicoGIS
dicogis/georeaders/gdal_exceptions_handler.py
1779
#! python3 # noqa: E265 # ############################################################################## # ########## Libraries ############# # ################################## # Standard library import logging # 3rd party libraries from osgeo import gdal, ogr # #################################################...
gpl-3.0
ardinusawan/Sistem_Terdistribusi
PublicSubcibe/onManajer.py
12096
__author__ = 'Indra Gunawan' import os import socket import threading import re import time import subprocess hapus = True local_ip = ('192.168.0.24') local_port = 8000 currdir=os.path.abspath('.') class FTPserverThread(threading.Thread): def __init__(self,(conn,addr)): self.conn=conn self.addr=ad...
gpl-3.0
writeameer/moodle
course/yui/toolboxes/toolboxes.js
30330
YUI.add('moodle-course-toolboxes', function(Y) { WAITICON = {'pix':"i/loading_small",'component':'moodle'}; // The CSS selectors we use var CSS = { ACTIVITYLI : 'li.activity', COMMANDSPAN : 'span.commands', SPINNERCOMMANDSPAN : 'span.commands', CONTENTAFTERLINK : 'div.content...
gpl-3.0
bluebottle/is.idega.idegaweb.block.pheidippides
src/java/is/idega/idegaweb/pheidippides/data/BankReference.java
1726
package is.idega.idegaweb.pheidippides.data; import java.io.Serializable; import java.text.NumberFormat; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.JoinColumn;...
gpl-3.0
hamadmarri/Biscuit
main/java/com/biscuit/factories/SprintsCompleterFactory.java
1956
package com.biscuit.factories; import java.util.ArrayList; import java.util.List; import com.biscuit.models.Project; import com.biscuit.models.services.Finder; import jline.console.completer.ArgumentCompleter; import jline.console.completer.Completer; import jline.console.completer.NullCompleter; import jline.consol...
gpl-3.0