code stringlengths 3 1.01M | repo_name stringlengths 5 116 | path stringlengths 3 311 | language stringclasses 30
values | license stringclasses 15
values | size int64 3 1.01M |
|---|---|---|---|---|---|
using System;
using System.Web;
using System.Web.Mvc;
using SmartStore.Core;
using SmartStore.Core.Domain.Catalog;
using SmartStore.Core.Domain.Customers;
using SmartStore.Core.Domain.Media;
using SmartStore.Core.Html;
using SmartStore.Services.Catalog;
using SmartStore.Services.Media;
using SmartStore.Services.Orders... | nitware/estore | src/Presentation/SmartStore.Web/Controllers/DownloadController.cs | C# | gpl-3.0 | 8,284 |
<?
function auth_check_login()
{
ob_start();
session_start();
if ( $_SESSION["auth_id"] != "BVS@BIREME" ) {
ob_end_clean();
header("Location: /admin/index.php?error=TIMEOUT");
exit;
}
ob_end_clean();
}
?> | SuporteCTRL/suitesaber | htdocs/site/site/admin/auth_check.php | PHP | gpl-3.0 | 261 |
/*
Copyright © 2014-2015 by The qTox Project Contributors
This file is part of qTox, a Qt-based graphical interface for Tox.
qTox is libre 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 versi... | apprb/qTox | src/chatlog/content/filetransferwidget.h | C | gpl-3.0 | 2,830 |
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Example Mathematical Olympiad: XMO 2014 in Example Host Country Name</title>
<link rel="stylesheet" href="https://www.example.org/subdir/xmo.css" type="text/css">
</head>
<body>
<h1>XMO: XMO 2014 in <a href="/subdir/countries/count... | jsm28/matholymp-py | test-data/mo-static-generate/subdir/out/xmos/xmo1/index.html | HTML | gpl-3.0 | 2,618 |
/*!
@file
@verbatim
$Id: AVIStructures.h 52604 2008-04-23 05:33:29Z jbraness $
Copyright (c) 2007 DivX, Inc. All rights reserved.
This software is the confidential and proprietary information of
DivX, Inc. and may be used only in accordance with the terms of
your license from DivX, Inc.
@endverbatim
*/... | dr4g0nsr/mplayer-skyviia-8860 | mplayer_android/Divx_lib/DivXMediaFormat/src/DMFLayer1/AVI/AVICommon/AVIStructures.h | C | gpl-3.0 | 9,249 |
<!DOCTYPE html>
<html>
<head>
<meta charset = "utf-8">
<title>Ghidra Java Coding Standards</title>
<style media="screen" type="text/css">
li { margin-left: 90px; font-family:times new roman; font-size:14pt; }
h1 { color:#000080; font-family:times new roman; font-size:36pt; font-style:italic; font-weight:bo... | thomashaw/SecGen | modules/utilities/unix/audit_tools/ghidra/files/release/docs/GhidraCodingStandards.html | HTML | gpl-3.0 | 24,220 |
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Example - example-example33-production</title>
<script src="//ajax.googleapis.com/ajax/libs/angularjs/1.3.0-beta.7/angular.min.js"></script>
</head>
<body ng-app="">
<input ng-keyup="count = count + 1" ng-init="count=0">
key up c... | billrive/billrive | billrive-app/src/main/resources/public/lib/angular-1.3.0-beta.8/docs/examples/example-example33/index-production.html | HTML | gpl-3.0 | 351 |
/*
This source file is part of Rigs of Rods
Copyright 2005-2012 Pierre-Michel Ricordel
Copyright 2007-2012 Thomas Fischer
Copyright 2013-2014 Petr Ohlidal
For more information, see http://www.rigsofrods.com/
Rigs of Rods is free software: you can redistribute it and/or modify
it under the terms of the GNU Gene... | ulteq/rigs-of-rods | source/main/gfx/SkyXManager.cpp | C++ | gpl-3.0 | 6,681 |
/*
Copyright (C) 2011 Andrew Cotter
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 your option) any later version.
This program is distributed in the ... | mjmg/Rgtsvm | src/helpers.hpp | C++ | gpl-3.0 | 7,286 |
/**
* This file is part of a demo that shows how to use RT2D, a 2D OpenGL framework.
*
* - Copyright 2015 Rik Teerling <rik@onandoffables.com>
* - Initial commit
* - Copyright 2015 Your Name <you@yourhost.com>
* - What you did
*/
#include "scene01.h"
Scene01::Scene01() : SuperScene()
{
// Start Timer ... | Thalliuss/RT2D_Project | demo/scene01.cpp | C++ | gpl-3.0 | 6,195 |
using UnityEngine;
using UnityEditor;
using System.Collections;
using System.Collections.Generic;
using Frontiers.World;
[CustomEditor(typeof(BannerEditor))]
public class BannerEditorEditor : Editor
{
protected BannerEditor be;
public void Awake()
{
be = (BannerEditor)target;
}
public override void OnIn... | SignpostMarv/FRONTIERS | Assets/Editor/Frontiers/BannerEditorEditor.cs | C# | gpl-3.0 | 436 |
<?php
// Heading
$_['heading_title'] = 'Cliente';
// Text
$_['text_login'] = 'Login';
$_['text_success'] = 'Hai modificato con successo i clienti!';
$_['text_approved'] = 'Hai attivato %s account!';
$_['text_wait'] = 'Attendi!';
$_['text_balance'] ... | censam/open_cart | multilanguage/OC-Europa-1-5-1-3-9.part01/upload/admin/language/italian/sale/customer.php | PHP | gpl-3.0 | 3,022 |
<?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle 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 your option) any later version.
//
// Moodle ... | amoskarugaba/moodle | course/format/grid/test/image_test.php | PHP | gpl-3.0 | 7,159 |
<?php
class OperationData {
public static $tablename = "operation";
public function OperationData(){
$this->name = "";
$this->product_id = "";
$this->q = "";
$this->cut_id = "";
$this->operation_type_id = "";
$this->is_oficial = "0";
$this->created_at = "NOW()";
}
public function add(){
$sql = "in... | cyberiaVirtual/kaluna_vta | core/modules/index/model/OperationData.php | PHP | gpl-3.0 | 19,750 |
/****************************************************************************
Copyright (c) 2011-2012 cocos2d-x.org
Copyright (c) 2013-2014 Chukong Technologies Inc.
http://www.cocos2d-x.org
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation... | corumcorp/redsentir | redsentir/static/juego/frameworks/cocos2d-html5/extensions/cocostudio/armature/CCArmature.js | JavaScript | gpl-3.0 | 18,849 |
#!/bin/sh
groff -t -e -mandoc -Tlatin1 man/fucheck.1 > MANUAL
| fepz/fucheck | generateTextManual.sh | Shell | gpl-3.0 | 62 |
#include "jednostki.h"
#include "generatormt.h"
#include "nucleus_data.h"
#include "calg5.h"
#include "util2.h"
using namespace std;
template < class T >
static inline T pow2 (T x)
{
return x * x;
}
static inline double bessj0(double x)
{
if(fabs(x)<0.000001)
return cos(x);
else
return sin(x)/x;
}
static... | cjusz/nuwro | src/nucleus_data.cc | C++ | gpl-3.0 | 68,022 |
package org.gnubridge.presentation.gui;
import java.awt.Point;
import org.gnubridge.core.Card;
import org.gnubridge.core.Direction;
import org.gnubridge.core.East;
import org.gnubridge.core.Deal;
import org.gnubridge.core.Hand;
import org.gnubridge.core.North;
import org.gnubridge.core.South;
import org.gnubridge.cor... | pslusarz/gnubridge | src/main/java/org/gnubridge/presentation/gui/OneColumnPerColor.java | Java | gpl-3.0 | 1,786 |
/*
* Copyright (c) 2000-2005, 2008-2011 Apple Inc. All rights reserved.
*
* @APPLE_LICENSE_HEADER_START@
*
* This file contains Original Code and/or Modifications of Original Code
* as defined in and that are subject to the Apple Public Source License
* Version 2.0 (the 'License'). You may not use this file exc... | LubosD/darling | src/configd/SystemConfiguration.fproj/SCDNotifierCancel.c | C | gpl-3.0 | 2,715 |
### Berry
Berry is multiplatform and modern image viewer, focused on better user interface...
### How to Compile
#### Install dependencies
Install gcc, g++, libexiv2, Qt5Core, Qt5DBus, Qt5Gui, Qt5Multimedia, Qt5MultimediaQuick_p, Qt5Network, Qt5PrintSupport, Qt5Qml, Qt5Quick, Qt5Sql, Qt5Svg, and Qt5Widgets.
on Ubunt... | hoowang/Berry | README.md | Markdown | gpl-3.0 | 1,121 |
#Region "Microsoft.VisualBasic::1832a06e22224b31f8fa10e2ca2102b9, ..\sciBASIC#\mime\text%html\HTML\CSS\Parser\enums.vb"
' Author:
'
' asuka (amethyst.asuka@gcmodeller.org)
' xieguigang (xie.guigang@live.com)
' xie (genetics@smrucc.org)
'
' Copyright (c) 2016 GPL3 Licens... | genetics-potato/sciBASIC | mime/text%html/HTML/CSS/Parser/enums.vb | Visual Basic | gpl-3.0 | 33,649 |
// Copyright CERN and copyright holders of ALICE O2. This software is
// distributed under the terms of the GNU General Public License v3 (GPL
// Version 3), copied verbatim in the file "COPYING".
//
// See http://alice-o2.web.cern.ch/license for full licensing information.
//
// In applying this license CERN does not ... | AllaMaevskaya/AliceO2 | Framework/Core/include/Framework/CallbackRegistry.h | C | gpl-3.0 | 5,160 |
<b>Users Currently Logged In</b>
<ul>
<?php if (!empty($currentUsers)):foreach($currentUsers as $u):?>
<li>
<?php echo $u->getFullName();?>
</li>
<?php endforeach;endif;?>
</ul>
| 2pisoftware/cmfive | system/modules/admin/templates/index.tpl.php | PHP | gpl-3.0 | 214 |
<?php
/*******
Biblioteka implementująca BotAPI GG http://boty.gg.pl/
Copyright (C) 2013 GG Network S.A. Marcin Bagiński <marcin.baginski@firma.gg.pl>
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 Found... | michibo112/czacik.pl | MessageBuilder.php | PHP | gpl-3.0 | 7,896 |
<?php
/*
Gibbon, Flexible & Open School System
Copyright (C) 2010, Ross Parker
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 your option) any later version.
... | dimas-latief/core | modules/Application Form/applicationForm.php | PHP | gpl-3.0 | 86,438 |
# 操作系统安装与配置
### Kali1.1a 操作系统配置
#### Contents
- [Install Kali](Kali1.1a/Install-kali.md) - 安装Kali系统
- [Configure Kali Apt Sources](Kali1.1a/Configure-Apt-sources.md) - 配置Kali Apt源
- [Install mate desktop to kali](Kali1.1a/Install-Mate-disktop.md) - 安装mate桌面系统
- [Install Mint Themes to Kali](Kali1.1a/Install-Mint-The... | wackonline/security | 0s/README.md | Markdown | gpl-3.0 | 1,304 |
// uScript Action Node
// (C) 2011 Detox Studios LLC
using UnityEngine;
using System.Collections;
[NodePath("Actions/Assets")]
[NodeCopyright("Copyright 2011 by Detox Studios LLC")]
[NodeToolTip("Loads a PhysicMaterial")]
[NodeAuthor("Detox Studios LLC", "http://www.detoxstudios.com")]
[NodeHelp("http://docs.uscript... | neroziros/GameJam2017 | Assets/uScript/uScriptRuntime/Nodes/Actions/Assets/uScriptAct_LoadPhysicMaterial.cs | C# | gpl-3.0 | 1,905 |
/*global define*/
/*global test*/
/*global equal*/
define(['models/config'], function (Model) {
'use strict';
module('Config model');
test('Can be created with default values', function() {
var note = new Model();
equal(note.get('name'), '', 'For default config name is empty');
equ... | elopio/laverna | test/spec/Models/config.js | JavaScript | gpl-3.0 | 641 |
//#line 2 "/opt/ros/indigo/share/dynamic_reconfigure/cmake/../templates/ConfigType.h.template"
// *********************************************************
//
// File autogenerated for the dwa_local_planner package
// by the dynamic_reconfigure package.
// Please do not edit.
//
// **********************************... | clubcapra/Ibex | install/include/dwa_local_planner/DWAPlannerConfig.h | C | gpl-3.0 | 68,559 |
<?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle 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 your option) any later version.
//
// Moodle ... | iomad/iomad | blocks/tag_flickr/version.php | PHP | gpl-3.0 | 1,183 |
/*
* 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/LICENSE-2.0
*
* Unless required by app... | s20121035/rk3288_android5.1_repo | packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/DictionaryWriter.java | Java | gpl-3.0 | 4,412 |
/*
pybind11/attr.h: Infrastructure for processing custom
type and function attributes
Copyright (c) 2016 Wenzel Jakob <wenzel.jakob@epfl.ch>
All rights reserved. Use of this source code is governed by a
BSD-style license that can be found in the LICENSE file.
*/
#pragma once
#include "cast.h"
N... | argman/EAST | lanms/include/pybind11/attr.h | C | gpl-3.0 | 18,075 |
var searchData=
[
['operator_2a',['operator*',['../class_complex.html#a789de21d72aa21414c26e0dd0966313a',1,'Complex']]],
['operator_2b',['operator+',['../class_complex.html#a5a7bc077499ace978055b0e6b9072ee9',1,'Complex']]],
['operator_5e',['operator^',['../class_complex.html#a952d42791b6b729c16406e21f9615f9f',1,'... | philippeganz/mandelbrot | docs/search/functions_6.js | JavaScript | gpl-3.0 | 335 |
<?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle 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 your option) any later version.
//
// Moodle ... | stopfstedt/moodle | lib/editor/atto/plugins/recordrtc/version.php | PHP | gpl-3.0 | 1,229 |
/* Moonshine - a Lua-based chat client
*
* Copyright (C) 2010 Dylan William Hardison
*
* This file is part of Moonshine.
*
* Moonshine 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 o... | bdonlan/moonshine | src/async-queue-test.c | C | gpl-3.0 | 2,762 |
/*
* linux/kernel/math/div.c
*
* (C) 1991 Linus Torvalds
*/
/*
* temporary real division routine.
*/
#include <linux/math_emu.h>
static void shift_left(int * c)
{
__asm__ __volatile__("movl (%0),%%eax ; addl %%eax,(%0)\n\t"
"movl 4(%0),%%eax ; adcl %%eax,4(%0)\n\t"
"movl 8(%0),%%eax ; adcl %%eax,8(%0)\n\t... | honyyang/Linux-0.12 | linux-0.12/kernel/math/div.c | C | gpl-3.0 | 2,099 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>ublas: Member List</title>
<link href="tabs.css" rel="stylesheet" ... | cppisfun/GameEngine | foreign/boost/libs/numeric/ublas/doc/html/classboost_1_1numeric_1_1ublas_1_1vector-members.html | HTML | gpl-3.0 | 24,208 |
#ifndef _UI_UTILS_H
#define _UI_UTILS_H
namespace QSanUiUtils {
// This is in no way a generic diation fuction. It is some dirty trick that
// produces a shadow image for a pixmap whose foreground mask is binaryImage
QImage produceShadow(const QImage &image, QColor shadowColor, int radius, double decade);
... | Xusine1131/QSanguosha-DGAH | src/ui/ui-utils.h | C | gpl-3.0 | 1,812 |
# import re, os
# from jandy.profiler import Profiler
#
#
# class Base:
# def __init__(self):
# print('init call')
#
# def compile(self, str):
# re.compile(str)
#
# #
# p = Profiler("12K", "localhost:3000", 1)
# try:
# p.start()
# b = Base()
# b.compile("foo|bar")
# print("Hello ... | jcooky/jandy | jandy-python/tests/a.py | Python | gpl-3.0 | 457 |
# Copyright (C) 1998-2014 by the Free Software Foundation, Inc.
#
# This file is part of GNU Mailman.
#
# GNU Mailman 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 you... | adam-iris/mailman | src/mailman/bin/checkdbs.py | Python | gpl-3.0 | 7,696 |
# encoding: utf-8
import datetime
from south.db import db
from south.v2 import SchemaMigration
from django.db import models
class Migration(SchemaMigration):
def forwards(self, orm):
# Adding field 'InstanceApplication.network'
db.add_column('apply_instanceapplication', 'network', sel... | sunweaver/ganetimgr | apply/migrations/0005_add_application_network_field.py | Python | gpl-3.0 | 8,911 |
#pragma once
/*
* Nanoflann helper classes
* Copyright (C) 2019 Wayne Mogg
*
* 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... | waynegm/OpendTect-Plugins | plugins/wm_include/nanoflann_extra.h | C | gpl-3.0 | 1,498 |
require 'uuid'
class CompassAeInstance < ActiveRecord::Base
attr_protected :created_at, :updated_at
has_tracked_status
has_many :parties, :through => :compass_ae_instance_party_roles
has_many :compass_ae_instance_party_roles, :dependent => :destroy do
def owners
where('role_type_id = ?', RoleType.com... | xuewenfei/compass_agile_enterprise | erp_base_erp_svcs/app/models/compass_ae_instance.rb | Ruby | gpl-3.0 | 1,077 |
<?php
/**
* LnmsCommand.php
*
* Convenience class for common command code
*
* 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 your option) any lat... | justmedude/librenms | app/Console/LnmsCommand.php | PHP | gpl-3.0 | 4,534 |
package com.example.mathsolver;
import android.annotation.TargetApi;
import android.app.Fragment;
import android.os.Build;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
@TargetApi(Build.VERSION_CODES.HONEYCOMB)
public class AreaFragmentRight ext... | RahulDadoriya/MathSolverApp | src/com/example/mathsolver/AreaFragmentRight.java | Java | gpl-3.0 | 580 |
# coding=utf-8
# This file is part of SickChill.
#
# URL: https://sickchill.github.io
# Git: https://github.com/SickChill/SickChill.git
#
# SickChill 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 vers... | dfalt974/SickRage | tests/sickchill_tests/show/show_tests.py | Python | gpl-3.0 | 4,719 |
<div class="modal-header">
<button type="button" class="close" ng-click="$dismiss()" aria-hidden="true">×</button>
<h4 class="modal-title" id="new-file-label">New file...</h4>
</div>
<form name="newFileForm" novalidate ng-submit="newFile()">
<div class="modal-body" style="font-size: 16px; padding-bottom: 0">
... | b2coutts/seashell | src/frontend/frontend/templates/new-file-template.html | HTML | gpl-3.0 | 1,968 |
/*
* ============================================================================
* GNU General Public License
* ============================================================================
*
* Copyright (C) 2015 Infinite Automation Software. All rights reserved.
*
* This program is free software: you can redist... | mlohbihler/BACnet4J | src/main/java/com/serotonin/bacnet4j/type/notificationParameters/CommandFailure.java | Java | gpl-3.0 | 4,277 |
/* event-config.h
*
* This file was generated by cmake when the makefiles were generated.
*
* DO NOT EDIT THIS FILE.
*
* Do not rely on macros in this file existing in later versions.
*/
#ifndef EVENT2_EVENT_CONFIG_H_INCLUDED_
#define EVENT2_EVENT_CONFIG_H_INCLUDED_
/* Numeric representation of the version */
#... | sigecoin/sigecoin | libevent/event-config.h.cmake | CMake | gpl-3.0 | 16,785 |
<?php
/**
* Kodekit - http://timble.net/kodekit
*
* @copyright Copyright (C) 2007 - 2016 Johan Janssens and Timble CVBA. (http://www.timble.net)
* @license MPL v2.0 <https://www.mozilla.org/en-US/MPL/2.0>
* @link https://github.com/timble/kodekit for the canonical source repository
*/
namespace Kode... | nooku/nooku-framework | code/controller/permission/interface.php | PHP | gpl-3.0 | 2,175 |
{-# LANGUAGE TemplateHaskell #-}
{-# LANGUAGE MultiParamTypeClasses #-}
{-# LANGUAGE FlexibleContexts #-}
{-# LANGUAGE FlexibleInstances #-}
{-# LANGUAGE ScopedTypeVariables #-}
module CO4.Example.Fib
where
import Language.Haskell.TH (runIO)
import qualified Satchmo.Core.SAT.Minisat
import qualified Satchmo... | apunktbau/co4 | test/CO4/Example/Fib.hs | Haskell | gpl-3.0 | 1,177 |
// Font.cpp: ActionScript Font handling, for Gnash.
//
// Copyright (C) 2006, 2007, 2008, 2009, 2010 Free Software
// Foundation, 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;... | atheerabed/gnash-fork | libcore/Font.cpp | C++ | gpl-3.0 | 8,960 |
.container {
margin:10px;
} | OpenCaseWork/ui | src/app/areas/dashboard/home/home.component.css | CSS | gpl-3.0 | 29 |
<?php
/*
##########################################################################
# #
# Version 4 / / / #
# -----------__---/__---__------__----__---/---/- #
# ... | nerdiabet/webSPELL | languages/sr/admin/settings.php | PHP | gpl-3.0 | 11,568 |
using System.Linq;
using kino.Core.Framework;
using kino.Messaging;
namespace kino.Cluster
{
public partial class ScaleOutListener
{
private void ReceivedFromOtherNode(Message message)
{
if ((message.TraceOptions & MessageTraceOptions.Routing) == MessageTraceOptions.Routing)
... | iiwaasnet/kino | src/kino.Cluster/ScaleOutListener.Tracing.cs | C# | gpl-3.0 | 684 |
Bitrix 17.0.9 Business Demo = f37a7cf627b2ec3aa4045ed4678789ad
| gohdan/DFC | known_files/hashes/bitrix/modules/iblock/install/components/bitrix/iblock.vote/templates/stars/script.min.js | JavaScript | gpl-3.0 | 63 |
<?php
/**
* MyBB 1.8 Merge System
* Copyright 2014 MyBB Group, All Rights Reserved
*
* Website: http://www.mybb.com
* License: http://www.mybb.com/download/merge-system/license/
*/
// Disallow direct access to this file for security reasons
if(!defined("IN_MYBB"))
{
die("Direct initialization of this file is no... | PaulBender/merge-system | boards/phpbb3/pollvotes.php | PHP | gpl-3.0 | 2,116 |
#include <SDL_events.h>
class Engine
{
public:
static bool StaticInit();
virtual ~Engine();
static std::unique_ptr< Engine > sInstance;
virtual int Run();
void SetShouldKeepRunning( bool inShouldKeepRunning ) { mShouldKeepRunning = inShouldKeepRunning; }
virtual void HandleEvent( SDL_Event* inEvent );
protec... | nurbed/MasterVR2017 | Networking/MultiplayerBook/Chapter 6/RoboCatRTS/RoboCatRTS/Inc/Engine.h | C | gpl-3.0 | 434 |
<?php
/**
* Copyright © 2016 Magento. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\CatalogSearch\Setup;
use Magento\Framework\Setup\InstallSchemaInterface;
use Magento\Framework\Setup\ModuleContextInterface;
use Magento\Framework\Setup\SchemaSetupInterface;
/**
* @codeCoverage... | rajmahesh/magento2-master | vendor/magento/module-catalog-search/Setup/InstallSchema.php | PHP | gpl-3.0 | 1,022 |
/*
* Copyright (C) 2012 Krawler Information Systems Pvt Ltd
* All rights reserved.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your optio... | ufoe/Deskera-CRM | bpm-app/modulebuilder/src/main/java/com/krawler/portal/util/ListUtil.java | Java | gpl-3.0 | 8,286 |
/*
File: Carbon.h
Contains: Master include for all of Carbon
Version: QuickTime 7.3
Copyright: (c) 2007 (c) 2000-2001 by Apple Computer, Inc., all rights reserved.
Bugs?: For bug reports, consult the following page on
the World Wide Web:
... | xucp/mpc_hc | include/qt/Carbon.h | C | gpl-3.0 | 4,062 |
<?php
/**
* Created by PhpStorm.
* User: mkt
* Date: 2015-10-28
* Time: 14:49
*/
namespace view;
require_once("view/ListView.php");
/**
* View that shows a list of unique sessions
* for a specific ip-number
*/
class SessionListView extends ListView
{
private $logSessions = array();
private static $... | js223kz/PHP_LOGGER | view/SessionListView.php | PHP | gpl-3.0 | 3,066 |
/**
* Copyright (c) 2012, Google Inc.
*
* 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 agre... | s20121035/rk3288_android5.1_repo | packages/apps/UnifiedEmail/src/com/android/mail/compose/FromAddressSpinner.java | Java | gpl-3.0 | 6,076 |
-- 442
-- PKCColumnA
-- ListElementAdder with ChainedSupplier with PrimaryKeyConstraintSupplier and PrimaryKeyColumnsWithAlternativesSupplier - Added HCPID
CREATE TABLE "Users" (
"MID" INT PRIMARY KEY,
"Password" VARCHAR(20),
"Role" VARCHAR(20) NOT NULL,
"sQuestion" VARCHAR(100),
"sAnswer" VARCHAR(30),
CHECK ("R... | schemaanalyst/schemaanalyst | src/paper/ineffectivemutants/manualevaluation/mutants/iTrust_HyperSQL/442.sql | SQL | gpl-3.0 | 11,863 |
/* Header File for abc controller for use in simulink */
#ifndef _ABC_CONTROLLER_
#define _ABC_CONTROLLER_
#include <stdio.h>
#include <math.h>
#define TRUE 1
#define FALSE 0
#include <limits.h>
#include "abc_controller_type.h"
extern void ABC_Controller(double input[16], double output[4], double bona_in[5], doubl... | pxkumar2/ardupilot_3.0_HIL | abc_controller.h | C | gpl-3.0 | 509 |
#!/bin/sh
. ./include.sh
${examples_dir}precision > /dev/null
| MengbinZhu/pfldp | ropp-7.0/grib_api-1.9.9/examples/F90/precision.sh | Shell | gpl-3.0 | 67 |
# coding: utf8
{
'"update" is an optional expression like "field1=\'newvalue\'". You cannot update or delete the results of a JOIN': '"update" is an optional expression like "field1=\'newvalue\'". You cannot update or delete the results of a JOIN',
'%Y-%m-%d': '%Y.%m.%d.',
'%Y-%m-%d %H:%M:%S': '%Y.%m.%d. %H:%M:%S',
'%s... | henkelis/sonospy | web2py/applications/sonospy/languages/hu.py | Python | gpl-3.0 | 4,428 |
/*
* Copyright (C) 2009-2011 Andy Spencer <andy753421@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 your option) any later version.... | GNOME/grits | examples/volume/volume.c | C | gpl-3.0 | 5,906 |
#!/usr/bin/perl
#---------------------------------
# Copyright 2011 ByWater Solutions
#
#---------------------------------
#
# -D Ruth Bavousett
#
#---------------------------------
#
# EXPECTS:
# -nothing
#
# DOES:
# -corrects borrower zipcodes that start with zero, if --update is given
#
# CREATES:
# -nothing
#... | druthb/koha-migration-toolbox | koha_fixes/zip_code_leading_zero_fix.pl | Perl | gpl-3.0 | 1,912 |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.Design;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace FEFTwiddler.GUI.UnitViewer
{
[Designer("System.Windows... | Soaprman/FEFTwiddler | FEFTwiddler/GUI/UnitViewer/DragonVein.cs | C# | gpl-3.0 | 1,798 |
using UnityEngine;
using System.Collections;
using System;
namespace Frontiers.World.WIScripts
{
public class Key : WIScript
{
public override void OnInitialized ()
{
if (!worlditem.Is <QuestItem> ()) {
worlditem.Props.Name.DisplayName = State.KeyName;
}
}
public KeyState State = new KeyState ();
... | SignpostMarv/FRONTIERS | Assets/Scripts/GameWorld/WIScripts/Machines/Key.cs | C# | gpl-3.0 | 523 |
define(
"dojo/cldr/nls/nb/gregorian", //begin v1.x content
{
"dateFormatItem-Ehm": "E h.mm a",
"days-standAlone-short": [
"sø.",
"ma.",
"ti.",
"on.",
"to.",
"fr.",
"lø."
],
"months-format-narrow": [
"J",
"F",
"M",
"A",
"M",
"J",
"J",
"A",
"S",
"O",
"N",
"D"
],
"field-second-r... | AnthonyARM/javascript | rowing/dojo-release-1.13.0/dojo/cldr/nls/nb/gregorian.js.uncompressed.js | JavaScript | gpl-3.0 | 5,993 |
import Ember from 'ember';
export default Ember.Component.extend({
classNames: ['button-content'],
audio: Ember.inject.service(),
soundName: null,
rate: 1,
preloadSounds: function() {
this.get('audio');
}.on('init'),
actions: {
play() {
this.get('audio').play(this.get('soundName'), this.g... | hugoruscitti/huayra-procesing | app/components/p5-play-button.js | JavaScript | gpl-3.0 | 347 |
/*
* CPAchecker is a tool for configurable software verification.
* This file is part of CPAchecker.
*
* Copyright (C) 2007-2014 Dirk Beyer
* All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You... | nishanttotla/predator | cpachecker/src/org/sosy_lab/cpachecker/cfa/model/ADeclarationEdge.java | Java | gpl-3.0 | 1,757 |
<?php
// Copyright (C) <2015> <it-novum GmbH>
//
// This file is dual licensed
//
// 1.
// 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 3 of the License.
//
// This program is distri... | it-novum/openITCOCKPIT | src/Template/element/downtimes_mass_service_delete.php | PHP | gpl-3.0 | 1,842 |
<?php
/* Copyright (C) 2012 Regis Houssin <regis.houssin@capnetworks.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 your option) any later ... | woakes070048/crm-php | htdocs/langs/fi_FI/languages.lang.php | PHP | gpl-3.0 | 2,557 |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="ExtentTest.cs" company="Allors bvba">
// Copyright 2002-2012 Allors bvba.
//
// Dual Licensed under
// a) the Lesser General Public Licence v3 (LGPL)
// b) the Allors Licens... | Allors/allors | Platform/Database/Adapters/Tests.Static/Static/object/sqlclient/ExtentTest.cs | C# | gpl-3.0 | 10,380 |
<?php
// This is a SPIP language file -- Ceci est un fichier langue de SPIP
// extrait automatiquement de http://trad.spip.net/tradlang_module/forum?lang_cible=eo
// ** ne pas modifier le fichier **
if (!defined('_ECRIRE_INC_VERSION')) {
return;
}
$GLOBALS[$GLOBALS['idx_lang']] = array(
// B
'bouton_radio_artic... | ernestovi/ups | spip/plugins-dist/forum/lang/forum_eo.php | PHP | gpl-3.0 | 7,379 |
import { TestData } from '../../test-data';
import { ViewController } from 'ionic-angular';
import {
NavParamsMock,
BrandsActionsMock,
CategoriesActionsMock,
ModelsActionsMock,
ItemsActionsMock,
BrandsServiceMock,
CategoriesServiceMock,
ModelsServiceMock,
ItemsServiceMock,
} from '../../mocks';
impor... | emmanuelroussel/stockpile-app | src/pages/inventory-filter/inventory-filter.spec.ts | TypeScript | gpl-3.0 | 2,887 |
<?php
/**
* Copyright © 2016 Magento. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\Framework\App\Test\Unit\View\Asset\MaterializationStrategy;
use \Magento\Framework\App\View\Asset\MaterializationStrategy\Factory;
use Magento\Framework\ObjectManagerInterface;
class FactoryTest... | rajmahesh/magento2-master | vendor/magento/framework/App/Test/Unit/View/Asset/MaterializationStrategy/FactoryTest.php | PHP | gpl-3.0 | 3,355 |
#coding=gbk
"""Convert HTML page to Word 97 document
This script is used during the build process of "Dive Into Python"
(http://diveintopython.org/) to create the downloadable Word 97 version
of the book (http://diveintopython.org/diveintopython.doc)
Looks for 2 arguments on the command line. The first argument is t... | qilicun/python | python2/diveintopythonzh-cn-5.4b/zh_cn/makerealworddoc.py | Python | gpl-3.0 | 2,374 |
<?php
/**
* Copyright © 2016 Magento. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\Tax\Test\Unit\Model;
class TaxRateManagementTest extends \PHPUnit_Framework_TestCase
{
/**
* @var \Magento\Tax\Model\TaxRateManagement
*/
protected $model;
/**
* @var \P... | rajmahesh/magento2-master | vendor/magento/module-tax/Test/Unit/Model/TaxRateManagementTest.php | PHP | gpl-3.0 | 3,944 |
-----------------------------------
-- Area: LaLoff Amphitheater
-- NPC: Ark Angel's Tiger
-----------------------------------
require("scripts/zones/LaLoff_Amphitheater/TextIDs");
-----------------------------------
-- TODO: Implement shared spawning and victory system with Ark Angel's Mandragora.
----... | will4wachter/Project1 | scripts/zones/LaLoff_Amphitheater/mobs/Ark_Angel_s_Tiger.lua | Lua | gpl-3.0 | 1,276 |
<?php
/**
* Copyright © 2016 Magento. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\Config\Model\Config\Backend;
class Serialized extends \Magento\Framework\App\Config\Value
{
/**
* @return void
*/
protected function _afterLoad()
{
if (!is_array($this... | rajmahesh/magento2-master | vendor/magento/module-config/Model/Config/Backend/Serialized.php | PHP | gpl-3.0 | 702 |
/*
* log_ft_data.cpp
*
* Created on: Jul 9, 2010
* Author: dc
*/
#include <iostream>
#include <cstdio>
#include <cstdlib>
#include <syslog.h>
#include <signal.h>
#include <unistd.h>
#include <native/task.h>
#include <native/timer.h>
#include <boost/thread.hpp>
#include <boost/ref.hpp>
#include <boost/tup... | jhu-lcsr-forks/barrett | sandbox/log_ft_data.cpp | C++ | gpl-3.0 | 4,369 |
/*
Lehrstuhl fuer Energietransport und -speicherung
UNIVERSITAET DUISBURG-ESSEN
ef.Ruhr E-DeMa AP-2
Wissenschaftlicher Mitarbeiter:
Dipl.-Ing. Holger Kellerbauer
Das Linklayer-Paket "powerline" umfasst eine Sammlung von Modulen, die zur Simulation von Powerline-
Uebertragungsstrecken in intelligenten Energieverteil... | hoferr/SG_OMNeTpp | plc/src/Adapter_PLC_Base.cc | C++ | gpl-3.0 | 28,190 |
/*
* Copyright (C) 2008-2009 Martin Willi
* Hochschule fuer Technik Rapperswil
*
* 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... | ccwf2006/one-key-ikev2-vpn | strongswan-5.5.1/src/libcharon/plugins/eap_aka_3gpp2/eap_aka_3gpp2_card.c | C | gpl-3.0 | 4,765 |
<?php
/*
##########################################################################
# #
# Version 4 / / / #
# -----------__---/__---__------__----__---/---/- #
# ... | nerdiabet/webSPELL | languages/sq/admin/ranks.php | PHP | gpl-3.0 | 2,358 |
/**
* Copyright (C) 2015 Envidatec GmbH <info@envidatec.com>
*
* This file is part of JECommons.
*
* JECommons 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 in version 3.
*
* JECommons is distributed... | AIT-JEVis/JECommons | src/main/java/org/jevis/commons/dataprocessing/v2/Task.java | Java | gpl-3.0 | 1,111 |
import leon._
import lazyeval._
import lang._
import annotation._
import collection._
import instrumentation._
import math._
/**
* A constant time deque based on Okasaki's implementation: Fig.8.4 Pg. 112.
* Here, both front and rear streams are scheduled.
* We require both the front and the rear streams to be of al... | epfl-lara/leon | testcases/lazy-datastructures/withconst/Deque.scala | Scala | gpl-3.0 | 11,454 |
## roster_nb.py
## based on roster.py
##
## Copyright (C) 2003-2005 Alexey "Snake" Nezhdanov
## modified by Dimitur Kirov <dkirov@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... | 9thSenseRobotics/bosh_server | nbxmpp-0.1/nbxmpp/roster_nb.py | Python | gpl-3.0 | 13,001 |
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: AssemblyTi... | James-Lockwood/lightstone4net | Code/LightStone4net.WinUI/Properties/AssemblyInfo.cs | C# | gpl-3.0 | 905 |
using System.IO;
using System.Text;
using Microsoft.WindowsAzure.Storage.Blob;
namespace ScrewTurn.Wiki.Plugins.AzureStorage
{
/// <summary>
///
/// </summary>
public static class CloudBlobExtensions
{
/// <summary>
/// Uploads a string of text to a block blob.
/// </summ... | Askanio/STW6 | ScrewTurnWiki.AzureStorageProviders/CloudBlobExtensions.cs | C# | gpl-3.0 | 6,370 |
<?php
/**
* The view model to store the state of an ajax request/response in JSON objects.
*
* @author Jeremie Litzler
* @copyright Copyright (c) 2015
* @licence http://opensource.org/licenses/gpl-license.php GNU Public License
* @link https://github.com/WebDevJL/EasyMvc
* @since Version 1.0.0
* @package Base... | WebDevJL/EasyMVC | Library/ViewModels/BaseJsonVm.php | PHP | gpl-3.0 | 766 |
/*
This file is part of Darling.
Copyright (C) 2017 Lubos Dolezel
Darling 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 your option) any later version.
Darling i... | darlinghq/darling | src/private-frameworks/ViewBridge/include/ViewBridge/NSVBTestedFault.h | C | gpl-3.0 | 761 |
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Net;
using System.Web;
using System.Web.Mvc;
using System.Web.Security;
using ACE.Web.Models.Account;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using RestSharp;
namespace ACE.Web.Controllers
{
publ... | fantoms/ACE | Source/ACE.Web/Controllers/AccountController.cs | C# | gpl-3.0 | 2,291 |
<html>
<head>
<title>BOOST_PP_ARRAY_TO_SEQ</title>
<link rel="stylesheet" type="text/css" href="../styles.css">
</head>
<body>
<div style="margin-left: 0px;"> The <b>BOOST_PP_ARRAY_TO_SEQ</b> macro
converts an <i>array</i> to a <i>seq</i>. </div>
<h4> Usage </h4>
<div class="code"> <b>BOOST_PP_ARRAY_TO_SEQ... | cppisfun/GameEngine | foreign/boost/libs/preprocessor/doc/ref/array_to_seq.html | HTML | gpl-3.0 | 1,262 |
# -*- coding: utf-8 -*-
from django.contrib import admin
from django.utils.translation import ugettext as _
from .models import AbuseReport, SearchTermRecord
admin.site.register(AbuseReport)
class SearchTermAdmin(admin.ModelAdmin):
list_display = ('__unicode__', 'ip_address', 'get_user_full_name', )
search... | piotrek-golda/CivilHubIndependantCopy | places_core/admin.py | Python | gpl-3.0 | 596 |
"""
================================================================================
Logscaled Histogram
================================================================================
| Calculates a logarithmically spaced histogram for a data map.
| Written By: Matthew Stadelman
| Date Written: 2016/03/07
| Last Mod... | stadelmanma/netl-ap-map-flow | apmapflow/data_processing/histogram_logscale.py | Python | gpl-3.0 | 2,486 |
#region License
// Copyright (c) 2013, ClearCanvas Inc.
// All rights reserved.
// http://www.ClearCanvas.ca
//
// This file is part of the ClearCanvas RIS/PACS open source project.
//
// The ClearCanvas RIS/PACS open source project is free software: you can
// redistribute it and/or modify it under the terms of the G... | mayioit/MacroMedicalSystem | Desktop/View/WinForms/CheckBoxStyle.cs | C# | gpl-3.0 | 1,515 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.