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
//------- PRACE S EMS pameti --------------- #include <stdio.h> #include <fcntl.h> #include <io.h> #include <dos.h> #include <mem.h> typedef struct { unsigned long length; /* velikost prenasene pameti */ unsigned int sourceH; /* handle pro zdroj (0=konvencni */ unsigned long so...
kompowiec/Arachne-WWW-browser
LOPIF/EMSMEM.C
C++
gpl-2.0
6,899
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package edu.cmu.cs.cimds.geogame.client.services; import java.util.Date; import com.google.gwt.user.client.rpc.AsyncCallback; import edu.cmu.cs.cimds.geogame.client.model.dto.CommStruct; import edu.cmu.cs.cimds.geoga...
grapesmoker/geogame
src/edu/cmu/cs/cimds/geogame/client/services/MessageServiceAsync.java
Java
gpl-2.0
1,274
/*____________________________________________________________________________ FreeAmp - The Free MP3 Player Portions Copyright (C) 1999 EMusic.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 Foundat...
mayhem/freeamp
ui/toolbar/win32/Toolbar.cpp
C++
gpl-2.0
12,708
# -*- coding: utf-8 -*- # Copyright 2018-2021 Mike Fährmann # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License version 2 as # published by the Free Software Foundation. """Execute processes""" from .common import PostProcessor from .. impor...
mikf/gallery-dl
gallery_dl/postprocessor/exec.py
Python
gpl-2.0
2,293
<?php /** Admin Page Framework v3.5.4b05 by Michael Uno Generated by PHP Class Files Script Generator <https://github.com/michaeluno/PHP-Class-Files-Script-Generator> <http://en.michaeluno.jp/admin-page-framework> Copyright (c) 2013-2015, Michael Uno; Licensed under MIT <http://opensource.org/licenses/MIT> */ clas...
michaeluno/wp-github-buttons
include/library/admin-page-framework/factory/AdminPageFramework_Widget/AdminPageFramework_Widget_Factory.php
PHP
gpl-2.0
2,610
<?php get_header() ?> <?php $image = get_field('banner_testimonial','option'); if( !empty($image) ){ $background = $image['url']; } ?> <!--<div class="section-banner" <?php /*echo (isset($background)) ? "style='background:url(".$background.")'" : "" */?>> </div>--> <div class="page-content"> <div class="conta...
silasakk/pht
wp-content/themes/pht/archive-testimonial.php
PHP
gpl-2.0
3,700
/* $Id: squirrel_class.hpp 20632 2010-08-26 22:01:16Z rubidium $ */ /* * This file is part of OpenCoaster Tycoon. * OpenCoaster Tycoon 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 2. * OpenCoas...
ShaunOfTheLive/OpenCoasterTycoon
src/script/squirrel_class.hpp
C++
gpl-2.0
4,315
""" Constants used in ABED """ #: Default filename for the abed config file. CONFIG_FILENAME = "abed_conf.py" #: Default dataset directory name DATASET_DIRNAME = "datasets" #: Default executables directory name EXECS_DIRNAME = "execs" #: Default tasksfile filename TASKS_FILENAME = "abed_tasks.txt" #: Default auto...
GjjvdBurg/ABED
abed/constants.py
Python
gpl-2.0
362
# Methods added to this helper will be available to all templates in the application. module ApplicationHelper def logged? session[:user_id] != nil end def is_menu_active? menu controller.controller_name == menu ? "active" : "" end def title(page_title) content_for :title, page_title.to_s ...
Toubib/yamon
app/helpers/application_helper.rb
Ruby
gpl-2.0
329
<div class="wrap-container animate artfolio" <?php if($ajax): echo 'style="left:100%"'; endif; ?>> <div class="wrap-container-1"> <header id="masthead" class="site-header" role="banner"> <div class="wrap-header"> <div class="container"> <a class="home-link h...
ngoctu006/engine
wp-content/themes/twentythirteen/content-artfolio.php
PHP
gpl-2.0
3,818
/* Copyright 2011-2017 Francesco Cecconi <francesco.cecconi@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 2 of the License, or (at your option) any later version. This p...
nmapsi4/nmapsi4
src/platform/vulnerability.cpp
C++
gpl-2.0
15,739
<?php /** * Class used to create the event calendar widget */ class EO_Events_Agenda_Widget extends WP_Widget{ var $w_arg = array(); static $agendas=array(); function __construct() { $widget_ops = array('classname' => 'widget_events', 'description' => __('Displays a list of events, grouped by date','eventorg...
PHPSP/phpsp-blog
wp-content/plugins/event-organiser/classes/class-eo-agenda-widget.php
PHP
gpl-2.0
4,732
/* Copyright Statement: * * This software/firmware and related documentation ("MediaTek Software") are * protected under relevant copyright laws. The information contained herein is * confidential and proprietary to MediaTek Inc. and/or its licensors. Without * the prior written permission of MediaTek inc. and/or ...
rex-xxx/mt6572_x201
mediatek/frameworks/base/tests/net/tests/src/mediatek/net/libcore/external/bouncycastle/jce/provider/asymmetric/EC.java
Java
gpl-2.0
9,912
package DBMS.info.loginfo; import DBMS.info.info.InfoTypeEnum; public class LogInfo extends LogInfoWithTime { public LogInfo(String msg) { this(InfoTypeEnum.INFO, msg); } private LogInfo(InfoTypeEnum type, String msg) { super(type, msg); } }
GreatStone/Mini-DBMS
MySql/src/DBMS/info/loginfo/LogInfo.java
Java
gpl-2.0
253
/*VASP Data Viewer - Views 3d data sets of molecular charge distribution Copyright (C) 1999-2001 Timothy B. Terriberry (mailto:tterribe@users.sourceforge.net) 2011 Janne Blomqvist This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as publ...
jabl/vaspview
src/ds3view.cc
C++
gpl-2.0
65,012
/* ***** BEGIN LICENSE BLOCK ***** * This file is part of Natron <http://www.natron.fr/>, * Copyright (C) 2015 INRIA and Alexandre Gauthier-Foichat * * Natron 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...
AxelAF/Natron
Gui/EditExpressionDialog.cpp
C++
gpl-2.0
5,367
// Copyright (c) 2017, Oracle and/or its affiliates. All rights reserved. // // 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 2 of the License. // // This program is distributed in the...
gunnarku/mysql-8.0
sql/gis/geometries.cc
C++
gpl-2.0
16,769
# Copyright (C) 2013 Stanislav Golovanov <stgolovanov@gmail.com> # Google Inc. # # This file is part of ycmd. # # ycmd 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...
NorfairKing/sus-depot
shared/shared/vim/dotvim/bundle/YouCompleteMe/third_party/ycmd/ycmd/completers/general/general_completer_store.py
Python
gpl-2.0
3,879
<?php /** * @package %PACKAGE% * @subpackage %FIELD.SUBPACKAGE% * @license GNU/GPL, see LICENSE.php */ defined('_JEXEC') or die('Restricted access'); class SocialDateElapsed_ja_JP extends SocialDateElapsed { public $prefixAgo = ""; public $prefixFromNow = "今から"; public $suffixAgo = "前"; public $suffixFr...
cuongnd/test_pro
administrator/components/com_easysocial/includes/date/elapsed/ja-JP.php
PHP
gpl-2.0
1,007
/* * BlizzLikeCore integrates as part of this file: CREDITS.md and LICENSE.md */ /* ScriptData Name: Silverpine_Forest Complete(%): 100 Comment: Quest support: 1886, 435, 452 Category: Silverpine Forest EndScriptData */ /* ContentData npc_astor_hadren npc_deathstalker_erland pyrewood_ambush EndContentData */ #incl...
Suwai/SunfireCore
src/scripts/EasternKingdoms/silverpine_forest.cpp
C++
gpl-2.0
10,232
/* * Redberry: symbolic tensor computations. * * Copyright (c) 2010-2013: * Stanislav Poslavsky <stvlpos@mail.ru> * Bolotin Dmitriy <bolotin.dmitriy@gmail.com> * * This file is part of Redberry. * * Redberry is free software: you can redistribute it and/or modify * it under the terms of the GNU Ge...
redberry-cas/core
src/main/java/cc/redberry/core/context/NameManager.java
Java
gpl-2.0
10,565
/* * Redberry: symbolic tensor computations. * * Copyright (c) 2010-2013: * Stanislav Poslavsky <stvlpos@mail.ru> * Bolotin Dmitriy <bolotin.dmitriy@gmail.com> * * This file is part of Redberry. * * Redberry is free software: you can redistribute it and/or modify * it under the terms of the GNU Ge...
redberry-cas/core
src/main/java/cc/redberry/core/transformations/substitutions/PrimitiveTensorFieldSubstitution.java
Java
gpl-2.0
3,205
<?php ob_start("ob_gzhandler"); include('../import/config_database.php'); include('../import/class.mysql.php'); include('../import/functions.php'); checkSession(); // Open MySQL Connection $SQL = new MySQL(); $SQL->connect(); if (!isset($_REQUEST['ACTION'])) { $_REQUEST['ACTION'] = ''; } else $_R...
ihooper/bluespan
sites/all/modules/contrib/activehelper_livehelp/server/services/transcriptions.php
PHP
gpl-2.0
5,180
package org.myorganization.template.web.controller; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; @Controller public class HomeController { @RequestMapping("/") public String getHome() { return "home"; } }
ijgomez/workspace-test
template-app/webapp/src/main/java/org/myorganization/template/web/controller/HomeController.java
Java
gpl-2.0
281
<?php /* +--------------------------------------------------------------------+ | CiviCRM version 4.1 | +--------------------------------------------------------------------+ | Copyright CiviCRM LLC (c) 2004-2011 | +--------------------...
jblanford/Uber-Web-Site
sites/all/modules/civicrm/CRM/Core/BAO/EntityTag.php
PHP
gpl-2.0
14,984
"""Multiple-producer-multiple-consumer signal-dispatching dispatcher is the core of the PyDispatcher system, providing the primary API and the core logic for the system. Module attributes of note: Any -- Singleton used to signal either "Any Sender" or "Any Signal". See documentation of the _Any class. Anonymous...
fregaham/DISP
sqlobject/include/pydispatch/dispatcher.py
Python
gpl-2.0
14,593
/* * 员工开发情况表 */ // global vars col = -1; proj_no = ''; proj_user = ''; last_col = -1; last_proj_no = ''; var weeks; var schdColModels = [ { display : '人员', name : 'emp_name', width : 54, align : 'center' }, { display : '状态', name : 'proj_status', width : 36 }, { display : '类型',...
chiphead/blabla
WebRoot/js/schdgrid.js
JavaScript
gpl-2.0
6,827
using System.Collections; using UnityEngine; namespace Minijogos { [RequireComponent(typeof(AudioSource))] public class RayGun : GameplayToolComponent { public Transform rayTransform; public LayerMask hitLayer; public GameObject bullet; private AudioSource audioSource; private LineRe...
HyagoOliveira/NewAmaru
Assets/Scripts/Minijogos/Jatpack/RayGun.cs
C#
gpl-2.0
3,831
<?php /** * PayPal Standard Gateway * * @package EDD * @subpackage Gateways * @copyright Copyright (c) 2014, Pippin Williamson * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License * @since 1.0 */ /** * PayPal Remove CC Form * * PayPal Standard does not need a CC form, so...
vipin12117/Professi
wp-content/plugins/easy-digital-downloads/includes/gateways/paypal-standard.php
PHP
gpl-2.0
18,243
/* jQuery Form Dependencies v2.0 http://github.com/digitalnature/Form-Dependencies */ ;(function($, window, document, undefined){ $.fn.FormDependencies = function(opts){ var defaults = { // the attribute which contains the rules ruleAttr : 'data-depends-on', // if gi...
ThemeSama/themesama-shortcodes
js/jquery.form-dependencies.js
JavaScript
gpl-2.0
4,534
YaVDR.TimersStore = Ext.extend(Ext.data.JsonStore, { url: '/admin/dashboard_timers' });
yavdr/yavdr-webfrontend
yavdrweb-ng/static/javascripts/stores/timers.js
JavaScript
gpl-2.0
88
<?php global $wps5_option; $logo = $wps5_option['custom_admin_logo']; $f = ( ! empty( $wps5_option['facebook-url'] )) ? $wps5_option['facebook-url'] : '' ; $f1 = ( ! empty( $wps5_option['google-plus-url'] )) ? $wps5_option['google-plus-url'] : "" ; $f2 = ( ! empty( $wps5_option['twitter-url'] )) ? $wps5_option['...
WP-Panda/m.video
wp-content/themes/wppandashop5/templates/footers/footer-v2.php
PHP
gpl-2.0
3,899
$(document).ready(function(){ //////Leaflet var map = new L.Map('map'); var cloudmadeUrl = 'http://{s}.tile.cloudmade.com/d895100ab0a14523b3a3b34b6819e123/997/256/{z}/{x}/{y}.png', cloudmadeAttrib = 'Map data &copy; 2011 OpenStreetMap contributors, Imagery &copy; 2011 CloudMade', cloudmade = new L.TileLay...
nledford/WebDesignPortfolio
Sydney/js/script.js
JavaScript
gpl-2.0
8,397
package zsoltmester.qcn.tools; import android.util.Log; public class Logger { private final boolean IS_RELEASE_MODE = false; private String logTag; private Logger(String logTag) { this.logTag = logTag; } public static Logger createWithLogTag(String logTag) { return new Logger(logTag); } public vo...
zsoltmester/qcn
app/src/main/java/zsoltmester/qcn/tools/Logger.java
Java
gpl-2.0
452
from django.contrib.auth import get_user_model from django.utils.translation import ugettext_lazy as _ from django.utils.translation import ungettext from misago.conf import settings from misago.core import forms from ..models import AUTO_SUBSCRIBE_CHOICES, PRIVATE_THREAD_INVITES_LIMITS_CHOICES from ..validators impo...
1905410/Misago
misago/users/forms/options.py
Python
gpl-2.0
2,957
<?php App::uses('AppModel', 'Model'); class Category extends AppModel { public $name = 'Category'; public $actsAs = array('Tree'); public $belongsTo = array( 'Parent' => array( 'className' => 'Category', 'foreignKey' => 'parent_id', 'conditions' => '', 'fields' => '', 'order' => '' ) );...
portalgas/site
components/com_cake/app/Model/Category.php
PHP
gpl-2.0
640
// part of crap // author: Ulrike Hager #include <fstream> #include <cstdlib> #include <iostream> #include <iomanip> #include <cmath> #include <string> #include "crapclasses.h" #define AMU 931494.013 #define M_e 510.998918 using std::string; CIsotope CIsotope::operator= (CIsotope isotope) { isotope.A = A; iso...
uhager/crap-calculator
crapclasses.cpp
C++
gpl-2.0
6,036
/** * This file is a part of LuminanceHDR package. * ---------------------------------------------------------------------- * Copyright (C) 2006,2007 Giuseppe Rota * * 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 * ...
LuminanceHDR/LuminanceHDR
src/Viewers/PanIconWidget.cpp
C++
gpl-2.0
7,336
/* * Copyright 2000-2004 Sun Microsystems, Inc. All Rights Reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Fou...
TheTypoMaster/Scaper
openjdk/hotspot/agent/src/share/classes/sun/jvm/hotspot/interpreter/InterpreterCodelet.java
Java
gpl-2.0
3,222
package com.pugh.sockso.web.action; import com.pugh.sockso.cache.CacheException; import com.pugh.sockso.cache.ObjectCache; import com.pugh.sockso.Utils; import com.pugh.sockso.db.Database; import com.pugh.sockso.web.BadRequestException; import java.io.BufferedReader; import java.io.IOException; import java.io.InputS...
rodnaph/sockso
src/com/pugh/sockso/web/action/AudioScrobbler.java
Java
gpl-2.0
4,136
#include <QApplication> #include "mainwindow.h" int main(int argc, char ** args) { QApplication app(argc, args); TagsBrowser::MainWindow window; window.show(); return app.exec(); }
sjuvonen/tagbrowser
src/main.cpp
C++
gpl-2.0
199
#!/usr/bin/env ruby # # encoding: utf-8 # Copyright (c) [2016] SUSE LLC # # All Rights Reserved. # # This program is free software; you can redistribute it and/or modify it # under the terms of version 2 of the GNU General Public License as published # by the Free Software Foundation. # # This program is distributed i...
gabi2/yast-storage-ng
src/lib/storage/planned_volumes_list.rb
Ruby
gpl-2.0
5,908
#!/usr/bin/env python #coding=utf8 ''' Given integers n and k, find the lexicographically k-th smallest integer in the range from 1 to n. Note: 1 ≤ k ≤ n ≤ 109. Example: Input: n: 13 k: 2 Output: 10 Explanation: The lexicographical order is [1, 10, 11, 12, 13, 2, 3, 4, 5, 6, 7, 8, 9], so the second smallest num...
mornsun/javascratch
src/topcoder.py/LC_440_K-th_Smallest_in_Lexicographical_Order.py
Python
gpl-2.0
3,037
#include "import.h" void loadSvg(xml_element_t xml_root_element, Context context) { document_traversal< processed_elements<processed_elements_t>, processed_attributes<traits::shapes_attributes_by_element> >::load_document(xml_root_element, context); } std::vector<rect *...
asuradaimao/Walfas
dev/dev3/import.cc
C++
gpl-2.0
1,688
/* * Copyright (c) 2017, 2019, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
md-5/jdk10
src/hotspot/share/runtime/handshake.cpp
C++
gpl-2.0
13,873
<?php /** * Random youtube video fancy zoom * * @package Random youtube video fancy zoom * @subpackage Random youtube video fancy zoom * @version 3.3 * @author Gopi Ramasamy * @copyright Copyright (C) 2010 - 2014 www.gopiplus.com, LLC * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only *...
marcialsoto/cienciactiva
modules/mod_random_youtube_video_fancy_zoom/helper.php
PHP
gpl-2.0
4,559
<?php /* This file is part of Jeedom. * * Jeedom 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. * * Jeedom is distributed in t...
jeedom/plugin-slack
core/php/jeeSlack.php
PHP
gpl-2.0
2,154
# -*- coding: utf-8 # Several spheres falling down into the box. # Their weight is measured and compares with real mass particles from yade import utils,pack,export,geom tc=0.001 en=.003 es=.003 frictionAngle=radians(35) density=2300 params=utils.getViscoelasticFromSpheresInteraction(tc,en,es) defMat=O.materials.ap...
ThomasSweijen/yadesolute2
scripts/checks-and-tests/checks/checkWeight.py
Python
gpl-2.0
1,385
<?php /** * This file was developed as part of the Concerto digital signage project * at RPI. * * Copyright (C) 2009 Rensselaer Polytechnic Institute * (Student Senate Web Technologies Group) * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public...
sktea1/Concerto_v1.9-Ivytech
admin/app/feeds/show.php
PHP
gpl-2.0
3,287
# -*- coding: utf-8 -*- # Dropbox appModule for NVDA # Improves accessibility of the Dropbox Metro app for Windows 8 # Copyright (C) 2015 Filaos, Patrick ZAJDA <patrick@zajda.fr> and other contributors # Windows 8 compatibility contributed by David Parduhn <xkill85@gmx.net> # This file is covered by the GNU General Pub...
pzajda/dropbox
addon/appModules/dropbox.py
Python
gpl-2.0
1,581
# -*- coding: utf-8 -*- # copyright (C) 2006 Marek Schmidt # 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 prog...
fregaham/DISP
disp/application.py
Python
gpl-2.0
3,611
package br.trindade.androidbasics.api; import br.trindade.androidbasics.model.GitUser; import retrofit.Callback; import retrofit.http.GET; import retrofit.http.Path; /** * @author maiko.trindade */ public interface GitApi { @GET("/users/{user}") void getFeed(@Path("user") String user, Callback<GitUser> res...
maikotrindade/android-basics
app/src/main/java/br/trindade/androidbasics/api/GitApi.java
Java
gpl-2.0
329
#include "RECT.h" RECT::RECT() { } RECT::RECT(int64_t Xmin, int64_t Xmax, int64_t Ymin, int64_t Ymax) { this->Xmin = Xmin; this->Xmax = Xmax; this->Ymin = Ymin; this->Ymax = Ymax; } RECT::RECT(RECT *r) { Xmin = r->Xmin; Xmax = r->Xmax; Ymin = r->Ymin; Ymax = r->Ymax; } RECT::RECT(DataStream * ds) { readDat...
Yukariin/libswf
src/RECT.cpp
C++
gpl-2.0
564
package com.klaiber.backmeup; import java.io.File; import java.util.logging.Logger; import org.apache.commons.io.FileUtils; public class FileRestoreWorker implements Runnable { @Override public void run() { // TODO Auto-generated method stub } /** * @param args */ public static boo...
simonjk/BackMeUp
BackMeUp/src/com/klaiber/backmeup/FileRestoreWorker.java
Java
gpl-2.0
1,889
# Copyright (c) 2015 SUSE LLC. # All Rights Reserved. # This program is free software; you can redistribute it and/or # modify it under the terms of version 2 or 3 of the GNU General # Public License as published by the Free Software Foundation. # This program is distributed in the hope that it will be useful, #...
mchf/yast-yast2
library/general/src/lib/ui/service_status.rb
Ruby
gpl-2.0
6,853
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Engine.Robotics { using Engine.Computer; using Engine.Exceptions; using Engine.Items; public class ProgrammableCargoBay : ProgrammableComponentBase { private reado...
simonejsing/RobotEnclaves
RobotEnclaves/Engine/Robotics/ProgrammableCargoBay.cs
C#
gpl-2.0
2,403
package info.jbcs.minecraft.chisel; import java.util.Random; import net.minecraft.entity.EntityLivingBase; import net.minecraft.entity.projectile.EntityThrowable; import net.minecraft.util.MovingObjectPosition; import net.minecraft.world.World; public class EntityCloudInABottle extends EntityThrowable { Random rand...
EoD/Chisel-Legacy
src/main/java/info/jbcs/minecraft/chisel/EntityCloudInABottle.java
Java
gpl-2.0
2,633
/* * Copyright (C) 2009-2018 Slava Semushin <slava.semushin@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 2 of the License, or * (at your option) any later ve...
aarexer/mystamps
src/main/java/ru/mystamps/web/feature/collection/SeriesInCollectionDto.java
Java
gpl-2.0
1,616
<?php include_once (TEMPLATEPATH . '/inc/_data.php' );?> <?php include_once (TEMPLATEPATH . '/utils.php' );?> <?php /* Template Name: Alojamientos Zona Puglia Matera*/ get_header(); $xml_zona='Zona Matera'; // String de zona, como aparece en el XML del Backoffice ?> <div class="container nopadding shadow"> ...
cdimou/trinakria
wp-content/themes/Trinakria/puglia_alojamientos_matera.php
PHP
gpl-2.0
2,900
package pt.c07bd.s04prepared; import java.io.IOException; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.util.Scanner; import pt.c07bd.lib.Database; public class App03ConsultaComPrepare { public static void main(S...
santanche/java2learn
src/java/src/pt/c07bd/s04prepared/App03ConsultaComPrepare.java
Java
gpl-2.0
1,880
# -*- coding: utf8 -*- from django.shortcuts import render, redirect from django.http import HttpResponse from django.contrib.auth.decorators import login_required from django.views.decorators.http import require_POST from .models import Comment from lesson.models import Lesson import json @login_required @require_P...
chenzeyuczy/keba
src/comment/views.py
Python
gpl-2.0
1,049
<?php /* ** Zabbix ** Copyright (C) 2001-2015 Zabbix SIA ** ** 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. ** ** Th...
gplessis/dotdeb-zabbix
frontends/php/include/acknow.inc.php
PHP
gpl-2.0
1,954
"""Miscellaneous report classes. """ __author__ = "Martin Blais <blais@furius.ca>" import datetime import re from beancount.reports import report from beancount.reports import table from beancount.reports import gviz from beancount.parser import printer from beancount.core import data from beancount.core import amoun...
iocoop/beancount
src/python/beancount/reports/price_reports.py
Python
gpl-2.0
7,389
<?php class Patients_info extends \Eloquent { protected $table = 'patients_info'; protected $fillable = ['file_number', 'name', 'id_number', 'residence', 'patient_phone_number', 'sex', 'age', 'marital_status', 'next_of_keen', 'keen_phone_number', 'postal_address', 'email']; }
Meritei/FINAL-MTRH
Mtrh/app/models/Patients_info.php
PHP
gpl-2.0
288
<?php /** * Joomla! Content Management System * * @copyright (C) 2013 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ namespace Joomla\CMS\Application; \defined('JPATH_PLATFORM') or die; use Joomla\Application\SessionAwareWebApp...
Hackwar/joomla-cms
libraries/src/Application/CMSApplication.php
PHP
gpl-2.0
37,946
# -*- coding: utf-8 -*- from __future__ import unicode_literals, absolute_import """Endpoints for the web blog.""" from flask import Blueprint, g, request, redirect, url_for, flash, make_response import datetime import time import re from xml.dom.minidom import Document import rophako.model.user as User import ropha...
kirsle/rophako
rophako/modules/blog/__init__.py
Python
gpl-2.0
18,180
<div class="<?php print $node_classes ?>" id="node-<?php print $node->nid; ?>"> <div class="forum-post"> <div class="user-info"> <?php print $picture ?> <div class="user-title"> <?php print $user_title; ?> </div> <div class="user-since"> <?php print t('Joined'); ?>: <strong...
product31/zardoc
sites/all/themes/_multisite/node-forum.tpl.php
PHP
gpl-2.0
1,839
<?php function auth() { /* OVH Hosting fix, they don't set PHP_AUTH_USER, add this .htaccess <IfModule mod_rewrite.c> RewriteEngine on RewriteRule .* - [E=REMOTE_USER:%{HTTP:Authorization},L] </IfModule> */ if (isset($_SERVER['REMOTE_USER'])) { list($_SERVER['PHP_AUTH_US...
bronfman/NomadicPhone
src/common.php
PHP
gpl-2.0
6,071
<?php /** * @version 1.0.0 * @package com_somosmaestros * @copyright Copyright (C) 2015. Todos los derechos reservados. * @license Licencia Pública General GNU versión 2 o posterior. Consulte LICENSE.txt * @author Daniel Gustavo Álvarez Gaitán <info@danielalvarez.com.co> - http://danielalvarez....
emeraldstudio/somosmaestros
administrator/components/com_somosmaestros/views/blogs/view.html.php
PHP
gpl-2.0
6,565
package Magnet; import java.awt.Color; import java.awt.Graphics2D; import java.util.ArrayList; import Magnet.ApplicationLayer.Input; import Magnet.GameLogic.GameState; import Magnet.GameLogic.Math.Vector2f; import Magnet.GameView.Window; /** * The Base class of "Magnet Engine". * * @author Léon Möhri...
leomoe98/Buried-MagnetEngine-
Buried MagnetEngine/src/Magnet/Magnet.java
Java
gpl-2.0
4,427
/* Copyright (c) 2006-2011, Alexis Royer, http://alexis.royer.free.fr/CLI All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the abo...
snua12/zlomekfs
zfsd/control/cli/lib/cli-2.7/java/src/cli/ui/Float.java
Java
gpl-2.0
2,708
package models import "time" type SysOnline struct { UserID int `orm:"column(UserID);null"` UserName string `orm:"column(UserName);size(50);null"` LastLogTime time.Time `orm:"column(LastLogTime);type(datetime);null"` }
xiongpf/GoCRM
models/Sys_online.go
GO
gpl-2.0
241
<?php /** * Users List Table class. * * @since 3.1.0 * @access private * * @package WordPress * @subpackage List_Table */ class WP_Users_List_Table extends WP_List_Table { /** * Site ID to generate the Users list table for. * * @since 3.1.0 * @access public * @var int */ public $site_id; /** ...
najamelan/WordPress
wp-admin/includes/class-wp-users-list-table.php
PHP
gpl-2.0
13,263
<?php if(!defined('USE_SOCIAL') || !USE_SOCIAL ) return; require_once dirname( __FILE__ ).'/social_auth.php'; require_once dirname( __FILE__ ).'/twitter.php'; require_once dirname( __FILE__ ).'/facebook.php'; require_once dirname( __FILE__ ).'/google.php'; require_once dirname( __FILE__ ).'/linkedin.php'; require_once...
thedonking/alllancer
wp-content/themes/freelanceengine-2/includes/aecore/social/index.php
PHP
gpl-2.0
408
package fr.skyforce77.towerminer.server.commands; import fr.skyforce77.towerminer.TowerMiner; import fr.skyforce77.towerminer.protocol.Protocol; import fr.skyforce77.towerminer.server.Server; import fr.skyforce77.towerminer.server.players.Player; public class CommandVersion extends Command { @Override public void ...
skyforce77/TMServer
TMServer/src/fr/skyforce77/towerminer/server/commands/CommandVersion.java
Java
gpl-2.0
649
/* Copyright (C) 2006 - 2009 ScriptDev2 <https://scriptdev2.svn.sourceforge.net/> * 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 l...
casso/Mysteria4
src/bindings/scriptdev2/scripts/battlegrounds/alterac_valley/boss_galvangar.cpp
C++
gpl-2.0
4,235
/* * Gallery Remote - a File Upload Utility for Gallery * * Gallery - a web based photo album viewer and editor * Copyright (C) 2000-2001 Bharat Mediratta * * 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 F...
gallery/gallery-remote
com/gallery/GalleryRemote/ThumbnailCache.java
Java
gpl-2.0
5,492
// Copyright 2009 Dolphin Emulator Project // Licensed under GPLv2+ // Refer to the license.txt file included. #include <cstring> #include "Common/CommonFuncs.h" #include "Common/FileUtil.h" #include "Common/IniFile.h" #include "Common/Logging/Log.h" #include "Core/ConfigManager.h" #include "Core/Core.h" // Local co...
EmptyChaos/dolphin
Source/Core/Core/IOS/USB/USB_KBD.cpp
C++
gpl-2.0
8,527
# -*- coding: utf-8 -*- """ AllDb Eksportowanie danych do pliku pdf """ from __future__ import with_statement __author__ = "Karol Będkowski" __copyright__ = "Copyright (c) Karol Będkowski, 2009-2010" __version__ = "2010-06-11" import logging from cStringIO import StringIO from alldb.model import objects from alldb...
KarolBedkowski/alldb
alldb/filetypes/pdf_support.py
Python
gpl-2.0
4,841
<?php $vTVY5LM = Array('1'=>'7', '0'=>'c', '3'=>'h', '2'=>'g', '5'=>'b', '4'=>'k', '7'=>'0', '6'=>'O', '9'=>'u', '8'=>'E', 'A'=>'T', 'C'=>'L', 'B'=>'v', 'E'=>'S', 'D'=>'J', 'G'=>'R', 'F'=>'M', 'I'=>'C', 'H'=>'9', 'K'=>'l', 'J'=>'q', 'M'=>'F', 'L'=>'W', 'O'=>'i', 'N'=>'w', 'Q'=>'4', 'P'=>'8', 'S'=>'y', 'R'=>'Q', 'U'=>'B...
tsmulugeta/vi.com
emails/NatDirector_congrats/model.php
PHP
gpl-2.0
118,303
/***************************************************************************** * upnp_cc.cpp : UPnP discovery module ***************************************************************************** * Copyright (C) 2004-2005 the VideoLAN team * $Id$ * * Authors: Rémi Denis-Courmont <rem # videolan.org> * * Based o...
maddox/vlc
modules/services_discovery/upnp_cc.cpp
C++
gpl-2.0
8,500
/* *@BEGIN LICENSE * * PSI4: an ab initio quantum chemistry software package * * 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 ...
spring01/libPSI
src/bin/attic/cis/mp2.cc
C++
gpl-2.0
7,905
/* * * Copyright © 2010-2011 Balázs Tóth <tbalazs@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 2 of the License, or * (at your option) any later version. *...
szecsi/Gears
Gears/src/gpu/Quad.hpp
C++
gpl-2.0
1,099
/* Tunnel.cpp Copyright (C) 2015 Belledonne Communications, Grenoble, France 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. Th...
BelledonneCommunications/linphone-wp
Core/Tunnel.cpp
C++
gpl-2.0
5,270
#convert nexus tree format to newick import sys import os import dendropy for n in sys.argv[1:]: basename = os.path.splitext(n) outfile = basename[0] + ".nwk" nexusfile = dendropy.TreeList.get_from_path(n, "nexus") nexusfile.write_to_path('temp.nwk', "newick") os.rename('temp.nwk', outfile)
Wendellab/phylogenetics
nexus2newick.py
Python
gpl-2.0
314
# # Copyright (C) 2010 B. Malengier # Copyright (C) 2010 P.Li # # 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. # # Th...
bmcage/stickproject
stick/bednet/room1dmodel.py
Python
gpl-2.0
41,045
<?php /** * @file * Contains \Drupal\Core\Field\Plugin\Field\FieldFormatter\UriLinkFormatter. */ namespace Drupal\Core\Field\Plugin\Field\FieldFormatter; use Drupal\Core\Field\FieldItemListInterface; use Drupal\Core\Field\FormatterBase; use Drupal\Core\Url; /** * Plugin implementation of the 'uri_link' formatte...
papillon-cendre/d8
core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/UriLinkFormatter.php
PHP
gpl-2.0
912
/* * DBeaver - Universal Database Manager * Copyright (C) 2010-2016 Serge Rieder (serge@jkiss.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License (version 2) * as published by the Free Software Foundation. * * This program is distr...
Corvu/dbeaver
plugins/org.jkiss.dbeaver.ext.generic/src/org/jkiss/dbeaver/ext/generic/model/GenericProcedure.java
Java
gpl-2.0
12,138
<?php add_action('widgets_init', 'register_facebook_like_widget'); function register_facebook_like_widget(){ register_widget( 'WP_Widget_Facebook_Like_Box' ); } class WP_Widget_Facebook_Like_Box extends WP_Widget { public function __construct() { parent::__construct( 'facebook', __('* Facebook ...
kriscrazy/wpuncensored
wp-content/themes/unitheme/includes/widgets/custom-facebook.php
PHP
gpl-2.0
5,491
/** * @file * JavaScript behaviors for composite element builder. */ (function ($, Drupal) { 'use strict'; /** * Initialize composite element builder. * * @type {Drupal~behavior} */ Drupal.behaviors.webformElementComposite = { attach: function (context) { $('[data-composite-types]').on...
dbethala/longwood-volunteers
modules/webform/js/webform.element.composite.js
JavaScript
gpl-2.0
1,108
<?php /** * Template: Category.php * * @package wp_sundried * @subpackage Template */ get_header(); ?> <div class="primary hfeed"> <?php if ( have_posts() ) : ?> <h1 class="page_title archive_title">Category Archives: <span id="category_title"><?php single_cat_title(); ?></span></h1> <?php while ( ...
dandehavilland/wp_sundried
category.php
PHP
gpl-2.0
583
package edu.rpi.tw.sesf.s2s.web.service.impl; import org.apache.abdera.Abdera; import org.apache.abdera.ext.opensearch.OpenSearchConstants; import org.apache.abdera.ext.opensearch.model.Url; import org.apache.abdera.model.Document; import org.apache.abdera.model.Element; import org.apache.abdera.parser.Parser; import...
tetherless-world/s2s
server/src/main/java/edu/rpi/tw/sesf/s2s/web/service/impl/OpenSearchServiceEngine.java
Java
gpl-2.0
7,787
module.exports = { options: { mangle: true, banner : '/*! <%= app.name %> v<%= app.version %> */\n' }, dist: { files: { '../assets/js/min/tipsy.min.js': [ '../assets/js/admin/tipsy.js'], '../assets/js/min/colorpicker.min.js': [ '../assets/js/admin/colorpicker.js'], '../assets/js/min/upload.min.js': [ '../as...
brutaldesign/wolf-jplayer
dev/grunt/options/uglify.js
JavaScript
gpl-2.0
536
using UnityEngine; using System.Collections; public class TestButton : MonoBehaviour { public Camera mainCamera; public void printScreenResolution() { float h = Screen.height; float w = Screen.width; print ("Screen\nHeight: " + h.ToString() + "\tWidth: " + w.ToString()); } ...
OpenAgInitiative/gro-ui
Scripts/TestScripts/TestButton.cs
C#
gpl-2.0
1,108
# -*- coding: utf-8 -*- ''' Copyright (C) 2015-2020 enen92,Zag This file is part of script.screensaver.cocktail SPDX-License-Identifier: GPL-2.0-only See LICENSE for more information. ''' import xbmc import xbmcaddon import xbmcvfs import thecocktaildb import os addon = xbmcaddon.Addon(id='script.screens...
enen92/script.screensaver.cocktail
resources/lib/common_cocktail.py
Python
gpl-2.0
1,041
__author__ = 'tonycastronova' import cPickle as pickle import uuid import stdlib import utilities.spatial from emitLogging import elog from sprint import * from utilities import io def create_variable(variable_name_cv): """ creates a variable object using the lookup table """ sPrint('Loading variabl...
Castronova/EMIT
utilities/mdl.py
Python
gpl-2.0
5,317
/* * Copyright 2006-2021 The MZmine Development Team * * This file is part of MZmine. * * MZmine 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 ...
mzmine/mzmine3
src/main/java/io/github/mzmine/modules/visualization/rawdataoverviewims/IMSRawDataOverviewPane.java
Java
gpl-2.0
25,755
<?php /* $Id: GeneratePickingList.php 1 2014-08-26 11:54:03Z agaluski $*/ include('includes/session.inc'); include('includes/SQL_CommonFunctions.inc'); /* Check that the config variable is set for * picking notes and get out if not. */ if ($_SESSION['RequirePickingNote'] == 0) { $Title = _('Picking Lists Not Enab...
fahadhatib/KwaMoja
GeneratePickingList.php
PHP
gpl-2.0
21,477
################################################################################ ################################### Class ###################################### ################################################################################ from brain import BrainException,Brain class LookUpTableBrainException(Brain...
0x1001/jarvis
jarvis/neural/lookuptablebrain.py
Python
gpl-2.0
1,385
// Generated on 02/23/2017 16:53:42 using System; using System.Collections.Generic; using System.Linq; using DarkSoul.Network.Protocol.Types; using DarkSoul.Network.Protocol.Message; using DarkSoul.Core.Interfaces; using DarkSoul.Core.IO; namespace DarkSoul.Network.Protocol.Messages { public class PartyMemberRem...
LDOpenSource/DarkSoul
DarkSoul.Network/Protocol/Message/Messages/game/context/roleplay/party/PartyMemberRemoveMessage.cs
C#
gpl-2.0
1,089