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) 2011 Apple 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:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions a... | loveyoupeng/rt | modules/web/src/main/native/Source/JavaScriptCore/bytecode/DFGExitProfile.cpp | C++ | gpl-2.0 | 3,542 |
/**
* Copyright (c) 2001-2002. Department of Family Medicine, McMaster University. All Rights Reserved.
* This software is published under the GPL GNU General Public License.
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published... | vvanherk/oscar_emr | src/main/java/oscar/eform/actions/DisplayImageAction.java | Java | gpl-2.0 | 9,846 |
<?php
/**
* Sample implementation of the Custom Header feature
* http://codex.wordpress.org/Custom_Headers
*
* You can add an optional custom header image to header.php like so ...
<?php $header_image = get_header_image();
if ( ! empty( $header_image ) ) { ?>
<a href="<?php echo esc_url( home_url( '/' ) ); ?... | ashchat404/wordpress | wp-content/themes/tsf/inc/custom-header.php | PHP | gpl-2.0 | 6,290 |
<?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
* Functionality for the navigation tree
*
* @package PhpMyAdmin-Navigation
*/
if (! defined('PHPMYADMIN')) {
exit;
}
require_once 'libraries/navigation/Nodes/Node_DatabaseChild.class.php';
/**
* Represents a view node in the navigation tree
*
* @package P... | saisai/phpmyadmin | libraries/navigation/Nodes/Node_View.class.php | PHP | gpl-2.0 | 1,597 |
/*
* Digital Media Server, for streaming digital media to UPnP AV or DLNA
* compatible devices based on PS3 Media Server and Universal Media Server.
* Copyright (C) 2016 Digital Media Server developers.
*
* This program is free software: you can redistribute it and/or modify it under
* the terms of the GNU Genera... | DigitalMediaServer/DigitalMediaServer | src/main/java/net/pms/formats/audio/MPC.java | Java | gpl-2.0 | 1,121 |
<?php
/*
+---------------------------------------------------------------------------+
| Revive Adserver |
| http://www.revive-adserver.com |
| ... | adqio/revive-adserver | etc/changes/migration_tables_core_542.php | PHP | gpl-2.0 | 1,282 |
<?php
namespace Elgg\I18n;
/**
* WARNING: API IN FLUX. DO NOT USE DIRECTLY.
*
* @access private
*
* @since 1.10.0
*/
class Translator {
/**
* Global Elgg configuration
*
* @var \stdClass
*/
private $CONFIG;
/**
* Initializes new translator
*/
public function __construct() {
global $CONFIG;
... | printerpam/Elgg | engine/classes/Elgg/I18n/Translator.php | PHP | gpl-2.0 | 15,087 |
<?php
/**
* This file is part of http://github.com/LukeBeer/BroadworksOCIP
*
* (c) 2013-2015 Luke Berezynskyj <eat.lemons@gmail.com>
*/
namespace BroadworksOCIP\api\Rel_17_sp4_1_197_OCISchemaAS\OCISchemaDataTypes;
use BroadworksOCIP\Builder\Types\SimpleType;
use BroadworksOCIP\Builder\Restrictions\Enumeration;
... | paericksen/broadworks-ocip | src/BroadworksOCIP/api/Rel_17_sp4_1_197_OCISchemaAS/OCISchemaDataTypes/ExtendedFileResourceSelection.php | PHP | gpl-2.0 | 703 |
/**
* Copyright (C) 2015 Frank Steiler <frank@steilerdev.de>
*
* 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.
*
... | steilerDev/WhatToStudy | Source/src/de/steilerdev/whatToStudy/Exception/WhatToStudyException.java | Java | gpl-2.0 | 4,019 |
<?php
/*
* @version $Id$
-------------------------------------------------------------------------
GLPI - Gestionnaire Libre de Parc Informatique
Copyright (C) 2015-2016 Teclib'.
http://glpi-project.org
based on GLPI - Gestionnaire Libre de Parc Informatique
Copyright (C) 2003-2014 by the INDEPNET Development ... | TECLIB/glpi | inc/ruledictionnarymonitormodel.class.php | PHP | gpl-2.0 | 2,216 |
<?php
if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/**
* Employee Model
* Check if user is staff, perform basic moderation actions
* @package Models
*/
class Employee_model extends CI_Model {
/**
* Allow loggedin user access if session var
*
* @return bool
*
*/
pub... | unfinite/Alphasquare | src/application/models/employee_model.php | PHP | gpl-2.0 | 2,577 |
/*
* 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 You under the Apache License, Version 2.0
* (the "License"); you may ... | bharcode/MachineLearning | CustomMahout/core/src/main/java/org/apache/mahout/cf/taste/hadoop/item/AggregateAndRecommendReducer.java | Java | gpl-2.0 | 8,512 |
<?php
/**
* Page Template
*
* Loaded automatically by index.php?main_page=order_status.<br />
* Displays information related to a single specific order
*
* @package templateSystem
* @copyright Copyright 2003-2015 Zen Cart Development Team
* @copyright Portions Copyright 2003 osCommerce
* @copyright P... | drbyte/zc-v1-series | includes/templates/template_default/templates/tpl_order_status_default.php | PHP | gpl-2.0 | 6,773 |
/*
* Copyright (c) 2011, 2016, 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 ... | teamfx/openjfx-9-dev-rt | modules/javafx.graphics/src/main/native-glass/win/ViewContainer.cpp | C++ | gpl-2.0 | 58,952 |
<?php
$params = array_merge(
require(__DIR__ . '/../../common/config/params.php'),
require(__DIR__ . '/../../common/config/params-local.php'),
require(__DIR__ . '/params.php'),
require(__DIR__ . '/params-local.php')
);
return [
'id' => 'app-frontend',
'basePath' => dirname(__DIR__),
'bootst... | cangsalak/Yii2-CMS | frontend/config/main.php | PHP | gpl-2.0 | 1,425 |
<div class="metabox-holder indeed">
<div class="stuffbox">
<div class="ism-top-message"><b>"Share Bar"</b> - is a special Social Icons Display on the top of the page when the visitor scroll down.</div>
</div>
<div class="stuffbox">
<h3>
<label style="font-size:16px;">
AddOn Status
</label>
</h3... | srwiser/ssctube | wp-content/plugins/indeed-social-media_v5.1/admin/tabs/isb.php | PHP | gpl-2.0 | 1,740 |
<?php
function getSentNotificationNum() {
return intval(file_get_contents('http://localhost:55555/'));
}
?>
| marco-c/wp-web-push | tests/test-utils.php | PHP | gpl-2.0 | 112 |
/**
* @fileoverview
* Tool '서식' Source,
*
*/
TrexConfig.addTool(
"tabletemplate",
{
sync: _FALSE,
status: _TRUE,
rows: 5,
cols: 9,
options: [
{ label: 'image', data: 1 , klass: 'tx-tabletemplate-1' },
{ label: 'image', data: 2 , klass: 'tx-tabletemplate-2' },
{ label: 'image', data: 3 , k... | zaljayo/TestProject | lib_editor/js/trex/tool/tabletemplate.js | JavaScript | gpl-2.0 | 3,877 |
#include "GitRevision.h"
#include "CompilerDefs.h"
#include "revision_data.h"
char const* GitRevision::GetHash()
{
return _HASH;
}
char const* GitRevision::GetDate()
{
return _DATE;
}
char const* GitRevision::GetBranch()
{
return _BRANCH;
}
char const* GitRevision::GetSourceDirectory()
{
return _SOU... | pizcogirl/TrinityCore | src/server/shared/GitRevision.cpp | C++ | gpl-2.0 | 1,344 |
<?php
namespace TYPO3\CMS\Core\Resource\Driver;
/**
* 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... | demonege/sutogo | typo3/sysext/core/Classes/Resource/Driver/AbstractHierarchicalFilesystemDriver.php | PHP | gpl-2.0 | 3,140 |
/** -*- c++ -*-
* Copyright (C) 2008 Doug Judd (Zvents, Inc.)
*
* This file is part of Hypertable.
*
* Hypertable 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, or any late... | tempbottle/hypertable | src/cc/Tools/rsclient/RangeServerCommandInterpreter.cc | C++ | gpl-2.0 | 11,721 |
/* $Id$ */
/***************************************************************************
* (C) Copyright 2003-2010 - Stendhal *
***************************************************************************
***************************************************************************
... | acsid/stendhal | src/games/stendhal/client/gui/j2d/entity/StateEntity2DView.java | Java | gpl-2.0 | 3,163 |
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright held by original author
\\/ M anipulation |
------------------... | CFDEMproject/OpenFOAM-1.6-ext | src/triSurface/meshTriangulation/meshTriangulation.C | C++ | gpl-2.0 | 14,053 |
/*
* Copyright (c) 2008, 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... | openjdk/jdk7u | jdk/src/share/classes/com/sun/beans/decoder/IntElementHandler.java | Java | gpl-2.0 | 2,393 |
/*
* Copyright (c) 2014, 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... | mur47x111/GraalVM | graal/com.oracle.graal.phases/src/com/oracle/graal/phases/util/MethodDebugValueName.java | Java | gpl-2.0 | 1,635 |
<?php
include 'common.php';
include 'header.php';
include 'menu.php';
Typecho_Widget::widget('Widget_Contents_Page_Edit')->to($page);
?>
<div class="main">
<div class="body container">
<?php include 'page-title.php'; ?>
<div class="row typecho-page-main typecho-post-area" role="form">
<f... | engine-go/pizida | admin/write-page.php | PHP | gpl-2.0 | 10,482 |
<?php
/**
* @file
* Tests for ssh.drush.inc
*
* @group commands
*/
class siteSshCase extends Drush_CommandTestCase {
/**
* Test drush ssh --simulate. No additional bash passed.
*/
public function testInteractive() {
if ($this->is_windows()) {
$this->markTestSkipped('ssh command not currentl... | junsuwhy/tungfilm | vendor/drush/drush/tests/siteSshTest.php | PHP | gpl-2.0 | 2,659 |
package org.bouncycastle.asn1;
import java.io.IOException;
public interface ASN1SequenceParser
extends DEREncodable, InMemoryRepresentable
{
DEREncodable readObject()
throws IOException;
}
| Z-Shang/onscripter-gbk | svn/onscripter-read-only/src/org/bouncycastle/asn1/ASN1SequenceParser.java | Java | gpl-2.0 | 207 |
<?php
/**
* @version $Id$
*
* @author Valérie Isaksen
* @package VirtueMart
* @copyright Copyright (C) iStraxx - All rights reserved.
* @license istraxx_license.txt Proprietary License. This code belongs to istraxx UG (haftungsbeschränkt)
* You are not allowed to distribute or sell this code.
* You are not all... | Jasonudoo/platform | administrator/components/com_virtuemart_allinone/plugins/vmpayment/klarna/klarna/elements/klarnalabel.php | PHP | gpl-2.0 | 800 |
/*
* Copyright (C) 2008-2018 TrinityCore <https://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 version 2 of the License, or (at your
* option) any later v... | Dozorov/TrinityCore | src/server/game/Server/Packets/GuildPackets.cpp | C++ | gpl-2.0 | 21,360 |
<?php
/**
* @file
* Template for the 1 column panel layout.
*
* This template provides a three column 25%-50%-25% panel display layout.
*
* Variables:
* - $id: An optional CSS id to use for the layout.
* - $content: An array of content, each item in the array is keyed to one
* panel of the layout. This layou... | SLAC-OCIO/slac-www | sites/all/themes/slac_www/plugins/layouts/two_col/two-col.tpl.php | PHP | gpl-2.0 | 1,034 |
<?php
/**
* AJAX handler plugin manager
*
* PHP version 7
*
* Copyright (C) Villanova University 2018.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2,
* as published by the Free Software Foundation.
*
* This program is... | arto70/NDL-VuFind2 | module/VuFind/src/VuFind/AjaxHandler/PluginManager.php | PHP | gpl-2.0 | 5,361 |
<?php
/**
* @package WordPress
* @subpackage GoodDay
* @version 1.0.0
*
* Post Options Functions
* Created by CMSMasters
*
*/
$cmsms_option = cmsms_get_global_options();
$cmsms_global_blog_post_layout = (isset($cmsms_option[CMSMS_SHORTNAME . '_blog_post_layout']) && $cmsms_option[CMSMS_... | napalm255/makeachangewithmarie.com | wp-content/themes/goodday/framework/admin/options/cmsms-theme-options-post.php | PHP | gpl-2.0 | 12,758 |
<?php
/**
* thai language file
*
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
* @author Matthias Schulte <mailinglist@lupo49.de>
*/
// custom language strings for the plugin
$lang['reveal'] = 'แสดง';
$lang['reveallong'] = 'แสดงเนื้อหาที่ซ่อนไว้';
$lang['hide'] = 'ซ่อน';
$lang['hidelon... | claudehohl/dokuwiki-kickstart | lib/plugins/folded/lang/th/lang.php | PHP | gpl-2.0 | 450 |
<?php error_reporting(0);ini_set('display_errors', 0);header("Content-type: text/css; charset: UTF-8"); ?>
<?php
$parse_uri = explode( 'wp-content', $_SERVER['SCRIPT_FILENAME'] );
require_once( $parse_uri[0] . 'wp-load.php' );
//Get Plugin settings
$frmcol = easy_get_option( 'easymedia_frm_col' );
$shdcol = eas... | icommstudios/localsharingtree | wp-content/plugins/easy-media-gallery/includes/dynamic-style.php | PHP | gpl-2.0 | 5,036 |
<?php
function ninja_forms_output_tab_metabox($form_id = '', $slug, $metabox){
$plugin_settings = get_option( 'ninja_forms_settings' );
if($form_id != ''){
$form_row = ninja_forms_get_form_by_id($form_id);
$current_settings = $form_row['data'];
}else{
$form_id = '';
$current_settings = get_option("ninja_form... | ibrahimcesar/blumpa-wp | wp-content/plugins/ninja-forms/includes/admin/output-tab-metabox.php | PHP | gpl-2.0 | 11,378 |
##
# This file is part of WhatWeb and may be subject to
# redistribution and commercial restrictions. Please see the WhatWeb
# web site for more information on licensing and terms of use.
# http://www.morningstarsecurity.com/research/whatweb
##
# Version 0.2 # 2011-03-06 #
# Updated OS detection
##
Plugin.define "SegPu... | tennc/WhatWeb | plugins/SegPub.rb | Ruby | gpl-2.0 | 1,182 |
<?php
/**
*
* Ajax Shoutbox extension for the phpBB Forum Software package.
* @translated into French by Psykofloyd & Galixte (http://www.galixte.com)
*
* @copyright (c) 2014 Paul Sohier <http://www.ajax-shoutbox.com>
* @license GNU General Public License, version 2 (GPL-2.0)
*
*/
/**
* DO NOT CHANGE
*... | alhitary/ajax-shoutbox-ext | language/fr/info_acp_ajaxshoutbox.php | PHP | gpl-2.0 | 1,648 |
/*
* Media Plugin for FCKeditor 2.5 SVN
* Copyright (C) 2007 Riceball LEE (riceballl@hotmail.com)
*
* == BEGIN LICENSE ==
*
* Licensed under the terms of any of the following licenses at your
* choice:
*
* - GNU General Public License Version 2 or later (the "GPL")
* http://www.gnu.org/licenses/gpl.html
... | zy73122/table2form | tools/fckeditor/editor/plugins/Media/js/fck_media_inc.js | JavaScript | gpl-2.0 | 7,657 |
<?php
class FeatureToc {
var $_anchor_locator;
var $_document_updater;
function FeatureToc() {
$this->set_anchor_locator(new FeatureTocAnchorLocatorHeaders());
$this->set_document_updater(new FeatureTocDocumentUpdaterPrependPage());
}
function handle_after_parse($params) {
$pipeline =& $params[... | diedsmiling/busenika | lib/html2pdf/features/toc.php | PHP | gpl-2.0 | 6,787 |
jQuery(document).ready(function($){
jQuery('.ifeature-tabbed-wrap').tabs();
});
jQuery(document).ready(function($){
$("ul").parent("li").addClass("parent");
});
jQuery(document).ready(function($){
$("#gallery ul a:hover img").css("opacity", 1);
$("#portfolio_wrap .portfolio_caption").css("opacity", 0);
$("#... | cyberchimps/ifeaturepro4 | core/library/js/menu.js | JavaScript | gpl-2.0 | 744 |
var Models = window.Models || {};
jQuery.noConflict();
Models.Grid = function(w, h, el) {
this.width = w;
this.height = h;
this.blocks = [];
this.field = new Models.Block(w, h, 0, 0);
this.element = el;
this.place = function(block, x, y, html, creationIndex) {
block.setPosition(x, y);
return this._induct(... | m-godefroid76/devrestofactory | wp-content/themes/berg-wp/admin/includes/js/grid.js | JavaScript | gpl-2.0 | 2,636 |
@extends('emails.layout')
@section('header')
{{HTML::linkRoute('user-request-list', 'My Request')}} |
{{HTML::linkRoute('user-profile-form', 'Profile')}}
@stop
@section('title')
Respon dari admin
@stop
@section('description')
Halo {{{$name}}}, <br>
Permohonan informasi anda direspon oleh admin,<br>
<br>
Untuk... | arisst/kip | app/views/emails/response.blade.php | PHP | gpl-2.0 | 499 |
<?php
/**
* Modern Menu Widget
*
* Learn more: http://codex.wordpress.org/Widgets_API
*
* @package Total
* @author Alexander Clarke
* @copyright Copyright (c) 2014, Symple Workz LLC
* @link http://www.wpexplorer.com
* @since Total 1.6.0
*/
if ( ! class_exists( 'WPEX_Modern_Menu' ) ) {
class WPEX_Modern_... | naoyawada/Concurrent | wp-content/themes/Total/framework/widgets/widget-modern-menu.php | PHP | gpl-2.0 | 3,821 |
/*
* libjingle
* Copyright 2004--2005, Google Inc.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice,
* this list of conditions a... | serghei/kde3-kdenetwork | kopete/protocols/jabber/jingle/libjingle/talk/base/asyncudpsocket.cc | C++ | gpl-2.0 | 2,770 |
<?php
/**
* This software is intended for use with Oxwall Free Community Software http://www.oxwall.org/ and is
* licensed under The BSD license.
* ---
* Copyright (c) 2011, Oxwall Foundation
* All rights reserved.
* Redistribution and use in source and binary forms, with or without modification, are permitted... | seret/oxtebafu | ow_plugins/forum/components/forum_topics_widget.php | PHP | gpl-2.0 | 7,902 |
<?php
class GFSettings{
public static $addon_pages = array();
public static function add_settings_page($name, $handler, $icon_path){
add_action("gform_settings_" . str_replace(" " , "_", $name), $handler);
self::$addon_pages[$name] = array("name" => $name, "icon" => $icon_path);
}
pub... | noahjohn9259/emberrcom | wp-content/plugins/gravityforms_1.5.2.8/settings.php | PHP | gpl-2.0 | 19,359 |
<?php
include_once('../../config/symbini.php');
include_once($SERVER_ROOT.'/content/lang/collections/list.'.$LANG_TAG.'.php');
include_once($SERVER_ROOT.'/classes/OccurrenceListManager.php');
include_once($SERVER_ROOT.'/classes/SOLRManager.php');
$stArrCollJson = $_REQUEST["jsoncollstarr"];
$stArrSearchJson = $... | seltmann/Symbiota | collections/rpc/changetablepage.php | PHP | gpl-2.0 | 7,873 |
<?php
/**
* PEAR_Common, the base class for the PEAR Installer
*
* PHP versions 4 and 5
*
* LICENSE: This source file is subject to version 3.0 of the PHP license
* that is available through the world-wide-web at the following URI:
* http://www.php.net/license/3_0.txt. If you did not receive a copy of
... | alucard263096/XMLRPC | DEMO/ta_portal_dev/libs/PEAR/PEAR/Common.php | PHP | gpl-2.0 | 36,771 |
/*
* Copyright (C) 2011 Google, Inc. All rights reserved.
* Copyright (C) 2016 Apple 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:
* 1. Redistributions of source code must retain the... | qtproject/qtwebkit | Source/WebCore/page/csp/ContentSecurityPolicySource.cpp | C++ | gpl-2.0 | 3,383 |
<?php
$profile_page = get_option('booked_profile_page');
if ($profile_page):
if(!class_exists('booked_profiles')) {
class booked_profiles {
public function __construct() {
add_action('init', array(&$this,'rewrite_add_rewrites'));
add_action('the_content', array(&$this,'display_profile_markup'));
... | annegrundhoefer/mark | wp-content/plugins/booked/includes/profiles.php | PHP | gpl-2.0 | 2,040 |
/***************************************************************************
kbordercoltextexport.cpp - description
-------------------
begin : Sam Aug 30 2003
copyright : (C) 2003 by Friedrich W. H. Kossebau
email ... | serghei/kde3-kdeutils | khexedit/lib/kbordercoltextexport.cpp | C++ | gpl-2.0 | 1,464 |
/*
Copyright (C) 2012 Samsung Electronics
Copyright (C) 2012 Intel Corporation. All rights reserved.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation; either
version 2 o... | loveyoupeng/rt | modules/web/src/main/native/Source/WebCore/platform/graphics/efl/GraphicsContext3DPrivate.cpp | C++ | gpl-2.0 | 8,176 |
#ifndef FONT_HPP
#define FONT_HPP
#include "renderer/OpenGL.hpp"
#include <string>
class Texture;
class Font
{
public:
Font(const char *texture);
~Font();
void SetColor(const Math::Vector4f &color) { m_color = color; }
void SetPosition(const Math::Vector3f &position) { m_position = position; }
vo... | fluffyfreak/oculusvr_samples | common_src/renderer/Font.hpp | C++ | gpl-2.0 | 1,188 |
#!/usr/bin/env node
console.log("Hello World!");
| sumeettalwar/develop | node-js/src/week1/hello.js | JavaScript | gpl-2.0 | 49 |
$(document).ready(function(){
$("#startDate").datepicker({dateFormat:'yy-mm-dd'});
$("#endDate").datepicker({dateFormat:'yy-mm-dd'});
//$('#startDate').datepicker();
//$('#endDate').datepicker();
}) | sorabhv6/mylib | php_lib/google_analytics/js/custom.js | JavaScript | gpl-2.0 | 211 |
// /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
/*
* Copyright © 2011 Marcos Talau
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation;
*
* This program is dis... | tomhenderson/ns-3-dev-git | src/traffic-control/model/red-queue-disc.cc | C++ | gpl-2.0 | 26,145 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using LeagueSharp;
using LeagueSharp.Common;
using Item = LeagueSharp.Common.Items.Item;
namespace Kalista
{
public class ItemManager
{
private static Obj_AI_Hero player = ObjectManage... | onuremix/LeagueSharp | Kalista/ItemManager.cs | C# | gpl-2.0 | 1,531 |
<?php
/**
* RokTwittie Module
*
* @package RocketTheme
* @subpackage roktwittie.tmpl
* @version 1.8 September 3, 2012
* @author RocketTheme http://www.rockettheme.com
* @copyright Copyright (C) 2007 - 2012 RocketTheme, LLC
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only
*
*/
defined... | jntd11/dev2 | modules/mod_roktwittie/tmpl/error.php | PHP | gpl-2.0 | 650 |
package com.freezingwind.animereleasenotifier.updater;
import android.content.Context;
import android.content.SharedPreferences;
import android.preference.PreferenceManager;
import android.util.Log;
import com.android.volley.Request;
import com.android.volley.Response;
import com.android.volley.VolleyError;
import co... | animenotifier/anime-release-notifier-android | app/src/main/java/com/freezingwind/animereleasenotifier/updater/AnimeUpdater.java | Java | gpl-2.0 | 4,366 |
sap.ui.define([
"sap/ui/core/UIComponent",
"sap/ui/Device",
"opensap/manageproducts/model/models",
"opensap/manageproducts/controller/ErrorHandler"
], function (UIComponent, Device, models, ErrorHandler) {
"use strict";
return UIComponent.extend("opensap.manageproducts.Component", {
metadata : {
m... | carlitosalcala/openui | ManageProducts/webapp/Component.js | JavaScript | gpl-2.0 | 2,424 |
<div class="categoryMenu">
<ul>
<?php foreach($root_categories as $key => $value) {
if($key == 13) echo "<div class='hiddenCategories'>";
?>
<li<?php if($key == 0) { ?> class="first"<?php } ?>><a href="<?php echo zen_href_link('index', zen_get_path($value['id']));?>"><?php echo $v... | joshyan/everymarket | includes/templates/everymarket_classic/common/tpl_left_categories.php | PHP | gpl-2.0 | 536 |
<?php
/*
** Zabbix
** Copyright (C) 2001-2013 Zabbix SIA
**
** This program is free software; you can redistribute it and/or modify
** it under the terms of the GNU General Public License as published by
** the Free Software Foundation; either version 2 of the License, or
** (at your option) any later version.
**
** Th... | volter/zabbix-d3 | include/classes/class.cconfigfile.php | PHP | gpl-2.0 | 5,446 |
/*
* Copyright (C) 2010-2012 Project SkyFire <http://www.projectskyfire.org/>
* Copyright (C) 2008-2012 TrinityCore <http://www.trinitycore.org/>
* Copyright (C) 2005-2012 MaNGOS <http://getmangos.com/>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU Genera... | Macavity/SkyFireEMU | src/server/game/Handlers/BattlefieldHandler.cpp | C++ | gpl-2.0 | 4,910 |
<?php
/**
* Admin functions for post types
*
* @author WooThemes
* @category Admin
* @package WooCommerce/Admin/Post Types
* @version 2.1.0
*/
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
if ( ! class_exists( 'WC_Admin_CPT' ) ) :
/**
* WC_Admin_CPT Class
*/
class WC_Admin_CPT {
... | Minasokoni/coasties | wp-content/plugins/woocommerce/includes/admin/post-types/class-wc-admin-cpt.php | PHP | gpl-2.0 | 1,091 |
<?php
/**
* Generates the normalizer data file for Malayalam.
*
* 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.
*... | lcp0578/mediawiki | maintenance/language/generateNormalizerDataMl.php | PHP | gpl-2.0 | 2,183 |
/*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER
*
* Copyright (c) 2012-2013 Universidad Politécnica de Madrid
* Copyright (c) 2012-2013 the Center for Open Middleware
*
* Licensed under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in complia... | sixuanwang/SAMSaaS | wirecloud-develop/src/wirecloud/platform/static/js/wirecloud/ui/WiringEditor/GenericInterface.js | JavaScript | gpl-2.0 | 67,661 |
module.exports = {
browserSync: {
hostname: "localhost",
port: 8080,
openAutomatically: false,
reloadDelay: 50
},
drush: {
enabled: false,
alias: 'drush @SITE-ALIAS cache-rebuild'
},
twig: {
useCache: true
}
};
| erdfisch/DBCD16 | web/themes/custom/dbcd_theme_base/example.config.js | JavaScript | gpl-2.0 | 253 |
package anon.psd.gui.activities;
import android.content.ContextWrapper;
import android.content.Intent;
import android.graphics.BitmapFactory;
import android.os.Bundle;
import android.support.v7.widget.SearchView;
import android.view.View;
import android.widget.AdapterView;
import com.nhaarman.listviewanimations.itemm... | dc914337/PSD | PSD/app/src/main/java/anon/psd/gui/activities/MainActivity.java | Java | gpl-2.0 | 4,342 |
require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')
describe 'ValidatesTimeliness::ActionView::InstanceTag' do
include ActionView::Helpers::DateHelper
include ActionController::Assertions::SelectorAssertions
before do
@person = Person.new
end
def params
@params ||= {}
end
desc... | valdas-s/sandelys2 | vendor/plugins/validates_timeliness/spec/action_view/instance_tag_spec.rb | Ruby | gpl-2.0 | 10,844 |
/*
* Copyright (C) 2012 Samsung Electronics
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* ... | Debian/openjfx | modules/web/src/main/native/Source/WebCore/Modules/vibration/NavigatorVibration.cpp | C++ | gpl-2.0 | 1,684 |
<?php
/**
* Theme Customizer
*/
function presentation_lite_customize_register( $wp_customize ) {
/** ===============
* Extends CONTROLS class to add textarea
*/
class presentation_lite_customize_textarea_control extends WP_Customize_Control {
public $type = 'textarea';
public function render_content() { ?... | mihaienescu1/wp_wmihu | wp-content/themes/presentation-lite/inc/customizer.php | PHP | gpl-2.0 | 8,069 |
<?php
/**
* @version $Id$
* @package Joomla.Administrator
* @subpackage JoomDOC
* @author ARTIO s.r.o., info@artio.net, http:://www.artio.net
* @copyright Copyright (C) 2011 Artio s.r.o.. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
defined('_JEXEC')... | berkeley-amsa/past-site | administrator/tmp/install_4e65459e58fe3/admin/elements/icons.php | PHP | gpl-2.0 | 1,170 |
/*
Adept MobileRobots Robotics Interface for Applications (ARIA)
Copyright (C) 2004-2005 ActivMedia Robotics LLC
Copyright (C) 2006-2010 MobileRobots Inc.
Copyright (C) 2011-2014 Adept Technology
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public... | lakid/libaria | java/com/mobilerobots/Aria/ArJoyVec3f.java | Java | gpl-2.0 | 2,914 |
/* Copyright (c) 2002-2011 by XMLVM.org
*
* Project Info: http://www.xmlvm.org
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation; either version 2.1 of the License, or
* (at your o... | skyHALud/codenameone | Ports/iOSPort/xmlvm/src/xmlvm2objc/compat-lib/java/org/xmlvm/iphone/SKRequest.java | Java | gpl-2.0 | 1,255 |
<?php
/**
* @copyright Ilch 2.0
* @package ilch
*/
namespace Modules\Sample\Models;
class Sample extends \Ilch\Model
{
}
| Saarlonz/Ilch-2.0 | application/modules/sample/models/Sample.php | PHP | gpl-2.0 | 126 |
<?php
/*
+---------------------------------------------------------------------------+
| OpenX v2.8 |
| ========== |
| ... | kriwil/OpenX | www/delivery/lg.php | PHP | gpl-2.0 | 107,769 |
/*
smpppdunsettled.cpp
Copyright (c) 2006 by Heiko Schaefer <heiko@rangun.de>
Kopete (c) 2002-2006 by the Kopete developers <kopete-devel@kde.org>
*************************************************************************
* *... | iegor/kdenetwork | kopete/plugins/smpppdcs/libsmpppdclient/smpppdunsettled.cpp | C++ | gpl-2.0 | 5,200 |
/* Copyright_License {
XCSoar Glide Computer - http://www.xcsoar.org/
Copyright (C) 2000-2011 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
... | joachimwieland/xcsoar-jwieland | src/Engine/Navigation/GeoPoint.cpp | C++ | gpl-2.0 | 2,269 |
package net.minecraft.world.gen.structure;
import java.util.Arrays;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.Random;
import java.util.Map.Entry;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.util.MathHelper;
import net.minecraft.world.World;
import net.mi... | mviitanen/marsmod | mcp/src/minecraft_server/net/minecraft/world/gen/structure/MapGenVillage.java | Java | gpl-2.0 | 5,468 |
// Copyright 2008 Dolphin Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include "VideoCommon/CommandProcessor.h"
#include <atomic>
#include <cstring>
#include <fmt/format.h>
#include "Common/Assert.h"
#include "Common/ChunkFile.h"
#include "Common/CommonTypes.h"
#include "Common/Flag.h"
#include "Co... | ZephyrSurfer/dolphin | Source/Core/VideoCommon/CommandProcessor.cpp | C++ | gpl-2.0 | 25,741 |
/*
* synergy -- mouse and keyboard sharing utility
* Copyright (C) 2004 Chris Schoeneman
*
* This package is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* found in the file COPYING that should have accompanied this file.
*
* This package is distr... | undecided/synergy | lib/platform/CXWindowsClipboardAnyBitmapConverter.cpp | C++ | gpl-2.0 | 5,164 |
package org.openyu.mix.sasang.vo;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import org.openyu.mix.app.vo.Prize;
import org.openyu.commons.bean.IdBean;
import org.openyu.commons.bean.ProbabilityBean;
import org.openyu.commons.enumz.IntEnum;
import com.sun.xml.bind.AnyTypeAdapter;
/**
* 開出的結果
*/
... | mixaceh/openyu-mix.j | openyu-mix-core/src/main/java/org/openyu/mix/sasang/vo/Outcome.java | Java | gpl-2.0 | 1,183 |
/*
* thd_cdev_order_parser.cpp: Specify cdev order
*
* Copyright (C) 2012 Intel Corporation. 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 version
* 2 or later as published by the Free Software Foundation.
*
... | RAOF/thermal_daemon | src/thd_cdev_order_parser.cpp | C++ | gpl-2.0 | 2,571 |
<?php
namespace Engelsystem\Test\Unit\Mail;
use Engelsystem\Application;
use Engelsystem\Config\Config;
use Engelsystem\Mail\EngelsystemMailer;
use Engelsystem\Mail\Mailer;
use Engelsystem\Mail\MailerServiceProvider;
use Engelsystem\Mail\Transport\LogTransport;
use Engelsystem\Test\Unit\ServiceProviderTest;
use Inval... | engelsystem/engelsystem | tests/Unit/Mail/MailerServiceProviderTest.php | PHP | gpl-2.0 | 5,660 |
<?php
/*
* (c) 2017 Siveo, http://www.siveo.net
*
* $Id$
*
* This file is part of MMC, http://www.siveo.net
*
* MMC 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
... | pulse-project/mmc-core | web/modules/xmppmaster/xmppmaster/machine_xmpp_detail.php | PHP | gpl-2.0 | 1,270 |
var expect = require('expect.js');
var Quantimodo = require('../../index');
var instance;
beforeEach(function(){
instance = new Quantimodo.PostUserSettingsDataResponse();
});
describe('PostUserSettingsDataResponse', function(){
it('should create an instance of PostUserSettingsDataResponse', function(){
... | QuantiModo/quantimodo-android-chrome-ios-web-app | plain-javascript-client/test/generated/model/PostUserSettingsDataResponse.spec.js | JavaScript | gpl-2.0 | 2,975 |
/** \file
* Base class for visual SVG elements
*/
/*
* Authors:
* Lauris Kaplinski <lauris@kaplinski.com>
* bulia byak <buliabyak@users.sf.net>
* Johan Engelen <j.b.c.engelen@ewi.utwente.nl>
* Abhishek Sharma
* Jon A. Cruz <jon@joncruz.org>
*
* Copyright (C) 2001-2006 authors
* Copyright (C) 2001 X... | yaii/yai | src/sp-item.cpp | C++ | gpl-2.0 | 59,315 |
class CreateFeedbacks < ActiveRecord::Migration[4.2]
def change
create_table :feedbacks do |t|
t.references :feedback_receiving, index: {name: :feedbacks_polymorphic_index}, polymorphic: true, null: false
t.string :author_email
t.integer :rating, null: false
t.text :comment, null: false
... | ignisf/clarion | db/migrate/20171022182011_create_feedbacks.rb | Ruby | gpl-2.0 | 435 |
/* $Id$ */
/*
* This file is part of OpenTTD.
* OpenTTD 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.
* OpenTTD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without... | oshepherd/openttd-progsigs | src/pathfinder/yapf/yapf_common.hpp | C++ | gpl-2.0 | 7,218 |
function updateLabel() {
var form = $('contentForm');
var preset_ddm = form.elements['preset'];
var presetIndex = preset_ddm[preset_ddm.selectedIndex].value;
if ( labels[presetIndex] ) {
form.newLabel.value = labels[presetIndex];
} else {
form.newLabel.value = '';
}
}
window.addEvent('domready', up... | pliablepixels/ZoneMinder | web/skins/classic/views/js/controlpreset.js | JavaScript | gpl-2.0 | 332 |
import fill
import array
a = array.array('I')
a.append(1)
a.append(1)
a.append(3)
a.append(2)
a.append(2)
a.append(2)
a.append(2)
a.append(2)
a.append(2)
a.append(2)
a.append(2)
a.append(2)
print "before", a
b = fill.fill(a, 2, 2, 3, 3, 4278190080)
print "after", b
print "after 2", array.array('I', b)
| samdroid-apps/paint-activity | test_fill.py | Python | gpl-2.0 | 304 |
/*
Copyright_License {
Top Hat Soaring Glide Computer - http://www.tophatsoaring.org/
Copyright (C) 2000-2016 The Top Hat Soaring 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 GN... | rdunning0823/tophat | src/Device/Declaration.hpp | C++ | gpl-2.0 | 2,530 |
jQuery(function($) {
//Get Level 2 Category
$('#level1').on("change", ":checkbox", function () {
$("#imageloader").show();
if (this.checked) {
var parentCat=this.value;
// call ajax add_action declared in functions.php
$.ajax({
url: "/wp-admin/admin-aja... | moveable-dev1/rep1 | wp-content/themes/marsaec/js/toggle.js | JavaScript | gpl-2.0 | 7,013 |
//===-- tsan_platform_mac.cpp ---------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | Gurgel100/gcc | libsanitizer/tsan/tsan_platform_mac.cpp | C++ | gpl-2.0 | 12,112 |
(function ($) {
'use strict';
function Ninja() {
this.keys = {
arrowDown: 40,
arrowLeft: 37,
arrowRight: 39,
arrowUp: 38,
enter: 13,
escape: 27,
tab: 9
};
this.version = '0.0.0development';
}
Ninja.prototype.log = function (message) {
if (console && '... | Bremaweb/streber | js/ninja.js | JavaScript | gpl-2.0 | 2,022 |
define([
'container/BasicContainer',
'text!./CascadeContainer.html',
'core/functions/ComponentFactory',
'jquery',
'underscore'
], function (BasicContainer, template, ComponentFactory, $, _) {
var CascadeContainer = BasicContainer.extend({
events: {
"click .btn-prev": "clickPr... | MaxLeap/MyBaaS | webroot/javascript/core/container/CascadeContainer.js | JavaScript | gpl-2.0 | 4,532 |
<?php
/*------------------------------------------------------------------------
# JSN PowerAdmin
# ------------------------------------------------------------------------
# author JoomlaShine.com Team
# copyright Copyright (C) 2012 JoomlaShine.com. All Rights Reserved.
# Websites: http://www.joomlashine.com
# Tech... | ducdongmg/joomla_tut25 | components/com_poweradmin/controller.php | PHP | gpl-2.0 | 1,429 |
/* -*- OpenSAF -*-
*
* (C) Copyright 2008 The OpenSAF Foundation
*
* This program is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
* or FITNESS FOR A PARTICULAR PURPOSE. This file and program are licensed
* under the GNU Les... | indonexia2004/opensaf-indo | osaf/services/saf/ntfsv/ntfs/NtfClient.cc | C++ | gpl-2.0 | 15,097 |
package lk.score.androphsy.exceptions;
/**
* This exception is thrown when a property cannot be read from the property
* file
*/
public class PropertyNotDefinedException extends Exception {
private static final String MESSAGE_PREFIX = "Property not defined!! : ";
public PropertyNotDefinedException(String messag... | swsachith/ANDROPHSY | src/main/java/lk/score/androphsy/exceptions/PropertyNotDefinedException.java | Java | gpl-2.0 | 409 |