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 |
|---|---|---|---|---|---|
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Copyright 2008-2010 Zuza Software Foundation
#
# This file is part of Virtaal.
#
# 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 ... | elric/virtaal-debian-snapshots | virtaal/plugins/autocompletor.py | Python | gpl-2.0 | 10,937 |
############################## Handle IRQ #############################
HAVE_UART = y
############################## TOOLS #############################
CROSS_COMPILE ?=mips-linux-gnu-
CC = $(CROSS_COMPILE)gcc
LD = $(CROSS_COMPILE)ld
OBJCOPY = $(CROSS_COMPILE)objcopy
drop-sections := .reginfo .mdebug .oommen... | IngenicSemiconductor/kernel-inwatch | drivers/dma/jzdma/common_firmware/Makefile | Makefile | gpl-2.0 | 1,443 |
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Struct base_unit_info<imperial::hundredweight_base_unit></title>
<link rel="stylesheet" href="../../boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.73.2">
<link rel="start" href... | scs/uclinux | lib/boost/boost_1_38_0/doc/html/boost/units/base_unit_info_imperial_id3820117.html | HTML | gpl-2.0 | 5,776 |
<?php
namespace JasPhp;
use JasPhp;
Class Jasper {
public static function makeJasperReport($module, $report, $parameters) {
//print "java -jar ../lib/java/jasphp.jar $module $report $parameters";exit;
exec("java -jar ../lib/java/dist/jasphp.jar $module $report $parameters", $return);
//print_r($return... | luelher/JasPhp | lib/JasPhp/Jasper.php | PHP | gpl-2.0 | 625 |
<?php
/**
* Authentication library
*
* Including this file will automatically try to login
* a user by calling auth_login()
*
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
* @author Andreas Gohr <andi@splitbrain.org>
*/
if(!defined('DOKU_INC')) die('meh.');
// some ACL level defines
define('A... | brontosaurusrex/dokuwiki-preconfigured | inc/auth.php | PHP | gpl-2.0 | 42,215 |
<?php
/**
* This file contains all functions for creating a database for teachpress
*
* @package teachpress\core\installation
* @license http://www.gnu.org/licenses/gpl-2.0.html GPLv2 or later
* @since 5.0.0
*/
/**
* This class contains all functions for creating a database for teachpress
* @package teachpres... | winkm89/teachPress | core/class-tables.php | PHP | gpl-2.0 | 31,096 |
(function ($) {
function getCsrfTokenForFullShotImage(callback) {
$
.get(Drupal.url('rest/session/token'))
.done(function (data) {
var csrfToken = data;
callback(csrfToken);
});
}
function patchImageFullShot(csrfToken, file, fid) ... | asharnb/dawn | modules/custom/studiobridge_store_images/js/studio-bridge-fullshot-image.js | JavaScript | gpl-2.0 | 3,011 |
#ifndef __DGAPROC_H
#define __DGAPROC_H
#include <X11/Xproto.h>
#include "pixmap.h"
#define DGA_CONCURRENT_ACCESS 0x00000001
#define DGA_FILL_RECT 0x00000002
#define DGA_BLIT_RECT 0x00000004
#define DGA_BLIT_RECT_TRANS 0x00000008
#define DGA_PIXMAP_AVAILABLE 0x00000010
#define DGA_INTERLACED 0x00010000
#define D... | atmark-techno/atmark-dist | user/xorg-xserver/xorg-server-1.12.4/hw/xfree86/dixmods/extmod/dgaproc.h | C | gpl-2.0 | 3,934 |
<?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\Publish\Core\MVC\Symfony\Matcher\Tests\ContentBased;
use eZ\Publish\API\Repository\LocationService;
use eZ\Publish\Core... | gggeek/ezpublish-kernel | eZ/Publish/Core/MVC/Symfony/Matcher/Tests/ContentBased/DepthTest.php | PHP | gpl-2.0 | 4,768 |
#
# Copyright (C) 2006-2012 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
include $(INCLUDE_DIR)/image.mk
define Build/Clean
$(MAKE) -C lzma-loader clean
endef
define Image/Prepare
cat $(KDIR)/vmlinux | $(ST... | geog-opensource/geog-linino | target/linux/brcm47xx/image/Makefile | Makefile | gpl-2.0 | 6,299 |
/*=============================================================================
Copyright (c) 2002-2003 Joel de Guzman
http://spirit.sourceforge.net/
Use, modification and distribution is subject to the Boost Software
License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
htt... | Slesa/launchy | old/Launchy_VC7/Plugins/Calcy/Main.cpp | C++ | gpl-2.0 | 3,793 |
/** @file
* PDM - Pluggable Device Manager, Common Instance Macros.
*/
/*
* Copyright (C) 2006-2015 Oracle Corporation
*
* This file is part of VirtualBox Open Source Edition (OSE), as
* available from http://www.virtualbox.org. This file is free software;
* you can redistribute it and/or modify it under the te... | miguelinux/vbox | include/VBox/vmm/pdmins.h | C | gpl-2.0 | 2,414 |
/* ----------------------------------------------------------------------------------------------------------
This website template was downloaded from http://www.nuviotemplates.com - visit us for more templates
Structure:
display; position; float; z-index; overflow; width; height; margin; padding; borde... | bigace/bigace2-extensions | SMARTY/CrystalX/public/cid{CID}/CrystalX/print.css | CSS | gpl-2.0 | 963 |
/*
* linux/fs/read_write.c
*
* Copyright (C) 1991, 1992 Linus Torvalds
*/
#include <linux/slab.h>
#include <linux/stat.h>
#include <linux/fcntl.h>
#include <linux/file.h>
#include <linux/uio.h>
#include <linux/smp_lock.h>
#include <linux/fsnotify.h>
#include <linux/security.h>
#include <linux/module.h>
#includ... | kzlin129/tt-gpl | go12/linux-2.6.28.10/fs/read_write.c | C | gpl-2.0 | 19,284 |
#
# The Qubes OS Project, http://www.qubes-os.org
#
# Copyright (C) 2014-2016 Wojtek Porczyk <woju@invisiblethingslab.com>
# Copyright (C) 2016 Marek Marczykowski <marmarek@invisiblethingslab.com>)
# Copyright (C) 2016 Bahtiar `kalkin-` Gadimov <bahtiar@gadimov.de>
#
# This library is free software; you ca... | nrgaway/qubes-core-admin | qubes/vm/templatevm.py | Python | gpl-2.0 | 4,118 |
#!/bin/sh
#
# Copyright (c) 2007 Junio C Hamano
#
test_description='git apply --whitespace=strip and configuration file.
'
. ./test-lib.sh
test_expect_success setup '
mkdir sub &&
echo A >sub/file1 &&
cp sub/file1 saved &&
git add sub/file1 &&
echo "B " >sub/file1 &&
git diff >patch.file
'
... | haglerchristopher/automation | src/3rd_party/git/t/t4119-apply-config.sh | Shell | gpl-2.0 | 3,650 |
/**
* Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.torchmobile.com/)
*
* 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 Lice... | cattleprod/samsung-kernel-gt-i9100 | external/webkit/WebCore/wml/WMLInputElement.cpp | C++ | gpl-2.0 | 16,920 |
//
// Created by David Seery on 10/08/2015.
// --@@ // Copyright (c) 2017 University of Sussex. All rights reserved.
//
// This file is part of the Sussex Effective Field Theory for
// Large-Scale Structure platform (LSSEFT).
//
// LSSEFT is free software: you can redistribute it and/or modify
// it under the terms of ... | ds283/LSSEFT | controller/master_controller.h | C | gpl-2.0 | 8,832 |
/* Copyright Statement:
*
* This software/firmware and related documentation ("MediaTek Software") are
* protected under relevant copyright laws. The information contained herein is
* confidential and proprietary to MediaTek Inc. and/or its licensors. Without
* the prior written permission of MediaTek inc. and... | luckasfb/OT_903D-kernel-2.6.35.7 | bootable/bootloader/legacy/arch_msm7k/gpio.c | C | gpl-2.0 | 6,641 |
# Copyright (C) 2005, Giovanni Bajo
# Based on previous work under copyright (c) 2001, 2002 McMillan Enterprises, 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... | pdubroy/kurt | build/MacOS/PyInstaller/pyinstaller-svn-r812/hooks/hook-carchive.py | Python | gpl-2.0 | 1,029 |
/*************************************************************************
*
* FILE NAME : ifxmips_pci.c
* PROJECT : IFX UEIP
* MODULES : PCI
*
* DATE : 29 June 2009
* AUTHOR : Lei Chuanhua
*
* DESCRIPTION : PCI Host Controller Driver
* COPYRIGHT : Copyright (c) 2009
* ... | kbridgers/VOLTE4GFAX | target/linux/ltqcpe/files-2.6.32/arch/mips/pci/ifxmips_pci.c | C | gpl-2.0 | 21,354 |
#ifndef AnalysisTool_h
#define AnalysisTool_h 1
#include "StackingTool.hh"
#include <sstream> // stringstream
using namespace std;
class AnalysisTool {
public:
AnalysisTool();
virtual ~AnalysisTool();
virtual void PrintTool();
virtual bool getInterest();
virtual bool getInterest(int partic... | OWoolland/MemoryMappedFileReader | Source/include/AnalysisTool.hh | C++ | gpl-2.0 | 809 |
body{
font-family: 'open_sansregular';
}
.header {
background: url(../images/bgo.jpg);
min-height: 600px;
}
.header-right {
background: url(../images/handpico.png) no-repeat 100% 101%;
height: 600px;
}
.pricing-grid ul li a:hover,.footer ul li a:hover, .copy-right a:hover {
color:#DB7734;
}
/*----*/
.apple{
bac... | Victormafire/WheresApp | server/src/main/webapp/web/css/orange.css | CSS | gpl-2.0 | 5,101 |
<?php
/**
* The header template file.
* @package PaperCuts
* @since PaperCuts 1.0.0
*/
?><!DOCTYPE html>
<!--[if IE 7]>
<html class="ie ie7" <?php language_attributes(); ?>>
<![endif]-->
<!--[if IE 8]>
<html class="ie ie8" <?php language_attributes(); ?>>
<![endif]-->
<!--[if !(IE 7) | !(IE 8) ]><!-->
<html <?php l... | udhayarajselvan/matrix | wp-content/themes/papercuts/header.php | PHP | gpl-2.0 | 4,753 |
<?php
session_start();
$exercise = $_SESSION['exercise'];
if($_POST){
unset($exercise[$_POST['id']]);
$_SESSION['exercise'] = $exercise;
header('Location: ./');
}
$workout = $exercise[$_REQUEST['id']];
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X... | kevinflaherty/Web-Programming | fitness/exercise/view.php | PHP | gpl-2.0 | 2,009 |
<?php
/**
* Validate form
*
* @param array $form definition
* @param array $data filtered
* @return boolean | array ('fildname'=>'error message')
*/
function validateForm($form, $datafiltered)
{
$validatedata = null;
foreach ($form as $key => $form_field) {
// if ($form[$key]['validation'] != nul... | bermartinv/php2015 | modules/core/src/core/validateForm.php | PHP | gpl-2.0 | 2,403 |
# woyuchengying.github.io
* [语言无关类](#语言无关类)
* [操作系统](#操作系统)
* [智能系统](#智能系统)
* [分布式系统](#分布式系统)
* [编译原理](#编译原理)
* [函数式概念](#函数式概念)
* [计算机图形学](#计算机图形学)
* [WEB服务器](#web服务器)
* [版本控制](#版本控制)
* [编辑器](#编辑器)
* [NoSQL](#nosql)
* [PostgreSQL](#postgresql)
* [MySQL](#mysql)
* [管理和监控](#管理和监控)
* [项目相关](#项目... | woyuchengying/woyuchengying.github.io | README.md | Markdown | gpl-2.0 | 703 |
<?php module_head("The KDevelop $k_series_version Team");?>
<h4>Main Developers: <a href="mailto:team at kdevelop.org">team at kdevelop.org</a></h4>
<a href="mailto:bernd at physik.hu-berlin.de">Bernd Gehrmann</a> Initial idea and architecture, much initial source code
<br>
<a href="mailto:caleb at aei-tech.com">Caleb... | KDE/kdev-www | 3.2/authors.html | HTML | gpl-2.0 | 7,853 |
#!/usr/bin/env python3
import sys
import os
sys.path.append(os.path.realpath("."))
import unittest
import cleanstream
import tagger
import pretransfer
import transfer
import interchunk
import postchunk
import adaptdocx
if __name__ == "__main__":
os.chdir(os.path.dirname(__file__))
failures = 0
for modul... | unhammer/apertium | tests/run_tests.py | Python | gpl-2.0 | 744 |
/*
* Copyright (c) 2010, Google, Inc.
*
* This file is part of Libav.
*
* Libav is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later... | DDTChen/CookieVLC | vlc/contrib/android/ffmpeg/libavcodec/libvpxdec.c | C | gpl-2.0 | 4,941 |
//
// ReadEntityBodyMode.cs
//
// Author: Martin Thwaites (github@my2cents.co.uk)
//
// Copyright (C) 2014 Martin Thwaites
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restri... | hardvain/mono-compiler | class/System.Web/System.Web/ReadEntityBodyMode.cs | C# | gpl-2.0 | 1,312 |
#!/usr/bin/python3
# @begin:license
#
# Copyright (c) 2015-2019, Benjamin Niemann <pink@odahoda.de>
#
# 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 y... | odahoda/noisicaa | noisicaa/core/ipc_perftest.py | Python | gpl-2.0 | 1,459 |
VERSION = 1.0.1
all:
smistrip -d MIB src-mib/nagios*.mib
test:
smilint -p ./MIB/NAGIOS-ROOT-MIB ./MIB/NAGIOS-NOTIFY-MIB
tarball:
tar cvzf nagiosmib-${VERSION}.tar.gz README CHANGES LEGAL LICENSE ./MIB/*MIB
md5sum nagiosmib-${VERSION}.tar.gz > nagiosmib-${VERSION}.tar.gz.md5sum
| monitoring-plugins/nagios-mib | Makefile | Makefile | gpl-2.0 | 286 |
#ifndef INC_FMTLexer_hpp_
#define INC_FMTLexer_hpp_
#include <antlr/config.hpp>
/* $ANTLR 2.7.7 (20130428): "format.g" -> "FMTLexer.hpp"$ */
#include <antlr/CommonToken.hpp>
#include <antlr/InputBuffer.hpp>
#include <antlr/BitSet.hpp>
#include "FMTTokenTypes.hpp"
#include <antlr/CharScanner.hpp>
#include <fstream>
#... | olebole/gnudatalanguage | src/FMTLexer.hpp | C++ | gpl-2.0 | 3,373 |
#include "db/db.h"
Database::Database() { this->records_tree_ = nullptr; }
void Database::Read(DatabaseReader &reader) {
this->records_tree_ = reader.ReadIndex();
}
Record *Database::GetRecordsTree() const { return this->records_tree_; }
void Database::SetRecordsTree(Record *records_tree) {
this->records_tree_... | bramberg/cclinf2 | src/db/db.cc | C++ | gpl-2.0 | 339 |
import glob
import fnmatch
import itertools
import logging
import os
import re
import six
import sys
import yaml
from .dockerfile import Dockerfile
from .image import ImageBuilder
from .config import Config
class Builder(object) :
def __init__(self, config=None, **kwds) :
self.logger = logging.getLogger... | tjamet/dynker | dynker/builder.py | Python | gpl-2.0 | 6,135 |
<?php
global $lang;
global $languages;
$l_top_lang_visited_pages="Najczęściej {$languages[$lang]} odwiedzane strony";
$l_page="Strona";
$l_last_update="ostatnio aktualizowane";
$l_last_visited="ostatnio odwiedzane";
$l_average_daily_visits="średnio dziennych wizyt";
$l_global_website_statistics="Całkowite statystyki... | KDE/kdev-www | lang/pl/stats.html | HTML | gpl-2.0 | 819 |
<?php
/**
*
* You may not change or alter any portion of this comment or credits
* of supporting developers from this source code or any supporting source code
* which is considered copyrighted (c) material of the original comment or credit authors.
* This program is distributed in the hope that it will be useful,... | mambax7/257 | htdocs/modules/wflinks/testdata/index.php | PHP | gpl-2.0 | 1,254 |
#ifndef GAP_HPC_MISC_H
#define GAP_HPC_MISC_H
#include "system.h"
#ifndef HPCGAP
#error This header is only meant to be used with HPC-GAP
#endif
/****************************************************************************
**
*V ThreadUI . . . . . . . . . . . . . . . . . . . . support UI for threads
**
*/
extern ... | sebasguts/gap | src/hpc/misc.h | C | gpl-2.0 | 1,488 |
// Copyright (c) 2009 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_FRAME_EXTRA_SYSTEM_APIS_H_
#define CHROME_FRAME_EXTRA_SYSTEM_APIS_H_
#include <mshtml.h>
#include <shdeprecated.h>
class __declspec(u... | qtekfun/htcDesire820Kernel | external/chromium_org/chrome_frame/extra_system_apis.h | C | gpl-2.0 | 4,312 |
<?php
/**
* @package Expose
* @version 3.0.1
* @author ThemeXpert http://www.themexpert.com
* @copyright Copyright (C) 2010 - 2011 ThemeXpert
* @license http://www.gnu.org/licenses/gpl-3.0.html GNU/GPLv3
* @file layout.php
**/
//prevent direct access
defined ('EXPOSE_VERSION') or die (... | jbelborja/deportivo | libraries/expose/core/layout.php | PHP | gpl-2.0 | 12,235 |
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<title>首页-灰绿色主题</title>
<link href="../css/style.css" rel="stylesheet" type="text/css">
<script src="../js/jQuery.js" type="text/javascript"></script>
<script src="../js/common.js" type="text/javascript"></script>
<... | lxqfirst/mySchool | WebContent/web/financeDetail.html | HTML | gpl-2.0 | 10,505 |
<?php
/*
Plugin Name: Social Likes
Description: Wordpress plugin for Social Likes library by Artem Sapegin (http://sapegin.me/projects/social-likes)
Version: 5.5.7
Author: TS Soft
Author URI: http://ts-soft.ru/en/
License: MIT
Copyright 2014 TS Soft LLC (email: dev@ts-soft.ru )
Permission is hereby granted, free of c... | tienthai0511/talk | wp-content/plugins/wp-social-likes/wp-social-likes.php | PHP | gpl-2.0 | 33,776 |
//
// LVKDefaultMessageStickerItem.h
// VKMessenger
//
// Created by Eliah Nikans on 6/9/14.
// Copyright (c) 2014 Levelab. All rights reserved.
//
#import "LVKMessageItemProtocol.h"
@interface LVKDefaultMessageStickerItem : UICollectionViewCell <LVKMessageItemProtocol>
@property (weak, nonatomic) IBOutlet UIIma... | CocoaHeadsMsk/vkmessenger | VKMessenger/LVKDefaultMessageStickerItem.h | C | gpl-2.0 | 420 |
<?php
/**
* VuFind Statistics Class for Record Views
*
* PHP version 5
*
* Copyright (C) Villanova University 2009.
*
* 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.
*
* Th... | no-reply/cbpl-vufind | module/VuFind/src/VuFind/Statistics/Record.php | PHP | gpl-2.0 | 4,569 |
<?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\Publish\Core\Base\Container\Compiler\Search\Legacy;
use Symfony\Component\DependencyInjection\Compiler\CompilerPassInte... | gggeek/ezpublish-kernel | eZ/Publish/Core/Base/Container/Compiler/Search/Legacy/CriteriaConverterPass.php | PHP | gpl-2.0 | 3,289 |
#ifndef UI_UNDOVIEW_H
#define UI_UNDOVIEW_H
#include <QtWidgets/QUndoView>
namespace ui {
class UndoView : public QUndoView
{
Q_OBJECT
public:
explicit UndoView(QWidget *parent = 0);
signals:
public slots:
};
} // namespace ui
#endif // UI_UNDOVIEW_H
| jablonkai/dbFlow | src/gui/undoview.h | C | gpl-2.0 | 279 |
<?php
global $post;
if( tie_get_option( 'archives_socail' ) ):?>
<div class="mini-share-post">
<ul>
<li><a href="https://twitter.com/share" class="twitter-share-button" data-url="<?php the_permalink(); ?>" data-text="<?php the_title(); ?>" data-via="<?php echo tie_get_option( 'share_twitter_username' ) ?>" d... | axsauze/HackaSoton | wp-content/themes/sahifa/includes/post-share.php | PHP | gpl-2.0 | 1,973 |
/*
* Driver for the SGS-Thomson M48T35 Timekeeper RAM chip
*
* Real Time Clock interface for Linux
*
* TODO: Implement periodic interrupts.
*
* Copyright (C) 2000 Silicon Graphics, Inc.
* Written by Ulf Carlsson (ulfc@engr.sgi.com)
*
* Based on code written by Paul Gortmaker.
*
* This driver allows use of t... | mpalmer/linux-2.6 | drivers/char/ip27-rtc.c | C | gpl-2.0 | 7,743 |
<!DOCTYPE html>
<html>
<head>
<title>Asterisk Project : Asterisk Standard Channel Variables</title>
<link rel="stylesheet" href="styles/site.css" type="text/css" />
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body class="theme-default aui-theme-defau... | truongduy134/asterisk | doc/Asterisk-Admin-Guide/Asterisk-Standard-Channel-Variables_4620398.html | HTML | gpl-2.0 | 6,529 |
<?php
class Miscinfo_b extends Lxaclass
{
static $__desc_realname = array("", "", "real_name");
static $__desc_paddress = array("", "", "personal_address");
static $__desc_padd_city = array("", "", "city");
static $__desc_padd_country = array( "", "", "Country", "Country of the Client");
static $__desc_ptelephon... | zuoziqi/KloxoST | httpdocs/lib/client/miscinfolib.php | PHP | gpl-2.0 | 1,486 |
<?php
/**
* @version SEBLOD 3.x Core
* @package SEBLOD (App Builder & CCK) // SEBLOD nano (Form Builder)
* @url https://www.seblod.com
* @editor Octopoos - www.octopoos.com
* @copyright Copyright (C) 2009 - 2018 SEBLOD. All Rights Reserved.
* @license GNU General Public License version 2 or later; ... | Octopoos/SEBLOD | plugins/cck_storage_location/joomla_user_group/tmpl/edit.php | PHP | gpl-2.0 | 1,167 |
/*
* File: ShardExceptions.cpp
* Author: dagothar
*
* Created on October 22, 2015, 8:00 PM
*/
#include "ShardExceptions.hpp"
using namespace gripperz::shards;
| dagothar/gripperz | src/shards/ShardExceptions.cpp | C++ | gpl-2.0 | 170 |
äòR<?php exit; ?>a:6:{s:10:"last_error";s:0:"";s:10:"last_query";s:104:"SELECT ID FROM jj_posts WHERE post_parent = 6 AND post_type = 'page' AND post_status = 'publish' LIMIT 1";s:11:"last_result";a:0:{}s:8:"col_info";a:1:{i:0;O:8:"stdClass":13:{s:4:"name";s:2:"ID";s:5:"table";s:8:"jj_posts";s:3:"def";s:0:"";s:10:"max... | macksfield/NudeAudio | wp-content/cache/db/000000/all/dcd/9ce/dcd9cecc07acdbcfb772254e9aff8b75.php | PHP | gpl-2.0 | 557 |
/* sane - Scanner Access Now Easy.
Copyright (C) 2002 Frank Zago (sane at zago dot net)
This file is part of the SANE package.
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 ... | dwery/sane-evolution | backend/leo.h | C | gpl-2.0 | 19,478 |
/*
* AlwaysLowestAdaptationLogic.cpp
*****************************************************************************
* Copyright (C) 2014 - VideoLAN authors
*
* This program 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 ... | sachdeep/vlc | modules/demux/adaptative/logic/AlwaysLowestAdaptationLogic.cpp | C++ | gpl-2.0 | 1,424 |
package com.oa.bean;
public class FeedBackInfo {
private Long id;
private String feedbackinfo;
private String userid;
private String date;
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public String getFeedbackinfo() {
return feedbackinfo;
}
public void setFeedb... | yiyuweier/OA-project | src/com/oa/bean/FeedBackInfo.java | Java | gpl-2.0 | 617 |
<?php
include('../../../operaciones.php');
conectar();
apruebadeintrusos();
if($_SESSION['cargo_user']!="Bodeguero"){
header('Location: ../../../login.php');
}
?>
<html lang="en">
<head>
<title>PNKS Inventario - Estadística de Productos</title>
<!-- BEGIN META -->
<meta charset="utf-8">
<meta name="viewport"... | DerKow/erp | admin/bodega/informe/estadistica.php | PHP | gpl-2.0 | 11,126 |
<?php
/**
* Vanillicon plugin.
*
* @author Todd Burry <todd@vanillaforums.com>
* @copyright 2009-2017 Vanilla Forums Inc.
* @license http://www.opensource.org/licenses/gpl-2.0.php GNU GPL v2
* @package vanillicon
*/
/**
* Class VanilliconPlugin
*/
class VanilliconPlugin extends Gdn_Plugin {
/**
* Se... | adrianspeyer/vanilla | plugins/vanillicon/class.vanillicon.plugin.php | PHP | gpl-2.0 | 4,131 |
/**
* OWASP Benchmark Project v1.1
*
* This file is part of the Open Web Application Security Project (OWASP)
* Benchmark Project. For details, please see
* <a href="https://www.owasp.org/index.php/Benchmark">https://www.owasp.org/index.php/Benchmark</a>.
*
* The Benchmark is free software: you can redistribute it and/... | iammyr/Benchmark | src/main/java/org/owasp/benchmark/testcode/BenchmarkTest17998.java | Java | gpl-2.0 | 2,474 |
package Classes::Sentry4;
our @ISA = qw(Classes::Device);
sub init {
my $self = shift;
if ($self->mode =~ /device::hardware::health/) {
$self->analyze_and_check_environmental_subsystem('Classes::Sentry4::Components::EnvironmentalSubsystem');
} elsif ($self->mode =~ /device::power::health/) {
$self->analy... | lausser/check_pdu_health | plugins-scripts/Classes/Sentry4.pm | Perl | gpl-2.0 | 534 |
using System.Windows.Controls;
namespace HomeControl
{
/// <summary>
/// Interaction logic for UserControl1.xaml
/// </summary>
public partial class HomeCtrl : UserControl
{
public HomeCtrl()
{
InitializeComponent();
// doug's change...
}
}
}
| AceSyntax/DnvGitApp | DemoSolution/HomeControl/HomeCtrl.xaml.cs | C# | gpl-2.0 | 319 |
package adamros.mods.transducers.item;
import java.util.List;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import adamros.mods.transducers.Transducers;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.ItemBlock;
import net.minecraft.item.ItemStack;
import net... | adamros/Transducers | adamros/mods/transducers/item/ItemElectricEngine.java | Java | gpl-2.0 | 2,146 |
cmd_sound/soc/s6000/built-in.o := rm -f sound/soc/s6000/built-in.o; ../prebuilt/linux-x86/toolchain/arm-eabi-4.4.0/bin/arm-eabi-ar rcs sound/soc/s6000/built-in.o
| venkatkamesh/2.6.35-kernel-for-lg-optimus-me- | sound/soc/s6000/.built-in.o.cmd | Batchfile | gpl-2.0 | 163 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8"/>
<title>Sunible</title>
<link rel="shortcut icon" href="images/favicon.ico"/>
<!-- CSS -->
<link rel="stylesheet" type="text/css" href="css/bootstrap.css"/>
<link rel="stylesheet" type="text/css" href="css/flat-ui.css"/>
<link rel="stylesheet... | dhanur/Sunible-Beta | socialProofTest_Tanner.html | HTML | gpl-2.0 | 20,503 |
<?php
/**
* @file
* Opigno Learning Record Store stats - Course content - Course contexts statistics template file
*
* @param array $course_contexts_statistics
*/
?>
<div class="lrs-stats-widget" id="lrs-stats-widget-course-content-course-contexts-statistics">
<h2><?php print t('Course context statistics'); ?></... | ksen-pol/univerico | profiles/opigno_lms/modules/opigno/opigno_tincan_api/modules/opigno_tincan_api_stats/templates/course_content/widgets/course_contexts_statistics/course_contexts_statistics.tpl.php | PHP | gpl-2.0 | 467 |
/* ScummVM - Graphic Adventure Engine
*
* ScummVM is the legal property of its developers, whose names
* are too numerous to list here. Please refer to the COPYRIGHT
* file distributed with this source distribution.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of ... | alexbevi/scummvm | engines/glk/detection.h | C | gpl-2.0 | 3,263 |
showWord(["v. ","vin jòn.<br>"]) | georgejhunt/HaitiDictionary.activity | data/words/joni.js | JavaScript | gpl-2.0 | 33 |
##
## Copyright 2007, Red Hat, Inc
## see AUTHORS
##
## This software may be freely redistributed under the terms of the GNU
## general public license.
##
## You should have received a copy of the GNU General Public License
## along with this program; if not, write to the Free Software
## Foundation, Inc., 675 Mass Ave... | pombredanne/func | func/minion/modules/func_module.py | Python | gpl-2.0 | 4,487 |
package lambda;
import java.awt.BorderLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.JButton;
import javax.swing.JFrame;
public class Esempio extends JFrame {
public Esempio()
{
init();
}
private void init() {
BorderLayout b=new BorderLayout();
thi... | manuelgentile/MAP | java8/java8_lambda/src/main/java/lambda/Esempio.java | Java | gpl-2.0 | 663 |
/*
DC++ Widget Toolkit
Copyright (c) 2007-2013, Jacek Sieka
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 notice,
... | hjpotter92/dcplusplus | dwt/src/widgets/ProgressBar.cpp | C++ | gpl-2.0 | 1,771 |
<?php
require "tableinitiateclass.php";
require "../queryinitiateclass.php";
$tbl = new AddTable;
?>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Table index</title>
</head>
<style>
table
{
width:100%;
}
</style>
<body>
<?php
// just the headers
$array... | cominteract/htmlwrapper_v1 | htmlwrapper/table/tableindex.php | PHP | gpl-2.0 | 3,108 |
/*
You may freely copy, distribute, modify and use this class as long
as the original author attribution remains intact. See message
below.
Copyright (C) 1998-2006 Christian Pesch. All Rights Reserved.
*/
package slash.carcosts;
import slash.gui.model.AbstractModel;
/**
* An CurrencyModel holds a Currency... | cpesch/CarCosts | car-costs/src/main/java/slash/carcosts/CurrencyModel.java | Java | gpl-2.0 | 1,184 |
/* c) The receipt screen */
.point-of-sale .pos-receipt-container {
font-size: 10pt;
}
.point-of-sale .pos-sale-ticket {
text-align: left;
/* width: 76mm; */
width: 255px;
/* background-color: white; */
margin: 0mm,0mm,0mm,0mm;
/* padding: 1px; */
/* padding-bottom:1px; */
display: i... | silvau/Addons_Odoo | qweb_pos_ticket/static/src/css/pos.css | CSS | gpl-2.0 | 2,204 |
/**
* Ядро булевой логики
*/
/**
* @author Алексей Кляузер <drum@pisem.net>
* Ядро булевой логики
*/
package org.deneblingvo.booleans.core; | AlexAbak/ReversibleComputing | package/src/org/deneblingvo/booleans/core/package-info.java | Java | gpl-2.0 | 192 |
#ifndef __LINUX_USB_H
#define __LINUX_USB_H
#include <linux/mod_devicetable.h>
#include <linux/usb/ch9.h>
#define USB_MAJOR 180
#define USB_DEVICE_MAJOR 189
#ifdef __KERNEL__
#include <linux/errno.h> /* for -ENODEV */
#include <linux/delay.h> /* for mdelay() */
#include <linux/interrupt.h> /* for in_inte... | alfsamsung/LG_X3_P880_v20a | include/linux/usb.h | C | gpl-2.0 | 63,429 |
/**
@copyright
Copyright (c) 2008 - 2010, AuthenTec Oy. All rights reserved.
wince_wan_interface.h
This file contains the type definitions and function declarations
for Windows CE WAN Interfaces (i.e. dial-up interfaces).
*/
#ifndef SSH_WINCE_WAN_INTERFACE_H
#define SSH_WINCE_WAN_INTER... | invisiblek/kernel_808l | drivers/net/eip93_drivers/quickSec/src/interceptor/windows/winim/wince_wan_interface.h | C | gpl-2.0 | 4,932 |
package de.superioz.moo.network.client;
import de.superioz.moo.network.server.NetworkServer;
import lombok.Getter;
import de.superioz.moo.api.collection.UnmodifiableList;
import java.net.InetSocketAddress;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.u... | Superioz/MooProject | network/src/main/java/de/superioz/moo/network/client/ClientManager.java | Java | gpl-2.0 | 5,716 |
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
int f1(int limite);
int f2(int limite)
{
int i;
for (i = 1; i < limite; i ++)
f1(i);
}
int f1(int limite)
{
int i;
for (i = 1; i < limite; i ++)
f2(i);
}
int main(void)
{
f1(25);
}
| Logilin/ils | exemples/chapitre-01/test_gprof.c | C | gpl-2.0 | 256 |
package models.planners
import java.awt.Color
import java.awt.image.BufferedImage
import utils._
import models.{Yarn, Needle}
import models.units.Stitches
object Helper {
/** First/last needle for the knitting with the given width when center alignment. */
def center(width: Stitches): (Needle, Needle) = {
(Ne... | knittery/knittery-ui | app/models/planners/Helper.scala | Scala | gpl-2.0 | 1,801 |
/* dnsmasq is Copyright (c) 2000-2015 Simon Kelley
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 dated June, 1991, or
(at your option) version 3 dated 29 June, 2007.
This ... | ghmajx/asuswrt-merlin | release/src/router/dnsmasq/src/loop.c | C | gpl-2.0 | 3,165 |
import math as mth
import numpy as np
#----------------------
# J Matthews, 21/02
# This is a file containing useful constants for python coding
#
# Units in CGS unless stated
#
#----------------------
#H=6.62606957E-27
HEV=4.13620e-15
#C=29979245800.0
#BOLTZMANN=1.3806488E-16
VERY_BIG=1e50
H=6.6262e-27
HC=1.98587e-... | jhmatthews/panlens | constants.py | Python | gpl-2.0 | 1,157 |
using System;
using System.ComponentModel;
using System.Drawing;
using System.Drawing.Drawing2D;
namespace WeifenLuo.WinFormsUI.Docking
{
#region DockPanelSkin classes
/// <summary>
/// The skin to use when displaying the DockPanel.
/// The skin allows custom gradient color schemes to be used when dra... | DragonFiestaTeam/DragonFiesta_Tools | QuestAnalyser/src/Docking/DockPanelSkin.cs | C# | gpl-2.0 | 14,802 |
/*
* General control styling
*/
.control-table .table-container {
border: 1px solid #e0e0e0;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
overflow: hidden;
margin-bottom: 15px;
}
.control-table .table-container:last-child {
margin-bottom: 0;
}
.control-table.active .table-con... | quamis/PriceMonitor | PriceMonitor/html/october/modules/backend/widgets/table/assets/css/table.css | CSS | gpl-2.0 | 9,377 |
def format_path( str ):
while( str.find( '//' ) != -1 ):
str = str.replace( '//', '/' )
return str
| tencent-wechat/phxsql | phxrpc_package_config/tools/phxsql_utils.py | Python | gpl-2.0 | 103 |
/* page layout styles */
*{
margin:0;
padding:0;
}
body {
background-color:#eee;
color:#fff;
font:14px/1.3 Arial,sans-serif;
}
header {
background-color:#212121;
box-shadow: 0 -1px 2px #111111;
display:block;
height:70px;
position:relative;
width:100%;
z-index:100;
}
head... | elephunk84/centralheating | resources/css/graphstyle.css | CSS | gpl-2.0 | 1,136 |
#!/usr/bin/env bash
# Usage example:
# PLot the chirp signal and its frequency domain presentation:
# (while true; do echo line; sleep 0.01; done)| \
# awk 'BEGIN{PI=atan2(0,-1);t=0;f0=1;f1=32;T=256;k=(f1-f0)/T;}{print sin(2*PI*(t*f0+k/2*t*t));t+=0.1;fflush()}'| \
# tee >(bin/dsp/fft.sh 64 "w1;0.5;0.5"|bin/dsp/fftab... | flux242/dotfiles | .bin/dsp/fft.sh | Shell | gpl-2.0 | 3,368 |
document.addEventListener("DOMContentLoaded", function (event) {
'use strict';
var paragraph, url, proxy;
paragraph = document.querySelectorAll('p.error_text');
chrome.tabs.query({ currentWindow: true, active: true }, function (tabs) {
url = tabs[0].url;
if (url.indexOf('chrome://') == 0) {
paragraph[0].inne... | joelself/GoogleCacheBrowser | src/popup.js | JavaScript | gpl-2.0 | 815 |
using Deployer.Services.Config;
using Deployer.Services.Config.Interfaces;
using Moq;
using NUnit.Framework;
using System.Collections;
namespace Deployer.Tests.Config
{
[TestFixture]
public class ConfigBuildParamTests
{
private Mock<IJsonPersistence> _jsonPersist;
private Mock<ISlugCreator> _slugCreator;
pri... | DevOpsGear/DeployerOfCodes | Deployer.Tests/Deployer.Services.Tests/Config/ConfigBuildParamTests.cs | C# | gpl-2.0 | 2,233 |
package ch.hgdev.toposuite.utils;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
/**
* Useful static method for manipulating String.
*
* @author HGdev
*/
public class StringUtils {
public static final String UTF8_BOM = "\uFEFF";
/**
* This method assumes that the String contains a n... | hgdev-ch/toposuite-android | app/src/main/java/ch/hgdev/toposuite/utils/StringUtils.java | Java | gpl-2.0 | 1,224 |
package org.currconv.services.impl;
import java.util.List;
import org.currconv.dao.UserDao;
import org.currconv.entities.user.User;
import org.currconv.services.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transact... | miguel-gr/currency-converter | src/main/java/org/currconv/services/impl/UserServiceImpl.java | Java | gpl-2.0 | 738 |
package com.debugtoday.htmldecoder.output;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.OutputStreamWriter;
import java.io.PrintWriter;
import java.io.UnsupportedEncodingException;
import java.util.List;
import java.util.regex.Ma... | zydecx/htmldecoder | src/main/java/com/debugtoday/htmldecoder/output/AbstractFileOutput.java | Java | gpl-2.0 | 4,685 |
void dflu_pack_fin(DFluPack *p) {
UC(dmap_fin(NFRAGS, /**/ &p->map));
UC(comm_bags_fin(PINNED, NONE, /**/ &p->hpp, &p->dpp));
if (p->opt.ids) UC(comm_bags_fin(PINNED, NONE, /**/ &p->hii, &p->dii));
if (p->opt.colors) UC(comm_bags_fin(PINNED, NONE, /**/ &p->hcc, &p->dcc));
EFREE(p);
}
void dflu... | slitvinov/uDeviceX | src/distr/flu/imp/fin.h | C | gpl-2.0 | 849 |
/*
MobileRobots Advanced Robotics Interface for Applications (ARIA)
Copyright (C) 2004, 2005 ActivMedia Robotics LLC
Copyright (C) 2006, 2007, 2008, 2009 MobileRobots Inc.
Copyright (C) 2010, 2011 Adept Technology, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms o... | admo/aria | arnetworking/ArServerModeRatioDrive.cpp | C++ | gpl-2.0 | 17,363 |
package com.networkprofiles.widget;
/** Service to refresh the widget **/
import android.app.Service;
import android.appwidget.AppWidgetManager;
import android.content.Intent;
import android.graphics.Color;
import android.os.IBinder;
import android.provider.Settings;
import android.widget.RemoteViews;
import com.netwo... | ektodorov/ShortcutsOfPower_Android | src/com/networkprofiles/widget/NPWidgetService.java | Java | gpl-2.0 | 5,416 |
#!/usr/bin/env python3
# Copyright (c) 2008-9 Qtrac Ltd. All rights reserved.
# This program or module 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
# version 3 of the Lic... | paradiseOffice/Bash_and_Cplus-plus | CPP/full_examples/pyqt/chap03/item.py | Python | gpl-2.0 | 3,660 |
<?php
/**
* The template for displaying all posts having layout like: sidebar/content/sidebar.
*
* @package Sage Theme
*/
?>
<?php
get_sidebar('second');
?>
<div id="primary" class="content-area">
<main id="main" class="site-main" role="main">
<?php while ( have_posts() ) : the_post(); ?>
... | jbs321/wahad-humus | wp-content/themes/sage/layouts/blog/sidebar-content-sidebar.php | PHP | gpl-2.0 | 774 |
/* GNU ddrescue - Data recovery tool
Copyright (C) 2004-2019 Antonio Diaz Diaz.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your optio... | mruffalo/ddrescue | mapbook.cc | C++ | gpl-2.0 | 6,040 |
/* Copyright (c) 2008 The Board of Trustees of The Leland Stanford
* Junior University
*
* We are making the OpenFlow specification and associated documentation
* (Software) available for public use and benefit with the expectation
* that others will use, modify and enhance the Software and contribute
* those enh... | JaeyongYoo/VisualXSwitch | elements/local/OpenFlow/lib/csum.cc | C++ | gpl-2.0 | 4,507 |
#!/usr/bin/env python
# -*- coding:utf-8 -*-
"""
@author: Will
"""
from django import forms
from app01 import models
class ImportFrom(forms.Form):
HOST_TYPE=((1,"001"),(2,"002")) #替換爲文件
host_type = forms.IntegerField(
widget=forms.Select(choices=HOST_TYPE)
)
hostname = f... | willre/homework | day19/web/app01/forms/home.py | Python | gpl-2.0 | 723 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.