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 |
|---|---|---|---|---|---|
/*
* Copyright (C) eZ Systems AS. All rights reserved.
* For full copyright and license information view LICENSE file distributed with this source code.
*/
YUI.add('ez-asynchronoussubitemview', function (Y) {
"use strict";
/**
* Provides the base class for the asynchronous subitem views
*
* @m... | intenseprogramming/PlatformUIBundle | Resources/public/js/views/subitem/ez-asynchronoussubitemview.js | JavaScript | gpl-2.0 | 4,849 |
/***************************************************************************
dpro.hpp - GDL procedure/function
-------------------
begin : July 22 2002
copyright : (C) 2002 by Marc Schellens
email : m_schellens... | olebole/gnudatalanguage | src/dpro.hpp | C++ | gpl-2.0 | 14,135 |
<?php
if (session_id() == "") session_start(); // Initialize Session data
ob_start(); // Turn on output buffering
?>
<?php include_once "ewcfg10.php" ?>
<?php include_once "adodb5/adodb.inc.php" ?>
<?php include_once "phpfn10.php" ?>
<?php include_once "periodopeiinfo.php" ?>
<?php include_once "usuarioinfo.php" ?>
<?p... | ismaelmelo/git-zapmetrics | 02 - Prototipação/01 - Fontes/periodopeiadd.php | PHP | gpl-2.0 | 44,683 |
#
# Copyright 2001 - 2011 Ludek Smid [http://www.ospace.net/]
#
# This file is part of IGE - Outer Space.
#
# IGE - Outer Space 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 Lice... | Lukc/ospace-lukc | server/lib/ige/ospace/IPlayer.py | Python | gpl-2.0 | 47,542 |
// showaffidavits.cpp
//
// Show an affiliates affidavit status.
//
// (C) Copyright 2010 Fred Gleason <fredg@paravelsystems.com>
//
// $Id: showaffidavits.cpp,v 1.8 2011/04/29 22:13:25 pcvs Exp $
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU Gener... | ElvishArtisan/davit | davit/showaffidavits.cpp | C++ | gpl-2.0 | 4,893 |
<?php // (C) Copyright Bobbing Wide 2015
/**
* Schunter options
*
* Contains the options data for Schunter
*
* This is used to control the scanning of the WordPress database for content which appears to contain shortcodes
*
*
*/
class Schunter_options {
/**
* Total number of posts to process in an invoc... | bobbingwide/schunter | admin/class-schunter-options.php | PHP | gpl-2.0 | 1,456 |
class PostPolicy < ApplicationPolicy
class Scope < Scope
def resolve
if user && user.admin?
scope.all
else
scope.where(published: true)
end
end
end
def create?
user
end
def show?
record.published? || (user && user.admin?)
end
def show_with_contest?
... | DHUers/rigidoj | app/policies/post_policy.rb | Ruby | gpl-2.0 | 627 |
<!-- PAGE table -->
<div class="row">
<div class="col-md-12">
<!-- BOX -->
<div class="box border blue">
<div class="box-title">
<h4><i class="fa fa-table"></i>Inbox</h4>
</div>
<div class="box-body">
<table cellpadding="0" cellspacing="0" border="0" class="table table-striped table-bordered"... | LawangSukmaSejati/RegisterPakan | application/modules/registrasi/views/messagess/inbox.php | PHP | gpl-2.0 | 4,027 |
<?php
namespace App\Controller;
use App\Entity\Member;
use App\Repository\MemberRepository;
use App\Service\Mailer;
use App\Utilities\TranslatorTrait;
use Exception;
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Res... | BeWelcome/rox | src/Controller/SignupController.php | PHP | gpl-2.0 | 5,131 |
/**
* @created on : 30-jul-2017, 11:41:59
* @see
* @since
* @version
* @author Raul Vela Salas
*/
package java_ejemplo_Operaciones;
public class CambiarSentidoNumeroMejorado2 {
private static int resto;
private static int cociente;
private static double totalTemp;
public static int getNumeroDiv... | NoTengoNombre/Java_ActualizarConocimientos | Java_Ejemplos/src/java_ejemplo_Operaciones/CambiarSentidoNumeroMejorado2.java | Java | gpl-2.0 | 1,269 |
/*******************************************************************************
* File ClassicYFComposer.java
*
* Authors:
* Wolfgang Maier
*
* Copyright:
* Wolfgang Maier, 2011
*
* This file is part of rparse, see <www.wolfgang-maier.net/rparse>.
*
* rparse is free software; you can redistribu... | wmaier/rparse | src/de/tuebingen/rparse/parser/ClassicYFComposer.java | Java | gpl-2.0 | 2,689 |
package com.aucguy.usefulthings.util;
import java.util.Iterator;
/**
* goes over a series of numbers. This is like python's range (for 3) or xrange (for 2) function
*
* @author aucguy
*/
public class Range implements Iterable<Integer>, Iterator<Integer> {
protected int start;
protected int end;
/**
* the cu... | aucguy/Useful-Things-Mod | src/main/java/com/aucguy/usefulthings/util/Range.java | Java | gpl-2.0 | 987 |
/*
* Copyright 1995-1997 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... | neelance/jre4ruby | jre4ruby/src/share/java/lang/NoSuchFieldError.java | Java | gpl-2.0 | 2,013 |
/**
* OWASP Benchmark Project v1.1
*
* This file is part of the Open Web Application Security Project (OWASP)
* Benchmark Project. For details, please see
* <a href="https://www.owasp.org/index.php/Benchmark">https://www.owasp.org/index.php/Benchmark</a>.
*
* The Benchmark is free software: you can redistribute it and/... | iammyr/Benchmark | src/main/java/org/owasp/benchmark/testcode/BenchmarkTest17593.java | Java | gpl-2.0 | 2,173 |
package de.ahaus.dennis.javautils.impl.helper;
/**
* This Assert class is a helper to to validate objects in just one line of code
* <p>
* This is mainly to avoid writing redundant code. Each validating method throws
* a special Exception when the test fails or returns true if validation
* succeeds.
* <p>
* Exa... | DennisAhaus/java-utils | java-utils-impl/src/main/java/de/ahaus/dennis/javautils/impl/helper/Assert.java | Java | gpl-2.0 | 2,163 |
# pygsear
# Copyright (C) 2003 Lee Harr
#
#
# This file is part of pygsear.
#
# pygsear 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.... | davesteele/pygsear-debian | examples/wings_chase.py | Python | gpl-2.0 | 2,919 |
<?php
/**
* @file
* Zen theme's implementation for comments.
*
* Available variables:
* - $author: Comment author. Can be link or plain text.
* - $content: An array of comment items. Use render($content) to print them all, or
* print a subset such as render($content['field_example']). Use
* hide($content['f... | Drupalbook/shopogoliki | sites/all/themes/sitemade/templates/comment.tpl.php | PHP | gpl-2.0 | 4,250 |
//-----------------------------------------------------------------------------
// File: ObjectExportDialog.cpp
//-----------------------------------------------------------------------------
// Project: Kactus2
// Author: Mikko Teuho
// Date: 04.07.2017
//
// Description:
// Dialog for selecting the exported items.
//... | kactus2/kactus2dev | common/dialogs/ObjectExportDialog/ObjectExportDialog.cpp | C++ | gpl-2.0 | 5,516 |
<?php
include __DIR__ . '/paths.php';
// Load Nette Framework or autoloader generated by Composer
require __DIR__ . '/Parsedown.php';
require __DIR__ . '/../libs/autoload.php';
$configurator = new Nette\Config\Configurator;
// Enable Nette Debugger for error visualisation & logging
$configurator->setDebugM... | hackcraft-sk/swarm | overmind/app/bootstrap.php | PHP | gpl-2.0 | 907 |
package org.bytedeco.javacpp.annotation;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import org.bytedeco.javacpp.Loader;
import org.bytedeco.javacpp.tools.Builder;
import org.bytedeco.javacpp.tools.Gene... | xuse/javacpp | src/main/java/org/bytedeco/javacpp/annotation/Properties.java | Java | gpl-2.0 | 1,823 |
/*******************************************************************************
* Copyright (c) 2017 Moritz Lang.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the GNU Public License v2.0
* which accompanies this distribution, and is available at
* http... | langmo/youscope | plugins/bd-bioscience-multiwell-tc-microplates/src/main/java/org/youscope/plugin/bdbiosciencemicroplates/BDBioscienceMultiwellTC12MicroplateConfiguration.java | Java | gpl-2.0 | 1,371 |
using Autofac;
using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel;
using Trooper.Interface.DynamicServiceHost;
namespace Trooper.DynamicServiceHost
{
public class HostInfoHelper
{
public static void BuildHostInfo(Func<object> supporter, IDynamicHostInfo hostIn... | stevenharrap/Trooper | Trooper/DynamicServiceHost/HostInfoHelper.cs | C# | gpl-2.0 | 4,126 |
/*
* serial.hpp
*
* Serial communications wrapper. This code compiles under Windows and
* Linux. Handy for multiplatform projects that use seria lcommunications.
*
* Copyright (C) 2014 Raúl Hermoso Sánchez
*
* This program is free software; you can redistribute it and/or modify
* it under the terms ... | Di4l/fluav-rpi | ui_serial/serial.hpp | C++ | gpl-2.0 | 5,272 |
module Spree
module Betaout
class Engine < Rails::Engine
require 'spree/core'
isolate_namespace Spree
engine_name 'spree_betaout'
config.autoload_paths += %W(#{config.root}/lib)
# use rspec for tests
config.generators do |g|
g.test_framework :rspec
end
ini... | betaout/spree_betaout | lib/spree/betaout/engine.rb | Ruby | gpl-2.0 | 752 |
<?php
/**
* 2Moons
* Copyright (C) 2012 Jan Kröpke
*
* 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.
*
* Thi... | joancefet/StellarWars | 1.7.3/includes/extauth/openid.class.php | PHP | gpl-2.0 | 3,504 |
<?php
namespace Gjo\GjoSjrOffers\Domain\Model;
use TYPO3\CMS\Extbase\DomainObject\AbstractEntity;
/***************************************************************
* Copyright notice
*
* (c) 2009 Jochen Rau <jochen.rau@typoplanet.de>
* All rights reserved
*
* This script is part of the TYPO3 project. The TYP... | obsolete-gjo-se/2014_typo3_gjo_sjr_offers | Classes/Domain/Model/Contact.php | PHP | gpl-2.0 | 3,606 |
/***************************************************************************
* Copyright (C) 2006 by Massimiliano Torromeo *
* massimiliano.torromeo@gmail.com *
* *
* This pr... | Nebuleon/gmenu2x-gcw0 | src/inputdialog.cpp | C++ | gpl-2.0 | 9,774 |
package tracker.diagram.edit.parts;
import org.eclipse.draw2d.ColorConstants;
import org.eclipse.draw2d.IFigure;
import org.eclipse.draw2d.RectangleFigure;
import org.eclipse.draw2d.Shape;
import org.eclipse.draw2d.StackLayout;
import org.eclipse.gef.EditPart;
import org.eclipse.gef.EditPolicy;
import org.eclipse.gef.... | CarlAtComputer/tracker | src/java_version/tracker_model/tracker_model.diagram/src/tracker/diagram/edit/parts/ClerkEditPart.java | Java | gpl-2.0 | 4,561 |
<?php
/**
* @package Matukio
* @author Yves Hoppe <yves@compojoom.com>
* @date 10.11.13
*
* @copyright Copyright (C) 2008 - 2013 Yves Hoppe - compojoom.com . All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE
*/
defined('_JEXEC') or die('Restricted access... | JonatanLiecheski/MeditecJoomla | administrator/components/com_matukio/controllers/requests.php | PHP | gpl-2.0 | 816 |
/*
* File Name: Helper Js file
* File Author: Design Arc
* File Description: This is helper javascript file. Used for activating js plugins and Other javascript effects adding. Thanks
*/
/*-------------------------------------
--------- TABLE OF CONTENT ------------
---------------------------------------
1.bannerSl... | indexcosmos/renzi | wp-content/themes/apartvilla/js/custom.js | JavaScript | gpl-2.0 | 11,100 |
# Routines for handling fasta sequences and tab sep files
# std packages
import sys, textwrap, operator, types, doctest,logging, gzip, struct, cPickle, gc, itertools, math
from collections import defaultdict
from types import *
from os.path import basename, splitext
# external packages
try:
import namedtuple
exc... | maximilianh/maxtools | lib/maxbio.py | Python | gpl-2.0 | 12,239 |
using System;
using System.Collections.Generic;
using System.IO;
namespace MediaPoint.Subtitles.Logic
{
public class SubtitleSequence
{
public long StartMilliseconds { get; set; }
public long EndMilliseconds { get; set; }
public byte[] BinaryData { get; set; }
public SubtitleS... | msimic/MediaPoint | MediaPoint_Common/Subtitles/VideoFormats/Matroska.cs | C# | gpl-2.0 | 47,613 |
#!/usr/bin/env python
###############################################################################
#
# searchMappedPairs.py
#
# Given a bam file, this srcipt will calculate where the mate of the read
# is mapped or unmappedand in which contig that mate is mapped to. The aim
# being to generate a graphvi... | JoshDaly/scriptShed | searchMappedPairs.py | Python | gpl-2.0 | 5,548 |
<?php
/**
* Partial: Related article for main article
*/
?>
<?php
$single_id = $post->ID;
$categories = get_the_category( $post->ID);
$intCategoryId = $categories[0]->cat_ID;
$strCategoryName = $categories[0]->cat_name;
$args = array( 'cat' => $intCategoryId ,'order' => 'DESC' , 'posts_per_page' =>'2','post__not_i... | srinivas-qfor/jkc-wp | wp-content/themes/jeanknowscars/template-parts/related.php | PHP | gpl-2.0 | 3,140 |
<section id="intro" class="intro-section">
<div class="container">
<div class="row">
<div class="col-lg-12">
<center>
<h1>Login</h1>
<form name="f" method="post" action="?page=login">
<p><input class="form-control" style="color:#000;wid... | Qwaz/solved-hacking-problem | sciencewar/2016/wargame_easy/login.php | PHP | gpl-2.0 | 1,287 |
/*
* Copyright (C) 2008-2011 TrinityCore <http://www.trinitycore.org/>
* Copyright (C) 2005-2009 MaNGOS <http://getmangos.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 ver... | V1rd/ReanEmu | src/server/game/AI/CreatureAI.cpp | C++ | gpl-2.0 | 7,304 |
/***************************************************************************
* Copyright (C) 2004-2017 by Michael Griffin *
* mrmisticismo@hotmail.com *
* *
* Purpose... | M-griffin/Enthral | src/console.cpp | C++ | gpl-2.0 | 12,703 |
# Copyright (c) Facebook, Inc. and its affiliates.
#
# This software may be used and distributed according to the terms of the
# GNU General Public License version 2.
# This module will be shared with other services. Therefore, please refrain from
# importing anything from Mercurial and creating a dependency on Mercur... | facebookexperimental/eden | eden/hg-server/edenscm/hgext/memcommit/commitdata.py | Python | gpl-2.0 | 5,031 |
/*
* Corsen development code
*
* This code may be freely distributed and modified under the
* terms of the GNU General Public Licence version 2 or later. This
* should be distributed with the code. If you do not have a copy,
* see:
*
* http://www.gnu.org/licenses/gpl-2.0.txt
*
* Copyrigh... | GenomicParisCentre/corsen | src/main/java/fr/ens/transcriptome/corsen/model/ListPoint3DFactory.java | Java | gpl-2.0 | 2,212 |
#include <QtGui/QApplication>
#include "MainWindow.h"
int main(int argc, char *argv[])
{
QApplication app(argc, argv);
MainWindow mainPage;
mainPage.show();
return app.exec();
}
| MarcGrenier/PicModifier | Source/PicModifier/main.cpp | C++ | gpl-2.0 | 185 |
/**
* @license Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.html or http://ckeditor.com/license
*/
/**
* This file was added automatically by CKEditor builder.
* You may re-use it at any time at http://ckeditor.com/builder to build CKEditor aga... | SecondBureau/refinerycms-activebackend | app/assets/javascripts/vendor/ckeditor/build-config.js | JavaScript | gpl-2.0 | 2,095 |
package com.nbcedu.function.schoolmaster2.tags;
import com.nbcedu.function.schoolmaster2.data.vo.PersonVo;
import com.nbcedu.function.schoolmaster2.tags.display.AbstractDisplayTag;
import com.nbcedu.function.schoolmaster2.utils.Utils;
@SuppressWarnings("serial")
public class ShowWhenManager extends AbstractDisplayTag... | LuckyStars/nbc | function-schoolmaster2/java/function-schoolmaster2/src/main/com/nbcedu/function/schoolmaster2/tags/ShowWhenManager.java | Java | gpl-2.0 | 541 |
<?php
/**
* @version SVN: <svn_id>
* @package Quick2cart
* @author Techjoomla <extensions@techjoomla.com>
* @copyright Copyright (c) 2009-2015 TechJoomla. All rights reserved.
* @license GNU General Public License version 2 or later.
*/
// No direct access.
defined('_JEXEC') or die();
// Load Quic... | BetterBetterBetter/B3App | administrator/components/com_quick2cart/controllers/shipping.php | PHP | gpl-2.0 | 3,064 |
/*
Copyright_License {
XCSoar Glide Computer - http://www.xcsoar.org/
Copyright (C) 2000-2012 The XCSoar Project
A detailed list of copyright holders can be found in the file "AUTHORS".
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
... | aharrison24/XCSoar | src/Look/AirspaceLook.cpp | C++ | gpl-2.0 | 2,534 |
import pyterpol
import matplotlib.pyplot as plt
wmin = 3600
wmax = 4100
sygri = pyterpol.SyntheticGrid(flux_type='absolute')
params = dict(teff=9950, logg=3.7, z=1.0)
spec1 = sygri.get_synthetic_spectrum(params, [wmin, wmax], order=4, step=0.1)
params = dict(teff=10000, logg=3.5, z=1.0)
spec2 = sygri.get_synthetic_spe... | chrysante87/pyterpol | pyterpol_test/test_absolute_spectra/test.py | Python | gpl-2.0 | 575 |
<?php
/**
* Joomla! 1.5 component LISTBINGO
*
* @version $Id: view.html.php 2010-01-10 00:57:37 svn $
* @author gobingoo.com
* @package Joomla
* @subpackage LISTBINGO
* @license GNU/GPL
*
* A classified ad component from gobingoo.com.
*
* @code Bruce
*
*/
// no direct access
defined ( '_JEXEC' ) or die ( ... | ger4003/int14_ger_joomla | components/com_listbingo/views/ads/view.html.php | PHP | gpl-2.0 | 8,466 |
package helpers
import (
"encoding/json"
"fmt"
"io/ioutil"
"log"
"strconv"
"sync/atomic"
"time"
"application/libraries/toml"
"github.com/coreos/etcd/clientv3"
"github.com/garyburd/redigo/redis"
_ "github.com/go-sql-driver/mysql"
"github.com/go-xorm/xorm"
"gopkg.in/mgo.v2"
)
func AnyTypeInt(sint interfa... | beck917/pillX | src/application/libraries/helpers/utils.go | GO | gpl-2.0 | 3,555 |
<?php
/**
* Register all actions and filters for the plugin
*
* @link http://www.blogfoster.com/
* @since 1.0.0
*
* @package Blogfoster_Insights
* @subpackage Blogfoster_Insights/includes
*/
/**
* Register all actions and filters for the plugin.
*
* Maintain a list of all hooks that are regis... | FlorianTopf/pixie | wp-content/plugins/wp-blogfoster-insights/includes/class-wp-blogfoster-insights-loader.php | PHP | gpl-2.0 | 4,970 |
<?php
/*
Plugin Name: Shortcodes Ultimate
Plugin URI: http://shortcodes-ultimate.com/
Version: 3.9.5
Author: Vladimir Anokhin
Author URI: http://gndev.info/
Description: Provides support for many easy to use shortcodes
Text Domain: shortcodes-ultimate
Domain Path: /languages
Licens... | b00y0h/reverse-cumi | lib/shortcodes-ultimate/shortcodes-ultimate.php | PHP | gpl-2.0 | 10,198 |
/****************************************************************
* Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org)
* =============================================================
* License Information: http://lamsfoundation.org/licensing/lams/2.0/
*
* This program is free software; you can redistri... | lamsfoundation/lams | lams_common/src/java/org/lamsfoundation/lams/learningdesign/NullActivity.java | Java | gpl-2.0 | 1,614 |
#!/usr/bin/env python
# -*- coding: <utf-8> -*-
"""
This file is part of Spartacus project
Copyright (C) 2016 CSE
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, o... | CommunicationsSecurityEstablishment/spartacus | ToolChain/Linker/Constants.py | Python | gpl-2.0 | 1,090 |
package ie.ucd.srg.koa.esb.beans;
import ie.ucd.srg.ejs.container.*;
/**
* EJSCMPDecryptedesbHomeBean
* @generated
*/
public class EJSCMPDecryptedesbHomeBean extends EJSHome {
/**
* EJSCMPDecryptedesbHomeBean
* @generated
*/
public EJSCMPDecryptedesbHomeBean() throws java.rmi.RemoteException {
super(); }
... | GaloisInc/KOA | infrastructure/source/WebVotingSystem/src/ie/ucd/srg/koa/esb/beans/EJSCMPDecryptedesbHomeBean.java | Java | gpl-2.0 | 4,232 |
// { dg-do compile }
// 2007-09-20 Benjamin Kosnik <bkoz@redhat.com>
// Copyright (C) 2007 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
// terms of the GNU General Public License as published by... | epicsdeb/rtems-gcc-newlib | libstdc++-v3/testsuite/25_algorithms/remove_copy/requirements/explicit_instantiation/2.cc | C++ | gpl-2.0 | 1,767 |
<?php
/*
Template Name: Home Page
*/
/**
* The template for displaying all pages.
*
* This is the template that displays all pages by default.
* Please note that this is the WordPress construct of pages
* and that other 'pages' on your WordPress site will use a
* different template.
*
* @package _s
* @since _s... | julienbourdeau/sigerr-theme | page-home.php | PHP | gpl-2.0 | 1,576 |
#include <iostream>
#include <algorithm>
#include <cmath>
using namespace std;
const int MAXM = 10001;
int f[MAXM], n, m, v;
int main()
{
cin >> n >> m;
int i, j;
for(i = 1; i <= n; i++)
{
cin >> v;
for(j = m; j >= v; j--)
f[j] = max(f[j], f[j-v]+v);
}
cout << "answer:" << abs(m - f[m]);
... | iwtwiioi/OnlineJudge | wikioi/Run_325977_Score_0_Date_2013-10-29.cpp | C++ | gpl-2.0 | 334 |
<?php
// +-------------------------------------------------+
// © 2002-2004 PMB Services / www.sigb.net pmb@sigb.net et contributeurs (voir www.sigb.net)
// +-------------------------------------------------+
// $Id: empr_caddie.class.php,v 1.5 2013-04-11 08:08:11 mbertin Exp $
if (stristr($_SERVER['REQUEST_URI'], ".c... | Gambiit/pmb-on-docker | web_appli/pmb/classes/empr_caddie.class.php | PHP | gpl-2.0 | 8,518 |
package com.gollum.core.common.items;
import com.gollum.core.tools.helper.items.HItem;
import net.minecraft.block.Block;
import net.minecraft.block.state.IBlockState;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.ItemStack;
import net.minecraft.util.BlockPos;
import net.minecraft.util.Enu... | GollumTeam/GollumCoreLib | src/main/java/com/gollum/core/common/items/ItemWrench.java | Java | gpl-2.0 | 1,363 |
<div class="post">
<?php if(!empty($title)) {?>
<h2 class="window-title"><?=$title?></h2>
<?php }?>
<div class="window-main" style="text-align: <?=$align?>;">
<?=$content?>
</div>
</div>
| Den1xxx/ReloadCMS | skins/websat/skin.window.php | PHP | gpl-2.0 | 191 |
/**
@file
SFTP filesystem item using libssh2 backend.
@if license
Copyright (C) 2012 Alexander Lamaison <awl03@doc.ic.ac.uk>
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... | alamaison/swish | swish/provider/libssh2_sftp_filesystem_item.hpp | C++ | gpl-2.0 | 3,862 |
/* ====================================================================
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to Y... | lamsfoundation/lams | 3rdParty_sources/poi/org/apache/poi/ss/util/ExpandedDouble.java | Java | gpl-2.0 | 3,247 |
<?php
/**
* Writepanel class
*/
if ( !class_exists( 'WooCommerce_PDF_Invoices_Writepanels' ) ) {
class WooCommerce_PDF_Invoices_Writepanels {
public $bulk_actions;
/**
* Constructor
*/
public function __construct() {
add_action( 'woocommerce_admin_order_actions_end', array( $this, 'add_listing_acti... | integrait/wp_ds | wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/class-wcpdf-writepanels.php | PHP | gpl-2.0 | 10,805 |
<?php
namespace Dennis\Tournament\Controller;
/**
* Description of the class 'Tournament1on1Controller.php'
*
* @author Dennis Römmich <dennis@roemmich.eu>
* @copyright Copyright belongs to the respective authors
* @license http://www.gnu.org/licenses/gpl.html
* GNU General Public License, version 3 or later
*/... | TildBJ/tournament | Classes/Controller/TournamentdisabledController.php | PHP | gpl-2.0 | 792 |
enyo.kind({
name: "CoreNavi",
style: "background-color: black;",
layoutKind: "FittableColumnsLayout",
fingerTracking: false, //Use legacy keyEvents by default, set to true to enable finger-tracking events
components:[
{style: "width: 33%;"},
{kind: "Image",
src: "$lib/webos-lib/assets/lightbar.png",
fit: t... | janthiemen/owo_filemanager | filemanager.application/lib/webos-lib/source/CoreNavi.js | JavaScript | gpl-2.0 | 1,600 |
<?php
/**
* View all details of review, edit answers from user
*/
require_once( ABSPATH . 'wp-content/plugins/buildable-reviews/admin/sql-quieries.php' );
$sql = new BR_SQL_Quieries();
if(isset($_GET['review-id'])) {
$review_id = $_GET['review-id'];
//the review we are looking at
$where = 'WHERE R.revi... | fh222dt/buildable-reviews | admin/partials/buildable-reviews-admin-review-details.php | PHP | gpl-2.0 | 3,466 |
/****************************************************************
* Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org)
* =============================================================
* License Information: http://lamsfoundation.org/licensing/lams/2.0/
*
* This program is free software; you can redistri... | lamsfoundation/lams | lams_tool_daco/src/java/org/lamsfoundation/lams/tool/daco/web/controller/MonitoringController.java | Java | gpl-2.0 | 22,813 |
# BGFit - Bacterial Growth Curve Fitting
# Copyright (C) 2012-2012 André Veríssimo
#
# 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 ... | averissimo/BGFit | app/controllers/lines_controller.rb | Ruby | gpl-2.0 | 3,463 |
<?php get_header(); ?>
<div id="content">
<?php if ( !is_archive() ) { ?>
<a href="http://localhost:8001/forums/forum/何でも掲示板"><div id="notice_board_img"><img src="/wp-content/uploads/2016/06/good_1-2.jpg" width="100%" alt="notice-board" /></div></a>
<?php } ?>
<?php if ( is_archive() ) { ?>
<h2 class="headin... | satoshishimazaki/notice-board3 | wp-content/wptouch-data/themes/classic-redux/default/index.php | PHP | gpl-2.0 | 1,499 |
<?php
/**
* Managing core Dashboard settings.
*
* @copyright 2009-2015 Vanilla Forums Inc.
* @license http://www.opensource.org/licenses/gpl-2.0.php GNU GPL v2
* @package Dashboard
* @since 2.0
*/
/**
* Handles /settings endpoint.
*/
class SettingsController extends DashboardController {
/** @var array M... | ych06/vanilla | applications/dashboard/controllers/class.settingscontroller.php | PHP | gpl-2.0 | 51,584 |
<?php
/**
* Comments Loop Widget
*
* @since 0.1
*/
// WIDGET CLASS
class Bizz_Widget_Comments_Loop extends WP_Widget {
function Bizz_Widget_Comments_Loop() {
$widget_ops = array( 'classname' => 'bizz-comments-loop', 'description' => __( 'Display Comments', 'bizzthemes' ) );
$control_ops = array(... | pereiracruz2002/vaniaSalgados | wp-content/themes/restaurant/lib_frame/widgets/widget-comments.php | PHP | gpl-2.0 | 37,700 |
#include "JsVlcSubtitles.h"
#include "NodeTools.h"
#include "JsVlcPlayer.h"
v8::Persistent<v8::Function> JsVlcSubtitles::_jsConstructor;
void JsVlcSubtitles::initJsApi()
{
using namespace v8;
Isolate* isolate = Isolate::GetCurrent();
HandleScope scope( isolate );
Local<FunctionTemplate> constructor... | jaruba/WebChimera.js | src/JsVlcSubtitles.cpp | C++ | gpl-2.0 | 4,021 |
# Portions Copyright (c) Meta Platforms, Inc. and affiliates.
#
# This software may be used and distributed according to the terms of the
# GNU General Public License version 2.
# convert.py Foreign SCM converter
#
# Copyright 2005-2007 Matt Mackall <mpm@selenic.com>
#
# This software may be used and distributed accor... | facebookexperimental/eden | eden/scm/edenscm/hgext/convert/__init__.py | Python | gpl-2.0 | 16,126 |
class Photo < ActiveRecord::Base
belongs_to :imageable, polymorphic: true, counter_cache: true, touch: true
scope :processed, ->{ where(image_processing: nil) }
def url_for(version_key, asset_host = ENV['ASSET_HOST'])
version(version_key).url_for(asset_host)
end
def is_processed?
!self.image_process... | mokhan/cakeside | app/models/photo.rb | Ruby | gpl-2.0 | 975 |
<?php
/*
* Project: GoogleMapAPI V3: a PHP library inteface to the Google Map API v3
* File: GoogleMapV3.php
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* ... | jewsroch/sf-photos | zp-core/zp-extensions/GoogleMap/GoogleMap.php | PHP | gpl-2.0 | 84,178 |
/*
* Copyright (C) 2015 Iasc CHEN
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed ... | huran2014/huran.github.io | LEDdisplay/ble-8x8ledpad/Android/app/src/main/java/me/iasc/microduino/blueledpad/db/ImgUtility.java | Java | gpl-2.0 | 1,217 |
package com.homeCenter.service;
import java.util.UUID;
import com.almworks.sqlite4java.SQLiteConnection;
import com.almworks.sqlite4java.SQLiteException;
import com.almworks.sqlite4java.SQLiteJob;
import com.almworks.sqlite4java.SQLiteStatement;
import com.google.gson.Gson;
import com.google.gson.JsonArray;
import co... | NukulaPoncho/homeCenter | src/com/homeCenter/service/VisualizationDashboard.java | Java | gpl-2.0 | 5,123 |
<?php
require_once('constants.php');
require_once('lib_annot.php');
require_once('lib_history.php');
require_once('lib_xml.php');
require_once('lib_morph_pools.php');
require_once('Lexeme.php');
// GENERAL
function get_dict_stats() {
$out = array();
$r = sql_fetch_array(sql_query("SELECT COUNT(*) AS cnt_g FROM... | OpenCorpora/opencorpora | lib/lib_dict.php | PHP | gpl-2.0 | 34,646 |
<?php
/**
* @package HikaShop for Joomla!
* @version 2.4.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 hikashopProductsyncType{
function load()... | metalwork/anphates | administrator/components/com_hikashop/types/productsync.php | PHP | gpl-2.0 | 993 |
/****************************************************************************
*
* This file is part of the ustk software.
* Copyright (C) 2016 - 2017 by Inria. All rights reserved.
*
* This software is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* (... | lagadic/ustk | modules/ustk_image_processing/ustk_needle_detection/src/usNeedleTrackerSIR2D.cpp | C++ | gpl-3.0 | 9,747 |
class RestaurantsController < ApplicationController
before_action :set_restaurant, only: [:show, :edit, :update, :destroy]
# GET /restaurants
# GET /restaurants.json
def index
@restaurants = Restaurant.all
end
# GET /restaurants/1
# GET /restaurants/1.json
def show
end
# GET /restaurants/new
... | CeutecIngDeSoftware/LeBaleada | app/controllers/restaurants_controller.rb | Ruby | gpl-3.0 | 2,091 |
<?php
/*
* @copyright 2014 Mautic Contributors. All rights reserved
* @author Mautic
*
* @link http://mautic.org
*
* @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
*/
namespace Mautic\LeadBundle\Controller;
use Mautic\CoreBundle\Controller\FormController;
use Mautic\LeadBundle\E... | PatchRanger/mautic | app/bundles/LeadBundle/Controller/FieldController.php | PHP | gpl-3.0 | 19,576 |
/**
* AvaTax Brazil
* The Avatax-Brazil API exposes the most commonly services available for interacting with the AvaTax-Brazil services, allowing calculation of taxes, issuing electronic invoice documents and modifying existing transactions when allowed by tax authorities. This API is exclusively for use by busines... | Avalara/avataxbr-clients | javascript-client/test/model/Body4.spec.js | JavaScript | gpl-3.0 | 2,454 |
'''
Created on Mar 25, 2016
Created on Jan 27, 2016
3.3V pin : 1,17
5V pin : 2,4
Ground : 6,9,14,20,25,30,34,39
EPROM : 27,28
GPIO : 3,5,7,8,10,11,12,13,15,16,18,10,21,22,23,24,26,29,31,32,33,35,36,37,38,40
Motor Control : 29,31,33,35
front 7,8
left 11,12
right 15,16
back 21,22
top 23,24
signal 26
sigt 10
wireless ... | kumar-physics/pi | ObstacleAvoidance/ObstacleAvoidance/Jeno.py | Python | gpl-3.0 | 4,812 |
import { EntityRepository } from 'typeorm';
import LicenceEntity from '../entities/Licence';
import BaseRepository from './BaseRepository';
@EntityRepository(LicenceEntity)
export default class LicenceRepository extends BaseRepository<LicenceEntity> {}
| antoinejaussoin/retro-board | backend/src/db/repositories/LicenceRepository.ts | TypeScript | gpl-3.0 | 254 |
def check_voter(name):
if voted.get(name):
print("kick them out!")
else:
voted[name] = True
print("let them vote!")
book = dict()
book["apple"] = 0.67
book["milk"] = 1.49
book["avocado"] = 1.49
print(book)
print(book["avocado"])
phone_book = {}
phone_book["jenny"] = 711256
ph... | serggrom/python-algorithms | Hash-tables.py | Python | gpl-3.0 | 446 |
using Abrotelia.Core.Data.Persistence;
using Abrotelia.JsonToDb.Extensions;
using LiteDB;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Abrotelia.JsonToDb
{
class Program
{
static void Main(string[] args)
... | vkocjancic/abrotelia | Abrotelia.JsonToDb/Program.cs | C# | gpl-3.0 | 2,388 |
var db = require('../db');
var User = db.model('User', {
username: {
type: String,
required: true
},
email: {
type: String,
required: true
},
password: {
type: String,
required: true,
select: false
},
active: {
type: Boolean,
... | MICSTI/ping | models/user.js | JavaScript | gpl-3.0 | 492 |
/************************************************************************
* This file is part of EspoCRM.
*
* EspoCRM - Open Source CRM application.
* Copyright (C) 2014-2015 Yuri Kuznetsov, Taras Machyshyn, Oleksiy Avramenko
* Website: http://www.espocrm.com
*
* EspoCRM is free software: you can redistribute it... | IgorGulyaev/iteamzen | client/src/views/fields/date.js | JavaScript | gpl-3.0 | 12,615 |
/*
* This file is part of Transdroid <http://www.transdroid.org>
*
* Transdroid 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.
... | erickok/transdroid | app/src/main/java/org/transdroid/daemon/task/DaemonTaskFailureResult.java | Java | gpl-3.0 | 1,543 |
import { MyseriesService } from '../../services/myseries.service';
import { Component, OnInit, EventEmitter } from '@angular/core';
import { TVMAZE_API_URL } from '../../app.tokens';
import { TvmazeService } from '../../services/tvmaze.service';
import { Serie } from '../../model/serie.model';
@Component({
selector:... | jorgeas80/webhub | ng2/appseries/src/app/components/seriestable/seriestable.component.ts | TypeScript | gpl-3.0 | 1,996 |
using System.Linq;
using System.Collections.Generic;
using NzbDrone.Core.Qualities;
using NzbDrone.Core.Tv;
using NzbDrone.Core.MediaFiles.MediaInfo;
namespace NzbDrone.Core.Parser.Model
{
public class LocalMovie
{
public LocalMovie()
{
}
public string Path { get; set; }
... | jamesmacwhite/Radarr | src/NzbDrone.Core/Parser/Model/LocalMovie.cs | C# | gpl-3.0 | 713 |
/**
* multipool-stats-backend is a web application which collects statistics
* on several Switching-profit crypto-currencies mining pools and display
* then in a Browser.
* Copyright (C) 2014 Stratehm (stratehm@hotmail.com)
*
* This program is free software; you can redistribute it and/or modify
* it under the ... | Stratehm/multipool-stats-backend | src/main/java/strat/mining/multipool/stats/client/place/WafflePoolPlaceDescriptor.java | Java | gpl-3.0 | 2,141 |
/*
Copyright © Iain McDonald 2012
This file is part of FinancialPricer.
FinancialPricer 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 v... | lifebeyondfife/FinancialPricer | BondPricer/BondPricer.cs | C# | gpl-3.0 | 7,510 |
package org.outermedia.solrfusion.response.parser;
/*
* #%L
* SolrFusion
* %%
* Copyright (C) 2014 outermedia GmbH
* %%
* 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 ... | outermedia/solr-fusion | src/main/java/org/outermedia/solrfusion/response/parser/Result.java | Java | gpl-3.0 | 1,565 |
define([
'core/js/adapt'
], function (Adapt) {
var PopupView = Backbone.View.extend({
className: 'iconpopup__popup',
events: {
'click .js-iconpopup-close-btn-click': 'closePopup'
},
initialize: function () {
this.listenToOnce(Adapt, 'notify:opened', this.onOpened);
// Audio
... | deltanet/adapt-icon-popup | js/popupView.js | JavaScript | gpl-3.0 | 1,192 |
using System.Threading;
using Selkie.Services.Monitor.SpecFlow.Steps.Common;
using TechTalk.SpecFlow;
namespace Selkie.Services.Monitor.SpecFlow.Steps
{
public class GivenIWaitUntilServicesAreRunningStep : BaseStep
{
[Given(@"I wait until services are running")]
public override void Do()
... | tschroedter/Selkie.Services.Monitor | Selkie.Services.Monitor.SpecFlow/Steps/GivenIWaitUntilServicesAreRunningStep.cs | C# | gpl-3.0 | 377 |
package alexiil.mc.mod.items;
import java.lang.reflect.Field;
import java.util.*;
import java.util.Map.Entry;
import com.google.common.base.Predicate;
import com.google.common.base.Predicates;
import com.google.common.collect.Lists;
import com.google.common.collect.MapMaker;
import org.apache.commons.lang3.mutable.M... | AlexIIL/EternalItems | src/main/java/alexiil/mc/mod/items/ItemCacheHandler.java | Java | gpl-3.0 | 13,403 |
/* ... */
private ContatoHelper helper;
private Button btSalvar;
@Override
public void onCreate(Bundle icicle) {
/* ... */
helper = new ContatoHelper(this);
carregar();
ir();
/* ... */
}
private void carregar() {
/* ... */
btSalvar = (Button) findViewById(R.id.bt_salvar);
}
private void ir() {
bt... | atilacamurca/guia-aberto-android | source/SalvarActivity-2.java | Java | gpl-3.0 | 777 |
#include <cts-gui/scripting/luatablewidget.h>
#include <cassert>
namespace cts { namespace gui {
LuaTableTreeWidget::LuaTableTreeWidget(sol::state* luaState, LuaTreeItem::ModelStyle modelStyle, QWidget* parent /*= 0*/)
: QTreeView(parent)
, m_luaState(luaState)
, m_modelStyle(modelStyle)
, m_treeModel(nullp... | Schulteatq/CityTrafficSimulatorPlusPlus | cts-gui/src/scripting/luatablewidget.cpp | C++ | gpl-3.0 | 1,382 |
#!/usr/bin/env ruby
require 'solidruby'
include SolidRuby
r = import(f: 'example013.dxf')
.linear_extrude(h: 100, center: true, co: 3)
r *= import(f: 'example013.dxf')
.linear_extrude(h: 100, ce: true, co: 3)
.rotate(y: 90)
r *= import(f: 'example013.dxf')
.linear_extrude(h: 100, ce: true, co: 3)
.rotate(... | MC-Squared/SolidRuby | examples/openscad_examples/old/example013.rb | Ruby | gpl-3.0 | 764 |
/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
/* Copyright 2012 Mozilla Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the Licen... | javaopensource2017/devweb | devweb/framework/resources/META-INF/resources/pdf.js/pdf.js | JavaScript | gpl-3.0 | 277,125 |