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
<?php use Phalcon\Di\FactoryDefault; error_reporting(E_ALL); define('APP_PATH', realpath('..')); try { /** * The FactoryDefault Dependency Injector automatically register the right services providing a full stack framework */ $di = new FactoryDefault(); /** * Read services */ in...
acidopal/crud_phalcon
public/index.php
PHP
gpl-3.0
740
# Copyright (C) 2015-2016 Daniel Sel # # 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 i...
tumi8/sKnock
server/version.py
Python
gpl-3.0
1,225
<?php namespace Tests\Feature; use stdClass; use Tests\TestCase; use App\Models\Submission; use App\Events\SubmissionCreated; use App\Events\SubmissionUpdated; use Illuminate\Http\UploadedFile; use Illuminate\Support\Facades\Event; use App\Core\Connect\ConnectorsRepository; use App\Core\Connect\Connectors\SubmissionsC...
swiftmade/ssas-core
tests/Feature/OpenRosaTest.php
PHP
gpl-3.0
4,413
//////////////////////////////////////////////////////////////////// // // // Part of this source file is taken from Virtual Choreographer // http://virchor.sourceforge.net/ // // File pg-draw.cpp // // // This program is free software; you can redistribute it and/or // modify it under the terms of the ...
yukao/Porphyrograph
LYM-sources/SourcesBerfore18/Porphyrograph-geneMuse-src/pg-draw.cpp
C++
gpl-3.0
147,112
import { Component, OnInit, Inject } from '@angular/core'; import { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material'; @Component({ selector: 'app-remove-quantity', templateUrl: './remove-quantity.component.html', styleUrls: ['./remove-quantity.component.css'] }) export class RemoveQuantityComponent imple...
sumnercreations/ceilings
src/app/quantity/remove-quantity/remove-quantity.component.ts
TypeScript
gpl-3.0
598
/**************************************************************************** ** ** Copyright (C) 2016 The Qt Company Ltd. ** Contact: https://www.qt.io/licensing/ ** ** This file is part of the test suite of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:GPL-EXCEPT$ ** Commercial License Usage ** Licensees holding valid comm...
geminy/aidear
oss/qt/qt-everywhere-opensource-src-5.9.0/qtandroidextras/tests/auto/qandroidjniobject/tst_qandroidjniobject.cpp
C++
gpl-3.0
43,144
// *********************************************************************************************** // * * // * createMenu.cpp - creates application menus * // * ...
rsieger/PanXML
trunk/Sources/ApplicationCreateMenu.cpp
C++
gpl-3.0
7,803
package l2s.gameserver.network.l2.s2c; import l2s.gameserver.model.Creature; /** * 0000: 3f 2a 89 00 4c 01 00 00 00 0a 15 00 00 66 fe 00 ?*..L........f.. * 0010: 00 7c f1 ff ff .|... * * format dd ddd */ public class ChangeWaitTypePacket extends L2GameServerPacket { priv...
pantelis60/L2Scripts_Underground
gameserver/src/main/java/l2s/gameserver/network/l2/s2c/ChangeWaitTypePacket.java
Java
gpl-3.0
890
/* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be use...
TcM1911/clinote
write_test.go
GO
gpl-3.0
4,176
#region Copyright & License Information /* * Copyright 2007-2014 The OpenRA Developers (see AUTHORS) * This file is part of OpenRA, which is free software. It is made * available to you under the terms of the GNU General Public License * as published by the Free Software Foundation. For more information, * see COP...
166MMX/OpenRA
OpenRA.Mods.RA/AI/HackyAI.cs
C#
gpl-3.0
30,524
#!/usr/bin/env python # coding=utf-8 # Copyright (C) 2014 by Serge Poltavski # # serge.poltavski@gmail.com # # # # This program is free software; you can redistribute...
uliss/pddoc
pddoc/pdpainter.py
Python
gpl-3.0
2,655
package main import ( "io/ioutil" "log" "os" "strconv" "time" "github.com/openlab-aux/golableuchtung" serial "github.com/huin/goserial" ) func main() { if len(os.Args) != 5 { log.Fatal("invalid number of arguments") } leucht := lableuchtung.LabLeucht{} c := &serial.Config{ Name: "/dev/ttyACM0", ...
openlab-aux/golableuchtung
serialcli/leucht.go
GO
gpl-3.0
784
<? /** * @license http://www.mailcleaner.net/open/licence_en.html Mailcleaner Public License * @package mailcleaner * @author Olivier Diserens * @copyright 2006, Olivier Diserens */ /** * needs some defaults */ require_once ("system/SystemConfig.php"); class Pie { /** * file name * @var string *...
MailCleaner/MailCleaner
www/classes/view/graphics/Pie.php
PHP
gpl-3.0
4,573
# SSH proxy forward and remote shell __author__ = "Frederico Martins" __license__ = "GPLv3" __version__ = 1 from getpass import getpass from paramiko import AutoAddPolicy, SSHClient, ssh_exception class SSH(object): proxy = None def __init__(self, host, user, password=None, port=22): self.host = ...
flippym/toolbox
ssh-streaming.py
Python
gpl-3.0
1,573
<?php // Define queries inside of the reports array. // !! IMPORTANT: Make sure queries do not have a semicolon ';' at the end so the pagination will work. $reports = array(); $reports['default'] = "SELECT username,full_name,email,date_created,active,login_date from users";
PyrousNET/TorchFramework
reports/users.php
PHP
gpl-3.0
276
import os, json, random from utils import * import collections class FileDataBaseException(Exception): pass def update_dict_recursively(d, u): for k, v in u.iteritems(): if isinstance(v, collections.Mapping): r = update_dict_recursively(d.get(k, {}), v) d[k] = r else: ...
makseq/testarium
testarium/filedb.py
Python
gpl-3.0
6,170
package lejos.utility; import lejos.hardware.LCD; /** * This class has been developed to use it in case of you have * to tests leJOS programs and you need to show in NXT Display data * but you don't need to design a User Interface. * * This class is very useful to debug algorithms in your NXT brick. * ...
SnakeSVx/ev3
Lejos/src/main/java/lejos/utility/DebugMessages.java
Java
gpl-3.0
2,602
<?php /** * @license http://opensource.org/licenses/gpl-license.php GNU Public License * @link https://github.com/bderidder/ldm-guild-website */ namespace LaDanse\RestBundle\Controller\GameData; use LaDanse\RestBundle\Common\AbstractRestController; use LaDanse\RestBundle\Common\JsonResponse; use LaDanse\RestB...
bderidder/ldm-guild-website
src/LaDanse/RestBundle/Controller/GameData/RealmResource.php
PHP
gpl-3.0
1,963
"use strict"; var path = require("path"); var fs = require("fs"); var sourceMap = require('source-map'); var sourceMaps = {}; var coffeeMaps = {}; var registered = false; function registerErrorHandler() { if (registered) return; registered = true; function mungeStackFrame(frame) { if (frame.isNative()) return; ...
phun-ky/heritage
node_modules/neo4j/node_modules/streamline/lib/compiler/underscored.js
JavaScript
gpl-3.0
7,491
RSpec.describe Admission::Status do def privilege context @fake_privilege_klass ||= Struct.new(:context, :inherited) @fake_privilege_klass.new context end describe '#new' do it 'sets privileges to nil' do instance = Admission::Status.new :person, nil, :rules, :arbiter expect(instance).t...
doooby/admission
spec/unit/status_spec.rb
Ruby
gpl-3.0
2,166
<?php class ControllerSettingSetting extends Controller { private $error = array(); public function index() { $this->load->language('setting/setting'); $this->document->setTitle($this->language->get('heading_title')); $this->load->model('setting/setting'); if (($this->request->server['REQ...
dinoweb/lead_store
local/admin/controller/setting/setting.php
PHP
gpl-3.0
47,643
package com.wordpress.marleneknoche.sea.logic; import static org.junit.Assert.assertEquals; import static org.junit.Assert.*; import java.util.HashMap; import java.util.Map; import org.junit.Before; import org.junit.Test; public class NucleobaseCounterTest { private NucleobaseCounter nucleobaseCounter; private s...
Sanguinik/sea
src/test/java/com/wordpress/marleneknoche/sea/logic/NucleobaseCounterTest.java
Java
gpl-3.0
1,956
package com.gavinflood.edumate; import java.util.ArrayList; import java.util.List; import java.util.Vector; import android.app.Activity; import android.app.Dialog; import android.app.ListActivity; import android.content.Context; import android.content.Intent; import android.database.Cursor; import android...
gavinflud/edumate
src/com/gavinflood/edumate/Assignments.java
Java
gpl-3.0
15,858
/* * SkyTube * Copyright (C) 2018 Ramon Mifsud * * 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 (version 3 of the License). * * This program is distributed in the hope that it will be u...
ram-on/SkyTube
app/src/main/java/free/rm/skytube/businessobjects/YouTube/POJOs/YouTubeAPI.java
Java
gpl-3.0
2,605
package nl.knaw.huygens.tei; /* * #%L * VisiTEI * ======= * Copyright (C) 2011 - 2017 Huygens ING * ======= * 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 * Li...
HuygensING/visitei
src/main/java/nl/knaw/huygens/tei/Entities.java
Java
gpl-3.0
1,302
package org.hofapps.tinyplanet; import android.content.Context; import android.util.AttributeSet; /** * Created by fabian on 02.11.2015. */ public class RangeSeekBar extends android.support.v7.widget.AppCompatSeekBar { private static final int ARRAY_MIN_POS = 0; private static final int ARRAY_MAX_POS = 1;...
hollaus/TinyPlanetMaker
app/src/main/java/org/hofapps/tinyplanet/RangeSeekBar.java
Java
gpl-3.0
1,322
class CheckPoint extends MasterBlock { constructor(heading, x, y, moving, rotating) { super("img/blocks/ellenorzo.png", heading, x, y, moving, rotating) this._hit = false } get_newDir(dir) { this._hit = true return [dir] } hitStatus() { return this._hit ...
Sch-Tomi/light-breaker
dev_js/blocks/checkpoint.js
JavaScript
gpl-3.0
326
class ColophonController < ApplicationController def chapter @chapters = Chapter.order("title ASC").all end def who @all_chapters = Chapter.order("title ASC").all end def how end def funding end def highlights end def community @social = Social.where('start_time > ?',Time.now).first @gi...
goodfornothing/goodfornothing
app/controllers/colophon_controller.rb
Ruby
gpl-3.0
3,394
require 'package' class A2png < Package description 'Converts plain ASCII text into PNG bitmap images.' homepage 'https://sourceforge.net/projects/a2png/' version '0.1.5-1' compatibility 'all' source_url 'https://sourceforge.net/projects/a2png/files/a2png/0.1.5/a2png-0.1.5.tar.bz2' source_sha256 'd3ae1c771...
cstrouse/chromebrew
packages/a2png.rb
Ruby
gpl-3.0
1,586
"use strict"; var validMoment = require('../helpers/is-valid-moment-object'); module.exports = function (value, dateFormat) { if (!validMoment(value)) return value; return value.format(dateFormat); };
matfish2/vue-tables-2
compiled/filters/format-date.js
JavaScript
gpl-3.0
206
<?php // Load the plugin files and fire a startup action require_once(dirname(__FILE__) . "/plugins.php"); startup(); require_once(dirname(__FILE__) . "/config.php"); _load_language_file("/index.inc"); /** * * Login page, self posts to become management page * * @author Patrick Lockley * @version 1.0 * @cop...
sdc/xerte
index.php
PHP
gpl-3.0
11,968
using Hurricane.Music.Playlist; using Hurricane.Music.Track; namespace Hurricane.Music.Data { public class TrackPlaylistPair { public PlayableBase Track { get; set; } public IPlaylist Playlist { get; set; } public TrackPlaylistPair(PlayableBase track, IPlaylist playlist) { ...
Alkalinee/Hurricane
Hurricane/Music/Data/TrackPlaylistPair.cs
C#
gpl-3.0
397
/* * Copyright (C) 2013 Mamadou DIOP * Copyright (C) 2013 Doubango Telecom <http://www.doubango.org> * License: GPLv3 * This file is part of the open source SIP TelePresence system <https://code.google.com/p/telepresence/> */ #include "opentelepresence/OTMixerMgr.h" #include "opentelepresence/OTMixerMgrAudio.h" ...
Fossa/teleprescence
source/OTMixerMgr.cc
C++
gpl-3.0
3,445
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright (C) 2015-2017 Stephane Caron <stephane.caron@normalesup.org> # # This file is part of fip-walkgen # <https://github.com/stephane-caron/fip-walkgen>. # # fip-walkgen is free software: you can redistribute it and/or modify it under # the terms of the GNU General...
stephane-caron/dynamic-walking
wpg/com_control/__init__.py
Python
gpl-3.0
1,231
package org.sapia.corus.client.services.deployer.dist; import static org.sapia.corus.client.services.deployer.dist.ConfigAssertions.attributeNotNullOrEmpty; import java.io.File; import java.io.Serializable; import java.util.ArrayList; import java.util.Arrays; import java.util.HashMap; import java.util.List; import ja...
sapia-oss/corus
modules/client/src/main/java/org/sapia/corus/client/services/deployer/dist/BaseJavaStarter.java
Java
gpl-3.0
10,837
package org.voyanttools.trombone.tool.corpus; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertTrue; import java.io.IOException; import java.util.List; import org.junit.Test; import org.voyanttools.trombone.model.DocumentToken; import org.voyanttools.trombone.storage.Storage; import ...
sgsinclair/trombone
src/test/java/org/voyanttools/trombone/tool/corpus/DocumentTokensTest.java
Java
gpl-3.0
3,879
package com.example.solomon; import android.annotation.SuppressLint; import android.graphics.Color; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.util.Log; import android.widget.TextView; import com.estimote.mustard.rx_goodness.rx_requirements_wizard.Requirement; import com...
beia/beialand
projects/solomon/Android/Solomon/app/src/main/java/com/example/solomon/MainActivity.java
Java
gpl-3.0
13,065
/* ** Taiga ** Copyright (C) 2010-2014, Eren Okka ** ** 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 pr...
halfa/taiga
src/ui/dlg/dlg_about.cpp
C++
gpl-3.0
6,076
<?php define('a1cms', 'energy', true); define('akina', 'photohost', true); define('root', substr(dirname( __FILE__ ), 0, -14)); if (!$_COOKIE['PHPSESSID'] or preg_match('/^[a-z0-9]{26}$/', $_COOKIE['PHPSESSID']))//если куки нет совсем или идентификатор нормальный session_start(); include_once root.'sys/config.p...
sal3/a1cms
plugins/images/index.php
PHP
gpl-3.0
2,918
# THIS FILE IS PART OF THE CYLC WORKFLOW ENGINE. # Copyright (C) NIWA & British Crown (Met Office) & Contributors. # # 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 Licen...
oliver-sanders/cylc
tests/integration/utils/__init__.py
Python
gpl-3.0
1,157
package com.gmail.mrphpfan; import com.gmail.mrphpfan.mccombatlevel.calculator.JavaScriptCalculator; import com.gmail.mrphpfan.mccombatlevel.calculator.LevelCalculator; import com.gmail.nossr50.config.Config; import com.gmail.nossr50.datatypes.player.PlayerProfile; import com.gmail.nossr50.datatypes.skills.PrimarySkil...
games647/McCombatLevel
src/test/java/com/gmail/mrphpfan/CalculationTest.java
Java
gpl-3.0
2,019
<?php define("LOG_LEVEL", -1); /* quality assurance */ define("DEBUG_MSG", false); //define("REQUEST_URI", $_SERVER["REQUEST_URI"]); # root directory //define("REQUEST_URI", substr($_SERVER["REQUEST_URI"], LENGTH)); # replace LENGTH with (path-length) to avoid useless function call define("REQUEST_URI", ($_SERVER["SCR...
wilaheng/wila
index.php
PHP
gpl-3.0
755
namespace MQCloud.Transport.Implementation { internal class ThematicOperationResponse<T> : ThematicMessage<T> { public int CallbackId { get; set; } } }
mqcloud/csharp
Transport/TransportAPI/Implementation/ThematicOperationResponse.cs
C#
gpl-3.0
167
var inherit = function(){ $('*[inherit="source"]').change(function(){ $.get('/admin/libio/variety/hierarchy/' + $(this).val(), function(data){ $('*[inherit="target"]').each(function(key, input){ var id = $(input).prop('id'); var fieldName = id.substring(id.ind...
libre-informatique/SymfonyLibrinfoVarietiesBundle
src/Resources/public/js/inherit.js
JavaScript
gpl-3.0
651
using System.Collections; using System.Collections.Generic; using BaiRong.Core; using SiteServer.CMS.Core; using SiteServer.CMS.Model; namespace SiteServer.CMS.ImportExport { public class SiteTemplateManager { private readonly string _rootPath; private SiteTemplateManager(string rootPath) ...
kk141242/siteserver
source/SiteServer.CMS/ImportExport/SiteTemplateManager.cs
C#
gpl-3.0
9,736
<?php function smarty_function_chart_date_range($params, &$smarty) { global $L; $name_id = $params["name_id"]; $default = $params["default"]; $lines = array(); $lines[] = "<select name=\"$name_id\" id=\"$name_id\">"; $lines[] = "<option value=\"everything\" " . (($default == "everything") ? "selected" : "") ....
formtools/module-data_visualization
smarty_plugins/function.chart_date_range.php
PHP
gpl-3.0
3,073
# Qt library # # Notes: # There's no performance penalty for importing all Qt modules into whichever modules # need access to at least some Qt modules, so for simplicity's sake that's what we'll do. from util import RequiredImportError from constants import PYSIDE, PYQT4 import qt_helper _qtLib = qt_helper.qtLib...
pylonsoflight/kea
qt.py
Python
gpl-3.0
1,023
/* * This file is part of the L2J Global 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 3 of the License, or * (at your option) any later version. * * This p...
rubenswagner/L2J-Global
java/com/l2jglobal/gameserver/network/clientpackets/ExPCCafeRequestOpenWindowWithoutNPC.java
Java
gpl-3.0
1,579
<?php /** * Copyright (c) 2014 Educ-Action * * This file is part of ADES. * * ADES 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 ve...
doc212/ades
web/nomeleve.php
PHP
gpl-3.0
2,540
/* Generated By:JJTree: Do not edit this line. ASTSQLOrderByElem.java */ package com.hardcode.gdbms.parser; public class ASTSQLOrderByElem extends SimpleNode { public ASTSQLOrderByElem(int id) { super(id); } public ASTSQLOrderByElem(SQLEngine p, int id) { super(p, id); } /** Accept the visitor. *...
iCarto/siga
libGDBMS/src/main/java/com/hardcode/gdbms/parser/ASTSQLOrderByElem.java
Java
gpl-3.0
434
#!/usr/bin/python -tt # An incredibly simple agent. All we do is find the closest enemy tank, drive # towards it, and shoot. Note that if friendly fire is allowed, you will very # often kill your own tanks with this code. ################################################################# # NOTE TO STUDENTS # This is...
sm-github/bzrflag
bzagents/dumb_agent.py
Python
gpl-3.0
4,903
<?php // This file is part of Moodle - http://moodle.org/ // // Moodle is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // // Moodle ...
nitro2010/moodle
question/type/multichoicewiris/lang/en/qtype_multichoicewiris.php
PHP
gpl-3.0
2,595
package tripbooker.dto.domain.ticket; /** * * @author Pablo Albaladejo Mestre <pablo.albaladejo.mestre@gmail.com> */ public class TicketDOImp implements ITicketDO{ private int ticketID; private String code; private int userID; private int flightID; @Override public int getTicketID() { ...
pablo-albaladejo/javaee
proyecto/base/tripbooker/src/tripbooker/dto/domain/ticket/TicketDOImp.java
Java
gpl-3.0
1,133
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; namespace multiFormList { public partial class FormLogin : Form { const string USERNAME = "admin"; const string PASSWORD = "0000"...
aben20807/window_programming
practice/multiFormList/multiFormList/FormLogin.cs
C#
gpl-3.0
1,456
package br.edu.curso.mockito.exercicio.interacao.game; import static org.mockito.Matchers.any; import static org.mockito.Matchers.anyInt; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.never; import static org.mockito.Mockito.times; import static org.mockito.Mockito.verify; import static org...
rafarocha/ceshi
unit/ceshi-mockito/src/test/java/br/edu/curso/mockito/exercicio/interacao/game/ForcaTest.java
Java
gpl-3.0
1,935
package net.ramso.dita.bookmap; import java.util.ArrayList; import java.util.List; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlElements...
ramsodev/DitaManagement
dita/dita.bookmap/src/net/ramso/dita/bookmap/FrontmatterClass.java
Java
gpl-3.0
21,779
"use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Refl...
umeshsohaliya/AngularSampleA
app/components/home/home.component.js
JavaScript
gpl-3.0
1,660
'use strict'; var BarcodeScan = require('com.tlantic.plugins.device.barcodescan.BarcodeScan'); var barcodeScan; exports.init = function (success, fail, args) { if (!barcodeScan) { barcodeScan = new BarcodeScan(); barcodeScan.onReceive = exports.rcMessage; barcodeScan.init(success, fail);...
Tlantic/cdv-device-barcodescan-plugin
src/windows8/BarcodeScanProxy.js
JavaScript
gpl-3.0
897
// // njhseq - A library for analyzing sequence data // Copyright (C) 2012-2018 Nicholas Hathaway <nicholas.hathaway@umassmed.edu>, // // This file is part of njhseq. // // njhseq 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 ...
bailey-lab/bibseq
src/njhseq/concurrency/pools/AlignerPool.cpp
C++
gpl-3.0
3,615
<?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. * ...
iDigBio/Biospex
app/Listeners/CacheEventSubscriber.php
PHP
gpl-3.0
1,285
/* * Copyright (C) 2017 Timo Vesalainen <timo.vesalainen@iki.fi> * * 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 ve...
tvesalainen/util
vfs/src/main/java/org/vesalainen/vfs/attributes/FileAttributeName.java
Java
gpl-3.0
13,646
/*---------------------------------------------------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | \\ / A nd | Copyright (C) 2011 OpenFOAM Foundation \\/ M anipulation | -------------...
kempj/OpenFOAM-win
src/finiteVolume/cfdTools/general/bound/bound.H
C++
gpl-3.0
2,244
package de.macbury.botlogic.core.ui.code_editor.js; import java.io.Reader; /** * A simple Java source file parser for syntax highlighting. * * @author Matthias Mann */ public class JavaScriptScanner { public enum Kind { /** End of file - this token has no text */ EOF, /** End of line - this token h...
macbury/BotLogic
src/de/macbury/botlogic/core/ui/code_editor/js/JavaScriptScanner.java
Java
gpl-3.0
4,698
# vim: ft=python fileencoding=utf-8 sts=4 sw=4 et: # Copyright 2015-2021 Florian Bruhin (The Compiler) <mail@qutebrowser.org> # # This file is part of qutebrowser. # # qutebrowser 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 S...
fiete201/qutebrowser
tests/unit/misc/test_ipc.py
Python
gpl-3.0
28,342
package es.udc.tfg_es.clubtriatlon.utils.dao; /* BSD License */ import java.io.Serializable; import es.udc.tfg_es.clubtriatlon.utils.exceptions.InstanceNotFoundException; public interface GenericDao <E, PK extends Serializable>{ void save(E entity); E find(PK id) throws InstanceNotFoundException; boolean exist...
Al-Mikitinskis/ClubTriatlon
src/main/java/es/udc/tfg_es/clubtriatlon/utils/dao/GenericDao.java
Java
gpl-3.0
388
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleTutorial1 { class Program { static void Main(string[] args) { Console.ForegroundColor = ConsoleColor.Green; Console.WriteLine("Hello"); ...
Easelm/ProgrammingNomEntertainment
Tutorials/C# Console Tutorials/ConsoleTutorial1/ConsoleTutorial1/Program.cs
C#
gpl-3.0
472
/***************************************************************************** The Dark Mod GPL Source Code This file is part of the The Dark Mod Source Code, originally based on the Doom 3 GPL Source Code as published in 2011. The Dark Mod Source Code is free software: you can redistribute ...
Extant-1/ThieVR
game/ai/Tasks/PathWaitForTriggerTask.cpp
C++
gpl-3.0
2,703
/* * Copyright (C) 2008-2009 Daniel Prevost <dprevost@photonsoftware.org> * * This file is part of Photon (photonsoftware.org). * * This file may be distributed and/or modified under the terms of the * GNU General Public License version 2 or version 3 as published by the * Free Software Foundation and ap...
dprevost/photon
src/CS/PhotonLib/PrivateLifo.cs
C#
gpl-3.0
3,740
package io.github.davidm98.crescent.detection.checks.inventory.inventorytweaks; import org.bukkit.entity.Player; import org.bukkit.event.Event; import org.bukkit.event.inventory.InventoryClickEvent; import io.github.davidm98.crescent.detection.checks.Check; import io.github.davidm98.crescent.detection.checks.C...
awesome90/Crescent
src/io/github/davidm98/crescent/detection/checks/inventory/inventorytweaks/InventoryTweaksA.java
Java
gpl-3.0
942
//------------------------------------------------------------------------------ // // Module 08939 : Advanced Graphics // Bicubic B-Spline Assessment // Curve1D.cpp // //------------------------------------------------------------------------------ //-------------------------------------------------------------------...
sihart25/BicubicBSpline
Source/Curve1D.cpp
C++
gpl-3.0
6,272
var btimer; var isclosed=true; var current_show_id=1; var current_site_id; var wurl; var comment_recapcha_id; function hideVBrowser() { isclosed=true; $('#websiteviewer_background').fadeOut(); } function submitTest(view_token) { $('#websiteviewer_browserheader').html('<center>...در حال بررسی</center>'); ...
amir9480/Traffic-booster
public_html/js/websites.js
JavaScript
gpl-3.0
10,083
<?php namespace Modules\Acl\Http\Requests; use Illuminate\Foundation\Http\FormRequest; class PerimeterUpdateRequest extends FormRequest { /** * Determine if the user is authorized to make this request. * * @return bool */ public function authorize() { return true; } ...
diouck/laravel
Modules/Acl/Http/Requests/PerimeterUpdateRequest.php
PHP
gpl-3.0
763
// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7-b41 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2016.09.01 at 06:...
DSRCorporation/imf-conversion
itunes-metadata-tv/src/main/java/com/apple/itunes/importer/tv/ReviewComponentItem.java
Java
gpl-3.0
2,525
<?php /* * Copyright (C) 2014 Aaron Sharp * Released under GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007 */ namespace Controllers; class IndexController extends Controller { protected $subController = NULL; public function setSubController($subController) { $this->subController = $subController; } publ...
chnops/QIIMEIntegration
includes/Controllers/IndexController.php
PHP
gpl-3.0
1,275
// // UnrealPaletteDataFormat.cs // // Author: // Michael Becker <alcexhim@gmail.com> // // Copyright (c) 2021 Mike Becker's Software // // 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 Founda...
alcexhim/UniversalEditor
Plugins/UniversalEditor.Plugins.UnrealEngine/DataFormats/Multimedia/Palette/Unreal/UnrealPaletteDataFormat.cs
C#
gpl-3.0
2,463
require 'geomerative' # After an original sketch by fjenett # Declare the objects we are going to use, so that they are accesible # from setup and from draw attr_reader :shp, :x, :y, :xd, :yd def settings size(600, 400) smooth(4) end def setup sketch_title 'Blobby Trail' RG.init(self) @xd = rand(-5..5) @y...
ruby-processing/JRubyArt-examples
external_library/gem/geomerative/blobby_trail.rb
Ruby
gpl-3.0
638
#!/usr/bin/env python if __name__ == '__main__': from anoisetools.scripts.dispatch import main main()
fhcrc/ampliconnoise
anoise.py
Python
gpl-3.0
111
/* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be u...
paolopavan/cfr
src/weka/classifiers/BAYES/NET/SEARCH/LOCAL/Scoreable.java
Java
gpl-3.0
1,195
package donnees; import java.io.BufferedReader; import java.io.FileReader; import java.util.ArrayList; public class ProducteurDefaut implements IProducteur { private ArrayList<String> donnees; private IMagasin Magasin; public ProducteurDefaut() { super(); donnees = new ArrayList<String>(); Magasin = null;...
Liciax/Projet-M1ALMA-Logiciels-Extensibles
Projet_exten/src/donnees/ProducteurDefaut.java
Java
gpl-3.0
3,118
/* * Synload Development Services * September 16, 2013 * Nathaniel Davidson <nathaniel.davidson@gmail.com> * http://synload.com */ package com.synload.groupvideo; import it.sauronsoftware.base64.Base64; import java.net.InetSocketAddress; import java.util.Hashtable; import org.java_websocket.WebSocket; import org....
firestar/GroupVideo
com/synload/groupvideo/Server.java
Java
gpl-3.0
3,491
FactoryBot.define do factory :status_change do status_change_to { 0 } status_change_from { 1 } entity { nil } end end
AgileVentures/MetPlus_PETS
spec/factories/status_changes.rb
Ruby
gpl-3.0
134
<?php namespace PhpOffice\Common\Adapter\Zip; use ZipArchive; class ZipArchiveAdapter implements ZipInterface { /** * @var ZipArchive */ protected $oZipArchive; /** * @var string */ protected $filename; public function open($filename) { $this->filename = $filenam...
collectiveaccess/pawtucket2
vendor/phpoffice/common/src/Common/Adapter/Zip/ZipArchiveAdapter.php
PHP
gpl-3.0
1,167
/* * Copyright (c) 2017 "Neo4j, Inc." <http://neo4j.com> * * This file is part of Neo4j Graph Algorithms <http://github.com/neo4j-contrib/neo4j-graph-algorithms>. * * Neo4j Graph Algorithms is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published ...
neo4j-contrib/neo4j-graph-algorithms
algo/src/main/java/org/neo4j/graphalgo/impl/degree/WeightedDegreeCentrality.java
Java
gpl-3.0
5,540
package sporemodder.extras.spuieditor.components; import sporemodder.extras.spuieditor.SPUIViewer; import sporemodder.files.formats.spui.InvalidBlockException; import sporemodder.files.formats.spui.SPUIBlock; import sporemodder.files.formats.spui.SPUIBuilder; public class cSPUIBehaviorWinBoolStateEvent extends cSPUIB...
Emd4600/SporeModder
src/sporemodder/extras/spuieditor/components/cSPUIBehaviorWinBoolStateEvent.java
Java
gpl-3.0
1,174
#!/usr/bin/env python """ Seshat Web App/API framework built on top of gevent modifying decorators for HTTP method functions For more information, see: https://github.com/JoshAshby/ http://xkcd.com/353/ Josh Ashby 2014 http://joshashby.com joshuaashby@joshashby.com """ import json import seshat_addons.utils.patch_js...
JoshAshby/seshat_addons
seshat_addons/seshat/func_mods.py
Python
gpl-3.0
2,354
import Component from './mock/component.spec'; QUnit.module( 'File: core/common/assets/js/api/extras/hash-commands.js', ( hooks ) => { hooks.before( () => { $e.components.register( new Component() ); } ); QUnit.test( 'get(): Ensure valid return format', ( assert ) => { // Act. const actual = $e.extras.hashCo...
ramiy/elementor
tests/qunit/tests/core/common/assets/js/api/extras/hash-commands.spec.js
JavaScript
gpl-3.0
2,172
/******************************************************************************/ /* */ /* X r d X r o o t d L o a d L i b . c c */ /* ...
bbockelm/xrootd_old_git
src/XrdXrootd/XrdXrootdLoadLib.cc
C++
gpl-3.0
5,139
// // This file was generated by the BinaryNotes compiler. // See http://bnotes.sourceforge.net // Any modifications to this file will be lost upon recompilation of the source ASN.1. // using System; using org.bn.attributes; using org.bn.attributes.constraints; using org.bn.coders; using org.bn.types; using org.bn;...
rogerz/IEDExplorer
MMS_ASN1_Model/Unit_Control_instance.cs
C#
gpl-3.0
5,743
// VNR - Plugin for NewRelic which monitors `varnishstat` // Copyright (C) 2015 Luke Mallon // // 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...
Nalum/vnr
process/vclient.go
GO
gpl-3.0
990
<?php // Heading $_['heading_title'] = 'View Transaction'; // Text $_['text_pp_express'] = 'PayPal Express Checkout'; $_['text_product_lines'] = 'Product lines'; $_['text_ebay_txn_id'] = 'eBay transaction ID'; $_['text_name'] = 'Navn'; $_['text_qty'] = 'Lager'; $_['text_price'] = 'Pris'; $_['...
opencartnorge/norwegian-opencart-translation
upload/admin/language/norwegian/payment/pp_express_view.php
PHP
gpl-3.0
3,808
/*********************************************************** * Programming Assignment 6 * Arrays program * Programmers: Mark Eatough and Stephen Williams * Course: CS 1600 * Created March 5, 2013 *This program takes values from a current array and a resistance, *array, and uses them to calculate a volts arr...
meatough/Marks-Programs
CS 1600/Homework assignments/programming projects/Programming project 6/Programming Project 6.cpp
C++
gpl-3.0
1,313
<?php if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point'); /********************************************************************************* * SugarCRM is a customer relationship management program developed by * SugarCRM, Inc. Copyright (C) 2004 - 2009 SugarCRM Inc. * * This program is free ...
mitani/dashlet-subpanels
modules/Accounts/AccountFormBase.php
PHP
gpl-3.0
19,722
public class Solution { public int longestSubstring(String s, int k) { if(s.length() < k) return 0; int[] count = new int[26]; Arrays.fill(count, 0); for(int i = 0;i < s.length();++i) { count[(int)(s.charAt(i) - 'a')]++; } char c = '-'; for(int i =...
acgtun/leetcode
algorithms/java/Longest Substring with At Least K Repeating Characters.java
Java
gpl-3.0
1,120
module OLDRETS VERSION = "2.0.6" end
mccollek/ruby-rets
lib/old_rets/version.rb
Ruby
gpl-3.0
39
# -*- coding: utf-8 -*- # XMPPVOX: XMPP client for DOSVOX. # Copyright (C) 2012 Rodolfo Henrique Carvalho # # This file is part of XMPPVOX. # # XMPPVOX 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 F...
rhcarvalho/xmppvox
xmppvox/server.py
Python
gpl-3.0
12,781
/** -*- mode: c++ ; c-basic-offset: 2 -*- * * @file SeparatorParameter.cpp * * Copyright 2017 Sebastien Fourey * * This file is part of G'MIC-Qt, a generic plug-in for raster graphics * editors, offering hundreds of filters thanks to the underlying G'MIC * image processing framework. * * gmic_qt is free...
boudewijnrempt/gmic-qt
src/SeparatorParameter.cpp
C++
gpl-3.0
2,143
import urllib import urllib2 import json import time import hmac,hashlib def createTimeStamp(datestr, format="%Y-%m-%d %H:%M:%S"): return time.mktime(time.strptime(datestr, format)) class poloniex: def __init__(self, APIKey, Secret): self.APIKey = APIKey self.Secret = Secret def post_proc...
Vadus/eldo
src/poloniex/poloniex.py
Python
gpl-3.0
6,502
<?php if(isset($_GET['id'])) { // Allocate a new XSLT processor $xh = xslt_create(); // Process the document if (xslt_process($xh, "xml/audio/$id", "xsl/audio/audio.xsl", "gen/audio/$id.xml")) { readfile("gen/audio/$id.xml"); } else { echo "Error : " . xslt_error($xh) . " and the "; e...
astorije/projet-nf29-a10
export_html/p_audio.php
PHP
gpl-3.0
395
package com.androidGames.lettersoup; import java.io.IOException; import java.io.InputStream; import org.json.JSONException; import org.json.JSONObject; import android.os.Build; import android.os.Bundle; import android.annotation.SuppressLint; import android.app.Activity; import android.graphics.Canvas; ...
papoon/sopa_letras
LetterSoup/src/com/androidGames/lettersoup/PlayGameActivity.java
Java
gpl-3.0
7,386
/*! * Ext JS Library * Copyright(c) 2006-2014 Sencha Inc. * licensing@sencha.com * http://www.sencha.com/license */ Ext.define('Ext.org.micoli.app.modules.GridWindow', { extend: 'Ext.ux.desktop.Module', requires: [ 'Ext.data.ArrayStore', 'Ext.util.Format', 'Ext.grid.Panel', 'Ext.grid.RowN...
micoli/reQuester
desk6/app/org/micoli/app/modules/samples/GridWindow.js
JavaScript
gpl-3.0
3,137