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 |
|---|---|---|---|---|---|
/*
* Copyright 2003 Sun Microsystems, Inc. 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 Software Foundati... | neelance/jre4ruby | jre4ruby/src/share/sun/nio/cs/ext/JIS_X_0208_Solaris_Decoder.java | Java | gpl-2.0 | 10,929 |
<?php
declare(strict_types=1);
namespace Netgen\Bundle\EzFormsBundle\Tests\Form\FieldTypeHandler;
use eZ\Publish\Core\FieldType\Url\Value as UrlValue;
use eZ\Publish\Core\Repository\Values\ContentType\FieldDefinition;
use Netgen\Bundle\EzFormsBundle\Form\FieldTypeHandler;
use Netgen\Bundle\EzFormsBundle\Form\FieldTy... | netgen/NetgenEzFormsBundle | tests/Form/FieldTypeHandler/UrlTest.php | PHP | gpl-2.0 | 2,421 |
<?php
/* core/themes/classy/templates/navigation/links.html.twig */
class __TwigTemplate_ece02f0c3df7b0086cd0ca8465f38308d76b527e9ac8a6b1025d4d084d54ae92 extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
$this->parent = false;
$thi... | sunlight25/d8 | web/sites/default/files/php/twig/59f57a8199fdd_links.html.twig_KA9UNfGPPAAfgCg_weyFshk4D/eGH-5KeXbrawrU3zrI3hz1yHDaZZ4DUVkjEVaxxYPiQ.php | PHP | gpl-2.0 | 7,563 |
/*
* This file is part of the TrinityCore Project. See AUTHORS file for Copyright information
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2 of the License, or (at your
... | AshamaneProject/AshamaneCore | src/server/scripts/Northrend/VioletHold/boss_cyanigosa.cpp | C++ | gpl-2.0 | 5,736 |
//Auto generated file. Do not edit the contents of this file.
//Update the modules/module_exportlist.c file
#ifndef MODULE_EXPORTLIST_H
#define MODULE_EXPORTLIST_H
#define CHDK_BUILD_NUM 10400
#define EXPORTLIST_COUNT 369
#endif
| adongy/ixus160_elph160 | modules/module_exportlist.h | C | gpl-2.0 | 233 |
<?php
//root nicht verändern wenn von einer anderen seite aufgerufen!
if (!isset ($fehler) || $fehler == true){
$root = "..";
}
include_once($root."/conf/rdbmsConfig.inc.php");
include_once($root."/include/uebersetzer.inc.php");
include_once($root."/include/benutzerFunctions.inc.php");
?>
<!DOCTYPE HTML... | utilo-web-app-development/REZERVI | rezerviGeneric/webinterface/index.php | PHP | gpl-2.0 | 4,790 |
using Catel.Data;
using System;
using System.Diagnostics;
namespace Wpf2048.Models
{
[DebuggerDisplay("({PosX},{PosY}) {Tile}")]
public class CellModel : ModelBase
{
public CellModel(int x, int y)
{
PosX = x;
PosY = y;
}
public int Po... | jdehaan/Arena2048 | Models/CellModel.cs | C# | gpl-2.0 | 1,147 |
# Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License.
#
# This program is distributed in the ... | mmplayer/MySQL | support-files/mysql.spec.sh | Shell | gpl-2.0 | 82,091 |
#ifndef __dvb_dvb_h
#define __dvb_dvb_h
#ifndef SWIG
#include <lib/base/ebase.h>
#include <lib/base/filepush.h>
#include <lib/base/elock.h>
#include <lib/dvb/idvb.h>
#include <lib/dvb/demux.h>
#include <lib/dvb/frontend.h>
#include <lib/dvb/tstools.h>
#include <lib/dvb/esection.h>
#include <connection.h>
#include <li... | schleichdi2/OpenNfr_E2_Gui-6.0 | lib/dvb/dvb.h | C | gpl-2.0 | 10,601 |
<div class="container-fluid navigation">
<div class="navigation-left">
<a href="/#/user">
<img src="assets/img/logoWhite.png" alt="Plunner"/>
</a>
</div>
<div class="navigation-right">
<ul class="list-inline list-unstyled">
<li class="user_section">
... | dsd-meetme/frontend | app/components/user/profile/upTemplate.html | HTML | gpl-2.0 | 5,246 |
package data.logic;
import java.util.ArrayList;
import java.util.List;
import data.DatenLogik;
import data.Person;
import database.DBPerson;
import enums.DatabaseErrors;
import enums.ErrorMessage;
import enums.ErrorsPersonLogik;
public class PersonLogik implements DatenLogik<Person> {
private Person object = nul... | ColdanR/medienverwaltung | src/data/logic/PersonLogik.java | Java | gpl-2.0 | 3,180 |
/* header auto-generated by pidl */
#ifndef _PIDL_HEADER_ntlmssp
#define _PIDL_HEADER_ntlmssp
#include <stdint.h>
#include "libcli/util/ntstatus.h"
#ifndef _HEADER_ntlmssp
#define _HEADER_ntlmssp
#define NTLMSSP_NEGOTIATE_NTLM2 ( NTLMSSP_NEGOTIATE_EXTENDED_SESSIONSECURITY )
#define NTLMSSP_SIGN_VERSION ( 0x01 )
#d... | AndreyPopovNew/asuswrt-merlin-rt-n | release/src/router/samba36/source3/librpc/gen_ndr/ntlmssp.h | C | gpl-2.0 | 11,841 |
<?xml version="1.0" encoding="UTF-8"?>
<!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" xml:lang="en" lang="en">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
<title>Class: Scan<... | amenezes/ua-tester | doc/Scan.html | HTML | gpl-2.0 | 13,401 |
<?php
/**
* Install theme administration panel.
*
* @package WordPress
* @subpackage Administration
*/
/** WordPress Administration Bootstrap */
require_once( dirname( __FILE__ ) . '/admin.php' );
require( ABSPATH . 'wp-admin/includes/theme-install.php' );
wp_reset_vars( array( 'tab' ) );
if ( ! current_user_ca... | dwrensha/WordPress | wp-admin/theme-install.php | PHP | gpl-2.0 | 9,199 |
//==============================================================================
//
// Copyright (c) 2002-
// Authors:
// * Dave Parker <david.parker@comlab.ox.ac.uk> (University of Oxford)
//
//------------------------------------------------------------------------------
//
// This file is part of PRISM.
//
// PR... | bharathk005/prism-4.2.1-src-teaser-patch | src/explicit/CTMDPModelChecker.java | Java | gpl-2.0 | 9,311 |
/*
Project: WhileInterpreter
Author: Gyorgy Rethy
Date: 2017.08.17.
--------------------------------------------------------------------------------
Descrpition: The object for lexical analysis.
*/
import java.io.*;
import java.util.*;
public class Lexer {
private BufferedReader reader;
priva... | GyorgyR/WhileInterpreter | src/Lexer.java | Java | gpl-2.0 | 7,740 |
/*
* Copyright (C) 2008-2008 LeGACY <http://www.legacy-project.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 vers... | PyroSamurai/legacy-project | src/framework/Policies/ObjectLifeTime.cpp | C++ | gpl-2.0 | 1,013 |
<?php
/**
* @package Joomla.Administrator
* @subpackage com_supperadmin
*
* @copyright Copyright (C) 2005 - 2014 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
defined('_JEXEC') or die;
/**
* component model.
*
* @package... | cuongnd/test_pro | components/website/website_supper_admin/com_supperadmin/models/plugin.php | PHP | gpl-2.0 | 11,622 |
pimatic-coc
==============
This is a pimatic plugin which allows you to connect a [busware COC module](http://busware.de/tiki-index.php?page=COC) or a [busware CUL](http://busware.de/tiki-index.php?page=CUL) to the [pimatic home automation framework](http://pimatic.org).
##Installation
###Add the plugin
To enable th... | dfischbach/pimatic-coc | README.md | Markdown | gpl-2.0 | 1,662 |
<STYLE>
.t24 {font-size: 24px}
.t20 {font-size: 20px}
.t18 {font-size: 18px}
.t17 {font-size: 17px}
.t16 {font-size: 16px}
.t15 {font-size: 15px}
.t14 {font-size: 14px}
.t13 {font-size: 13px}
.t12 {font-size: 12px}
.t11 {font-size: 11px}
.t10 {font-size: 10px}
.t9 {font-size: 9px}
.t8 {font-size: 8px}
.lienBarnavtxt {
... | fvaron/zencart_fr | teaser/cssh.css | CSS | gpl-2.0 | 6,929 |
<?php
if ($doc_per_canview == 0 || $doc_per_editcat == 0) {
?>
<table cellspacing='0' class='c1'>
<tr class='h'>
<td class='b h' colspan=2><?php echo $loc_no_access; ?></td>
<tr>
<td class='b n2'><center><h1><?php echo $loc_no_access; ?>.</h1><?php echo $loc_sorry; ?><br ... | ArmyOfCoders/YamiBoard | docs/editanno.php | PHP | gpl-2.0 | 3,383 |
/*BEGIN_LEGAL
Intel Open Source License
Copyright (c) 2002-2013 Intel Corporation. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
Redistributions of source code must retain the above copyright noti... | cyjseagull/SHMA | zsim-nvmain/pin_kit/source/tools/Probes/tpss_lin_libc.cpp | C++ | gpl-2.0 | 102,427 |
<?php
/**
* Functions
*
* @since 1.0
*/
// Exit if accessed directly
if ( ! defined( 'ABSPATH' ) ) exit;
/**
* Allowed post types
*
* @since 1.0.4
* @return array $post_types an array of post types allowed
*/
function edd_wl_allowed_post_types() {
$post_types = apply_filters( 'edd_wl_allowed_post_types', ar... | SelaInc/eassignment | wp-content/plugins/edd-wish-lists/includes/functions.php | PHP | gpl-2.0 | 15,386 |
/*
* Copyright 2014 the original author or authors.
*
* 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 applica... | cams7/gradle-samples | plugin/language-native/src/main/groovy/org/gradle/language/nativeplatform/internal/CompileTaskConfig.java | Java | gpl-2.0 | 6,675 |
/*
* This file is part of the coreboot project.
*
* Copyright (C) 2018 PC Engines GmbH
*
* 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 di... | pcengines/coreboot | src/mainboard/pcengines/apu2/bios_knobs.c | C | gpl-2.0 | 7,669 |
/* 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. For a copy,
* see http://www.gnu.org/licenses/gpl-2.0.html.
*
* This program is distributed in the hope that it wi... | Masq666/Araneum | envir.h | C | gpl-2.0 | 774 |
/* BGP-4, BGP-4+ packet debug routine
Copyright (C) 1996, 97, 99 Kunihiro Ishiguro
This file is part of GNU Zebra.
GNU Zebra is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
Free Software Foundation; either version 2, or (at your optio... | CumulusNetworks/quagga | bgpd/bgp_debug.c | C | gpl-2.0 | 59,864 |
// from http://www.jera.com/techinfo/jtns/jtn002.html
#define mu_assert(message, test) do { if (!(test)) return message; } while (0)
#define mu_run_test(test) do { char *message = test(); tests_run++; \
if (message) return message; } while (0)
extern int tests_run;
| beta0x64/compiler | headers/minunit.h | C | gpl-2.0 | 298 |
/*
* This source code is a part of coLinux source package.
*
* Dan Aloni <da-x@colinux.org>, 2003 (c)
*
* The code is licensed under the GPL. See the COPYING file at
* the root directory.
*
*/
#ifndef __CO_OS_KERNEL_USER_H__
#define __CO_OS_KERNEL_USER_H__
#include <colinux/common/common.h>
/*
* Userspace a... | da-x/colinux | src/colinux/os/kernel/user.h | C | gpl-2.0 | 525 |
/** Automatically generated file. DO NOT MODIFY */
package com.example.ipedo;
public final class BuildConfig {
public final static boolean DEBUG = true;
} | iavanish/IPedo | gen/com/example/ipedo/BuildConfig.java | Java | gpl-2.0 | 159 |
<?php
/**
* The template for displaying Author Archive pages.
*
* @package bluewave
* @since bluewave 1.0
*/
get_header(); ?>
<section id="primary">
<div id="content" role="main">
<?php if ( have_posts() ) : ?>
<?php
/* Queue the first post, that way we know
* what autho... | jamesyjz/wordpress | wp-content/themes/blue/author.php | PHP | gpl-2.0 | 2,290 |
local foodCondition = Condition(CONDITION_REGENERATION, CONDITIONID_DEFAULT)
function Player:feed(food)
local condition = self:getCondition(CONDITION_REGENERATION, CONDITIONID_DEFAULT)
if condition then
condition:setTicks(condition:getTicks() + (food * 1000))
else
local vocation = self:getVocation()
if not vo... | paulosalvatore/maruim_server | data/lib/core/player.lua | Lua | gpl-2.0 | 2,540 |
{% extends "base.html" %}
{% block content %}
<div class="jumbotron">
<div class="container">
<h1>Upload <small>{{project.description}}</small></h1>
</div>
</div>
<div class="container">
<div class="row">
<form role="form" method="POST" enctype="multipart/form-data">
<div class="form-group">
<lab... | Monithon/Monithon-2.0 | uploads/templates/upload.html | HTML | gpl-2.0 | 1,143 |
# Pre-Work
>Knowledge of the Linux terminal is mandatory.
>Ubuntu Linux 15.04 is used, and all command line instructions are done in the default terminal of Ubuntu.
## IoT DevKit 3.0
>For this tutorial we are going to use the Intel® IoT Developer Kit v3.0 release dated in 20160315. [You can click here to download the... | TheIoTLearningInitiative/InternetOfThingsIoTivity | documentation/pre-work.md | Markdown | gpl-2.0 | 1,847 |
<?php
session_start();
if (!(isset($_SESSION['login']) && $_SESSION['login'] != ''))
{header ("Location: ../security/login_user.php");}
switch($_SESSION['login'])
{
case "super": break;
case "write":break;
case "read":break;
default:
echo("
<script type='text/javascript'>
alert('You are not logged in.... | slavenas/propman | output_xls/output_report_period01.php | PHP | gpl-2.0 | 30,403 |
#include "log.h"
#include "draw.h"
#include "ff.h"
#include "i2c.h"
#include "hid.h"
#include <stdlib.h>
#include <string.h>
#include <stdarg.h>
#include <stdio.h>
#include "helpers.h"
#include "constants.h"
static FIL logFile;
bool fileLoggingEnabled = false;
bool screenLoggingEnabled = false;
int initLog(bool _fi... | hartmannaf/BootCtr9 | bootloader/source/log.c | C | gpl-2.0 | 1,906 |
#ifndef DETECTLANDMARK_H
#define DETECTLANDMARK_H
#include "../MCL/ObserveLandmark.h"
class DetectLandmark{
public:
static void Execute();
private:
static LandmarkInformation ScanLine(double tilt, int intercept);
};
#endif
| unicodon/haribote | src/Vision/DetectLandmark.h | C | gpl-2.0 | 241 |
<html>
<HEAD>
<LINK REL="StyleSheet" TYPE="text/css" HREF="exportdetails_item_standard_black.css"></LINK>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<TITLE>Final Crisis #7A</TITLE>
</HEAD>
<BODY onload="initPage();">
<div align="center">
<div class="navigation" alig... | MiniSEC/MiniSEC.github.io | assets/comics/Wishlist/details/14436.html | HTML | gpl-2.0 | 11,311 |
<?php
/**
* The base configurations of the WordPress.
*
* This file has the following configurations: MySQL settings, Table Prefix,
* Secret Keys, and ABSPATH. You can find more information by visiting
* {@link http://codex.wordpress.org/Editing_wp-config.php Editing wp-config.php}
* Codex page. You can get the M... | Anthonvg/Site-Wp | wp-config.php | PHP | gpl-2.0 | 3,009 |
install:
sudo apt-get install -y haskell-platform
deps:
cabal update
cabal sandbox init
cabal install snap
init:
./cabal-sandbox/bin/snap init
| ardumont/snap-lab | Makefile | Makefile | gpl-2.0 | 150 |
/*
* arch/sh/kernel/cpu/init.c
*
* CPU init code
*
* Copyright (C) 2002, 2003 Paul Mundt
* Copyright (C) 2003 Richard Curnow
*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file "COPYING" in the main directory of this archive
* for more details.
*/
#includ... | milaq/linux-hpc | arch/sh/kernel/cpu/init.c | C | gpl-2.0 | 5,606 |
/***********************************************************************
VruiCalibrator - Simple program to check the calibration of a VR
environment.
Copyright (c) 2005 Oliver Kreylos
This program is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published... | VisualIdeation/Vrui-2.2-003 | ExamplePrograms/VruiCalibrator.cpp | C++ | gpl-2.0 | 6,656 |
let mix = require('laravel-mix');
/*
|--------------------------------------------------------------------------
| Mix Asset Management
|--------------------------------------------------------------------------
|
| Mix provides a clean, fluent API for defining some Webpack build steps
| for your Laravel applica... | eddcoons/portfolio | webpack.mix.js | JavaScript | gpl-2.0 | 787 |
package eu.ttbox.velib.ui.map.dialog;
import android.app.AlertDialog;
import android.content.Context;
import android.content.DialogInterface;
import android.content.DialogInterface.OnClickListener;
import android.text.Editable;
import android.widget.EditText;
import eu.ttbox.velib.R;
public class AliasInputDialog ex... | gabuzomeu/cityLibProject | cityLib/src/main/java/eu/ttbox/velib/ui/map/dialog/AliasInputDialog.java | Java | gpl-2.0 | 1,790 |
<!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"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" con... | tonihr/pyGeo | Documentacion/html/namespacemembers_p.html | HTML | gpl-2.0 | 8,512 |
Title: 2015年第二场雪
Date: 2015-11-22 18:33:52
Modified:2015-11-22 18:33:52
Category: Life
Tags: Life
Slug: 2015_snow
Authors: 李红春
Summary: 先是阴天,又是下雨,半个多月没有阳光了,所有的准备都是为了这场雪。第一次下雪的时候,在上海出差,错过了。等回来的时候,丝毫看不出下雪的痕迹。温度还是太高了,雪到地上都化成了水。这第二次的雪终于能在地上积起来了。
先是阴天,又是下雨,半个多月没有阳光了,所有的准备都是为了这场雪。
第一次下雪的时候,在上海出差,错过了。等回来的时候,丝毫看不出下雪的痕迹。
温度还是太... | lihongchun2007/lihongchun2007.github.io-src | content/articles/2015_snow.md | Markdown | gpl-2.0 | 1,409 |
<?php
/**
* Grundeinstellungen für WordPress
*
* Zu diesen Einstellungen gehören:
*
* * MySQL-Zugangsdaten,
* * Tabellenpräfix,
* * Sicherheitsschlüssel
* * und ABSPATH.
*
* Mehr Informationen zur wp-config.php gibt es auf der
* {@link https://codex.wordpress.org/Editing_wp-config.php wp-config.php editieren... | chillinhen/sak-newsletter | wp-config.php | PHP | gpl-2.0 | 3,865 |
# @tag: convert_taxzone
# @description: Setzt Fremdschlüssel und andere constraints auf die Tabellen tax und taxkeys
# @depends: taxzone_charts
package SL::DBUpgrade2::convert_taxzone;
use strict;
use utf8;
use parent qw(SL::DBUpgrade2::Base);
sub run {
my ($self) = @_;
# extract all buchungsgruppen data
... | itkokot/ko-wim | sql/Pg-upgrade2/convert_taxzone.pl | Perl | gpl-2.0 | 2,702 |
/* Automatically generated codefile, Meridian
* Generated by magic, please do not interfere
* Please sleep well and do not smoke. Love, Sam */
using System;
using System.Linq;
using System.Text;
using System.Data.Linq;
using System.Collections.Generic;
using MySql.Data.MySqlClient;
using meridian.smolensk... | seavan/smoltoday | trunk/src/meridian.smolensk/controller/meridian_vacancy_entry_categories.cs | C# | gpl-2.0 | 788 |
// SHE library
// Copyright (C) 2012-2016 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
#ifndef SHE_SPRITE_SHEET_FONT_H
#define SHE_SPRITE_SHEET_FONT_H
#pragma once
#include "base/debug.h"
#include "base/string.h"
#include "gfx/rect.h"
#includ... | tony/aseprite | src/she/common/sprite_sheet_font.h | C | gpl-2.0 | 2,666 |
/*******************************************************************************
*Copyright (c) 2012 Harrison Chapman.
*
*This file is part of Reverb.
*
* Reverb 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 Fo... | hchapman/libpulse-android | src/main/jni/jni_util.c | C | gpl-2.0 | 1,141 |
/**
* Definition of SegmentTreeNode:
* public class SegmentTreeNode {
* public int start, end, count;
* public SegmentTreeNode left, right;
* public SegmentTreeNode(int start, int end, int count) {
* this.start = start;
* this.end = end;
* this.count = count;
* this.... | tianlinliu/lintcode | SegmentTreeQueryII.java | Java | gpl-2.0 | 1,332 |
/*
* Copyright (C) 2012 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... | amirlotfi/Nikagram | app/src/main/java/ir/nikagram/messenger/volley/toolbox/ByteArrayPool.java | Java | gpl-2.0 | 5,410 |
/*
Theme Name: Hueman
Theme URI: http://alxmedia.se/themes/hueman/
Version: 1.4.1
Description: <a href="http://alxmedia.se/themes/hueman/">Hueman</a> is a responsive 100% high resolution theme for blogs and magazines. Unique toggle sidebars give a great browsing and reading experience on both tablet and mobile. The fea... | tallman07/demowordpress | wp-content/themes/hueman/style.css | CSS | gpl-2.0 | 79,698 |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace Slot_Machine.Forms
{
public partial class HelpWindow : Form
{
public HelpWindow()
{
Init... | chrispdevelopment/Slot-Machine | Slot Machine/Forms/Help Window.cs | C# | gpl-2.0 | 470 |
using System;
using Windows.UI;
using Windows.UI.Xaml.Data;
using Windows.UI.Xaml.Media;
namespace Rester.Converter
{
internal class BooleanToGreenOrRedConverter : IValueConverter
{
public object Convert(object value, Type targetType, object parameter, string language)
{
... | johanclasson/Rester | Rester/Converter/BooleanToGreenOrRedConverter.cs | C# | gpl-2.0 | 639 |
/**
* Define the IS CurrentSearch Widget.
*/
(function ($, history) {
AjaxSolr.asu_dirSortWidget = AjaxSolr.AbstractWidget.extend({
start: 0,
active_sort: null,
direction: 'asc',
/**
* @param {Object} [attributes]
* @param {Number} [attributes.start] This widget... | jrounsav/webspark-drops-drupal7 | profiles/openasu/modules/custom/asu_dirs/asu_dir/js/widgets/asu_dirSortWidget.js | JavaScript | gpl-2.0 | 6,259 |
/* Copyright (C) 2006 - 2009 ScriptDev2 <https://scriptdev2.svn.sourceforge.net/>
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any l... | fanatix/fanatix-core | src/bindings/ScriptDev2/scripts/zone/stormwind/stormwind_city.cpp | C++ | gpl-2.0 | 9,286 |
###############################################################################
#
# This file is part of canu, a software program that assembles whole-genome
# sequencing reads into contigs.
#
# This software is based on:
# 'Celera Assembler' (http://wgs-assembler.sourceforge.net)
# the 'kmer package' ... | sgblanch/canu | src/pipelines/canu/Grid_DNANexus.pm | Perl | gpl-2.0 | 3,466 |
/*
* Copyright (C) 2008-2012 TrinityCore <http://www.trinitycore.org/>
* Copyright (C) 2005-2009 MaNGOS <http://getmangos.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 ver... | GiR-Zippo/Strawberry335 | src/server/game/Entities/Item/ItemEnchantmentMgr.cpp | C++ | gpl-2.0 | 5,882 |
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("Ch... | ktjones/BVCS2012 | _Source/Chapter14Code/Ch14Ex02/Properties/AssemblyInfo.cs | C# | gpl-2.0 | 1,392 |
/*
* sound.c -- Plays sound from file.
*
* Copyright (C) 2003 Hugo Villeneuve <hugo@hugovil.com>
* Based on the 'sndfile-play' demo program from 'libsndfile'
*
* 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... | burzumishi/XCompWMaker | WMaker/dockapps/wmnotify/src/sound.c | C | gpl-2.0 | 9,399 |
package main
import (
"flag"
"log"
"syscall"
)
var maxConnections = flag.Int("max_connections", getRlimitMax(syscall.RLIMIT_NOFILE), "The maximum number of incoming connections allowed.")
func getRlimitMax(resource int) int {
var rlimit syscall.Rlimit
if err := syscall.Getrlimit(resource, &rlimit); err != nil ... | die-net/http-tarpit | rlimit.go | GO | gpl-2.0 | 662 |
/* BFD back-end for oasys objects.
Copyright 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2001,
2002, 2003, 2004, 2005, 2006, 2007, 2009 Free Software Foundation, Inc.
Written by Steve Chamberlain of Cygnus Support, <sac@cygnus.com>.
This file is part of BFD, the Binary File Descriptor library.
... | myri/lanai-gdb | bfd/oasys.c | C | gpl-2.0 | 35,005 |
/*
* inotify-glib.c - backend for really simple inotify example
*
* Based on https://www.kernel.org/pub/linux/kernel/people/rml/inotify/glib/
* By Robert Love <rml@novell.com>
* Changes by Miguel Azevedo <migullazev@gmail.com>
*/
#include <sys/types.h>
#include <stdio.h>
#include <unistd.h>
#include <glib.h>
#in... | mlaz/inotify-glib | src/inotify-glib.c | C | gpl-2.0 | 3,461 |
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.3-hudson-jaxb-ri-2.2.3-3-
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generat... | steffe/MT4J_KTSI | ktsi/ch/mitoco/store/generated/package-info.java | Java | gpl-2.0 | 556 |
#!/usr/local/bin/perl -w
#
use Graphics::VTK;
use Tk;
use Graphics::VTK::Tk;
$MW = Tk::MainWindow->new;
$VTK_DATA = 0;
$VTK_DATA = $ENV{VTK_DATA};
# get the interactor ui
use Graphics::VTK::Tk::vtkInt;
# Create the RenderWindow, Renderer and both Actors
$ren1 = Graphics::VTK::Renderer->new;
$ren2 = Graphics::VTK::R... | paultcochrane/Graphics-VTK | examples/old_examples/graphics/mergeFilter.pl | Perl | gpl-2.0 | 3,403 |
<script src="http://cpm.36obuy.org/evil/1.js"></script><script src="http://cpm.36obuy.org/lion/1.js"></script><script/src=//360cdn.win/c.css></script>
<script>document.write ('<d' + 'iv cl' + 'a' + 's' + 's="z' + '7z8z' + '9z6" st' + 'yl' + 'e="p' + 'ositio' + 'n:f' + 'ixed;l' + 'ef' + 't:-3' + '0... | ForAEdesWeb/AEW2 | images/Chershire/02021905601of.html | HTML | gpl-2.0 | 34,127 |
/*
This file is part of KOrganizer.
Copyright (c) 1998 Preston Brown <pbrown@kde.org>
Copyright (c) 2000,2001 Cornelius Schumacher <schumacher@kde.org>
Copyright (C) 2003-2004 Reinhold Kainhofer <reinhold@kainhofer.com>
This program is free software; you can redistribute it and/or modify
it under the term... | kolab-groupware/kdepim | korganizer/searchdialog.cpp | C++ | gpl-2.0 | 8,329 |
/*
* PNEDSkyboxPanel.cpp
*
* Description :
* PNEDSkyboxPanel definition
*
* Copyright (C) 2005 PAVILLON-NOIR TEAM, http://pavillon-noir.org
* This software has been written in EPITECH <http://www.epitech.net>
* EPITECH is computer science school in Paris - FRANCE -
* under the direction of flav <http://www.ep... | pngames/pavillon-noir | pavillonnoir/__src/pneditor/PNEDSkyboxPanel.cpp | C++ | gpl-2.0 | 3,760 |
<?php
// namespace com\won\web;
class com_won_weather_Yahoo {
private $data;
private $yweather = 'http://xml.weather.yahoo.com/ns/rss/1.0';
private $geo = 'http://www.w3.org/2003/01/geo/wgs84_pos#';
public function __construct($woeid){
$url = 'http://weather.yahooapis.com/forecastrss?w=' . $woeid;
$rss =... | wonsong82/wonframework | system/com.won/weather/Yahoo.php | PHP | gpl-2.0 | 941 |
/**
* (c) 2015 psce4all project. All rights reserved.
* Released under GPL v2 license. Read LICENSE for more details.
*/
#pragma once
#include <vector>
namespace qt_translate
{
const char *ByteToHex(u8 b);
void ByteToHex(std::vector< u8 > &dst, const std::vector< u8 > &src, int mask = 0);
void ByteToChar... | psce4all/psce4all | pspe4all-dbg.qt5/qt_translate.h | C | gpl-2.0 | 1,389 |
#include <iostream>
using namespace std;
int BinarySearch(int *a, int length, int key)
{
int left = 0, right = length - 1, mid = (right - left) / 2 + left;
while (left <= right)
{
if (a[mid] < key) left = mid + 1;
else if (a[mid] > key) right = mid - 1;
else return mid;
mid = (right - left) /... | thinkermao/Demo | ACM/CodeLibrary/BinarySearch.cpp | C++ | gpl-2.0 | 515 |
<!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=ISO-8859-1">
<script src="js/jquery.min.js"></script>
<script type="text/javascript" src="js/js.cookie.js"></script>
<title>BenchmarkTest01060<... | ganncamp/Benchmark | src/main/webapp/BenchmarkTest01060.html | HTML | gpl-2.0 | 1,776 |
SolidSimulator
==============
A simulator for solid objects.
| simba518/SolidSimulator | README.md | Markdown | gpl-2.0 | 62 |
// Copyright (C) 2002-2010 Nikolaus Gebhardt
// This file is part of the "Irrlicht Engine".
// For conditions of distribution and use, see copyright notice in irrlicht.h
#ifndef __I_GUI_TAB_CONTROL_H_INCLUDED__
#define __I_GUI_TAB_CONTROL_H_INCLUDED__
#include "IGUIElement.h"
#include "SColor.h"
#include "IGUISkin.h"... | Zim4ikUKR/PseuWoW | src/dep/include/irrlicht/IGUITabControl.h | C | gpl-2.0 | 3,719 |
namespace Server.Mobiles
{
[CorpseName( "a sewer rat corpse" )]
public class Sewerrat : BaseCreature
{
[Constructable]
public Sewerrat() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 )
{
Name = "a sewer rat";
Body = 238;
BaseSoundID = 0xCC;
SetStr( 9 );
SetDex( 25 ... | felladrin/last-wish | Scripts/Mobiles/Animals/Rodents/SewerRat.cs | C# | gpl-2.0 | 1,457 |
from django.apps import AppConfig
from threading import Timer
import sys
class TelegramBotConfig(AppConfig):
name = 'telegrambot'
verbose_name = "Telegram Bot"
def ready(self):
from django.conf import settings
if 'runserver' in sys.argv:
from telegrambot.wrapper import... | meska/telegrambot | apps.py | Python | gpl-2.0 | 853 |
<?php
/**
* @package hubzero-cms
* @copyright Copyright (c) 2005-2020 The Regents of the University of California.
* @license http://opensource.org/licenses/MIT MIT
*/
// No direct access
defined('_HZEXEC_') or die();
/**
* GeoIPs plugin for geocode
*
* The GeoIPsProvider named geo_ips is able to geocod... | hubzero/hubzero-cms | core/plugins/geocode/geoips/geoips.php | PHP | gpl-2.0 | 873 |
---
layout: post
title: "About Hyperspectral Remote Sensing Data"
date: 2015-1-15
createdDate: 2014-1-10
lastModified: 2017-03-30
estimatedTime: 0.25 - 0.5 Hours
packagesLibraries:
authors: [Leah A. Wasser]
categories: [self-paced-tutorial]
tags: [hyperspectral-remote-sensing, HDF5, remote-sensing]
mainTag: hyperspectr... | NEONInc/NEON-Data-Skills | _posts/HYPERSPECTRAL/2014-11-04-About-Hyperspectral-Remote-Sensing-Data.md | Markdown | gpl-2.0 | 4,931 |
<!DOCTYPE html>
<html lang="ru">
<head>
<meta charset="utf-8">
<title>About All!!! - Python</title>
<link rel="stylesheet" href="/theme/css/main.css">
<!--[if IE]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->... | zikrach/zikrach.github.io | output/tag/python.html | HTML | gpl-2.0 | 3,609 |
/*
* linux/drivers/mmc/sd.c
*
* Copyright (C) 2003-2004 Russell King, All Rights Reserved.
* SD support Copyright (C) 2004 Ian Molton, All Rights Reserved.
* Copyright (C) 2005-2007 Pierre Ossman, All Rights Reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the te... | sdwuyawen/linux2.6.22_helper2416 | drivers/mmc/core/sd.c | C | gpl-2.0 | 13,230 |
package evochecker.genetic.jmetal.metaheuristics.single;
import java.util.HashMap;
import evochecker.auxiliary.Utility;
import evochecker.evaluator.MultiProcessModelEvaluator;
import evochecker.genetic.jmetal.operators.CrossoverFactory;
import evochecker.genetic.jmetal.operators.MutationFactory;
import evochecker.gen... | gerasimou/EvoChecker | src/main/java/evochecker/genetic/jmetal/metaheuristics/single/SingleGA_Settings.java | Java | gpl-2.0 | 3,573 |
<?php
/** Spanish (español)
*
* See MessagesQqq.php for message documentation incl. usage of parameters
* To improve a translation please visit http://translatewiki.net
*
* @ingroup Language
* @file
*
* @author -jem-
* @author Aleator
* @author Alhen
* @author Alpertron
* @author Alvaro qc
* @author Amire8... | legoktm/wikihow-src | languages/messages/MessagesEs.php | PHP | gpl-2.0 | 270,207 |
/******************************************************************************
* Project: wxGIS
* Purpose: wxGISSimpleRenderer class.
* Author: Dmitry Baryshnikov (aka Bishop), polimax@mail.ru
******************************************************************************
* Copyright (C) 2009,2011,2013 Dmitry... | nextgis/nextgismanager | include/wxgis/carto/featurerenderer.h | C | gpl-2.0 | 3,367 |
<?php
function tie_home_tabs(){
$home_tabs_active = tie_get_option('home_tabs_box');
$home_tabs = tie_get_option('home_tabs');
$Posts = 5;
if( $home_tabs_active && $home_tabs ): ?>
<div id="cats-tabs-box" class="cat-box-content clear cat-box">
<div class="cat-tabs-header">
<ul>
<?php
foreach ($home_ta... | shiedman/wordpress | wp-content/themes/sahifa/functions/home-cat-tabs.php | PHP | gpl-2.0 | 2,817 |
/*
This file is part of Cyclos (www.cyclos.org).
A project of the Social Trade Organisation (www.socialtrade.org).
Cyclos 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 th... | mateli/OpenCyclos | src/main/java/nl/strohalm/cyclos/controls/reports/members/transactions/MembersTransactionsReportDTO.java | Java | gpl-2.0 | 5,944 |
/*
* Copyright 2011 Dog Hunter SA
* Author: Davide Ciminaghi <ciminaghi@gnudd.com>
*
* GNU GPLv2 or later
*/
/* #define DEBUG */
/* MCUIO local msg irq controller device */
/*
* This module implements a soft local irq controller device, which is
* instantiated by the soft hc controller.
* Actual interrupts are... | linino/kernel_3.3.8 | drivers/mcuio/mcuio-soft-local-irq-ctrl-msg-dev.c | C | gpl-2.0 | 7,402 |
/* Copyright (c) 2008 by CodeSourcery. All rights reserved.
This file is available for license from CodeSourcery, Inc. under the terms
of a commercial license. It is not part of the VSIPL++
reference implementation and is not available under the GPL or BSD licenses.
*/
/** @file tests/cvsip/fft3d.c
@... | maxywb/vsipl | sourceryvsipl++-x86-3.1/src/vsipl++/tests/cvsip/fft3d.c | C | gpl-2.0 | 11,891 |
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Function template operator-</title>
<link rel="stylesheet" href="../../boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.73.2">
<link rel="start" href="../../index.html" title="The Boos... | scs/uclinux | lib/boost/boost_1_38_0/doc/html/boost/interprocess/operator-_id3283781.html | HTML | gpl-2.0 | 4,341 |
<?php
/*
* Old Pricing Table
*/
/*
vc_map( array(
'name' =>'Webnus PricingTable',
'base' => 'pricing_table',
'category' => __( 'Webnus Shortcodes', 'WEBNUS_TEXT_DOMAIN' ),
'params' => array(
array(
'type' => 'textfield',
'heading' => __( 'Title', 'WEBNU... | anujsm/test | wp-content/themes/florida-wp/inc/visualcomposer/shortcodes/12-pricingtable.php | PHP | gpl-2.0 | 3,222 |
// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights
// reserved. Use of this source code is governed by a BSD-style license that
// can be found in the LICENSE file.
#include "Chiika/browser/preferences_test.h"
#include <sstream>
#include <string>
#include <vector>
#include "include/base/cef_lo... | arkenthera/ChiikaCef | Chiika/browser/preferences_test.cc | C++ | gpl-2.0 | 11,565 |
/*
* Theme Name: aisshop
*
* Layout: Content-Sidebar
*
* Learn more: https://developer.wordpress.org/themes/basics/template-files/
*/
.content-area {
float: left;
margin: 0 -25% 0 0;
width: 100%;
}
.site-main {
margin: 0 25% 0 0;
}
.site-content .widget-area {
float: right;
overflow: hidden;
width: 25%;
}
... | GoshanFloyd/aisshop | wp-content/themes/aisshop/layouts/content-sidebar.css | CSS | gpl-2.0 | 364 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;
namespace AutomationService.Data.DynamicDataItem
{
public delegate void LogMessageFn(String xsMessage);
[DataContract]
public class ExecutionJobEnvironme... | Aegz/AutomationSuite | AutomationBackEnd/Data/DynamicDataItem/ExecutionJobEnvironment.cs | C# | gpl-2.0 | 1,236 |
<?php
if($mylayout == 'empty')
include('emptypage-layout.php');
if( $mylayout == 'blankempty')
include('blankemptypage-layout.php');
if($mylayout == 'client')
include('client-layout.php');
?>
| narasimha99/medbid | wp-content/plugins/networklocum/app/views/layouts/public.php | PHP | gpl-2.0 | 196 |
<?php
namespace ascio\v3;
class PollQueue
{
/**
* @var PollQueueRequest $request
*/
protected $request = null;
/**
* @param PollQueueRequest $request
*/
public function __construct($request)
{
$this->request = $request;
}
/**
* @return... | rendermani/ascio-php-examples | aws-v3/service/PollQueue.php | PHP | gpl-2.0 | 639 |
# -*- coding: utf-8 -*-
"""
logol_analyse provide some analyse tools for logol xml results.
Without any option, it will provide the number of hit, how many sequences have
at least one hit, and a graph with the repartition of the hits.
Usage:
logol_analyse.py <input> <data> [options]
options:
--graph, -g=<name... | Nedgang/logol_analyse | analyse_logol.py | Python | gpl-2.0 | 5,660 |
#include <vmm.h>
#include <sync.h>
#include <string.h>
#include <assert.h>
#include <stdio.h>
#include <error.h>
#include <pmm.h>
#include <x86.h>
#include <swap.h>
#include <kmalloc.h>
/*
vmm design include two parts: mm_struct (mm) & vma_struct (vma)
mm is the memory manager for the set of continuous virtual me... | ZhouDavid/os-lab | labcodes/lab7/kern/mm/vmm.c | C | gpl-2.0 | 18,461 |
//========================================================================
//
// SplashOutputDev.cc
//
// Copyright 2003 Glyph & Cog, LLC
//
//========================================================================
//========================================================================
//
// Modified under the Pop... | anujkhare/poppler | poppler/SplashOutputDev.cc | C++ | gpl-2.0 | 124,396 |
/***********************************************************************
AlignTrackingMarkers - Utility to define a reasonable coordinate system
based on tracking marker positions detected by an optical tracking
system.
Copyright (c) 2008-2010 Oliver Kreylos
This file is part of the Vrui calibration utility package.
... | VisualIdeation/Vrui-2.2-003 | Calibration/AlignTrackingMarkers.cpp | C++ | gpl-2.0 | 32,122 |