repo_name stringlengths 4 116 | path stringlengths 4 379 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
herzcthu/Laravel-HS | resources/views/backend/includes/sidebar.blade.php | 3540 | <!-- Left side column. contains the logo and sidebar -->
<aside class="main-sidebar">
<!-- sidebar: style can be found in sidebar.less -->
<section class="sidebar">
<!-- Sidebar user panel (optional) -->
<div class="user-panel">
<... | gpl-2.0 |
jiasilu/Adamour | modules/mod_s5_image_and_content_fader/mod_s5_image_and_content_fader.php | 9361 | <?php
/**
@version 1.0: mod_s5_image_and_content_fader
Author: Shape 5 - Professional Template Community
Available for download at www.shape5.com
*/
// no direct access
defined('_JEXEC') or die('Restricted access');
$jslibrary = $params->get( 'jslibrary' );
$s5_dropdowntext = $params->get( 's5_dropdowntext' );
$s5_hi... | gpl-2.0 |
jankei/dominus | game/leftPanels/chatrooms/client/chatroom_list.js | 1132 | Template.chatroom_list.helpers({
selectedChatroom: function() {
return Session.get('selectedChatroomId') == Template.currentData()._id
},
numPeople: function() {
return Template.currentData().members.length
},
showNewNotification: function() {
if (Session.get('windowHasFocus') && Session.get('selectedChatr... | gpl-2.0 |
VladimirMB/catsproducts | index.php | 2121 | <?php include 'data/products.php';?>
<?php include 'data/dodaci_tipovi.php';?>
<!DOCTYPE html>
<html lang="sr">
<head>
<meta charset="utf-8">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Test</title>
<script type="text/javascript" src="js/jquery-1.7.1.min.js" ></script>
<script... | gpl-2.0 |
JarnoVgr/ZombieSurvival | gamemodes/zombiesurvival/gamemode/zombieclasses/bloated_zombie.lua | 4928 | CLASS.Name = "Bloated Zombie"
CLASS.TranslationName = "class_bloated_zombie"
CLASS.Description = "description_bloated_zombie"
CLASS.Help = "controls_bloated_zombie"
CLASS.Wave = 3 / 6
CLASS.Health = 325
CLASS.Speed = 150
CLASS.JumpPower = 150
CLASS.Mass = DEFAULT_MASS * 2
CLASS.CanTaunt = false
CLASS.... | gpl-2.0 |
smarr/Truffle | tools/src/org.graalvm.tools.lsp/src/org/graalvm/tools/lsp/server/types/MessageActionItem.java | 2539 | /*
* Copyright (c) 2019, 2020, 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 ... | gpl-2.0 |
sdl/Sdl-Community | MT Enhanced Provider/Sdl.Community.MtEnhancedProvider/GoogleApi/MtTranslationProviderGTApiConnecter.cs | 9487 | /* Copyright 2015 Patrick Porter
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in wr... | gpl-2.0 |
miguelinux/vbox | src/VBox/Runtime/r3/win/vcc100-kernel32-fakes.cpp | 12649 | /* $Id: vcc100-kernel32-fakes.cpp $ */
/** @file
* IPRT - Tricks to make the Visual C++ 2010 CRT work on NT4, W2K and XP.
*/
/*
* Copyright (C) 2012-2015 Oracle Corporation
*
* This file is part of VirtualBox Open Source Edition (OSE), as
* available from http://www.virtualbox.org. This file is free software;
*... | gpl-2.0 |
podonoghue/usbdm-eclipse-makefiles-build | PackageFiles/Stationery/Packages/180.ARM_Peripherals/Snippets/spi-2-config-example.cpp | 3805 | /*
==============================================================================
* @file spi-2-config-example.cpp (180.ARM_Peripherals/Snippets)
* @brief C++ demo using SPI interface
*
* This example sets up two hardware configurations and switches between them.
* This has low overhead but is limited by the... | gpl-2.0 |
Electrolysm/Electrolysm-Chemistry | java/chemistry/electrolysm/chemicals/ChemicalCompression.java | 1674 | package chemistry.electrolysm.chemicals;
import electrolysm.api.items.RecipeStack;
import chemistry.electrolysm.chemicals.Values.ChemicalValue;
import chemistry.electrolysm.chemicals.Values.MultiChemical;
import net.minecraft.init.Items;
import net.minecraft.item.ItemStack;
import java.util.ArrayList;
import java.uti... | gpl-2.0 |
AmandaMoen/AmandaMoen | notes/resources/UW_IntroClass/class10/code/Solutions/python_literal.py | 863 | #!/usr/bin/env python
"""
Example of how to save data as python literals in a py file
"""
outfilename = "add_book_data.pyliteral"
# get the data from the py file
from add_book_data import AddressBook
# save it as python literals:
outfile = open(outfilename, 'w')
outfile.write(str(AddressBook))
outfile.close()
... | gpl-2.0 |
ticketscad/TicketsCAD-Stable-Releases | upgrade.php | 3405 | <?php
/*
3/18/09 added direcs
3/22/09 remove terrain, add version settings update
7/28/10 Added inclusion of startup.inc.php for checking of network status and setting of file name variables to support no-maps versions of scripts.
3/15/11 changed stylesheet.php to stylesheet.php
*/
error_reporting(E_ALL); // 10/1/08
... | gpl-2.0 |
mkdee/d8rules | DateServer/src/DateLibrary/grammar/DateExpressionLexer.cs | 363 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Antlr.Runtime;
namespace drules.dates.library.grammar
{
public partial class DateExpressionLexer
{
// ReSharper disable InconsistentNaming
public const int HIDDEN = BaseRecognizer.Hidden;
// ReSha... | gpl-2.0 |
jeka5555/rengine | core/.assets/js/jquery/jquery.rightClick.js | 1334 | if(jQuery) (function(){
$.extend($.fn, {
rightClick: function(handler) {
$(this).each( function() {
$(this).mousedown( function(e) {
var evt = e;
$(this).mouseup( function() {
$(this).unbind('mouseup');
if( evt.button == 2 ) {
handler.call( $(this), evt );
return false... | gpl-2.0 |
BigBoss424/boyer | boyer/wp-content/themes/cannyon/cfg/widgets/mythemes.post_meta.class.php | 4205 | <?php
if( !class_exists( 'mythemes_post_meta' ) ){
class mythemes_post_meta extends WP_Widget
{
function __construct()
{
parent::__construct( 'mythemes_post_meta', __( 'Post Meta' , 'cannyon' ) . ' [' . mythemes_core::author( 'name' ) . ']', array(
'classname' => 'widget_post_m... | gpl-2.0 |
imadkaf/lsdoEZ4 | extension/ezodf/modules/ezodf/authenticate.php | 3443 | <?php
//
// ## BEGIN COPYRIGHT, LICENSE AND WARRANTY NOTICE ##
// SOFTWARE NAME: eZ Publish Community Project
// SOFTWARE RELEASE: 4.2011
// COPYRIGHT NOTICE: Copyright (C) 1999-2011 eZ Systems AS
// SOFTWARE LICENSE: GNU General Public License v2.0
// NOTICE: >
// This program is free software; you can redistribute... | gpl-2.0 |
mekolat/ManaPlus | src/gui/windows/okdialog.cpp | 3078 | /*
* The ManaPlus Client
* Copyright (C) 2004-2009 The Mana World Development Team
* Copyright (C) 2009-2010 The Mana Developers
* Copyright (C) 2011-2018 The ManaPlus Developers
*
* This file is part of The ManaPlus Client.
*
* This program is free software; you can redistribute it and/or modify
* i... | gpl-2.0 |
ForAEdesWeb/AEW1 | administrator/components/com_acymailing/classes/listsub.php | 4796 | <?php
/**
* @package AcyMailing for Joomla!
* @version 4.9.4
* @author acyba.com
* @copyright (C) 2009-2015 ACYBA S.A.R.L. All rights reserved.
* @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
*/
defined('_JEXEC') or die('Restricted access');
?><?php
class listsubClass extends acymailingC... | gpl-2.0 |
trisyoungs/duq | src/gui/uchroma/gui/editviewlayout_funcs.cpp | 9079 | /*
*** Edit ViewLayout Dialog
*** src/gui/uchroma/gui/editviewlayout_funcs.cpp
Copyright T. Youngs 2013-2018
This file is part of uChroma.
uChroma 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 ve... | gpl-2.0 |
ProfessorX/Config | .PyCharm30/system/python_stubs/-1247972723/PyKDE4/khtml.py | 30475 | # encoding: utf-8
# module PyKDE4.khtml
# from /usr/lib/python2.7/dist-packages/PyKDE4/khtml.so
# by generator 1.135
# no doc
# imports
import PyKDE4.kparts as __PyKDE4_kparts
import PyQt4.QtGui as __PyQt4_QtGui
# no functions
# classes
class DOM(): # skipped bases: <type 'sip.wrapper'>
# no doc
def strcase... | gpl-2.0 |
instantsoft/icms2 | system/controllers/images/backend/forms/form_preset.php | 6265 | <?php
class formImagesPreset extends cmsForm {
public function init($do) {
$fields = [
'basic' => [
'type' => 'fieldset',
'title' => LANG_CP_BASIC,
'childs' => [
new fieldString('name', [
'title' =>... | gpl-2.0 |
PascalSteger/gravimage | programs/reducedata/grc_COM.py | 5116 | #!/usr/bin/env ipython3
##
# @file
# calculate approximative center of mass, assuming constant
# stellar mass 2D version
# (c) 2015 ETHZ Pascal S.P. Steger, pascal@steger.aero
import numpy as np
import pdb
#from pylab import *
#ion()
import gi_helper as gh
import gi_file as gf
from gi_helper import expDtofloat, flo... | gpl-2.0 |
javiersantos/WhatsAppBetaUpdater.Xamarin | WhatsAppBetaUpdater/Receiver/AlarmReceiver.cs | 1941 |
using Android.App;
using Android.Content;
using Android.Support.V4.App;
using Android.Graphics;
using System;
namespace WhatsAppBetaUpdater {
[BroadcastReceiver]
public class AlarmReceiver : BroadcastReceiver {
public override void OnReceive (Context context, Intent intent) {
if (RetreiveLatestReceiver.IsA... | gpl-2.0 |
Moujimouja/centreon | www/class/centreonServicecategories.class.php | 4209 | <?php
/**
* Copyright 2005-2015 Centreon
* Centreon is developped by : Julien Mathis and Romain Le Merlus under
* GPL Licence 2.0.
*
* 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 ; eithe... | gpl-2.0 |
rinkun/link | wp-content/themes/xeory_base/lib/functions/setting.php | 8629 | <?php
// セッティング & 小物系
// WordPress標準の機能はこちらに記入しています。
// ナビ
// register_nav_menu('primary_nav', 'プライベートナビ(最上部に表示)');
register_nav_menu('global_nav', 'グローバルナビ(ヘッダー領域下に表示)');
register_nav_menu('footer_nav', 'フッターナビ(フッター領域に表示)');
/* ナビにclassを付ける */
add_filter( 'nav_menu_css_class', 'my_nav_menu_css_class', 10, 2 );
fun... | gpl-2.0 |
TheAirlineProject/TheAirlineProject_Web | scripts/importAirports.php | 2033 | <?php
$dir = "xml/airports/";
$files = scandir($dir);
while($files[0] == "." || $files[0] == "..") {
array_shift($files);
}
$i = 0;
$con = mysqli_connect("localhost","root","asdf","tap") or die("error connecting");
$xml = simplexml_load_file('xml/airports/super.xml');
foreach($xml->airport as $a) {
$... | gpl-2.0 |
3lywa/gcconnex | mod/custom_index_widgets/views/default/widgets/latest_generic_index/content.php | 1480 | <?php
$object_type = $vars["entity"]->widget_subtype;
if (!isset($object_type))
$object_type = 'ELGG_ENTITIES_ANY_VALUE';
$num_items = $vars['entity']->num_items;
if (!isset($num_items))
$num_items = 10;
$widget_group = $vars["entity"]->widget_group;
if (!isset($widget_group)) $widget_group = ELGG_ENTITIES... | gpl-2.0 |
lupus-dev/lupus | core/classes/achievements/achievement.AtLeastKWins.php | 1339 | <?php
/**
* Lupus in Tabula
* ...un progetto di Edoardo Morassutto
* Contributors:
* - 2016 Edoardo Morassutto <edoardo.morassutto@gmail.com>
*/
class AtLeastKWins extends Achievement {
public static $enabled = false;
/**
* Numero minimo di partite da vincere per sbloccare l'obiettivo,
* v... | gpl-2.0 |
doublesword/commuse | Source/W201621/MemInjectWithFirstThread/InjectDllByCurThread.cpp | 5566 | #include "StdAfx.h"
#include <windows.h>
#include "InjectDllByCurThread.h"
#include <tlhelp32.h>
InjectDllByCurThread::InjectDllByCurThread(void)
{
}
InjectDllByCurThread::~InjectDllByCurThread(void)
{
}
DWORD InjectDllByCurThread::GetFirstThreadInProcessR(DWORD pid)
{
HANDLE hSnapshot = ::Crea... | gpl-2.0 |
LinEvil/PlayerSQL | src/main/java/com/mengcraft/playersql/LocalDataMgr.java | 3911 | package com.mengcraft.playersql;
import com.google.common.collect.Maps;
import com.mengcraft.playersql.lib.ItemUtil;
import com.mengcraft.simpleorm.EbeanHandler;
import lombok.SneakyThrows;
import lombok.val;
import org.bukkit.Bukkit;
import org.bukkit.ChatColor;
import org.bukkit.Material;
import org.bukkit.entity.Pl... | gpl-2.0 |
armstrongli/CaiddApp | src/cn/caidd/portal/Portal.java | 2443 | package cn.caidd.portal;
import android.annotation.SuppressLint;
import android.app.Activity;
import android.os.Bundle;
import android.webkit.WebSettings;
import android.webkit.WebView;
import android.webkit.WebViewClient;
import cn.caidd.caiddapp.R;
import cn.caidd.constele.TxnCodeConst;
public class Port... | gpl-2.0 |
oat-sa/tao-core | views/js/e2e/resourceSelector/item/item.spec.js | 3558 | /**
* 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; under version 2
* of the License (non-upgradable).
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT AN... | gpl-2.0 |
elim37/festival | wp-content/themes/itheme2/index.php | 3839 | <?php get_header(); ?>
<?php
/** Themify Default Variables
* @var object */
global $themify; ?>
<?php if(is_front_page() && !is_paged()){ get_template_part( 'includes/header-slider'); } ?>
<!-- layout-container -->
<div id="layout" class="clearfix">
<?php themify_content_before(); //hook ?>
<!--... | gpl-2.0 |
ggovan/wherethis | lib/main.js | 886 | var self = require("sdk/self");
var contextMenu = require("sdk/context-menu");
var menuItem = contextMenu.Item({
label: "Where This?",
context: contextMenu.SelectionContext(),
contentScript: 'self.on("click", function () {' +
' var text = window.getSelection().toString();' +
' ... | gpl-2.0 |
JulieKuehl/julie-jumpstart | wp-content/themes/jumpstart/framework/admin/plugins/plugins.php | 6188 | <?php
if ( !function_exists( 'themeblvd_plugins' ) ) :
/**
* Run TGM class to tell users just installing
* the current theme which plugins they should
* be using. However, if the user has already
* dismissed the message, we will not even include
* the class.
*
* remove_action( 'after_setup_theme', 'themeblvd_plu... | gpl-2.0 |
efess/AltConsole | src/AltConsole/WpfControlInput.cs | 3257 | using AltConsole.Interfaces;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Input;
namespace AltConsole
{
public class WpfControlInput : IInputProvider
{
public event EventHandler<InputKeyEv... | gpl-2.0 |
czchen/debian-ibus-libzhuyin | src/ZYConfig.cc | 3716 | /* vim:set et ts=4 sts=4:
*
* ibus-libzhuyin - New Zhuyin engine based on libzhuyin for IBus
*
* Copyright (c) 2008-2010 Peng Huang <shawn.p.huang@gmail.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free... | gpl-2.0 |
ratschlab/ASP | examples/undocumented/python_modular/converter_kernellocaltangentspacealignment_modular.py | 634 | from tools.load import LoadMatrix
lm=LoadMatrix()
data = lm.load_numbers('../data/fm_train_real.dat')
parameter_list = [[data,10],[data,20]]
def converter_kernellocaltangentspacealignment_modular(data,k):
from shogun.Features import RealFeatures
from shogun.Converter import KernelLocalTangentSpaceAlignment
feat... | gpl-2.0 |
hakonsbm/nest-simulator | pynest/examples/gif_population.py | 5043 | # -*- coding: utf-8 -*-
#
# gif_population.py
#
# This file is part of NEST.
#
# Copyright (C) 2004 The NEST Initiative
#
# NEST 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 |
osigaud/ArmModelPython | MotorControlModel/Plot/plotFunctions.py | 31733 | #!/usr/bin/env python
# -*- coding: utf-8 -*-
'''
Author: Thomas Beucher
Module: plotFunctions
Description: some plotting functions
'''
import os
import random as rd
import numpy as np
from scipy import stats
import matplotlib.pyplot as plt
from matplotlib import cm
from matplotlib import animation
from matplotlib.m... | gpl-2.0 |
KevinNZ83/Social-Aggregator | Social.Aggregator.Web/App_Start/Startup.Auth.cs | 3470 | using System;
using Microsoft.AspNet.Identity;
using Microsoft.AspNet.Identity.Owin;
using Microsoft.Owin;
using Microsoft.Owin.Security.Cookies;
using Microsoft.Owin.Security.Google;
using Owin;
using Social.Aggregator.Models;
namespace Social.Aggregator
{
public partial class Startup
{
// For more i... | gpl-2.0 |
rohitwebdevta/machinelearningtoolbox | min1.py | 694 | threshold = 0.5
learning_rate = 0.1
weights = [0, 0, 0]
training_set = [((1, 0, 0), 1), ((1, 0, 1), 1), ((1, 1, 0), 1), ((1, 1, 1), 0)]
def dot_product(values, weights):
return sum(value * weight for value, weight in zip(values, weights))
while True:
print('-' * 60)
error_count = 0
for input_vector, ... | gpl-2.0 |
kosmosby/medicine-prof | administrator/components/com_extman/views/extensions/html.php | 1445 | <?php
/**
* @package EXTman
* @copyright Copyright (C) 2011 - 2014 Timble CVBA. (http://www.timble.net)
* @license GNU GPLv3 <http://www.gnu.org/licenses/gpl.html>
* @link http://www.joomlatools.com
*/
class ComExtmanViewExtensionsHtml extends ComKoowaViewHtml
{
/**
* Initializes the conf... | gpl-2.0 |
ahuarte47/SOS | coding/json/src/main/java/org/n52/sos/decode/json/impl/GetObservationByIdRequestDecoder.java | 2740 | /**
* Copyright (C) 2012-2016 52°North Initiative for Geospatial Open Source
* Software GmbH
*
* 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.
*
* If the program is linked with... | gpl-2.0 |
zencart/zencart | includes/functions/functions_files.php | 12065 | <?php
/**
* File functions
*
* @copyright Copyright 2003-2020 Zen Cart Development Team
* @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
* @version $Id: $
*/
/**
* build a list of directories in a specified parent folder
* (formatted in id/text pairs for SELECT boxes)
*
* @param st... | gpl-2.0 |
cwaclawik/moodle | user/profile/index.php | 9152 | <?php //$Id$
require('../../config.php');
require_once($CFG->libdir.'/adminlib.php');
require_once($CFG->dirroot.'/user/profile/lib.php');
require_once($CFG->dirroot.'/user/profile/definelib.php');
admin_externalpage_setup('profilefields');
$action = optional_param('action', '', PARAM_ALPHA);
$redirect = $CFG->ww... | gpl-2.0 |
EchanHe/trimesh2 | libsrc/TriMesh_normals.cc | 4674 | /*
Szymon Rusinkiewicz
Princeton University
TriMesh_normals.cc
Compute per-vertex normals for TriMeshes
For meshes, uses average of per-face normals, weighted according to:
Max, N.
"Weights for Computing Vertex Normals from Facet Normals,"
Journal of Graphics Tools, Vol. 4, No. 2, 1999.
For raw point clouds, f... | gpl-2.0 |
CAndRyan/HL7_Analyst_CCS | HL7Lib/Base/Extensions.cs | 23804 | /***************************************************************
* Copyright (C) 2011 Jeremy Reagan, All Rights Reserved.
* I may be reached via email at: jeremy.reagan@live.com
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as publishe... | gpl-2.0 |
bylu/Test | wulu/2015.11.23/qipai/member/inc/config_pay_cbpayment.php | 1517 | <?php
require_once(DEDEMEMBER."/paycenter/cbpayment/cbpayment_config.php");
if($payment_exp[3] < 0) $payment_exp[3] = 0;
$piice_ex = $price*$payment_exp[3];
$v_oid = trim($buyid); //¶©µ¥ºÅ
if($piice_ex > 0) $price = $price+$piice_ex;
$v_amount = sprintf("%01.2f", $price); //Ö§¸¶½ð¶î ... | gpl-2.0 |
em4pixeleen/Trsvideolooper | Trs_Video_Looper/usb_drive.py | 1497 | # Author: Daniel Verde
# License: GNU GPLv2, see LICENSE.txt
import glob
from usb_drive_mounter import USBDriveMounter
class USBDriveReader(object):
def __init__(self, config):
"""Create an instance of a file reader that uses the USB drive mounter
service to keep track of attached USB drives an... | gpl-2.0 |
mineo/picard | picard/util/icontheme.py | 2350 | # -*- coding: utf-8 -*-
#
# Picard, the next-generation MusicBrainz tagger
# Copyright (C) 2006 Lukáš Lalinský
#
# 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 |
tahivan/php_prj | modules/shops/admin/payport.php | 7910 | <?php
/**
* @Project NUKEVIET 3.x
* @Author VINADES.,JSC (contact@vinades.vn)
* @Copyright (C) 2010 VINADES.,JSC. All rights reserved
* @Createdate 2-9-2010 14:43
*/
if( ! defined( 'NV_IS_FILE_ADMIN' ) ) die( 'Stop!!!' );
$page_title = $lang_module['setup_payment'];
$array_setting_payment = array();
// Load c... | gpl-2.0 |
pastewka/lammps | lib/kokkos/core/src/eti/Serial/Kokkos_Serial_ViewCopyETIInst_int_int_LayoutLeft_Rank5.cpp | 2482 | //@HEADER
// ************************************************************************
//
// Kokkos v. 3.0
// Copyright (2020) National Technology & Engineering
// Solutions of Sandia, LLC (NTESS).
//
// Under the terms of Contract DE-NA0003525 with NTESS,
// the U.S. Governmen... | gpl-2.0 |
bmajoros/GeneZilla | crf.H | 577 | /****************************************************************
crf.H
Copyright (C)2015 William H. Majoros (martiandna@gmail.com).
This is OPEN SOURCE SOFTWARE governed by the Gnu General Public
License (GPL) version 3, as described at www.opensource.org.
*********************************************************... | gpl-2.0 |
FredericFernandes/RP_Project | src/Core/Population.java | 21876 | package Core;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Random;
import java.util.Set;
import loader.LoaderSimulation;
public class Population {
private int numOfCenters;
private boolean pMedian = false;
private ArrayList<Strin... | gpl-2.0 |
AStoker/requiredLabel | requiredLabel.js | 2994 | define(['jquery', 'knockout'],
function ($, ko) {
ko.bindingHandlers.requiredLabel = {
init: function (element, valueAccessor) {
// Initially create the required element next to the label
var valUnwraped = ko.unwrap(valueAccessor()),
isRequired = ... | gpl-2.0 |
reibach/phpReibach | config/edit_company.php | 7739 | <?php
/*
edit_company.php
phpRechnung - is easy-to-use Web-based multilingual accounting software.
Copyright (C) 2001 - 2015 Edy Corak < edy at loenshotel dot 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 ... | gpl-2.0 |
tuliolages/OpenRedu | app/controllers/plans_controller.rb | 2671 | # -*- encoding : utf-8 -*-
class PlansController < BaseController
before_filter :find_course_environment, :except => [:index, :create]
load_and_authorize_resource :plan, :only => [:options], :through => :user
def create
@user = load_and_authorize_if_param(User, params[:user_id])
@partner = load_and_aut... | gpl-2.0 |
UniversityOfAlberta/GrandForum | Classes/CCCVTK/common-cv.lib.php | 34886 | <?php
/*
CCCVTK, the Canadian Common CV Toolkit
Copyright (C) 2013-2014 Sylvain Hallé
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at y... | gpl-2.0 |
pashen/icms | cache/%%E4^E46^E4632459%%mod_respect.tpl.php | 2296 | <?php /* Smarty version 2.6.19, created on 2012-10-17 13:03:40
compiled from mod_respect.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'profile_url', 'mod_respect.tpl', 9, false),array('modifier', 'escape', 'mod_resp... | gpl-2.0 |
vincenzo/deeson-dev-challenge | sites/all/themes/ddc_theme/templates/node/article/node--article--teaser.tpl.php | 593 | <?php
/**
* @file
* Template file for article teasers.
*/
?>
<div class="contextual-links-region">
<?php print render($title_suffix); ?>
<article>
<div id="node-<?php print $node->nid; ?>" class="<?php print $classes; ?> clearfix"<?php print $attributes; ?>>
<div class="media">
<div class="pull... | gpl-2.0 |
NoviumDesign/polefitness | wp-content/plugins/woocommerce-gateway-klarna/classes/class-klarna-checkout.php | 86274 | <?php
/**
* Klarna checkout class
*
* @link http://www.woothemes.com/products/klarna/
* @since 1.0.0
*
* @package WC_Gateway_Klarna
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly
}
class WC_Gateway_Klarna_Checkout extends WC_Gateway_Klarna {
/**
* Class constructor.
*
* @since 1... | gpl-2.0 |
nekrozar/ygopro-scripts | c35498188.lua | 2604 | --アクションマジック-ダブル・バンキング
function c35498188.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetCondition(c35498188.condition)
e1:SetCost(c35498188.cost)
e1:SetTarget(c35498188.target)
e1:SetOperation(c35498188.activate)
c:RegisterEffect... | gpl-2.0 |
anhtuan8591/shop | modules/mod_kunenalatest/mod_kunenalatest.php | 814 | <?php
/**
* Kunena Latest Module
* @package Kunena.mod_kunenalatest
*
* @copyright (C) 2008 - 2012 Kunena Team. All rights reserved.
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
* @link http://www.kunena.org
**/
defined ( '_JEXEC' ) or die ();
// Kunena detection and version check
$minKunenaVersion =... | gpl-2.0 |
elieux/Cygwin | winsup/cygwin/fhandler_console.cc | 76946 | /* fhandler_console.cc
This file is part of Cygwin.
This software is a copyrighted work licensed under the terms of the
Cygwin license. Please consult the file "CYGWIN_LICENSE" for
details. */
#include "winsup.h"
#include "miscfuncs.h"
#include <stdio.h>
#include <stdlib.h>
#include <wchar.h>
#include <ctype.h>
#in... | gpl-2.0 |
manhhung86it/builder-site | wp-content/plugins/a3-portfolio-edited/templates/navbar/main-navbar.php | 1561 | <?php
/**
* The template for displaying the main nav bar on main page or archive page
*
* Override this template by copying it to yourtheme/portfolio/navbar/main-navbar.php
*
* @author A3 Rev
* @version 1.0.0
*/
if (!defined('ABSPATH')) {
exit; // Exit if accessed directly
}
?>
<div style="clear:both">... | gpl-2.0 |
SunriseSoftVN/hayhayblog | parser/app/vn/myfeed/parser/processor/DistanceBaseFilter.scala | 1007 | package vn.myfeed.parser.processor
import vn.myfeed.parser.model.{LinkElement, ArticleElement, Article}
/**
* This class base on distance of two potential element to find another potential element.
*
* @param maxDistance distance between two elements
*
* @author Nguyen Duc Dung
* @since 12/24/12 7:26 AM
*
*/
... | gpl-2.0 |
alongosz/ezpublish-kernel | eZ/Publish/API/Repository/Tests/ContentServiceTest.php | 242464 | <?php
/**
* File containing the ContentServiceTest class.
*
* @copyright Copyright (C) eZ Systems AS. All rights reserved.
* @license For full copyright and license information view LICENSE file distributed with this source code.
*/
namespace eZ\Publish\API\Repository\Tests;
use eZ\Publish\API\Repository\Excepti... | gpl-2.0 |
hexbinary/landing | src/main/java/org/oscarehr/PMmodule/dao/OcanSubmissionLogDao.java | 2279 | /**
*
* Copyright (c) 2005-2012. Centre for Research on Inner City Health, St. Michael's Hospital, Toronto. 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 Publ... | gpl-2.0 |
gensmusic/test | third_party/phantomjs/listen-dom-changed/monitor-with-jquery-watch.js | 2891 | "use strict";
var page = require('webpage').create();
page.onConsoleMessage = function(msg) {
console.log(msg);
};
page.onCallback = function(data) {
console.log('onCallback:' + data.type);
};
var url = 'http://127.0.0.1:3333/';
page.open(url, function(status) {
if (status === 'success') {
conso... | gpl-2.0 |
EderRoger/design_pattern | src/factory/Gralic.java | 98 | package factory;
/**
* Created by eder on 09/10/15.
*/
public class Gralic extends Veggies {
}
| gpl-2.0 |
Jessekevon/specht-architects | wp-content/plugins/gravityforms-develop/includes/addon/class-gf-addon.php | 147940 | <?php
if ( ! class_exists( 'GFForms' ) ) {
die();
}
/**
* Handles all tasks mostly common to any Gravity Forms Add-On, including third party ones
*
*
* @package GFAddOn
* @author Rocketgenius
*/
abstract class GFAddOn {
/**
* @var string Version number of the Add-On
*/
protected $_ver... | gpl-2.0 |
metaraine/iccs-planar-theme | page.php | 360 | <?php
/**
* @package Planar
*/
get_header(); ?>
<?php get_template_part( 'template-parts/page', 'header' ); ?>
<?php
if ( !is_front_page() ) :
get_template_part( 'template-parts/page', 'default-content' );
endif;
if ( is_front_page() ) :
get_template_part( 'template-parts/page', 'front-content' );... | gpl-2.0 |
3013216027/acm | hdu/3496.cpp | 1099 | /* **********************************************
File Name: 3496.cpp
Auther: zhengdongjian@tju.edu.cn
Created Time: 2015/9/9 星期三 下午 8:14:35
*********************************************** */
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef pair<int, int> P;
/*
* dp[i][j][k... | gpl-2.0 |
jcbrocca/PFM | k-pax-master/src/main/java/uoc/edu/svrKpax/business/GameBOImp.java | 7873 | package uoc.edu.svrKpax.business;
import java.util.ArrayList;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import uoc.edu.svrKpax.dao.CategoryDao;
import uoc.edu.svrKpax.dao.GameDao;
import uoc.edu.svrKpax.dao.GameViewDao;
import uoc.edu.svrKpax.util.IntegerWrapper;
im... | gpl-2.0 |
GTNewHorizons/Yamcl | src/main/java/eu/usrv/yamcore/auxiliary/TabText.java | 8889 |
package eu.usrv.yamcore.auxiliary;
import java.util.Arrays;
import java.util.HashMap;
import java.util.Map;
/**
* <pre>
* TabText: class to write column formatted text in minecraft chat area
*
* - it splits each field and trims or fill with spaces to adjust tabs
*
* general usage example:
*
* - create a... | gpl-2.0 |
Francesco149/lainbot | plugins/decode.lua | 787 | local b='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'
local function dec(data)
data = string.gsub(data, '[^'..b..'=]', '')
return (data:gsub('.', function(x)
if (x == '=') then return '' end
local r,f='',(b:find(x)-1)
for i=6,1,-1 do r=r..(f%2^i-f%2^(i-1)>0 and '1' ... | gpl-2.0 |
nrgaway/qubes-gui-daemon | qubesguidaemon/mic.py | 4765 | # -*- encoding: utf-8 -*-
#
# The Qubes OS Project, http://www.qubes-os.org
#
# Copyright (C) 2017 Marek Marczykowski-Górecki
# <marmarek@invisiblethingslab.com>
#
# 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 |
ByeDream/HappyValley | Source/Framework/Modules/Timer/Platform/Windows/TimerWin.cpp | 644 | /************************************************************************/
/* The Timer Windows Implementation
/*
/* ByeDream
/* Dec-25-2015
/************************************************************************/
#include "stdafx.h"
#include "Framework/Utility/Utility.h"
#include "TimerWin.h"
HV::TimerWin::TimerWi... | gpl-2.0 |
njustesen/bloodai | src/game/GameMaster.java | 5580 | package game;
import java.util.HashMap;
import game.process.BlockProcess;
import game.process.CoinTossProcess;
import game.process.EndPhaseProcess;
import game.process.EndPlayerTurnProcess;
import game.process.EndSetupProcess;
import game.process.FollowUpProcess;
import game.process.FoulProcess;
import game.process.G... | gpl-2.0 |
niloc132/mauve-gwt | src/main/java/gnu/testlet/java/lang/reflect/sub/OtherPkg.java | 218 | package gnu.testlet.java.lang.reflect.sub;
public class OtherPkg
{
static void g()
{
}
void h()
{
}
protected void i()
{
}
static char j = 'j';
char k = 'k';
protected char l = 'l';
}
| gpl-2.0 |
LeDYoM/Zoper | haf/include/haf/filesystem/include/path.hpp | 208 | #pragma once
#ifndef HAF_FILESYSTEM_PATH_INCLUDE_HPP
#define HAF_FILESYSTEM_PATH_INCLUDE_HPP
#include <mtypes/include/str.hpp>
namespace haf::sys
{
using Path = mtps::str;
} // namespace haf::sys
#endif
| gpl-2.0 |
Martazza/OpenNos | OpenNos.DAL.Interface/IInventoryDAO.cs | 632 | using OpenNos.Data;
using System.Collections.Generic;
namespace OpenNos.DAL.Interface
{
public interface IInventoryDAO
{
#region Methods
DeleteResult DeleteFromSlotAndType(long characterId, short slot, short type);
SaveResult InsertOrUpdate(ref InventoryDTO inventory);
IEnum... | gpl-2.0 |
junqiang521/Test | dnvme/tnvme-master/GrpNVMReadCmd/createResources_r10b.cpp | 5096 | /*
* Copyright (c) 2011, Intel Corporation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable ... | gpl-2.0 |
Huxellberger/AdventOfCode2015 | day03/Part1.java | 2479 | // Class to deliver presents to the children
// Prints out the houses delivered to at least once at the end
// Created By Jake Huxell For Advent Of Code 2015
import java.util.*;
import java.io.*;
public class Part1
{
// Function to convert index to hash map key
public static String getKey (int index[])
{
St... | gpl-2.0 |
VladislavMaslakov/seven | wp-content/themes/seven/index.php | 2182 | <?php get_header(); ?>
<!-- Start Container -->
<div id="container">
<!-- Content -->
<div class="content right news clearfix">
... | gpl-2.0 |
pawkoz/dyplom | blender/source/gameengine/Ketsji/KX_TouchEventManager.cpp | 7839 | /*
* ***** BEGIN GPL LICENSE BLOCK *****
*
* 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 d... | gpl-2.0 |
davidrousse/ezpuplish | app/ezpublish_legacy/var/ezwebin_site/cache/template/compiled/popup_sub_editclass_menu-ab659e251d18f3679eaedab5dec2ce7f.php | 1973 | <?php
// URI: design/admin/templates/popupmenu/popup_sub_editclass_menu.tpl
// Filename: design/admin/templates/popupmenu/popup_sub_editclass_menu.tpl
// Timestamp: 1349721948 (Mon Oct 8 18:45:48 UTC 2012)
$oldSetArray_2182f5ca506447c10badf9b3e3a46b92 = isset( $setArray ) ? $setArray : array();
$setArray = array... | gpl-2.0 |
avramishin/makerswp | wp-content/themes/makers/page-companies.php | 3115 | <?php
/**
* Template Name: Companies
* @package WordPress
*/
global $post;
$members = array();
$customList = array('website', 'type', 'description');
$args = array('numberposts' => 100, 'category_name' => 'companies');
$posts = get_posts($args);
$categoriesAll = array();
$firstCategory = null;
foreach ($posts a... | gpl-2.0 |
mehrmoudi/FA-Drawer | src/GUI/FAFrame.java | 6876 | package GUI;
import java.awt.Dimension;
import java.awt.FlowLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.ComponentEvent;
import java.awt.event.ComponentListener;
import javax.swing.BorderFactory;
import javax.swing.ButtonGroup;
import javax.swing.JButton;
impo... | gpl-2.0 |
Celludriel/L3DT_Filemanager | L3dtFileManager/L3dt/L3dtFile.cs | 634 | using L3dtFileManager.Amf;
using L3dtFileManager.Dmf;
using L3dtFileManager.Hff;
using L3dtFileManager.Hfz;
using L3dtFileManager.Wmf;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace L3dtFileManager.L3dt
{
public class L3dtFile
{
... | gpl-2.0 |
jsj2008/kdegames | ksirk/ksirk/iris/src/xmpp/sasl/digestmd5response.cpp | 2602 | /*
* Copyright (C) 2008 Remko Troncon
* See COPYING for license details.
*/
#include "xmpp/sasl/digestmd5response.h"
#include <QByteArray>
#include <QtCrypto>
#include <QtDebug>
#include "xmpp/sasl/digestmd5proplist.h"
#include "xmpp/base/randomnumbergenerator.h"
#include "xmpp/base64/base64.h"
namespace XMPP {... | gpl-2.0 |
lsj5031/monthly_report_nz | main.py | 4007 | import csv
import operator
import click
@click.command()
@click.option('--file', prompt='exported csv file', help='Download from you bank website.')
def read_csv(file):
parse_anz(file)
def sum_rows(row_list):
return reduce(operator.__add__, [float(row[2]) for row in row_list], 0)
category_list = ["superma... | gpl-2.0 |
Bysmyyr/cpabe | jpbc/jpbc-benchmark/src/main/java/it/unisa/dia/gas/jpbc/benchmark/Benchmark.java | 156 | package it.unisa.dia.gas.jpbc.benchmark;
/**
* @author Angelo De Caro (angelo.decaro@gmail.com)
*/
public interface Benchmark {
String toHTML();
}
| gpl-2.0 |
janoliver/pOT-Droid | src/main/java/com/mde/potdroid/helpers/ptr/SwipyRefreshLayout.java | 48107 | package com.mde.potdroid.helpers.ptr;
/*
* Copyright (C) 2013 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/L... | gpl-2.0 |
6WIND/scapy | scapy/route6.py | 12655 | # This file is part of Scapy
# See http://www.secdev.org/projects/scapy for more information
# Copyright (C) Philippe Biondi <phil@secdev.org>
# This program is published under a GPLv2 license
# Copyright (C) 2005 Guillaume Valadon <guedou@hongo.wide.ad.jp>
# Arnaud Ebalard <arnaud.ebalard@eads.ne... | gpl-2.0 |
eugcar/RSA_Algorithm | RSA_Algorithm/doc/vp_doc/content/tooltip.js | 9202 | var tooltip = {
hideTooltipTimeOut : 1000,
showTooltipTimeOut : 500,
xOffset : 20,
yOffset : 0,
area : Object,
shadowArea : Object,
tipLayer : Object,
tipConnectorLayer : Object,
tipPinLayer : Object,
hideTimeoutId : '',
showTimeoutId : '',
opacityId : '',
tooltipVisible : f... | gpl-2.0 |
kosmosby/medicine-prof | components/com_judownload/fields/core_language/core_language.php | 3103 | <?php
/**
* ------------------------------------------------------------------------
* JUDownload for Joomla 2.5, 3.x
* ------------------------------------------------------------------------
*
* @copyright Copyright (C) 2010-2015 JoomUltra Co., Ltd. All Rights Reserved.
* @license GNU General... | gpl-2.0 |
cuenka/Joomla | Modules/mod_latestonCategoryk2/tmpl/default.php | 788 | <?php // no direct access
defined('_JEXEC') or die;
JHtml::_('bootstrap.tooltip');
?>
<div class="row-striped">
<?php if (count($items)) : ?>
<?php foreach ($items as $item) : ?>
<div class="row-fluid">
<div class="span2">
<span class="big"><?php echo $item->id; ?></span>
</div>
<div class="s... | gpl-2.0 |
Raydicul/Zapinformatique | wp-content/themes/zapinformatique/header.php | 2573 | <?php
/**
* The Header for our theme.
*
* Displays all of the <head> section and everything up till <div id="content">
*
* @package Simone
*/
?><!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
<meta charset="<?php bloginfo( 'charset' ); ?>">
<meta name="viewport" content="width=device-width, initial-... | gpl-2.0 |