repo_name stringlengths 4 116 | path stringlengths 4 379 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
acappellamaniac/eva_website | sites/all/modules/civicrm/CRM/Admin/Page/MessageTemplates.php | 10277 | <?php
/*
+--------------------------------------------------------------------+
| CiviCRM version 4.6 |
+--------------------------------------------------------------------+
| Copyright CiviCRM LLC (c) 2004-2015 |
+---------------... | gpl-2.0 |
IEEE-CS-UWM/OrgWeb | resource/views/member/login.php | 647 | <?php
if (isset($_POST["member_uwmemail"]) && isset($_POST["member_password"])){
require "./resource/controllers/member/search.php";
//I set up for true because it means there is value.
if ( $member == true) {
$row = mysqli_fetch_array($member);
session_start();
$_SESSION["member_id"] = $row["member_i... | gpl-2.0 |
MayGo/tockler | client/src/components/SearchResults/SearchResults.tsx | 2013 | import { IconButton, Tooltip } from '@chakra-ui/react';
import moment from 'moment';
import React, { memo } from 'react';
import { AiOutlineUnorderedList } from 'react-icons/ai';
import { useHistory } from 'react-router';
import { useStoreActions } from '../../store/easyPeasy';
import { ItemsTable } from '../TrackItemT... | gpl-2.0 |
AlexanderDolgan/ojahuri | wp-content/plugins/quick-restaurant-menu/includes/admin/metabox.php | 5165 | <?php
/**
* Metabox Functions
*
* @package ERM
* @subpackage Admin
* @copyright Copyright (c) 2015, Alejandro Pascual
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
* @since 1.0
*/
// Exit if accessed directly
if ( ! defined( 'ABSPATH' ) ) exit;
/**
* Register metab... | gpl-2.0 |
latproc/clockwork | modbus/src/mbmon.cpp | 19195 | #include <iostream>
#include <zmq.hpp>
#include <modbus.h>
#include <unistd.h>
#include <stdlib.h>
#include <boost/thread.hpp>
#include <map>
#include <set>
#include "modbus_helpers.h"
#include "buffer_monitor.h"
#include "plc_interface.h"
#include <string.h>
#include "monitor.h"
#include <zmq.hpp>
#include <value.h>
#... | gpl-2.0 |
evilsephiroth/plugin.program.hyperspin | resources/lib/hyperspin_plugin.py | 2315 |
"""
Plugin for Launching HyperSpin
"""
import sys
import os
import fnmatch
import xbmc
import xbmcgui
import xbmcplugin
import xbmcaddon
import time
import re
import urllib
import subprocess_hack
import xml.dom.minidom
import socket
import exceptions
import random
from traceback import p... | gpl-2.0 |
overplumbum/pgfouine | tests/simpletest/test/shell_tester_test.php | 1360 | <?php
// $Id: shell_tester_test.php,v 1.1 2005/11/09 23:41:18 gsmet Exp $
Mock::generate('SimpleShell');
class TestOfShellTestCase extends ShellTestCase {
var $_mock_shell = false;
function &_getShell() {
return $this->_mock_shell;
}
functi... | gpl-2.0 |
merego/scrippa | C++/NRinC302/legacy/nr2/CPP_211/examples/xstifbs.cpp | 1090 | #include <iostream>
#include <iomanip>
#include "nr.h"
using namespace std;
// Driver for routine stifbs
int kmax,kount; // defining declarations
DP dxsav;
Vec_DP *xp_p;
Mat_DP *yp_p;
int main(void)
{
int nbad,nok;
DP eps,hstart,x1=0.0,x2=50.0;
Vec_DP y(3);
c... | gpl-2.0 |
carlosway89/testshop | user_classes/overloads/_samples/AdminApplicationBottomExtenderComponent/SampleExtender.inc.php | 678 | <?php
/* --------------------------------------------------------------
SampleExtender.inc.php 2014-01-01 gm
Gambio GmbH
http://www.gambio.de
Copyright (c) 2014 Gambio GmbH
Released under the GNU General Public License (Version 2)
[http://www.gnu.org/licenses/gpl-2.0.html]
-------------------------... | gpl-2.0 |
taconaut/ums-mlx | core/src/main/java/net/pms/formats/RAW.java | 3225 | package net.pms.formats;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.util.List;
import net.coobird.thumbnailator.Thumbnails;
import net.pms.PMS;
import net.pms.configuration.PmsConfiguration;
import net.pms.configuration.RendererConfiguration;
import net.pms.dlna.DLNAMediaInf... | gpl-2.0 |
julianangel/EmotionBot | ROS/theatrebot_action_modulation/src/platform_action_execution/AbstractPlatformExecution.cpp | 338 | /*
* AbstractPlatformExecution.cpp
*
* Created on: Jul 8, 2014
* Author: julian
*/
#include "AbstractPlatformExecution.h"
AbstractPlatformExecution::AbstractPlatformExecution() {
// TODO Auto-generated constructor stub
}
AbstractPlatformExecution::~AbstractPlatformExecution() {
// TODO Auto-generated d... | gpl-2.0 |
rakeybulhasan/IAPP | wp-content/themes/centum/map-meta-box.php | 6072 | <?php
/**
* Adds a box to the main column on the Post and Page edit screens.
*/
function map_marker_add_custom_box() {
$screens = array( 'post', 'page' );
foreach ( $screens as $screen ) {
add_meta_box(
'map_marker_metabox',
__( 'Map Options' ),
'map_marker_inne... | gpl-2.0 |
killermonkey/softgym | src/Forms/IN_Pago_Cliente.java | 10224 | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package Forms;
import Utilidades.usadb;
import Utilidades.VerticalLabelUI;
import Utilidades.SoftGym;
import java.awt.Color;
import ja... | gpl-2.0 |
descent/tvision | examples/tutorial/tvguid16.cc | 11567 | /*---------------------------------------------------------*/
/* */
/* Turbo Vision 1.0 */
/* TVGUID16 Demo Source File */
/* Copyright (c) 1991 by Borland International */
/* ... | gpl-2.0 |
styleflashernewmedia/cjw_newsletter | modules/newsletter/settings.php | 1309 | <?php
/**
* File settings.php
*
* @copyright Copyright (C) 2007-2010 CJW Network - Coolscreen.de, JAC Systeme GmbH, Webmanufaktur. All rights reserved.
* @license http://ez.no/licenses/gnu_gpl GNU GPL v2
* @version //autogentag//
* @package cjw_newsletter
* @subpackage modules
* @filesource
*/
$module = $Para... | gpl-2.0 |
Distrotech/wanpipe | api/libsangoma/examples/sample_data_tapping/Sangoma/Code/Sangoma/PortBuffer.cpp | 4570 | #if defined WIN32 && defined NDEBUG
#pragma optimize("gt",on)
#endif
#include "PortBuffer.h"
#include "sangoma_interface.h"
#define ERR_PORT_BUFFER if(0)printf("Error:%s():line:%d: ", __FUNCTION__, __LINE__);if(0)printf
////////////////////////////////////////////////////////////////////////////////////////... | gpl-2.0 |
chuchu/SharpRipLib | DemoApplication/Properties/AssemblyInfo.cs | 1412 | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Sh... | gpl-2.0 |
quantum13/hgh | apps/main/migrations/0011_auto__add_field_unit_battle_target.py | 10174 | # -*- coding: utf-8 -*-
import datetime
from south.db import db
from south.v2 import SchemaMigration
from django.db import models
class Migration(SchemaMigration):
def forwards(self, orm):
# Adding field 'Unit.battle_target'
db.add_column('main_unit', 'battle_target',
... | gpl-2.0 |
sdtorresl/ExeaMusicPlayer | Player/src/player/Player.java | 1647 | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package player;
import java.io.File;
import javafx.application.Application;
import javafx.concurrent.Task;
import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.stage.Stage;... | gpl-2.0 |
nfprojects/nfengine | Src/Engine/Common/Memory/Buffer.hpp | 1276 | /**
* @file
* @author Witek902
* @brief Buffer class declaration.
*/
#pragma once
#include "../nfCommon.hpp"
namespace NFE {
namespace Common {
/**
* Dynamic data buffer
*/
class NFCOMMON_API Buffer
{
public:
Buffer();
Buffer(const Buffer& src);
Buffer(Buffer&& other);
Buffer(const void* da... | gpl-2.0 |
klst-com/metasfresh | de.metas.handlingunits.client/src/test/java-deprecated/de/metas/handlingunits/client/editor/view/manual/HUEditorManualTestFrame.java | 4725 | package de.metas.handlingunits.client.editor.view.manual;
/*
* #%L
* de.metas.handlingunits.client
* %%
* Copyright (C) 2015 metas 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 Foundati... | gpl-2.0 |
identityxx/penrose-server | client/src/java/org/safehaus/penrose/directory/DirectoryClient.java | 17511 | package org.safehaus.penrose.directory;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.safehaus.penrose.util.ClassUtil;
import org.safehaus.penrose.util.TextUtil;
import org.safehaus.penrose.partition.PartitionClient;
import org.safehaus.penrose.partition.PartitionManagerClient;
import org... | gpl-2.0 |
felladrin/last-wish | Scripts/Items/Special/Rares/Ingots/DecoSilverIngot.cs | 542 | namespace Server.Items
{
public class DecoSilverIngot : Item
{
[Constructable]
public DecoSilverIngot() : base( 0x1BF5 )
{
Movable = true;
Stackable = true;
}
public DecoSilverIngot( Serial serial ) : base( serial )
{
}
public override void Serialize( GenericWriter writer )... | gpl-2.0 |
linnovate/jquery.org.il | sites/all/themes/jqoilo/tpl/block-search-0.tpl.php | 413 | <?php
//removed block subject//
?>
<div id="block-<?php print $block->module .'-'. $block->delta; ?>" class="block block-<?php print $block->module ?> <?php print $block_region_placement ?> block-<?php print $block_zebra ?> <?php if ($blocktheme != '') print $blocktheme; if (function_exists(block_class)) print block_cl... | gpl-2.0 |
ashaury/sanlexb | templates/sanlex/index.php | 2537 | <?php
/*
#------------------------------------------------------------------------
JA Purity II for Joomla 1.5
#------------------------------------------------------------------------
#Copyright (C) 2004-2009 J.O.O.M Solutions Co., Ltd. All Rights Reserved.
#@license - GNU/GPL, http://www.gnu.org/copyleft/gpl.html
#... | gpl-2.0 |
InuSasha/xbmc | xbmc/interfaces/json-rpc/PlayerOperations.cpp | 51122 | /*
* Copyright (C) 2005-2013 Team XBMC
* http://xbmc.org
*
* 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, or (at your option)
* any later version.
*
* ... | gpl-2.0 |
jpschewe/fll-sw | src/main/java/fll/scheduler/PerformanceRoundsEditor.java | 2233 | /*
* Copyright (c) 2016 High Tech Kids. All rights reserved
* HighTechKids is on the web at: http://www.hightechkids.org
* This code is released under GPL; see LICENSE.txt for details.
*/
package fll.scheduler;
import java.awt.BorderLayout;
import java.awt.FlowLayout;
import java.time.LocalTime;
import java.util... | gpl-2.0 |
heros/LasCore | src/server/scripts/Northrend/isle_of_conquest.cpp | 2710 | /*
* Copyright (C) 2013 LasCore <http://lascore.makeforum.eu/>
* Copyright (C) 2008-2012 TrinityCore <http://www.trinitycore.org/>
*
* 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 ... | gpl-2.0 |
openjdk/jdk7u | jdk/src/share/classes/sun/security/ec/ECDSAOperations.java | 7994 | /*
* Copyright (c) 2018, 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 Softwa... | gpl-2.0 |
jolay/intelisis3 | sites/all/modules/acquia/modules/ac_portfolio/theme/node--portfolio-teaser.tpl.php | 1384 | <section<?php print drupal_attributes($attributes_array); ?>>
<div class='s-i'>
<div class="<?php print $media_classes?>">
<?php print $media; ?>
</div>
<div class="<?php print $desc_classes?>">
<div class="item-i">
<?php if (!empty($title_prefix) || !empty($title_suffix) || !$pa... | gpl-2.0 |
jamielaff/als_resourcing | tmp/install_55cb054400b98/jsjobs/site/views/employer/tmpl/controlpanel.php | 14202 | <?php
/**
* @Copyright Copyright (C) 2009-2011
* @license GNU/GPL http://www.gnu.org/copyleft/gpl.html
+ Created by: Ahmad Bilal
* Company: Buruj Solutions
+ Contact: www.burujsolutions.com , ahmad@burujsolutions.com
* Created on: Jan 11, 2009
^
+ Project: JS Jobs
* File Name: views/employer/tmpl/... | gpl-2.0 |
Greyvy/Nonvella | parts/shared/purchase.php | 513 | <?php if( get_field("print_copy_link") || get_field("digital_copy_link") ) : ?>
<p class="btn--more btn--small">
<?php if( get_field("print_copy_link") ) : ?>
<a href="<?php esc_url( the_field('print_copy_link') ); ?>">Print Copy · </a>
<?php endif; ?>
<?php if( get_fiel... | gpl-2.0 |
ManuelPalomo/MineSweeper | src/board/Board.java | 2458 | package board;
import utils.Cons;
/**
* Logic part of the game, manages the board and it's contents
*
* Numbers: 0=Empty 1=Mine
*
* @author Manuel Palomo <manuel_palomo@hotmail.es>
*
*/
public class Board {
private int sizeX;
private int sizeY;
private int mines;
private int[][] board;
public Board(int... | gpl-2.0 |
DigitalMediaServer/DigitalMediaServer | src/main/java/net/pms/formats/AudioAsVideo.java | 937 | /*
* PS3 Media Server, for streaming any medias to your PS3.
* Copyright (C) 2008 A.Brochard
*
* 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... | gpl-2.0 |
klst-com/metasfresh | de.metas.migration/de.metas.migration.base/src/test/java/de/metas/migration/scanner/impl/GloballyOrderedScannerDecoratorTests.java | 3888 | package de.metas.migration.scanner.impl;
import static org.hamcrest.Matchers.is;
import static org.junit.Assert.assertThat;
import java.io.ByteArrayInputStream;
import java.io.InputStream;
import java.nio.charset.StandardCharsets;
import java.util.Comparator;
import java.util.Iterator;
import java.util.TreeSet;
impo... | gpl-2.0 |
kinko912000/public_html | wp-content/plugins/wp-config-file-editor/vendor/xptrdev/WPPluginFramework/Include/Forms/HTML/ElementsCollection.class.php | 2752 | <?php
/**
*
*/
namespace WPPFW\Forms\HTML;
use WPPFW\Forms\HTML\Elements\IElement;
/**
*
*/
abstract class ElementsCollection extends Elements\HTMLFormNode {
/**
* put your comment there...
*
* @var mixed
*/
protected $elements = array();
/**
* put your comment there...
*
* @param IElement $element... | gpl-2.0 |
brlopes/trampo | py_notify/toggle_notifications.php | 666 | <h4> STATUS CHANGED: </h4>
<?php
$menu = $_POST['action'];
switch ($menu) {
case 'start':
echo "| SCRIPT TURNED ON | ";
system("./recursive_notification_check.py >/dev/null 2>/dev/null &");
break;
case 'stop':
echo "| SCRIPT TURNED OFF | ";
system("sudo kill... | gpl-2.0 |
paulgibbs/bp-grunt-lite | tests/assets/group-extensions.php | 3774 | <?php
/**
* The following implementations of BP_Group_Extension act as dummy plugins
* for our unit tests
*/
class BPTest_Group_Extension_Parse_Legacy_Properties extends BP_Group_Extension {
function __construct() {
$class_name = get_class( $this );
$this->name = $class_name;
$this->slug = sanitize_title( $... | gpl-2.0 |
drazenzadravec/nequeo | Tools/MikTex/Programs/MiKTeX/MO/MFC/PropPageFormats.cpp | 9141 | /* PropPageFormats.cpp:
Copyright (C) 2000-2016 Christian Schenk
This file is part of MiKTeX Options.
MiKTeX Options 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, or (at
yo... | gpl-2.0 |
little-pan/Mycat-Server | src/main/java/org/opencloudb/handler/SelectHandler.java | 2266 | /*
* Copyright (c) 2013, OpenCloudDB/MyCAT and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software;Designed and Developed mainly by many Chinese
* opensource volunteers. you can redistribute it and/or modify it under the
* terms ... | gpl-2.0 |
alafon/ezpublish-community-built | ezpublish_legacy/kernel/private/eztemplate/ezpattributeoperatorformatter.php | 1477 | <?php
/**
* File containing ezpAttributeOperatorFormatter base class definition
*
* @copyright Copyright (C) 1999-2013 eZ Systems AS. All rights reserved.
* @license http://www.gnu.org/licenses/gpl-2.0.txt GNU General Public License v2
* @version 2013.5
* @package kernel
*/
class ezpAttributeOperatorFormatter
... | gpl-2.0 |
chronoxor/Depth | source/stream/CStreamDebugger.cpp | 4319 | /*!
* \file CStreamDebugger.cpp Debugger stream class gives ability to write
* buffer into the system debugger stream.
* \brief Debugger stream class (source).
* \author Ivan Shynkarenka aka 4ekucT
* \version 1.0
* \date 01.09.2008
*/
/*====================================================... | gpl-2.0 |
bentiss/hid-replay | tools/capture_usbmon.py | 13959 | #!/bin/env python
# -*- coding: utf-8 -*-
#
# Hid replay / capture_usbmon.py
#
# must be run as root.
#
# This program is useful to capture both the raw usb events from an input
# device and its kernel generated events.
#
# Requires several tools to be installed: usbmon, evemu and pyudev
#
# Copyright (c) 2014 Benjamin... | gpl-2.0 |
chris-magic/xbmc_dualaudio_pvr | xbmc/video/dialogs/GUIDialogVideoOverlay.cpp | 1867 | /*
* Copyright (C) 2005-2008 Team XBMC
* http://www.xbmc.org
*
* 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, or (at your option)
* any later version.
*
... | gpl-2.0 |
bigace/bigace2-extensions | MODUL/rssNewsReader/system/classes/rss/RSSParser.php | 13574 | <?php
/**
* @package bigace.classes
*/
/**
* RSS Parser
*
* Klasse zur Anzeige von News-Channels, die im RDF/RSS-Format vorliegen
*
* (c) 2002 - 2003 Stefan Fischer
*
* @author Stefan Fischer <post@stefan-fischer.net>
* @version 0.2
* @package bigace.classes
* @access public
*/
class RSSParser
{
var $fileUrl;
var... | gpl-2.0 |
poeschlr/kicad-3d-models-in-freecad | cadquery/FCAD_script_generator/Battery/battery_pins.py | 9172 |
import battery_common
from battery_common import *
import battery_contact
from battery_contact import *
def make_pins(params):
manufacture = params.manufacture # Model name
serie = params.serie # Model name
cellsize = params.cellsize # Battery type
cellcnt = params.cel... | gpl-2.0 |
srinivas-qfor/jkc-wp | wp-content/themes/jeanknowscars/assets/js/mod-list-item-faq-management.js | 2578 | ;var SorcWeb = SorcWeb || {}; // Global object
(function(sorcWeb, $){
"use strict";
sorcWeb.modFaqManagement = {};
var mod = sorcWeb.modFaqManagement;
mod.vars = {};
mod.init = function(){
this.setVars();
this.setSelectors();
this.setEvents();
};
mod.setVars = func... | gpl-2.0 |
seobrand/twit2pay_dev | backup-29-07/cakeversion/app/View/Themed/Admin/webroot/js/e_styleswitcher.1.0.js | 4203 | /*
* ************************************************************* *
* Name : eStyleSwitcher *
* Date : January 2012 *
* Owner : CreativeMilk *
* Url : www.creativemilk.net ... | gpl-2.0 |
udacity/discourse | app/models/activity.rb | 784 | class Activity < ActiveRecord::Base
belongs_to :user
belongs_to :trackable, :polymorphic => true
attr_accessible :action, :trackable
validates :user_id, :trackable_id, :trackable_type, :action, :presence => true
BATCH_SIZE = 1000
MAX_BATCH_SIZE = 5000
scope :logged_after, ->(options) do
return unle... | gpl-2.0 |
AlexeyGuryev/TestTasks | FurnitureStorage/StoragePersistence/Migrations/Configuration.cs | 1061 | namespace StoragePersistence.Migrations
{
using System;
using System.Data.Entity;
using System.Data.Entity.Migrations;
using System.Linq;
internal sealed class Configuration : DbMigrationsConfiguration<StoragePersistence.StorageEFContext>
{
public Configuration()
{
A... | gpl-2.0 |
ngocphan123/nukeviet-1 | includes/language/fr/admin_themes.php | 9508 | <?php
/**
* @Project NUKEVIET 4.x
* @Author VINADES.,JSC <contact@vinades.vn>
* @Copyright (C) 2017 VINADES.,JSC. All rights reserved
* @Language Français
* @License CC BY-SA (http://creativecommons.org/licenses/by-sa/4.0/)
* @Createdate Jun 21, 2010, 10:30:00 AM
*/
if (!defined('NV_ADMIN') or !defined('NV_MAINFILE')... | gpl-2.0 |
auth0/wp-auth0 | examples/auth0_jwt_max_age.php | 278 | <?php
/**
* Filter the max_age login parameter.
*
* @param integer $max_age - Existing max_age time, defaults to empty.
*
* @return integer
*/
function example_auth0_jwt_max_age( $max_age ) {
return 1200;
}
add_filter( 'auth0_jwt_max_age', 'example_auth0_jwt_max_age' );
| gpl-2.0 |
koalagon/supexlms | Lms.Domain/Models/Commons/Currency.cs | 763 | using Lms.Domain.Models.Plans;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Lms.Domain.Models.Commons
{
public class Currency
{
... | gpl-2.0 |
bb-generation/gobby | code/core/documentinfostorage.hpp | 3316 | /* Gobby - GTK-based collaborative text editor
* Copyright (C) 2008-2011 Armin Burgmeier <armin@arbur.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 Licen... | gpl-2.0 |
yast/yast-installation | test/ssh_config_test.rb | 8439 | #! /usr/bin/env rspec
# 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 or 3 of the GNU General
# Public License as published by the Free Software Foundation.
# This program is distributed in the hope tha... | gpl-2.0 |
upei/drupal6-cms | sites/all/modules/webfm/js/webfm.js | 137201 | /* $Id: webfm.js,v 1.29 2008/12/06 04:49:16 robmilne Exp $ */
/* namespace */
function Webfm() {}
/*
** Global variables
*/
//Translation possible by changing the array values (DO NOT ALTER KEYS!)
Webfm.js_msg = [];
Webfm.js_msg["mkdir"] = "Create New Dir";
Webfm.js_msg["file"] = "file";
Webfm.js_msg["dir"] = "direct... | gpl-2.0 |
Automattic/wp-calypso | client/state/data-layer/wpcom/sites/posts/likes/index.js | 1098 | import { POST_LIKES_REQUEST } from 'calypso/state/action-types';
import { mergeHandlers } from 'calypso/state/action-watchers/utils';
import { registerHandlers } from 'calypso/state/data-layer/handler-registry';
import { http } from 'calypso/state/data-layer/wpcom-http/actions';
import { dispatchRequest } from 'calypso... | gpl-2.0 |
sdwolf/redmine_autostatus | db/migrate/004_create_autostatus_rule_conditions.rb | 303 | class CreateAutostatusRuleConditions < ActiveRecord::Migration
def change
create_table :autostatus_rule_conditions do |t|
t.integer :rule_type
t.references :tracker
t.references :autostatus_rule_definition
end
add_index :autostatus_rule_conditions, :tracker_id
end
end
| gpl-2.0 |
dsx-tech/e-voting | sources/e-voting/common/src/main/java/uk/dsxt/voting/common/nxt/walletapi/Attachment.java | 1976 | package uk.dsxt.voting.common.nxt.walletapi;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Value;
@Value
public class Attachment {
int phasingFinishHeight;
int phasingHolding;
int phasingQuorum;
int versionPhasing;
int phas... | gpl-2.0 |
Arquisoft/Trivial4b | game/src/main/java/es/uniovi/asw/trivial/db/impl/local/persistencia/model/Usuario.java | 3750 | package es.uniovi.asw.trivial.db.impl.local.persistencia.model;
import java.io.Serializable;
import java.util.Collections;
import java.util.HashSet;
import java.util.Set;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.OneToMany... | gpl-2.0 |
chenrui1988/bloger | usr/themes/material/index.php | 1688 | <?php
/**
* 这是HanSon 基于material 的Typecho模板
*
* @package Material Theme
* @author HanSon
* @version 1.0.0
* @link http://hanc.cc
*/
$this->need('header.php');
?>
<section class="billboard">
<div class="container">
<div class="row">
<div class="col-md-7">
<div class="intro animate fade... | gpl-2.0 |
davidgraeff/Android-NetPowerctrl | app/src/main/java/oly/netpowerctrl/data/query/DeviceQueryInterface.java | 1078 | package oly.netpowerctrl.data.query;
import java.util.Collection;
import java.util.List;
import oly.netpowerctrl.credentials.Credentials;
import oly.netpowerctrl.ioconnection.DeviceIOConnections;
/**
* Created by david on 08.06.15.
*/
public interface DeviceQueryInterface {
boolean removeContainedSuccess(Crede... | gpl-2.0 |
willblaschko/AlexaAndroid | libs/AlexaAndroid/src/main/java/com/willblaschko/android/alexa/AlexaManager.java | 25349 | package com.willblaschko.android.alexa;
import android.content.Context;
import android.content.Intent;
import android.os.AsyncTask;
import android.util.Log;
import com.willblaschko.android.alexa.callbacks.AsyncCallback;
import com.willblaschko.android.alexa.callbacks.AuthorizationCallback;
import com.willblaschko.and... | gpl-2.0 |
Insubric/fire-calculator | fireindiceslib/src/main/scala/ch/wsl/fireindices/metadata/Variable_cases_indices.scala | 71662 | package ch.wsl.fireindices.metadata
import ch.wsl.fireindices.functions.Functions
import ch.wsl.fireindices.functions.ListFunctions
import ch.wsl.fireindices.functions.Utils
import ch.wsl.fireindices.ImplicitConversions._
import ch.wsl.fireindices.log.DataLog
import scala.collection.mutable.MutableList
case objec... | gpl-2.0 |
espertechinc/nesper | src/NEsper.Compat/compat/collections/ListExtensions.cs | 2720 | ///////////////////////////////////////////////////////////////////////////////////////
// Copyright (C) 2006-2019 Esper Team. All rights reserved. /
// http://esper.codehaus.org /
// -------------------------------------------------... | gpl-2.0 |
davidbjanes/NovintFalconExampleCode | chai3d-2.0.0/external/VirtualDevice/src/sai/CShape.cpp | 3270 | //===========================================================================
// - UNIT -
//
// Copyright (C) 2002. Stanford University - Robotics Laboratory
/*!
\author conti@robotics.stanford.edu
\file CShape.cpp
\version 1.0
\date 01/2002
*/
//==========================... | gpl-2.0 |
teeple/pns_server | work/node_modules/node-cubrid/src/packets/FetchPacket.js | 2622 | var DATA_TYPES = require('../constants/DataTypes'),
Helpers = require('../utils/Helpers'),
ErrorMessages = require('../constants/ErrorMessages'),
CAS = require('../constants/CASConstants');
module.exports = FetchPacket;
/**
* Constructor
* @param options
* @constructor
*/
function FetchPacket(options) {
o... | gpl-2.0 |
Streamstormer/PanicSim | src/Simulator/Area.cpp | 9209 | #include "../../include/Simulator/Area.hpp"
ClArea::ClArea()
{
id = 0;
time =0;
fire_texture.loadFromFile("pictures/fire.png");
}
ClArea::~ClArea()
{
for(unsigned int n=0; n < sobjects.size(); n++)
{
delete sobjects[n];
}
}
void ... | gpl-2.0 |
digineo/xt-commerce | admin/validcategories.php | 2517 | <?php
/* -----------------------------------------------------------------------------------------
$Id: validcategories.php 4 2006-11-28 14:38:03Z mzanier $
XT-Commerce - community made shopping
http://www.xt-commerce.com
Copyright (c) 2003 XT-Commerce
---------------------------------------... | gpl-2.0 |
mupi/readinweb | course-tool/src/webapp/content/js/dropdown-menu.js | 573 | $(document).ready(function(){
// Collapse accordion every time dropdown is shown
$('#lista_menu_modulos').on('show.bs.dropdown', function (event) {
$(this).find('.panel-collapse.in').collapse('hide');
});
// Prevent dropdown to be closed when we click on an accordion link
$('#lista_menu_modulos').on('cli... | gpl-2.0 |
joelbrock/HARVEST_CORE | fannie/src/fpdf/font/Scala-Italic.php | 3423 | <?php
$type='Type1';
$name='Scala-Italic';
$desc=array('Ascent'=>745,'Descent'=>-255,'CapHeight'=>700,'Flags'=>32,'FontBBox'=>'[-174 -256 1200 843]','ItalicAngle'=>0,'StemV'=>77);
$up=-166;
$ut=37;
$cw=array(
chr(0)=>600,chr(1)=>600,chr(2)=>600,chr(3)=>600,chr(4)=>600,chr(5)=>600,chr(6)=>600,chr(7)=>600,chr(8)=>600... | gpl-2.0 |
RoProducts/rastertheque | RasterLibrary/src/de/rooehler/rastertheque/processing/RasterOp.java | 1456 | package de.rooehler.rastertheque.processing;
import java.io.Serializable;
import java.util.Map;
import de.rooehler.rastertheque.core.Raster;
import de.rooehler.rastertheque.util.Hints;
import de.rooehler.rastertheque.util.Hints.Key;
import de.rooehler.rastertheque.util.ProgressListener;
/**
* A RasterOp models an ... | gpl-2.0 |
panhainan/news | src/com/phn/dao/impl/CommentDaoImpl.java | 2162 | package com.phn.dao.impl;
import java.util.List;
import com.phn.dao.ICommentDao;
import com.phn.po.Comment;
import com.phn.po.News;
/**
* @author phn
* @TODO
* @date 2015-4-25
*/
public class CommentDaoImpl extends JDBCDaoSupport<Comment> implements ICommentDao {
public int save(Comment comment) {
String sa... | gpl-2.0 |
stolosapo/CppPlayground | src/kernel/audio/alsa/exception/AlsaDomainErrorCode.cpp | 2118 | #include "AlsaDomainErrorCode.h"
const DomainErrorCode AlsaDomainErrorCode::ALS0001 = DomainErrorCode("ALS0001", "ALSA feature is not enabled, try to pass the WITH_ALSA=1 param when Make.");
const DomainErrorCode AlsaDomainErrorCode::ALS0002 = DomainErrorCode("ALS0002", "Cannot open audio device %s (%s)");
const Dom... | gpl-2.0 |
pftaylor61/ctw | inc/jetpack.php | 723 | <?php
/**
* Jetpack Compatibility File.
*
* @link https://jetpack.me/
*
* @package ctw
*/
/**
* Add theme support for Infinite Scroll.
* See: https://jetpack.me/support/infinite-scroll/
*/
function ctw_jetpack_setup() {
add_theme_support( 'infinite-scroll', array(
'container' => 'main',
'render' => 'c... | gpl-2.0 |
xbegault/clrh-idf | components/com_joomleague/views/playground/view.html.php | 2451 | <?php defined( '_JEXEC' ) or die( 'Restricted access' );
jimport( 'joomla.application.component.view');
class JoomleagueViewPlayground extends JLGView
{
function display( $tpl = null )
{
// Get a refrence of the page instance in joomla
$document= JFactory::getDocument();
// Set page title
$document->setTit... | gpl-2.0 |
dl4gbe/kernel | include/data/table_views/cls_view_data_location_34ac07bc_ae71_4158_88ca_2ffc6f998a26.php | 4304 | <?php
if(!defined('kernel_entry') || !kernel_entry) die('Not A Valid Entry Point');
require_once('include/data/cls_table_view_base.php');
class cls_view_data_location_34ac07bc_ae71_4158_88ca_2ffc6f998a26 extends cls_table_view_base
{
private $p_column_definitions = null;
function __construct()
{
$a = func_get_ar... | gpl-2.0 |
Engeltj/Time | src/com/tengel/time/Config.java | 1546 | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package com.tengel.time;
import org.bukkit.configuration.file.YamlConfiguration;
import java.io.File;
import java.io.IOException;
im... | gpl-2.0 |
stevenzh/tourismwork | src/modules/service/src/main/java/com/opentravelsoft/service/impl/HotelManagerImpl.java | 1259 | package com.opentravelsoft.service.impl;
import java.util.List;
import javax.jws.WebService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.opentravelsoft.entity.vacation.Hotel;
import com.opentravelsoft.providers.HotelDao;
import com.opentra... | gpl-2.0 |
VisualIdeation/3DVisualizer | Templatized/MultiPolyline.cpp | 9919 | /***********************************************************************
MultiPolyline - Class to represent multiple arbitrary-length polylines.
Copyright (c) 2007-2008 Oliver Kreylos
This file is part of the 3D Data Visualizer (Visualizer).
The 3D Data Visualizer is free software; you can redistribute it and/or
modi... | gpl-2.0 |
kit0206/DailyWorkReport | DailyWorkReport/DailyWorkReport/Controllers_/CoreController.cs | 981 | using DailyWorkReportLib.DbAccess;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
namespace DailyWorkReport.Controllers_
{
public class CoreController : BaseController
{
/// <summary>
/// 初期化
/// </summary>
/// <param... | gpl-2.0 |
ajv/Offline-Caching | mod/assignment/simpletest/test_assignment_portfolio_callers.php | 2125 | <?php // $Id$
require_once("$CFG->libdir/simpletest/portfolio_testclass.php");
require_once("$CFG->dirroot/mod/assignment/lib.php");
require_once("$CFG->dirroot/$CFG->admin/generator.php");
Mock::generate('assignment_portfolio_caller', 'mock_caller');
Mock::generate('portfolio_exporter', 'mock_exporter');
class testA... | gpl-2.0 |
manuelcortez/socializer | src/wxUI/tabs/audio.py | 1849 | # -*- coding: utf-8 -*-
import wx
import widgetUtils
from .home import homeTab
class audioTab(homeTab):
def create_list(self):
self.lbl = wx.StaticText(self, wx.NewId(), _("Mu&sic"))
self.list = widgetUtils.multiselectionList(self, *[_("Title"), _("Artist"), _("Duration")], style=wx.LC_REPORT, name... | gpl-2.0 |
ThomasHabets/qpov | pkg/dist/dist_test.go | 917 | package dist
import (
"testing"
)
func TestS3Parse(t *testing.T) {
for _, test := range []struct {
in string
bucket, dir, file string
err bool
}{
{"", "", "", "", true},
{"s3://qpov", "", "", "", true},
{"s3://qpov/", "qpov", "", "", false},
{"s3://qpov/foo.pov", "qpov", ... | gpl-2.0 |
chisimba/modules | socialweb/resources/socialweb.js | 597 | /*
* Javascript to support socialweb
*
* Written by Derek Keats derekkeats@gmail.com
* STarted on: September 16, 2012, 3:52 pm
*
* The following parameters need to be set in the
* PHP code for this to work:
*
* @todo
* List your parameters here so you won't forget to add them
*
*/
/**
*
* Put your jQu... | gpl-2.0 |
Firebird1915/mckinleyfirebirds | wp-content/plugins/my-calendar/my-calendar-help.php | 26176 | <?php
if ( ! defined( 'ABSPATH' ) ) {
exit;
} // Exit if accessed directly
function my_calendar_help() {
?>
<div class="wrap jd-my-calendar">
<h2><?php _e( 'How to use My Calendar', 'my-calendar' ); ?></h2>
<div class="postbox-container jcd-wide">
<div class="metabox-holder">
<div class="ui-sortable meta-box... | gpl-2.0 |
b4um1/wasserapp | Wasser-App/src/at/fhhgb/mc/wasserapp/parser/WaterlevelJSONParser.java | 2454 | package at.fhhgb.mc.wasserapp.parser;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import org.json.simple.JSONArray;
import org.json.simple.JSONObject;
import org.json.simple.parser.JSONParser;
import org.json.simple.parser.ParseException;
import android.util.Log;
public... | gpl-2.0 |
Tim-Snow/Sumo | src/Camera.cpp | 1121 | #include "Camera.h"
Camera* Camera::c = 0;
Camera::~Camera() {
// TODO Auto-generated destructor stub
}
void Camera::lookAt(const Point3 &eye, const Point3 &point, const Vector3 &up) {
camera = new Matrix4(camera->lookAt(eye, point, up));
}
void Camera::setCamera(const Matrix4 & m) {
Matrix4 * tmp = camera;
cam... | gpl-2.0 |
imyuka/AFL | crawler_prototype/AFL/frmAge.Designer.cs | 4154 | namespace AFL
{
partial class frmAge
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="d... | gpl-2.0 |
ruizu/pq-array | types.go | 1005 | package pqarray
import (
"strconv"
)
type Int64Slice []int64
func (is *Int64Slice) Scan(value interface{}) error {
if value == nil {
return nil
}
val := string(value.([]byte))
parsed := parse(val)
converted := []int64{}
for _, v := range parsed {
pv, err := strconv.ParseInt(v, 10, 64)
if err != nil {
... | gpl-2.0 |
imglib/imglib2-script | src/main/java/net/imglib2/script/color/Hue.java | 1691 | /*
* #%L
* ImgLib2: a general-purpose, multidimensional image processing library.
* %%
* Copyright (C) 2009 - 2016 Tobias Pietzsch, Stephan Preibisch, Stephan Saalfeld,
* John Bogovic, Albert Cardona, Barry DeZonia, Christian Dietz, Jan Funke,
* Aivar Grislis, Jonathan Hale, Grant Harris, Stefan Helfrich, Mark Hi... | gpl-2.0 |
jmayer13/SAlmox | src/uni/uri/salmox/view/DocumentTableModel.java | 5510 |
/*-
* Classname: DocumentTableModel.java
*
* Version information: 1.0
*
* Date: 19/03/2013 - 13:31:32
*
* author: Jonas Mayer (jmayer13@hotmail.com)
* Copyright notice: (informações do método, pra que serve, idéia principal)
*/
package uni.uri.salmox.view;
i... | gpl-2.0 |
oliviernolbert/SEBLOD | administrator/modules/mod_cck_menu/tmpl/default_disabled.php | 487 | <?php
/**
* @version SEBLOD 3.x Core ~ $Id: default_disabled.php sebastienheraud $
* @package SEBLOD (App Builder & CCK) // SEBLOD nano (Form Builder)
* @url https://www.seblod.com
* @editor Octopoos - www.octopoos.com
* @copyright Copyright (C) 2009 - 2017 SEBLOD. All Rights Reserved.
* @license GNU Gene... | gpl-2.0 |
georgejhunt/HaitiDictionary.activity | data/words/presan.js | 56 | showWord(["a. ","ki pa ka tann, ki dwe fèt tousuit."
]) | gpl-2.0 |
alexeyche/snn_sim_old | r_package/Rsnn/src/RPrepLayer.cpp | 25 |
#include "RPrepLayer.h"
| gpl-2.0 |
chisimba/modules | workgroupadmin/templates/content/managenew_tpl.php | 1658 | <?php
//echo '<pre>';
//echo $dump;
//echo "TEMPLATE:\n";
//var_dump($members);
//echo '</pre>';
$pageTitle = $this->newObject('htmlheading','htmlelements');
$pageTitle->type=1;
$pageTitle->align='left';
$pageTitle->str=ucwords($objLanguage->code2Txt("mod_workgroupadmin_workgroup",'... | gpl-2.0 |
Chase-C/Agriculture-Tycoon | Sound.js | 268 | var selectSound = new Audio("audio/select.wav");
selectSound.addEventListener('ended', function(){
this.currentTime = 0;
});
var soundtrack = new Audio("audio/soundtrack.mp3");
soundtrack.addEventListener('ended', function(){
this.currentTime = 0;
this.play();
}); | gpl-2.0 |
tamviettech/e-par | public_html/apps/r3/modules/record/record_views/print_cancel_request.php | 5836 | <?php
defined('DS') or die();
/* @var $this \View */
$dom_unit_info = simplexml_load_file(SERVER_ROOT . 'public/xml/xml_unit_info.xml');
$dom_data = simplexml_load_string($arr_single_record['C_XML_DATA']);
$now = date_create($now);
?>
<html>
<head>
<meta http-equiv="Content-Type" c... | gpl-2.0 |
JaysonChan/OnlineMall | src/main/java/com/mall/service/category/impl/CategoryService.java | 1061 | package com.mall.service.category.impl;
import com.mall.dao.category.AbstractCategoryDao;
import com.mall.orm.category.Category;
import com.mall.service.category.ICategoryService;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.io.Serializable;
import java.util.List;
/**
... | gpl-2.0 |
cholalabs/CholaApps2.0 | modules/mod_articles_latest/helper.php | 3293 | <?php
/**
* @version $Id: helper.php 20541 2011-02-03 21:12:06Z dextercowley $
* @package Chola.Site
* @subpackage mod_articles_latest
* @copyright Copyright (C) 2005 - 2011 Cholalabs Software LLP. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
// no direct a... | gpl-2.0 |