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 |
|---|---|---|---|---|---|
(function() {
tinymce.PluginManager.requireLangPack('kotofey_shortcodes');
tinymce.create('tinymce.plugins.kotofey_shortcodes', {
init : function(ed, url) {
ed.addCommand('mcekotofey_shortcodes', function() {
ed.windowManager.open({
file : url + '/interface.php',
width : 290 + ed.getLang('kotofey_... | nizaranand/New-Life-Office | dev/wp-content/themes/teardrop/extends/wysiwyg/editor.js | JavaScript | gpl-2.0 | 1,181 |
package com.lj.learning.dao;
// THIS CODE IS GENERATED BY greenDAO, EDIT ONLY INSIDE THE "KEEP"-SECTIONS
// KEEP INCLUDES - put your custom includes here
// KEEP INCLUDES END
/**
* Entity mapped to table "SHEET".
*/
public class Sheet implements java.io.Serializable {
private Long id;
/** Not-null value. *... | wbhqf3/test | Learning/app/src/main/java/com/lj/learning/dao/Sheet.java | Java | gpl-2.0 | 1,601 |
<?php
/**
* This houses all the code to integrate with X
*/
class Cornerstone_Integration_X_Theme {
/**
* Theme integrations should provide a stylesheet function returning the stylesheet name
* This will be matched with get_stylesheet() to determine if the integration will load
*/
public static function sty... | elinberg/ericlinberg | wp-content/plugins/cornerstone/includes/integrations/x-theme.php | PHP | gpl-2.0 | 12,573 |
/* $Id$ */
/** @file
*
* VBox frontends: Qt GUI ("VirtualBox"):
* The main() function
*/
/*
* Copyright (C) 2006-2009 Oracle Corporation
*
* This file is part of VirtualBox Open Source Edition (OSE), as
* available from http://www.virtualbox.org. This file is free software;
* you can redistribute it and/or mo... | dezelin/virtualbox | src/VBox/Frontends/VirtualBox/src/main.cpp | C++ | gpl-2.0 | 23,802 |
<?php
// no direct access
defined('_JEXEC') or die('Restricted access'); ?>
<div class="jbBoxTopLeft"><div class="jbBoxTopRight"><div class="jbBoxTop">
<div class="jbTextHeader"><?php echo JText::_('COM_JOOBB_BOARDLEGEND'); ?></div>
</div></div></div>
<div class="jbBoxOuter"><div class="jbBoxInner">
<div class="jbLe... | srajib/share2learn | components/com_joobb/assets/templates/joobb/joobb_boardfooter.php | PHP | gpl-2.0 | 945 |
public class ValueGenerator {
}
| DB-SE/isp2014.marcus.kamieth | Algorithms_DataStructures_AspectJ/src/base/ValueGenerator.java | Java | gpl-2.0 | 35 |
package remasterkit;
import java.awt.BorderLayout;
import java.awt.EventQueue;
import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.UIManager;
import javax.swing.border.EmptyBorder;
import javax.swing.JLabel;
import javax.swing.ImageIcon;
import javax.swing.border.TitledBorder;
import javax.swing.b... | anugrahbsoe/RemasterKit | app.remasterkit/src/remasterkit/Menu_Utama.java | Java | gpl-2.0 | 6,973 |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Copyright (C) 2016-2017 University of Dundee & Open Microscopy Environment.
# All Rights Reserved.
# Use is subject to license terms supplied in LICENSE.txt
#
import requests
from Parse_OMERO_Properties import USERNAME, PASSWORD, OMERO_WEB_HOST, \
... | jburel/openmicroscopy | examples/Training/python/Json_Api/Login.py | Python | gpl-2.0 | 3,163 |
package com.algebraweb.editor.client;
import com.google.gwt.user.client.ui.Button;
/**
* A button for the control panel. Will be styled accordingly.
*
* @author Patrick Brosi
*
*/
public class ControlPanelButton extends Button {
public ControlPanelButton(String desc) {
super();
this.addStyleName("controllp... | patrickbr/ferryleaks | src/com/algebraweb/editor/client/ControlPanelButton.java | Java | gpl-2.0 | 573 |
<?php
/**
* Intreface DAO
*
* @author: http://phpdao.com
* @date: 2013-11-06 23:13
*/
interface AccesoDAO{
/**
* Get Domain object by primry key
*
* @param String $id primary key
* @Return Acceso
*/
public function load($id);
/**
* Get all records from table
*/
public funct... | Digznav/DMG | files/old-projects/MIP/MIPhtml/FTU/class/dao/AccesoDAO.class.php | PHP | gpl-2.0 | 1,080 |
#python imports
import sys
import os
import time
import datetime
import subprocess
import json
import requests
from termcolor import colored
#third-party imports
#No third-party imports
#programmer generated imports
from logger import logger
from fileio import fileio
'''
***BEGIN DESCRIPTION***
Type: Search - Descri... | slaughterjames/static | modules/malware_bazaar_search.py | Python | gpl-2.0 | 5,588 |
// QueenMaxima, a chess playing program.
// Copyright (C) 1996-2013 Erik van het Hof and Hermen Reitsma
//
// 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... | hof/queenmaxima | src/legality.cpp | C++ | gpl-2.0 | 14,849 |
<?php
/*
* Comments cell type.
* Displays form and coments
*
*/
if( !function_exists('register_comments_cell_init') )
{
function register_comments_cell_init() {
if ( function_exists('register_dd_layout_cell_type') ) {
register_dd_layout_cell_type ( 'comments-cell',
array (
'name' => ... | juliusmiranda/wordpress | wp-content/plugins/layouts/classes/cell_types/wpddl.cell_comments.class.php | PHP | gpl-2.0 | 15,614 |
<?
class CategoryID extends Handler {
protected $REST_vars;
protected $DBs;
protected $User;
// RUN //
public function run() {
switch ( $this->REST_vars["method"] ) {
case "get":
$this->get();
break;
case "delete":
case "put":
case "post":
default:
throw new Erro... | jetwhiz/jackelo | jackelow.gjye.com/api/category/category-id.php | PHP | gpl-2.0 | 1,147 |
<?php
/**
* Controllo se il file viene richiamato direttamente senza
* essere incluso dalla procedura standard del plugin.
*
* @package SZGoogle
*/
if (!defined('SZ_PLUGIN_GOOGLE') or !SZ_PLUGIN_GOOGLE) die();
/**
* Definizione variabile HTML per la preparazione della stringa
* che contiene la documentazione d... | mathewhtc/cats | wp-content/plugins/sz-google/admin/help/en/sz-google-help-plus-recommendations.php | PHP | gpl-2.0 | 2,411 |
# BurnMan - a lower mantle toolkit
# Copyright (C) 2012-2014, Myhill, R., Heister, T., Unterborn, C., Rose, I. and Cottaar, S.
# Released under GPL v2 or later.
# This is a standalone program that converts a tabulated version of the Stixrude and Lithgow-Bertelloni data format into the standard burnman format (printed ... | QuLogic/burnman | burnman/data/input_raw_endmember_datasets/HHPH2013data_to_burnman.py | Python | gpl-2.0 | 3,130 |
const fs = require('fs');
const util = require('../../util');
// test equality
function equal(a, b, options) {
if (a === b) {
return options.fn(this);
}
return options.inverse(this);
}
// great than
function gt(a, b, options) {
if (a >= b) {
return options.fn(this);
}
return options.inverse(this);... | IMA-WorldHealth/bhima | server/lib/template/helpers/logic.js | JavaScript | gpl-2.0 | 1,228 |
<?php
/**
* @file
* Definition of Drupal\views_ui\ViewUI.
*/
namespace Drupal\views_ui;
use Drupal\views\ViewExecutable;
use Drupal\Core\Database\Database;
use Drupal\Core\TypedData\ContextAwareInterface;
use Drupal\views\Plugin\views\query\Sql;
use Drupal\views\Plugin\Core\Entity\View;
use Drupal\views\ViewStora... | adirkuhn/expressoDrupal | core/modules/views/views_ui/lib/Drupal/views_ui/ViewUI.php | PHP | gpl-2.0 | 38,054 |
<?php
/**
* @version 2.3, Creation Date : March-24-2011
* @name impressionclicks.php
* @location /components/com_contushdvideosahre/views/impressionclicks/tmpl/impressionclicks.php
* @package Joomla 1.6
* @subpackage contushdvideoshare
* @author Contus Support - http://www.contussupport.... | dherrerav/Azteca-Sonora | components/com_contushdvideoshare/views/impressionclicks/tmpl/impressionclicks.php | PHP | gpl-2.0 | 553 |
<?php
/**
* TOP API: taobao.shop.remainshowcase.get request
*
* @author auto create
* @since 1.0, 2012-03-21 12:35:10
*/
class ShopRemainshowcaseGetRequest
{
private $apiParas = array();
public function getApiMethodName()
{
return "taobao.shop.remainshowcase.get";
}
public function getApiParas()
{
... | gxk9933/guoxk-blog | html/test_taobaoke/sdk/top/request/ShopRemainshowcaseGetRequest.php | PHP | gpl-2.0 | 386 |
/*
* Timeval.cc -- time arithmetic
*
* (c) 2003 Dr. Andreas Mueller, Beratung und Entwicklung
*
* $Id: Timeval.cc,v 1.7 2009/01/10 19:00:25 afm Exp $
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif /* HAVE_CONFIG_H */
#include <Timeval.h>
#ifdef HAVE_MATH_H
#include <math.h>
#endif /* HAVE_MATH_H */
#ifdef HAV... | martinluther/meteo | lib/Timeval.cc | C++ | gpl-2.0 | 2,129 |
using Rocket.API;
using Rocket.API.Extensions;
using Rocket.Core.Logging;
using Rocket.Unturned.Chat;
using Rocket.Unturned.Commands;
using Rocket.Unturned.Player;
using System;
using System.Collections.Generic;
using UnityEngine;
namespace coolpuppy24.rpevents
{
public class ArrestFinishCommand : IRocketCommand
... | Coolpuppy24/RPEvents | Commands/ArrestFinishCommand.cs | C# | gpl-2.0 | 1,996 |
package com.omnicrola.panoptes.ui.autocomplete;
import static org.easymock.EasyMock.expect;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
import java.util.Arrays;
import java.util.List;
import org.junit.Test;
import com.omnicrola.panoptes.control.DataController;
import com.... | Omnicrola/Panoptes | Panoptes.Test/src/com/omnicrola/panoptes/ui/autocomplete/CardNumberProviderTest.java | Java | gpl-2.0 | 3,813 |
<?php
namespace ApacheSolrForTypo3\Solr\IndexQueue;
/***************************************************************
* Copyright notice
*
* (c) 2010-2015 Ingo Renner <ingo@typo3.org>
* All rights reserved
*
* This script is part of the TYPO3 project. The TYPO3 project is
* free software; you can redistribu... | arnoschoon/ext-solr | Classes/IndexQueue/PageIndexerDocumentsModifier.php | PHP | gpl-2.0 | 1,793 |
<?php
$xml = simplexml_load_file("http://animacionugm.blogspot.com/feeds/posts/default");
$json = json_encode($xml);
echo "<pre>";
echo $json;
echo "</pre>";
?> | acalvoa/EOLLICE | xml.php | PHP | gpl-2.0 | 165 |
<?php
/**
* @package syscart
* libraries/platform/language.php
*
* @autor majeed mohammadian
*/
defined('syscart') or die('access denied...!');
class platformLanguage
{
private $language = 'persian';
private $code = 'fa-IR';
private $direction = 'rtl';
private $id = null;
public functio... | syscart/syscart | libraries/platform/language.php | PHP | gpl-2.0 | 2,177 |
<?php
/**
* TOP API: taobao.wlb.inventory.detail.get request
*
* @author auto create
* @since 1.0, 2012-11-01 12:40:06
*/
class WlbInventoryDetailGetRequest
{
/**
* 库存类型列表,值包括:
VENDIBLE--可销售库存
FREEZE--冻结库存
ONWAY--在途库存
DEFECT--残次品库存
ENGINE_DAMAGE--机损
BOX_DAMAGE--箱损
EXPIRATION--过保
**/
private $inventoryTypeL... | Jeepal/iLogin | API/taobao/top/request/WlbInventoryDetailGetRequest.php | PHP | gpl-2.0 | 1,597 |
<?php
if(!class_exists('WP_List_Table')){
require_once( ABSPATH . 'wp-admin/includes/class-wp-list-table.php' );
}
class EasySocialMetricsLiteResultTable extends WP_List_Table {
public $total_results = array();
public $top_content = array();
/** *********************************************************... | rvfeed/rfeed | wp-content/plugins/easy-social-share-buttons/lib/modules/easy-social-metrics-lite/esml-render-results.php | PHP | gpl-2.0 | 27,672 |
<form>
<i class="glyphicon glyphicon-search"></i>
<input type="text" name="q">
<button type="submit" class="hidden">{{ trans('labels.search') }}</button>
</form> | manishkiozen/Cms | resources/views/widgets/toolbar/search.blade.php | PHP | gpl-2.0 | 173 |
<?php
/**
* @file
* Contains Drupal\views\Plugin\views\display\DisplayPluginBase.
*/
namespace Drupal\views\Plugin\views\display;
use Drupal\views\Plugin\views\area\AreaPluginBase;
use Drupal\views\ViewExecutable;
use \Drupal\views\Plugin\views\PluginBase;
use Drupal\views\Views;
/**
* @defgroup views_display_p... | eugenesia/eugenesia.co.uk | core/modules/views/lib/Drupal/views/Plugin/views/display/DisplayPluginBase.php | PHP | gpl-2.0 | 93,395 |
<?php
namespace Nutri\IngredientBundle\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\ParamConverter;
use Nutri\Ingredien... | blacksad12/oliorga | src/Nutri/IngredientBundle/Controller/IngredientController.php | PHP | gpl-2.0 | 7,210 |
class Java::Util::ArrayList < Array
overload_protected {
include Java::Util::JavaList
}
class Iterator
def initialize(array, from_index = 0, to_index = nil)
@array = array
@index = from_index
@to_index = to_index || @array.size
end
def has_next
@index < @to_index
end
... | neelance/jre4ruby | jre4ruby/rep/java/util/ArrayList.rb | Ruby | gpl-2.0 | 1,889 |
<?php
function ___main___()
{
$descriptor = json_decode(file_get_contents(dirname(dirname(dirname(dirname(dirname($_SERVER['SCRIPT_FILENAME']))))) . '/program.json'), true);
$versions = json_decode(file_get_contents(dirname(dirname(dirname(dirname(dirname(__FILE__))))) . '/workspace/packages/test/etc/versions.... | kennaisom/mk9 | firephp-master/tests/zendframework/demo/public/index.php | PHP | gpl-2.0 | 2,893 |
<div id="page-wrapper" >
<div id="page-inner">
<!-- Row de Titulos -->
<div class="row">
<div class="col-lg-6">
<div class="input-group">
<input type="text" class="form-control" placeholder="Buscar por Palabras Clave">
<span class="input-group-btn">
<butt... | vanichel/Biblioteca-Virtual | application/views/wrapper/view_categoria_material.php | PHP | gpl-2.0 | 865 |
using NPOI.HSSF.UserModel;
using NPOI.HSSF.Util;
using NPOI.SS.UserModel;
using NPOI.XSSF.UserModel;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Web;
namespace NoRain.Toolkits
{
public class XMLOutputTool
{
private static Type[] ... | DonnotRain/NoRainWeb | Code/NoRain.Toolkits/Export/XMLOutputTool.cs | C# | gpl-2.0 | 5,480 |
#region License
// Copyright (c) 2007 James Newton-King
//
// Permission is hereby granted, free of charge, to any person
// obtaining a copy of this software and associated documentation
// files (the "Software"), to deal in the Software without
// restriction, including without limitation the rights to use,
// copy,... | marhazk/HazTechClass | AeraClass/Newtonsoft.Json/Serialization/ReflectionValueProvider.cs | C# | gpl-2.0 | 3,187 |
// **********************************************************************
//
// Copyright (c) 2003-2014 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// ***************************************************... | dayongxie/zeroc-ice-androidndk | cpp/demo/Ice/throughput/Server.cpp | C++ | gpl-2.0 | 1,094 |
#include "locked_queue.h" | antivo/Cluster-Manager | Cluster Manager/locked/locked_queue.cpp | C++ | gpl-2.0 | 25 |
<?php
// Just some basics.
$per_page_limit = 20;
// get all forms
$forms = Caldera_Forms::get_forms();
$forms = apply_filters( 'caldera_forms_admin_forms', $forms );
$style_includes = get_option( '_caldera_forms_styleincludes' );
if(empty($style_includes)){
$style_includes = array(
'alert' => true,
'form' => t... | janmolemans/wordpressdrugs | wp-content/plugins/caldera-forms/ui/admin.php | PHP | gpl-2.0 | 9,468 |
<?php
/**
* The Header for our theme.
*
* Displays all of the <head> section and everything up till <main id="main">
*
* @package GeneratePress
*/
?><!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
<meta charset="<?php bloginfo( 'charset' ); ?>">
<meta http-equiv="X-UA-Compatible" content="IE=edge"... | geraldpasion/gsm | wp-content/themes/generatepress/header.php | PHP | gpl-2.0 | 1,701 |
<?php
declare(strict_types=1);
class CommentListTest extends ShimmiePHPUnitTestCase
{
public function setUp(): void
{
global $config;
parent::setUp();
$config->set_int("comment_limit", 100);
$this->log_out();
}
public function tearDown(): void
{
global $conf... | shish/shimmie2 | ext/comment/test.php | PHP | gpl-2.0 | 3,501 |
<?php
namespace RandomRango\Bundle\MainBundle\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
class DefaultController extends Controller
{
public function indexAction()
{
return $this->render('RandomRangoMainBundle:Default:index.html.twig');
}
}
| polypapps/RandomRango_Web | src/RandomRango/Bundle/MainBundle/Controller/DefaultController.php | PHP | gpl-2.0 | 291 |
package com.rideon.web.security;
import org.apache.http.auth.UsernamePasswordCredentials;
import org.apache.http.client.CredentialsProvider;
import org.apache.http.impl.client.DefaultHttpClient;
import org.springframework.web.client.RestTemplate;
public class ClientAuthenticator {
public ClientAuthenticator() {
... | vilasmaciel/rideon | rideon-client/src/main/java/com/rideon/web/security/ClientAuthenticator.java | Java | gpl-2.0 | 1,128 |
<?php
namespace TYPO3\CMS\T3editor;
/*
* This file is part of the TYPO3 CMS project.
*
* It is free software; you can redistribute it and/or modify it under
* the terms of the GNU General Public License, either version 2
* of the License, or any later version.
*
* For the full copyright and license information,... | michaelklapper/TYPO3.CMS | typo3/sysext/t3editor/Classes/CodeCompletion.php | PHP | gpl-2.0 | 5,509 |
# -*- encoding: utf-8 -*-
try:
from httplib import HTTPSConnection
from urlparse import urlparse
except ImportError:
from http.client import HTTPSConnection
from urllib.parse import urlparse
from json import dumps, loads
from django.conf import settings
class GCMError(Exception):
pass
def send... | LPgenerator/django-db-mailer | dbmail/providers/google/android.py | Python | gpl-2.0 | 1,265 |
<?php
/***************************************************************
* Copyright notice
*
* (c) 2011 Adrien LUCAS (adrien@oblady.fr)
* All rights reserved
*
* This script is part of the TYPO3 project. The Typo3 project is
* free software; you can redistribute it and/or modify
* it under the terms of the GNU Gen... | Oblady/oblady-debug | oblady_debug/Classes/Reporting/SystemeLog.php | PHP | gpl-2.0 | 1,267 |
#ifndef COIN_SBPIMPLPTR_HPP
#define COIN_SBPIMPLPTR_HPP
/**************************************************************************\
*
* This file is part of the Coin 3D visualization library.
* Copyright (C) 1998-2008 by Kongsberg SIM. All rights reserved.
*
* This library is free software; you can redistrib... | erik132/MolekelCUDA | deps/include/Inventor/tools/SbPimplPtr.hpp | C++ | gpl-2.0 | 2,699 |
#include "StdInc.h"
#include <ShellAPI.h>
unsigned int _gameFlags;
typedef struct
{
const wchar_t* argument;
unsigned int flag;
} flagDef_t;
flagDef_t flags[] =
{
{ L"offline", GAME_FLAG_OFFLINE },
{ L"console", GAME_FLAG_CONSOLE },
{ 0, 0 }
};
void DetermineGameFlags()
{
int numArgs;
LPCWSTR commandLine =... | Sofakante/iw4m-lan | steam_api/Flags.cpp | C++ | gpl-2.0 | 740 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace WebMvc.App.Views.Default.Common.Public
{
public partial class Footer : System.Web.UI.UserControl
{
public App.Common.UserControl.Footer FooterViewBag { g... | xiaolu6t6t/NFinal | WebMvc/App/Views/Default/Common/Public/Footer.ascx.cs | C# | gpl-2.0 | 422 |
<?php
class UpdateCartAction extends Action{
public function execute() {
$quantities = getParam('ProductQuantity');
$cart = new Cart();
foreach($quantities as $productId => $quantities){
if($quantities > 0){
$cart->updateQuantity($productId, $quantities);
... | viktortod/magtools-cart | html/modules/store/action/UpdateCartAction.php | PHP | gpl-2.0 | 409 |
<?php
/*
* FileCtrl.class.php -- file system control
*
* Copyright 2011 World Three Technologies, Inc.
* 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; ... | World-Three-Technologies/Masxaro-Prototype | proj/php/class/control/FileCtrl.class.php | PHP | gpl-2.0 | 949 |
/*
* Copyright 2006-2020 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) an... | tomas-pluskal/mzmine3 | src/main/java/io/github/mzmine/parameters/parametertypes/ranges/DoubleRangeParameter.java | Java | gpl-2.0 | 5,669 |
//----------------------------------------------------------------------------
#pragma hdrstop
#include <stdio.h>
#include <memory>
#include "uCM.h"
//---------------------------------------------------------------------------
#pragma package(smart_init)
#pragma classgroup "Vcl.Controls.TControl"
#pragma resource "*.... | cassioferrazzo/fila.cliente.desktop | uCM.cpp | C++ | gpl-2.0 | 695 |
/* HexChat
* Copyright (C) 1998-2010 Peter Zelezny.
* Copyright (C) 2009-2013 Berke Viktor.
*
* 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 you... | leeter/hexchat | src/fe-gtk/ascii.hpp | C++ | gpl-2.0 | 900 |
<?php
/*******************************************************************************
Copyright 2021 Whole Foods Co-op
This file is part of CORE-POS.
IT CORE is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Sof... | CORE-POS/IS4C | fannie/modules/plugins2.0/Mercato/models/MercatoNotesModel.php | PHP | gpl-2.0 | 1,374 |
/*
* RapidMiner
*
* Copyright (C) 2001-2008 by Rapid-I and the contributors
*
* Complete list of developers available at our web site:
*
* http://rapid-i.com
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public Lice... | ntj/ComplexRapidMiner | src/com/rapidminer/gui/tools/ProgressUtils.java | Java | gpl-2.0 | 3,354 |
#include <filezilla.h>
#include "directorycache.h"
#include "list.h"
enum listStates
{
list_init = 0,
list_waitresolve,
list_waitlock,
list_list
};
int CStorjListOpData::Send()
{
LogMessage(MessageType::Debug_Verbose, L"CStorjListOpData::Send() in state %d", opState);
switch (opState) {
case list_init:
if ... | madnight/filezilla | src/engine/storj/list.cpp | C++ | gpl-2.0 | 4,511 |
<?php include(HTML_DIR . 'overall/header.php'); ?>
<body>
<section class="engine"><a rel="nofollow" href="#"><?php echo APP_TITLE ?></a></section>
<?php include(HTML_DIR . '/overall/topnav.php'); ?>
<section class="mbr-section mbr-after-navbar">
<div class="mbr-section__container container mbr-section__container--is... | sofiaqsy/Opensale | html/productos/add_producto.php | PHP | gpl-2.0 | 5,407 |
/***************************************************************************
* Copyright (C) 2011 by Christoph Thelen *
* doc_bacardi@users.sourceforge.net *
* *
* This pr... | muhkuh-sys/org.muhkuh.tools-muhkuh_gui | application/muhkuh_split_testdescription.cpp | C++ | gpl-2.0 | 9,641 |
#-------------------------------------------------------------------------------
# Name: module1
# Purpose:
#
# Author: Eli
#
# Created: 06/04/2014
# Copyright: (c) Eli 2014
# Licence: <your licence>
#-------------------------------------------------------------------------------
def m... | ejspina/Gene_expression_tools | Python/FilterByID_dict_parse.py | Python | gpl-2.0 | 7,098 |
package org.mo.jfa.face.database.connector;
import org.mo.web.core.container.AContainer;
import org.mo.web.core.webform.IFormPage;
import org.mo.web.protocol.context.IWebContext;
public interface IConnectorAction
{
String catalog(IWebContext context,
@AContainer(name = IFormPage.Page) FConnectorP... | favedit/MoPlatform | mo-4-web/src/web-face/org/mo/jfa/face/database/connector/IConnectorAction.java | Java | gpl-2.0 | 890 |
<?php
/*
*
* Swift Page Builder - Default Shortcodes
* ------------------------------------------------
* Swift Framework
* Copyright Swift Ideas 2016 - http://www.swiftideas.com
*
*/
/* TEXT BLOCK ASSET
================================================== */
class S... | tuffon/imaginewithus | wp-content/plugins/swift-framework/includes/page-builder/shortcodes/default.php | PHP | gpl-2.0 | 31,195 |
/*
* *************************************************************************************
* Copyright (C) 2008 EsperTech, Inc. All rights reserved. *
* http://esper.codehaus.org *
* http://www.espertech.com ... | sungsoo/esper | esper/src/test/java/com/espertech/esper/epl/join/rep/TestRepositoryImpl.java | Java | gpl-2.0 | 4,571 |
package doodle;
import java.io.Serializable;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.Comparator;
import java.util.Date;
/**
* A poll is made up of two or more time slots, which are voted on by poll
* invitees. A time slot is defined by a start datetime and optionally an end
*... | jonasrmichel/jms-doodle-poll | joram-jms/samples/src/joram/doodle/TimeSlot.java | Java | gpl-2.0 | 3,355 |
<?php
/*
* Fixed blog_media hash column
* Add "level" to blogs posts, which will be used as previous priority column
*/
sql_query('ALTER TABLE `blogs_media` CHANGE COLUMN `hash` `hash` VARCHAR(64) NOT NULL');
$medias = sql_query('SELECT `id`, `file` FROM `blogs_media`');
$update = sql_prepare('UPDATE `blogs_media` ... | phoenixz/base | init/framework/0.47.4.php | PHP | gpl-2.0 | 2,194 |
package tim.prune.threedee;
import java.awt.event.InputEvent;
/*
* Copyright (c) 2007 Sun Microsystems, Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* - Redistribution of source... | activityworkshop/GpsPrune | src/tim/prune/threedee/UprightOrbiter.java | Java | gpl-2.0 | 10,939 |
/**
* 对公众平台发送给公众账号的消息加解密示例代码.
*
* @copyright Copyright (c) 1998-2014 Tencent Inc.
*/
// ------------------------------------------------------------------------
package com.weixin.sdk.encrypt;
import java.security.MessageDigest;
import java.util.Arrays;
/**
* SHA1 class
*
* 计算公众平台的消息签名接口.
... | teabo/wholly-framework | wholly-demo/wholly_weixin/src/main/java/com/weixin/sdk/encrypt/SHA1.java | Java | gpl-2.0 | 1,592 |
/*
Copyright (C) 2015 Panagiotis Roubatsis
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... | proubatsis/Map-Creator | Map Creator/MapAdjacency.cs | C# | gpl-2.0 | 1,312 |
package com.rockey.emonitor.jms.controller;
import java.util.Enumeration;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.apache.commons.logging.Log;
import org.apache.commons.log... | RockeyHoo/icheck | emonitor/src/main/java/com/rockey/emonitor/jms/controller/MessageController.java | Java | gpl-2.0 | 4,087 |
//------------------------------------------------------------------------------
// <自动生成>
// 此代码由工具生成。
//
// 对此文件的更改可能会导致不正确的行为,并且如果
// 重新生成代码,这些更改将会丢失。
// </自动生成>
//------------------------------------------------------------------------------
namespace FormsAuthWeb {
public partial class... | cbfjay/Aspnet.Login | FormsAuthWeb/MyInfo.aspx.designer.cs | C# | gpl-2.0 | 452 |
<?php
if ( ! defined( 'ABSPATH' ) ) {
exit; // disable direct access
}
if ( ! class_exists( 'Mega_Menu_Nav_Menus' ) ) :
/**
* Handles all admin related functionality.
*/
class Mega_Menu_Nav_Menus {
/**
* Return the default settings for each menu item
*
* @since 1.5
*/
public static ... | Metrashev/Obuhte | wp-content/plugins/megamenu/classes/nav-menus.class.php | PHP | gpl-2.0 | 12,985 |
using System;
namespace Player.Model
{
/// <remarks>
/// A button can only be rectangular, if there should be other forms, you have to use more buttons which reference each other.
/// </remarks>
public interface ButtonPosition
{
int X { get; }
int Y { get; }
... | asterics/KeyboardX | Player/Model/ButtonPosition.cs | C# | gpl-2.0 | 579 |
/*
* Copyright (C) 2011-2021 Project SkyFire <https://www.projectskyfire.org/>
* Copyright (C) 2008-2021 TrinityCore <http://www.trinitycore.org/>
* Copyright (C) 2005-2021 MaNGOS <https://www.getmangos.eu/>
* Copyright (C) 2006-2014 ScriptDev2 <https://github.com/scriptdev2/scriptdev2/>
*
* This program is free ... | ProjectSkyfire/SkyFire.548 | src/server/scripts/Outland/zone_shattrath_city.cpp | C++ | gpl-2.0 | 16,677 |
<?php
/**
* Template Name: Sidebar Left Template
*
* @package WordPress
* @subpackage Invictus
* @since Invictus 1.0
*/
get_header();
?>
<div id="single-page" class="clearfix left-sidebar">
<div id="primary">
<div id="content" role="main">
<?php the_post(); ?>
<?php get_template_part( 'content'... | iTTemple/html | wp-content/themes/invictus_2.6.2/template-sidebar-left.php | PHP | gpl-2.0 | 568 |
//
// CRTDispatchConnection.cpp
// dyncRTConnector
//
// Created by hp on 12/8/15.
// Copyright (c) 2015 hp. All rights reserved.
//
#include "CRTDispatchConnection.h"
#include "CRTConnManager.h"
#include "CRTConnection.h"
#include "CRTConnectionTcp.h"
#include "rtklog.h"
void CRTDispatchConnection::DispatchMsg(... | Teameeting/Teameeting-MsgServer | MsgServer/MsgServerConnector/CRTDispatchConnection.cpp | C++ | gpl-2.0 | 3,277 |
'use strict';
/*@ngInject*/
function repoItemClassifierFilter() {
return function(node) {
if (node.type) {
return 'uib-repository__item--movable';
} else {
return 'uib-repository__group';
}
};
}
module.exports = repoItemClassifierFilter;
| raqystyle/ui-builder | frontend/scripts/builder/modules/repository/filters/repoItemClassifier.filter.js | JavaScript | gpl-2.0 | 268 |
class ActorEffectActorPen < ActorEffect
title 'Actor Pen'
description 'Uses chosen actor as a brush tip, rendering it multiple times per frame to smoothly follow a chosen X,Y point.'
hint 'This effect is primarily intended for use with the Canvas actor.'
categories :canvas
setting 'actor', :actor
setting '... | lighttroupe/luz-next | engine/plugins/actor_effects/actor-pen.luz.rb | Ruby | gpl-2.0 | 1,787 |
<?php // (C) Copyright Bobbing Wide 2012, 2017
/**
* Determine the reference_type from PHP tokens
*
* Attempt to determine what sort of API this is using token_get_all()
*
* @param string $string - the "api" name
* @return string - the reference type determined from token_name()
*
*/
function oikai_determi... | bobbingwide/oik-shortcodes | shortcodes/oik-api.php | PHP | gpl-2.0 | 7,237 |
<?php
/**
* Custom Article Page Type
*
* @package tub
*/
/*
* Register an article post type.
*/
add_action( 'init', 'tub_articles_init' );
function tub_articles_init() {
$labels = array(
'name' => _x( 'Articles', 'post type general name', 'tub' ),
'singular_name' => _x( 'Article', 'post ... | joshevensen/theunassistedbaby.com | wp-content/plugins/tub-functions/cpt/articles.php | PHP | gpl-2.0 | 4,026 |
<?php
include_once "../libs/myLib.php";
if (!isset($_SESSION['login'])) {
session_start();
}
$nombre = $_POST['nombre'];
$fechaInicio= $_POST['fechaInicio'];
$horaInicio = $_POST['horaInicio'];
$fechaFin = $_POST['fechaInicio'];
$horaFin = $_POST['horaFin'];
$precio = $_POST['precio'];
$plazas = $_POST['plazas']... | fblupi/grado_informatica-DIU | G-Tech/scripts/crearEvento.php | PHP | gpl-2.0 | 3,659 |
/*
* This file is part of the OregonCore Project. See AUTHORS file for Copyright information
*
* 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
... | OregonCore/OregonCore | src/scripts/Kalimdor/RuinsOfAhnQiraj/boss_moam.cpp | C++ | gpl-2.0 | 3,347 |
/*
* Copyright (c) 2006 - 2012 LinogistiX GmbH
*
* www.linogistix.com
*
* Project myWMS-LOS
*/
package de.linogistix.los.reference.customization.common;
import javax.ejb.Stateless;
import de.linogistix.los.customization.LOSEventConsumerBean;
import de.linogistix.los.util.event.LOSEventConsumer;
/**
* @au... | Jacksson/mywmsnb | mywms.as/project-ejb/src/java/de/linogistix/los/reference/customization/common/Ref_EventConsumerBean.java | Java | gpl-2.0 | 446 |
/* ----------------------------------------------------------------------
LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator
https://lammps.sandia.gov/, Sandia National Laboratories
Steve Plimpton, sjplimp@sandia.gov
Copyright (2003) Sandia Corporation. Under the terms of Contract
DE-AC... | rbberger/lammps | src/fix_nve.cpp | C++ | gpl-2.0 | 4,538 |
<?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... | codialsoftware/hunting-project | themes/zen/zen/templates/comment.tpl.php | PHP | gpl-2.0 | 4,351 |
<?php
namespace Drupal\commerce_order;
use Drupal\commerce_price\Price;
/**
* Represents an adjustment.
*/
final class Adjustment {
/**
* The adjustment type.
*
* @var string
*/
protected $type;
/**
* The adjustment label.
*
* @var string
*/
protected $label;
/**
* The adjus... | nmacd85/drupal-nicoledawn | modules/contrib/commerce/modules/order/src/Adjustment.php | PHP | gpl-2.0 | 8,130 |
/*
* blockio.cc
*
*
*/
#define _LARGEFILE_SOURCE
#define _FILE_OFFSET_BITS 64
#include "version.h"
#include "blockio.h"
#include "osutils.h"
#include <stdio.h>
#include <string.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>
#include <stdint.h>
__ID("@(#) $Id: blockio.cc 20... | kaseya/lshw | src/core/blockio.cc | C++ | gpl-2.0 | 891 |
/*
* PS3 Media Server, for streaming any medias to your PS3.
* Copyright (C) 2012 Ph.Waeber
*
* 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 only.
*
* This ... | taconaut/pms-mlx | core/src/main/java/net/pms/medialibrary/commons/dataobjects/DOThumbnailPriority.java | Java | gpl-2.0 | 3,813 |
package cmd
import (
"github.com/spf13/cobra"
)
// rotateCmd represents the shuffletips command
var rotateCmd = &cobra.Command{
Use: "rotate",
Short: "Rotates children of internal nodes",
Long: `Rotates children of internal nodes by different means.
Either randomly with "rand" subcommand, either sorting by num... | fredericlemoine/gotree | cmd/rotate.go | GO | gpl-2.0 | 1,028 |
<?php include_once('sites/all/themes/artonair/custom_functions/custom_variable.php'); /* mp3 folder path */ ?>
<?php include_once('sites/all/themes/artonair/custom_functions/default_image.php'); /* function for displaying default images */ ?>
<?php $listen_url = "/drupal/play/" . $node->nid . "/" . $node->path; ?>
... | artonair/clocktower | sites/all/node-blog-body.tpl.php | PHP | gpl-2.0 | 11,545 |
<?php get_header(); ?>
<div id="content" class="clearfix">
<div id="main" class="col620 clearfix" role="main">
<article id="post-0" class="post error404 not-found">
<header class="entry-header">
<h1 class="entry-title"><?php _e( 'Error 404 - Page Not Found', 'newschannel' ); ?></h1>
... | mxr1027/Xinrui-Ma | wp-content/themes/newschannel/404.php | PHP | gpl-2.0 | 1,539 |
package scatterbox.utils;
import java.io.BufferedReader;
import java.io.DataInputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.InputStreamReader;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;
import java.sql.... | knoxsp/Concept | src/scatterbox/utils/ImportVanKasteren.java | Java | gpl-2.0 | 6,596 |
<?php
/*
* @version $Id: preference.php 20129 2013-02-04 16:53:59Z moyo $
-------------------------------------------------------------------------
GLPI - Gestionnaire Libre de Parc Informatique
Copyright (C) 2003-2013 by the INDEPNET Development Team.
http://indepnet.net/ http://glpi-project.org
-------------... | opusappteam/PLGLPI0842 | front/preference.php | PHP | gpl-2.0 | 2,239 |
<?php
/**
* @package Joomla.Administrator
* @subpackage com_templates
*
* @copyright Copyright (C) 2005 - 2017 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
defined('_JEXEC') or die;
// Include the component HTML helpers.
J... | ylahav/joomla-cms | administrator/components/com_templates/views/template/tmpl/default.php | PHP | gpl-2.0 | 16,786 |
/*
* MATRIX COMPUTATION FOR RESERVATION BASED SYSTEMS
*
* Copyright (C) 2013, University of Trento
* Authors: Luigi Palopoli <palopoli@disi.unitn.it>
*
* 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 Fr... | luigipalopoli/PROSIT | tool/matrix.hpp | C++ | gpl-2.0 | 693 |
from __future__ import print_function
"""
Deprecated. Use ``update-tld-names`` command instead.
"""
__title__ = 'tld.update'
__author__ = 'Artur Barseghyan'
__copyright__ = '2013-2015 Artur Barseghyan'
__license__ = 'GPL 2.0/LGPL 2.1'
from tld.utils import update_tld_names
_ = lambda x: x
if __name__ == '__main__'... | underdogio/tld | src/tld/update.py | Python | gpl-2.0 | 414 |
<?php
/**
* PESCMS for PHP 5.6+
*
* Copyright (c) 2015 PESCMS (http://www.pescms.com)
*
* For the full copyright and license information, please view
* the file LICENSE.md that was distributed with this source code.
*/
namespace App\Team\GET;
class Project extends Content{
/**
* 项目数据分析
*/
pu... | lazyphp/PESCMS-TEAM | App/Team/GET/Project.php | PHP | gpl-2.0 | 1,870 |
<?php
/**
* ---------------------------------------------------------------------
* GLPI - Gestionnaire Libre de Parc Informatique
* Copyright (C) 2015-2017 Teclib' and contributors.
*
* http://glpi-project.org
*
* based on GLPI - Gestionnaire Libre de Parc Informatique
* Copyright (C) 2003-2014 by the INDEPNET... | eltharin/glpi | front/sla.php | PHP | gpl-2.0 | 1,394 |
<ul class="tw">
<?php foreach ($rows as $id => $row) { ?>
<li><?php print $row; ?></li>
<?php } ?>
</ul> | allen12345/miqa | sites/all/themes/questionsanswers/views-view-unformatted--tweets--block.tpl.php | PHP | gpl-2.0 | 104 |
(function($) {
function ACFTableField() {
var t = this;
t.version = '1.3.4';
t.param = {};
// DIFFERENT IN ACF VERSION 4 and 5 {
t.param.classes = {
btn_small: 'acf-icon small',
// "acf-icon-plus" becomes "-plus" since ACF Pro Version 5.3.2
btn_add_row: 'acf-icon-plus -plus',
btn_add... | johannheyne/acf-table | advanced-custom-fields-table-field/tags/1.3.4/js/input-v5.js | JavaScript | gpl-2.0 | 26,869 |
/*
* Rasengan - Manga and Comic Downloader
* Copyright (C) 2013 Sauriel
*
* 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 ... | Sauriel/rasengan | src/de/sauriel/rasengan/ui/DownloadDialog.java | Java | gpl-2.0 | 2,082 |