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 |
|---|---|---|---|---|---|
/* class for generating random sample data*/
public class ValueGenerator {
private static String[] values = {
"elephant","giraffe","monkey","cheetah","dog","cat","tiger",
"mouse","tortoise","shark","whale","salmon","deer","wolf",
"grizzlybear","fox","snake","worm","fly","bee","hornet"
};
public static String[]... | DB-SE/isp2014.marcus.kamieth | Algorithms_DataStructures_RTVar/src/ValueGenerator.java | Java | gpl-2.0 | 1,197 |
//=============================================================================
// YHTTPD
// Helper
//=============================================================================
// c
#include <cstdio> // printf prototype.
#include <cstdlib> // calloc and free prototypes.
#include <cstring> // str* and memset pr... | j00zek/j00zeks-neutrino-mp-cst-next | src/nhttpd/yhttpd_core/helper.cpp | C++ | gpl-2.0 | 14,657 |
/*
* Copyright (c) 2012-2013, The Linux Foundation. All rights reserved.
*
* Previously licensed under the ISC license by Qualcomm Atheros, Inc.
*
*
* Permission to use, copy, modify, and/or distribute this software for
* any purpose with or without fee is hereby granted, provided that the
* above copyright not... | Vachounet/android_kernel_acer_hemingway | drivers/staging/prima/CORE/MAC/src/pe/lim/limSendManagementFrames.c | C | gpl-2.0 | 211,973 |
#ifndef _ERRORCODES_H
#define _ERRORCODES_H
/* (replaced by 0x08) 0x00 Unable to read bootsector. */
#define ERR_FAT_NO_MBR 0x01 /* No MBR detected. */
#define ERR_FAT_NO_PART 0x02 /* Unable to find first partition. */
#define ERR_FAT_IO_PART 0x03 /* Unable to read from first partition. */
#define ERR_FAT_I... | pcercuei/UBIBoot | src/errorcodes.h | C | gpl-2.0 | 1,570 |
/*
* Copyright (C) 2009 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... | DmitryADP/diff_qc750 | frameworks/av/media/libstagefright/include/AwesomePlayer.h | C | gpl-2.0 | 11,585 |
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# bu... | shartge/netcomics | Netcomics/HTML/Themes/CleanRound.pm | Perl | gpl-2.0 | 6,742 |
<?php
/**
* @version SEBLOD 3.x Core ~ $Id: _debug.php sebastienheraud $
* @package SEBLOD (App Builder & CCK) // SEBLOD nano (Form Builder)
* @url http://www.seblod.com
* @editor Octopoos - www.octopoos.com
* @copyright Copyright (C) 2009 - 2016 SEBLOD. All Rights Reserved.
* @license GNU General ... | klas/SEBLOD | administrator/components/com_cck/helpers/scripts/_debug.php | PHP | gpl-2.0 | 1,658 |
// Aseprite Document Library
// Copyright (c) 2001-2015 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
#pragma once
#include "doc/algorithm/hline.h"
#include "gfx/fwd.h"
namespace doc {
class Image;
class Mask;
namespace algorithm {
... | aseprite-gpl/aseprite | src/doc/algorithm/floodfill.h | C | gpl-2.0 | 596 |
/*
* Copyright (c) 2021, 2021, 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 ... | smarr/Truffle | substratevm/src/com.oracle.svm.hosted/src/com/oracle/svm/hosted/ConditionalConfigurationRegistry.java | Java | gpl-2.0 | 2,958 |
<?php
/**
* @package Blue Hat CDN
* @version 2.9.4
* @copyright (C) Copyright 2006-2014 Blue Hat Network, BlueHatNetwork.com. All rights reserved.
* @license GNU/GPL http://www.gnu.org/licenses/gpl-3.0.txt
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Ge... | dialoquad/dialoquad | wp-content/plugins/blue-hat-cdn/lib/common.php | PHP | gpl-2.0 | 3,884 |
<?php
// Checking if visitor is connected
$connected = false;
$is_admin = false;
if ( !empty($_SESSION['member'])) {
$connected = true;
$stmt = $PDO->prepare('SELECT members_id FROM admins WHERE id=1');
$stmt->execute();
$rslt = $stmt->fetch(PDO::FETCH_ASSOC);
$stmt->closeCursor();
$members_id = exp... | Tunisia-Sat/TSBlog | config/config.php | PHP | gpl-2.0 | 1,343 |
<wicket:panel>
<b><span wicket:id="prompt">How often do _____ and _____ speak with each other?</span></b>
<table>
<tr wicket:id="questions">
<td align="right">
<span wicket:id="alter">Alex</span>
</td>
<td align="left">
<div wicket:id="question"></div>
</td>
</tr>
</table>
<br />
<spa... | ericlavigne/sandbox | src/net/sf/egonet/web/panel/InterviewingPanel.html | HTML | gpl-2.0 | 426 |
using System;
using System.Diagnostics;
using System.Resources;
using System.Windows;
using System.Windows.Markup;
using System.Windows.Navigation;
using Microsoft.Phone.Controls;
using Microsoft.Phone.Shell;
using HTTPServer.Resources;
namespace HTTPServer
{
public partial class App : Application
{
/... | sintrb/WindowsPhoneHTTPServer | App.xaml.cs | C# | gpl-2.0 | 8,746 |
//Copyright Notice
/*
eXintegrator integrated expression analysis system
Copyright (C) 2004 Martin Jakt & Okada Mitsuhiro
This file is part of the eXintegrator integrated expression analysis system.
eXintegrator is free software; you can redistribute it and/or modify
it under the terms of the G... | lmjakt/exint_client | jpgView/ishAnnotationErrorMessage.h | C | gpl-2.0 | 1,722 |
<!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.6.0_65) on Wed Jan 29 20:09:42 CET 2014 -->
<TITLE>
de.fhpotsdam.unfolding.texture Class Hierarchy
</TITLE>
<META NAME="date" CONTENT="2014-01-29">
<LI... | phiLangley/openPHD | [CODE]/processing/libraries/Unfolding/reference/de/fhpotsdam/unfolding/texture/package-tree.html | HTML | gpl-2.0 | 8,372 |
package com.arantius.tivocommander.rpc.request;
import com.arantius.tivocommander.rpc.MindRpc;
public class Unsubscribe extends MindRpcRequest {
public Unsubscribe(String subscriptionId) {
super("unsubscribe");
mDataMap.put("bodyId", MindRpc.mTivoDevice.tsn);
mDataMap.put("subscriptionId", subscriptionI... | arantius/TiVo-Commander | src/com/arantius/tivocommander/rpc/request/Unsubscribe.java | Java | gpl-2.0 | 330 |
# WP Term Meta
Generic meta data on any taxonomy's term that doesn't depend on new tables or pollute the options table.
Meta is kept in a special post type that the term in question is assigned to.
The post is filtered from all queries on this term.
## Plugin brought to you by Oomph, Inc
.
*
* Copyright (C) 2008-2020 The OpenNMS Group, Inc.
* OpenNMS(R) is Copyright (C) 1999-2020 The OpenNMS Group, Inc.
*
* OpenNMS(R) is a registered trademark of The OpenNMS Group, Inc.
*
* OpenNMS(... | jeffgdotorg/opennms | opennms-webapp-rest/src/main/java/org/opennms/web/rest/v1/AlarmRestService.java | Java | gpl-2.0 | 11,406 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace VDS.RDF.Query.Expressions.Functions.Leviathan.Numeric.Trigonometry
{
/// <summary>
/// Represents the Leviathan lfn:cot() or lfn:cot-1 function
/// </summary>
public class CotangentFunction
: BaseTr... | jmahmud/RDFer | RDFerSolution/dotNetRdf/Query/Expressions/Functions/Leviathan/Numeric/Trigonometry/CotangentFunction.cs | C# | gpl-2.0 | 2,997 |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>wallproxy - 已颁发证书</title>
<script src="js/jquery.js"></script>
<script src="/certs.js"></script>
<script type="text/javascript">
$(document).ready(function(){
var colWidth = 300;
var ... | lichuan261/wuand | WallProxy/src.zip/web/certs.html | HTML | gpl-2.0 | 953 |
// $ANTLR 2.7.0a11: "antlr.g" -> "ANTLRLexer.java"$
package antlr;
public interface ANTLRTokenTypes {
int EOF = 1;
int NULL_TREE_LOOKAHEAD = 3;
int LITERAL_tokens = 4;
int LITERAL_header = 5;
int STRING_LITERAL = 6;
int ACTION = 7;
int DOC_COMMENT = 8;
int LITERAL_lexclass = 9;
int LITERAL_class = 10;
int L... | dbenn/cgp | lib/antlr-2.7.0/antlr/ANTLRTokenTypes.java | Java | gpl-2.0 | 1,472 |
/*
* Copyright (c) 2004, Bull SA. All rights reserved.
* Created by: Laurent.Vivier@bull.net
* This file is licensed under the GPL license. For the full content
* of this license, see the COPYING file at the top level of this
* source tree.
*/
/*
* assertion:
*
* aio_lio_opcode shall be ignored.
*
* meth... | crystax/android-vendor-openpts | conformance/interfaces/aio_read/5-1.c | C | gpl-2.0 | 2,542 |
package Common.Loggers;
import Common.FuncInterfaces.*;
import Common.Interfaces.ILogger;
import java.io.*;
import static Common.Utils.StringUtils.LineBreak;
import static Common.Utils.TimeUtils.nowTime;
import static java.lang.String.format;
/**
* Created by roman.i on 25.09.2014.
*/
public class DefaultLogger i... | elv1s42/VIQAUITestingTool | Java/src/main/java/Common/Loggers/DefaultLogger.java | Java | gpl-2.0 | 2,428 |
<!doctype html>
<html lang="en" itemscope itemtype="http://schema.org/Person">
<head>
<meta charset="utf-8">
<!-- Site Meta Data -->
<title>Parbhat Puri - python</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content=... | Parbhat/portfolio | tag/python.html | HTML | gpl-2.0 | 11,475 |
/*
* mantis_sysfs.c
*
* Created on: 2013-4-2
* Author: zekezang
*/
/* mantis model support. */
#include <linux/kernel.h>
#include <linux/slab.h>
#include <linux/init.h>
#include <linux/debugfs.h>
#include <linux/seq_file.h>
#include <linux/device.h>
#include "mantis.h"
static struct class *mantis_class;
... | zekezang/linux-2.6.38 | net/0-mantis/mantis_sysfs.c | C | gpl-2.0 | 623 |
/*
* This file is part of the coreboot project.
*
* Copyright 2014 SolidRun ltd.
*
* 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 distribu... | acorn-marvell/coreboot | src/mainboard/marvell/acorn/mainboard.c | C | gpl-2.0 | 1,577 |
<?php
//-
$ranges=Array(
"3573547008" => array("3573612543","ES"),
"3573612544" => array("3573743615","GB"),
"3573743616" => array("3573809151","CH"),
"3573809152" => array("3573874687","ES"),
"3573874688" => array("3573878783","PL"),
"3573878784" => array("3573882879","RU"),
"3573882880" => array("3573884927","DK"),
"... | hodorogandrei/contesteasyplatform | admiasi/include/ip2country_files/213.php | PHP | gpl-2.0 | 38,880 |
def float_example():
a = -10
print a.__float__()
print float(a)
if __name__ == '__main__':
float_example() | ramesharpu/python | basic-coding/built-in-functions/float.py | Python | gpl-2.0 | 124 |
#
# Gramps - a GTK+/GNOME based genealogy program
#
# Copyright (C) 2001 David R. Hampton
# Copyright (C) 2001-2006 Donald N. Allingham
# Copyright (C) 2007 Brian G. Matherly
# Copyright (C) 2010 Jakim Friant
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of ... | beernarrd/gramps | gramps/gen/plug/report/_reportbase.py | Python | gpl-2.0 | 3,048 |
<?php
// Search
// Wp Estate Pack
global $row_number_col;
get_header();
$options = wpestate_page_details('');
$unit_class = "col-md-6";
$row_number_col=6;
if($options['content_class'] == "col-md-12"){
$unit_class="col-md-4";
$row_number_col=4;
}
$row_number_col=4;
?>
<div class="row content-fi... | riddya85/rentail_upwrk | wp-content/themes/wprentals/search.php | PHP | gpl-2.0 | 1,879 |
<patTemplate:tmpl name="pageoutput" unusedvars="strip">
<h2 class="page-header">Local Events Settings</h2>
<p>{_JRPORTAL_LOCAL_EVENTS_SETTINGS_RADIUS_DESC}</p>
<form action="{JOMRES_SITEPAGE_URL_ADMIN}" method="post" name="adminForm" class="form-horizontal">
{JOMRESTOOLBAR}
<div class="control-group">
<div class="cont... | parksandwildlife/parkstay | jomres/core-plugins/local_events/templates/bootstrap/admin_local_events.html | HTML | gpl-2.0 | 653 |
from distutils.core import setup
setup(
name='tinyfsm',
version='0.1',
packages=[''],
url='https://github.com/tonyfunc/tinyfsm',
license='GNU Library',
author='tony',
author_email='me@tonyfunc.com',
description='A tiny implementation of Finite State Machine in Python.'
)
| tonyfunc/tinyfsm | setup.py | Python | gpl-2.0 | 305 |
#banner {
height: 0px;
background: none;
}
#legend li.externalLink {
background: none;
padding-right: 0px;
}
a.externalLink, a.externalLink:link, a.externalLink:visited, a.externalLink:active, a.externalLink:hover {
background: none;
padding-right: 0px;
}
#legend li.newWindow {
background: none;
padding... | stephenostermiller/ostermillerutils | src/site/resources/css/site.css | CSS | gpl-2.0 | 686 |
package cn.guoyukun.demo.cts.dao;
import java.util.Map;
import java.util.Map.Entry;
import org.springframework.stereotype.Repository;
@Repository
public class DealerDao extends BaseDao{
private static final String _TABLE_NAME = "dealer";
private static final String _PK_NAME = "JXSDM";
@Override
protected ... | gyk001/demo-cts | src/main/java/cn/guoyukun/demo/cts/dao/DealerDao.java | Java | gpl-2.0 | 1,189 |
/*
* SuperH Ethernet device driver
*
* Copyright (C) 2006-2012 Nobuhiro Iwamatsu
* Copyright (C) 2008-2012 Renesas Solutions Corp.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms and conditions of the GNU General Public License,
* version 2, as published by th... | slawr/linux-stable | drivers/net/ethernet/renesas/sh_eth.c | C | gpl-2.0 | 60,257 |
<?php namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class Falla extends Model{
protected $fillable = ['name', 'address', 'status'];
public function objections(){
return $this->hasMany('App\Models\Objection', 'id_falla');
}
public function fools(){
return $this->belongsToMany('App\Models\Use... | victorarcasrios/fallas | app/Models/Falla.php | PHP | gpl-2.0 | 367 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>Aria: ArLineSegment Class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.4.2 -->
<div class="... | charismaticchiu/Robotics | docs/classArLineSegment.html | HTML | gpl-2.0 | 28,647 |
# -*- Mode: python; tab-width: 4; indent-tabs-mode:nil; coding:utf-8 -*-
# vim: tabstop=4 expandtab shiftwidth=4 softtabstop=4
#
# MDAnalysis --- https://www.mdanalysis.org
# Copyright (c) 2006-2017 The MDAnalysis Development Team and contributors
# (see the file AUTHORS for the full list of names)
#
# Released under t... | MDAnalysis/mdanalysis | package/MDAnalysis/analysis/waterdynamics.py | Python | gpl-2.0 | 41,156 |
/*
* gitg-debug.c
* This file is part of gitg - git repository viewer
*
* Copyright (C) 2009 - Jesse van den Kieboom
*
* 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... | nacho/gitg | libgitg/gitg-debug.c | C | gpl-2.0 | 1,183 |
var mongoose = require('mongoose');
var Schema = mongoose.Schema;
var ObjectId = Schema.Types.ObjectId;
var beerSchema = new Schema({
name: String,
categoryId: ObjectId,
description: String,
stars: Number,
categoryIdString: String
});
var Beer = mongoose.model('Beer', beerSchema);
module.exports = Beer;
| HomeTap/HomeTap | models/beer.js | JavaScript | gpl-2.0 | 318 |
// $Id: DeploymentDiagramRenderer.java 7783 2005-02-20 21:55:19Z linus $
// Copyright (c) 2003-2005 The Regents of the University of California. All
// Rights Reserved. Permission to use, copy, modify, and distribute this
// software and its documentation without fee, and without a written
// agreement is hereby grante... | carvalhomb/tsmells | sample/argouml/argouml/org/argouml/uml/diagram/deployment/ui/DeploymentDiagramRenderer.java | Java | gpl-2.0 | 7,999 |
<!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.6.0_65) on Fri Dec 05 16:00:20 CET 2014 -->
<TITLE>
Uses of Class healpix.essentials.Constants
</TITLE>
<META NAME="date" CONTENT="2014-12-05">
<LINK R... | orlanthi/healpix | doc/html/java/healpix/essentials/class-use/Constants.html | HTML | gpl-2.0 | 5,732 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<TITLE>
Uses of Class com.google.gwt.user.cellview.client.CellBasedWidgetImplStandardBase (Google Web Toolkit Javadoc)
</TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../... | JakaCikac/dScrum | web/WEB-INF/classes/gwt-2.6.0/doc/javadoc/com/google/gwt/user/cellview/client/class-use/CellBasedWidgetImplStandardBase.html | HTML | gpl-2.0 | 6,253 |
/* Copyright (c) 2011-2012, The Linux Foundation. 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 version 2 and
* only version 2 as published by the Free Software Foundation.
*
* This program is distributed in the hope ... | vovanx500/ConceptKernel | sound/soc/msm/msm-pcm-afe.c | C | gpl-2.0 | 16,825 |
#!/usr/bin/env python
# encoding: utf-8
import sys
import argparse
if __name__ == "__main__":
parser = argparse.ArgumentParser()
parser.add_argument("-m", "--m_number", dest = "m", help = "pleaer enter the m...", type = int)
parser.add_argument("-n", "--n_number", dest = "n", help = "pleaer enter th... | gatieme/AderXCoding | language/python/argparse/m-n3.py | Python | gpl-2.0 | 435 |
/*
* File name: kstdcleanup.h
* Summary: Support classes for KDirStat
* License: LGPL - See file COPYING.LIB for details.
* Author: Stefan Hundhammer <sh@suse.de>
*
* Updated: 2008-11-27
*/
#ifndef KStdCleanup_h
#define KStdCleanup_h
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
// Forward de... | shundhammer/kdirstat | kdirstat/kstdcleanup.h | C | gpl-2.0 | 1,566 |
/* sun3lance.c: Ethernet driver for SUN3 Lance chip */
/*
Sun3 Lance ethernet driver, by Sam Creasey (sammy@users.qual.net).
This driver is a part of the linux kernel, and is thus distributed
under the GNU General Public License.
The values used in LANCE_OBIO and LANCE_IRQ seem to be empirically
true fo... | iPodLinux/linux-2.6.7-ipod | drivers/net/sun3lance.c | C | gpl-2.0 | 26,755 |
/***************************************************************************
testqgslayoutcontext.cpp
------------------------
begin : November 2014
copyright : (C) 2014 by Nyall Dawson
email : nyall dot dawson at gma... | CS-SI/QGIS | tests/src/core/testqgslayoutcontext.cpp | C++ | gpl-2.0 | 9,396 |
var winston = require('winston');
var WinstonFileTransport = winston.transports.File,
WinstonConsoleTransport = winston.transports.Console;
configLevel();
exports = winston;
module.exports = winston;
global.logs = winston;
exports.configLevel = configLevel;
function configLevel(config) {
winston.clear();
... | CaptureYou/captureyou-www | general/log.js | JavaScript | gpl-2.0 | 1,136 |
Proyecto-final
==============
| csaldana/Proyecto-final | README.md | Markdown | gpl-2.0 | 30 |
<?php
/**
* File containing the eZDiffEngine class.
*
* @copyright Copyright (C) 1999-2012 eZ Systems AS. All rights reserved.
* @license http://www.gnu.org/licenses/gpl-2.0.txt GNU General Public License v2
* @version 2012.5
* @package lib
*/
/*!
\class eZDiffEngine ezdiffengine.php
\abstract
\ingroup e... | pauletienney/siliconnexion | lib/ezdiff/classes/ezdiffengine.php | PHP | gpl-2.0 | 850 |
/*
* Kexi Report Plugin
* Copyright (C) 2007-2009 by Adam Pigg (adam@piggz.co.uk)
*
* 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... | donniexyz/calligra | kexi/plugins/reports/kexisourceselector.cpp | C++ | gpl-2.0 | 5,620 |
/*
===========================================================================
Copyright (C) 1999-2005 Id Software, Inc.
This file is part of Quake III Arena source code.
Quake III Arena source code is free software; you can redistribute it
and/or modify it under the terms of the GNU General Public License as
publish... | ensiform/jk2mv | src/qcommon/vm_interpreted.cpp | C++ | gpl-2.0 | 21,435 |
cmd_fs/nfs_common/built-in.o := rm -f fs/nfs_common/built-in.o; /pub/CIS520/usr/arm/bin/arm-angstrom-linux-gnueabi-ar rcs fs/nfs_common/built-in.o
| mjmccall/Kernel | fs/nfs_common/.built-in.o.cmd | Batchfile | gpl-2.0 | 148 |
# F3AT - Flumotion Asynchronous Autonomous Agent Toolkit
# Copyright (C) 2010,2011 Flumotion Services, S.A.
# 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... | f3at/feat | src/feat/test/test_agencies_emu_agency.py | Python | gpl-2.0 | 11,954 |
<?php
if ( ! class_exists( 'Redux_Validation_not_empty' ) ) {
class Redux_Validation_not_empty {
/**
* Field Constructor.
* Required - must call the parent constructor, then assign field and value to vars, and obviously call the render field function
*
... | wanmendoza/fundecan | wp-content/themes/helpme/includes/framework/ReduxCore/inc/validation/not_empty/validation_not_empty.php | PHP | gpl-2.0 | 1,384 |
package iptat.util;
public interface Observer {
public void update(int state);
}
| AlexandruGhergut/IPTAT | src/iptat/util/Observer.java | Java | gpl-2.0 | 83 |
/*
* Sibetaintrinsics.h - Intrinsic table for the beta version of Serpent Isle.
*
* Note: This is used in the virtual machine and the Usecode compiler.
*
* Copyright (C) 2016-2022 The Exult Team
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Gene... | exult/exult | usecode/sibetaintrinsics.h | C | gpl-2.0 | 17,659 |
body, #container, #header, #footer {
background-color: #3d4455;
} | Mukeysh/alf_git | sites/all/themes/openscholar/scholar_eloquent/flavors/blue/blue.css | CSS | gpl-2.0 | 69 |
/*
* Copyright (c) 1996, 2003 VIA Networking Technologies, Inc.
* 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 opt... | Core2idiot/Kernel-Samsung-3.0...- | drivers/staging/vt6656/datarate.c | C | gpl-2.0 | 14,607 |
// typeview.h - Declaration of CExtensionListControl and CTypeView
//
// WinDirStat - Directory Statistics
// Copyright (C) 2003-2004 Bernhard Seifert
//
// 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 F... | Meitinger/windirstat | typeview.h | C | gpl-2.0 | 4,637 |
/*
* Copyright (C) 2008-2018 TrinityCore <https://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 v... | conan513/SingleCore_TC | src/server/game/Battlefield/Battlefield.cpp | C++ | gpl-2.0 | 37,310 |
;Copyright (C) 1997-2001 ZSNES Team ( zsknight@zsnes.com / _demo_@zsnes.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
;vers... | bazzinotti/mac-zsnes-1.36 | src/video/m716text.asm | Assembly | gpl-2.0 | 21,894 |
/*
* 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.txt file ... | stweil/TYPO3.CMS | Build/Sources/TypeScript/backend/Resources/Public/TypeScript/FormEngine/InlineRelation/AjaxDispatcher.ts | TypeScript | gpl-2.0 | 4,280 |
// *************************************************************************
//
// Copyright 2004-2010 Bruno PAGES .
//
// This file is part of the BOUML Uml Toolkit.
//
// 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
// th... | gregsmirnov/bouml | src/misc/UmlDrag.cpp | C++ | gpl-2.0 | 2,695 |
<?php
/**
*
* Ajax Shoutbox extension for the phpBB Forum Software package.
*
* @copyright (c) 2014 Paul Sohier <http://www.ajax-shoutbox.com>
* @license GNU General Public License, version 2 (GPL-2.0)
*
* Translated By : Bassel Taha Alhitary - www.alhitary.net
*/
/**
* DO NOT CHANGE
*/
if (!defined('I... | Galixte/ajax-shoutbox-ext | language/ar/ajax_shoutbox.php | PHP | gpl-2.0 | 2,096 |
<?php
/*
$Id: tax_classes.php 1692 2012-02-26 01:26:50Z michael.oscmax@gmail.com $
osCmax e-Commerce
http://www.oscmax.com
Copyright 2000 - 2011 osCmax
Released under the GNU General Public License
*/
define('HEADING_TITLE', 'Tipos de impuestos');
define('TABLE_HEADING_TAX_CLASSES', 'Tipos de impuestos');
... | arnabnaha/NHCPharmacy | catalog/admin/includes/languages/espanol/tax_classes.php | PHP | gpl-2.0 | 1,041 |
/*
* Copyright (C) 2003 Robert Kooima
*
* NEVERBALL is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published
* by the Free Software Foundation; either version 2 of the License,
* or (at your option) any later version.
*
* This program is d... | libcg/neverball-psp | share/back.c | C | gpl-2.0 | 3,137 |
//
// SLFriendCircleTableSectionFooterView.h
// XMPPIM
//
// Created by wshaolin on 14/12/19.
// Copyright (c) 2014年 Bourbon. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface SLFriendCircleTableSectionFooterView : UITableViewHeaderFooterView
+ (instancetype)sectionFoooterViewWithTableView:(UITableView ... | zhwe130205/taskoffer | TaskOffer/Dynamic/View/SLFriendCircleTableSectionFooterView.h | C | gpl-2.0 | 341 |
/* $Id: tag.hpp 55984 2013-01-01 09:34:55Z mordante $ */
/*
Copyright (C) 2011 - 2013 by Sytyi Nick <nsytyi@gmail.com>
Part of the Battle for Wesnoth Project http://www.wesnoth.org/
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as ... | RushilPatel/BattleForWesnoth | src/tools/schema/tag.hpp | C++ | gpl-2.0 | 9,062 |
/*
Copyright (C) 2004 Michael Liebscher <wolf3d.redux@gmail.com>
Copyright (C) 2000-2002 by DarkOne the Hacker
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, ... | MichaelLiebscher/Wolfenstein3D_Redux | wolf3dredux/wolf/wolf_sprites.h | C | gpl-2.0 | 10,871 |
<?php
require_once("include/config.php");
require_once("include/functions.php");
if(!isset($_SESSION['logat'])) $_SESSION['logat'] = 'Nu';
if($_SESSION['logat'] == 'Da')
{
if(isset($_SESSION['nume']) && ctype_alnum($_SESSION['nume']))
$setid = $_SESSION['userid'];
... | hodorogandrei/contesteasyplatform | admiasi/editare-foto.php | PHP | gpl-2.0 | 4,821 |
using System.ComponentModel;
using System.Windows;
namespace Filewatcher.GUI
{
public partial class MacroView
{
public string Value { get; set; }
public MacroView()
{
InitializeComponent();
InitalizeExitRequest();
InitializeLocation();
}
... | bajak/luba-filewatcher | GUI/Views/MacroView.xaml.cs | C# | gpl-2.0 | 1,364 |
<?php
// ============================================================+
// File name : example_045.php
// Begin : 2008-03-04
// Last Update : 2011-04-15
//
// Description : Example 045 for TCPDF class
// Bookmarks and Table of Content
//
// Author: Nicola Asuni
//
// (c) Copyright:
// Nicola Asuni
// Tecnick.com LTD
// ... | memoupao/Fondo-Simon | lib/tcpdf/examples/example_045.php | PHP | gpl-2.0 | 3,857 |
#include <linux/version.h>
/*
* Our Own ASSERT implementation, so we can easily switch among BUG_ON, WARN_ON and nothing
*/
#ifdef _DEBUG
#define ASSERT(expr) WARN_ON(!(expr))
#else
#define ASSERT(expr)
#endif
#include <linux/time.h>
/*
* Global defines
*/
/*
SD: dont care about context switches
#define CAPTURE_... | thesrinivas/rakshak | rakshak-probe.bkup/driver/approbe.h | C | gpl-2.0 | 2,945 |
package de.amshaegar.economy.http;
import java.io.IOException;
import java.net.InetSocketAddress;
import com.sun.net.httpserver.HttpServer;
import de.amshaegar.economy.EcoFlow;
public class WebInterface {
private HttpServer server;
public WebInterface(int port) throws IOException {
server = HttpServer.create... | AmShaegar13/EcoFlow | src/de/amshaegar/economy/http/WebInterface.java | Java | gpl-2.0 | 780 |
<?php
/**
* Auto Amazon Links
*
* Generates links of Amazon products just coming out today. You just pick categories and they appear even in JavaScript disabled browsers.
*
* https://en.michaeluno.jp/amazon-auto-links/
* Copyright (c) 2013-2021 Michael Uno
*/
/**
* A scratch class to delete a database table.
... | michaeluno/amazon-auto-links | include/core/component/test/run/delete/database/aal_products/AmazonAutoLinks_Run_Database_Delete_aal_products.php | PHP | gpl-2.0 | 745 |
<div class="footer-social">
<div class="container">
<div class="row">
<div class="col-sm-6">
<h3 style="margin-top:8px; font-weight:300;"></h3>
</div>
<div class="col-sm-1">
<div class="social">
<div class="social-icon"><a href="#"><i class="icon-... | truebadore/tba | wp-content/themes/cloudhost/footer.php | PHP | gpl-2.0 | 3,013 |
<?php
if ( !defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly
}
/**
* Manages image sizes settings
*
* Here image sizes settings are defined and managed.
*
* @version 1.1.4
* @package ecommerce-product-catalog/functions
* @author Norbert Dreszer
*/
add_action( 'admin_init', 'ic_add_wp_screens_se... | impleCode/ecommerce-product-catalog | includes/settings/image-sizes.php | PHP | gpl-2.0 | 7,783 |
package com.tacohen.killbots.Logic;
import android.util.Pair;
public class GridDimensions {
public static Pair<Integer, Integer> gridDimensions;
public static int width;
public static int height;
public static Pair<Integer, Integer> getGridDimensions() {
return gridDimensions;
}
public static void setGridDi... | Tacohen/Killbots | Killbots/src/com/tacohen/killbots/Logic/GridDimensions.java | Java | gpl-2.0 | 692 |
<?php
/*
* Plugin Name: Permalink Redirect
* Plugin URI: http://scott.yang.id.au/code/permalink-redirect/
* Description: Permalink Redirect ensures that pages and entries are always accessed via the permalink. Otherwise, a 301 redirect will be issued.
* Version: 2.0.5
* Author: Scott Yang
* Author URI: http://sco... | amejias101/wordpress | wp-content/plugins/ylsy_permalink_redirect.php | PHP | gpl-2.0 | 16,822 |
//http://codeforces.com/problemset/problem/670/D2
#include <iostream>
#include <vector>
#include <algorithm>
using namespace std;
#define printv(data) for(auto& e:data) cout<<e<<","; cout<<endl;
#define sortv(data) std::sort(data.begin(),data.end());
#define rsortv(data) std::sort(data.rbegin(),data.rend());
#define ... | fjanisze/Problems | D2MagicPowder.cpp | C++ | gpl-2.0 | 1,543 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>CRAN - Package TurtleGraphics</title>
<link rel="stylesheet" type="text/css" href="../../CRAN_web.css" />
<meta http-equiv="Content-Type" content="text/... | esander91/NamespacePollution | Code/GetMetaDataFromCRAN/raw_html/TurtleGraphics.html | HTML | gpl-2.0 | 4,341 |
#include "abstractrequest.h"
#include <QJsonDocument>
#pragma once
class GetPlaylistRequest : public AbstractRequest
{
Q_OBJECT
public:
GetPlaylistRequest(const DataMessage &dataMessage, PlayerHandler *handler, QObject *parent = 0);
bool canResponse() const;
void execute();
};
| Moergil/MultiBox | Server/message/getplaylistrequest.h | C | gpl-2.0 | 320 |
function fileQueueError(file, errorCode, message) {
try {
var imageName = "error.gif";
var errorName = "";
if (errorCode === SWFUpload.errorCode_QUEUE_LIMIT_EXCEEDED) {
errorName = "You have attempted to queue too many files.";
}
if (errorName !== "") {
alert(errorName);
return;
}
... | vapvarun/MicrocerptBIZ | wp-content/plugins/PlusOnett/monetize/add_post/image_uploader/swfupload/handlers.js | JavaScript | gpl-2.0 | 8,928 |
#define XPM_WIDTH_CYAN10 20
#define XPM_HEIGHT_CYAN10 20
unsigned char Xpm_image_cyan10[] = {
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0xff,0x00,0x79,0x79,0xff,0x00,0x80,0x80,0xff,0x00,0x85,0x85,0xf... | cyamauch/eggx | src/examples_academic/simulations-20110310/cyan.h | C | gpl-2.0 | 17,933 |
/**
* Copyright (C) 2012-2016 52°North Initiative for Geospatial Open Source
* Software GmbH
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU General Public License version 2 as publishedby the Free
* Software Foundation.
*
* If the program is linked with ... | ridoo/SensorWebClient | sensorwebclient-api/src/main/java/org/n52/server/da/oxf/SosRequestBuilderFactory.java | Java | gpl-2.0 | 1,956 |
<?php
/* define package */
define('PKG_NAME', 'VoteForms');
define('PKG_NAME_LOWER', strtolower(PKG_NAME));
define('PKG_VERSION', '2.0.5');
define('PKG_RELEASE', 'beta');
define('PKG_AUTO_INSTALL', true);
/* define paths */
if (isset($_SERVER['MODX_BASE_PATH'])) {
define('MODX_BASE_PATH', $_SERVER['MODX_BASE_PATH'... | me6iaton/VoteForms | _build/build.config.php | PHP | gpl-2.0 | 2,496 |
# No bug for the moment, want to raise libtool issue in general.
EAPI="5"
source "${PORTDIR}/${CATEGORY}/${PN}/${BASH_SOURCE[0]##*/}"
EAPI="5"
inherit libtool
eval "
src_prepare() {
$(function_body src_prepare)
elibtoolize
# Fool make to use g-ir-scanner from PATH.
touch gtk/g-ir-scanner || die
}"
| chewi/cross-boss | overlay/x11-libs/gtk+/ebuild:3.sh | Shell | gpl-2.0 | 307 |
# Telepítés a Debian Linux rendszerre
## Debian 11.0
Futtassa a következő shell parancsokat, hogy megbízhasson az adattárban.
```bash
wget http://download.opensuse.org/repositories/home:/pbek:/QOwnNotes/Debian_11/Release.key -O - | sudo apt-key add -
```
Futtassa a következő shell parancsokat az adattár hozzáadásáh... | pbek/QOwnNotes | webpage/src/hu/installation/debian.md | Markdown | gpl-2.0 | 2,444 |
//
// ID Engine
// ID_IN.c - Input Manager
// v1.0d1
// By Jason Blochowiak
//
//
// This module handles dealing with the various input devices
//
// Depends on: Memory Mgr (for demo recording), Sound Mgr (for timing stuff),
// User Mgr (for command line parms)
//
// Globals:
// LastScan - The keyboard scan code o... | WarlockD/crispy-doom | stm32/wolf3d/id_in.cpp | C++ | gpl-2.0 | 17,126 |
<?xml version="1.0" encoding="UTF-8"?>
<!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" lang="en" xml:lang="en">
<head>
<title>KTimeZone.Phase</title>
<meta http-equiv="Content-Type" content="text/ht... | KDE/pykde4 | docs/html/kdecore/KTimeZone.Phase.html | HTML | gpl-2.0 | 12,761 |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<script src="/benchmark/js/jquery.min.js"></script>
<script type="text/javascript" src="/benchmark/js/js.cookie.js"></script>
<title>Be... | h3xstream/Benchmark | src/main/webapp/pathtraver-02/BenchmarkTest02033.html | HTML | gpl-2.0 | 2,439 |
<div class="mcl-login-form-login">
<h2><?php echo ($instance_id == "my_columbia_llm") ? "My Columbia LL.M." : "My Columbia Law and Admitted Student" ?></h2>
<h3>Security Question Update</h3>
<div <?php echo (isset($_SESSION['messages']['status'][0])) ? "class='status-msg'" : "" ?> >
<?php echo (isset($_SESSIO... | nexttee/culaw | sites/default/modules/cls_mcl/templates/security_question_update.tpl.php | PHP | gpl-2.0 | 3,687 |
$Rev: 916 $
| boudewijnrempt/HyvesDesktop | 3rdparty/socorro/webapp-php/application/views/common/version.php | PHP | gpl-2.0 | 13 |
package utility;
public class IdConst extends Ident {
//Valeur de la constante
private int valeur;
//Initialisation d'une IdConst (nom, type et valeur)
public IdConst(String _name, int _type, int _valeur) {
super(_name, _type); //constructeur de Ident
this.valeur = _valeur;
}
public int getValeur() {retur... | william-insa/Projet_compilateur | Compilateur/src/utility/IdConst.java | Java | gpl-2.0 | 455 |
--[[ Copyright (C) 2017-2019 Google 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 version.
This program is distributed in the ho... | deepmind/lab | lua_tests/keys_doors_room_test.lua | Lua | gpl-2.0 | 4,042 |
/*
Controller.h
This file is part of Charm, a task-based time tracking application.
Copyright (C) 2007-2015 Klarälvdalens Datakonsult AB, a KDAB Group company, info@kdab.com
Author: Mirko Boehm <mirko.boehm@kdab.com>
Author: Olivier JG <olivier.de.gaalon@kdab.com>
Author: Frank Osterfeld <frank.osterfeld... | sengels/Charm | Core/Controller.h | C | gpl-2.0 | 3,125 |
/**********************************************************************
Freeciv - Copyright (C) 1996 - A Kjeldberg, L Gregersen, P Unold
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; eithe... | seggil/warciv | common/worklist.hh | C++ | gpl-2.0 | 2,086 |