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 /* Gibbon, Flexible & Open School System Copyright (C) 2010, Ross Parker 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. ...
rossdotparker/core
modules/Timetable Admin/ttDates_addMultiProcess.php
PHP
gpl-3.0
3,048
<?php namespace GFG\DTOContext\DataWrapper; interface DataWrapperInterface { /** * @return array */ public function toArray(); }
GFG/dto-context
src/DTOContext/DataWrapper/DataWrapperInterface.php
PHP
gpl-3.0
149
import psycopg2 as dbapi2 import datetime class Favorite: def __init__(self, app): self.app = app def initialize_Favorite(self): with dbapi2.connect(self.app.config['dsn']) as connection: try: cursor = connection.cursor() cursor.execute(""...
itucsdb1618/itucsdb1618
favorite.py
Python
gpl-3.0
3,818
// Copyright 2013, Durachenko Aleksey V. <durachenko.aleksey@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 ve...
AlekseyDurachenko/vkPhotoSync
src/cstatuswidget.cpp
C++
gpl-3.0
2,235
/* * Copyright (c) 2006-2016 Marvisan Pty. Ltd. All rights reserved. * Use is subject to license terms. */ /* * QuoteRequestMsg40.java * * $Id: QuoteRequestMsg40.java,v 1.8 2010-08-25 05:30:31 vrotaru Exp $ */ package net.hades.fix.message.impl.v40; import net.hades.fix.message.struct.Tag; impo...
marvisan/HadesFIX
Model/src/main/java/net/hades/fix/message/impl/v40/QuoteRequestMsg40.java
Java
gpl-3.0
12,395
<?php namespace go\modules\community\calendar\model; use go\core\acl\model\AclEntity; class Calendar extends AclEntity { public $id; public $name; protected static function defineMapping() { return parent::defineMapping() ->addTable("cal_calendars") ->setQuery((new \go\core\db\Query)->select('acl...
deependhulla/powermail-debian9
files/rootdir/usr/local/src/groupoffice-6.3/go/modules/community/calendar/model/Calendar.php
PHP
gpl-3.0
359
// Copyright 2014-2021, University of Colorado Boulder /** * Model for the beaker in 'Acid-Base Solutions' sim. * Origin is at bottom center. * * @author Andrey Zelenkov (Mlearner) * @author Chris Malley (PixelZoom, Inc.) */ import Bounds2 from '../../../../dot/js/Bounds2.js'; import Dimension2 from '../../../....
phetsims/acid-base-solutions
js/common/model/Beaker.js
JavaScript
gpl-3.0
1,204
#!/usr/bin/python import logging import argparse import os import os.path import re from datetime import datetime from datetime import timedelta BasePOSIXTime = datetime(1970, 1, 1) def GetPOSIXTimestamp(dateTimeObj): return int((dateTimeObj - BasePOSIXTime) / timedelta(seconds = 1)) def ListPhotos(): retur...
WesleyLight/FlickrREST
python/flickr.py
Python
gpl-3.0
1,192
<?php /** * This file is part of php-simple-cache. * * php-simple-cache 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 3 of the License, or * (at your option) any later version. *...
mcustiel/php-simple-cache
src/Drivers/file/Cache.php
PHP
gpl-3.0
3,362
<?php echo '<h1>' . $this->route->label . '</h1>'; if ($this->step == 1) { echo '<p>Para importar usuarios se toman en cuenta las siguientes filas:</p>'; echo '<ul><li>Código (Imprescindible)</li><li>Nombre Completo (Imprescindible, útil para exportación de datos)</li>'; echo '<li>Correo electrónico</li><...
ccaballero/yachay
apps/users/views/scripts/manager/import.php
PHP
gpl-3.0
4,890
// $Id: CrInvalidBranch.java 15512 2008-08-05 17:33:53Z maurelio1234 $ // Copyright (c) 1996-2007 The Regents of the University of California. All // Rights Reserved. Permission to use, copy, modify, and distribute this // software and its documentation without fee, and without a written // agreement is hereby gran...
ckaestne/LEADT
workspace/argouml_diagrams/argouml-app/src/org/argouml/uml/cognitive/critics/CrInvalidBranch.java
Java
gpl-3.0
4,138
using UnityEngine; // Class that handles touches on the interface // Referenced in ParentGUI public class PlayerGUI : ParentGUI { Rect joyRect; PlayerController controller; PlayerActions actions; Player plr; float scale = 1; int w = 1; int h = 1; int bw = 1; int bh = 1; GUITexture invButton; GUITexture he...
NormantasKudzma/RoomFighter
Assets/Scripts/PlayerGUI.cs
C#
gpl-3.0
3,331
/* Minetest Copyright (C) 2013 celeron55, Perttu Ahola <celeron55@gmail.com> This program 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 ve...
MrCerealGuy/Stonecraft
src/script/lua_api/l_noise.cpp
C++
gpl-3.0
15,781
<?php /** * @package HikaShop for Joomla! * @version 2.5.0 * @author hikashop.com * @copyright (C) 2010-2015 HIKARI SOFTWARE. All rights reserved. * @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html */ defined('_JEXEC') or die('Restricted access'); ?><?php class BadgeViewBadge extends hikashopView { va...
vaibhav1607/com_hikashop_starter_v2.5.0_2015-08-06_18-17-26
back/views/badge/view.html.php
PHP
gpl-3.0
8,453
# encoding: utf-8 # # Statistical Analysis of Polling Results (SAPoR) # Copyright (C) 2020 Filip van Laenen <f.a.vanlaenen@ieee.org> # # This file is part of SAPoR. # # SAPoR 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 ...
filipvanlaenen/sapor
lib/sapor/first_past_the_post.rb
Ruby
gpl-3.0
2,656
from django import forms from .models import Client, Contact class ClientForm(forms.ModelForm): class Meta: model = Client fields = ('first_name', 'last_name', 'city', 'email', 'phone_number', 'comment', ) class ContactForm(forms.ModelForm): ...
rklimcza/not-yet-crm
crm/forms.py
Python
gpl-3.0
407
using Quantum.Math; namespace Quantum.Emulate { public class PhaseZGate : Gate { #region Constructors public PhaseZGate(double theta) : base(GetPhaseShift(theta)) { } #endregion #region Private Methods private static ComplexMatrix GetPhaseShift(double theta) ...
shabegger/quantum-emulate
Quantum.Emulate/PhaseZGate.cs
C#
gpl-3.0
679
""" """ from __future__ import absolute_import import logging import json from datetime import datetime from flask import render_template from flask import request from flask import make_response from . import app from ..utils.slack import Slack from ..models.breakfast import Breakfast def datetime_handler(x): ...
jeremlb/breakfast-tracker
server/controllers/index.py
Python
gpl-3.0
2,838
// This is a generated file. Not intended for manual editing. package net.progressum.latex.lang.psi; import com.intellij.psi.PsiElement; import org.jetbrains.annotations.NotNull; public interface LatexBraceOptions extends PsiElement { @NotNull LatexParameters getParameters(); }
mawolf/Progressum-LaTeX
src/net/progressum/latex/lang/psi/LatexBraceOptions.java
Java
gpl-3.0
287
<?php /** * TrcIMPLAN Sitio Web - SMIIndicadoresLaLaguna SociedadCasosAcumuladosDeCovid19Positivos * * Copyright (C) 2017 Guillermo Valdés Lozano <guivaloz@movimientolibre.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as publis...
TRCIMPLAN/trcimplan.github.io
lib/SMIIndicadoresLaLaguna/SociedadCasosAcumuladosDeCovid19Positivos.php
PHP
gpl-3.0
16,451
/* * Copyright (C) 2016 Riccardo De Benedictis <riccardo.debenedictis@istc.cnr.it> * * 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 op...
oRatioSolver/oRatio
src/it/cnr/istc/core/Predicate.java
Java
gpl-3.0
1,713
<?php /** * The template for displaying search results pages. */ get_header(); ?> <main id="main" class="site-main" role="main"> <header class='page-title' role="heading"> <h1>Resultado da Busca</h1> <?php if ( function_exists('yoast_breadcrumb') ) { yoast_breadcrumb(' <p class="page-breadcrumbs">','...
Ralifla/artemis
site/wp-content/themes/ralifla/search.php
PHP
gpl-3.0
1,350
/*************************************************************************** * Copyright (C) 2009 by Georg Hennig <georg.hennig@web.de> * * * * This program is free software; you can redistribute it and/or modify * * it under th...
pkt/plasma-widget-cwp-1.5.14-el
plasma-cwp-data-provider.cpp
C++
gpl-3.0
60,125
/* * This file is part of the Code::Blocks IDE and licensed under the GNU General Public License, version 3 * http://www.gnu.org/licenses/gpl-3.0.html * * $Revision$ * $Id$ * $HeadURL$ */ #include <sdk.h> #include "gdb_driver.h" #include "gdb_commands.h" #include "debuggeroptionsdlg.h" #include "debuggerstate.h...
bluehazzard/codeblocks_sf
src/plugins/debuggergdb/gdb_driver.cpp
C++
gpl-3.0
41,875
# Dictionary data structure in python # Dictionary sample_dict = {"Roll": 50, "Name": "Nityan"} # Looping to get key and values from dictionary for key in sample_dict: print(key, sample_dict[key]) # List of keys keys = list(sample_dict.keys()) print("Keys = ", keys) # List of values values = list(...
nityansuman/Python-3
data_structures/dictionary.py
Python
gpl-3.0
995
using System; using System.Collections.Generic; using System.Linq; using static PKHeX.Core.GameVersion; namespace PKHeX.Core { /// <summary> /// Object representing a <see cref="PKM"/>'s data and derived properties. /// </summary> public abstract class PKM : ISpeciesForm, ITrainerID, IGeneration, IShi...
javierhimura/PKHeX
PKHeX.Core/PKM/PKM.cs
C#
gpl-3.0
42,596
'use strict'; const expect = require('chai').expect; const Board = require('../src/board'); const Search = require('../src/search'); describe('search', () => { var board; var search; var timePerMove; // ms var maxDepth = 64; beforeEach(() => { board = new Board(); search = new Sea...
joeyrobert/ceruleanjs
test/search.test.js
JavaScript
gpl-3.0
1,071
/* * Copyright (c) 2006-2011 Erin Catto http://www.box2d.org * * This software is provided 'as-is', without any express or implied * warranty. In no event will the authors be held liable for any damages * arising from the use of this software. * Permission is granted to anyone to use this software for any purpos...
ddiproietto/nontetris
srclib/Box2D/Box2D/Dynamics/b2Island.cpp
C++
gpl-3.0
18,136
# -*- coding: utf-8 -*- # Generated by Django 1.9.7 on 2016-06-13 20:05 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.Creat...
migglu/song-streamer
songstreamer/songs/migrations/0001_initial.py
Python
gpl-3.0
1,687
from calfbox._cbox2 import * from io import BytesIO import struct import sys import traceback import calfbox.metadata as metadata #local file metadata.py type_wrapper_debug = False is_python3 = not sys.version.startswith("2") ############################################################################### # Ugly intern...
kfoltman/calfbox
py/cbox.py
Python
gpl-3.0
47,278
/* * Lumeer: Modern Data Definition and Processing Platform * * Copyright (C) since 2017 Lumeer.io, s.r.o. and/or its affiliates. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either ...
livthomas/Lumeer-web-ui
src/app/view/perspectives/gantt-chart/pipes/gantt-chart-pipes.module.ts
TypeScript
gpl-3.0
2,033
// #define BOOST_TEST_MODULE "SimulationBasisTests" #include "boost\test\unit_test.hpp" BOOST_AUTO_TEST_SUITE(test_ModelCustomer) BOOST_AUTO_TEST_CASE(test_case2a) { BOOST_CHECK(true); } BOOST_AUTO_TEST_SUITE_END()
JWidder/SimulationBasis
Simulation/test/testModelCustomer.cpp
C++
gpl-3.0
217
# (c) Copyright 2014, University of Manchester # # This file is part of Pynsim. # # Pynsim 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 optio...
UMWRG/demos
WaterAllocationDemo/model/pynsim/engines/allocation.py
Python
gpl-3.0
2,662
(function () { define( ['i18next', 'appevents', 'uihandler', 'database', './receivemoney.html!text'], function (i18next, appevents, uihandle, database, template) { function MyReceiveMoney(params) { var viewModel = { // Fields message: ko....
streembit/streembitui
lib/app/views/wallet/receivemoney/receivemoney.js
JavaScript
gpl-3.0
7,037
// From the software distribution accompanying the textbook // "A Practical Introduction to Data Structures and Algorithm Analysis, // Third Edition (C++)" by Clifford A. Shaffer. // Source code Copyright (C) 2007-2011 by Clifford A. Shaffer. // Mergesort implementation and timing test driver // Mergesort implementati...
wsricardo/mcestudos
ebooks/distrib/mrgsort3.cpp
C++
gpl-3.0
1,844
/* * Copyright (C) 2000 - 2008 TagServlet Ltd * * This file is part of Open BlueDragon (OpenBD) CFML Server Engine. * * OpenBD is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * Free Software Foundation,version 3. * * Open...
OpenBD/openbd-core
src/com/naryx/tagfusion/expression/function/getHttpTimeString.java
Java
gpl-3.0
3,072
package main import ( "log" "fmt" "net/http" "io/ioutil" "encoding/json" "flag" "os" ) var DEBUG = false var VERSION = "0.01" func main() { var ipAddress = flag.String("i", "NULL", "Specify ip address") var usFlag = flag.Bool("us", false, "Set this flag to alert if IP address is not in the US. Can be used ...
zpeters/iptracker
iptracker.go
GO
gpl-3.0
1,632
package com.cmput301w13t09.cmput301project.helpers; import java.util.ArrayList; import java.util.Collection; import com.cmput301w13t09.cmput301project.helpers.ElasticSearchResponse; import com.cmput301w13t09.cmput301project.helpers.Hits; /** * * @author Code Originally by Abram Hindle and Chenlei Zhang us...
kylejamesross/CMPUT301W13T09
CMPUT301Project/src/com/cmput301w13t09/cmput301project/helpers/ElasticSearchSearchResponse.java
Java
gpl-3.0
1,169
webpackJsonpjwplayer([1],{ /***/ 41: /*!***********************************!*\ !*** ./src/js/providers/html5.js ***! \***********************************/ /***/ function(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;'use strict'; var _dataNormalizer = ...
vfremaux/moodle-mod_mplayer
extralib/players/jw/7.12/bin-debug/provider.html5.js
JavaScript
gpl-3.0
68,286
<html> <head> <meta lang="es"> <meta charset="utf-8"> <title>Rest</title> </head> <body> </body> </html>
DevHart08/rest
srd/index.php
PHP
gpl-3.0
172
/* * Copyright (c) 2011 Vinay Pulim <vinay@milewise.com> * MIT Licensed * */ /*jshint proto:true*/ "use strict"; var sax = require('sax'); var inherits = require('util').inherits; var HttpClient = require('./http'); var NamespaceContext = require('./nscontext'); var fs = require('fs'); var url = require('url'); v...
momchil-anachkov/su-translation-app
src/node/node_modules/soap/lib/wsdl.js
JavaScript
gpl-3.0
63,995
/* Aversive++ Copyright (C) 2014 Eirbot This program is free software: you can redistribute it and/or modify it under the term...
astralien3000/aversive--
include/avr/system/task.hpp
C++
gpl-3.0
1,224
/* * Copyright (C) 2019 Nethesis S.r.l. * http://www.nethesis.it - nethserver@nethesis.it * * This script is part of NethServer. * * NethServer is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either ve...
NethServer/nethserver-restore-data
ui/src/main.js
JavaScript
gpl-3.0
2,022
import sys,time from . import argparser if sys.version < '3': from threading import Semaphore class Barrier: def __init__(self, n): self.n = n self.count = 0 self.mutex = Semaphore(1) self.barrier = Semaphore(0) def wait(self): self....
intfrr/btproxy
libbtproxy/utils.py
Python
gpl-3.0
1,903
#region Copyright ///////////////////////////////////////////////////////////////////////////// // Altaxo: a data processing and data plotting program // Copyright (C) 2002-2011 Dr. Dirk Lellinger // // This program is free software; you can redistribute it and/or modify // it under the terms of t...
Altaxo/Altaxo
Altaxo/Core/Units/SIPrefix.cs
C#
gpl-3.0
14,273
/** * Genji Scrum Tool and Issue Tracker * Copyright (C) 2015 Steinbeis GmbH & Co. KG Task Management Solutions * <a href="http://www.trackplus.com">Genji Scrum Tool</a> * * 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...
trackplus/Genji
src/main/java/com/aurel/track/admin/customize/lists/OptionDetailBaseTO.java
Java
gpl-3.0
1,349
Point.sJSLogin.connect(pointSlotLogin); Point.sJSUpdateVertifyCode.connect(pointUpdateVertifyCode); var spliterBtwData = "#..#"; var spliterEnd = "#.^_^.#"; var pointLoginCheckInterval; var pointVertifyChangeIntervalId; // login frame $p_lf = $("#loginIframe").contents(); function pointSlotLogin(userName, pwd, ver...
PointTeam/PointDownload
PointDownload/resources/xware/xware_login.js
JavaScript
gpl-3.0
1,587
/* MOBILE SELECT MENU */ (function($){ //variable for storing the menu count when no ID is present var menuCount = 0; //plugin code $.fn.mobileMenu = function(options){ //plugin's default options var settings = { switchWidth: 767, topOptionText: 'Filter by category', indentS...
thepetronics/PetroFDS
Web/media/themes/local/menufiles/cat_nav_mobile.js
JavaScript
gpl-3.0
4,018
# -*- coding: utf-8 -*- # Generated by Django 1.9.7 on 2016-07-10 14:02 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('accounts', '0001_initial'), ] operations = [ ...
ravigadila/seemyhack
seemyhack/accounts/migrations/0002_userextra.py
Python
gpl-3.0
889
<?php namespace HeadFirstDesignPatterns\Factory\AbstractFactory\Pizza\Ingredient\Dough; use HeadFirstDesignPatterns\Factory\AbstractFactory\Pizza\Ingredient\Dough\Dough; class ThickCrustDough implements Dough { public function toString() { return 'ThickCrust style extra thick crust dough'; } }
nachosalvador/HeadFirstDesignPatterns
src/Factory/AbstractFactory/Pizza/Ingredient/Dough/ThickCrustDough.php
PHP
gpl-3.0
317
// // main.cpp // C++_MySQL // // Created by Mayur Jain on 2/12/17. // Copyright © 2017 Mayur Jain. All rights reserved. // #include <iostream> #include <mysql.h> #include <string> #include <vector> #include <sstream> MYSQL *connection,mysql; MYSQL_RES *res; MYSQL_ROW row; int search_through(){ int se...
Mayurji/Understanding-Facebook-Filtering-Using-Cplusplus-MySQL
Facebook_Filtering.cpp
C++
gpl-3.0
7,001
package l2s.gameserver.model.instances; import java.util.ArrayList; import java.util.Collections; import java.util.List; import java.util.concurrent.ScheduledFuture; import l2s.commons.lang.reference.HardReference; import l2s.commons.threading.RunnableImpl; import l2s.gameserver.ThreadPoolManager; import l2s.gameserv...
pantelis60/L2Scripts_Underground
gameserver/src/main/java/l2s/gameserver/model/instances/DecoyInstance.java
Java
gpl-3.0
4,430
"""Power Supply Diag App.""" from ... import csdev as _csdev from ...namesys import SiriusPVName as _PVName from ...search import PSSearch as _PSSearch class ETypes(_csdev.ETypes): """Local enumerate types.""" DIAG_STATUS_LABELS_AS = ( 'PS Disconnected/Comm. Broken', 'PwrState-Sts Off', ...
lnls-sirius/dev-packages
siriuspy/siriuspy/diagsys/psdiag/csdev.py
Python
gpl-3.0
2,251
/* Webcamoid, webcam capture application. * Copyright (C) 2017 Gonzalo Exequiel Pedone * * Webcamoid 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...
hipersayanX/webcamoid
libAvKys/Plugins/ACapsConvert/src/ffmpegav/src/convertaudioffmpegav.cpp
C++
gpl-3.0
11,922
package com.cloudera.server.web.cmf.include; import com.cloudera.cmf.model.DbRole; import com.cloudera.server.web.common.Link; import com.cloudera.server.web.common.include.LinkRenderer; import java.io.IOException; import java.io.Writer; import org.jamon.AbstractTemplateImpl; import org.jamon.TemplateManager; ...
Mapleroid/cm-server
server-5.11.0.src/com/cloudera/server/web/cmf/include/RoleExternalLinkImpl.java
Java
gpl-3.0
1,728
var assert = require('assert'); var expect = require('chai').expect; var usersMfaEnabled = require('./usersMfaEnabled') const createCache = (users) => { return { iam: { generateCredentialReport: { 'us-east-1': { data: users } } ...
cloudsploit/scans
plugins/aws/iam/usersMfaEnabled.spec.js
JavaScript
gpl-3.0
1,884
<?php /********************************************************************************* * This file is part of Sentrifugo. * Copyright (C) 2015 Sapplica * * Sentrifugo is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Fre...
go-faustino/sentrifugo
application/modules/default/controllers/CronjobController.php
PHP
gpl-3.0
32,594
#!/usr/bin/env python # coding=utf-8 # # Copyright 2017 Ilya Zhivetiev <i.zhivetiev@gnss-lab.org> # # This file is part of tec-suite. # # tec-suite is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either versio...
gnss-lab/tec-suite
tecs/rinex/v2/o.py
Python
gpl-3.0
18,274
#!/usr/bin/env python """ Quick and dirty IRC notification script. Any '{var}'-formatted environment variables names will be expanded along with git "pretty" format placeholders (like "%H" for commit hash, "%s" for commit message subject, and so on). Use commas to delineate multiple messages. Example: python script...
gridsync/gridsync
scripts/irc-notify.py
Python
gpl-3.0
2,150
/******************************************************************************* * Copyright (c) 2013 Nick Robinson All rights reserved. This program and the accompanying materials are made available under the terms of * the GNU Public License v3.0 which accompanies this distribution, and is available at http://www.g...
nickthecoder/itchy
src/main/java/uk/co/nickthecoder/itchy/property/PropertySubject.java
Java
gpl-3.0
610
#!/usr/bin/env python # -*- coding: UTF-8 -*- import gtk import sqlalchemy VOCABULARY_DB = "sqlite:///data/vocabulary.db" class EntryDialog(gtk.MessageDialog): def __init__(self, *args, **kwargs): ''' Creates a new EntryDialog. Takes all the arguments of the usual MessageDialog constructor...
tomas-mazak/taipan
taipan/vocabulary.py
Python
gpl-3.0
9,999
<?php session_start(); $userid=$_SESSION["userid"]; ?> <!DOCTYPE html > <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>Travaux écrits - serveur du Gymnase de Nyon</title> <link rel="stylesheet" type="text/css" media="screen" href="mon_style.css"> <...
Gauglhofer/exercices-latex-server
index2.php
PHP
gpl-3.0
1,571
<fieldset> <legend>Your Address Information</legend> <div class="form-group required"> <label for="ReservationOrgAddress" class="col-sm-4 col-xs-12 col-form-label text-right">Address</label> <div class="col-sm-6 col-xs-12"> <input name="org_address" class="form-control" type="text" i...
parsipixel/bl
resources/views/reservation/partials/form-field-sets/your-address.blade.php
PHP
gpl-3.0
796
<?php /** * TastyIgniter * * An open source online ordering, reservation and management system for restaurants. * * @package TastyIgniter * @author OrderDime * @copyright TastyIgniter * @link http://tastyigniter.com * @license http://opensource.org/licenses/GPL-3.0 The GNU GENERAL PUBLIC LICENSE *...
Delitex/test2
system/tastyigniter/core/Common.php
PHP
gpl-3.0
5,221
package ummisco.gama.opengl; import java.awt.Color; import java.nio.FloatBuffer; import java.nio.IntBuffer; import com.jogamp.common.nio.Buffers; import com.jogamp.opengl.GL; import com.jogamp.opengl.GL2; import com.jogamp.opengl.util.gl2.GLUT; import msi.gama.common.geometry.ICoordinates; import msi.gama.common.geo...
hqnghi88/gamaClone
ummisco.gama.opengl/src/ummisco/gama/opengl/KeystoneDrawer.java
Java
gpl-3.0
12,787
using OpenTK; using OpenTK.Graphics; using micfort.GHL; using micfort.GHL.Collections; using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using CG_2IV05.Common; namespace CG_2IV05.Visualize { public class VBOLoader ...
micfort/2IV05
Visualize/VBOLoader.cs
C#
gpl-3.0
1,559
<?xml version="1.0" ?><!DOCTYPE TS><TS language="sv" version="2.0"> <context> <name>AboutPage</name> <message> <location filename="../qml/tweetian-harmattan/AboutPage.qml" line="43"/> <location filename="../qml/tweetian-harmattan/AboutPage.qml" line="156"/> <location filename="../qml/twe...
sailfishapps/Tweetian
i18n/tweetian_sv.ts
TypeScript
gpl-3.0
121,136
// Note: I had to change the name from [Aa]utocomplete to [Ss]elfcomplete // in order to get this to work at the same time as JQuery-UI /** * Ajax Selfcomplete for jQuery, version 1.4.4 * (c) 2017 Tomas Kirda * * Ajax Selfcomplete for jQuery is freely distributable under the terms of an MIT-style license. * For d...
maryszmary/ud-annotatrix
standalone/lib/ext/jquery.autocomplete.js
JavaScript
gpl-3.0
33,367
// Doctor personal info edit section functions $(function() { retrievePersonalInfo(); // Retrieves personal info var passFields = $('#third_step input[type=password]'); passFields.each(function() { // Erases password values $(this).val(""); }); ////// First form ////// ...
labrosb/Hospital-Management-System
client_processes/doctor_functions/edit_staff_profile.js
JavaScript
gpl-3.0
10,568
/* * Copyright © 2010 Martin Riedel * * This file is part of DirectLister. * * DirectLister 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 l...
mriedel/DirectLister
src/net/sourceforge/directlister/model/filters/FileNameContainsFilter.java
Java
gpl-3.0
1,375
#include "Arpschuino.h" #include <avr/io.h> #include <util/crc16.h> #include <avr/eeprom.h> #include <avr/sleep.h> #if ARDUINO >= 100 #include <Arduino.h> // Arduino 1.0 #else #include <WProgram.h> // Arduino 0022 #endif
AntonLanghoff/Arpschuino
Core/Arpschuino-1.0/libraries/Arpschuino/Arpschuino.cpp
C++
gpl-3.0
223
// /////////////////////////////////////////////////////////////////////////////////////////////////// // #include <utility/configuration.hpp> #include <memory/mapped.hpp> #include <transport/mcd.hpp> #include <behaviour/event_republish.hpp> #include <node/processor.hpp> #include <fstream> #include <iostream> #include ...
shauncroton/quix
src/base_mcd_processor_message_republish.cpp
C++
gpl-3.0
2,042
Bitrix 17.0.9 Business Demo = 4fd706f3d8f7df0f1dbed42768e58c13
gohdan/DFC
known_files/hashes/bitrix/modules/im/lang/ru/js_window.php
PHP
gpl-3.0
63
// -*- Mode: Go; indent-tabs-mode: t -*- /* * Copyright (C) 2018 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 hope tha...
ubuntu-core/snappy
cmd/snapinfo.go
GO
gpl-3.0
5,591
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Web; namespace CarRental.WebApp.Areas.AdminPanel.Models { public class EquipmentViewModel { public EquipmentViewModel() { IsEnabled = true; } ...
wojtas233/carrental
CarRental.WebApp/Areas/AdminPanel/Models/EquipmentViewModel.cs
C#
gpl-3.0
523
#include <iostream> #include "game.hpp" using namespace std; int main(int argc, char *argv[]) { Game game; if (argc >= 2) { game.setLanguage(argv[1]); } else { game.setLanguage(""); } game.init(); game.loop(); game.shutdown(); return 0; }
ProjectTecPro-2016-1/jtj
src/main.cpp
C++
gpl-3.0
288
/** * Too Many Tools * TMT * * @author dogking190 * @license Lesser GNU Public License v3 (http://www.gnu.org/licenses/lgpl.html) * */ package dogking190.tmt.Tools; import cpw.mods.fml.relauncher.Side; import cpw.mods.fml.relauncher.SideOnly; import dogking190.lib.Modinfo; import dogking190.lib.Names; import...
dogking190/TooManyTools
common/dogking190/tmt/Tools/PickaxeTin.java
Java
gpl-3.0
1,012
import logging from ..exports import ObjectCollectorMixin, ListCollector #: Event name used to signal members to perform one-time initialization INITIALIZE = 'initialize' class Hooks(ObjectCollectorMixin, ListCollector): """ This class collects event hooks that should be installed during supervisor sta...
Outernet-Project/librarian
librarian/core/collectors/hooks.py
Python
gpl-3.0
927
/* * Copyright (c) 2015. Kelewan Technologies Ltd */ package com.kloudtek.kloudmake.java; import com.kloudtek.kloudmake.KMContextImpl; import com.kloudtek.kloudmake.Resource; import com.kloudtek.kloudmake.exception.InvalidResourceDefinitionException; import com.kloudtek.kloudmake.exception.KMRuntimeException; impor...
Kloudtek/kloudmake
core/src/main/java/com/kloudtek/kloudmake/java/EnforceOnlyIfCustom.java
Java
gpl-3.0
1,192
#include <fstream> #include <vector> #include <queue> using namespace std; #define TASK "countpaths" ifstream cin(TASK ".in"); ofstream cout(TASK ".out"); vector <int> mem; vector <vector <int> > g; int dp(int v) { if (mem[v] != -1) return mem[v]; if (v == (int)g.size() - 1) return 1; ...
zakharvoit/discrete-math-labs
Season1/DynamicProgramming/CountPaths/main.cpp
C++
gpl-3.0
705
/* * Name: Sebastian Lloret * Recitation TA: Brennan Mcconnell * Assignment #: 4 */ #include <iostream> using namespace std; //strings are 340 characters const string humanDNA = "CGCAAATTTGCCGGATTTCCTTTGCTGTTCCTGCATGTAGTTTAAACGAGATTGCCAGCACCGGGTATCATTCACCATTTTTCTTTTCGTTAACTTGCCGTCAGCCTTTTCTTTGACCTCTTCTTTCTG...
SebastianLloret/CSCI-1310
Assignments/Assignment4_Lloret.cpp
C++
gpl-3.0
4,232
// Navigation active state on click or section scrolled var sections = $('section'), nav = $('.desktop-navigation'), nav_height = nav.outerHeight(); $(window).on('scroll', function () { var cur_pos = $(this).scrollTop(); sections.each(function() { var top = $(this).offset().top - nav_height -1, bottom ...
blueocto/code-snippets
jquery-javascript/sticky-nav-active-state-while-scrolling.js
JavaScript
gpl-3.0
823
<!DOCTYPE html> <html> <?php include_once('../head.php'); ?> <body> <?php include_once('../header.php'); ?> <div id='tos'> <?php include_once('design.php'); ?> <div id='content'> <div id='index'> <p><a href=<?php echo ($configuration['site_dir'] . 'others/images'); ?>><img src=<...
Cryonid/rcnet-downloadcenter
others/index.php
PHP
gpl-3.0
1,471
// // TransportRead.cs // // Author: // Benito Palacios Sánchez <benito356@gmail.com> // // Copyright (c) 2015 Benito Palacios Sánchez // // 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 Foun...
pleonex/eaTopic
eaTopic/Transports/TransportReceiver.cs
C#
gpl-3.0
1,250
package com.college17summer.android.fleeting; import org.junit.Test; import static org.junit.Assert.*; /** * Example local unit test, which will execute on the development machine (host). * * @see <a href="http://d.android.com/tools/testing">Testing documentation</a> */ public class ExampleUnitTest { @Test ...
College17Summer/Fleeting
app/src/test/java/com/college17summer/android/fleeting/ExampleUnitTest.java
Java
gpl-3.0
414
package com.github.joe42.splitter.vtf; import java.io.File; import java.util.*; import fuse.FuseFtype; import fuse.compat.FuseDirEnt; public class VirtualFileContainer { List<VirtualFile> vtf = new ArrayList<VirtualFile>(); public synchronized void add(VirtualFile virtualFile) { vtf.add(virtualFile); } public ...
joe42/nubisave
splitter/src/com/github/joe42/splitter/vtf/VirtualFileContainer.java
Java
gpl-3.0
2,642
<?php /** * This file is part of Joshua Project API. * * Joshua Project API 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. * *...
MissionalDigerati/joshua_project_api
Public/index.php
PHP
gpl-3.0
8,989
/***************************************************************************** * Copyright (C) 2004-2013 The PaGMO development team, * * Advanced Concepts Team (ACT), European Space Agency (ESA) * * http://apps.sourceforge.net/mediawiki/pagmo * * ...
jdiez17/pagmo
src/util/hv_algorithm/hv4d.cpp
C++
gpl-3.0
3,656
// Dapplo - building blocks for desktop applications // Copyright (C) 2016-2018 Dapplo // // For more information see: http://dapplo.net/ // Dapplo repositories are hosted on GitHub: https://github.com/dapplo // // This file is part of Dapplo.Dopy // // Dapplo.Dopy is free software: you can redistribu...
dapplo/Dapplo.Dopy
src/Dapplo.Dopy.Addon.Sharing/SharingAddonModule.cs
C#
gpl-3.0
1,448
"""Sis_legajos URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.10/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') Clas...
Informatorio/Sis_LegajosV2
Sis_legajos/urls.py
Python
gpl-3.0
3,985
/* * Copyright (c) 2008, SQL Power Group Inc. * * This file is part of DQguru * * DQguru 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...
SQLPower/power-matchmaker
src/ca/sqlpower/matchmaker/TypeMap.java
Java
gpl-3.0
2,747
using System; using System.Globalization; using System.Text; namespace WolvenKit.Scaleform { /// <summary> /// Class containing static text conversion functions. /// </summary> public sealed class ByteConversion { /// <summary> /// Codepage value for Shift JIS (Jp) /// </su...
DellCliff/Wolven-kit
W3Edit.Scaleform/ByteConversion.cs
C#
gpl-3.0
8,262
/* LBSim: a fluid dynamics simulator using the lattice Boltzmann method Copyright (C) 2013 Fabio Sussumu Komori - NDS/GNMD/LME/PSI/EP/USP 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 Found...
fabioskomori/lbsim
model/util/shared.cpp
C++
gpl-3.0
1,202
/** * Copyright 2020 The Pennsylvania State University * @license Apache-2.0, see License.md for full text. */ import{LitElement as e,html as t,css as r}from"../../../lit/index.js";import{FutureTerminalTextLiteSuper as a}from"./FutureTerminalTextSuper.js";class FutureTerminalTextLite extends(a(e)){static get styles(...
elmsln/elmsln
core/dslmcode/cores/haxcms-1/build/es6/node_modules/@lrnwebcomponents/future-terminal-text/lib/future-terminal-text-lite.js
JavaScript
gpl-3.0
2,021
package fluddokt.opsu.fake; import java.net.URL; public class MultiClip extends Clip{ public MultiClip(String path) { super(path); } public MultiClip(URL url, boolean isMP3, LineListener listener) { super(url, isMP3, listener); } public static void destroyExtraClips() { // TODO Auto-gener...
fluddokt/opsu
src/fluddokt/opsu/fake/MultiClip.java
Java
gpl-3.0
353
#include "Logger.h" #include <sys/time.h> #include <unistd.h> // Global static pointer used to ensure a single instance of the class. Logger* Logger::m_pInstance = NULL; pthread_mutex_t Logger::mMutex = PTHREAD_MUTEX_INITIALIZER; pthread_mutex_t Logger::mWriteMutex = PTHREAD_MUTEX_INITIALIZER; Logger::GC Logger::gc;...
freeman0508/jlogger
libsrc/Logger.cpp
C++
gpl-3.0
4,964
/** * OSGi/JEE Sample. * * Copyright (C) 2014 Goulwen Le Fur * * 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. * This program is distributed in the hop...
glefur/osgi-jee
jpa/bundles/osgi.jee.samples.jpa.db.derby/src/main/java/osgi/jee/samples/jpa/db/derby/internal/datasource/DerbyDataSourceFactory.java
Java
gpl-3.0
3,811
namespace phoenix { struct pHorizontalSlider : public pWidget { HorizontalSlider& horizontalSlider; unsigned position(); void setLength(unsigned length); void setPosition(unsigned position); pHorizontalSlider(HorizontalSlider& horizontalSlider) : pWidget(horizontalSlider), horizontalSlider(horizontalSlider...
ChoccyHobNob/DiCE
phoenix/reference/widget/horizontal-slider.hpp
C++
gpl-3.0
374
/* * Pixel Dungeon * Copyright (C) 2012-2015 Oleg Dolya * * Shattered Pixel Dungeon * Copyright (C) 2014-2016 Evan Debenham * * Lovecraft Pixel Dungeon * Copyright (C) 2016-2017 Leon Horn * * Plugin Pixel Dungeon * Copyright (C) 2017 Leon Horn * * This program is free software: you can redistribute it and/...
TypedScroll/PluginPixelDungeon
core/src/main/java/com/pluginpixel/pluginpixeldungeon/actors/mobs/npcs/ImpShopkeeper.java
Java
gpl-3.0
2,001
package ru.log_inil.mc.minedonate.gui; import net.minecraft.util.ResourceLocation; public class GuiStaticVariables { public static final ResourceLocation buttonTextures = new ResourceLocation ( "textures/gui/widgets.png" ) ; public static final ResourceLocation scrollTextures = new ResourceLocation ( "textures...
Pishka/MineDonate
forge 1.7.10/src/main/java/ru/log_inil/mc/minedonate/gui/GuiStaticVariables.java
Java
gpl-3.0
705