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
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 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("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
/* 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 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
/******************************************************************************/ /* */ /* 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
// Boost Includes ============================================================== #include <boost/python.hpp> #include <boost/cstdint.hpp> // Includes ==================================================================== #include <spuc/raised_cosine_imp.h> // Using =====================================================...
sav6622/spuc
pyste/raised_cosine_imp.cpp
C++
gpl-3.0
552
/* === This file is part of Tomahawk Player - <http://tomahawk-player.org> === * * Copyright 2010-2011, Leo Franchi <lfranchi@kde.org> * * Tomahawk 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,...
tomahawk-player/tomahawk
src/libtomahawk/jobview/TransferStatusItem.cpp
C++
gpl-3.0
3,947
/*************************************************************************** * Copyright (C) 2006 by Esteban Zeller & Daniel Sequeira * * juiraze@yahoo.com.ar - daniels@hotmail.com * * * * This program is free software; you can ...
tranfuga25s/gestotux
plugins/digifauno/resumenanual.cpp
C++
gpl-3.0
1,754
/* * ice4j, the OpenSource Java Solution for NAT and Firewall Traversal. * Maintained by the SIP Communicator community (http://sip-communicator.org). * * Distributable under LGPL license. * See terms of license at gnu.org. */ package org.ice4j.socket; import java.net.*; import org.ice4j.*; import org.ice4j.mes...
ziah/Friends-Module
ice4j-lib/org/ice4j/socket/TurnDatagramPacketFilter.java
Java
gpl-3.0
4,068
/* * This file is part of JGrasstools (http://www.jgrasstools.org) * (C) HydroloGIS - www.hydrologis.com * * JGrasstools 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,...
silviafranceschi/jgrasstools
gui/src/main/java/org/jgrasstools/gui/spatialtoolbox/core/ViewerModule.java
Java
gpl-3.0
1,640
/* * Copyright (C) 2019 yi * * 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 distrib...
jeplus/jEPlus
src/main/java/jeplus/event/IF_ProjectChangedHandler.java
Java
gpl-3.0
959
/* * 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 w...
fracpete/gpsformats4j
src/main/java/com/github/fracpete/gpsformats4j/formats/Format.java
Java
gpl-3.0
2,058
package sokobanMod.common; import java.util.List; import net.minecraft.block.Block; import net.minecraft.block.material.Material; import net.minecraft.client.renderer.texture.IIconRegister; import net.minecraft.creativetab.CreativeTabs; import net.minecraft.item.Item; import net.minecraft.item.ItemStack; import net.m...
MineMaarten/Sokoban-Mod
src/sokobanMod/common/BlockUnbreakableGlasses.java
Java
gpl-3.0
2,099
/* Copyright 2008,2009,2010 Edwin Eefting (edwin@datux.nl) This file is part of Synapse. Synapse 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...
psy0rz/Synapse
modules/pong.module/module.cpp
C++
gpl-3.0
11,121
from pygame import USEREVENT # Events SONG_END_EVENT = USEREVENT + 1 ENEMY_DESTROYED_EVENT = USEREVENT + 2 BOSS_BATTLE_EVENT = USEREVENT + 3 DISPLAY_MESSAGE_EVENT = USEREVENT + 4 END_LEVEL_EVENT = USEREVENT + 5 END_GAME_EVENT = USEREVENT + 6 # Constants SCREEN_SIZE = (800, 600) # Colors COLOR_BLACK = (0, 0, 0)
juanjosegzl/learningpygame
constants.py
Python
gpl-3.0
315
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Serialization; using System.Text; using System.Threading.Tasks; using BMW.Rheingold.Psdz.Model.Ecu; namespace BMW.Rheingold.Psdz.Model.Sfa { [KnownType(typeof(PsdzEcuIdentifier))] [KnownType(typeof(PsdzFeatureIdCto))] ...
uholeschak/ediabaslib
Tools/Psdz/PsdzClientLibrary/Psdz/PsdzSecureTokenEto.cs
C#
gpl-3.0
720
// Copyright (c) 2005 Brian Wellington (bwelling@xbill.org) package org.xbill.DNS; import java.io.*; import java.net.*; import java.nio.channels.*; import org.xbill.DNS.utils.hexdump; class Client { protected long endTime; protected SelectionKey key; protected Client(SelectableChannel channel, long endTime) throws...
dikonikon/layer17
src/main/java/org/xbill/DNS/Client.java
Java
gpl-3.0
1,221
#include "SceneObject2.h" SceneObject2::SceneObject2 () { } SceneObject2::~SceneObject2 () { } void SceneObject2::Update2 () { } void SceneObject2::Gravity_check2() { } void SceneObject2::Draw2 () { } void SceneObject2::Jump2() { } void SceneObject2::isover2() { over2 = true; } bool SceneObject2::get_over2...
ralucamindr/LiteEngine2D
src/SceneObject2.cpp
C++
gpl-3.0
569
<?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. // //...
nitro2010/moodle
lib/editor/atto/plugins/computing/ajax.php
PHP
gpl-3.0
1,810
var dir_74389ed8173ad57b461b9d623a1f3867 = [ [ "Containers", "dir_08cccf7962d497a198ad678c4e330cfd.html", "dir_08cccf7962d497a198ad678c4e330cfd" ], [ "Controls", "dir_6f73af2b2c97c832a8b61d1fc1ff2ac5.html", "dir_6f73af2b2c97c832a8b61d1fc1ff2ac5" ], [ "Util", "dir_7db6fad920da64edfd558eb6dbc0c610.html", "dir...
KateAdams/kateadams.eu
static/*.kateadams.eu/Consor/Doxygen/dir_74389ed8173ad57b461b9d623a1f3867.js
JavaScript
gpl-3.0
2,985
class AddOpenscapProxyToHostAndHostgroup < ActiveRecord::Migration def up add_column :hostgroups, :openscap_proxy_id, :integer add_column :hosts, :openscap_proxy_id, :integer add_column :reports, :openscap_proxy_id, :integer end def down remove_column :hostgroups, :openscap_proxy_id, :integer ...
shlomizadok/foreman_openscap
db/migrate/20151120090851_add_openscap_proxy_to_host_and_hostgroup.rb
Ruby
gpl-3.0
429
/******************************************************************************* * 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...
WorldGrower/WorldGrower
src/org/worldgrower/ImmutableWorldObject.java
Java
gpl-3.0
4,739
/* Aether2DImgMaker -- console app to generate images of the Aether cellular automaton in 2D Copyright (C) 2017-2022 Jaume Ribas 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, e...
JaumeRibas/Aether2DImgMaker
CellularAutomata/src/cellularautomata/model1d/SymmetricLongModel1D.java
Java
gpl-3.0
1,577
package code.name.monkey.appthemehelper.common.prefs.supportv7; import android.content.Context; import android.support.v7.preference.ListPreference; import android.util.AttributeSet; import code.name.monkey.appthemehelper.R; /** * @author Aidan Follestad (afollestad) */ public class ATEListPreference extends ListP...
h4h13/RetroMusicPlayer
appthemehelper/src/main/java/code/name/monkey/appthemehelper/common/prefs/supportv7/ATEListPreference.java
Java
gpl-3.0
1,187
package com.michaelvescovo.android.itemreaper.edit_item; import com.michaelvescovo.android.itemreaper.util.FakeImageFileImpl; import com.michaelvescovo.android.itemreaper.util.ImageFile; import dagger.Module; import dagger.Provides; /** * @author Michael Vescovo */ @Module public class EditItemModule { priva...
mvescovo/item-reaper
app/src/mock/java/com/michaelvescovo/android/itemreaper/edit_item/EditItemModule.java
Java
gpl-3.0
701
// // <one line to give the program's name and a brief idea of what it does.> // Copyright (C) 2017. WenJin Yu. windpenguin@gmail.com. // // Created at 2017/11/17 17:42:13 // Version 1.0 // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as...
windpenguin/WindUtil
Src/TestWindUtil/TestIdMgr.cpp
C++
gpl-3.0
1,283
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateTableFellowProgress extends Migration { /** * Run the migrations. * * @return void */ public function up() { // Schema::creat...
GobiernoFacil/agentes-v2
database/migrations/2018_05_03_131639_create_table_fellow_progress.php
PHP
gpl-3.0
922
#include <algorithm> #include <cstdio> #include <vector> using std::vector; using std::max; #define clean(arr, con, len) for (int i=0; i<len ; i++) arr[i] = con; #define iftdo(con, tdo, len) for (int i=1; i<=len; i++) if(con) {tdo;} const int MAXN = 5010; const int MAXM = 50010; typedef enum {DO, DOING, DID} status; s...
YanWQ-monad/monad
Cpp/Exam-answer/smoj.nhedu.net/1529.cpp
C++
gpl-3.0
1,210
/* This file is a part of libcds - Concurrent Data Structures library (C) Copyright Maxim Khizhinsky (libcds.dev@gmail.com) 2006-2017 Source code repo: http://github.com/khizmax/libcds/ Download: http://sourceforge.net/projects/libcds/files/ Redistribution and use in source and binary forms, with...
whc10002/study
libcds/test/unit/pqueue/fcpqueue_deque.cpp
C++
gpl-3.0
5,258
<?php /* * * Purpose: Add support for external modules to extend Zabbix native functions * * Adail Horst - http://spinola.net.br/blog * * * * 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 Foundati...
SpawW/everyz
everyz.php
PHP
gpl-3.0
4,786
package biz.dealnote.messenger.crypt; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import androidx.annotation.IntDef; /** * Created by admin on 08.10.2016. * phoenix */ @IntDef({SessionState.INITIATOR_EMPTY, SessionState.NO_INITIATOR_EMPTY, SessionState.INITIATOR_STATE_1, Se...
PhoenixDevTeam/Phoenix-for-VK
app/src/main/java/biz/dealnote/messenger/crypt/SessionState.java
Java
gpl-3.0
2,719
'''Language module, allows the user to change the language on demand''' # -*- coding: utf-8 -*- # This file is part of emesene. # # emesene 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 v...
emesene/emesene
emesene/Language.py
Python
gpl-3.0
7,488
<?php F::GetSubmit("id"); if($id) { $sql = "SELECT name FROM file_doc WHERE file_id = $id"; $name = $DB->GetOne($sql); $path = dirname($_SERVER['DOCUMENT_ROOT'].$_SERVER['PHP_SELF'])."/root/".$id; // Force the download header('Cache-Control: private'); header('Pragma: private'); header("Cache-Control: no-cache, m...
yoursun0/leave
Download.php
PHP
gpl-3.0
773
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package NetSpace; import java.lang.instrument.Instrumentation; /** * * @author ubuntu */ public class Main { /** * @param args the command line arguments */ public static void main(String[] args)...
A-Malone/net-space
src/NetSpace/Main.java
Java
gpl-3.0
502
## # This module requires Metasploit: http://metasploit.com/download # Current source: https://github.com/rapid7/metasploit-framework ## require 'msf/core' class Metasploit3 < Msf::Exploit::Remote Rank = GreatRanking include Msf::Exploit::FILEFORMAT include Msf::Exploit::Seh def initialize(info = {}) su...
cSploit/android.MSF
modules/exploits/windows/fileformat/feeddemon_opml.rb
Ruby
gpl-3.0
4,129
<?php require 'includes/functions.php'; include_once 'config.php'; $companyName = $_POST['companyName']; $latitude = $_POST['latitude']; $longitude = $_POST['longitude']; $address = $_POST['address']; $yearOfExistance = $_POST['yearOfExistance']; $insertCompany = new InsertCost; ...
sudikrt/cost_prediction
login/insertCompany.php
PHP
gpl-3.0
569
package gov.nasa.gsfc.seadas.processing.common; import com.bc.ceres.core.CoreException; import com.bc.ceres.core.ProgressMonitor; import com.bc.ceres.core.runtime.ConfigurationElement; import com.bc.ceres.core.runtime.RuntimeContext; import com.bc.ceres.swing.progress.ProgressMonitorSwingWorker; import gov.nasa.gsfc.s...
seadas/seadas
seadas-processing/src/main/java/gov/nasa/gsfc/seadas/processing/common/CallCloProgramAction.java
Java
gpl-3.0
20,043
/* * STaRS, Scalable Task Routing approach to distributed Scheduling * Copyright (C) 2012 Javier Celaya * * This file is part of STaRS. * * STaRS 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; e...
jcelaya/stars
src/test/TestSuite.cpp
C++
gpl-3.0
4,080
/** @jsx React.DOM */ jest.dontMock('./../jsx/jestable/DeleteButton.js'); describe('DeleteButton', function() { it('creates a button that deletes keyword from the keyword list', function() { var React = require('react/addons'); var DeleteButton = require('./../jsx/jestable/DeleteButton.js'); ...
Reynslan/moggo
components/__tests__/DeleteButton-test.js
JavaScript
gpl-3.0
1,154
/* * This file is part of MinecartRevolution-Core. * Copyright (c) 2012 QuarterCode <http://www.quartercode.com/> * * MinecartRevolution-Core 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 ...
QuarterCode/MinecartRevolution
core/src/main/java/com/quartercode/minecartrevolution/core/util/cart/MinecartUtil.java
Java
gpl-3.0
4,595
package com.abm.mainet.water.domain; import java.util.Date; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.FetchType; import javax.persistence.GeneratedValue; import javax.persistence.Id; import javax.persistence.JoinColumn; import javax.persistence.ManyToOne; im...
abmindiarepomanager/ABMOpenMainet
Mainet1.1/MainetServiceParent/MainetServiceWater/src/main/java/com/abm/mainet/water/domain/AdditionalOwnerInfo.java
Java
gpl-3.0
9,175
// 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 t...
costis-t/smallProjects
SR_TMOI_GradientDescent/Gradient_Descent_Challenge.cpp
C++
gpl-3.0
3,125
class AddExplicitExpirationToUnavailableFors < ActiveRecord::Migration[6.0] def change add_column :unavailable_as_candidate_fors, :expires_at, :datetime, index: true end end
greenriver/boston-cas
db/migrate/20200312133258_add_explicit_expiration_to_unavailable_fors.rb
Ruby
gpl-3.0
182