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 |
|---|---|---|---|---|---|
package org.jiserte.bioformats.readers.phylip;
import org.jiserte.bioformats.readers.faults.AlignmentReadingFault;
public class FirstBlockLinePhylipFault extends AlignmentReadingFault {
public FirstBlockLinePhylipFault() {
super();
this.setMessage("Sequences in the first block of data must have a descriptio... | javieriserte/XI-bio-formats | XI-Bio-Formats/src/org/jiserte/bioformats/readers/phylip/FirstBlockLinePhylipFault.java | Java | gpl-2.0 | 378 |
<?php
/*=======================================================================
// File: BACKEND.INC.PHP
// Description: All various output backends for QR barcodes available
// Created: 2008-08-01
// Ver: $Id: backend.inc.php 1504 2009-07-06 13:34:57Z ljp $
//
// Copyright (c) 2008 Adi... | noparking/alticcio | core/outils/exterieurs/jpgraph/src/QR/backend.inc.php | PHP | gpl-2.0 | 19,943 |
namespace Tipshare
{
partial class Tipshare
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param ... | nsherrill/Consulting | Concord/Tipshare/Tipshare.Designer.cs | C# | gpl-2.0 | 27,660 |
using SFML.Graphics;
using SFML.Window;
namespace LudumDare.ParticleSystem
{
public class Emitter
{
public Vector2f Position;
public int ParticlesSpawnRate;
public float Spread;
public Color Color;
}
} | WebFreak001/LD-30 | ParticleSystem/Emitter.cs | C# | gpl-2.0 | 249 |
/*
SDL - Simple DirectMedia Layer
Copyright (C) 1997-2012 Sam Lantinga
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 op... | qtekfun/htcDesire820Kernel | external/qemu/distrib/sdl-1.2.15/src/video/vgl/SDL_vglmouse.c | C | gpl-2.0 | 1,382 |
/*
Copyright (c) 2006 Paolo Capriotti <[email protected]>
(c) 2006 Maurizio Monge <[email protected]>
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... | ruphy/tagua | src/point.cpp | C++ | gpl-2.0 | 3,545 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_04) on Thu May 15 10:36:11 IDT 2014 -->
<title>Painter (Codename One API)</title>
<meta name="date" content="2014-05-15">
<link rel="st... | shannah/cn1 | CodenameOne/javadoc/com/codename1/ui/Painter.html | HTML | gpl-2.0 | 8,079 |
# class.upload by verot.net
## contributor github.com/paulds
#### v0.31 Download from verot.net/php_class_upload_download.htm
This version is not PHP 5.3 compatible | paulds/class.upload | README.md | Markdown | gpl-2.0 | 167 |
/*
* Freeplane - mind map editor
* Copyright (C) 2008 Joerg Mueller, Daniel Polansky, Christian Foltin, Dimitry Polivaev
*
* This file is modified by Felix Natter in 2013.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as publi... | freeplane/freeplane | freeplane/src/main/java/org/freeplane/core/resources/components/ButtonProperty.java | Java | gpl-2.0 | 1,600 |
/*
* @author Philip Stutz
* @author Francisco de Freitas
*
* Copyright 2011 University of Zurich
*
* 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://w... | Tjoene/thesis | Case_Programs/signal-collect/src/main/scala/com/signalcollect/configuration/GraphConfiguration.scala | Scala | gpl-2.0 | 1,931 |
/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/
/***
This file is part of systemd.
Copyright 2010 Lennart Poettering
systemd 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... | lnykryn/systemd | src/core/unit.c | C | gpl-2.0 | 116,041 |
// logs.cpp
//
// Rivendell web service portal -- Log services
//
// (C) Copyright 2013,2016 Fred Gleason <[email protected]>
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
// published by the Free Software F... | NBassan/rivendell | web/rdxport/logs.cpp | C++ | gpl-2.0 | 13,675 |
/***************************************************************************
Copyright (C) 2003-2009 Robby Stephenson <[email protected]>
***************************************************************************/
/***************************************************************************
* ... | KDE/tellico | src/filterdialog.cpp | C++ | gpl-2.0 | 8,620 |
<?php
/**
* @Project NUKEVIET 4.x
* @Author VINADES.,JSC ([email protected])
* @Copyright (C) 2014 VINADES.,JSC. All rights reserved
* @Language Tiếng Việt
* @License CC BY-SA (http://creativecommons.org/licenses/by-sa/4.0/)
* @Createdate Mar 04, 2010, 03:22:00 PM
*/
if (!defined('NV_ADMIN') or !defined('NV_M... | NukeVietCMS/nukeviet | includes/language/vi/admin_authors.php | PHP | gpl-2.0 | 12,863 |
/* -*- c++ -*- ----------------------------------------------------------
LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator
http://lammps.sandia.gov, Sandia National Laboratories
Steve Plimpton, [email protected]
Copyright (2003) Sandia Corporation. Under the terms of Contract
DE-AC04... | pdebuyl/lammps | src/kspace.h | C | gpl-2.0 | 9,875 |
// Copyright 2013 Dolphin Emulator Project
// Licensed under GPLv2
// Refer to the license.txt file included.
#include <cstddef>
#include <string>
#include <vector>
#include <wx/chartype.h>
#include <wx/defs.h>
#include <wx/dynarray.h>
#include <wx/event.h>
#include <wx/frame.h>
#include <wx/gdicmn.h>
#include <wx/lis... | Asmodean-/dolphin | Source/Core/DolphinWX/FrameAui.cpp | C++ | gpl-2.0 | 25,156 |
/*****************************************************************************
* Free42 -- an HP-42S calculator simulator
* Copyright (C) 2004-2016 Thomas Okken
*
* 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 publish... | axd1967/free42s | common/core_commands4.cc | C++ | gpl-2.0 | 48,956 |
/*
* mpc8610-pcm.h - ALSA PCM interface for the Freescale MPC8610 SoC
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*/
#ifndef _MPC8610_PCM_H
#define _MPC8610_PCM_H
struct ... | Core2idiot/Kernel-Samsung-3.0...- | sound/soc/fsl/fsl_dma.h | C | gpl-2.0 | 5,573 |
ALTER TABLE db_version CHANGE COLUMN required_z0652_134_01_mangos_creature_model_info required_z0662_135_01_mangos_mangos_string bit;
DELETE FROM mangos_string WHERE entry BETWEEN 1149 AND 1151;
INSERT INTO mangos_string VALUES
(1149,' (Pool %u)',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
(1150,' (Event %i)',NUL... | natedahl32/portalclassic | sql/archive/0.12.2/z0662_135_01_mangos_mangos_string.sql | SQL | gpl-2.0 | 1,248 |
/*
* HT Editor
* syssdl.h
*
* Copyright (C) 2004 Stefan Weyergraf
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will b... | tycho/pearpc | src/system/ui/sdl/syssdl.h | C | gpl-2.0 | 2,112 |
/***************************************************/
/*! \class BiQuad
\brief STK biquad (two-pole, two-zero) filter class.
This class implements a two-pole, two-zero digital filter.
Methods are provided for creating a resonance or notch in the
frequency response while maintaining a constant filter ga... | TheAlphaNerd/theremax | include/stk/BiQuad.cpp | C++ | gpl-2.0 | 2,784 |
/*
* Copyright (C) 2005-2014 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 version 3 of the License, or (at your
* option) any later version.
*... | MistyWorld/MistyWorld_6xx | src/outils/vmap4_extracteur/mpqfile.cpp | C++ | gpl-2.0 | 2,513 |
<div><p><br/></p></div><div class="container">
<div class="row">
<div id="index" class="col-md-3">
<div >
<div class="panel panel-default">
<div class="panel-heading">Classes</div>
<div class="panel-body"><a href="/docs/api/BB_Frame"><span class="indent" style="padding-left:14px;"><i class="... | formigone/big-brother-js | promo-site/application/views/scripts/docs/src/BB_Session_js.php | PHP | gpl-2.0 | 4,500 |
import urllib2
import appuifw, e32
from key_codes import *
class Drinker(object):
def __init__(self):
self.id = 0
self.name = ""
self.prom = 0.0
self.idle = ""
self.drinks = 0
def get_drinker_list():
data = urllib2.urlopen("http://192.168.11.5:8080/drinkcounter/get_da... | deggis/drinkcounter | clients/s60-python/client.py | Python | gpl-2.0 | 1,757 |
package com.mikesantiago.mariofighter;
import static com.mikesantiago.mariofighter.GlobalVariables.PPM;
import com.badlogic.gdx.graphics.Texture;
import com.badlogic.gdx.graphics.g2d.SpriteBatch;
import com.badlogic.gdx.graphics.g2d.TextureRegion;
import com.badlogic.gdx.math.Vector2;
import com.badlogic.gdx.physics.... | Luigifan/MarioFighter | core/src/com/mikesantiago/mariofighter/PlayerOne.java | Java | gpl-2.0 | 5,195 |
#include "exec/def-helper.h"
#ifdef CONFIG_TCG_PLUGIN
DEF_HELPER_FLAGS_4(tcg_plugin_pre_tb, 0, void, i64, i64, i64, i64)
#endif
DEF_HELPER_2(exception, noreturn, env, i32)
DEF_HELPER_3(exception_cause, noreturn, env, i32, i32)
DEF_HELPER_4(exception_cause_vaddr, noreturn, env, i32, i32, i32)
DEF_HELPER_3(debug_except... | cedric-vincent/qemu | target-xtensa/helper.h | C | gpl-2.0 | 2,522 |
<?php
class Request {
public static function redirect($to) {
header('Location: ' . Config::get('url') . $to);
}
public static function path() {
return $_SERVER['REQUEST_URI'];
}
public static function method() {
$method = $_SERVER['REQUEST_METHOD'];
if($method === 'PUT') retur... | thatasko/elsa | system/modules/Request.php | PHP | gpl-2.0 | 708 |
# show_off_web_app/services
| mikeckennedy/cookiecutter-course | src/ch8_sharing_your_template/show_off_web_app/show_off_web_app/services/readme.md | Markdown | gpl-2.0 | 33 |
/* Copyright (c) 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... | javelinanddart/android_kernel_3.10_ville | drivers/media/rc/gpio-ir-recv.c | C | gpl-2.0 | 6,544 |
/*
* Copyright (c) 1998-2011 Caucho Technology -- all rights reserved
*
* This file is part of Resin(R) Open Source
*
* Each copy or derived work must preserve the copyright notice and this
* notice unmodified.
*
* Resin Open Source is free software; you can redistribute it and/or modify
* it under the terms o... | dlitz/resin | modules/quercus/src/com/caucho/quercus/lib/spl/OuterIterator.java | Java | gpl-2.0 | 1,187 |
//::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
//
// This file is part of Libmoleculizer
//
// Copyright (C) 2001-2009 The Molecular Sciences Institute.
//
//::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
//
// Moleculizer is free software; you can... | ecell/libmoleculizer | src/libmoleculizer/fnd/dumpStream.hh | C++ | gpl-2.0 | 2,822 |
from config import config, ConfigSlider, ConfigSelection, ConfigYesNo, \
ConfigEnableDisable, ConfigSubsection, ConfigBoolean, ConfigSelectionNumber, ConfigNothing, NoSave
from enigma import eAVSwitch, getDesktop
from SystemInfo import SystemInfo
from os import path as os_path
class AVSwitch:
def setInput(self, inpu... | eesatfan/vuplus-enigma2 | lib/python/Components/AVSwitch.py | Python | gpl-2.0 | 7,088 |
/*
* Network block device - make block devices work over TCP
*
* Note that you can not swap over this thing, yet. Seems to work but
* deadlocks sometimes - you can not swap over TCP in general.
*
* Copyright 1997-2000, 2008 Pavel Machek <[email protected]>
* Parts copyright 2001 Steven Whitehouse <[email protected]>... | MatiasBjorling/lightnvm-moved-to-OpenChannelSSD-Linux | drivers/block/nbd.c | C | gpl-2.0 | 22,865 |
<?php
namespace App\Test\Fixture;
use Cake\TestSuite\Fixture\TestFixture;
/**
* ContactsourcesFixture
*
*/
class ContactsourcesFixture extends TestFixture
{
/**
* Fields
*
* @var array
*/
public $fields = [
'id' => ['type' => 'integer', 'length' => 6, 'unsigned' => false, 'null' => false, 'default... | rrd108/sanga | tests/Fixture/ContactsourcesFixture.php | PHP | gpl-2.0 | 1,008 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc on Sat Aug 06 17:04:43 EDT 2005 -->
<TITLE>
Xalan-Java 2.7.0: Uses of Class org.apache.xpath.functions.FuncCurrent
</TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style">... | MrStaticVoid/iriverter | lib/xalan-j_2_7_0/docs/apidocs/org/apache/xpath/functions/class-use/FuncCurrent.html | HTML | gpl-2.0 | 4,574 |
#ifndef UTILITIES_H
#define UTILITIES_H
#include "edge.h"
#include <cstring>
#include "resume.h"
#include <algorithm>
#include <vector>
#include "Hungarian.h"
#include "BipartiteGraph.h"
#include "Matrix.h"
using namespace std;
typedef vector<vector<string>> section;
#include "pair_section.h"
class PairSection;
type... | sorrachai/FraudResumeDetection | utilities.h | C | gpl-2.0 | 6,297 |
/*
Copyright (C) 1997-2001 Id Software, 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 th... | glampert/quake2-for-ps2 | src/game/m_boss32.h | C | gpl-2.0 | 13,748 |
<?php
// $Id$
/**
* @file
* general functions for mothership
*/
function mothership_id_safe($string, $vars = "default") {
// Replace with dashes anything that isn't A-Z, numbers, dashes, or underscores.
if($vars == "remove-numbers"){
$string = strtolower(preg_replace('/[^a-zA-Z_-]+/', '-', $string));
}els... | aakb/sport-aarhus-events | sites/all/themes/mothership/template/template.functions.php | PHP | gpl-2.0 | 2,637 |
/* Source for:
* Cypress TrueTouch(TM) Standard Product I2C touchscreen driver.
* drivers/input/touchscreen/cyttsp-i2c.c
*
* Copyright (C) 2009, 2010 Cypress Semiconductor, Inc.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* vers... | cmvega/cmvega | drivers/input/touchscreen/cyttsp-i2c.c | C | gpl-2.0 | 80,215 |
# Again-
Remind me
| Rapidwave72/Again- | README.md | Markdown | gpl-2.0 | 20 |
<?php
header("Access-Control-Allow-Origin: *");
header("Content-Type: application/json; charset=UTF-8");
global $DB;
global $USER;
// Require config.php file for database connection // 1
require_once('/home/libecour/public_html/moodle/config.php');
// Get quiz number // 2
$quiz = $_GET['quiz']... | LIBE-VLE/libecour | pe/abilitylevellog.php | PHP | gpl-2.0 | 1,922 |
#!/usr/bin/perl
use strict;
my $head = "download:";
my $output;
open ( RULES, $ARGV[0] ) or die;
while ( <RULES> )
{
chomp;
if ( ! m/^#/ and ! m/^\s*$/ )
{
@_ = split ( /;/, $_ );
my $file = $_[0];
$head .= " \$(archivedir)/" . $file;
$output .= "\$(archivedir)/" . $file . ":\n\tfalse || ";
... | UkCvs/commando | cdk/rules-archive.pl | Perl | gpl-2.0 | 1,003 |
---
layout: default
title: (#TBD) Method に関する処理 : Java のコードによるメソッド呼び出し処理 (1) : 呼び出し元(caller側)での invoke 処理 : C2 JIT Compiler が生成したコードの場合
---
[Up](no3059lvH.html) [Top](../index.html)
#### (#TBD) Method に関する処理 : Java のコードによるメソッド呼び出し処理 (1) : 呼び出し元(caller側)での invoke 処理 : C2 JIT Compiler が生成したコードの場合
---
#Under Constructi... | hsmemo/hsmemo.github.com | articles/nogNTjQjaM.md | Markdown | gpl-2.0 | 516 |
/*
* AudioCore.c: Implements the JNi interface and handles
*
* (C) Copyright 2015 Simon Grätzer
* Email: [email protected]
*
* 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
*... | graetzer/AudioSync | app/src/main/jni/AudioCore.cpp | C++ | gpl-2.0 | 7,611 |
<?php
/**
* This file is for debugging and app development purposes only.
* Should not be used for front-end features.
* Possible purposes are:
* -- you want to test the functionality of the methods you created from another registered class.
* -- or you may want to test the effective of such algorithms.
*
*/
... | thesisteam/dbms | page/debug.php | PHP | gpl-2.0 | 354 |
package cz.vutbr.fit.xfekia00;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.LinkedList;
/**
* jedno vykonanie skriptu sa uklada ako polozka historie
* @author Filip Fekiac
*/
public class HistoryItem {
private final String usedDatabase; // pouzity databazovy system
private... | waresko18/TempJDBC | src-gui/src/cz/vutbr/fit/xfekia00/HistoryItem.java | Java | gpl-2.0 | 1,674 |
<html>
<head>
<title>
WARNING: at arch/x86/kernel/cpu/perf_event_intel.c:1373 perfevents: irq loop stuck!
</title>
</head>
<body>
<center>
<h1>
WARNING: at arch/x86/kernel/cpu/perf_event_intel.c:1373 perfevents: irq loop stuck!
</h1>
</center>
<h3>Severity</h3>
Just a warning, although it does cause a long pause whi... | deater/perf_event_tests | fuzzer/bugs-found/3.15-rc1.irq_loop_warning.html | HTML | gpl-2.0 | 43,133 |
/*
Copyright (C) 2004 Michael Liebscher
Copyright (C) 1997-2001 Id Software, 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... | MichaelLiebscher/Wolfenstein3D_Redux | wolf3dredux/env/renderer.h | C | gpl-2.0 | 2,616 |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/**
* CodeIgniter
*
* An open source application development framework for PHP 5.1.6 or newer
*
* @package CodeIgniter
* @author EllisLab Dev Team
* @copyright Copyright (c) 2008 - 2014, EllisLab, Inc.
* @copyright Copyrigh... | abhijeetmote/sama | system/database/drivers/postgre/postgre_driver.php | PHP | gpl-2.0 | 16,300 |
/*** ESSENTIAL STYLES ***/
.sf-menu, .sf-menu * {
margin: 0;
padding: 0;
list-style: none;
}
.sf-menu {
line-height: 1.0;
}
.sf-menu ul {
position: absolute;
top: -999em;
width: 10em; /* left offset of submenus need to match (see below) */
}
.sf-menu ul li {
width: 100%;
}
.sf-menu li:h... | ajyn17/wp-khouse | wp-content/themes/eventor/script/menu/superfish.css | CSS | gpl-2.0 | 4,259 |
#include <acpi/acpi.h>
#include "accommon.h"
#include "acnamesp.h"
#include "acresrc.h"
#define _COMPONENT ACPI_RESOURCES
ACPI_MODULE_NAME("rsutils")
u8 acpi_rs_decode_bitmask(u16 mask, u8 * list)
{
u8 i;
u8 bit_count;
ACPI_FUNCTION_ENTRY();
/* Decode the mask bits */
for (i = 0, bit_count = 0; ma... | luckasfb/OT_903D-kernel-2.6.35.7 | kernel/drivers/acpi/acpica/rsutils.c | C | gpl-2.0 | 11,290 |
/* drivers/i2c/chips/lis3dh.c - LIS3DH motion sensor driver
*
*
*
* This software is licensed under the terms of the GNU General Public
* License version 2, as published by the Free Software Foundation, and
* may be copied, distributed, and modified under those terms.
*
* This program is distributed in the hope... | yevgeniy-logachev/CATB15Kernel | mediatek/custom/common/kernel/accelerometer/lis3dh_auto/lis3dh.c | C | gpl-2.0 | 49,830 |
<?php
/* vim: set expandtab tabstop=4 shiftwidth=4: */
/**
* Cairo implementation for Image_Transform package
*
* PHP versions 4 and 5
*
* @category Image
* @package Image_Transform
* @subpackage Image_Transform_Driver_Cairowrapper
* @author Christian Weiske <[email protected]>
* @copyright 2008 The P... | mambax7/extgallery | class/pear/Image/Transform/Driver/Cairowrapper.php | PHP | gpl-2.0 | 6,761 |
/*--------------------------------------------------------------------------
*--------------------------------------------------------------------------
*
* Copyright (C) 2011 Gabriel Terejanu - [email protected]
*
* This is an application framework for solving the problem of
* predictive model selection of cou... | terejanu/PredictiveSelectionCoupledModels | tests/coupled_OLS_SED_funcs_test.C | C++ | gpl-2.0 | 6,162 |
import sys
import time
import logging
from socketio import socketio_manage
from socketio.mixins import BroadcastMixin
from socketio.namespace import BaseNamespace
from DataAggregation.webdata_aggregator import getAvailableWorkshops
logger = logging.getLogger(__name__)
std_out_logger = logging.StreamHandler(sys.stdo... | ARL-UTEP-OC/emubox | workshop-manager/bin/RequestHandler/client_updater.py | Python | gpl-2.0 | 2,004 |
/* Javadoc style sheet */
/*
Overall document style
*/
body {
background-color:#ffffff;
color:#353833;
font-family:Arial, Helvetica, sans-serif;
font-size:76%;
margin:0;
}
a:link, a:visited {
text-decoration:none;
color:#4c6b87;
}
a:hover, a:focus {
text-decoration:none;
... | underplex/tickay | stylesheet_tickay.css | CSS | gpl-2.0 | 11,569 |
<?php
/**
* @file
* Contains \Drupal\Core\Lock\LockBackendInterface.
*/
namespace Drupal\Core\Lock;
/**
* @defgroup lock Locking mechanisms
* @{
* Functions to coordinate long-running operations across requests.
*
* In most environments, multiple Drupal page requests (a.k.a. threads or
* proc... | acappellamaniac/eva_website | sites/all/modules/service_container/lib/Drupal/Core/Lock/LockBackendInterface.php | PHP | gpl-2.0 | 4,456 |
def freq_month(obj):
if obj is None or obj == []:
return
months = {1: 'jan',
2: 'feb',
3: 'mar',
4: 'apr',
5: 'may',
6: 'jun',
7: 'jul',
8: 'aug',
9: 'sep',
10: 'oct',
... | bluciam/ruby_versus_python | other/dicco_numbers.py | Python | gpl-2.0 | 857 |
# -*- coding: utf-8 -*-
#
# pynag - Python Nagios plug-in and configuration environment
# Copyright (C) 2010 Drew Stinnet
#
# 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 th... | kaji-project/pynag | pynag/Parsers/__init__.py | Python | gpl-2.0 | 129,457 |
/*
FILE
tTemplate source code of unxsISP.cgi
Built by mysqlRAD2.cgi (C) Gary Wallis and Hugo Urquiza 2001-2009
svn ID removed
PURPOSE
Schema dependent RAD generated file.
Program app functionality in ttemplatefunc.h while
RAD is still to be used.
*/
#include "mysqlrad.h"
//Table Variables
//Table Variables
//... | unxs0/unxsVZ | unxsISP/ttemplate.c | C | gpl-2.0 | 17,292 |
<?php
/**
* also_purchased_products.php
*
* @package modules
* @copyright Copyright 2003-2006 Zen Cart Development Team
* @copyright Portions Copyright 2003 osCommerce
* @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
* @version $Id: also_purchased_products.php 5369 2006-12-23 10... | picaflor-azul/dover_fine | dover_fine/files/includes/modules/dover_fine/also_purchased_products.php | PHP | gpl-2.0 | 2,803 |
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\Framework\Css\PreProcessor\File\FileList;
use Magento\Framework\View\File\FileList\CollateInterface;
/**
* File list collator
*/
class Collator implements CollateInterface
{
/**
* Colla... | kunj1988/Magento2 | lib/internal/Magento/Framework/Css/PreProcessor/File/FileList/Collator.php | PHP | gpl-2.0 | 1,020 |
package org.lastbamboo.common.util.mina.decode.binary;
import org.littleshoot.mina.common.ByteBuffer;
import org.littleshoot.mina.filter.codec.ProtocolDecoderOutput;
import org.littleshoot.util.mina.DecodingState;
/**
* Decoding state for reading a single unsigned int.
*/
public abstract class UnsignedIntDecodingSt... | adamfisk/littleshoot-client | common/util/mina/src/main/java/org/lastbamboo/common/util/mina/decode/binary/UnsignedIntDecodingState.java | Java | gpl-2.0 | 1,151 |
/*******************************************************************************
* This file is part of OpenNMS(R).
*
* Copyright (C) 2011-2012 The OpenNMS Group, Inc.
* OpenNMS(R) is Copyright (C) 1999-2012 The OpenNMS Group, Inc.
*
* OpenNMS(R) is a registered trademark of The OpenNMS Group, Inc.
*
* OpenNMS(... | vishwaAbhinav/OpenNMS | opennms-config/src/main/java/org/opennms/netmgt/config/datacollection/MibObj.java | Java | gpl-2.0 | 15,302 |
<?php
/**
* @author Antonio Durán Terrés
* @package Joomdle
* @license GNU/GPL
*
*/
// no direct access
defined('_JEXEC') or die('Restricted access');
// Import Joomla! libraries
jimport( 'joomla.application.component.view');
require_once( JPATH_COMPONENT.'/helpers/content.php' );
require_once( JPATH... | LauraRey/oacfdc | administrator/components/com_joomdle/views/customprofiletypes/view.html.php | PHP | gpl-2.0 | 2,060 |
/*
* CUnit - A Unit testing framework library for C.
* Copyright (C) 2004-2006 Jerry St.Clair
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version 2 of the Li... | zxgyy/QiNiuBatchUpload | BatchupLoad/qiniu/CUnit/CUnit/Sources/Test/test_cunit.c | C | gpl-2.0 | 3,772 |
/*
File: pdisksel.h
Copyright (C) 2014 Christophe GRENIER <[email protected]>
This software 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 y... | cgsecurity/testdisk | src/pdisksel.h | C | gpl-2.0 | 1,370 |
/***************************************************************************
* Copyright 2007 Robert Gruber <[email protected]> *
* *
* This program is free software; you can redistribute it and/or modify *
* it unde... | mali/kdevplatform | plugins/cvs/tests/test_cvs.cpp | C++ | gpl-2.0 | 4,139 |
/*
Copyright (c) 2004 The Regents of the University of Michigan.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice... | greearb/nfs-utils-ct | utils/gssd/gssd_main_loop.c | C | gpl-2.0 | 6,223 |
#!/usr/bin/env python
import unittest
from werkzeug.exceptions import NotFound, Forbidden
from tests.logic_t.layer.LogicLayer.util import generate_ll
class TaskPrioritizeBeforeLogicLayerTest(unittest.TestCase):
def setUp(self):
self.ll = generate_ll()
self.pl = self.ll.pl
def test_add_prio... | izrik/tudor | tests/logic_t/layer/LogicLayer/test_task_prioritize.py | Python | gpl-2.0 | 36,403 |
<?php
/**
* @copyright Copyright (C) eZ Systems AS. All rights reserved.
* @license For full copyright and license information view LICENSE file distributed with this source code.
*/
namespace eZ\Bundle\EzPublishLegacyBundle\Controller;
use eZ\Bundle\EzPublishLegacyBundle\LegacyResponse\LegacyResponseManager;
use ... | ezsystems/LegacyBridge | bundle/Controller/LegacyKernelController.php | PHP | gpl-2.0 | 4,198 |
/*
* Universal power supply monitor class
*
* Copyright © 2007 Anton Vorontsov <[email protected]>
* Copyright © 2004 Szabolcs Gyurko
* Copyright © 2003 Ian Molton <[email protected]>
*
* Modified: 2004, Oct Szabolcs Gyurko
*
* You may use this code as per GPL version 2
*/
#include <linux/module.h>
#incl... | titusece/linux_imx | drivers/power/power_supply_core.c | C | gpl-2.0 | 19,435 |
<?php
/**
* @file
* Default theme implementation to display a single Drupal page.
*
* The doctype, html, head and body tags are not in this template. Instead they
* can be found in the html.tpl.php template in this directory.
*
* Available variables:
*
* General utility variables:
* - $base_path: The base URL... | toniabhi/hclcausefight | sites/all/themes/md_leaders/templates/page--comment--reply.tpl.php | PHP | gpl-2.0 | 6,117 |
# zabbix-slack
Zabbix alert script for sending notifications to a Slack webhook (python requests)
| mortn/zabbix-slack | README.md | Markdown | gpl-2.0 | 98 |
<?php
/**
* @package Surveyforce
* @version 1.1-modified
* @copyright JooPlce Team, 臺北市政府資訊局, Copyright (C) 2016. All rights reserved.
* @license GPL-2.0+
* @author JooPlace Team, 臺北市政府資訊局- http://doit.gov.taipei/
*/
defined('_JEXEC') or die('Restric... | taipeicity/i-voting | administrator/components/com_surveyforce/controller.php | PHP | gpl-2.0 | 8,229 |
package org.mo.com.io;
public class FLinkInput
{
}
| favedit/MoPlatform | mo-1-common/src/lang-java/org/mo/com/io/FLinkInput.java | Java | gpl-2.0 | 52 |
<?php
/*
* This file is part of EC-CUBE
*
* Copyright(c) 2000-2013 LOCKON CO.,LTD. All Rights Reserved.
*
* http://www.lockon.co.jp/
*
* 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; ei... | kazuma-fujita/taheebo-ec | data/class/pages/frontparts/bloc/LC_Page_FrontParts_Bloc_BcRanking.php | PHP | gpl-2.0 | 7,846 |
/*
Copyright (c) 2004, 2005, 2006, 2007, 2008, 2009 Mark Aylett <[email protected]>
This file is part of Aug written by Mark Aylett.
Aug is released under the GPL with the additional exemption that compiling,
linking, and/or using OpenSSL is allowed.
Aug is free software; you can redistribute it and/or... | marayl/aug | src/cpp/augutilpp/log.hpp | C++ | gpl-2.0 | 2,797 |
<?php
/**
* Item Controller
*
* @package ReReplacer
* @version 5.4.4
*
* @author Peter van Westen <[email protected]>
* @link http://www.nonumber.nl
* @copyright Copyright © 2012 NoNumber All Rights Reserved
* @license http://www.gnu.org/licenses/gpl-2.0.html G... | cristhian-fe/EidonKaires | administrator/components/com_rereplacer/controllers/item.php | PHP | gpl-2.0 | 682 |
/*
* Copyright (c) 2000, 2015, 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 ... | gaoxiaojun/dync | src/share/vm/c1/c1_LIRAssembler.cpp | C++ | gpl-2.0 | 23,698 |
-- Unban a player banned with Punkbuster.
-- From kmod script.
-- params is parameters passed from et_ClientCommand function.
-- * params["arg1"] => guid
function execute_command(params)
params.say = "chat"
if params.nbArg < 2 then
printCmdMsg(params, "Useage: unban [guid]\n")
else
if to... | cyrillePrigent/kmod-ng | umod/command/client/unban.lua | Lua | gpl-2.0 | 1,059 |
define(function () {
return {
customerAccount: ['CustomerAccountService', function (CustomerAccountService) {
return CustomerAccountService.getCurrent();
}]
};
});
| lordmarkm/tyrael-laundry | tyrael-laundry-dist/src/main/webapp/common/resolve/JobOrderListResolve.js | JavaScript | gpl-2.0 | 182 |
<ul class="lang-switch nav navbar-nav navbar-right">
<li role="heading"><span class="nav-plain-text">Language:</span></li>
<li><a {% if page.lang contains 'en' %} class="active-lang"{% endif %} href="
{% if page.url contains '/fr' %}{{ page.url | remove_first:'/fr' }}
{% elsif page.url contains ... | opentechinstitute/commotion-docs | commotionwireless.net/_includes/language-switcher-navbar.html | HTML | gpl-2.0 | 1,095 |
/*
Tests multidimensional numerical integration using cubature.
Copyright 2014 Ilja Honkonen
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 ... | nasailja/background_B | tests/integration/cubature_multidim.cpp | C++ | gpl-2.0 | 8,198 |
/*
* linux/include/linux/jbd2.h
*
* Written by Stephen C. Tweedie <[email protected]>
*
* Copyright 1998-2000 Red Hat, Inc --- All Rights Reserved
*
* This file is part of the Linux kernel and is made available under
* the terms of the GNU General Public License, version 2, or at your
* option, any later version,... | athurg/linux_kernel | include/linux/jbd2.h | C | gpl-2.0 | 37,930 |
using System;
using System.Collections.Generic;
using System.Runtime.Serialization;
namespace Components.Aphid.Parser
{
public class AphidExpressionBinder : SerializationBinder
{
private const string _prefix = "System.Collections.Generic.List`1[[";
public override Type BindToType(st... | John-Leitch/Aphid | Components.Aphid/Parser/Mutators/AphidExpressionBinder.cs | C# | gpl-2.0 | 677 |
/****************************************************************************
**
** Jreen
**
** Copyright © 2011 Aleksey Sidorov <[email protected]>
**
*****************************************************************************
**
** $JREEN_BEGIN_LICENSE$
** This program is free software: you can redistribute it ... | norrs/debian-libjreen | src/bookmark.h | C | gpl-2.0 | 3,569 |
# export AWS_ACCESS_KEY="Your-Access-Key"
# export AWS_SECRET_KEY="Your-Secret-Key"
today=`date +"%d-%m-%Y","%T"`
logfile="/awslog/automation-instances.log"
# Grab all Instance IDs for REBOOT action and export the IDs to a text file
sudo aws ec2 describe-instances --filters Name=tag:reboot-time,Values=18-00 Name=tag:... | STARTSPACE/aws-ec2-start-stop-reboot-by-timetable | reboot/wd/reboot-wd-18.sh | Shell | gpl-2.0 | 785 |
<?php
global $VISUAL_COMPOSER_EXTENSIONS;
?>
<div id="ts-settings-files" class="tab-content">
<div class="ts-vcsc-section-main">
<div class="ts-vcsc-section-title ts-vcsc-section-show"><i class="dashicons-download"></i>External Files Settings</div>
<div class="ts-vcsc-section-content">
<div class="ts-vcsc-noti... | baochung26/happy-c | wp-content/plugins/ts-visual-composer-extend/assets/ts_vcsc_settings_external.php | PHP | gpl-2.0 | 14,684 |
/**
* MaNGOS is a full featured server for World of Warcraft, supporting
* the following clients: 1.12.x, 2.4.3, 3.3.5a, 4.3.4a and 5.4.8
*
* Copyright (C) 2005-2019 MaNGOS project <https://getmangos.eu>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Gen... | H0zen/M2-server | src/game/WorldHandlers/GridNotifiers.h | C | gpl-2.0 | 46,372 |
#! /bin/sh
# Copyright (C) 2003-2018 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; either version 2, or (at your option)
# any later version.
#
# This program ... | komh/automake-os2 | t/conff2.sh | Shell | gpl-2.0 | 1,205 |
package com.app.labeli;
import com.app.labeli.member.Member;
import net.tools.*;
import android.app.ProgressDialog;
import android.os.AsyncTask;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentTransaction;
import android.view.LayoutInflater;
import an... | asso-labeli/labeli-android-app | src/com/app/labeli/FragmentConnection.java | Java | gpl-2.0 | 3,863 |
/*
* This file implements the perfmon-2 subsystem which is used
* to program the IA-64 Performance Monitoring Unit (PMU).
*
* The initial version of perfmon.c was written by
* Ganesh Venkitachalam, IBM Corp.
*
* Then it was modified for perfmon-1.x by Stephane Eranian and
* David Mosberger, Hewlett Packard Co.
... | leftrepo/Owl-Kernel-for-Xperia-Sola | arch/ia64/kernel/perfmon.c | C | gpl-2.0 | 172,407 |
require File.join(File.dirname(__FILE__), '..', 'spec_helper.rb')
given "a message exists" do
Message.all.destroy!
request(resource(:messages), :method => "POST",
:params => { :message => { :id => nil }})
end
describe "resource(:messages)" do
describe "GET" do
before(:each) do
@response = re... | alfanick/irc-logger | spec/requests/messages_spec.rb | Ruby | gpl-2.0 | 2,551 |
<?php
if (isset($_POST['_wpcf7_mail_sent'])) {
$expire=time()+60*60*24*30*2;
setcookie("surveySent2", "true", $expire, '/');
}
/*************
!!!!!!!IMPORTANT!!!!!!!!
If you change the styles then edit the stylesheet querystring here!
*************/
?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"... | leeparsons/tpp | wp-content/themes/aparatus/header.php | PHP | gpl-2.0 | 7,679 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;
/// <summary>
/// An AND gate class to store the correct image and
/// calculate the appropriate output
/// </summary>
public class AndGate : Gate
{
/// <summary>
/// Constructor
/// ... | Dominykasrr/Logic-Circuit-Sim | Circuit Simulator/CircuitSimLib/GeneratedCode/AndGate.cs | C# | gpl-2.0 | 944 |
<?php
$social_channels = $view_data['settings']['right_tab']['social_channels'];
$bar_layout_design = $view_data['settings']['right_tab']['bar_layout_design'];
$call_to_action = $view_data['settings']['right_tab']['call_to_action'];
$visibility_settings = $view_data['settings']['right_tab']['visibility_settings... | suneeshps/wordpress | wp-content/plugins/share-social/views/tab_modals/right_tab_modals.php | PHP | gpl-2.0 | 21,979 |
import os
from collections import OrderedDict
from .sqldatabase import SqlDatabase
from .retrieve_core_info import retrieveCoreInfo
# Root class that all SQL table updaters derive from
class SqlTableUpdater():
def __init__(self, tableName, tableColumns=[], coreInfo={}):
self.tableName = tableName
... | team-phoenix/Phoenix | frontend/python/updaters/sqlTableUpdater.py | Python | gpl-2.0 | 50,004 |
/* sd2iec - SD/MMC to Commodore serial bus interface/controller
Copyright (C) 2007-2015 Ingo Korb <[email protected]>
Inspired by MMC2IEC by Lars Pontoppidan et al.
FAT filesystem access based on code from ChaN and Jim Brain, see ff.c|h.
This program is free software; you can redistribute it and/or modify
... | ivanovp/sd2iec | src/bus.h | C | gpl-2.0 | 1,133 |
// -*-C++ -*-
/** \file
********************************************************************
* Device shape base class for route window.
*
* \author Rüdiger Krauße,
* Tobias Schlemmer <[email protected]>
* \license GPL
*
* This program is free software; you can redistribute it and/or modify
* it und... | keinstein/mutabor | src/wxGUI/Routing/DeviceShape.cpp | C++ | gpl-2.0 | 15,501 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.