repo_name stringlengths 4 116 | path stringlengths 4 379 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
Norrlandsit/d8 | sites/default/files/php/twig/1#97#41#236ce43242c3a3dbc1cc5ee3e3413f61a8f0f63377202153f269935d959b/f8a04e7ea1688d37c62d50f6515d20d1612798d9b93594cb82b31999dbcd0f06.php | 1178 | <?php
/* core/modules/system/templates/datetime-form.html.twig */
class __TwigTemplate_9741236ce43242c3a3dbc1cc5ee3e3413f61a8f0f63377202153f269935d959b extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this-... | gpl-2.0 |
iammyr/Benchmark | src/main/java/org/owasp/benchmark/testcode/BenchmarkTest02526.java | 2878 | /**
* OWASP Benchmark Project v1.1
*
* This file is part of the Open Web Application Security Project (OWASP)
* Benchmark Project. For details, please see
* <a href="https://www.owasp.org/index.php/Benchmark">https://www.owasp.org/index.php/Benchmark</a>.
*
* The Benchmark is free software: you can redistribute it and/... | gpl-2.0 |
sergey-donchenko/adplus | project/app/views/category/list/items.blade.php | 1270 | <div class="modal-backdrop fade in"></div>
@foreach( $aCategories as $cItem)
<div class="directory-block col-sm-4 col-xs-6{{isset($sContainerClass) ? ' ' . $sContainerClass : ''}}">
<div class="row">
<div class="col-sm-3">{{ HTML::image( '/app/image/category/30,30/' . ($cItem->icon_image ? $cItem->icon_image : '-... | gpl-2.0 |
bablukid/cagette | frontend/cagette-neo/dist/vo/place.d.ts | 256 | export interface PlaceVo {
id: number;
name: string;
address1?: string;
address2?: string;
city?: string;
zipCode?: string;
lat?: number;
lng?: number;
}
export declare const parsePlaceVo: (data: any) => PlaceVo;
| gpl-2.0 |
jamielaff/als_resourcing | templates/uber/acm/hero/tmpl/style-5.php | 2702 | <?php
$heroStyle = $helper->get('hero-style');
$heroTextPos = $helper->get('hero-content-position');
$heroTextAlign = $helper->get('hero-text-align');
$heroHeading = $helper->get('hero-heading');
$heroHeadingSize= $helper->get('hero-heading-size');
$heroIntro = $helper->get('hero-intro');
... | gpl-2.0 |
paul-chambers/netgear-r7800 | git_home/net-cgi.git/www/language/Russian.js | 54382 | //BRS_01_checkNet.html
bh_internet_checking="Проверка подключения к Интернету; подождите ..."
//BRS_02_genieHelp.html
bh_config_net_connection="Настройка подключения к Интернету"
bh_connection_further_action="Соединение с Интернетом еще не установлено."
bh_want_genie_help="Использовать NETGEAR genie?"
bh_yes_mark=... | gpl-2.0 |
oat-sa/qti-sdk | test/qtismtest/data/storage/php/PhpArgumentTest.php | 2314 | <?php
namespace qtismtest\data\storage\php;
use InvalidArgumentException;
use qtism\data\storage\php\PhpArgument;
use qtism\data\storage\php\PhpVariable;
use qtismtest\QtiSmTestCase;
use stdClass;
/**
* Class PhpArgumentTest
*/
class PhpArgumentTest extends QtiSmTestCase
{
public function testPhpArgument()
... | gpl-2.0 |
wp-media/wp-rocket-helpers | _deprecated/wp-rocket-compat-premium-seo-pack/wp-rocket-compat-premium-seo-pack.php | 1581 | <?php
/**
* Plugin Name: WP Rocket | Unload PSP Styles
* Description: Premium SEO Pack (PSP) loads styles and scripts on all WordPress admin pages which makes WP Rocket’s settings page unusable. This helper plugin unloads PSP styles just on WP Rocket’s settings page.
* Plugin URI: https://github.com/wp-media/wp-roc... | gpl-2.0 |
olek1984/dremboard | wp-content/plugins/invite-anyone/group-invites/group-invites.php | 19928 | <?php
/* Load JS necessary for group invitation pages */
function invite_anyone_add_js() {
global $bp;
if ( $bp->current_action == BP_INVITE_ANYONE_SLUG || ( isset( $bp->action_variables[1] ) && $bp->action_variables[1] == BP_INVITE_ANYONE_SLUG ) ) {
$min = '-min';
if ( defined( 'SCRIPT_DEBUG' ) && ... | gpl-2.0 |
chet0xhenry/GoldenCheetah | src/Statistic.cpp | 9881 | /*
* Copyright (c) 2014 Damien Grauser
*
* 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 program is dis... | gpl-2.0 |
tashua314/kanji | data/class/pages/mypage/LC_Page_Mypage_MailView.php | 3417 | <?php
/*
* This file is part of EC-CUBE
*
* Copyright(c) 2000-2013 LOCKON CO.,LTD. All Rights Reserved.
*
* http://www.lockon.co.jp/
*
* 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; ei... | gpl-2.0 |
luniki/CliqrPlugin | src/models/task_types.js | 643 | import Backbone from 'backbone'
import _ from 'underscore'
import mc from '../task-types/multiple-choice'
import scales from '../task-types/scales'
const TaskTypesCollection = Backbone.Collection.extend({
fetchTaskType(task) {
const type = _.isObject(task) ? taskTypes.get(task.get('type')) : taskTypes.get(... | gpl-2.0 |
aleax/openscada | src/moduls/daq/System/os_contr.cpp | 15204 |
//OpenSCADA module DAQ.System file: os_contr.cpp
/***************************************************************************
* Copyright (C) 2005-2019 by Roman Savochenko, <rom_as@oscada.org> *
* *
* This program is free software; you... | gpl-2.0 |
alexrah/namreb | modules/mod_jxtc_contactwall/mod_jxtc_contactwall.php | 4576 | <?php
/*
JoomlaXTC Contact Wall
version 1.5.0
Copyright (C) 2008-2012 Monev Software LLC. 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; either version 2 of the License... | gpl-2.0 |
deztopia/safetext | controllers/default/settings.php | 30989 | <?php
require_once ( MS_PATH_BASE . DS . 'lib' . DS . 'safetext' . DS . 'clientcontroller.php' );
/**
* Web Client Controller.
*
*
*/
class SettingsController extends SafetextClientController {
/**
* Default Action.
*
* Called when no action is defined. Will display settings summary/edit form.
*
* @pa... | gpl-2.0 |
willprice/arduino-sphere-project | scripts/example_direction_finder/temboo/Library/Fitbit/Activities/GetActivityDailyGoals.py | 4572 | # -*- coding: utf-8 -*-
###############################################################################
#
# GetActivityDailyGoals
# Get a user's current daily activity goals.
#
# Python versions 2.6, 2.7, 3.x
#
# Copyright 2014, Temboo Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may ... | gpl-2.0 |
h4ck3rm1k3/TwoNickels | src/tables/TableEntry.cpp | 3880 | /**************************************************************************\
*
* FILE: TableEntry.cpp
*
* This source file is part of DIME.
* Copyright (C) 1998-1999 by Systems In Motion. All rights reserved.
*
* This library is free software; you can redistribute it and/or modify it
* under the terms of... | gpl-2.0 |
Fluorohydride/ygopro-scripts | c49407319.lua | 2391 | --スター・マイン
function c49407319.initial_effect(c)
--synchro summon
aux.AddSynchroProcedure(c,nil,aux.NonTuner(nil),1)
c:EnableReviveLimit()
c:SetSPSummonOnce(49407319)
--damage
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(49407319,0))
e1:SetCategory(CATEGORY_DAMAGE)
e1:SetType(EFFECT_TYPE_SINGLE... | gpl-2.0 |
jeroendierckx/Camelot | camelot/view/controls/delegates/integerdelegate.py | 2390 | # ============================================================================
#
# Copyright (C) 2007-2012 Conceptive Engineering bvba. All rights reserved.
# www.conceptive.be / project-camelot@conceptive.be
#
# This file is part of the Camelot Library.
#
# This file may be used under the terms of the GNU General... | gpl-2.0 |
MujeresdelasAmericas/Sitio | wp-content/plugins/coursepress/includes/templates/instructor-single.php | 462 | <?php
// Avatar
echo do_shortcode( '[course_instructor_avatar instructor_id="' . $user->ID . '"]' );
// Bio
echo get_user_meta( $user->ID, 'description', true );
?>
<h2 class="h2-instructor-bio"><?php _e( 'Courses', 'cp' ); ?></h2>
<?php
// Course List
echo do_shortcode( '[course_list instructor="' . $user->ID . '" ... | gpl-2.0 |
howardjones/cacti088c | install/0_8_7b_to_0_8_7c.php | 5544 | <?php
/*
+-------------------------------------------------------------------------+
| Copyright (C) 2004-2014 The Cacti Group |
| |
| This program is free software; you can redistribute it and/or |
| ... | gpl-2.0 |
chrosa/AllHadronicSUSY | QCDBkgRS/test/QCDPrediction/GetRebalanceCorrectionFactor.C | 4567 | #include <TROOT.h>
#include <TSystem.h>
#include <TH1.h>
#include <TH2.h>
#include <TProfile.h>
#include <TCanvas.h>
#include <TColor.h>
#include <TChain.h>
#include <TPad.h>
#include <TStyle.h>
#include <TFile.h>
#include <TPostScript.h>
#include <TLegend.h>
#include <TMath.h>
#include <TString.h>
#include <TArrayF.h>... | gpl-2.0 |
fin-nick/fj | src/jimm/modules/fs/FileNode.java | 2137 | /*
* FileNode.java
*
* Created on 7 Февраль 2008 г., 20:26
*
* To change this template, choose Tools | Template Manager
* and open the template in the editor.
*/
// #sijapp cond.if modules_FILES="true"#
package jimm.modules.fs;
import DrawControls.icons.*;
import DrawControls.text.ListItem;
import DrawControls... | gpl-2.0 |
kuwox/wwwfranar | administrator/components/com_virtuemart/languages/admin/thai.php | 51866 | <?php
if( !defined( '_VALID_MOS' ) && !defined( '_JEXEC' ) ) die( 'Direct Access to '.basename(__FILE__).' is not allowed.' );
/**
* @version : thai.php 1071 2007-12-03 08:42:28Z thepisu $
* @package VirtueMart
* @subpackage languages
* @copyright Copyright (C) 2004-2008 soeren - All rights reserved.
* @translator Ak... | gpl-2.0 |
Pengfei-Gao/source-Insight-3-for-centos7 | SourceInsight3/NetFramework/NativeMethods.NMTVCUSTOMDRAW.cs | 338 | public class NMTVCUSTOMDRAW
{
// Constructors
public NMTVCUSTOMDRAW() {}
// Methods
public Type GetType() {}
public virtual string ToString() {}
public virtual bool Equals(object obj) {}
public virtual int GetHashCode() {}
// Fields
public NMCUSTOMDRAW nmcd;
public int clrText;
public int clrTextBk;
publ... | gpl-2.0 |
ericski/roseandpoppie.com | themes/gavias_amon/includes/override.php | 4634 | <?php
function gavias_amon_preprocess_views_view_unformatted__taxonomy_term(&$variables){
$current_uri = \Drupal::request()->getRequestUri();
$url = \Drupal::service('path.current')->getPath();
$arg = explode('/', $url);
$tid = 0;
if ((isset($arg[1]) && $arg[1] == "taxonomy") && (isset($arg[2]) && $arg[... | gpl-2.0 |
arnoschoon/ext-solr | Classes/Search/SearchComponent.php | 1606 | <?php
namespace ApacheSolrForTypo3\Solr\Search;
/***************************************************************
* Copyright notice
*
* (c) 2012-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 redistribute i... | gpl-2.0 |
lijiaqigreat/regex_to_dfa | main.js | 10419 | /*
A -> ...
E -> A E
E -> @
E -> ( S )
E -> ( S ) *
O -> E | O
O -> E
|,+,*
*/
function add(node, k,v)
{
if(!Array.isArray(v)){
v=[v];
}
if(node[k]===undefined){
node[k]=v;
}else{
[].push.apply(node[k],v);
}
}
function swap(dict2,str,x)
{
var y=dict2.indexOf(str);
var tmp=dict2[x];
dict2[... | gpl-2.0 |
umang11/glotech | wp-content/plugins/cherry-parallax/cherry-parallax.php | 2435 | <?php
/*
Plugin Name: Cherry Parallax Plugin
Version: 1.0
Plugin URI: http://www.cherryframework.com/
Description: Create blocks with parallax effect
Author: Cherry Team.
Author URI: http://www.cherryframework.com/
Text Domain: cherry-parallax
Domain Path: languages/
License URI: http://www.gnu.org/li... | gpl-2.0 |
kaushal76/j34 | administrator/components/com_jdeveloper/library/table.php | 4932 | <?php
/**
* @package JDeveloper
* @subpackage Library
*
* @copyright Copyright (C) 2014, Tilo-Lars Flasche. All rights reserved.
* @license GNU General Public License version 2 or later
*/
defined('_JEXEC') or die;
jimport('joomla.filesystem.file');
/**
* Class for working with database... | gpl-2.0 |
titokone/titotrainer | WEB-INF/src/fi/helsinki/cs/titotrainer/app/model/Input.java | 7086 | package fi.helsinki.cs.titotrainer.app.model;
import static fi.helsinki.cs.titotrainer.app.model.misc.ArgumentUtils.*;
import java.util.Collection;
import java.util.HashSet;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
imp... | gpl-2.0 |
yehnan/python_book_yehnan | ch11/ch11_private.py | 401 |
class A():
def bar(self): return 4
def foo(self): return 3 + self.bar()
class B(A):
def bar(self): return 104
b = B()
print(b.foo())
class A():
def __bar(self): return 4
def foo(self): return 3 + self.__bar()
class B(A):
def bar(self): return 104
def bm(self): return self... | gpl-2.0 |
neolit123/subsurface | core/configuredivecomputer.cpp | 21862 | // SPDX-License-Identifier: GPL-2.0
#include "configuredivecomputer.h"
#include <QTextStream>
#include <QFile>
#include <libxml/parser.h>
#include <libxml/parserInternals.h>
#include <libxml/tree.h>
#include <libxslt/transform.h>
#include <QStringList>
#include <QXmlStreamWriter>
ConfigureDiveComputer::ConfigureDiveCo... | gpl-2.0 |
jw-psychopomp/ThirtyNorth-development | wp-content/themes/builder/admin/functions/functions.options.php | 66413 | <?php
add_action('init','of_options');
if (!function_exists('of_options'))
{
function of_options()
{
//Access the WordPress Categories via an Array
$of_categories = array();
$of_categories_obj = get_categories('hide_empty=0');
foreach ($of_categories_obj as $of_cat) {
$of_categories[$of_... | gpl-2.0 |
guoxiao/terminator-gtk3 | terminatorlib/optionparse.py | 6818 | #!/usr/bin/python
# Terminator.optionparse - Parse commandline options
# Copyright (C) 2006-2010 cmsj@tenshu.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, version 2 only.
#
# ... | gpl-2.0 |
amarlearning/teammates | src/e2e/java/teammates/e2e/cases/InstructorCourseStudentDetailsPageE2ETest.java | 2088 | package teammates.e2e.cases;
import org.testng.annotations.Test;
import teammates.common.datatransfer.attributes.StudentAttributes;
import teammates.common.datatransfer.attributes.StudentProfileAttributes;
import teammates.common.util.AppUrl;
import teammates.common.util.Const;
import teammates.e2e.pageobjects.AppPag... | gpl-2.0 |
DanEEStar/wiki | inc/subscription.php | 13420 | <?php
/**
* Utilities for handling (email) subscriptions
*
* The public interface of this file consists of the functions
* - subscription_find
* - subscription_send_digest
* - subscription_send_list
* - subscription_set
* - get_info_subscribed
* - subscription_addresslist
* - subscription_lock
* - subscripti... | gpl-2.0 |
ArchaeoPY/ArchaeoPY | IO/view_and_save_data_gui.py | 8232 | import numpy as np
import sys
from PyQt4 import QtCore
from PyQt4 import QtGui
import matplotlib.pyplot as plt
import matplotlib.mlab as mlab
from matplotlib.backends.backend_qt4 import NavigationToolbar2QT as NavigationToolbar
# import the MainWindow widget from the converted .ui files
from ArchaeoPY.GUI_Templates.m... | gpl-2.0 |
tomtom-lodz/amelinium | amelinium-grails/ModelBuilder/src/main/java/amelinium/model/Project.java | 1117 | package amelinium.model;
import java.util.ArrayList;
import java.util.List;
public class Project {
private List<Release> releases;
String projectName = "";
String afterBacklogHtml = "";
public Project()
{
releases = new ArrayList<Release>();
}
public List<Release> getReleases() {
return releases;
}
... | gpl-2.0 |
Decentrify/GVoD | core/core-impl/src/main/java/se/sics/nstream/torrent/connMngr/SimplePeerConnection.java | 1802 | /*
* Copyright (C) 2009 Swedish Institute of Computer Science (SICS) Copyright (C)
* 2009 Royal Institute of Technology (KTH)
*
* GVoD 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
* ... | gpl-2.0 |
Pengfei-Gao/source-Insight-3-for-centos7 | SourceInsight3/NetFramework/FILETIME.cs | 269 | public class FILETIME : System.ValueType
{
// Methods
public virtual int GetHashCode() {}
public virtual bool Equals(object obj) {}
public virtual string ToString() {}
public Type GetType() {}
// Fields
public int dwLowDateTime;
public int dwHighDateTime;
}
| gpl-2.0 |
laozhaokun/leetcode | java/UniquePathsII.java | 656 | package leetcode;
/**
* @author:zhaohf@asiainfo.com
* @date:2014年11月20日 下午1:49:07
* @Description: TODO
*/
public class UniquePathsII {
public int uniquePathsWithObstacles(int[][] obstacleGrid) {
int m = obstacleGrid.length, n = obstacleGrid[0].length;
int[][] dp = new int[m][n];
for (int i = 0; i < m; i++) ... | gpl-2.0 |
emrojo/samples_extraction | lib/label_templates/smp3_tube.rb | 1774 | require './lib/label_template_setup'
# LabelTemplateSetup.register_template('SMPE - Tube example 3','Tube') do |name, type_id|
# {
# name: name,
# label_type_id: type_id, # Plate
# labels_attributes:[{
# name: 'label',
# bitmaps_attributes:[
# {"x_origin" => "0038", "y_origin" => "0210", "fi... | gpl-2.0 |
expandrew/unload | config/initializers/assets.rb | 644 | # Be sure to restart your server when you modify this file.
# Version of your assets, change this if you want to expire all your assets.
Rails.application.config.assets.version = (ENV["ASSETS_VERSION"] || "1.0")
# Add additional assets to the asset load path
# Rails.application.config.assets.paths << Emoji.images_pat... | gpl-2.0 |
klst-com/metasfresh | de.metas.adempiere.adempiere/base/src/main/java-gen/org/compiere/model/X_C_Subscription_Delivery.java | 4490 | /******************************************************************************
* Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2007 ComPiere, Inc. All Rights Reserved. *
* This program is free software, you can redistribute it and/or modify it *
... | gpl-2.0 |
Goutte/Ni | v1/cache/frontend/dev/modules/autoAEventAdmin/templates/_list_th_stacked.php | 80 | <?php include_partial('aEventAdmin/list_th_tabular', array('sort' => $sort)) ?>
| gpl-2.0 |
SilunWang/popush-fruits | static/js/lib/github.js | 20934 | // Github.js 0.9.0
// (c) 2013 Michael Aufreiter, Development Seed
// Github.js is freely distributable under the MIT license.
// For all details and documentation:
// http://substance.io/michael/github
(function() {
// Initial Setup
// -------------
var XMLHttpRequest, Base64, _;
if (typeof exports !== 'und... | gpl-2.0 |
jensnerche/plantuml | src/net/sourceforge/plantuml/skin/ArrowBody.java | 1367 | /* ========================================================================
* PlantUML : a free UML diagram generator
* ========================================================================
*
* (C) Copyright 2009-2014, Arnaud Roques
*
* Project Info: http://plantuml.sourceforge.net
*
* This file is... | gpl-2.0 |
router123/taxlosslovers | wp-content/themes/twentyfourteen/index.php | 1583 | <?php
/**
* The main template file
*
* This is the most generic template file in a WordPress theme and one
* of the two required files for a theme (the other being style.css).
* It is used to display a page when nothing more specific matches a query,
* e.g., it puts together the home page when no home.php file ex... | gpl-2.0 |
beorc/langtrainer2 | app/controllers/user/dashboard_controller.rb | 605 | class User::DashboardController < ApplicationController
layout :determine_layout
before_filter :fetch_user
def show
@courses = @user.courses
gon.answers = {}
@courses.each do |course|
snapshots = course.snapshots.with_user(@user)
chart = ::Charts::Answers.new snapshots, Period.find(Perio... | gpl-2.0 |
aharrison24/XCSoar | src/Engine/Trace/Vector.cpp | 1312 | /*
Copyright_License {
XCSoar Glide Computer - http://www.xcsoar.org/
Copyright (C) 2000-2012 The XCSoar Project
A detailed list of copyright holders can be found in the file "AUTHORS".
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
... | gpl-2.0 |
BeWelcome/rox.prototypes | htdocs/bw/faq_ProtectionTowardCriminel_en.php | 60 | <?php
$IdFaq=17;$lang="en";require_once "publicfaq.php";
?>
| gpl-2.0 |
MississippiGreetings/wordpress | maillist/index.php | 9585 | <?php
#------------------------------------------------------#
# INFO #
#------------------------------------------------------#
# Title: E-Mail Notification #
# Author: Brian Groce (http://watershedstudio.com) #
# Date: December 8, 200... | gpl-2.0 |
niloc132/mauve-gwt | src/main/java/gnu/testlet/java/lang/ThreadDeath/classInfo/getSuperclass.java | 1653 | // Test for method java.lang.ThreadDeath.getClass().getSuperclass()
// Copyright (C) 2012 Pavel Tisnovsky <ptisnovs@redhat.com>
// This file is part of Mauve.
// Mauve 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 ... | gpl-2.0 |
niravpatel2008/tripping-octo-batman | wp-content/plugins/email-newsletter/widget/widget.js | 3531 | // JavaScript Document
function eemail_submit_ajax(url)
{
txt_email_newsletter = document.getElementById("eemail_txt_email");
var filter = /^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/;
if(txt_email_newsletter.value=="")
{
alert("Please enter email address.");
txt_email_n... | gpl-2.0 |
doubletap1410/Map | map/interact/maphelpersubhelpers.cpp | 76599 | #include <QCursor>
#include <QTransform>
#include <QUuid>
#include "coord/mapcamera.h"
#include "frame/mapframe.h"
#include "frame/mapsettings.h"
#include "object/mapobject.h"
#include "drawer/mapdrawer.h"
#include "core/mapmath.h"
#include "layers/maplayersystem.h"
#include "layers/maplayerobjects.h"
#include "core/m... | gpl-2.0 |
TheTypoMaster/Scaper | openjdk/jdk/test/javax/sound/midi/Gervill/ModelByteBuffer/NewModelByteBufferFile.java | 3287 | /*
* Copyright 2007 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundati... | gpl-2.0 |
SIS-Team/SIS-Doc | sources/raspberry/display.php | 675 | <?php
include("../../config.php");
include(ROOT_LOCATION . "/modules/monitors/Main.php");
$monitor = getMonitorByName($_GET['name']);
if (!$monitor)
die("none");
if ($monitor->displayMode == "permanent Ein")
die("true");
else if ($monitor->displayMode == "permanent Aus")
die("false");
else {
// moni... | gpl-2.0 |
booshlin/form-analytics-for-wordpress | includes/class-form-analytics.php | 4315 | <?php
/**
* The file that defines the core plugin class
*
* A class definition that includes attributes and functions used across both the
* public-facing side of the site and the admin area.
*
* @link http://example.com
* @since 1.0.0
*
* @package Form_Analytics
* @subpackage Form_Analytics/inc... | gpl-2.0 |
nharedweb/redSOCIALSTREAM2 | component/admin/tables/configure.php | 508 | <?php
/**
* @package redSocialstream
* @subpackage Models
*
* @copyright Copyright (C) 2012 - 2013 redCOMPONENT.com. All rights reserved.
* @license GNU General Public License version 2 or later, see LICENSE.
*/
defined('_JEXEC') or die;
class RedSocialStreamTableConfigure extends RTable
{
/**
... | gpl-2.0 |
wishdev/rio | lib/rio/exception/notsupported.rb | 1435 | #--
# ===============================================================================
# Copyright (c) 2005,2006,2007 Christopher Kleckner
# All rights reserved
#
# This file is part of the Rio library for ruby.
#
# Rio is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Publ... | gpl-2.0 |
elbeardmorez/quodlibet | quodlibet/tests/test_plugins_songsmenu.py | 7291 | # -*- coding: utf-8 -*-
# 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.
import shutil
from quodlibet.library import So... | gpl-2.0 |
opennms-forge/poc-nms-core | opennms-services/src/test/java/org/opennms/netmgt/capsd/JoeSnmpV2IfSnmpCollectorTest.java | 1541 | /*******************************************************************************
* This file is part of OpenNMS(R).
*
* Copyright (C) 2008-2012 The OpenNMS Group, Inc.
* OpenNMS(R) is Copyright (C) 1999-2012 The OpenNMS Group, Inc.
*
* OpenNMS(R) is a registered trademark of The OpenNMS Group, Inc.
*
* OpenNMS(... | gpl-2.0 |
beaugogh/FreeBu | js/freebu.js | 11559 | (function(window){
'use strict';
// --- define freebu ---
function define_freebu() {
var freebu = {
version: "0",
// --- ids on the control pannel (index.html) ---
_DIV_ID_CONTROL: "div-control",
_DIV_ID_VIS: "div-vis",
_DIV_ID_FILTER: "div-filter",
_DIV_PADDING: 30,
_TOGGLE_ID_RUN: "toggle-r... | gpl-2.0 |
n3wb13/OpenNfrGui-5.0-1 | lib/python/Plugins/Extensions/CustomSubservices/plugin.py | 16545 | # -*- coding: utf-8 -*-
from Components.PluginComponent import plugins
from Components.config import config
from Components.Converter.ServiceInfo import *
from Components.Element import cached
from Plugins.Plugin import PluginDescriptor
import Components.Converter
from Screens.Screen import Screen
from Screens.Channe... | gpl-2.0 |
rodrigodemingo/abu_dhabi_ports | wp-content/themes/mana/framework/Pagebuilder/js/tinymce_plugin.js | 3658 | (function() {
if( typeof tinymce!=='undefined' ){
if( typeof(tinymce.majorVersion)!=='undefined' && parseInt(tinymce.majorVersion)<4 ){
tinymce.create( "tinymce.plugins.themeton_shortcode", {
init: function(ed,e) { },
createControl:function(d,e)
{
var ed = tinymce.activeEditor;
if(... | gpl-2.0 |
wxAstro/wxAstroCapture | wxWebcam/wxWebCoords.cpp | 3528 |
#include "wxWebCoords.h"
wxWebCoords::wxWebCoords()
: wxCamCoords()
{
}
wxWebCoords::~wxWebCoords()
{
}
// transformations
//
wxCamPoint wxWebCoords::GetPoint(EPointOrigin org)
{
wxCamPoint newPt=m_point;
switch (m_ptOrigin) {
// transform FROM:
case EPO_CCD: // CCD original p... | gpl-2.0 |
jmflorezf/agente-uber | genetic.py | 356 | #!/usr/bin/env python3
"""
Execution of taxi driver problem using genetic algorithms
"""
from genetic_models import GeneticAlgorithm, simulate_path
g = GeneticAlgorithm(population_size=10,
request_amount=70,
max_generations=20000,
mutation_rate=0.05)
... | gpl-2.0 |
anhredweb/togtejendomme.dk | plugins/system/nnframework/fields/hikashop.php | 5450 | <?php
/**
* Element: HikaShop
* Displays a multiselectbox of available HikaShop categories / products
*
* @package NoNumber Framework
* @version 13.12.6
*
* @author Peter van Westen <peter@nonumber.nl>
* @link http://www.nonumber.nl
* @copyright Copyright © 2013 NoNumb... | gpl-2.0 |
squid-cache/squid | src/adaptation/DynamicGroupCfg.cc | 644 | /*
* Copyright (C) 1996-2022 The Squid Software Foundation and contributors
*
* Squid software is distributed under GPLv2+ license and includes
* contributions from numerous individuals and organizations.
* Please see the COPYING and CONTRIBUTORS files for details.
*/
#include "squid.h"
#include "adaptation/Dyn... | gpl-2.0 |
BuddhaLabs/DeD-OSX | soot/soot-2.3.0/generated/jastadd/soot/JastAddJ/FieldDeclaration.java | 37686 |
package soot.JastAddJ;
import java.util.HashSet;import java.util.LinkedHashSet;import java.io.File;import java.util.*;import beaver.*;import java.util.ArrayList;import java.util.zip.*;import java.io.*;import java.io.FileNotFoundException;import java.util.Collection;import soot.*;import soot.util.*;import soot.jimple.*... | gpl-2.0 |
gowrav-vishwakarma/ffm | administrator/components/com_xcideveloper/system/core/CodeIgniter.php | 11743 | <?php
/*------------------------------------------------------------------------
# com_xcideveloper - Seamless merging of CI Development Style with Joomla CMS
# ------------------------------------------------------------------------
# author Xavoc International / Gowrav Vishwakarma
# copyright Copyright (C) 2011 x... | gpl-2.0 |
oytunyilmaz/Online-Newspaper | wp-content/themes/forexpress/video.php | 440 | <div class="videopost">
<div class="videoposttitle"></div>
<div class="videoentry">
<?php
$video = get_option('fress_video_category'); // Number of other entries to be shown
$my_query = new WP_Query('category_name= '. $video .'&showposts=1');
while ($my_query->have_posts()) : $my_query->the_post();$do_not_duplicat... | gpl-2.0 |
TheRyuu/ffdshow | src/dialog/Csubtitles.cpp | 10723 | /*
* Copyright (c) 2002-2006 Milan Cutka
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This prog... | gpl-2.0 |
illectronic/LeadTracker | wp-content/themes/buddyboss/buddypress/activity/entry.php | 570 | <?php
/**
* BuddyPress - Activity Stream File Loader (Single Item)
*
* This template is used by activity-loop.php and AJAX functions to show
* each activity.
*
* @package BuddyPress
* @subpackage buddyboss
*/
if (BUDDYBOSS_WALL_ENABLED):
// If the BuddyBoss wall is enabled, we need the custom entry-wall.php... | gpl-2.0 |
vbouchet31/panels | panels_ipe/js/panels_ipe.js | 8381 | /**
* @file
* Attaches behavior for the Panels IPE module.
*
*/
(function ($, _, Backbone, Drupal, drupalSettings) {
'use strict';
/**
* Contains initial Backbone initialization for the IPE.
*
* @type {Drupal~behavior}
*/
Drupal.behaviors.panels_ipe = {
attach: function (context, settings) ... | gpl-2.0 |
Tatuy/UAServer | data/npc/FORGOTTENSERVER-ORTS/scripts/Nilsor.lua | 9856 | local keywordHandler = KeywordHandler:new()
local npcHandler = NpcHandler:new(keywordHandler)
NpcSystem.parseParameters(npcHandler)
function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end
function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end
function onCreatureSay(cid, type, msg) npcHan... | gpl-2.0 |
justintadlock/socially-awkward | misc/loop-meta.php | 895 | <div <?php hybrid_attr( 'loop-meta' ); ?>>
<h1 <?php hybrid_attr( 'loop-title' ); ?>><?php hybrid_loop_title(); ?></h1>
<?php if ( !is_paged() && $desc = hybrid_get_loop_description() ) : // Check if we're on page/1. ?>
<div <?php hybrid_attr( 'loop-description' ); ?>>
<?php echo $desc; ?>
</div><!-- .loop-... | gpl-2.0 |
thebillkidy/desple.com | wp-content/themes/capsule/ui/lib/phpjs/_unported/runkit/runkit_constant_add.js | 36 | function runkit_constant_add () {
} | gpl-2.0 |
aiga-chicago/chicago.aiga.org | wp-content/plugins/ikit/includes/api.php | 5589 | <?php
/**
* API for iKit, includes various functions using the WordPress Ajax framework.
*
* To make calls to the API, send a POST request to http://mydomain/wp-admin/admin-ajax.php,
* replacing mydomain with your own domain. Add the required POST parameter
* action, and whatever other parameters are required dep... | gpl-2.0 |
kactus2/kactus2dev | editors/common/ComponentItemAutoConnector/TableAutoConnector.cpp | 7930 | //-----------------------------------------------------------------------------
// File: TableAutoConnector.cpp
//-----------------------------------------------------------------------------
// Project: Kactus2
// Author: Mikko Teuho
// Date: 12.02.2019
//
// Description:
// Automatically connects items of two compone... | gpl-2.0 |
logbie/glowing-octo-waffle | includes/libs/MultiHttpClient.php | 15895 | <?php
/**
* HTTP service client
*
* 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 program is distribute... | gpl-2.0 |
FracturedPlane/CharacterAnimation | bullet3/Demos3/bullet2/FeatherstoneMultiBodyDemo/BulletMultiBodyDemos.cpp | 33021 |
#define ARRAY_SIZE_X 5
#define ARRAY_SIZE_Y 5
#define ARRAY_SIZE_Z 5
static float scaling = 1.f;
static float friction = 1.;
#include "BulletMultiBodyDemos.h"
#include "OpenGLWindow/SimpleOpenGL3App.h"
#include "Bullet3Common/b3Vector3.h"
#include "assert.h"
#include <stdio.h>
#include "btBulletDynamicsCommon.h"
... | gpl-2.0 |
digineo/xt-commerce | includes/modules/order_total/ot_gv.php | 17141 | <?php
/* -----------------------------------------------------------------------------------------
$Id: ot_gv.php 71 2007-01-07 15:48:30Z mzanier $
XT-Commerce - community made shopping
http://www.xt-commerce.com
Copyright (c) 2003 XT-Commerce
-------------------------------------------------... | gpl-2.0 |
joshuacoddingyou/php | public/scripts/dojox/highlight/languages/_static.js | 133 | //>>built
define("dojox/highlight/languages/_static",["./cpp","./java","./delphi"],function(){});
//@ sourceMappingURL=_static.js.map | gpl-2.0 |
hajdam/frinthesia | tools/frinika/src/main/java/com/frinika/FrinikaMain.java | 5855 | package com.frinika;
import com.frinika.frame.WelcomeDialog;
import com.frinika.project.dialog.SplashDialog;
import com.frinika.global.FrinikaConfig;
import com.frinika.global.Toolbox;
import static com.frinika.localization.CurrentLocale.getMessage;
import com.frinika.base.FrinikaAudioSystem;
import com.frinika.projec... | gpl-2.0 |
glenux/cryptaffinity | src/lib/key_vigenere.hh | 311 | #ifndef _CRYPTAFINIY_KEYVIGENERE_HH
#define _CRYPTAFINIY_KEYVIGENERE_HH
#include "cryptaffinity_global.hh"
#include "cryptaffinity_iface.hh"
#include "text.hh"
#include "key.hh"
namespace LibCryptAffinity {
class KeyVigenere : public Key, public Text {
private:
public:
KeyVigenere();
};
}
#endif
| gpl-2.0 |
DylanPeti/InternationalRescue | wp-content/themes/international-rescue/pages/white.php | 306 | <?php
/*
Template Name: White Template
*/
if (__FILE__ == $_SERVER['SCRIPT_FILENAME']) { die(); }
if (CFCT_DEBUG) { cfct_banner(__FILE__); }
get_header();
?>
<body style="position:relative; height: auto;">
<div id="about">
<?php
cfct_misc('submenu');
?>
</div>
<?php
cfct_loop();
get_footer();
?>
| gpl-2.0 |
mikstar/Merlin-a-guardians-quest | Assets/Scripts/InGame/EncounterManeging/Wave.cs | 107 | using UnityEngine;
using System.Collections;
public class Wave{
public EnemySpwInfo[] enemySpawns;
}
| gpl-2.0 |
tvcnet/pharmtest | sandbox/Sandbox1/wp-content/plugins/better-wp-security/modules/free/ban-users/setup.php | 2989 | <?php
if ( ! class_exists( 'ITSEC_Ban_Users_Setup' ) ) {
class ITSEC_Ban_Users_Setup {
private
$defaults;
public function __construct() {
global $itsec_setup_action;
$this->defaults = array(
'enabled' => false,
'default' => false,
'host_list' => array(),
'agent_list' => array(... | gpl-2.0 |
MinhTrung352/webbanhang | wp-content/themes/golmart/vc_templates/wpo_product_deals.php | 10468 |
<?php
/**
* $Desc
*
* @version $Id$
* @package wpbase
* @author WPOpal Team <wpopal@gmail.com, support@wpopal.com>
* @copyright Copyright (C) 2014 wpopal.com. All Rights Reserved.
* @license GNU/GPL v2 or later http://www.gnu.org/licenses/gpl-2.0.html
*
... | gpl-2.0 |
Automattic/wp-calypso | client/me/account-close/index.js | 493 | import { isEnabled } from '@automattic/calypso-config';
import page from 'page';
import { makeLayout, render as clientRender } from 'calypso/controller';
import { sidebar } from 'calypso/me/controller';
import { accountClose, accountClosed } from './controller';
export default function () {
if ( isEnabled( 'me/accoun... | gpl-2.0 |
Itshalffull/Docademy | profiles/opigno_lms/themes/platon/templates/node--quiz.tpl.php | 4130 | <div id="node-<?php print $node->nid; ?>" class="<?php print $classes; ?> clearfix"<?php print $attributes; ?>>
<?php print render($title_prefix); ?>
<?php if (!$page): ?>
<h2<?php print $title_attributes; ?>><a href="<?php print $node_url; ?>"><?php print $title; ?></a></h2>
<?php endif; ?>
<?php print ren... | gpl-2.0 |
mrstampy/gameboot | GameBoot/src/test/java/com/github/mrstampy/gameboot/usersession/UserSessionLookupTest.java | 7277 | /*
* ______ ____ __
* / ____/___ _____ ___ ___ / __ )____ ____ / /_
* / / __/ __ `/ __ `__ \/ _ \ / __ / __ \/ __ \/ __/
* / /_/ / /_/ / / / / / / __/ / /_/ / /_/ / /_/ / /_
* \____/\__,_/_/ /_/ /_/\___/ /__... | gpl-2.0 |
NPLPackages/main | script/ide/Document/CSVDocReader.lua | 3359 | --[[
Title: Reading CSV based text file
Author(s): LiXizhi
Date: 2012/11/29
Desc: currently only single worksheet is supported
use the lib:
------------------------------------------------------------
NPL.load("(gl)script/ide/Document/CSVDocReader.lua");
local CSVDocReader = commonlib.gettable("commonlib.io.CSVDocReade... | gpl-2.0 |
slushman/super-simple-slider | includes/class-super-simple-slider-deactivator.php | 654 | <?php
/**
* Fired during plugin deactivation
*
* @link http://slushman.com
* @since 1.0.0
*
* @package Super_Simple_Slider
* @subpackage Super_Simple_Slider/includes
*/
/**
* Fired during plugin deactivation.
*
* This class defines all code necessary to run during the plugin's deactivation.
... | gpl-2.0 |
iammyr/Benchmark | src/main/java/org/owasp/benchmark/testcode/BenchmarkTest11620.java | 2884 | /**
* OWASP Benchmark Project v1.1
*
* This file is part of the Open Web Application Security Project (OWASP)
* Benchmark Project. For details, please see
* <a href="https://www.owasp.org/index.php/Benchmark">https://www.owasp.org/index.php/Benchmark</a>.
*
* The Benchmark is free software: you can redistribute it and/... | gpl-2.0 |
ptitjes/quodlibet | quodlibet/ext/songsmenu/playlist.py | 5545 | # Copyright 2009 Christoph Reiter
# 2014-2017 Nick Boultbee
#
# 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... | gpl-2.0 |
geodynamics/gale | boost/libs/random/test/test_ranlux64_3_01.cpp | 903 | /* test_ranlux64_3_01.cpp
*
* Copyright Steven Watanabe 2011
* Distributed under the Boost Software License, Version 1.0. (See
* accompanying file LICENSE_1_0.txt or copy at
* http://www.boost.org/LICENSE_1_0.txt)
*
* $Id: test_ranlux64_3_01.cpp 71018 2011-04-05 21:27:52Z steven_watanabe $
*
*/
#include <boos... | gpl-2.0 |
essamjoubori/eclipse-explorer | JSEX/SE2301.js | 88050 | //
// Besselian Elements for Solar Eclipses from:
// "Five Millennium Canon of Solar Eclipses: -1999 to +3000",
// Fred Espenak and Jean Meeus, NASA/TP-2006-214141, October 2006
//
function SE2301() {
calculatefor(new Array(
// 2301 5 9
2561611.084014, 14.0, -4.0, 4.0, 719.9, 719.9,
0.2556460, 0... | gpl-2.0 |