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 2004-2014, SenseGraphics AB
//
// This file is part of H3D API.
//
// H3D API is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the ... | JakeFountain/H3DAPIwithOculusSupport | src/FreeImageLoader.cpp | C++ | gpl-2.0 | 2,411 |
package Dist::Zilla::Plugin::MetaTests;
# ABSTRACT: common extra tests for META.yml
$Dist::Zilla::Plugin::MetaTests::VERSION = '5.037';
use Moose;
extends 'Dist::Zilla::Plugin::InlineFiles';
with 'Dist::Zilla::Role::PrereqSource';
use namespace::autoclean;
#pod =head1 DESCRIPTION
#pod
#pod This is an extension of L<D... | mishin/dwimperl-windows | strawberry-perl-5.20.0.1-32bit-portable/perl/site/lib/Dist/Zilla/Plugin/MetaTests.pm | Perl | gpl-2.0 | 2,441 |
<?php
/* Copyright 2005 Flávio Ribeiro
This file is part of OCOMON.
OCOMON 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 Li... | danfmsouza/yipservicedesk | invmon/geral/estat_vencimentos_full.php | PHP | gpl-2.0 | 3,077 |
<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>Gen 13, Vol. 2 (1995-2002) #15</TITLE>
</HEAD>
<BODY onload="initPage();">
<div align="center">
<div class="na... | MiniSEC/MiniSEC.github.io | assets/comics/Wishlist/details/5935.html | HTML | gpl-2.0 | 7,869 |
/*
* Copyright (C) 2013-2015 DeathCore <http://www.noffearrdeathproject.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... | Stenlibg/4.3.4 | src/server/shared/DataStores/DB2Store.h | C | gpl-2.0 | 6,849 |
DOUBLE PRECISION FUNCTION DNRM2 ( N, X, INCX )
* .. Scalar Arguments ..
INTEGER INCX, N
* .. Array Arguments ..
DOUBLE PRECISION X( * )
* ..
*
* DNRM2 returns the euclidean norm of a vector via the function
* name, so that
*
* DNRM2 := sqrt(... | aarestad/gradschool-stuff | clocc/src/f2cl/packages/blas/dnrm2.f | FORTRAN | gpl-2.0 | 1,657 |
<?php
require_once 'PHPUnit/Framework/TestCase.php';
require_once 'PHPUnit/Util/Filter.php';
require_once dirname(__FILE__) . '/constraints/image.php';
require_once dirname(__FILE__) . '/../src/image.php';
require_once dirname(__FILE__) . '/../src/imageGD.php';
require_once dirname(__FILE__) . '/../src/imageGmagick.ph... | benjaminpick/yaial | tests/MyTestCase.php | PHP | gpl-2.0 | 3,242 |
<?
$sub_menu = "300100";
include_once('./_common.php');
if ($w == 'u')
check_demo();
auth_check($auth[$sub_menu], 'w');
if ($_POST['admin_password']) {
if ($member['mb_password'] != sql_password($_POST['admin_password'])) {
alert('관리자 패스워드가 틀립니다.');
}
} else {
alert('관리자 패스워드를 입력하세요.');
}
i... | gnuboard/sanso | adm/board_form_update.php | PHP | gpl-2.0 | 15,251 |
/*------------------------------------------------------------------------------
Copyright 2012 Sony Corporation
Last Updated : $Date:: 2012-06-12 13:06:10 #$
File Revision : $Revision:: 5540 $
------------------------------------------------------------------------------*/
#include <linux/types.h>
#incl... | EPDCenter/android_kernel_amlogic_s805_3go_aplay2 | drivers/amlogic/dvb_tv/cxd2837/sony_integ.c | C | gpl-2.0 | 13,890 |
package com.wernicke.utils;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.UnsupportedEncodingException;
import java.util.List;
import org.apache.http.HttpEntity;
import org.apache.http.HttpResponse;
import org.apache.... | 3ch01c/heracles | android/src/com/wernicke/utils/JSONParser.java | Java | gpl-2.0 | 2,870 |
/*
//@HEADER
// ************************************************************************
//
// Kokkos v. 3.0
// Copyright (2020) National Technology & Engineering
// Solutions of Sandia, LLC (NTESS).
//
// Under the terms of Contract DE-NA0003525 with NTESS,
// the U.S. Govern... | pastewka/lammps | lib/kokkos/core/unit_test/threads/TestThreads_ViewMapping_a.cpp | C++ | gpl-2.0 | 2,057 |
using System.Reflection;
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("Integration.Tests")]
[assembly: AssemblyD... | 12-South-Studios/realmmud | Source/Database/Integration.Tests/Properties/AssemblyInfo.cs | C# | gpl-2.0 | 1,417 |
package com.example.gramos.raportiti;
import android.annotation.SuppressLint;
import android.app.AlertDialog;
import android.app.Service;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.location.Location;
import android.location.LocationListener;
im... | opendatakosovo/android-dev | RaportiTi/app/src/main/java/com/example/gramos/raportiti/GPSTracker.java | Java | gpl-2.0 | 6,019 |
/*
* linux/include/linux/cpufreq.h
*
* Copyright (C) 2001 Russell King
* (C) 2002 - 2003 Dominik Brodowski <linux@brodo.de>
*
* 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... | arter97/android_kernel_nvidia_shieldtablet | include/linux/cpufreq.h | C | gpl-2.0 | 14,385 |
/*******************************************************************************
* Filename: target_core_transport.c
*
* This file contains the Generic Target Engine Core.
*
* (c) Copyright 2002-2013 Datera, Inc.
*
* Nicholas A. Bellinger <nab@kernel.org>
*
* This program is free software; you can redistribut... | WaRP7/linux-fslc | drivers/target/target_core_transport.c | C | gpl-2.0 | 87,539 |
if(typeof(simileTimeplot)=="undefined") {
window.simileTimeplot = { records : [], js : {} };
// jQuery("head").append('<script src="http://api.simile-widgets.org/timeplot/1.1/timeplot-api.js"></script>');
}
(function($) {
var red = new Timeplot.Color('#B9121B');
var lightRed = new Timeplot.Color('#cc8080');
var bl... | ontoprise/HaloSMWExtension | extensions/SRFPlus/Simile/scripts/Simile_TimeplotWiki.js | JavaScript | gpl-2.0 | 3,263 |
<?php
/* core/themes/stable/templates/block/block--system-messages-block.html.twig */
class __TwigTemplate_886740968f827ac8f8ad8553cb8fe62217c4c4c2ec3a7a043b3d35b9acb03e84 extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
$this->parent = fa... | nhinq/drupal8 | sites/default/files/php/twig/f4bf8926_block--system-messages-block.html.twig_7a0dc1dc8ea56b701f7e4dd579608cdd9d8ad000d4a12d7ea6ca73e50dbb13dd/82014522767b3de45407812e92ff9e01963812469ce6e716fdb44803f716dc8f.php | PHP | gpl-2.0 | 2,313 |
/*
* This file is part of the coreboot project.
*
* Copyright 2017 Intel Corp.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; version 2 of the License.
*
* This program is distribute... | MattDevo/coreboot | src/mainboard/intel/glkrvp/variants/baseboard/gpio.c | C | gpl-2.0 | 19,059 |
package com.fantasia.core;
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
public class MD5 {
// 全局数组
private final static String[] strDigits = { "0", "1", "2", "3", "4", "5",
"6", "7", "8", "9", "a", "b", "c", "d", "e", "f" };
public MD5() {
}
// 返回形式为数字跟字符... | jiangrenwen/KPI | kpi/src/main/java/com/fantasia/core/MD5.java | Java | gpl-2.0 | 1,314 |
<?php $thumb = wp_get_attachment_image_src( get_post_thumbnail_id($post->ID), 'feature-image' ); $url = $thumb['0']; ?>
<div class="feature-image overlay-black" style="background-image: url(<?=$url?>);">
<div class="page-banner">
<div class="container">
<div class="row">
<div class="col-sm-12">
... | Socratacom/marketing-site | wp-content/themes/sage/templates/content-single.php | PHP | gpl-2.0 | 9,873 |
package org.openRealmOfStars.starMap.planet;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotEquals;
import org.junit.Test;
import org.junit.experimental.categories.Category;
import org.openRealmOfStars.player.PlayerInfo;
import org.openRealmOfStars.player.SpaceRace.SpaceRace;
imp... | sigee/Open-Realms-of-Stars | src/test/java/org/openRealmOfStars/starMap/planet/PlanetTest.java | Java | gpl-2.0 | 4,798 |
<?php
/**
* @package Joomla.Administrator
* @subpackage Template.hathor
*
* @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;
// Include the component HTML helpers.... | subtext/joomla-cms | administrator/templates/hathor/html/com_messages/messages/default.php | PHP | gpl-2.0 | 4,185 |
<?php $this->placeholder('secBar')->captureStart(); ?>
<section id="portal" class="navbar-wrapper<?php echo ($this->usuarioLogado ? ' fixed':'');?>">
<div class="container">
<a class="btn pull-left" target="_top" rel="acceso portal da educação" href="http://educadores.educacao.ba.gov.br">
... | redeanisioteixeira/aew_github | aew_sec/application/layouts/scripts/geral/_sec-bar.php | PHP | gpl-2.0 | 3,050 |
/*
* COPYRIGHT (c) 1989-2010.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rtems.com/license/LICENSE.
*
* $Id$
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#includ... | daniel-hellstrom/leon-rtems | testsuites/psxtests/psxid01/init.c | C | gpl-2.0 | 3,102 |
/******************************************************************************
Copyright(C)2013,Hisilicon Co. LTD.
******************************************************************************
File Name : ImsaProcApsMsg.c
Description : ¸ÃCÎļþʵÏÖAPSÏûÏ¢´¦ÀíºÍAPSÏûÏ¢·¢ËÍ
History ... | wbrambley/Grace-kernel | drivers/vendor/hisi/modem/ps/nas/tl/lte/IMSA/Src/ImsaProcApsMsg.c | C | gpl-2.0 | 62,299 |
#!/bin/bash
#
#FILE
# /usr/sbin/container-rsync.sh
# $Id$
#
#PURPOSE
# Test alpha dev script for unxsVZ hot spare container sync
# Keep a container on this host rsync'd with a source container on a remote host
#
#AUTHOR/LEGAL
# (C) 2009- Gary Wallis for Unixservice. GPLv2 Licensed.
#
#
if [ "$1" == "" ] || [ "$2" == "... | unxs0/unxsVZ | tools/openvz/container-rsync.sh | Shell | gpl-2.0 | 1,414 |
/* map */
/* sidebar */
.site:before {
background-color: rgba(0, 0, 0, 0.8);
content: "";
display: none;
height: 100%;
position: absolute;
top: 0;
right: 0;
width: 182px;
z-index: 3 !important; }
| drleewarden/2014-bootstrap | wp-content/themes/arcade-basic/src/sass/features/_features.css | CSS | gpl-2.0 | 214 |
from rest_framework import permissions
class IsOwner(permissions.BasePermission):
def has_object_permission(self, request, view, obj):
# Only allow owners of an object to view or edit it
return obj.owner == request.user
| lesavoie/nagiosservice | controlserver/servicelevelinterface/permissions.py | Python | gpl-2.0 | 238 |
/*
TEMU is Copyright (C) 2006-2010, BitBlaze Team.
You can redistribute and modify it under the terms of the GNU LGPL,
version 2.1 or later, but it is made available WITHOUT ANY WARRANTY.
*/
#ifndef _IHOOK_HELPER_H_
#define _IHOOK_HELPER_H_
#include <inttypes.h>
#include <stdlib.h>
typedef int (*fcn_hook_t)(void *)... | ntddk/temu | shared/hooks/ihook_helper.h | C | gpl-2.0 | 1,270 |
<?php
return array(
'extends' => 'root',
'css' => array(
//'vendor/bootstrap.min.css',
//'vendor/bootstrap-accessibility.css',
//'bootstrap-custom.css',
'compiled.css',
'vendor/font-awesome.min.css',
'vendor/bootstrap-slider.css',
'print.css:print',
... | paulusova/VuFind-2.x | themes/bootstrap3/theme.config.php | PHP | gpl-2.0 | 1,306 |
/*
* Copyright (C) 2005 - 2011 MaNGOS <http://www.getmangos.org/>
*
* Copyright (C) 2008 - 2011 TrinityCore <http://www.trinitycore.org/>
*
* Copyright (C) 2011 TrilliumEMU <http://www.trilliumemu.org/>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU Gene... | AwkwardDev/TrilliumEMU | src/server/scripts/World/achievement_scripts.cpp | C++ | gpl-2.0 | 9,912 |
/* solution.c: Functions for reading and writing the solution files.
*
* Copyright (C) 2001-2006 by Brian Raiter, under the GNU General Public
* License. No warranty. See COPYING for details.
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include "err.h"
#include "fileio.h"
#incl... | magical/tws2json | solution.c | C | gpl-2.0 | 16,573 |
<?php
include_once(INCLUDE_DIR.'staff/login.header.php');
defined('OSTSCPINC') or die('Invalid path');
$info = ($_POST)?Format::htmlchars($_POST):array();
?>
<div id="loginBox">
<div class="tape"></div>
<div id="blur">
<div id="background"></div>
</div>
<h1 id="logo"><a href="index.php">
... | garyns/osTicket-lyn | include/staff/pwreset.login.php | PHP | gpl-2.0 | 1,896 |
/* Copyright 2003-2014 Ciaran Anscomb
*
* This file is part of XRoar.
*
* XRoar 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 ver... | jedie/XRoar | src/logging.c | C | gpl-2.0 | 3,142 |
/*
* $Id$
*
* DEBUG: section 28 Access Control
* AUTHOR: Duane Wessels
*
* SQUID Web Proxy Cache http://www.squid-cache.org/
* ----------------------------------------------------------
*
* Squid is the result of efforts by numerous individuals from
* the Internet community; see the CONTRIBUTORS... | schmurfy/squid | src/acl/CertificateData.cc | C++ | gpl-2.0 | 3,610 |
# Install script for directory: /home/hsean/Documents/pcl/tests/test06_ContinuousVideo
# Set the install prefix
IF(NOT DEFINED CMAKE_INSTALL_PREFIX)
SET(CMAKE_INSTALL_PREFIX "/usr/local")
ENDIF(NOT DEFINED CMAKE_INSTALL_PREFIX)
STRING(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}")
# Set the i... | hsean/Capstone-44-Object-Segmentation | SEAN/PCL/OLDER_PROJECTS/test06_ContinuousVideo/build/cmake_install.cmake | CMake | gpl-2.0 | 1,684 |
<!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/html; charset=utf-8" />
<title>广州谱式达-人力资源-知识产权-工商财税-人才服务-户口手续办理</title>
<meta name="description" cont... | chuing/Push | a/zscq/sbzc/list_73_2.html | HTML | gpl-2.0 | 17,613 |
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
/*
* st-widget.c: Base class for St actors
*
* Copyright 2007 OpenedHand
* Copyright 2008, 2009 Intel Corporation.
* Copyright 2009, 2010 Red Hat, Inc.
* Copyright 2009 Abderrahim Kitouni
* Copyright 2009, 2010 Florian Müllner
* Copyright 2010 A... | GNOME/gnome-shell | src/st/st-widget.c | C | gpl-2.0 | 89,709 |
#
# Copyright 2012-2013 Red Hat, 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 ... | futurice/vdsm | tests/utilsTests.py | Python | gpl-2.0 | 19,919 |
<?php
/*-----------------------------------------------------------------------------------*/
/* This theme supports WooCommerce, woo! */
/*-----------------------------------------------------------------------------------*/
add_action( 'after_setup_theme', 'woocommerce_support' );
function woocommerce_support() {
a... | jarqo/wootique | wp-content/themes/wootique/includes/theme-woocommerce.php | PHP | gpl-2.0 | 7,820 |
using System;
using System.Text;
using System.Collections;
using Server;
using Server.Prompts;
using Server.Gumps;
using Server.Network;
using Server.Items;
using Server.Misc;
namespace Server.Mobiles
{
public interface ITownCrierEntryList
{
ArrayList Entries{ get; }
TownCrierEntry GetRandomEntry();
TownCrierE... | brodock/sunuo | scripts/legacy/Mobiles/Townfolk/TownCrier.cs | C# | gpl-2.0 | 13,658 |
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\GroupedProduct\Model\Product\Link\CollectionProvider;
class Grouped implements \Magento\Catalog\Model\ProductLink\CollectionProviderInterface
{
/**
* {@inheritdoc}
*/
public func... | kunj1988/Magento2 | app/code/Magento/GroupedProduct/Model/Product/Link/CollectionProvider/Grouped.php | PHP | gpl-2.0 | 476 |
/** @file
This library registers RSA 2048 SHA 256 guided section handler
to parse RSA 2048 SHA 256 encapsulation section and extract raw data.
It uses the BaseCrypyLib based on OpenSSL to authenticate the signature.
Copyright (c) 2013 - 2014, Intel Corporation. All rights reserved.<BR>
This program and the acco... | miguelinux/vbox | src/VBox/Devices/EFI/Firmware/SecurityPkg/Library/PeiRsa2048Sha256GuidedSectionExtractLib/PeiRsa2048Sha256GuidedSectionExtractLib.c | C | gpl-2.0 | 14,381 |
/*
* Copyright (C) 2004
* Swiss Federal Institute of Technology, Lausanne. All rights reserved.
*
* Author: Roland Philippsen <roland dot philippsen at gmx dot net>
* Autonomous Systems Lab <http://asl.epfl.ch/>
*
* This program is free software; you can redistribute it and/or modify
* it under the t... | poftwaresatent/sfl2 | npm/ext/expo02/OCamera.hpp | C++ | gpl-2.0 | 1,314 |
/**
* asyn Driver for Serial port on Camera Link grabber. Functions like standard rs232 port in ASyn.
*
*@author Timothy Madden
*@date 2013
*/
#ifndef camLinkSerial_H
#define camLinkSerial_H
#include "asynPortDriver.h"
#include "comportInterface.h"
#include "siswSerialPort.h"
#include "sw_com_port.h"
#include... | argonnexraydetector/ADCameralink | cameralinkApp/src/camLinkSerial.h | C | gpl-2.0 | 1,949 |
#!/usr/bin/env python
# coding: utf-8
# Copyright (c) 2014
# Gmail:liuzheng712
#
__author__ = 'liuzheng'
from django.conf.urls import patterns, include, url
from django.contrib import admin
import os
urlpatterns = patterns('',
# Examples:
# url(r'^$', 'pyHBase.views.home', name='home'),
# url(r'^blog/', in... | liuzheng712/pyHBaseadmin | pyHBase/pyHBase/urls.py | Python | gpl-2.0 | 1,013 |
<!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_17) on Sun Oct 12 14:22:55 CDT 2014 -->
<title>com.flamingOctoIronman.timer Class Hierarchy</title>
<meta name="date" content="20... | fh3/flaming-octo-ironman | doc/com/flamingOctoIronman/timer/package-tree.html | HTML | gpl-2.0 | 4,715 |
/*******************************************************************************************
Copyright 2010 Broadcom Corporation. All rights reserved.
Unless you and Broadcom execute a separate written software license agreement
governing use of this software, this software is licensed to you under the
terms of the... | Maroc-OS/Merruk-Technology | modules/drivers/char/brcm/xscript/xscript_kernel.h | C | gpl-2.0 | 2,509 |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="renderer" content="webkit"/>
<title>答案解析</title>
<meta name="keywords" content="navigation"/>
<meta name="descration" contant="work"/>
<meta name="viewport" content="initial-scale=1,width=device-width,maximum-scale=1,minimum-scale=1,user-scalabl... | queena1993/queena1993.github.io | eigth/html/daanjiexi.html | HTML | gpl-2.0 | 2,100 |
package com.opentravelsoft.entity.product;
import com.opentravelsoft.util.MD5;
/**
*
* @author <a herf="mailto:zhangsitao@gmail.com">Steven Zhang</a>
* @version $Revision: 1.1 $ $Date: 2009/03/01 16:23:32 $
*/
public class NetPayEntity
{
/**
* 商户号,这里为测试商户号1001,替换为自己的商户号(老版商户号为4位或5位,新版为8位)即可
*/
... | stevenzh/tourismwork | src/modules/model/src/main/java/com/opentravelsoft/entity/product/NetPayEntity.java | Java | gpl-2.0 | 5,861 |
@iamtakashi
@iandstewart
@dd32
@mor10
@grapplerulrich
@davidakennedy
@frank-klein
@tywayne
@wenthemes
@monika
@metodiew
@nhuja
@headonfire
@Chrisdc1
@philiparthurmoore
@karpstrucking
@cais
@mt8.biz
@fjarrett
@sdavis2702
@SergeyBiryukov
@eduardozulian
@webdevmattcrom
@ehtis
@peterwilsoncc
@tfrommen
@fsylum
@wonderboymus... | cchuang6/wp_adora | wp-content/themes/twentysixteen/CONTRIBUTORS.md | Markdown | gpl-2.0 | 342 |
.tab {
padding: 0 0 2pt 4pt;
margin: 0;
border-bottom: 1px solid black;
}
.tab li {
margin: 0;
padding: 0pt 1pt;
display: inline;
}
.tab li a {
padding: 2pt;
cursor: pointer;
border: 1px solid black;
text-decoration: none;
background-color:#eee;
color: black;
}
.tab li.tabActive a {
padding: 3... | xemle/phtagr | webroot/css/tab.css | CSS | gpl-2.0 | 564 |
<?php
/**
* All the functions releated to databases is here.
*
* This file will include stuff like, connect, write, read, remove etc.
*
* @category Database
* @package ControlPanel
* @author Dennis <dennistryy3@gmail.com>
* @copyright 2014 Dennis Planting
*/
class Commands
{
... | ExpandH/EMCP | Core/Function/Plugins/Commands.php | PHP | gpl-2.0 | 817 |
package CtrLayer;
import ModelLayer.*;
/**
* Controller for anythign related to Person management.
*
* @author Jacob Pedersen
* @version (11-12-2014) dd-mm-yyyy
*/
public class PersonController
{
private PersonContainer personContainer;
/**
* Constructor for objects of class PersonController
*/... | dmab0914-Gruppe-2/Vestbjerg-Byggecenter | src/CtrLayer/PersonController.java | Java | gpl-2.0 | 4,942 |
package containernode
import (
"math/rand"
"sort"
"github.com/obieq/goar/db/couchbase/Godeps/_workspace/src/github.com/onsi/ginkgo/internal/leafnodes"
"github.com/obieq/goar/db/couchbase/Godeps/_workspace/src/github.com/onsi/ginkgo/types"
)
type subjectOrContainerNode struct {
containerNode *ContainerNode
subj... | obieq/goar | db/couchbase/Godeps/_workspace/src/github.com/onsi/ginkgo/internal/containernode/container_node.go | GO | gpl-2.0 | 4,264 |
<?php
/**
* The template for displaying archive pages
*
* @link https://codex.wordpress.org/Template_Hierarchy
*
* @package whank
*/
get_header(); ?>
<?php do_action( 'whank_before_body_content' ); ?>
<div id="primary" class="content-area col-md-8">
<main id="main" class="site-main">
<div class="contain... | saazaan7/whank | archive.php | PHP | gpl-2.0 | 1,581 |
package FusionInventory::Agent::Task::Inventory::Virtualization::Virtuozzo;
use strict;
use warnings;
use FusionInventory::Agent::Tools;
sub isInventoryEnabled {
return can_run('vzlist');
}
sub doInventory {
my (%params) = @_;
my $inventory = $params{inventory};
my $logger = $params{logger};
... | krimdomu/fusioninventory-agent | lib/FusionInventory/Agent/Task/Inventory/Virtualization/Virtuozzo.pm | Perl | gpl-2.0 | 1,265 |
<!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... | mdburch/GroupModeling | Documentation/html/interface_help_section_view_controller.html | HTML | gpl-2.0 | 9,830 |
#
# upgrade_bootloader_gui.py: gui bootloader dialog for upgrades
#
# Copyright (C) 2002, 2007 Red Hat, 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 versi... | icomfort/anaconda | iw/upgrade_bootloader_gui.py | Python | gpl-2.0 | 7,815 |
/*
* Copyright (C) 2013-2015 DeathCore <http://www.noffearrdeathproject.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... | LordPsyan/WoWSource434_V10 | src/server/scripts/Spells/spell_item.cpp | C++ | gpl-2.0 | 102,670 |
( function( $ ) {
$( 'time.entry-published' ).on( "click", function() {
var old_date = $(this).html().trim();
$(this).html( $(this).attr( 'data-display-toggle' ) );
$(this).attr( 'data-display-toggle', old_date );
} );
} )( jQuery );
| aprea/adoration | js/adoration.js | JavaScript | gpl-2.0 | 244 |
<!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... | JohannesBuchner/PLUTO | Doc/Doxygen/html/int__bound__reset_8c.html | HTML | gpl-2.0 | 3,864 |
<?php
/*
* gwolle_gb_get_entry_count
* Get the number of entries.
*
* Parameter $args is an Array:
* - checked string: 'checked' or 'unchecked', List the entries that are checked or not checked
* - trash string: 'trash' or 'notrash', List the entries that are deleted or not deleted
* - spam string: 'spam... | TheNexusMan/Rest-a-Dom | wp-content/plugins/gwolle-gb/functions/function.get_entry_count.php | PHP | gpl-2.0 | 2,010 |
/**
* @file
* @brief Miscellaneous debugging functions.
**/
#include "AppHdr.h"
#include "dbg-util.h"
#include "artefact.h"
#include "cio.h"
#include "coord.h"
#include "dungeon.h"
#include "env.h"
#include "libutil.h"
#include "message.h"
#include "mon-stuff.h"
#include "mon-util.h"
#include "religion.h"
#include... | dtsund/dtsund-crawl-mod | source/dbg-util.cc | C++ | gpl-2.0 | 10,334 |
package com.feedback.rest;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.core.MediaType;
import com.feedback.beans.DataUnit;
import com.feedback.data.Data;
/**
* A resource for generating da... | tzbee/feedback | src/main/java/com/feedback/rest/TestResource.java | Java | gpl-2.0 | 1,446 |
"use strict";
function Bola(context) {
this.context = context;
this.x = 0;
this.y = 0;
this.velocidadeX = 0;
this.velocidadeY = 0;
this.cor = 'black';
this.raio = 10;
}
Bola.prototype = {
// - Interface utilizada em animacao.js
atualizar : function() {
var ctx = this.context;
if (this... | edgarberlinck/edgarberlinck.github.io | canvas/10-colisoes/bola.js | JavaScript | gpl-2.0 | 1,324 |
# ==========================================================================
# Build system
# ==========================================================================
SKIP_STRIP=y
cmd_busybox__ = \
$(CC) \
-o $@.js \
--memory-init-file 0 \
-Wl,--start-group \
$(CFLAGS) \
$(CFLAGS... | tbfleming/em-busybox | arch/em/Makefile | Makefile | gpl-2.0 | 528 |
/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */
/*
* Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC)
* Copyright (c) 2015, NYU WIRELESS, Tandon School of Engineering, New York University
* Copyright (c) 2016, University of Padova, Dep. of Information Enginee... | nyuwireless-unipd/mmwave | model/mmwave-ue-phy.h | C | gpl-2.0 | 6,538 |
<?php
/* Remove Unwanted Header Links */
remove_action('wp_head', 'rsd_link');
remove_action('wp_head', 'wp_generator');
remove_action('wp_head', 'feed_links', 2);
remove_action('wp_head', 'index_rel_link');
remove_action('wp_head', 'wlwmanifest_link');
remove_action('wp_head', 'feed_links_extra', 3);
remove_action('wp... | matt-tyas/matthewtyas.com | lab/gmfootballcentre/wp-content/themes/tisa-wp/inc/remove.php | PHP | gpl-2.0 | 1,004 |
#include "Input.hpp"
Input::Input(){
_keybinds.insert({
{ "up", SDL_SCANCODE_UP },
{ "down", SDL_SCANCODE_DOWN },
{ "left", SDL_SCANCODE_LEFT },
{ "right", SDL_SCANCODE_RIGHT },
{ "w", SDL_SCANCODE_W },
{ "s", SDL_SCANCODE_S },
{ "a", SDL_SCANCODE_A },
{ "d", SDL_SCANCODE_D },
{ "z", SDL_SCANCODE_Z ... | Stormatree/Component-Engine | engine/Component/Input.cpp | C++ | gpl-2.0 | 1,058 |
set -e # Abort on error
./bin/trailing_whitespace_test.sh
./bin/indentation.sh
./bin/hlint_health.sh
./bin/sanity.sh
| NorfairKing/the-notes | bin/code_health.sh | Shell | gpl-2.0 | 117 |
/*
* Island Aruma ACPI support
* written by Stefan Reinauer <stepan@openbios.org>
* (C) 2005 Stefan Reinauer
*
*
* Copyright 2005 AMD
* 2005.9 yhlu modify that to more dynamic for AMD Opteron Based MB
*/
#include <console/console.h>
#include <string.h>
#include <arch/acpi.h>
#include <arch/smp/mpspec.h>
#in... | XVilka/coreboot | src/mainboard/tyan/s2895/acpi_tables.c | C | gpl-2.0 | 5,961 |
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>纯CSS实现固定表头</title>
<style>
/* 基本样式{{ */
body {
background: #FFF;
color: #000;
font: normal normal 12px Verdana, Geneva, Arial, Helvetica, sans-serif;
margin: 10px;
padding: ... | letshare/code | css/6/6.19/纯CSS实现固定表头.html | HTML | gpl-2.0 | 7,710 |
#!/usr/bin/env python
#
# This script makes a checkout of cartoweb cvs, and launches the unit tests.
# If no update of cvs was done, it does not run the tests.
#
# In case of a test failure, an email is sent to a specified address.
# Configuration: change to match your environment
DISABLING_FILE = "/tmp/auto_test_di... | camptocamp/cartoweb3 | scripts/run_auto_test.py | Python | gpl-2.0 | 4,194 |
<?php
/**
*
Template Name: Posty użytkownika
*
*/
get_header();
?>
<div class="row">
<div class="col-md-9 col-sm-6 col-xs-12">
<?php
$query = new WP_Query(array(
'author' => $_GET['id']
));
?>
<?php if ($query->have_posts()): ?>
<div class="contain... | damian-kociuba/wordpressSimplePage | wp-content/themes/testtheme/page_posts.php | PHP | gpl-2.0 | 1,535 |
! Here we define everything related to the LaBo code. Should be done in separate modules.
! By the way, that's a lot of work and I'm not sure how pertinent it is.
! For now we're stuck to D3Q19
module system
use precision_kinds
use constants, only: x, y, z
use mod_lbmodel, only: lbm
implicit none
... | maxlevesque/laboetie | src/module_system.f90 | FORTRAN | gpl-2.0 | 4,656 |
/* SPDX-License-Identifier: LGPL-2.1-or-later */
#include <net/if_arp.h>
#include "sd-id128.h"
#include "arphrd-util.h"
#include "id128-util.h"
#include "memory-util.h"
#include "networkd-address-generation.h"
#include "networkd-link.h"
#include "networkd-network.h"
#include "string-util.h"
#define DAD_CONFLICTS_ID... | piotrdrag/systemd | src/network/networkd-address-generation.c | C | gpl-2.0 | 16,040 |
package net.demilich.metastone.game.spells.custom;
import java.util.Map;
import net.demilich.metastone.game.GameContext;
import net.demilich.metastone.game.Player;
import net.demilich.metastone.game.entities.Actor;
import net.demilich.metastone.game.entities.Entity;
import net.demilich.metastone.game.spells.Spell;
im... | rafaelkalan/metastone | src/main/java/net/demilich/metastone/game/spells/custom/BetrayalSpell.java | Java | gpl-2.0 | 967 |
<?php
/**
* The template for displaying the footer.
*
* Contains the closing of the #content div and all content after
*
* @package storefront
*/
?>
</div><!-- .col-full -->
</div><!-- #content -->
<?php do_action( 'storefront_before_footer' ); ?>
<footer id="colophon" class="site-footer" role="contentinf... | DogburnDesign/groworganiclocal | wp-content/themes/groworganiclocal/footer.php | PHP | gpl-2.0 | 793 |
#!/usr/bin/env php
<?php
/**
* File containing the ezexec.php script.
*
* @copyright Copyright (C) 1999-2011 eZ Systems AS. All rights reserved.
* @license http://www.gnu.org/licenses/gpl-2.0.txt GNU General Public License v2
* @version 2011.12
* @package kernel
*/
require 'autoload.php';
$cli = eZCLI::instan... | ETSGlobal/ezpublish_built | bin/php/ezexec.php | PHP | gpl-2.0 | 1,568 |
/*
File: WaveClient.h
Program: KisMAC
Author: Michael Ro§berg
mick@binaervarianz.de
Changes: Vitalii Parovishnyk(1012-2015)
Description: KisMAC is a wireless stumbler for MacOS X.
This file is part of KisMAC.
Most parts of this file are based on aircrack by Christophe Devine.
... | IGRSoft/KisMac2 | Sources/Core/WaveClient.h | C | gpl-2.0 | 2,096 |
/**
* Title: StanfordMaxEnt<p>
* Description: A Maximum Entropy Toolkit<p>
* Copyright: Copyright (c) Kristina Toutanova<p>
* Company: Stanford University<p>
* @author Kristina Toutanova
* @version 1.0
*/
package com.infoecos.util.io;
import java.io.*;
//: com:bruceeckel:tools:OutFile.java
// ... | javajoker/infoecos | src/com/infoecos/util/io/OutDataStreamFile.java | Java | gpl-2.0 | 680 |
#!/usr/bin/env python3
"""
# TOP2049 Open Source programming suite
#
# Commandline utility
#
# Copyright (c) 2014 Pavel Stemberk <stemberk@gmail.com>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the F... | mbuesch/toprammer | libtoprammer/chips/microchip16/makeSip6.py | Python | gpl-2.0 | 2,873 |
/*
* gedit-spell-plugin.c
*
* Copyright (C) 2002-2005 Paolo Maggi
* Copyright (C) 2015-2016 Sébastien Wilmet
*
* 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 yo... | GNOME/gedit | plugins/spell/gedit-spell-plugin.c | C | gpl-2.0 | 22,110 |
#include "Transform2D.h"
Transform2D::Transform2D(glm::vec2 p_pos, float p_rot, glm::vec2 p_scale)
{
m_pos = p_pos;
m_rot = p_rot;
m_scale = p_scale;
m_z = 0;
}
Transform2D::~Transform2D()
{
}
glm::mat4 const & Transform2D::getModel()
{
glm::mat4 posMatrix = glm::translate(glm::vec3(m_pos, m_z));
glm::m... | baadfood/myCode | Project3/Transform2D.cpp | C++ | gpl-2.0 | 883 |
/**
* Created with JetBrains WebStorm.
* User: eder
* Date: 14-7-14
* Time: 上午11:36
* To change this template use File | Settings | File Templates.
*/
var gameConst = require('../../tools/constValue');
var pomelo = require('pomelo');
var logger = require('pomelo/node_modules/pomelo-logger').getLogger(pomelo.app.g... | huojiecs/game1 | game-server/app/cs/vipInfo/vipInfoManager.js | JavaScript | gpl-2.0 | 6,562 |
package tv.emby.embyatv.ui;
import android.content.Context;
import android.util.AttributeSet;
import android.view.LayoutInflater;
import android.widget.FrameLayout;
import tv.emby.embyatv.R;
/**
* Created by Eric on 11/22/2015.
*/
public class DetailRowView extends FrameLayout {
public DetailRowView(Context co... | letroll/Emby.AndroidTv | EmbyAndroidTv/app/src/main/java/tv/emby/embyatv/ui/DetailRowView.java | Java | gpl-2.0 | 708 |
<?php
/*------------------------------------------------------------------------
# com_xcideveloper - Seamless merging of CI Development Style with Joomla CMS
# ------------------------------------------------------------------------
# author Xavoc International / Gowrav Vishwakarma
# copyright Copyright (C) 2011 xa... | gowrav-vishwakarma/ffm | administrator/components/com_mlm/system/helpers/security_helper.php | PHP | gpl-2.0 | 3,951 |
/*
* 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
... | kemlg/trinitycore-conciens | src/server/game/AI/SmartScripts/SmartScriptMgr.h | C | gpl-2.0 | 63,512 |
<?php
/**
* Element: Header
* Displays a title with a bunch of extras, like: description, image, versioncheck
*
* @package NoNumber Framework
* @version 12.4.4
*
* @author Peter van Westen <peter@nonumber.nl>
* @link http://www.nonumber.nl
* @copyright Copyright © 2012 NoNumber All Rights Reserved
* ... | MA-Ponyvriedjes/ponyvriendjes | plugins/system/nnframework/fields/header.php | PHP | gpl-2.0 | 6,158 |
local mc = require "multicast"
channel = channel or {}
function channel.init()
channel.channels = {}
channel.add("world")
end
function channel.add(name,...)
if select("#",...) > 0 then
local args = table.pack(...)
table.insert(args,1,name)
name = table.concat(args,"#")
end
assert(name)
assert(channel.cha... | sundream/gamesrv | script/channel.lua | Lua | gpl-2.0 | 2,026 |
<?php
/**
* @Project NUKEVIET 3.x
* @Author VINADES.,JSC (contact@vinades.vn)
* @Copyright (C) 2012 VINADES.,JSC. All rights reserved
* @Createdate 28/10/2012, 14:51
*/
// Xác định root site
define( 'NV_ROOTDIR', pathinfo( str_replace( DIRECTORY_SEPARATOR, '/', __file__ ), PATHINFO_DIRNAME ) );
class Token
{
p... | teammhst13-27/mhst13-27 | fa.php | PHP | gpl-2.0 | 12,410 |
/*
* linux/drivers/video/modedb.c -- Standard video mode database management
*
* Copyright (C) 1999 Geert Uytterhoeven
*
* 2001 - Documented with DocBook
* - Brad Douglas <brad@neruo.com>
*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file COPYING in the ma... | geekboxzone/mmallow_kernel | drivers/video/modedb.c | C | gpl-2.0 | 35,482 |
#ifndef CONDPARSER_H
#define CONDPARSER_H
/**
* Copyright (C) 1997-2015 by Dimitri van Heesch.
*
* Permission to use, copy, modify, and distribute this software and its
* documentation under the terms of the GNU General Public License is hereby
* granted. No representations are made about the suitability of this... | ktd2004/doxygen | src/condparser.h | C | gpl-2.0 | 1,866 |
/*****************************************************************
* SQUID - a library of functions for biological sequence analysis
* Copyright (C) 1992-2002 Washington University School of Medicine
*
* This source code is freely distributed under the terms of the
* GNU General Public License. See the fi... | eb00/randfold | src/squid-1.9g/seqencode.c | C | gpl-2.0 | 3,458 |
<?php require_once(drupal_get_path('theme','heshel').'/tpl/header.tpl.php');
global $base_url;
drupal_set_title('');
?>
<?php
if (!empty($tabs['#primary']) || !empty($tabs['#secondary'])):
print render($tabs);
endif;
print $messages;
unset($page['content']['system_main'][... | agroknow/agreri | sites/all/themes/heshel/tpl/page--project.tpl.php | PHP | gpl-2.0 | 1,723 |
/* Temporary CSS File */
/*--------------------------------------------------------------
2.6 - Custom Modal
--------------------------------------------------------------*/
.md-overlay {
background: rgba(255,255,255,.7);
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 9998;
display: none... | kylemclaren/buddypress | wp-content/themes/chum/_inc/css/temp.css | CSS | gpl-2.0 | 8,546 |
/*
* Copyright (C) 2015 TinyCore <http://www.tinycore.net/>
* 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;... | AwkwardDev/TinyCore | src/server/scripts/Outland/TempestKeep/Eye/the_eye.cpp | C++ | gpl-2.0 | 3,339 |
<?php
/**
* The themes Header file.
*
* Displays all of the <head> section and everything up till <div id="main-wrap">
*
* @package Moka
* @since Moka 1.0
*/
?><!DOCTYPE html>
<html id="doc" <?php language_attributes(); ?>>
<head>
<meta charset="<?php bloginfo( 'charset' ); ?>" />
<meta name="vie... | Designer023/wp-at-blog | wp-content/themes/moka/header.php | PHP | gpl-2.0 | 6,225 |
angular.module('starter.controllers')
.controller('ChartsCtrl', function($scope,ChartData, $ionicLoading){
$scope.labels = [];
$scope.series = [''];
$scope.chartOptions = {
datasetFill:false,
animation:false,
showScale:true,
scaleShowGridLines: true,
pointDot:false,
bezierCurve:false
... | tbohnen/EquityTrader | StockRetriever.Ui.Mobile/www/js/chartsController.js | JavaScript | gpl-2.0 | 3,667 |