repo_name stringlengths 4 116 | path stringlengths 4 379 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
mwin007/WP-Tania-Site | wp-content/themes/forumengine/page-following.php | 3333 | <?php
/**
* Template Name: Following Threads Page
*/
get_header();
global $wp_query, $wp_rewrite, $post,$user_ID;
et_get_user_following_threads();
$data = et_get_unread_follow();
?>
<div class="header-bottom header-filter">
<div class="main-center">
<?php fe_navigations(); ?>
</div>
<div cl... | gpl-2.0 |
rex-xxx/mt6572_x201 | frameworks/compile/mclinker/lib/Support/RealPath.cpp | 1194 | //===- RealPath.cpp -------------------------------------------------------===//
//
// The MCLinker Project
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------------------... | gpl-2.0 |
lengagne/GestionEDT | src/Comment.cpp | 1278 | // Comment.h
// Copyright (C) 2012 lengagne (lengagne@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 Software Foundation, either version 3 of the License, or
// (at y... | gpl-2.0 |
alexwais/redmine_workflow_hidden_fields | lib/redmine_workflow_hidden_fields/query_patch.rb | 2111 | module RedmineWorkflowHiddenFields
module QueryPatch
def available_and_visible_columns
available_columns.reject{|col| col.respond_to?(:custom_field) ? completely_hidden_fields.include?(col.custom_field.id.to_s) : completely_hidden_fields.include?(col.name)}
end
# Returns an array of columns that can be... | gpl-2.0 |
hubzero/hubzero-cms | core/components/com_projects/site/views/projects/tmpl/_menu.php | 3916 | <?php
/**
* @package hubzero-cms
* @copyright Copyright (c) 2005-2020 The Regents of the University of California.
* @license http://opensource.org/licenses/MIT MIT
*/
// No direct access
defined('_HZEXEC_') or die();
$assetTabs = array();
// Sort tabs so that asset tabs are together
foreach ($this->tabs ... | gpl-2.0 |
hholzgra/osm2pgsql | geometry-builder.cpp | 27692 | /*
#-----------------------------------------------------------------------------
# Part of osm2pgsql utility
#-----------------------------------------------------------------------------
# By Artem Pavlenko, Copyright 2007
#
# This program is free software; you can redistribute it and/or
# modify it under the terms o... | gpl-2.0 |
TUD-OS/M3 | src/libs/m3/stream/Standard.cc | 1057 | /*
* Copyright (C) 2016, Nils Asmussen <nils@os.inf.tu-dresden.de>
* Economic rights: Technische Universitaet Dresden (Germany)
*
* This file is part of M3 (Microkernel-based SysteM for Heterogeneous Manycores).
*
* M3 is free software: you can redistribute it and/or modify
* it under the terms of the GNU Genera... | gpl-2.0 |
rollinm/xbmc | xbmc/XBDateTime.cpp | 33795 | /*
* Copyright (C) 2005-2013 Team XBMC
* http://xbmc.org
*
* This Program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* ... | gpl-2.0 |
thundernet8/WRGameVideos-API | app/open_1_0/errors.py | 1298 | from flask import jsonify
def incorrect_grant_type(message):
response = jsonify({'error': 'grant_type_error', 'message': message})
response.status_code = 200
return response
def incorrect_response_type(message):
response = jsonify({'error': 'response_type_error', 'message': message})
response.st... | gpl-2.0 |
srisatish/openjdk | hotspot/src/share/vm/shark/sharkInliner.cpp | 16766 | /*
* Copyright (c) 1999, 2007, Oracle and/or its affiliates. All rights reserved.
* Copyright 2009 Red Hat, Inc.
* 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 on... | gpl-2.0 |
znyang/eroid | library/src/main/java/com/zen/android/eroid/injection/DroidComponentManager.java | 598 | package com.zen.android.eroid.injection;
import com.zen.android.eroid.injection.component.DaggerIProDroidComponent;
import com.zen.android.eroid.injection.component.IDroidComponent;
/**
* DroidComponentManager
*
* @author zeny
* @version 2015.10.25
*/
public final class DroidComponentManager {
private stati... | gpl-2.0 |
vogel/kadu | plugins/single_window/translations/single_window_fr.ts | 1779 | <?xml version="1.0" ?><!DOCTYPE TS><TS language="fr" version="2.1">
<context>
<name>@default</name>
<message>
<source>Look</source>
<translation>Apparence</translation>
</message>
<message>
<source>SingleWindow</source>
<translation> Fenêtre unique</translation>
</mes... | gpl-2.0 |
Jane-Wu/zs | themes/capital/js/footer.js | 358 | /**
* @file
* Bootstrap Tooltips.
*/
var Drupal = Drupal || {};
(function ($, Drupal) {
"use strict";
/**
*/
Drupal.behaviors.autoFooter = {
attach: function (context) {
var bodyMinHeight = $(window).height() - 160;
$("div.main-container").css({"min-height": bodyMinHeight + "px"});
},
... | gpl-2.0 |
dipacs/Viwib | trunk/src/Viwib/src/com/eagerlogic/viwib/ui/welcome/WelcomeScreen.java | 7828 | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.eagerlogic.viwib.ui.welcome;
import com.eagerlogic.viwib.Viwib;
import com.eagerlogic.viwib.config.Config;
import com.eagerlogic.viwib.ui.addtracker.AddTrackerScreen;
import com.eagerlogic.viwib.ui.login.Log... | gpl-2.0 |
OSM-Forum/openstreetmap-forum | lang/Brazilian_Portuguese/misc.php | 4961 | <?php
// Language definitions used in various scripts
$lang_misc = array(
'Mark read redirect' => 'Todos os tópicos deste fórum foram marcados como lidos. Redirecionando …',
'Mark forum read redirect' => 'Todos os tópicos no fórum especificado foram marcados como lidos. Redirecionando …',
// Send email
'Form emai... | gpl-2.0 |
nestoronald/sismos | modules/mod_k2_filter/helper.php | 2663 | <?php
/*
// "K2 Tools" Module by JoomlaWorks for Joomla! 1.5.x - Version 2.1
// Copyright (c) 2006 - 2009 JoomlaWorks Ltd. All rights reserved.
// Released under the GNU/GPL license: http://www.gnu.org/copyleft/gpl.html
// More info at http://www.joomlaworks.gr and http://k2.joomlaworks.gr
// Designed and developed by... | gpl-2.0 |
spiridonov-oa/Oxpaha | administrator/components/com_spidercontacts/toolbar.spidercontacts.html.php | 2126 | <?php
/**
* @package Spider Contacts
* @author Web-Dorado
* @copyright (C) 2012 Web-Dorado. All rights reserved.
* @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
**/
defined('_JEXEC') or die('Restricted access');
class TOOLBAR_spidercontacts
{
function _VIEW($controller)
{ JToolBarHe... | gpl-2.0 |
Open-Transport/synthese | legacy/server/src/39_map/MapModule.gen.cpp | 33 | synthese::map::moduleRegister();
| gpl-2.0 |
zhangweiheu/exams-system-core | src/main/java/com/online/exams/system/core/service/impl/PaperGenerateServiceImpl.java | 8173 | package com.online.exams.system.core.service.impl;
import com.online.exams.system.core.bean.MongoPaper;
import com.online.exams.system.core.bean.QuestionMap;
import com.online.exams.system.core.dao.MongoPaperDao;
import com.online.exams.system.core.dao.PaperDao;
import com.online.exams.system.core.dao.PaperGenerateDao... | gpl-2.0 |
andrewroldugin/art | third_party/boost/boost/mpl/aux_/begin_end_impl.hpp | 2816 |
#ifndef BOOST_MPL_AUX_BEGIN_END_IMPL_HPP_INCLUDED
#define BOOST_MPL_AUX_BEGIN_END_IMPL_HPP_INCLUDED
// Copyright Aleksey Gurtovoy 2000-2004
//
// 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)
//
// Se... | gpl-2.0 |
inderpreet/Galileo-win32 | VisualStudio/WinSock2_Client/WinSock2_Client/main.cpp | 2960 | #define WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <winsock2.h>
#include <ws2tcpip.h>
#include <stdlib.h>
#include <stdio.h>
// Need to link with Ws2_32.lib, Mswsock.lib, and Advapi32.lib
#pragma comment (lib, "Ws2_32.lib")
#pragma comment (lib, "Mswsock.lib")
#pragma comment (lib, "AdvApi32.lib")
#define D... | gpl-2.0 |
Ausm/ObjectStore | src/ObjectStore/ObjectStore.cs | 3351 | using ObjectStore.Interfaces;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.CompilerServices;
#if NETCOREAPP1_0
using System.Reflection;
#endif
[assembly: InternalsVisibleTo("ObjectStore.SqlClient")]
[assembly: InternalsVisibleTo("ObjectStore.Sqlite")]
namespace ObjectStore... | gpl-2.0 |
cala/mangos-wotlk | src/game/BattleGround/BattleGroundMgr.cpp | 98911 | /*
* This file is part of the CMaNGOS Project. See AUTHORS file for Copyright information
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your o... | gpl-2.0 |
blackducksoftware/appedit | src/test/java/com/blackducksoftware/tools/appedit/mocks/MockCodeCenterServerWrapper.java | 3904 | /**
* Application Details Edit Webapp
*
* Copyright (C) 2017 Black Duck Software, Inc.
* http://www.blackducksoftware.com/
*
* 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
* regar... | gpl-2.0 |
stweil/TYPO3.CMS | typo3/sysext/fluid/Classes/ViewHelpers/Format/DateViewHelper.php | 5167 | <?php
/*
* This file is part of the TYPO3 CMS project.
*
* It is free software; you can redistribute it and/or modify it under
* the terms of the GNU General Public License, either version 2
* of the License, or any later version.
*
* For the full copyright and license information, please read the
* LICENSE.tx... | gpl-2.0 |
rlugojr/rekall | rekall-core/rekall/plugins/response/processes.py | 7465 | """Rekall plugins for displaying processes in live triaging."""
import psutil
from efilter.protocols import structured
from rekall import utils
from rekall.plugins import core
from rekall.plugins.response import common
from rekall.plugins.overlays import basic
from rekall.plugins import yarascanner
class _LivePro... | gpl-2.0 |
nathanscottdaniels/pnant | src/NAnt.Core/Tasks/ExternalProgramBase.cs | 27917 | // pNAnt - A parallel .NET build tool
// Copyright (C) 2016 Nathan Daniels
// Original NAnt Copyright (C) 2001-2003 Gerry Shaw
//
// 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 versio... | gpl-2.0 |
lispwriter/sirem | wp-content/themes/dynamo/ocmx/widgets/category-wiget.php | 6163 | <?php
class obox_category_widget extends WP_Widget {
/** constructor */
function obox_category_widget() {
parent::WP_Widget(false, $name = "(Obox) Product Category Widget", array("description" => "Home Page Widget - This widget displays your Product categories in a 3 or 4 column layout"));
}
/... | gpl-2.0 |
andryw/quemMeRepresenta | preprocessamento-senado/print_date.py | 426 | #!/usr/bin/python
import time
from datetime import date, timedelta as td
print "hello, it me"
fileToWrite = open("dias.txt",'w')
#AAAA,MM,DD
d1 = date(2015, 6, 15)
d2 = date(int(time.strftime("%Y")), int(time.strftime("%m")), int(time.strftime("%d")))
delta = d2 - d1
for i in range(delta.days + 1):
dia = d1... | gpl-2.0 |
padmanabhan-developer/EstarProd | sites/default/files/php/twig/075870e6_feed-icon.html.twig_319d734a2973057fa5cba34c071e8b6c98b2160b81200b5fdb6739604f154385/ea7f44a8ae00ff8c84e45d706b7e0a111648f2f382d13d7c5fb059d243aaa84c.php | 3105 | <?php
/* core/themes/stable/templates/misc/feed-icon.html.twig */
class __TwigTemplate_03b6e2a5e6e57728a0bbeada527bdfad19ec0a5379760a0d6eb10f8ced0509e6 extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this-... | gpl-2.0 |
FRCTeam4069/RobotCode2014 | src/frc/team4069/thirdyear/subsystems/Pickup.java | 2645 | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package frc.team4069.thirdyear.subsystems;
import edu.wpi.first.wpilibj.DigitalInput;
import edu.wpi.first.wpilibj.DoubleSolenoid;
import edu.wpi.first.wpilibj.Talon;
import edu.wpi.first.wpilibj.command.Subsystem;
impo... | gpl-2.0 |
wangtaoenter/Books | Main/src/org/geometerplus/zlibrary/core/html/ZLHtmlProcessor.java | 1234 | /*
* Copyright (C) 2007-2014 Geometer Plus <contact@geometerplus.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 Software Foundation; either version 2 of the License, or
* (at your option) any later ver... | gpl-2.0 |
ahmedmusawir/tripasia | page-templates/country-post-template.php | 2548 | <?php
/**
* Template Name: Country Post Template
*
*/
get_header(); ?>
<section id="primary" class="content-area">
<div id="content" class="site-content" role="main">
<?php if ( have_posts() ) : ?>
<header class="page-header">
<h1 class="page-title pull-left">
<?php
if ( is_day() ) :
... | gpl-2.0 |
evanbuss/wordpress | wp-content/plugins/js_composer/include/classes/shortcodes/shortcodes.php | 37349 | <?php
/**
* WPBakery Visual Composer Shortcodes main
*
* @package WPBakeryVisualComposer
*
*/
/* abstract VisualComposer class to create structural object of any type */
if ( ! class_exists( 'WPBakeryVisualComposerAbstract' ) ) {
/**
* Class WPBakeryVisualComposerAbstract
*/
abstract class WPBa... | gpl-2.0 |
yast/yast-configuration-management | src/lib/y2configuration_management/salt/form_element_locator.rb | 7241 | # encoding: utf-8
# Copyright (c) [2019] SUSE LLC
#
# All Rights Reserved.
#
# This program is free software; you can redistribute it and/or modify it
# under the terms of version 2 of the GNU General Public License as published
# by the Free Software Foundation.
#
# This program is distributed in the hope that it wil... | gpl-2.0 |
Jun-Yuan/percona-server | sql/sql_lex.cc | 116402 | /*
Copyright (c) 2000, 2016, Oracle and/or its affiliates. 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; version 2 of the License.
This program is distributed i... | gpl-2.0 |
geckoblu/kang | kang/modules/exceptionHandler.py | 2411 | # pylint: disable=global-statement
from PyQt4.QtCore import QT_VERSION_STR
import string
import sys
import traceback
from kang import VERSION
__mainWindow = None
__showedexmess = set()
__debug = False
def init(mainWindow, debug=False):
"""
Initialize the module
"""
global __mainWindow
global _... | gpl-2.0 |
kunj1988/Magento2 | app/code/Magento/Sales/Model/Order/Invoice/Item.php | 18364 | <?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\Sales\Model\Order\Invoice;
use Magento\Framework\Api\AttributeValueFactory;
use Magento\Sales\Api\Data\InvoiceItemInterface;
use Magento\Sales\Model\AbstractModel;
/**
* @api
* @method float get... | gpl-2.0 |
chrizel/bt | src/alloc.cc | 1154 | /* Bermuda Triangle - action adventure game
Copyright (C) 2004 Christian Zeller <chrizel@gmx.net>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(a... | gpl-2.0 |
Fluorohydride/ygopro-scripts | c58807980.lua | 2299 | --モノケロース
function c58807980.initial_effect(c)
c:EnableReviveLimit()
--special summon
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetCode(EFFECT_SPSUMMON_PROC)
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE)
e1:SetRange(LOCATION_HAND)
e1:SetCondition(c58807980.hspcon)
e1:S... | gpl-2.0 |
m-maste/Swordpaw | wp-content/themes/swordpaw/index.php | 1253 | <?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 e... | gpl-2.0 |
Blaez/ZiosGram | TMessagesProj/src/main/java/org/telegram/messenger/exoplayer2/extractor/ts/Id3Reader.java | 3839 | /*
* Copyright (C) 2016 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/LICENSE-2.0
*
* Unless required by app... | gpl-2.0 |
dagochen/mangos-classic | src/scriptdev2/scripts/eastern_kingdoms/molten_core/boss_majordomo_executus.cpp | 18145 | /* This file is part of the ScriptDev2 Project. See AUTHORS file for Copyright information
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your opti... | gpl-2.0 |
castlecms/castle.cms | castle/cms/tiles/base.py | 10347 | from plone.memoize.view import memoize
from castle.cms.utils import parse_query_from_data
from plone.memoize.view import memoize_contextless
from plone.tiles import Tile
from plone.tiles.interfaces import IPersistentTile
from Products.CMFCore.utils import getToolByName
from urllib import quote_plus
from zope.component ... | gpl-2.0 |
alons182/partytime | plugins/k2store/shipping_standard/shipping_standard/tables/shippingmethods.php | 797 | <?php
/** ensure this file is being included by a parent file */
defined( '_JEXEC' ) or die( 'Restricted access' );
class TableShippingMethods extends JTable
{
function TableShippingMethods ( $db )
{
$tbl_key = 'shipping_method_id';
$tbl_suffix = 'shippingmethods';
$this->set( '_su... | gpl-2.0 |
ljx0305/ice | cpp/test/IceUtil/thread/AliveTest.cpp | 1989 | // **********************************************************************
//
// Copyright (c) 2003-2017 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// ***************************************************... | gpl-2.0 |
dusik/realejuventudfan | core/modules/path/path.api.php | 1499 | <?php
/**
* @file
* Hooks provided by the Path module.
*/
/**
* @addtogroup hooks
* @{
*/
/**
* Respond to a path being inserted.
*
* @param $path
* An associative array containing the following keys:
* - source: The internal system path.
* - alias: The URL alias.
* - pid: Unique path alias iden... | gpl-2.0 |
leiran/aermodpy | aermod.py | 32889 | #!/usr/bin/env python
"""Python interface to AERMOD modeling system files.
design notes:
+ Bug on POST processing; only processes 996 hours
- proposed fix: in-place averaging, discard hourly data
developed for python 3.x
"""
# docstring metadata
__author__ = "Leiran Biton"
__copyright__ = "Copyright 2015"
__cr... | gpl-2.0 |
eareyan/tradedirectionprediction | src/financialpredictor/Exception/FinancialPredictorException.java | 291 | /*
* Generic exception for the finanacialpredictor library
*/
package financialpredictor.Exception;
/**
*
* @author enriqueareyan
*/
public class FinancialPredictorException extends Exception{
public FinancialPredictorException(String string) {
super(string);
}
}
| gpl-2.0 |
fbarthelery/RoomConnect | mobile/src/main/java/com/genymobile/roomconnect/roomengine/ChannelJoinListener.java | 160 | package com.genymobile.roomconnect.roomengine;
public interface ChannelJoinListener {
void onChannelJoinSuccessfull();
void onChannelJoinError();
}
| gpl-2.0 |
hiikezoe/tpkbdctl | tpkbdctl/__init__.py | 8411 | # -*- coding: utf-8 -*-
# vim:set sw=4 ts=4 et:
from os import listdir, sep, access, W_OK
from os.path import isdir, isfile, islink, realpath, normpath, basename
from os.path import join as join_path
from struct import pack
from fcntl import ioctl
import re
class HidrawDevice(object):
can_get = False
def _... | gpl-2.0 |
itkinside/ari | ari/fx/spiral.py | 1882 | #! /usr/bin/env python
#
# Copyright (C) 2006 Vidar Wahlberg
#
# 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 distributed in the hope that it will be useful,
# but... | gpl-2.0 |
allmyservos/allmyservos | contrib/AllMyServos/TrayIcon/TrayIcon.py | 4996 | #!/usr/bin/python
#######################################################################
# AllMyServos - Fun with PWM
# Copyright (C) 2015 Donate BTC:14rVTppdYQzLrqay5fp2FwP3AXvn3VSZxQ
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as pu... | gpl-2.0 |
TheTypoMaster/calligra | libs/textlayout/KoTextLayoutNoteArea.cpp | 7036 | /* This file is part of the KDE project
* Copyright (C) 2011 Brijesh Patel <brijesh3105@gmail.com>
*
* 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 Licen... | gpl-2.0 |
scs/uclinux | lib/boost/boost_1_38_0/libs/wave/samples/token_statistics/token_statistics.cpp | 9181 | /*=============================================================================
Boost.Wave: A Standard compliant C++ preprocessor library
http://www.boost.org/
Copyright (c) 2001-2009 Hartmut Kaiser. Distributed under the Boost
Software License, Version 1.0. (See accompanying file
LICENSE_1_0.tx... | gpl-2.0 |
mambax7/257 | htdocs/modules/extcal/versions/extcal_2_33.php | 1827 | <?php
/**
* extcal module.
*
* You may not change or alter any portion of this comment or credits
* of supporting developers from this source code or any supporting source code
* which is considered copyrighted (c) material of the original comment or credit authors.
* This program is distributed in the hope that ... | gpl-2.0 |
senven/blog | wp-content/themes/sonicbids/content.php | 3423 | <?php
/**
* The default template for displaying content
*
* @package WordPress
* @subpackage Sonicbids CMS
*/
?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<header class="entry-header">
<?php if ( is_sticky() ) : ?>
<hgroup>
<h2><a href="<?php the_permalink(); ?>" title="<?php pr... | gpl-2.0 |
srisatish/openjdk | hotspot/src/cpu/sparc/vm/c1_LIRAssembler_sparc.cpp | 113323 | /*
* Copyright (c) 2000, 2010, 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 |
uannight/reposan | plugin.video.tvalacarta/channels/rtspan.py | 9055 | # -*- coding: utf-8 -*-
#------------------------------------------------------------
# pelisalacarta - XBMC Plugin
# Canal para rtspan
# http://blog.tvalacarta.info/plugin-xbmc/pelisalacarta/
#------------------------------------------------------------
import urlparse,urllib2,urllib,re
import os, sys
from core impo... | gpl-2.0 |
koalakoker/PGap | TextBuffer2HTMLConvert.py | 3852 | '''
Created on 02/giu/2015
@author: koala
'''
import os
typeTag = {"Bold": 0, "Underline": 1, "Italic": 2}
statusTag = [False, False, False]
HTMLTagsOpen = ["<b>","<u>","<i>"]
HTMLTagsClose = ["</b>", "</u>" ,"</i>"]
XML_SEPARATOR = "##@@##"
def getTagNames(tags):
currentTag = []
for t in tags:
... | gpl-2.0 |
wiktorm/projekt-awr | components/com_phocadownload/views/category/view.html.php | 9818 | <?php
/*
* @package Joomla 1.5
* @copyright Copyright (C) 2005 Open Source Matters. All rights reserved.
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php
*
* @component Phoca Component
* @copyright Copyright (C) Jan Pavelka www.phoca.cz
* @license http://www.gnu.org/copyleft/gpl.html GNU/... | gpl-2.0 |
panzi/KDE-Folderview-Translucent-D-n-D-Hack | dolphin/src/kitemviews/kfileitemmodelfilter.cpp | 2633 | /***************************************************************************
* Copyright (C) 2011 by Janardhan Reddy *
* <annapareddyjanardhanreddy@gmail.com> *
* *
* This pr... | gpl-2.0 |
hildebrandttk/javaee7-petclinic | src/test/graphene/common/src/main/java/org/woehlke/javaee7/petclinic/web/pages/OwnersTableFragment.java | 1015 | package org.woehlke.javaee7.petclinic.web.pages;
import java.util.ArrayList;
import java.util.List;
import org.jboss.arquillian.graphene.fragment.Root;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.FindBy;
public class OwnersTableFragment {
@Root
private WebElement root;
@FindB... | gpl-2.0 |
pbhopalka/AccountingSoftware | accounting/migrations/0004_auto_20150927_2227.py | 407 | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
class Migration(migrations.Migration):
dependencies = [
('accounting', '0003_auto_20150927_2223'),
]
operations = [
migrations.AlterField(
model_name='c_details',
... | gpl-2.0 |
drazenzadravec/nequeo | Source/Components/Linq/Nequeo.Linq/Nequeo.Linq/base/DynamicExpression.cs | 111142 | /* Company : Nequeo Pty Ltd, http://www.nequeo.com.au/
* Copyright : Copyright © Nequeo Pty Ltd 2010 http://www.nequeo.com.au/
*
* File :
* Purpose :
*
*/
#region Nequeo Pty Ltd License
/*
Permission is hereby granted, free of charge, to any person
obtaining a... | gpl-2.0 |
niloc132/mauve-gwt | src/main/java/gnu/testlet/java/lang/Error/classInfo/getModifiers.java | 2227 | // Test for method java.lang.Error.getClass().getModifiers()
// 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 Foundat... | gpl-2.0 |
ProfessorX/Config | .PyCharm30/system/python_stubs/-1247972723/samba/dcerpc/drsuapi/DsReplicaModRequest1.py | 1298 | # encoding: utf-8
# module samba.dcerpc.drsuapi
# from /usr/lib/python2.7/dist-packages/samba/dcerpc/drsuapi.so
# by generator 1.135
""" drsuapi DCE/RPC """
# imports
import dcerpc as __dcerpc
import talloc as __talloc
class DsReplicaModRequest1(__talloc.Object):
# no doc
def __init__(self, *args, **kwargs):... | gpl-2.0 |
freddiegar/zerocodigo | zc/plantilla/js/jsLlamadosCrearAjax.js | 1569 | // Definicion de la accion {_nombreAccion_}
if (nombreAccion === '{_nombreAccion_}' && $('#{_idFormulario_}').parsley().validate()) {
$.ajax({
// A la accion se le concatena la palabra cliente, asi se llama en la funcion
url: URLControlador + '{_nombreAccion_}... | gpl-2.0 |
ehzil/light-injector | LightInjector/LightInjector.Annotations/ReferAttribute.cs | 1220 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LightInjector.Annotations
{
/// <summary>
/// Inject an instance from LightInjector.
/// </summary>
[AttributeUsage(AttributeTargets.Constructor | AttributeTargets.Field | Attr... | gpl-2.0 |
lv-code/mywordpress | wp-content/themes/steam/functions/shortcodes/toggles.php | 4233 | <?php
/**
*
*/
class itToggles {
/**
*
*/
public static function toggles( $atts = null, $content = null, $code = null ) {
if( $atts == 'generator' ) {
$numbers = range(1,100);
$option = array(
'name' => __( 'Toggle', IT_TEXTDOMAIN ),
'value' => 'toggles',
'options' => array(
ar... | gpl-2.0 |
nagerenxiong/ChromeExtension | shangzheng/node_modules/zrender/lib/container/Group.js | 8050 | /**
* Group是一个容器,可以插入子节点,Group的变换也会被应用到子节点上
* @module zrender/graphic/Group
* @example
* var Group = require('zrender/lib/container/Group');
* var Circle = require('zrender/lib/graphic/shape/Circle');
* var g = new Group();
* g.position[0] = 100;
* g.position[1] = 100;
* g.add(new Circl... | gpl-2.0 |
v7fasttrack/virtuoso-opensource | binsrc/tests/biftest/java/Restricted.java | 1765 | /*
*
* This file is part of the OpenLink Software Virtuoso Open-Source (VOS)
* project.
*
* Copyright (C) 1998-2014 OpenLink Software
*
* This project 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 Foundat... | gpl-2.0 |
kunj1988/Magento2 | app/code/Magento/Catalog/view/adminhtml/web/js/components/new-attribute-form.js | 2364 | /**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
define([
'jquery',
'Magento_Ui/js/form/form',
'Magento_Ui/js/modal/prompt',
'Magento_Ui/js/modal/alert'
], function ($, Form, prompt, alert) {
'use strict';
return Form.extend({
defaults: ... | gpl-2.0 |
pypingou/pagure | alembic/versions/317a285e04a8_delete_hooks.py | 1538 | """Delete hooks
Revision ID: 317a285e04a8
Revises: 2aa7b3958bc5
Create Date: 2016-05-30 11:28:48.512577
"""
# revision identifiers, used by Alembic.
revision = '317a285e04a8'
down_revision = '2aa7b3958bc5'
from alembic import op
import sqlalchemy as sa
def upgrade():
""" Alter the hooks table to update the fo... | gpl-2.0 |
HankTheDrunk/ultimaonlinemapcreator | REF/JB-dotPeek/DLL/Ultima/TileFlag.cs | 1047 | // Decompiled with JetBrains decompiler
// Type: Ultima.TileFlag
// Assembly: Ultima, Version=1.0.1472.37576, Culture=neutral, PublicKeyToken=null
// MVID: 46638872-DE1F-4F9F-8E8D-1BE44A131A9D
// Assembly location: W:\JetBrains\UOLandscaper\Ultima.dll
using System;
namespace Ultima
{
[Flags]
public enum TileFlag... | gpl-2.0 |
astridx/joomla-cms | build/media_source/system/js/fields/joomla-field-user.w-c.es6.js | 4274 | (() => {
class JoomlaFieldUser extends HTMLElement {
constructor() {
super();
this.onUserSelect = '';
this.onchangeStr = '';
this.buttonClick = this.buttonClick.bind(this);
this.iframeLoad = this.iframeLoad.bind(this);
}
static get observedAttributes() {
return ['url'... | gpl-2.0 |
bkhurram/advance-history-chrome | components/angular/angular.min.js | 104906 | /*
AngularJS v1.3.0-build.2498+sha.ccba305
(c) 2010-2014 Google, Inc. http://angularjs.org
License: MIT
*/
(function(Q,T,s){'use strict';function C(b){return function(){var a=arguments[0],c,a="["+(b?b+":":"")+a+"] http://errors.angularjs.org/1.3.0-build.2498+sha.ccba305/"+(b?b+"/":"")+a;for(c=1;c<arguments.length;c+... | gpl-2.0 |
f1194361820/helper | commons/src/main/java/com/fjn/helper/common/jmx/client/JmxAuthBuilder.java | 1194 | /*
*
* Copyright 2018 FJN Corp.
*
* 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 ag... | gpl-2.0 |
GamerzHell9137/ppsspp | UI/MainScreen.cpp | 37855 | // Copyright (c) 2013- PPSSPP Project.
// 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.0 or later versions.
// This program is distributed in the hope that it will be useful,
// b... | gpl-2.0 |
mrcpj1998/BulletJumpers | src/options.lua | 1443 | function loadOptions()
--Declare the options var and clear it
options = {}
options.playerName = "lolrus"
options.fullscreen = false
options.jumpKey = "up"
options.leftKey = "left"
options.rightKey = "right"
local words = {}
local s = love.filesystem.read("options.pref")
--splits the string... | gpl-2.0 |
mailoplatform/ServerTools | src/de/maltesermailo/OpMessage/PlayerListener.java | 4859 | package de.maltesermailo.OpMessage;
import java.io.File;
import org.bukkit.Bukkit;
import org.bukkit.Effect;
import org.bukkit.Location;
import org.bukkit.Material;
import org.bukkit.Sound;
import org.bukkit.World;
import org.bukkit.configuration.file.YamlConfiguration;
import org.bukkit.entity.EntityTyp... | gpl-2.0 |
ia-toki/judgels | judgels-backends/uriel/uriel-app/src/main/java/judgels/uriel/file/FileFs.java | 220 | package judgels.uriel.file;
import static java.lang.annotation.RetentionPolicy.RUNTIME;
import java.lang.annotation.Retention;
import javax.inject.Qualifier;
@Qualifier
@Retention(RUNTIME)
public @interface FileFs {}
| gpl-2.0 |
sk19871216/Yilife | app/src/main/java/com/jiuan/android/app/yilife/imageloader/MyAdapter.java | 4179 | package com.jiuan.android.app.yilife.imageloader;
import android.content.Context;
import android.graphics.Color;
import android.graphics.drawable.Drawable;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.ImageView;
import android.widget.TextView;
import com.jiuan.android.app... | gpl-2.0 |
FishFilletsNG/fillets-data | script/propulsion/demo_dialogs_sv.lua | 998 |
dialogId("dlg-x-poster1", "font_poster", "Squirrel - this is a notion that will be effective today widely talked about in the next few years in connection with interspace propulsion. This is also possible reason of UFO visits of the Earth.")
dialogStr("Ekorrar - det här är ett meddelande som kommer att bli mycket omta... | gpl-2.0 |
iammyr/Benchmark | src/main/java/org/owasp/benchmark/testcode/BenchmarkTest10174.java | 2308 | /**
* 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 |
shaun2029/Wifi-Reset | src/uk/co/immutablefix/wifireset/WifiResetActivity.java | 2457 | // Copyright 2013 Shaun Simpson shauns2029@gmail.com
package uk.co.immutablefix.wifireset;
import android.app.Activity;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
/**
* This class... | gpl-2.0 |
terrychao2013/Aemon | Translation/src/StringItem.java | 3470 | import java.util.ArrayList;
public class StringItem {
private String mStringId;
private String mLocale;
private ArrayList<String> values = new ArrayList<String>();
public StringItem(String id, String locale) {
mStringId = id;
mLocale = locale;
}
public void addValue(String value) {
values.add(value);
... | gpl-2.0 |
sergeev/hgroundcore | src/scripts/scripts/zone/zulaman/boss_janalai.cpp | 21315 | /* Copyright (C) 2006 - 2008 ScriptDev2 <https://scriptdev2.svn.sourceforge.net/>
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
*(at your option) any later... | gpl-2.0 |
minhduc150496/ftunews.com | wp-content/themes/FTUNEWSv3/header.php | 6523 | <?php
/**
* @package WordPress
* @subpackage HTML5_Boilerplate
* @file header.php
*/
?>
<!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->... | gpl-2.0 |
iucn-whp/world-heritage-outlook | portlets/iucn-dbservice-portlet/docroot/WEB-INF/src/com/iucn/whp/dbservice/model/impl/state_lkpBaseImpl.java | 1799 | /**
* Copyright (c) 2000-2012 Liferay, Inc. All rights reserved.
*
* This library 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 option)
* any later... | gpl-2.0 |
cblichmann/idajava | javasrc/src/de/blichmann/idajava/natives/SWIGTYPE_p_qvectorT__qstringT_char_t_t.java | 808 | /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 2.0.0
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ------------------------------... | gpl-2.0 |
ewout/moodle-atpusp | mod/attforblock/lib.php | 13009 | <?PHP // $Id: lib.php,v 1.4.2.5 2009/03/11 18:21:08 dlnsk Exp $
/// Library of functions and constants for module attforblock
$attforblock_CONSTANT = 7; /// for example
function attforblock_install() {
$result = true;
$arr = array('P' => 2, 'A' => 0, 'L' => 1, 'E' => 1);
foreach ($arr as $k => $v) {
unse... | gpl-2.0 |
SvichkarevAnatoly/stepic-java-web-service | task3/src/main/java/datasets/UserDataSet.java | 1299 | package datasets;
import javax.persistence.*;
import java.io.Serializable;
@Entity
@Table(name = "users")
public class UserDataSet implements Serializable {
private static final long serialVersionUID = -8706689714326132798L;
@Id
@Column(name = "id")
@GeneratedValue(strategy = GenerationType.IDENTITY)... | gpl-2.0 |
athiasjerome/XORCISM | SOURCES/XORCISMModel/STAGEDESCRIPTION.cs | 1730 | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated from a template.
//
// Manual changes to this file may cause unexpected behavior in your application.
// Manual changes to this file will be overwritten if the code is regenerated.... | gpl-2.0 |
huojiecs/game1 | game-server/app/tools/openSdks/tencent/msdkWxPayment.js | 5414 | /**
* Created by kazi on 2014/6/10.
*/
var logger = require('pomelo/node_modules/pomelo-logger').getLogger('tencent-payment', __filename);
var apiWrapper = require('./../common/apiWrapper');
var config = require('./../../config');
var urlencode = require('urlencode');
var request = require('request');
var Q = requir... | gpl-2.0 |
jmc-88/tint3 | src/util/pipe_test.cc | 5286 | #include "catch.hpp"
#include <cstring>
#include <string>
#include <utility>
#include <fcntl.h>
#include <stdlib.h>
#include <sys/mman.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <unistd.h>
#include "behavior_control.hh"
#include "unix_features.hh"
#include "util/log.hh"
#include "util/pipe.hh"
TEST_CA... | gpl-2.0 |
schlos/GreenAlert | app/Http/Controllers/api/ApiSubscriptionController.php | 9994 | <?php namespace Greenalert\Http\Controllers\api;
use Greenalert\Http\Controllers\Controller;
use Greenalert\Project;
use Greenalert\Subscription;
use Greenalert\User;
use Illuminate\Http\Request;
class ApiSubscriptionController extends Controller {
/**
* Display a listing of the resource.
*
* @re... | gpl-2.0 |
kaplun/invenio | modules/bibedit/lib/bibeditmulti_webinterface.py | 12829 | ## This file is part of Invenio.
## Copyright (C) 2009, 2010, 2011 CERN.
##
## Invenio 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 versio... | gpl-2.0 |
holzgeist/Piwigo | language/el_GR/install.lang.php | 8592 | <?php
// +-----------------------------------------------------------------------+
// | Piwigo - a PHP based photo gallery |
// +-----------------------------------------------------------------------+
// | Copyright(C) 2008-2014 Piwigo Team http://piwigo.org |
// | C... | gpl-2.0 |
kbcmdba/pjs2 | Libs/Models/ApplicationStatusModel.php | 4652 | <?php
/**
* phpjobseeker
*
* Copyright (C) 2009, 2015, 2017 Kevin Benton - kbenton at bentonfam dot 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,... | gpl-2.0 |