code stringlengths 3 1.05M | repo_name stringlengths 4 116 | path stringlengths 3 942 | language stringclasses 30
values | license stringclasses 15
values | size int32 3 1.05M |
|---|---|---|---|---|---|
//@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... | pastewka/lammps | lib/kokkos/core/src/eti/ROCm/Kokkos_ROCm_ViewCopyETIInst_int_int64_t_LayoutRight_Rank8.cpp | C++ | gpl-2.0 | 2,682 |
#include <yafray_config.h>
#include <core_api/ray.h>
#include <core_api/color.h>
#include <core_api/volume.h>
#include <core_api/bound.h>
#include <core_api/surface.h>
#include <core_api/texture.h>
#include <core_api/environment.h>
#include <utilities/mcqmc.h>
#include <fstream>
#include <cstdlib>
__BEGIN_YAFRAY
st... | DavidBluecame/Core | src/volumes/GridVolume.cc | C++ | gpl-2.0 | 4,802 |
/*
* $RCSfile: JspFactory.java,v $
* $Revision: 1.1 $
* $Date: 2013-02-19 $
*
* Copyright (C) 2008 Skin, Inc. All rights reserved.
*
* This software is the proprietary information of Skin, Inc.
* Use is subject to license terms.
*/
package com.skin.ayada.runtime;
import java.io.Writer;
import java.util.Map;
... | xuesong123/jsp-jstl-engine | src/main/java/com/skin/ayada/runtime/JspFactory.java | Java | gpl-2.0 | 1,893 |
#!/usr/bin/env python
###############################################################################
# $Id: rasterize.py 32165 2015-12-13 19:01:22Z goatbar $
#
# Project: GDAL/OGR Test Suite
# Purpose: Test RasterizeLayer() and related calls.
# Author: Frank Warmerdam <warmerdam@pobox.com>
#
######################... | nextgis-extra/tests | lib_gdal/alg/rasterize.py | Python | gpl-2.0 | 11,966 |
/* Copyright (c) 2000, 2016, Oracle and/or its affiliates.
Copyright (c) 2012, 2020, MariaDB Corporation.
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.
Thi... | MariaDB/server | sql/net_serv.cc | C++ | gpl-2.0 | 40,989 |
<?php
namespace UsingTraits;
/**
* A controller.
*/
class ProductController
{
use DeleteEntity;
/**
* @OA\Get(
* tags={"Products"},
* path="/products/{product_id}",
* @OA\Parameter(
* description="ID of product to return",
* in="path",
* name="product_id... | egbot/Symbiota | api/vendor/zircote/swagger-php/Examples/using-traits/ProductController.php | PHP | gpl-2.0 | 606 |
#!/bin/bash -x
echo "[Toromino's Scripts] TCleaner will clean your Downloads folder!"
mkdir $HOME/Downloads/TCleaner/
mkdir $HOME/Downloads/TCleaner/Music/
mkdir $HOME/Downloads/TCleaner/Pictures/
mkdir $HOME/Downloads/TCleaner/Compressed/
mkdir $HOME/Downloads/TCleaner/Packages/
mkdir $HOME/Downloads/TCleaner/Shell-S... | Toromino/TCleaner | TCleaner.sh | Shell | gpl-2.0 | 1,547 |
<?php
/**
* @group scripts
*/
class Tests_Scripts extends EDD_UnitTestCase {
/**
* Test if all the file hooks are working.
*
* @since 2.3.6
*/
public function test_file_hooks() {
$this->assertNotFalse( has_action( 'wp_enqueue_scripts', 'edd_load_scripts' ) );
$this->assertNotFalse( has_action( 'wp_en... | easydigitaldownloads/Easy-Digital-Downloads | tests/tests-scripts.php | PHP | gpl-2.0 | 4,022 |
/*
* Copyright (C) 2008-2011 TrinityCore <http://www.trinitycore.org/>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later ve... | proofrepo/MadboxpcWOW_3.0 | src/server/scripts/Northrend/Ulduar/ulduar/boss_assembly_of_iron.cpp | C++ | gpl-2.0 | 30,497 |
/**
* @file
* @author Witek902 (witek902@gmail.com)
*/
#include "PCH.hpp"
#include "Event_Input.hpp"
#include "Engine/Common/Reflection/ReflectionClassDefine.hpp"
NFE_DEFINE_POLYMORPHIC_CLASS(NFE::Scene::Event_Input)
NFE_CLASS_PARENT(NFE::Scene::Event)
NFE_END_DEFINE_CLASS()
namespace NFE {
namespace Scene ... | nfprojects/nfengine | Src/Engine/Core/Scene/Events/Event_Input.cpp | C++ | gpl-2.0 | 441 |
//
// GPActionDeclFloat.cs
//
// Author(s):
// Baptiste Dupy <baptiste.dupy@gmail.com>
//
// Copyright (c) 2014
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restrictio... | trfd/Unity-ActionTool | Actions/Variables/Decl/GPActionDeclFloat.cs | C# | gpl-2.0 | 1,729 |
//$(document).ready(function() {
/* Range Slider Function */
(function($) {
$.fn.rkmd_rangeSlider = function() {
var self, slider_width, slider_offset, curnt, sliderContinuous, sliderDiscrete, range, slider;
self = $(this);
slider_width = self.outerWidth();
slider_offset = self.of... | johnfrancisgit/Chromaticity | js/range.js | JavaScript | gpl-2.0 | 5,426 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>DiVinE: dve_grammar.hh Source File</title>
<link href="main.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<... | mito/Divine-state-generator | doc/refs/library/html/dve__grammar_8hh-source.html | HTML | gpl-2.0 | 5,459 |
/*
* Copyright (C) 2002-2015 XimpleWare, info@ximpleware.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 version.
*... | CoolBalance/vtd-xml | src/main/java/com/ximpleware/extended/TextIterHuge.java | Java | gpl-2.0 | 14,440 |
<html lang=fr">
<head>
<meta charset="utf-8" />
</head>
<body>
<button id="refresh-button">Refresh</button>
<table id="list-jobs"></table>
<script>
// Variables Globales
var serveurVtom = "http://192.168.99.100:30080" ; // just an example, here my docker machine IP running my vtom container
var authVtom = "VE9NOlRPTQ... | thomas-asnar/thomas-asnar.github.io | wp-content/uploads/list_all_jobs.html | HTML | gpl-2.0 | 5,311 |
<?php
include_once('admin/class-emma-settings.php');
include_once('widget/class-widget.php');
include_once('shortcode/class-shortcode.php');
include_once('class-emma-api.php');
include_once('class-form.php');
/**
* Main Class for the Emma Emarketing Plugin
*
* long desc
* @package Emma_Emarketing
* @author ah s... | samanthavandapuye/tease | wp-content/plugins/emma-emarketing-plugin/class-emma-emarketing.php | PHP | gpl-2.0 | 737 |
/**
* 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/... | iammyr/Benchmark | src/main/java/org/owasp/benchmark/testcode/BenchmarkTest05161.java | Java | gpl-2.0 | 2,337 |
/***************************************************************************
* Copyright (C) 2006 by Michael Ambrus *
* michael.ambrus@maquet.com *
* *
* This pr... | mambrus/tinker | src/arch/powerpc/stypes-gnu_powerpc-eabisim.h | C | gpl-2.0 | 1,574 |
package com.numhero.client.mvp.document;
import com.google.gwt.resources.client.ResourcePrototype;
import com.google.gwt.core.client.GWT;
public class com_numhero_client_mvp_document_InvoicePanel_InvoiceUiBinderImpl_GenBundle_en_InlineClientBundleGenerator implements com.numhero.client.mvp.document.InvoicePanel_Invoi... | midaboghetich/netnumero | gen/com/numhero/client/mvp/document/com_numhero_client_mvp_document_InvoicePanel_InvoiceUiBinderImpl_GenBundle_en_InlineClientBundleGenerator.java | Java | gpl-2.0 | 561 |
<?php global $user; ?>
<article<?php print $attributes; ?>>
<?php print render($title_prefix); ?>
<?php if (!$page && $title): ?>
<header>
<h2<?php print $title_attributes; ?>><a href="<?php print $node_url ?>" title="<?php print $title ?>"><?php print $title ?></a></h2>
</header>
<?php endif; ?>
<?php ... | ComuneBologna/comunita | sites/comunita/themes/comunita_theme/templates/node--bene-comune.tpl.php | PHP | gpl-2.0 | 3,768 |
<?php
/*
Simple class to let themes add dependencies on plugins in ways they might find useful
Example usage:
$test = new Theme_Plugin_Dependency( 'simple-facebook-connect', 'http://ottopress.com/wordpress-plugins/simple-facebook-connect/' );
if ( $test->check_active() )
echo 'SFC is installed a... | jubjunior/Wordpress | wp-content/themes/x2/core/includes/helper-functions.php | PHP | gpl-2.0 | 16,806 |
/**
* This header is generated by class-dump-z 0.2b.
*
* Source: /System/Library/PrivateFrameworks/iTunesStoreUI.framework/iTunesStoreUI
*/
#import <iTunesStoreUI/iTunesStoreUI-Structs.h>
#import <iTunesStoreUI/SUImageModifier.h>
@interface SUFrameAdjustmentImageModifier : SUImageModifier {
BOOL _shouldSizeDown... | kokoabim/iOSOpenDev-Framework-Header-Files | iTunesStoreUI.framework/Headers/SUFrameAdjustmentImageModifier.h | C | gpl-2.0 | 1,065 |
<?php get_header(); ?>
<?php
$options = get_option('sf_dante_options');
$default_show_page_heading = $options['default_show_page_heading'];
$default_page_heading_bg_alt = $options['default_page_heading_bg_alt'];
$default_sidebar_config = $options['default_sidebar_config'];
$default_left_sidebar = $options['def... | roycocup/enclothed | wp-content/themes/dante/page.php | PHP | gpl-2.0 | 6,214 |
cmd_sound/pci/emu10k1/built-in.o := rm -f sound/pci/emu10k1/built-in.o; ar rcs sound/pci/emu10k1/built-in.o
| Existed/kernel-2.6.35.14 | sound/pci/emu10k1/.built-in.o.cmd | Batchfile | gpl-2.0 | 109 |
<?php
/**
* TOP API: taobao.traderates.search request
*
* @author auto create
* @since 1.0, 2012-03-21 12:35:10
*/
class TraderatesSearchRequest
{
/**
* 商品的数字id
**/
private $numIid;
/**
* 当前页
**/
private $pageNo;
/**
* 每页显示的条数,允许值:5、10、20、40
**/
private $pageSize;
/**
* 商品所属的卖家nick
... | gxk9933/guoxk-blog | html/test_taobaoke/sdk/top/request/TraderatesSearchRequest.php | PHP | gpl-2.0 | 1,739 |
//
// FrameSpec.cpp
// Messaging
//
// Created by Dave Meehan on 21/04/2014.
// Copyright (c) 2014 Replicated Solutions Limited. All rights reserved.
//
#include <ZingBDD/ZingBDD.h>
#include "Frame.h"
#include <string.h>
namespace Messaging { namespace Specs {
describe(Frame, {
context("defa... | dmeehan1968/Playground | Messaging/Tests/FrameSpec.cpp | C++ | gpl-2.0 | 2,391 |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//----------------------------------------... | thetaskmanager/thetaskmanager | register.aspx.designer.cs | C# | gpl-2.0 | 6,820 |
/*
* This file is part of the coreboot project.
*
* Copyright (C) 2016 Intel Corp.
* (Written by Lance Zhao <lijian.zhao@intel.com> for Intel Corp.)
*
* 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... | MattDevo/coreboot | src/soc/amd/stoneyridge/include/soc/acpi.h | C | gpl-2.0 | 1,270 |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; CONSOLE_01_INPUT_TERMINAL
; library driver for input terminals
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;
; Library input console driver that implements the
; CONSOLE_01_INPUT input terminal features.
;
; ;;;;;;;;;;;;;;;;;;;;
; DR... | bitfixer/bitfixer | dg/z88dk/libsrc/_DEVELOPMENT/drivers/terminal/console_01/input/console_01_input_terminal.asm | Assembly | gpl-2.0 | 5,757 |
--素早いアンコウ
function c88686573.initial_effect(c)
--special summon
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(88686573,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e1:SetProperty(EFFECT_FLAG_DAMAGE_STEP+EFFECT_FLAG_DELAY)
e1:SetCode(EVENT_TO_GR... | Fluorohydride/ygopro-scripts | c88686573.lua | Lua | gpl-2.0 | 1,479 |
<hr>
<footer>
<div class="container">
<div class="row">
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
<ul class="list-inline text-center">
<li>
<a href="#">
<span class="fa-stack fa-lg">
... | manishkiozen/WebCms | resources/views/blog/includes/footer.blade.php | PHP | gpl-2.0 | 1,468 |
/*
* Given a binary tree, return the level order traversal of its nodes' values. (ie, from left to right, level by level).
*/
#include <vector>
#include <queue>
#include <algorithm>
using namespace std;
class Solution {
public:
vector<vector<int> > levelOrder(TreeNode* root)
{
vector<vector<int> > ... | ts25504/LeetCode | src/103.Binary_Tree_Zigzag_Level_Order_Traversal.h | C | gpl-2.0 | 1,308 |
# These are some tools I am creating to help me build the map for the game. They are a work in progress.
# I am also learning python, so I apologize in advance if I do dumb things.
# Right now this consists of just two classes: locations and coordinate systems.
# As I have it implemented here, a coordinate system is s... | nickdab/pygame | maptools.py | Python | gpl-2.0 | 2,622 |
'''
This file is part of the lenstractor project.
Copyright 2012 David W. Hogg (NYU) and Phil Marshall (Oxford).
Description
-----------
Wrapper class for tractor operation, to enable high level options (ie sampling or optimization).
To-do
-----
- debug, test
'''
import numpy as np
import os,subprocess
import tra... | davidwhogg/LensTractor | lenstractor/driver.py | Python | gpl-2.0 | 21,961 |
<?php
/**
* 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 WIT... | oat-sa/tao-core | models/classes/requiredAction/implementation/RequiredActionRedirectUrlPart.php | PHP | gpl-2.0 | 3,945 |
/**
*/
package components.provider;
import components.Association;
import components.ComponentsPackage;
import java.util.Collection;
import java.util.List;
import org.eclipse.emf.common.notify.AdapterFactory;
import org.eclipse.emf.common.notify.Notification;
import org.eclipse.emf.edit.provider.ComposeableAdapte... | peterbartha/j2eecm | edu.bme.vik.iit.j2eecm.edit/src/components/provider/AssociationItemProvider.java | Java | gpl-2.0 | 6,415 |
/*
* Copyright (c) 1992, 1993
* The Regents of the University of California. All rights reserved.
*
* This software was developed by the Computer Systems Engineering group
* at Lawrence Berkeley Laboratory under DARPA contract BG 91-66 and
* contributed to Berkeley.
*
* All advertising materials mentioning fea... | mohammadhamad/mhh | contrib/libc-28a76ac905060290c2c7a744a771b6c018b21434/src/lib/libc/lib/libc/sparc64/fpu/fpu_div.c | C | gpl-2.0 | 8,119 |
/**********************************************************************************************************************
* Copyright (c) 2015. Lorem ipsum dolor sit amet, consectetur adipiscing elit. *
* Morbi non lorem porttitor neque feugiat blandit. Ut vitae ipsum eget quam lac... | myhongkongzhen/pro-study-jdk | src/main/java/z/z/w/test/common/core/notify/IDataManipulation.java | Java | gpl-2.0 | 1,312 |
# -*- coding: utf-8 -*-
import json
import datetime
from django.http import HttpResponse
from django.template import RequestContext
from django.shortcuts import render_to_response
from misc.decorators import staff_required, common_ajax_response, verify_permission
from common import cache, debug, page
from message.in... | lantianlz/zx | www/admin/views_tools.py | Python | gpl-2.0 | 4,764 |
/*
* wowhead basic.js
* adapted to phpbb
*
*/
window.onload = resizeIfOdd;
window.onresize = forceBrowserEven;
function resizeIfOdd(){
if(navigator.userAgent.indexOf('Firefox/3') != -1 ||
navigator.userAgent.indexOf('WebKit') != -1)
if(document.documentElement.clientWidth % 2 == 1)
window.resizeBy(-1,0);
};
fun... | bbDKP/bbTips | root/adm/style/dkp/bbtips/basic.js | JavaScript | gpl-2.0 | 40,700 |
-- ATS Navcomp Version info
version_info =
{
["de6b99ef3f79191fd27d59b0"] =
{
name = "ChatGrabberMain", version = 2.25, page = "http://zen.trekmush.org/ats/beta/",
filename = "ATS_Chatgrabber.xml", infopage = "http://zen.trekmush.org/chatgrabber/",
whatsnew = "(2.25) Fix crashbug with older versions o... | mike347/ATSPlugins | versioninfo.lua | Lua | gpl-2.0 | 4,094 |
#ifndef _SCSI_SCSI_CMND_H
#define _SCSI_SCSI_CMND_H
#include <linux/dma-mapping.h>
#include <linux/blkdev.h>
#include <linux/list.h>
#include <linux/types.h>
#include <linux/timer.h>
#include <linux/scatterlist.h>
struct Scsi_Host;
struct scsi_device;
struct scsi_driver;
/*
* MAX_COMMAND_SIZE is:
* The longest fix... | jthatch12/STi | include/scsi/scsi_cmnd.h | C | gpl-2.0 | 8,588 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.5.0_08) on Tue Jun 03 16:15:29 GMT-05:00 2008 -->
<TITLE>
Uses of Class soot.jimple.parser.node.TTransient (Soot API)
</TITLE>
<LINK REL ="stylesheet" ... | BuddhaLabs/DeD-OSX | soot/soot-2.3.0/doc/soot/jimple/parser/node/class-use/TTransient.html | HTML | gpl-2.0 | 11,717 |
package Web::App::Screen;
use strict;
use Carp::Assert;
use Data::Dumper;
sub new {
my $class = shift;
my $id = shift;
my $self = {
'id' => $id,
'init-calls' => [],
'process-calls' => [],
'use-modules' => [],
'subscreens' => [],
# 'presentation' => ,
};
... | kurmanka/acis.r | lib/Web/App/Screen.pm | Perl | gpl-2.0 | 1,412 |
/* $Id: pjsua_acc.c 5579 2017-04-07 04:00:30Z nanang $ */
/*
* Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com)
* Copyright (C) 2003-2008 Benny Prijono <benny@prijono.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as pu... | ZiberLTD/windows | pjsip/src/pjsua-lib/pjsua_acc.c | C | gpl-2.0 | 107,703 |
<?php $captcha_word = 'R75S'; ?> | CoordCulturaDigital-Minc/setoriais | wp-content/plugins/si-captcha-for-wordpress/captcha/temp/sQ5mnMOQmEJcMCR2.php | PHP | gpl-2.0 | 32 |
/* This file is part of the KDE project
Copyright (C) 2004 David Faure <faure@kde.org>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at y... | iegor/kdebase | kioslave/trash/kio_trash.cpp | C++ | gpl-2.0 | 20,976 |
import unittest
from mock import Mock
import os
from katello.tests.core.action_test_utils import CLIOptionTestCase, CLIActionTestCase
from katello.tests.core.repo import repo_data
import katello.client.core.repo
from katello.client.core.repo import Status
from katello.client.api.utils import ApiDataError
class Requ... | Katello/katello-cli | test/katello/tests/core/repo/repo_status_test.py | Python | gpl-2.0 | 3,038 |
<?php
/**
* Created by PhpStorm.
* User: tiemanntan
* Date: 16/11/15
* Time: 16:51
*/
class Nextorder_Yandexmetrica_Block_Adminhtml_System_Config_Result
extends Mage_Adminhtml_Block_Abstract
implements Varien_Data_Form_Element_Renderer_Interface{
public function render(Varien_Data_Form_Element_Abstra... | fatalerrortan/Magento_Yandexmetrica | app/code/local/Nextorder/Yandexmetrica/Block/Adminhtml/System/Config/Result.php | PHP | gpl-2.0 | 657 |
/*
* Player - One Hell of a Robot Server
* Copyright (C) 2010
* Mayte Lázaro, Alejandro R. Mosteo
*
*
* 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... | swem/player-git-svn | server/drivers/localization/ekfvloc/sub_opt.hh | C++ | gpl-2.0 | 1,106 |
/*
* linux/include/asm-arm/arch-davinci/memory.h
*
* BRIEF MODULE DESCRIPTION
* DAVINCI Virtual memory definitions
*
* Copyright (C) 2004 Texas Instruments.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published... | gerboland/linux-2.6.15-neuros-eabi | include/asm-arm/arch-davinci/memory.h | C | gpl-2.0 | 5,211 |
//SpikeStream includes
#include "Globals.h"
#include "NetworkDisplay.h"
#include "ConnectionGroupModel.h"
#include "SpikeStreamException.h"
using namespace spikestream;
//Qt includes
#include <QDebug>
#include <QIcon>
/*! Constructor */
ConnectionGroupModel::ConnectionGroupModel() : QAbstractTableModel(){
connect(Gl... | nico202/spikestream | applicationlibrary/src/models/ConnectionGroupModel.cpp | C++ | gpl-2.0 | 7,961 |
<?php
// Copyright 2013 Toby Zerner, Simon Zerner
// This file is part of esoTalk. Please see the included license file for usage information.
if (!defined("IN_ESOTALK")) {
exit;
}
ET::$pluginInfo["Debug"] = array(
"name" => "Debug",
"description" => "Shows useful debugging information, such as SQL querie... | Felli/fireside | addons/plugins/Debug/plugin.php | PHP | gpl-2.0 | 6,463 |
/**
* Copyright 2011 Kurtis L. Nusbaum
*
* This file is part of UDJ.
*
* UDJ 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.
... | klnusbaum/UDJ-Desktop-Client | src/ActivePlaylistView.cpp | C++ | gpl-2.0 | 4,615 |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Bo... | Jaydak54/assignment4 | HareAndTortoise/Board Class Library/Properties/AssemblyInfo.cs | C# | gpl-2.0 | 1,420 |
#! /usr/bin/env python
# -*- coding: utf-8 -*-
import gtk # @UnusedImport
import gtk.glade
import gobject
from lib.pycsb19 import recibo
from lib.pycsb19 import ordenante
import sqlite3 as sqlite
import time
class Remesas:
def __init__(self):
self.Llamada=""
self.NifOrdenante=""
self.CodR... | pacoqueen/ginn | ginn/lib/pycsb19/remesas.py | Python | gpl-2.0 | 32,357 |
<?php
/**
* @version $Id: rokpad.php 9100 2013-04-03 23:19:42Z djamil $
* @author RocketTheme http://www.rockettheme.com
* @copyright Copyright (C) 2007 - 2013 RocketTheme, LLC
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only
*/
defined('_JEXEC') or die;
/**
*
*/
class plgEditorRokPad e... | cnpisit/myangkorpeopel | plugins/editors/rokpad/rokpad.php | PHP | gpl-2.0 | 50,100 |
package se.stagehand.effects.compound
import se.stagehand.swing.lib.EffectGUI
import se.stagehand.lib.scripting.Effect
import se.stagehand.swing.lib.TargetedPlayerEffectItem
import scala.swing.BoxPanel
import scala.swing.Orientation
import se.stagehand.swing.lib.EditorEffectItem
import scala.swing.BorderPanel
import s... | evilcandybag/Stagehand-compound-effect | src/main/scala/se/stagehand/effects/compound/CompoundGUI.scala | Scala | gpl-2.0 | 2,381 |
<?php
$cfg = require __DIR__ . '/../vendor/mediawiki/mediawiki-phan-config/src/config.php';
$cfg['directory_list'] = array_merge(
$cfg['directory_list'],
[
'../../extensions/MobileFrontend',
'../../extensions/VisualEditor',
'../../extensions/CentralAuth',
'../../extensions/CirrusSearch',
]
);
$cfg['exclud... | wikimedia/mediawiki-extensions-GettingStarted | .phan/config.php | PHP | gpl-2.0 | 569 |
package app.astrosoft.ui.cal;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.util.Observable;
import java.util.Observer;
import javax.swing.*;
import javax.swing.event.AncestorEvent;
import javax.swing.event.AncestorListener;
import javax.swing.plaf.basic.Basi... | erajasekar/Astrosoft | src/app/astrosoft/ui/cal/JCalendarCombo.java | Java | gpl-2.0 | 7,350 |
#ifndef IMAGE_H
#define IMAGE_H
#include <stdio.h>
#include <stdlib.h>
#include <vector>
#include <string>
#include <string.h>
namespace Aurora
{
namespace Graphics
{
enum ImageLocation
{
Ram,
Vram
};
class Image
{
public:
int _width;
int _height;
int _textureWidth;
int _textureHe... | DrakonPL/MultiCraft | Aurora/Aurora/Graphics/Image.h | C | gpl-2.0 | 739 |
<?xml version="1.0" encoding="ascii"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>schrodinger.application.desmond.ffiostructure._FFIOPosFBHW</title>
<link rel="stylesheet" h... | platinhom/ManualHom | Schrodinger/Schrodinger_2015-2_docs/python_api/api/schrodinger.application.desmond.ffiostructure._FFIOPosFBHW-class.html | HTML | gpl-2.0 | 17,501 |
/* $Id: ldrkStuff.cpp $ */
/** @file
* IPRT - Binary Image Loader, kLdr Interface.
*/
/*
* Copyright (C) 2006-2007 Oracle Corporation
*
* This file is part of VirtualBox Open Source Edition (OSE), as
* available from http://www.virtualbox.org. This file is free software;
* you can redistribute it and/or modify ... | VirtualMonitor/VirtualMonitor | src/VBox/Runtime/common/ldr/ldrkStuff.cpp | C++ | gpl-2.0 | 30,065 |
/*
* binkleyforce -- unix FTN mailer project
*
* Copyright (c) 1998-2000 Alexander Belkin, 2:5020/1398.11
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the Licen... | zotrix/binkleyforce | source/bforce/outb_scan.c | C | gpl-2.0 | 13,258 |
/* Definitions for BSD-style memory management.
Copyright (C) 1994-2000, 2003, 2004, 2005 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as publis... | www220/rt-thread-my | bsp/easyarm-imx283a/module/usr/include/sys/mman.h | C | gpl-2.0 | 5,407 |
<?php
/*
Twando.com Free PHP Twitter Application
http://www.twando.com/
*/
if (!$content_id) {
exit;
}
global $q1a, $pass_msg;
?>
<h2>Tweet Settings for <?=htmlentities($q1a['screen_name'])?></h2>
<?php
if ($q1a['id'] == "") {
echo mainFuncs::push_response(7);
} else {
//List all options here
?>
<d... | txt3rob/twando | inc/content/english/tweet_settings.php | PHP | gpl-2.0 | 1,874 |
#ifndef SUPERINT_H
#define SUPERINT_H
#include<string>
class superint
{
public:
superint();
superint(int);
superint(const char*);
superint(const std::string);
std::string strint;
std::string tostr(void);
int toint(void);
superint operator +(superint);
superint operator +(std::str... | Minerwwm/superint | superint.h | C | gpl-2.0 | 1,494 |
/*
expr.h
expression construction and manipulations
Copyright (C) 2001 Bill Currie <bill@taniwha.org>
Author: Bill Currie <bill@taniwha.org>
Date: 2001/06/15
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 Sof... | EIREXE/Quakeforge-gcw0 | tools/qfcc/include/expr.h | C | gpl-2.0 | 20,337 |
/* $Id: pjsip.h 2394 2008-12-23 17:27:53Z bennylp $ */
/*
* Copyright (C) 2008-2009 Teluu Inc. (http://www.teluu.com)
* Copyright (C) 2003-2008 Benny Prijono <benny@prijono.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as publi... | kaaustubh/pjsip | pjsip/include/pjsip.h | C | gpl-2.0 | 1,782 |
/* BenchMARS88.h
*
* Copyright (C) 2005-2006 Jens Gutzeit <jens@jgutzeit.de>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any ... | ProgVal/PyCorewar | src/BenchMARS88.h | C | gpl-2.0 | 1,416 |
<?php
/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */
/**
* Contains the DB_common base class
*
* PHP versions 4 and 5
*
* LICENSE: This source file is subject to version 3.0 of the PHP license
* that is available through the world-wide-web at the following URI:
* http://www.php.net/license/3_0.... | mikexstudios/xcomic | includes/DB/common.php | PHP | gpl-2.0 | 69,476 |
package conf;
/**
* Enthält die Konfigurationseinstellungen
* @author CreaByte
*
*/
public final class Conf {
/**
* Frames pro Sekunde
*/
public static final int fps = 22;
/**
* Standard-Zeitschritt für die Simulation
*/
public static final long defaultTimeStep = 1000/fps; // 22fps
/*... | rondiplomatico/traffic | src/conf/Conf.java | Java | gpl-2.0 | 1,922 |
/*
* (c) Copyright 2009-2013 by Volker Bergmann. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, is permitted under the terms of the
* GNU General Public License.
*
* For redistributing this software or a derivative work under a license other
* than th... | raphaelfeng/benerator | src/org/databene/benerator/wrapper/AsIntegerGeneratorWrapper.java | Java | gpl-2.0 | 2,256 |
-- | Some shared utilites.
module Shared (
breakAround
, firstTrue
, ErrorOr, forceError
, asHex
, Hash(..), emptyHash, hashAsHex
, isHashString
, fromHex
, splitMSB
, strictifyBS, makeBS
, trace
) where
import qualified Data.ByteString as B
import qualified Data.ByteString.Lazy as BL
import Cont... | martine/gat | Shared.hs | Haskell | gpl-2.0 | 2,969 |
/* Copyright (C) 1993, 1994, 1998 Aladdin Enterprises. All rights reserved.
This software is provided AS-IS with no warranty, either express or
implied.
This software is distributed under license and may not be copied,
modified or distributed except as expressly authorized under the terms
of the licens... | brho/plan9 | sys/src/cmd/gs/src/iutil2.h | C | gpl-2.0 | 1,773 |
from bs4 import BeautifulSoup
import urllib.request
html = urllib.request.urlopen('http://www.nlotto.co.kr/common.do?method=main’')
soup = BeautifulSoup(html)
hoi = soup.find("span", id="lottoDrwNo")
numbers=[]
for n in range(1,7):
strV ="drwtNo" + str(n)
first = soup.find('img', id=strV)['alt']
... | YongJang/PythonTelegram | examples/referenced/a.py | Python | gpl-2.0 | 497 |
<?php
$lang['plugin']['categories'] = array(
'subject' => 'Kategorie'
);
?> | evacchi/flatpress | fp-plugins/categories/lang/lang.cs-cz.php | PHP | gpl-2.0 | 89 |
package polarbear.acceptance.order;
import static com.polarbear.util.Constants.ResultState.*;
import static org.hamcrest.Matchers.is;
import static org.junit.Assert.assertThat;
import static polarbear.acceptance.Request.anRequest;
import static polarbear.integration.service.order.assertutil.AssertUtil.assertThat... | polargull/polar | polarbear/src/test/java/polarbear/acceptance/order/SignOrderTest.java | Java | gpl-2.0 | 3,093 |
<?php
/**
* @copyright Copyright(c) 2010 jooyea.net
* @file curd_action.php
* @brief 实现系统的自动增删改查
* @author webning
* @date 2010-12-23
* @version 0.6
*/
/**
* @brief 完成用户的自动增加删除修改功能DURD类
* @class ICURDAction
*/
class ICURDAction extends IAction
{
/**
* @brief 处理curd动作
* @return S... | zatol/iws | lib/web/action/curd_action.php | PHP | gpl-2.0 | 4,566 |
<?php
namespace CirrusSearch\Search;
use CirrusSearch\Search\Fetch\FetchPhaseConfigBuilder;
use Elastica\ResultSet as ElasticaResultSet;
/**
* Result type for a full text search.
*/
final class FullTextResultsType extends BaseResultsType {
/**
* @var bool
*/
private $searchContainedSyntax;
/**
* @var Fet... | wikimedia/mediawiki-extensions-CirrusSearch | includes/Search/FullTextResultsType.php | PHP | gpl-2.0 | 4,137 |
namespace L2dotNET.GameService.network.l2send
{
class AutoAttackStop : GameServerNetworkPacket
{
private int sId;
public AutoAttackStop(int sId)
{
this.sId = sId;
}
protected internal override void write()
{
writeC(0x2c);
wri... | domis045/L2dotNET | src/L2dotNET.Game/network/serverpackets/AutoAttackStop.cs | C# | gpl-2.0 | 350 |
/**
* 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/... | iammyr/Benchmark | src/main/java/org/owasp/benchmark/testcode/BenchmarkTest20813.java | Java | gpl-2.0 | 2,749 |
# Makefile.in generated by automake 1.11.1 from Makefile.am.
# common/Makefile. Generated from Makefile.in by configure.
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
# Inc.
# This Makefile.in is free software; the Free Soft... | gfunkmonk2/mate-display-manager | common/Makefile | Makefile | gpl-2.0 | 54,767 |
/*
* File : usb_common.h
* This file is part of RT-Thread RTOS
* COPYRIGHT (C) 2012, RT-Thread Development Team
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rt-thread.org/license/LICENSE
*
* Change Logs:
* Date A... | levenlai/rt-stm32 | components/drivers/include/drivers/usb_common.h | C | gpl-2.0 | 13,355 |
/*
Copyright (C) 2011 ABRT Team
Copyright (C) 2011 RedHat inc.
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... | abrt/libreport | src/lib/event_xml_parser.c | C | gpl-2.0 | 20,765 |
/**
* Created by herve on 10/11/15.
*/
function ajax_exercises_by_muscles(muscle) {
$("#loader").show();
$("#loader-message").show();
$.ajax({
url : "/exercises/muscles/ajax-exercises-by-muscles/", // the endpoint
type : "POST", // http method
data : { muscle : muscle }, // data se... | 4383/street-workout-database | sport/web/static/js/ajax.js | JavaScript | gpl-2.0 | 926 |
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
/*
* Copyright (C) 2007 Philip Withnall <philip@tecnocode.co.uk>
*
* 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 Foundatio... | gfunkmonk2/mate-movie-player | src/plugins/skipto/idol-skipto-plugin.c | C | gpl-2.0 | 8,361 |
<!doctype html public "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html>
<head>
<title>PHPXRef 0.7.1 : Unnamed Project : Variable Reference: $adsense_blocks_counter</title>
<link rel="stylesheet" href="../sample.css" type="text/css">
<link rel="stylesheet" href="../s... | mgsolipa/b2evolution_phpxref | _variables/adsense_blocks_counter.html | HTML | gpl-2.0 | 5,490 |
/*
* INET An implementation of the TCP/IP protocol suite for the LINUX
* operating system. INET is implemented using the BSD Socket
* interface as the means of communication with the user level.
*
* RAW - implementation of IP "raw" sockets.
*
* Authors: Ross Biro
* Fred N. van Kempen, <waltje@uWalt.NL.Mu... | heptalium/rpi-sources-3.16 | net/ipv4/raw.c | C | gpl-2.0 | 25,566 |
require 'rails_helper'
RSpec.describe Category, type: :model do
let(:category) { create(:category) }
it 'is valid factory for :category' do
expect(category).to be_valid
end
it 'is check empty category name' do
category = build(:category, name: nil)
category.valid?
expect(category.errors[:name... | ufacode/wenternet | spec/models/category_spec.rb | Ruby | gpl-2.0 | 1,438 |
<!doctype html public "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html>
<head>
<title>PHPXRef 0.7.1 : Unnamed Project : /rsc/js/helper.js source</title>
<link rel="stylesheet" href="../../sample.css" type="text/css">
<link rel="stylesheet" href="../../sample-print.c... | mgsolipa/b2evolution_phpxref | rsc/js/helper.js.source.html | HTML | gpl-2.0 | 24,947 |
<!--A Design by W3layouts
Author: W3layout
Author URL: http://w3layouts.com
License: Creative Commons Attribution 3.0 Unported
License URL: http://creativecommons.org/licenses/by/3.0/
-->
<!DOCTYPE HTML>
<head>
<title>Ui kits for Iphone, Android and Smartphone Website Templates | Home :: w3layouts</title>
<meta http-eq... | SweenEy1130/babel-server | app/templates/full.html | HTML | gpl-2.0 | 9,769 |
<form role="search" method="get" id="searchform" class="searchform" action="<?php echo esc_url( home_url( '/' ) ); ?>">
<div>
<input type="submit" id="searchsubmit" value="<?php echo esc_attr_x( 'Search', 'submit button' ); ?>" />
<label class="screen-reader-text" for="s"><?php _x( 'Search for:', 'label' ); ?></la... | Kitzo/door-fellowship | wp-content/themes/chris-base-theme/searchform.php | PHP | gpl-2.0 | 506 |
require 'vx/container_connector'
require 'vx/instrumentation'
require 'active_support/notifications'
$stdout.puts ' --> initializing Vx::ContainerConnector'
Vx::ContainerConnector.instrumenter = ActiveSupport::Notifications
| pacoguzman/vx-worker | lib/vx/worker/initializers/containers.rb | Ruby | gpl-2.0 | 226 |
import React from "react";
import { connect } from "react-redux";
import { TimeMode, AppState, Dispatch } from "../../types";
import { getTimeObj } from "../../utils";
import * as Actions from "../../actionCreators";
import * as Selectors from "../../selectors";
import { TIME_MODE } from "../../constants";
interface ... | mazhar266/mazhar266.github.io | webamp/js/components/MainWindow/Time.tsx | TypeScript | gpl-2.0 | 1,798 |
--//=============================================================================
--//
function _DrawTextureAspect(x,y,w,h ,tw,th)
local twa = w/tw
local tha = h/th
local aspect = 1
if (twa < tha) then
aspect = twa
y = y + h*0.5 - th*aspect*0.5
h = th*aspect
else
aspect = tha
x = x + w*0... | xponen/Zero-K | LuaUI/Widgets/chili_new/headers/skinutils.lua | Lua | gpl-2.0 | 32,373 |
<?php
/* This file is part of a copyrighted work; it is distributed with NO WARRANTY.
* See the file COPYRIGHT.html for more details.
*/
require_once("../shared/common.php");
$tab = "admin";
$nav = "materials";
$restrictInDemo = true;
require_once("../shared/logincheck.php");
require_once("../classes/Dm... | uniedpa/biblioteca | admin/materials_del.php | PHP | gpl-2.0 | 2,251 |
#!/usr/bin/python
# -*- coding: utf-8 -*-
"""
Random mutator based on C. Miller 'algorithm' for Nightmare Fuzzing Project.
Created on Sun May 12 10:57:06 2013
@author: joxean
"""
import sys
import math
import random
#-----------------------------------------------------------------------
class CCMillerMutator(object)... | joxeankoret/nightmare | mutators/cmiller_mutator_rep.py | Python | gpl-2.0 | 1,588 |
/*
* $XConsortium: extutil.h,v 1.15 94/10/07 15:36:33 kaleb Exp $
*
Copyright (c) 1989 X Consortium
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limita... | AudriusButkevicius/TurboVNC | unix/Xvnc/include/extensions/extutil.h | C | gpl-2.0 | 6,580 |
## Posts
__php/postworld_posts.php__
------
### pw_get_posts ( *$post_ids, $fields* )
- Run `pw_get_post()` on each of the __$post_ids__ , and return the given fields in an __Array__
#### Parameters:
__$post_ids__ : *Array*
- An array of post IDs
__$fields__ : *Array*
- Corresponds to `pw_get_post()` fields parame... | phongmedia/postworld | php/core/posts.md | Markdown | gpl-2.0 | 10,651 |