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 |
|---|---|---|---|---|---|
/*
* Virtual Raw MIDI client on Sequencer
*
* Copyright (c) 2000 by Takashi Iwai <[email protected]>,
* Jaroslav Kysela <[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
... | Jackeagle/android_kernel_sony_c2305 | sound/core/seq/seq_virmidi.c | C | gpl-2.0 | 14,463 |
@echo off
taskkill /f /im paraengineclient.exe
taskkill /f /im cmd.exe | NPLPackages/TableDB | setup/stopNPL.bat | Batchfile | gpl-2.0 | 70 |
// External imports
import java.awt.BorderLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.image.BufferedImage;
import java.io.File;
import java.io.IOException;
import java.io.FileInputStream;
import java.io.BufferedInputStream;
import javax.imageio.ImageIO;
import java... | Norkart/NK-VirtualGlobe | aviatrix3d/examples/texture/NormalMapDemo.java | Java | gpl-2.0 | 3,599 |
# tps23861
Linux driver for TPS23861 IEEE 802.3at Quad Port Power-over-Ethernet PSE Controller.
Tested with kernel version 3.19.0
Bindings example:
tps23861: tps23861@20 {
compatible = "ti,tps23861";
reg = <0x20>;
irq-gpio = <84>;
port0@0 {
enable = <1>;
... | cbuilder/tps23861-linux-driver | README.md | Markdown | gpl-2.0 | 618 |
<?php get_header() ?>
archive
<!--/nav-->
<?php
$banner_image = get_field('banner_image');
$bannerUrl = wp_get_attachment_image_src($banner_image, 'large');
$bannerImg = aq_resize($bannerUrl[0], 974, 312, true);
if ($bannerImg == '') {
$bannerImg = get_template_directory_uri() . '/images/the-authors-banner.jpg';
... | digital-one/fastforward | wp-content/themes/fast_forward/archive.php | PHP | gpl-2.0 | 1,953 |
/*
* The TiLib: wavelet based lossy image compression library
* Copyright (C) 1998-2004 Alexander Simakov
*
* 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,... | Upliner/tilib | include/tilib.h | C | gpl-2.0 | 1,872 |
<?php
/**
* Created by PhpStorm.
* User: Anh Tuan
* Date: 4/22/14
* Time: 12:26 AM
*/
//////////////////////////////////////////////////////////////////
// Dropcap shortcode
//////////////////////////////////////////////////////////////////
add_shortcode( 'dropcap', 'shortcode_dropcap' );
function shortcode_dropc... | yogaValdlabs/shopingchart | wp-content/themes/aloxo/inc/shortcodes/dropcap/dropcap.php | PHP | gpl-2.0 | 515 |
/*
* $RCSfile: OrCRIF.java,v $
*
* Copyright (c) 2005 Sun Microsystems, Inc. All rights reserved.
*
* Use is subject to license terms.
*
* $Revision: 1.1 $
* $Date: 2005/02/11 04:56:38 $
* $State: Exp $
*/
package com.sun.media.jai.opimage;
import java.awt.RenderingHints;
import java.awt.geom.Rec... | RoProducts/rastertheque | JAILibrary/src/com/sun/media/jai/opimage/OrCRIF.java | Java | gpl-2.0 | 1,740 |
using BlueBit.CarsEvidence.Commons.Templates;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Diagnostics.Contracts;
namespace BlueBit.CarsEvidence.BL.Entities
{
public class Person :
EntityBase,
IObjectWithGetCode,
IObjectWithGetInfo
{
... | tomasz-orynski/BlueBit.CarsEvidence | BlueBit.CarsEvidence.BL/Entities/Person.cs | C# | gpl-2.0 | 1,979 |
/*
* Created by Rolando Abarca 2012.
* Copyright (c) 2012 Rolando Abarca. All rights reserved.
* Copyright (c) 2013 Zynga Inc. All rights reserved.
* Copyright (c) 2013-2014 Chukong Technologies Inc.
*
* Heavy based on: https://github.com/funkaster/FakeWebGL/blob/master/FakeWebGL/WebGL/XMLHTTPRequest.h
*
* Perm... | csyeung/Othello | frameworks/js-bindings/bindings/manual/network/XMLHTTPRequest.h | C | gpl-2.0 | 4,575 |
<?php
/**
Admin Page Framework v3.5.6 by Michael Uno
Generated by PHP Class Files Script Generator <https://github.com/michaeluno/PHP-Class-Files-Script-Generator>
<http://en.michaeluno.jp/admin-page-framework>
Copyright (c) 2013-2015, Michael Uno; Licensed under MIT <http://opensource.org/licenses/MIT>
*/
... | johnmanlove/NoOn1 | wp-content/plugins/seamless-donations/library/apf/factory/AdminPageFramework_TaxonomyField/AdminPageFramework_TaxonomyField_View.php | PHP | gpl-2.0 | 2,360 |
<?php
/**
* Created by PhpStorm.
* User: udit
* Date: 12/9/14
* Time: 10:43 AM
*/
// Exit if accessed directly
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
if ( ! class_exists( 'WM_Revision' ) ) {
/**
* Class WM_Revision
*
* Handles all the functionality to track custom fields
*
* @since 0.4
*/
class ... | desaiuditd/watchman | revision/class-wm-revision.php | PHP | gpl-2.0 | 8,344 |
<?php
/**
* The main template file.
*
* This is the most generic template file in a WordPress theme
* and one of the two required files for a theme (the other being style.css).
* It is used to display a page when nothing more specific matches a query.
* E.g., it puts together the home page when no home.php file e... | nickdtaylor1993/morrisseys_catering | wp-content/themes/morrisseys_catering/index.php | PHP | gpl-2.0 | 2,289 |
<?php
/* --------------------------------------------------------------
$Id: customer_memo.php 10395 2016-11-07 13:18:38Z GTB $
modified eCommerce Shopsoftware
http://www.modified-shop.org
Copyright (c) 2009 - 2013 [www.modified-shop.org]
--------------------------------------------------------------
... | dsiekiera/modified-bs4 | admin/includes/modules/customer_memo.php | PHP | gpl-2.0 | 4,322 |
<?php
/* Icinga Web 2 | (c) 2013-2015 Icinga Development Team | GPLv2+ */
use Icinga\Web\Controller;
use Icinga\Web\Url;
use Icinga\Web\Widget\Tabextension\DashboardAction;
use Icinga\Web\Widget\Tabextension\OutputFormat;
use Icinga\Application\Config;
use Icinga\Application\Logger;
use Icinga\Data\ConfigObject;
use I... | hsanjuan/icingaweb2 | application/controllers/ListController.php | PHP | gpl-2.0 | 1,817 |
SHELL = /bin/sh
# V=0 quiet, V=1 verbose. other values don't work.
V = 0
Q1 = $(V:1=)
Q = $(Q1:0=@)
ECHO1 = $(V:1=@ :)
ECHO = $(ECHO1:0=@ echo)
NULLCMD = :
#### Start of system configuration section. ####
srcdir = .
topdir = /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX... | yangqiju/yangqiju.github.com | vendor/bundle/ruby/2.6.0/gems/ffi-1.12.2/ext/ffi_c/Makefile | Makefile | gpl-2.0 | 9,332 |
/*
neutrino bouquet editor - channel selection
Copyright (C) 2001 Steffen Hehn 'McClean'
Copyright (C) 2017 Sven Hoefer
License: GPL
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
v... | TangoCash/neutrino-mp-cst-next | src/gui/bedit/bouqueteditor_chanselect.cpp | C++ | gpl-2.0 | 9,692 |
/*
* Copyright (C) 2014 Fraunhofer ITWM
*
* 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 be useful,
* but WITHOUT ANY ... | nsat/zynq-linux | net/mac802154/llsec.c | C | gpl-2.0 | 24,885 |
vti_encoding:SR|utf8-nl
vti_timelastmodified:TR|08 Nov 2012 23:29:31 -0000
vti_extenderversion:SR|5.0.2.6790
vti_lineageid:SR|{44761BDF-1053-4E8B-8B42-2966A30F18D2}
vti_cacheddtm:TX|08 Nov 2012 23:29:31 -0000
vti_filesize:IR|2149
vti_backlinkinfo:VX|
| JustinTBayer/chapter-manager | _vti_cnf/changelog.php | PHP | gpl-2.0 | 258 |
# gonads
A Go-style CSP channel implementation for Haskell Monads.
Get it?
| existentialmutt/gonads | README.md | Markdown | gpl-2.0 | 76 |
package org.janelia.alignment.match;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
/**
* List of {@link CanvasMatches} with associated tileIds mapped for fast lookup.
*
* @author Eric Trautman
*/
public class TileIdsWithMatches {
private final Set<String> ... | saalfeldlab/render | render-app/src/main/java/org/janelia/alignment/match/TileIdsWithMatches.java | Java | gpl-2.0 | 1,543 |
/* Pin Tool for
* calculation of the Stack Reuse Distance Histogram
*
* (C) 2015, Josef Weidendorfer / LRR-TUM
* GPLv2+ (see COPYING)
*/
#include "pin.H"
#include <stdio.h>
#include <cassert>
#include <cstring>
#include <cmath>
#include <unistd.h>
#include "dist.cpp"
// Consistency checks?
#define DEBUG 0
// ... | lrr-tum/reuse | pindist/pindist.cpp | C++ | gpl-2.0 | 5,945 |
import { createSelector } from '@automattic/state-utils';
import { filter, orderBy } from 'lodash';
import 'calypso/state/comments/init';
function filterCommentsByStatus( comments, status ) {
return 'all' === status
? filter(
comments,
( comment ) => 'approved' === comment.status || 'unapproved' === commen... | Automattic/wp-calypso | client/state/comments/selectors/get-site-comments.js | JavaScript | gpl-2.0 | 1,304 |
(function(customer_id) {
tinymce.create('tinymce.plugins.ItStream_AttachToPost', {
customer_id: customer_id,
init : function(editor, plugin_url) {
editor.addButton('player_scheduling', {
title : 'Embed ItStream Player',
cmd : 'itm_scheduling',
... | wp-plugins/itstream | admin/assets/js/editor.js | JavaScript | gpl-2.0 | 3,621 |
<?php
/**
* ExtendedEditBar extension for BlueSpice
*
* Provides additional buttons to the wiki edit field.
*
* 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 Licen... | scolladogsp/wiki | extensions/BlueSpiceExtensions/ExtendedEditBar/ExtendedEditBar.class.php | PHP | gpl-2.0 | 11,037 |
package org.wordpress.android.ui.notifications;
import com.android.volley.VolleyError;
import org.wordpress.android.models.Note;
import java.util.List;
public class NotificationEvents {
public static class NotificationsChanged {
final public boolean hasUnseenNotes;
public NotificationsChanged() ... | mzorz/WordPress-Android | WordPress/src/main/java/org/wordpress/android/ui/notifications/NotificationEvents.java | Java | gpl-2.0 | 2,258 |
<?php
/**
* @ignore
*/
function mysql_table_exists($database, $tableName) {
global $tc_db;
$tables = array();
$tablesResults = $tc_db->GetAll("SHOW TABLES FROM `$database`;");
foreach ($tablesResults AS $row) $tables[] = $row[0];
return(in_array($tableName, $tables));
}
function pgsql_table_exists($da... | 314parley/Kusaba-B | INSTALL/install.php | PHP | gpl-2.0 | 5,390 |
<?php
/**
* @file
* Teamwork15 sub theme template functions
*
*/
/**
* Implements hook_preprocess_maintenance_page().
*/
function teamwork_15_subtheme_preprocess_maintenance_page(&$variables) {
backdrop_add_css(backdrop_get_path('theme', 'bartik') . '/css/maintenance-page.css');
}
/**
* Implements hook_prepr... | backdrop-contrib/teamwork_15 | teamwork_15_subtheme/template.php | PHP | gpl-2.0 | 10,165 |
/***************************************************************************
* _ _ ____ _
* Project ___| | | | _ \| |
* / __| | | | |_) | |
* | (__| |_| | _ <| |___
* \___|\... | pfchrono/mudmagic-client | bundled/curl/getinfo.c | C | gpl-2.0 | 5,871 |
/*
* Copyright (c) 2017 Red Hat, Inc. and/or its affiliates.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful... | ojdkbuild/lookaside_java-1.8.0-openjdk | hotspot/test/gc/shenandoah/TestMemoryMXBeans.java | Java | gpl-2.0 | 2,609 |
typedef struct effect_uuid_s
{
uint32_t timeLow;
uint16_t timeMid;
uint16_t timeHiAndVersion;
uint16_t clockSeq;
uint8_t node[6];
} effect_uuid_t;
// Maximum length of character strings in structures defines by this API.
#define EFFECT_STRING_LEN_MAX 64
// NULL UUID definition (matches SL_IID_NULL... | james34602/JamesDSPManager | Tutorials/src/essential.h | C | gpl-2.0 | 65,033 |
jQuery(function($) {
///////////////////////////////////////////////////////////////////
///// META BOXES JS
///////////////////////////////////////////////////////////////////
jQuery('.repeatable-add').live('click', function() {
var field = jQuery(this).closest('td').find('.custom_repeatable li:last').clone(t... | StefanDindyal/wordpresser | wp-content/themes/bobbarnyc/inc/settings-panel/js/custom-admin.js | JavaScript | gpl-2.0 | 5,266 |
/* nip2-cli.c ... run the nip2 executable, connecting stdin and stdout to the
* console
*
* 11/12/09
* - use SetHandleInformation() to stop the child inheriting the read
* handle (thanks Leo)
*/
/*
Copyright (C) 2008 Imperial College, London
This program is free software; you can redistribute it an... | jcupitt/nip2 | src/nip2-cli.c | C | gpl-2.0 | 5,159 |
/*
# -- BEGIN LICENSE BLOCK --------------------------------------------------
# This file is part of Dotclear 2.
# Copyright (c) 2003-2013 Olivier Meunier & Association Dotclear
# Licensed under the GPL version 2.0 license.
# See LICENSE file or http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
# -- END LICENSE BL... | dascritch/dotclear | admin/style/default.css | CSS | gpl-2.0 | 57,881 |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Poisson Distribution — SciPy v0.16.1 Reference Guide</title>
<link rel="stylesheet" type="text/css" href="../../static_/css/spc-bootstrap.css">
<link rel="stylesheet" type="text/css" href="../../static_/css/spc-extend.css">
... | platinhom/ManualHom | Coding/Python/scipy-html-0.16.1/tutorial/stats/discrete_poisson.html | HTML | gpl-2.0 | 4,971 |
#
# Walldo - A wallpaper downloader
# Copyright (C) 2012 Fernando Castillo
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later v... | skibyte/walldo | walldo/parsertestcase.py | Python | gpl-2.0 | 1,409 |
<?php
/**
* @version $Id: mod_communitysurvey.php 01 2011-11-08 11:37:09Z maverick $
* @package CoreJoomla.Surveys
* @subpackage Modules.site
* @copyright Copyright (C) 2009 - 2012 corejoomla.com, Inc. All rights reserved.
* @author Maverick
* @link http://www.corejoomla.com/
* @license License GNU ... | LauraRey/oacfdc | modules/mod_communitysurveys/mod_communitysurveys.php | PHP | gpl-2.0 | 3,653 |
#!/usr/bin/perl -w
# This script was originally based on the script of the same name from
# the KDE SDK (by [email protected])
#
# This version is
# Copyright (C) 2007, 2008 Adam D. Barratt
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as ... | RsrchBoy/rpmdevtools | devscripts/scripts/licensecheck.pl | Perl | gpl-2.0 | 18,704 |
#!/bin/sh
if [ $# -gt 0 ]; then
echo $1 > .version
fi
buildid=$(( $1 + 1 ))
zipfile="Chroma.Kernel-r$buildid.zip"
. ./env_setup.sh ${1} || exit 1;
if [ -e .config ]; then
rm .config
fi
cp arch/arm/configs/aosp_defconfig .config >> /dev/null
make aosp_defconfig >> /dev/null
make -j$NUMBEROFCPUS CONFIG_NO_ERROR_... | artcotto/CharizardX_kernel_hammerhead | build.sh | Shell | gpl-2.0 | 965 |
"""
SALTS XBMC Addon
Copyright (C) 2015 tknorris
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.
T... | azumimuo/family-xbmc-addon | plugin.video.salts/salts_lib/kodi.py | Python | gpl-2.0 | 4,540 |
using System;
using System.Collections.Generic;
using UnityEngine;
using YinYang.CodeProject.Projects.SimplePathfinding.PathFinders.AStar;
namespace YinYang.CodeProject.Projects.SimplePathfinding.PathFinders
{
public abstract class BaseGraphSearchMap<TNode, TValue> where TNode : BaseGraphSearchNode<TNode, TValue>... | lauw/Albion-Online-Bot | Albion/Merlin/Pathing/BaseGraphSearchMap.cs | C# | gpl-2.0 | 3,406 |
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright held by original author
\\/ M anipulation |
------------------... | Unofficial-Extend-Project-Mirror/openfoam-extend-Core-OpenFOAM-1.5-dev | src/OpenFOAM/matrices/lduMatrix/smoothers/DICGaussSeidel/DICGaussSeidelSmoother.H | C++ | gpl-2.0 | 3,048 |
/* -*- mode: c++; c-basic-offset: 4; indent-tabs-mode: nil -*-
this file is part of rcssserver3D
Fri May 9 2003
Copyright (C) 2002,2003 Koblenz University
Copyright (C) 2003 RoboCup Soccer Server 3D Maintenance Group
$Id$
This program is free software; you can redistribute it and/or modify
it und... | xuyuan/rcssserver3d-spl-release | plugin/soccer/soccerbase/soccerbase.cpp | C++ | gpl-2.0 | 22,704 |
# -*- coding: utf-8 -*-
#
# HnTool rules - php
# Copyright (C) 2009-2010 Candido Vieira <[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 of the Lic... | hdoria/HnTool | HnTool/modules/php.py | Python | gpl-2.0 | 4,760 |
#ifndef _UMLINTERRUPTIBLEACTIVITYREGION_H
#define _UMLINTERRUPTIBLEACTIVITYREGION_H
#include "UmlBaseInterruptibleActivityRegion.h"
#include <qcstring.h>
class UmlInterruptibleActivityRegion : public UmlBaseInterruptibleActivityRegion {
public:
// the constructor, do not call it yourself !!!!!!!!!!
UmlIn... | gregsmirnov/bouml | genplugouts/html/cpp/UmlInterruptibleActivityRegion.h | C | gpl-2.0 | 731 |
/* JavaScript User Interface Library -- Common datatypes for user elements
* Copyright 2010 Jaakko-Heikki Heusala <[email protected]>
* $Id: common.js 415 2010-10-15 05:00:51Z jheusala $
*/
/** Simple message box constructor
* @params type The message type: error, notice, info or success
* @params msg Message
*/
functi... | jheusala/jsui | lib/jsui/common.js | JavaScript | gpl-2.0 | 1,101 |
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Fra... | macrocephalus/MegaGamesVortexLimited | MegaGamesVortexLimited/MegaGamesVortexLimited/ProgressBar.cs | C# | gpl-2.0 | 2,237 |
<!DOCTYPE html>
<html class="no-js" <?php language_attributes(); ?>>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title><?php wp_title(''); ?></title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<?php wp_head(); ?>
<!--[if lt IE 9]><script src... | brandonhimpfen/Darkly-WordPress | templates/head.php | PHP | gpl-2.0 | 564 |
/* dfilter_expr_dlg.h
* Definitions for dialog boxes for display filter expression construction
*
* $Id: dfilter_expr_dlg.h 24034 2008-01-08 22:54:51Z stig $
*
* Wireshark - Network traffic analyzer
* By Gerald Combs <[email protected]>
* Copyright 1998 Gerald Combs
*
*
* This program is free software; you... | Abhi9k/wireshark-dissector | ui/gtk/dfilter_expr_dlg.h | C | gpl-2.0 | 1,395 |
<!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... | PlayboyThailand/PlayboyPhone | liblinphone-sdk/new_apple-darwin/share/doc/ortp-0.24.0/html/dir_7559c465e4c3d013b6e747e2a6ffd6d9.html | HTML | gpl-2.0 | 11,432 |
<?php
/**
* Shows a welcome or update message after the plugin is installed/updated
*/
class Tribe__Events__Activation_Page {
/** @var self */
private static $instance = null;
public function add_hooks() {
add_action( 'admin_init', array( $this, 'maybe_redirect' ), 10, 0 );
add_action( 'admin_menu... | casedot/AllYourBaseTemplate | wp-content/plugins/the-events-calendar/src/Tribe/Activation_Page.php | PHP | gpl-2.0 | 7,703 |
; size_t fread_unlocked(void *ptr, size_t size, size_t nmemb, FILE *stream)
SECTION code_clib
SECTION code_stdio
PUBLIC fread_unlocked
EXTERN asm_fread_unlocked
fread_unlocked:
pop af
pop ix
pop hl
pop bc
pop de
push de
push bc
push hl
push hl
push af
jp asm_fread_unlocked... | bitfixer/bitfixer | dg/z88dk/libsrc/_DEVELOPMENT/stdio/c/sccz80/fread_unlocked.asm | Assembly | gpl-2.0 | 321 |
Audit
Plugin Audit for GLPI
Français
Ce plugin vous permet créer des Scans des équipements des réseaux afin de visualiser les vulnerabilités et les failles sur un réseau donné.
Génération de la liste des vulnerabilités pour tout type de matériel ayant une IP.
Scan Mensuelles.
Scan un équipement avec une adresse IP ... | mohamed3/Audit | README.md | Markdown | gpl-2.0 | 600 |
<?php
/**
* @version 1.0 $Id$
* @package Joomla
* @subpackage redEVENT
* @copyright redEVENT (C) 2008 redCOMPONENT.com / EventList (C) 2005 - 2008 Christoph Lukes
* @license GNU/GPL, see LICENSE.php
* redEVENT is based on EventList made by Christoph Lukes from schlu.net
* redEVENT can be downloaded from www.redc... | jaanusnurmoja/redjoomla | administrator/components/com_redevent/views/groups/tmpl/default.php | PHP | gpl-2.0 | 4,833 |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# progreso.py
#
# Copyright 2010 Jesús Hómez <jesus@jesus-laptop>
#
# 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; ... | jehomez/pymeadmin | progreso.py | Python | gpl-2.0 | 3,388 |
/*
Copyright_License {
XCSoar Glide Computer - http://www.xcsoar.org/
Copyright (C) 2000-2014 The XCSoar Project
A detailed list of copyright holders can be found in the file "AUTHORS".
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
... | robertscottbeattie/xcsoardev | src/Hardware/Battery.cpp | C++ | gpl-2.0 | 4,640 |
<?php
/**
* KohaRest ILS Driver
*
* PHP version 7
*
* Copyright (C) The National Library of Finland 2017-2019.
*
* 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 pr... | arto70/NDL-VuFind2 | module/Finna/src/Finna/ILS/Driver/KohaRest.php | PHP | gpl-2.0 | 64,182 |
package com.github.esadmin.meta.model;
import java.util.Date;
import java.util.HashSet;
import java.util.Set;
import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.JoinColumn;
import javax.persistence.JoinTa... | joezxh/DATAX-UI | eshbase-proxy/src/main/java/com/github/esadmin/meta/model/DBIndex.java | Java | gpl-2.0 | 3,790 |
# Copyright (c) 1998 Cygnus Support
#
# The authors hereby grant permission to use, copy, modify, distribute,
# and license this software and its documentation for any purpose, provided
# that existing copyright notices are retained in all copies and that this
# notice is included verbatim in any distributions. No writ... | pavel-ruban/hldi_hardware | src/system/arm-none-eabi/libgloss/libnosys/Makefile | Makefile | gpl-2.0 | 4,584 |
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>Struct base_unit_info<imperial::ounce_base_unit></title>
<link rel="stylesheet" href="../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
<link rel="home" h... | geodynamics/gale | boost/doc/html/boost/units/base_unit_info_imperial_id1623277.html | HTML | gpl-2.0 | 6,187 |
\hypertarget{padlock_8h}{\section{C\-:/dev2/luambedtls/dependencies/mbedtls/include/mbedtls/padlock.h File Reference}
\label{padlock_8h}\index{C\-:/dev2/luambedtls/dependencies/mbedtls/include/mbedtls/padlock.\-h@{C\-:/dev2/luambedtls/dependencies/mbedtls/include/mbedtls/padlock.\-h}}
}
V\-I\-A Pad\-Lock A\-C\-E for ... | soulik/luambedtls | doc/latex/padlock_8h.tex | TeX | gpl-2.0 | 2,935 |
<?php
/* core/themes/stable/templates/block/block--system-messages-block.html.twig */
class __TwigTemplate_0c8ec01fa0528f682259cd616ff9ee5ee8ceeeb5ec7cf0b3ece249a3727465d5 extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
$this->parent = fa... | dhrubajs/drupal_8.0.3 | sites/default/files/php/twig/bdd6b639_block--system-messages-block.html.twig_41faf232cd42e8ec796f15a9bb08f1a5f7eaf6bd977aaa861b52c4ad353c5f10/41244d26af175744d9765a17dcb06990bbb9472557ce348f7ba1670b703f8a3d.php | PHP | gpl-2.0 | 2,313 |
import unittest
from pyxt.mda import *
from pyxt.chargen import CharacterGeneratorMock
class MDATests(unittest.TestCase):
def setUp(self):
self.cg = CharacterGeneratorMock(width = 9, height = 14)
self.mda = MonochromeDisplayAdapter(self.cg)
# Hijack reset so it doesn't call into P... | astamp/PyXT | pyxt/tests/test_mda.py | Python | gpl-2.0 | 5,655 |
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
( function($) {
} )( jQuery );
var waitForFinalEvent = (function () {
var timers = {};
return function (callback,... | jsxmedia/jgm-wp-theme | js/global-functions.js | JavaScript | gpl-2.0 | 566 |
/**
* board/annapurna-labs/common/gpio_board_init.h
*
* Board GPIO initialization service
*
* Copyright (C) 2013 Annapurna Labs Ltd.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; ei... | SVoxel/R9000 | git_home/u-boot.git/board/annapurna-labs/common/gpio_board_init.h | C | gpl-2.0 | 1,373 |
/* This file is part of the ScriptDev2 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 opti... | concept45/TwoScripts | scripts/eastern_kingdoms/sunwell_plateau/instance_sunwell_plateau.cpp | C++ | gpl-2.0 | 17,598 |
package com.cluit.util.dataTypes;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.Set;
import com.cluit.util.Const;
import com.cluit.util.AoP.MethodMapper;
import com.cluit.util.methods.ClusteringUtils;
import com.cluit.util.structures.KeyPriorityQueue_Max;
import com.cluit.util.structures.Pair... | Gikkman/CluIt | CluIt/src/com/cluit/util/dataTypes/Cluster.java | Java | gpl-2.0 | 8,826 |
SUBROUTINE STPTRS( UPLO, TRANS, DIAG, N, NRHS, AP, B, LDB, INFO )
*
* -- LAPACK routine (version 3.2) --
* Univ. of Tennessee, Univ. of California Berkeley and NAG Ltd..
* November 2006
*
* .. Scalar Arguments ..
CHARACTER DIAG, TRANS, UPLO
INTEGER INFO, LDB, N, NRHS
*... | apollos/Quantum-ESPRESSO | lapack-3.2/SRC/stptrs.f | FORTRAN | gpl-2.0 | 4,366 |
<?php
/**
* SFN Live Report.
*
* @package SFN Live Report
* @author Hampus Persson <[email protected]>
* @license GPL-2.0+
* @link http://
* @copyright 2013 Swedish Football Network
*/
/**
* Plugin class.
*
*
* @package SNF_Live_Report
* @author Hampus Persson <[email protected]>
... | swedish-football-network/wp-live-report | class-sfn-live-report.php | PHP | gpl-2.0 | 9,879 |
# MSH
## Beta Version
### Created by Ne02ptzero (Louis Solofrizzo), Fusiow (Ryad Kharif) and Ivory9334 (Aurelien Ardjoune)
Stable version for **MacOSX**
Work on **Linux**, but no manual completion (options & description of command)
## What's MSH ?
Msh is a colorful shell to help beginners in learning Linux, but als... | Ne02ptzero/msh | README.md | Markdown | gpl-2.0 | 1,435 |
# encoding: utf-8
# Copyright (c) 2012 Novell, Inc.
#
# All Rights Reserved.
#
# This program is free software; you can redistribute it and/or modify it
# under the terms of version 2 of the GNU General Public License as published
# by the Free Software Foundation.
#
# This program is distributed in the hope that it w... | mchf/yast-yast2 | library/general/src/lib/ui/greasemonkey.rb | Ruby | gpl-2.0 | 7,562 |
{
int n, dx, dy, sx, pp_inc_1, pp_inc_2;
register int a;
register PIXEL *pp;
#if defined(INTERP_RGB)
register unsigned int r, g, b;
#endif
#ifdef INTERP_RGB
register unsigned int rinc, ginc, binc;
#endif
#ifdef INTERP_Z
register unsigned int *pz;
int zinc;
register unsigned int z;
#endif
if (p1->y > p2->y || ... | clone2727/residual | graphics/tinygl/zline.h | C | gpl-2.0 | 2,256 |
/* utility routines for keeping some statistics */
/* (C) 2009 by Harald Welte <[email protected]>
*
* 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 vers... | techniker/libosmocore | src/statistics.c | C | gpl-2.0 | 1,583 |
using NetworkProbe.Port.Services;
using System.Collections.Generic;
using System.Net;
using NetworkProbe.Port;
using NetworkProbe.Model;
using System.Threading.Tasks;
using System.Linq;
namespace NetworkProbe
{
public static class Probe
{
/// <summary>
/// Initiates a service scan on a single ... | K1tson/Network-Probe | NetworkProbe/Probe.cs | C# | gpl-2.0 | 1,951 |
import urllib2
def sumaDos():
print 10*20
def division(a,b):
result=a/b
print result
def areatriangulo(base,altura):
result2=(base*altura)/2
print result2
def cast():
lista=[1,2,3,"hola"]
tupla=(1,2,3)
diccinario={"key1":"Diego","key2":"Piqui","key3":"Chuy"}
for k,v in diccionar... | DiegoBalandran/prueba | archivo.py | Python | gpl-2.0 | 1,301 |
/***************************************************************************
qgsmeasure.h
------------------
begin : March 2005
copyright : (C) 2005 by Radim Blazek
email : [email protected]
****... | sourcepole/qgis | qgis/src/app/qgsmeasuredialog.h | C | gpl-2.0 | 2,706 |
<!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>Overview — Python 2.7.10rc0 documentation</ti... | cybint-io/cybint-linux | live-build-config/config/includes.chroot/usr/share/documentation/python/2.7.1/index.html | HTML | gpl-2.0 | 8,886 |
class EmailToken < ActiveRecord::Base
belongs_to :user
validates_presence_of :token
validates_presence_of :user_id
validates_presence_of :email
before_validation(:on => :create) do
self.token = EmailToken.generate_token
end
after_create do
# Expire the previous tokens
EmailToken.update_all ... | Ocramius/discourse | app/models/email_token.rb | Ruby | gpl-2.0 | 1,540 |
/*
* fs/f2fs/recovery.c
*
* Copyright (c) 2012 Samsung Electronics Co., Ltd.
* http://www.samsung.com/
*
* 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.
*/
#includ... | flaming-toast/linux-jeyu | fs/f2fs/recovery.c | C | gpl-2.0 | 16,232 |
/*
* This file is part of MPlayer.
*
* MPlayer 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.
*
* MPlayer is distribut... | svn2github/MPlayer-SB | stream/open.c | C | gpl-2.0 | 1,868 |
/** IneoRealTimeFileFormat class implementation.
@file IneoRealTimeFileFormat.cpp
This file belongs to the SYNTHESE project (public transportation specialized software)
Copyright (C) 2002 Hugues Romain - RCSmobility <[email protected]>
This program is free software; you can redistribute it and/or
modify i... | Open-Transport/synthese | server/src/61_data_exchange/IneoRealTimeFileFormat.cpp | C++ | gpl-2.0 | 15,751 |
/***************************************************************************
orbitalviewerbase.h - description
-------------------
begin : Thu Nov 4 2004
copyright : (C) 2004-2006 by Ben Swerts
email : bswerts@user... | steabert/brabosphere | brabosphere/include/orbitalviewerbase.h | C | gpl-2.0 | 3,284 |
// =================================================================================================
// ADOBE SYSTEMS INCORPORATED
// Copyright 2011 Adobe Systems Incorporated
// All Rights Reserved
//
// NOTICE: Adobe permits you to use, modify, and distribute this file in accordance with the terms
// of the Adobe lic... | yanburman/sjcam_raw2dng | xmp_sdk/XMPFiles/source/PluginHandler/Module.cpp | C++ | gpl-2.0 | 6,540 |
package storm.starter.trident.homework.state;
import storm.trident.operation.TridentCollector;
import storm.trident.state.BaseStateUpdater;
import storm.trident.tuple.TridentTuple;
import java.util.ArrayList;
import java.util.List;
/**
* Updater class that updates the state with the new tweets.
* Created by Parth ... | parthsatra/TwitterTopKTrends | apache-storm-0.9.3/examples/storm-starter/src/jvm/storm/starter/trident/homework/state/TopKStateUpdater.java | Java | gpl-2.0 | 1,167 |
</div>
<footer>
<p>copyright <a href="mailto:[email protected]">@Xiaoling Peng</a> <a href="0763363847">call me</a></p>
</footer>
</body>
</html>
| pengmaradi/xp_cms | system/cms/views/footer.php | PHP | gpl-2.0 | 182 |
@charset "utf-8";
#smenu_srch .iText,
#smenu_srch button {
background-color: #002a00;
}
#login_btn svg.active,
#login_window .idpwWrap .login,
#sider_nav h3 a,
#sider_nav ul.smenu_3rdlevel {
background-color: #005500;
}
#sider_nav ul.smenu_3rdlevel li a {
border-bottom: 3px solid #005500;
}
#si... | JuwanPark/xe | layouts/sininen/css/green.css | CSS | gpl-2.0 | 1,497 |
<!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"/>
<title>ctas: /home/antonmx/work/projects/ctascmake/image/ Directory Reference<... | antonmx/ctas | doc/site/develdoc/dir_ce34702ad4994bea558d8c4eb1fcec0d.html | HTML | gpl-2.0 | 3,189 |
<?php
/**
* @package gantry
* @subpackage core.params
* @version 3.2.11 September 8, 2011
* @author RocketTheme http://www.rockettheme.com
* @copyright Copyright (C) 2007 - 2011 RocketTheme, LLC
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only
*
* Gantry uses the Joomla Framework (http:... | epireve/joomla | libraries/gantry/core/params/overrides/gantrysessionparamoverride.class.php | PHP | gpl-2.0 | 3,459 |
<?php
/**
* Shows basic event infos and countdowns.
*
* @param array $event_config The event configuration
* @return string
*/
function EventConfig_countdown_page($event_config)
{
if ($event_config == null) {
return div('col-md-12 text-center', [
heading(sprintf(_('Welcome to the %s!'), '<... | froscon/engelsystem | includes/view/EventConfig_view.php | PHP | gpl-2.0 | 5,816 |
"""Module computes indentation for block
It contains implementation of indenters, which are supported by katepart xml files
"""
import logging
logger = logging.getLogger('qutepart')
from PyQt4.QtGui import QTextCursor
def _getSmartIndenter(indenterName, qpart, indenter):
"""Get indenter by name.
Available... | amirgeva/coide | qutepart/indenter/__init__.py | Python | gpl-2.0 | 8,924 |
<?php
# Database Configuration
define( 'DB_NAME', 'wp_promedia' );
define( 'DB_USER', 'promedia' );
define( 'DB_PASSWORD', 'Hgcjr1nz4UG6M7kD4a2W' );
define( 'DB_HOST', '127.0.0.1' );
define( 'DB_HOST_SLAVE', '127.0.0.1' );
define('DB_CHARSET', 'utf8');
define('DB_COLLATE', 'utf8_unicode_ci');
$table_prefix = 'wp_';
# ... | clientrelation/promedia | wp-config.php | PHP | gpl-2.0 | 3,089 |
#ifndef _SS_CONSTS_HPP_
#define _SS_CONSTS_HPP_
#include "StrideSearchConfig.h"
namespace StrideSearch {
/// Meters per second to Kilometers per hour conversion factor
static const Real MPS2KPH = 3.6;
/// Knots to meters per second conversion factor
static const Real KTS2MPS = 0.5144444;
/// Nauti... | pbosler/StrideSearch | src/SSConsts.hpp | C++ | gpl-2.0 | 1,435 |
<?php
/*
$Id$
osCmax e-Commerce
http://www.oscmax.com
Copyright 2000 - 2011 osCmax
Released under the GNU General Public License
*/
define('NAVBAR_TITLE', 'Cuénteselo a un amigo');
define('HEADING_TITLE', 'Háblele a un amigo sobre \'%s\'');
define('FORM_TITLE_CUSTOMER_DETAILS', 'Sus datos'... | osCmax/oscmax2 | catalog/includes/languages/espanol/tell_a_friend.php | PHP | gpl-2.0 | 1,742 |
package eu.ttbox.geoping.ui.admob;
import android.app.Activity;
import android.content.Context;
import android.content.SharedPreferences;
import android.preference.PreferenceManager;
import android.util.Log;
import android.view.View;
import com.google.android.gms.ads.AdListener;
import com.google.android.gms.ads.AdR... | gabuzomeu/geoPingProject | geoPing/src/main/java/eu/ttbox/geoping/ui/admob/AdmobHelper.java | Java | gpl-2.0 | 7,327 |
/*
** $Id: lgc.h,v 2.58 2012/09/11 12:53:08 roberto Exp $
** Garbage Collector
** See Copyright Notice in lua.h
*/
#ifndef lgc_h
#define lgc_h
#include "lobject.h"
#include "lstate.h"
/*
** Collectable objects may have one of three colors: white, which
** means the object is not marked; gray, which means the
** obj... | samyk/proxmark3 | client/deps/liblua/lgc.h | C | gpl-2.0 | 5,488 |
package org.cohorte.utilities.security;
/**
* @author ogattaz
*
*/
public class CXPassphraseBuilder {
/**
* @param aValue
* @return
* @throws InstantiationException
* @throws CXPassphraseSchemeException
*/
public static IXPassphrase buildB64(final IXPassphrase aPassphrase)
throws InstantiationExcept... | isandlaTech/cohorte-utilities | org.cohorte.utilities/src/org/cohorte/utilities/security/CXPassphraseBuilder.java | Java | gpl-2.0 | 2,174 |
'''Manual check (not a discoverable unit test) for the key import,
to identify problems with gnupg, gpg, gpg1, gpg2 and so on'''
import os
import shutil
from gnupg import GPG
def setup_keyring(keyring_name):
'''Setup the keyring'''
keyring_path = os.path.join("test", "outputdata", keyring_name)
# Delet... | activityworkshop/Murmeli | test/check_key_import.py | Python | gpl-2.0 | 1,429 |
<html>
<head>
<title>case sensitivity on id</title>
<style>
#test { background-color: blue; }
#TEST { background-color: pink; }
</style>
<body>
<div id="test">Hello</div>
<div id="TEST">Goodbye</div>
</body>
</html>
| geoffmcl/tidy-test | test/input5/in_caseid.html | HTML | gpl-2.0 | 216 |
#!/usr/bin/python
"""
Since functions are function instances you can wrap them
Allow you to
- modify arguments
- modify function
- modify results
"""
call_count = 0
def count(func):
def wrapper(*args, **kw):
global call_count
call_count += 1
return func(*args, **kw)
return wrapper
def ... | hiteshagrawal/python | generator-decorator/decorator.py | Python | gpl-2.0 | 4,681 |
<?php
// ini_set('display_errors','1');
function nzshpcrt_getcategoryform($catid)
{
global $wpdb,$nzshpcrt_imagesize_info;
$product = $wpdb->get_row("SELECT * FROM `".WPSC_TABLE_PRODUCT_CATEGORIES."` WHERE `id`=$catid LIMIT 1",ARRAY_A);
$output = '';
$output .= "<div class='editing_this_group form_table'>";
... | alx/SimplePress | wp-content/plugins/wp-e-commerce/admin-form-functions.php | PHP | gpl-2.0 | 37,491 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.