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 |
|---|---|---|---|---|---|
/* ============================================================
*
* This file is a part of kipi-plugins project
* http://www.digikam.org
*
* Date : 2004-10-01
* Description : a kipi plugin to batch process images
*
* Copyright (C) 2004-2009 by Gilles Caulier <caulier dot gilles at gmail dot com>
*
* Th... | centic9/digikam-ppa | extra/kipi-plugins/batchprocessimages/tools/effectoptionsdialog.h | C | gpl-2.0 | 1,965 |
package sp.phone.mvp.model.entity;
import android.os.Parcel;
import android.os.Parcelable;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
public class BoardCategory implements Parcelable {
private List<Board> mBoardList;
private Map<Board.BoardKey, Board>... | Justwen/NGA-CLIENT-VER-OPEN-SOURCE | nga_phone_base_3.0/src/main/java/sp/phone/mvp/model/entity/BoardCategory.java | Java | gpl-2.0 | 4,122 |
/*
* synergy -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2004 Chris Schoeneman
*
* This package is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* found in the file LICENSE that should have accompanied... | ommokazza/synergy | src/lib/platform/OSXClipboardUTF16Converter.h | C | gpl-2.0 | 1,248 |
/*
* Copyright 2010, Intel Corporation
*
* This file is part of PowerTOP
*
* This program file is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; version 2 of the License.
*
* This program is distributed... | philippedeswert/powertop | src/perf/perf.cpp | C++ | gpl-2.0 | 5,651 |
/*
* This file is part of the MediaWiki extension MultimediaViewer.
*
* MultimediaViewer 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... | tuxun/smw-funwiki | extensions/MultimediaViewer/tests/qunit/mmv/logging/mmv.logging.PerformanceLogger.test.js | JavaScript | gpl-2.0 | 14,429 |
<?php
/**
* Qlue Sitemap
*
* @author Jon Boutell
* @package QMap
* @license GNU/GPL
* @version 1.0
*
* This component gathers information from various Joomla Components and
* compiles them into a sitemap, supporting both an HTML view and an XML
* format for search engines.
*
*/
defined('_JEXEC') or die('Restricted ... | shamusdougan/MMA_Webpage | administrator/components/com_sitemap/helpers/helper.php | PHP | gpl-2.0 | 738 |
<?php
// load wordpress
require_once('get_wp.php');
class col_shortcodes
{
var $conf;
var $popup;
var $params;
var $shortcode;
var $cparams;
var $cshortcode;
var $popup_title;
var $no_preview;
var $has_child;
var $output;
var $errors;
// -------------------------------------------------------------------... | geginho/studio_mova | wp-content/themes/reframe_1/framework/tinymce/shortcodes.class.php | PHP | gpl-2.0 | 8,647 |
<?php
/**
* WPBakery Visual Composer helpers functions
*
* @package WPBakeryVisualComposer
*
*/
if ( ! defined( 'WPB_VC_VERSION' ) ) die( '-1' ); // Check if this file is loaded in js_composer
function wpb_getImageBySize( $params = array( 'post_id' => NULL, 'attach_id' => NULL, 'thumb_size' => 'thumbna... | proj-2014/vlan247-test-wp | wp-content/themes/dt-the7/wpbakery/js_composer/include/helpers/helpers.php | PHP | gpl-2.0 | 24,666 |
#
# Makefile for the touchscreen drivers.
#
# Each configuration option enables a list of files.
wm97xx-ts-y := wm97xx-core.o
obj-$(CONFIG_TOUCHSCREEN_88PM860X) += 88pm860x-ts.o
obj-$(CONFIG_TOUCHSCREEN_AD7877) += ad7877.o
obj-$(CONFIG_TOUCHSCREEN_AD7879) += ad7879.o
obj-$(CONFIG_TOUCHSCREEN_AD7879_I2C) += ad7879-i2... | chadouming/canuck-3.10 | drivers/input/touchscreen/Makefile | Makefile | gpl-2.0 | 3,824 |
/*
FreeRTOS V7.2.0 - Copyright (C) 2012 Real Time Engineers Ltd.
***************************************************************************
* *
* FreeRTOS tutorial books are available in pdf and paperback. *
... | GraniteDevices/ArgonServoDriveFirmware | freertos/portable/CodeWarrior/HCS12/portmacro.h | C | gpl-2.0 | 9,777 |
include ../../Makefile.omd
NAME = nagios
VERSION = 3.5.0
DIR = $(NAME)-$(VERSION)
# Configure options for Nagios. Since we want to compile
# as non-root, we use our own user and group for compiling.
# All files will be packaged as user 'root' later anyway.
CONFIGUREOPTS = \
--sbindir=$(OMD_ROOT)/lib/nagios/cgi-bi... | NeilBryant/omd | packages/nagios/Makefile | Makefile | gpl-2.0 | 3,715 |
(function( $ ) {
/**
* Activity reply object for the activity index screen
*
* @since ajency-activity-and-notifications (1.6)
*/
var activityReply = {
/**
* Attach event handler functions to the relevant elements.
*
* @since ajency-activity-and-notifications (1.6)
*/
init : function() {
$(document).on... | ajency/minyawns | wp-content/plugins/ajency-activity-and-notifications/ajan-activity/admin/js/admin.js | JavaScript | gpl-2.0 | 4,814 |
/***************************************************************************
qgsafsproviderextern.cpp
------------------------
begin : Nov 26, 2015
copyright : (C) 2015 Sandro Mani
email : smani@sourcepole.ch
*********************************************... | drnextgis/QGIS | src/providers/arcgisrest/qgsafsproviderextern.cpp | C++ | gpl-2.0 | 3,179 |
/*
* BCMSDH Function Driver for the native SDIO/MMC driver in the Linux Kernel
*
* Copyright (C) 1999-2010, Broadcom Corporation
*
* 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 GNU ... | venkatkamesh/lg_ally_kernel-2.6.XX | drivers/net/wireless/bcm4329/src_239/bcmsdio/sys/bcmsdh_sdmmc.c | C | gpl-2.0 | 36,900 |
---------------------------------------------------------------------------
-- A flexible separator widget.
--
-- By default, this widget display a simple line, but can be extended by themes
-- (or directly) to display much more complex visuals.
--
-- This widget is mainly intended to be used alongside the `spacing_wid... | petoju/awesome | lib/wibox/widget/separator.lua | Lua | gpl-2.0 | 6,268 |
package android.support.v4.p004h;
import android.view.View;
import java.util.WeakHashMap;
/* renamed from: android.support.v4.h.ca */
class ca extends by {
static boolean f445b;
static {
f445b = false;
}
ca() {
}
public void m1096a(View view, C0147a c0147a) {
cl.m1154a(view,... | Qwaz/solved-hacking-problem | holyshield/2016/mobile_sound_meter/source_refactored/android/support/v4/p004h/ca.java | Java | gpl-2.0 | 771 |
// Copyright (c) 2002 Rob Kaper <cap@capsi.com>
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License version 2.1 as published by the Free Software Foundation.
//
// This library is distributed in the hope that it will be useful,
// ... | serghei/kde3-kdegames | atlantik/libatlantikclient/monopdprotocol.h | C | gpl-2.0 | 1,406 |
import scipy.io.wavfile
from os.path import expanduser
import os
import array
from pylab import *
import scipy.signal
import scipy
import wave
import numpy as np
import time
import sys
import math
import matplotlib
import subprocess
# Author: Brian K. Vogel
# brian.vogel@gmail.com
fft_size = 2048
iterations = 300
hop... | lukas/ml-class | examples/keras-audio/audio_utilities.py | Python | gpl-2.0 | 13,234 |
<?php
/******************************************************************************/
// //
// InstantCMS v1.10 //
// http://www.instantcms.ru/ ... | pgena/instance-portal | components/board/router.php | PHP | gpl-2.0 | 3,769 |
/**
* @file sipe-http-request.c
*
* pidgin-sipe
*
* Copyright (C) 2013 SIPE Project <http://sipe.sourceforge.net/>
*
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 o... | stan3/debian-pidgin-sipe | src/core/sipe-http-request.c | C | gpl-2.0 | 15,575 |
#include<stdio.h>
int main(){
int i,k,n,j;
k=0;
do {
k=k+1;
} while (k<=19);
if (k=19); {
do {
k=k+2;
if (k%3==0 && k%7==0){
printf("%d\n",k);}
} while (k<=30000); }
return 0;
}
| EvtimPavlov/c-programming-2014-2015-homework | B/17_lubomir/homework_3/task_5.c | C | gpl-2.0 | 213 |
<!DOCTYPE html>
<html class="no-js" lang="en">
<head>
<meta charset="utf-8">
<title>Zen 7.x-6.x Style Guide</title>
<meta name="description" content="">
<meta name="generator" content="kss-node">
<meta name="viewport" content="width=device-width">
<link rel="stylesheet" href="kss-assets/kss.css">
<link ... | jdcamp/cameron_bakery | sites/all/themes/new_zen/styleguide/item-sass-variables-breakpoints.html | HTML | gpl-2.0 | 4,355 |
/*
* CDE - Common Desktop Environment
*
* Copyright (c) 1993-2012, The Open Group. All rights reserved.
*
* These libraries and programs are free software; you can
* redistribute them and/or modify them under the terms of the GNU
* Lesser General Public License as published by the Free Software
* Foundation; ei... | sTeeLM/MINIME | toolkit/srpm/SOURCES/cde-2.2.4/programs/dtinfo/dtinfo/src/olias_font.h | C | gpl-2.0 | 2,809 |
#include <defs.h>
#include <mmu.h>
#include <memlayout.h>
#include <clock.h>
#include <trap.h>
#include <x86.h>
#include <stdio.h>
#include <assert.h>
#include <console.h>
#include <vmm.h>
#include <swap.h>
#include <kdebug.h>
#define TICK_NUM 100
static void print_ticks() {
cprintf("%d ticks\n",TICK_NUM);
#ifdef... | coolyangzc/ucore_os_lab | labcodes/lab4/kern/trap/trap.c | C | gpl-2.0 | 7,524 |
.github img {
position: absolute;
top: 0;
right: 0;
border: 0;
}
/* BUTTONS */
/* http://hellohappy.org/css3-buttons/ */
.buttons {
margin: 0 auto 40px auto;
width: 345px;
}
.buttons button {
margin: 0 10px 0 10px;
}
button.blue-pill {
background-color: #a5b8da;
background-image:... | marvin-aoanan/WP-Site-Dev | wp-content/themes/CybroSolutions/framework/jquery-bar-rating/examples/css/examples.css | CSS | gpl-2.0 | 6,701 |
/**
Copyright (C) SYSTAP, LLC 2006-2015. All rights reserved.
Contact:
SYSTAP, LLC
2501 Calvert ST NW #106
Washington, DC 20008
licenses@systap.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
... | smalyshev/blazegraph | bigdata-rdf/src/java/com/bigdata/rdf/internal/NoExtensionFactory.java | Java | gpl-2.0 | 1,434 |
<?xml version="1.0" ?><!DOCTYPE TS><TS language="hi" version="2.0">
<context>
<name>CacheCleaner</name>
<message>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="14"/>
<source>Cache Cleaner - Octopi</source>
<translation>कैश हटाने हेतु साधन - ऑक्टोपी</translati... | offa/octopi | cachecleaner/resources/translations/octopi_cachecleaner_hi.ts | TypeScript | gpl-2.0 | 2,373 |
<?php
/*
* Copyright (C) Vulcan 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... | jheizmann/LinkedData | includes/LODMapping/LOD_MappingTripleStore.php | PHP | gpl-2.0 | 9,356 |
/*
* Copyright (C) 2008 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | rex-xxx/mt6572_x201 | cts/tools/vm-tests-tf/src/dot/junit/opcodes/sput_wide/Test_sput_wide.java | Java | gpl-2.0 | 9,495 |
<!DOCTYPE html>
<html>
<head>
<title>Logarithmic axis</title>
<meta charset="utf-8">
<link href="../content/shared/styles/examples-offline.css" rel="stylesheet">
<link href="../../styles/kendo.common.min.css" rel="stylesheet">
<link href="../../styles/kendo.rtl.min.css" rel="stylesheet">
<link h... | cuongnd/test_pro | media/Kendo_UI_Professional_Q2_2015/examples/bar-charts/logarithmic-axis.html | HTML | gpl-2.0 | 1,848 |
<?php
/**
* @group link
*/
class Tests_Link extends WP_UnitTestCase {
function tearDown() {
global $wp_rewrite;
parent::tearDown();
$wp_rewrite->init();
}
function _get_pagenum_link_cb( $url ) {
return $url . '/WooHoo';
}
/**
* @ticket 8847
*/
function test_get_pagenum_link_case_insensitivity() {... | jomijournal/jomi_wp | unit-test/tests/phpunit/tests/link.php | PHP | gpl-2.0 | 9,029 |
#ifndef LEX_INCLUDED
#define LEX_INCLUDED
/* Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; version 2 of the Li... | javacruft/percona-xtradb-cluster-5.6 | sql/lex.h | C | gpl-2.0 | 25,669 |
/*
* Asterisk -- An open source telephony toolkit.
*
* Copyright (C) 2012, Digium, Inc.
*
* Mark Spencer <markster@digium.com>
*
* See http://www.asterisk.org for more information about
* the Asterisk project. Please do not directly contact
* any of the maintainers of this project for assistance;
* the projec... | leedm777/asterisk | main/channel_internal_api.c | C | gpl-2.0 | 52,802 |
/*
* Copyright (C) 2009 BuS Elektronik GmbH & Co. KG
* Jens Scharsig (esw@bus-elektronik.de)
*
* (C) Copyright 2003
* Author : Hamid Ikdoumi (Atmel)
* SPDX-License-Identifier: GPL-2.0+
*/
#include <common.h>
#include <asm/io.h>
#include <asm/arch/hardware.h>
#include <asm/arch/at91_emac.h>
#include <asm/arch/c... | cosino/u-boot-enigma | drivers/net/at91_emac.c | C | gpl-2.0 | 12,460 |
/*******************************************************************************
* This file is part of OpenNMS(R).
*
* Copyright (C) 2011 The OpenNMS Group, Inc.
* OpenNMS(R) is Copyright (C) 1999-2011 The OpenNMS Group, Inc.
*
* OpenNMS(R) is a registered trademark of The OpenNMS Group, Inc.
*
* OpenNMS(R) is... | tharindum/opennms_dashboard | opennms-config/src/main/java/org/opennms/netmgt/config/datacollection/DatacollectionGroup.java | Java | gpl-2.0 | 22,786 |
#include "mmath.h"
namespace Math {
// Constantes
const float piDiv180= M_PI / 180.0;
float rad2deg(const float &angle)
{
return angle * 1/piDiv180;
}
float deg2rad(const float &angle)
{
return angle * piDiv180;
}
float pow2(const float &val)
{
return val*val;
}
float SIN(const float &ang... | groleo/qantenna | src/mmath.cpp | C++ | gpl-2.0 | 2,202 |
package cis501;
public interface IUopFactory {
/** Create a Uop from a line of the trace file. */
public Uop create(String line);
/** Used for testing the pipeline simulator */
public Uop create(int sr1, int sr2, int dr, Uop.MemoryOp mop);
}
| arch2792/TraceAnalyzer | src/main/java/cis501/IUopFactory.java | Java | gpl-2.0 | 262 |
require "singleton"
require "webrick";
class SimpleHTTPServer
include Singleton
include WEBrick
def start(dir, options)
mime_types = WEBrick::HTTPUtils::DefaultMimeTypes
mime_types.store 'js', 'application/javascript'
mime_types.store 'svg', 'image/svg+xml'
mime_types.store 'mp3', 'audio/mpeg'
... | KKBOX/CompassApp | src/simplehttpserver.rb | Ruby | gpl-2.0 | 1,057 |
/*
############################################################################
##
## Copyright (C) 2006-2009 University of Utah. All rights reserved.
##
## This file is part of DeepPeep.
##
## This file may be used under the terms of the GNU General Public
## License version 2.0 as published by the Free Softwa... | chdoig/ache | src/main/java/focusedCrawler/util/distribution/HTTPMessage.java | Java | gpl-2.0 | 4,955 |
# Movable Type (r) Open Source (C) 2001-2010 Six Apart, Ltd.
# This program is distributed under the terms of the
# GNU General Public License, version 2.
#
# $Id$
# Adapted from DateTime package to avoid requirement of DateTime package.
package MT::DateTime;
use Exporter;
@MT::DateTime::ISA = qw( Exporter );
use va... | openmelody/melody | lib/MT/DateTime.pm | Perl | gpl-2.0 | 9,050 |
<?php
/**
* @version 0.9 $Id: eventlist_venues.php 507 2008-01-03 15:48:34Z schlu $
* @package Joomla
* @subpackage EventList
* @copyright (C) 2005 - 2008 Christoph Lukes
* @license GNU/GPL, see LICENSE.php
* EventList is free software; you can redistribute it and/or
* modify it under the terms of the GNU Genera... | reeleis/ohiocitycycles | administrator/components/com_eventlist/tables/eventlist_venues.php | PHP | gpl-2.0 | 5,348 |
script('../node_modules/domready/ready.js', function () {
domready(function() {
sink('Basic', function(test, ok, before, after) {
test('should call from chained ready calls', 4, function() {
script.ready('jquery', function() {
ok(true, 'loaded from ready callback')
})
... | unicef/uPortal | sites/all/libraries/scriptjs/tests/tests.js | JavaScript | gpl-2.0 | 3,404 |
var winston = require('winston');
module.exports = function(app, models, tasks, channel) {
// initialize the sync of a repo
app.post('/', function (req, res) {
winston.log("info", "POST /");
channel.sendToQueue("gms.queue", new Buffer(JSON.stringify(req.body)), {deliveryMode: true});
res.sendStatus(20... | git-mirror-sync/git-mirror-sync | routes/hooks.js | JavaScript | gpl-2.0 | 333 |
<!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... | IV-2014/VirtualBoard | ServerConfiguration/PHP/docPut/html/globals.html | HTML | gpl-2.0 | 4,864 |
/*
* This is the source code of Telegram for Android v. 1.7.x.
* It is licensed under GNU GPL v. 2 or later.
* You should have received a copy of the license in this archive (see LICENSE).
*
* Copyright Nikolai Kudashov, 2013-2014.
*/
package org.telegram.ui.Cells;
import android.app.Activity;
import android.co... | rafalense/Plus-Messenger | TMessagesProj/src/main/java/org/telegram/ui/Cells/HeaderCell.java | Java | gpl-2.0 | 2,588 |
/*
* Copyright (C) 2012 Spreadtrum Communications Inc.
*
* This software is licensed under the terms of the GNU General Public
* License version 2, as published by the Free Software Foundation, and
* may be copied, distributed, and modified under those terms.
*
* This program is distributed in the hope that it w... | AndroidDevelopersTeam/android_kernel_samsung_j2xlte_dd | drivers/sipc/sbuf.c | C | gpl-2.0 | 18,438 |
/***************************************************************************
qgsprocessingparametertypeimpl.h
------------------------
begin : March 2018
copyright : (C) 2018 by Matthias Kuhn
email : matthias@opengis.... | CS-SI/QGIS | src/core/processing/qgsprocessingparametertypeimpl.h | C | gpl-2.0 | 20,557 |
<?php get_header(); ?>
</div><!-- header-area -->
</div><!-- end rays -->
</div><!-- end header-holder -->
</div><!-- end header -->
<?php truethemes_before_main_hook();// action hook, see truethemes_framework/global/hooks.php ?>
<div id="main">
<?php
$ka_results_title = get_option('ka_results_title');
$ka_results_fa... | oniiru/iono | wp-content/themes/Karma/search.php | PHP | gpl-2.0 | 2,080 |
/**
* Tests the OutOfDomainException
*/
#include <cppunit/CompilerOutputter.h>
#include <cppunit/extensions/TestFactoryRegistry.h>
#include <cppunit/ui/text/TestRunner.h>
#include "OutOfDomainException.h"
int
main(int argc, char* argv[])
{
// Get the top level suite from the registry
CppUnit::Test *suite = CppU... | jbavari/DestructionOverdrive | test/XmlSerializationExceptionTest/check_XmlSerializationException.cpp | C++ | gpl-2.0 | 842 |
include ../build.mk
.PHONY: all
default: all
all: sstring.o array.o splitline.o base64.o flags.o irc_string.o strlfunc.o sha1.o irc_ipv6.o rijndael.o sha2.o hmac.o prng.o md5.o stringbuf.o cbc.o
| NikosPapakonstantinou/newserv | lib/Makefile | Makefile | gpl-2.0 | 198 |
# -*- coding: utf-8 -*-
from harpia.model.connectionmodel import ConnectionModel as ConnectionModel
from harpia.system import System as System
class DiagramModel(object):
# ----------------------------------------------------------------------
def __init__(self):
self.last_id = 1 # first block is n1... | llgoncalves/harpia | harpia/model/diagrammodel.py | Python | gpl-2.0 | 854 |
# Opus/UrbanSim urban simulation software.
# Copyright (C) 2005-2009 University of Washington
# See opus_core/LICENSE
import os
from PyQt4 import QtGui, Qt, QtCore
from opus_gui.general_manager.views.ui_dependency_viewer import Ui_DependencyViewer
class DependencyViewer(QtGui.QDialog, Ui_DependencyViewer):
def _... | christianurich/VIBe2UrbanSim | 3rdparty/opus/src/opus_gui/general_manager/controllers/dependency_viewer.py | Python | gpl-2.0 | 1,509 |
/**
* Copyright (c) 2012 Anders Ekdahl (http://coffeescripter.com/)
* Dual licensed under the MIT (http://www.opensource.org/licenses/mit-license.php)
* and GPL (http://www.opensource.org/licenses/gpl-license.php) licenses.
*
* Version: 1.2.7
*
* Demo and documentation: http://coffeescripter.com/code/ad-gallery/... | EasyLovine/ZencTbi | ezl_utile/editionSEO/ckeditor/plugins/3rdParty/ad-gallery/jquery.ad-gallery.css | CSS | gpl-2.0 | 4,885 |
<?php
/**
* Column menu options
*
* @package Lambda
* @subpackage Admin
*
* @copyright (c) 2015 Oxygenna.com
* @license **LICENSE**
* @version 1.17.0
* @author Oxygenna.com
*/
require_once OXY_TF_DIR . 'inc/options/fields/select/OxygennaSelect.php';
// create options and value for icon select
$widget_option =... | ntngiri/Wordpress-dhaba | wp-content/themes/themeSite1/vendor/oxygenna/oxygenna-mega-menu/partials/options/top/oxy_mega_columns.php | PHP | gpl-2.0 | 1,861 |
/* vim: set sw=4 sts=4 et foldmethod=syntax : */
/*
* Copyright (c) 2005, 2006, 2007, 2008, 2009 Ciaran McCreesh
*
* This file is part of the Paludis package manager. Paludis 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... | pioto/paludis-pioto | paludis/repositories/e/traditional_profile.cc | C++ | gpl-2.0 | 41,906 |
# -*- coding: utf-8 -*-
# Define your item pipelines here
#
# Don't forget to add your pipeline to the ITEM_PIPELINES setting
# See: http://doc.scrapy.org/en/latest/topics/item-pipeline.html
class WebofknowledgePipeline(object):
def process_item(self, item, spider):
return item
| alabarga/wos-scrapy | webofknowledge/pipelines.py | Python | gpl-2.0 | 294 |
<?php
global $mymail_autoresponder;
$mymail_autoresponder_info = array(
'units' => apply_filters('mymail_autoresponder_units', array(
'minute' => __('minute(s)', 'mymail'),
'hour' => __('hour(s)', 'mymail'),
'day' => __('day(s)', 'mymail'),
'week' => __('week(s)', 'mymail'),
'year' => __('year(s)', 'mymail'... | MagicMediaInc/ironmanrecovery | wp-content/plugins/mymail2018/includes/autoresponder.php | PHP | gpl-2.0 | 1,401 |
<?php
/**
* Milestone Countdown Widget
*
* @package automattic/jetpack
*/
use Automattic\Jetpack\Assets;
/**
* Class Milestone_Widget
*/
class Milestone_Widget extends WP_Widget {
/**
* Holding array for widget configuration and localization.
*
* @var array
*/
private static $config_js = array();
/*... | Automattic/vip-go-mu-plugins | jetpack-9.8/modules/widgets/milestone/class-milestone-widget.php | PHP | gpl-2.0 | 24,576 |
Copy patches that can be applied in the site.
Patches that must be applied should be specified in the Makefile.
| sfl-drupal/indus-profile | build/patches/README.md | Markdown | gpl-2.0 | 112 |
BindGlobal()
local CFG = TheMod:GetConfig()
local assets =
{
Asset("ANIM", "anim/gummybear_naughty.zip"),
Asset("ANIM", "anim/gummybear_nice.zip"),
Asset("ANIM", "anim/ds_pig_basic.zip"),
Asset("ANIM", "anim/ds_pig_actions.zip"),
Asset("ANIM", "anim/ds_pig_attacks.zip"),
Asset("ANIM... | adan830/UpAndAway | code/prefabs/gummybear.lua | Lua | gpl-2.0 | 7,330 |
/*****************************************************************************
* predict.h: arm intra prediction
*****************************************************************************
* Copyright (C) 2009-2021 x264 project
*
* Authors: David Conrad <lessen42@gmail.com>
*
* This program is free software; y... | qyot27/x264 | common/arm/predict.h | C | gpl-2.0 | 5,797 |
package tests;
import org.checkerframework.framework.test.CheckerFrameworkTest;
import java.io.File;
import org.junit.runners.Parameterized.Parameters;
/**
* Created by jthaine on 6/25/15.
*/
public class AnnotatedForTest extends CheckerFrameworkTest {
public AnnotatedForTest(File testFile) {
super(t... | atomicknight/checker-framework | framework/tests/src/tests/AnnotatedForTest.java | Java | gpl-2.0 | 734 |
/* gnome-terminal */
TerminalScreen {
-TerminalScreen-background-darkness: 0.95;
background-color: #000;
color: #fff;
}
/*
TerminalWindow,
TerminalWindow.background {
background-color: @dark_bg_color;
color: @dark_fg_color;
}
*/
/* notebook */
/*
TerminalWindow .notebook {
background-image: ... | inukaze/maestro | Temas/usr/share/themes/Windows Vista/gtk-3.0/apps/gnome-terminal.css | CSS | gpl-2.0 | 4,527 |
<?php
class PMXI_CsvParser
{
public
/**
* csv parsing default-settings
*
* @var array
* @access public
*/
$settings = array(
'delimiter' => ',',
'eol' => '',
'length' => 999999,
'escape' => '"'
),
$tmp_files = array(),
$xpath = '',
... | cyberfly/apcwp | wp-content/plugins/wp-all-import-pro/libraries/XmlImportCsvParse.php | PHP | gpl-2.0 | 33,488 |
/*
** The cvsgui protocol used by WinCvs
**
** This library is free software; you can redistribute it and/or
** modify it under the terms of the GNU Lesser General Public
** License as published by the Free Software Foundation; either
** version 2.1 of the License, or (at your option) any later version.
**
** This lib... | surfnzdotcom/cvsnt-fork | cvsgui/cvsgui_process.cpp | C++ | gpl-2.0 | 35,733 |
<!-- =========================
SECTION: BRIEF LEFT
============================== -->
<?php
global $wp_customize;
$paralax_one_our_story_image = get_theme_mod('paralax_one_our_story_image', parallax_get_file('/images/about-us.png'));
$parallax_one_our_story_title = get_theme_mod('parallax_one_our_story_title',esc_h... | vanlight/wp | wp-content/themes/Parallax-One/sections/parallax_one_our_story_section.php | PHP | gpl-2.0 | 3,528 |
/**
* collectd - src/zfs_arc.c
* Copyright (C) 2009 Anthony Dewhurst
*
* 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; only version 2 of the License is applicable.
*
* This program is d... | ceph/collectd | src/zfs_arc.c | C | gpl-2.0 | 5,108 |
/*
* Copyright (C) 2011-2014 Freescale Semiconductor, 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.
*
*... | rdm-dev/linux-curie | drivers/mfd/mxc-hdmi-core.c | C | gpl-2.0 | 20,423 |
<?php
global $em_vocations;
$em_vocations = array();
$em_vocations['500'] = '»¥ÁªÍø';
$em_vocations['501'] = 'ÍøÕ¾ÖÆ×÷';
$em_vocations['501.001'] = 'ÆóÒµÍøÕ¾';
$em_vocations['501.002'] = 'ÃÅ»§¿ª·¢';
$em_vocations['501.003'] = 'ÉÌÒµÍøÕ¾';
$em_vocations['501.004'] = '¸öÈ˲©¿Í';
$em_vocations['502'] = 'ÐéÐÄ';
$e... | bylu/Test | wulu/2015.11.23/qipai/data/enums/vocation.php | PHP | gpl-2.0 | 1,390 |
/************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER
*
* Copyright 2008, 2010 Oracle and/or its affiliates. All rights reserved.
*
* Use is subject to license terms.
*
* Licensed under the Apache License, Version 2.0 (the "Lic... | jbjonesjr/geoproponis | external/odfdom-java-0.8.10-incubating-sources/org/odftoolkit/odfdom/dom/element/db/DbQueriesElement.java | Java | gpl-2.0 | 3,685 |
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.0" language="fr">
<context>
<name>AboutDlg</name>
<message>
<location filename="../gui/about.ui" line="21"/>
<source>About qBittorrent</source>
<translation>À propos de qBittorrent</translation>
</message>
<messa... | TheNain38/qBittorrent | src/lang/qbittorrent_fr.ts | TypeScript | gpl-2.0 | 343,896 |
/*
* Clock Manager - rtems_clock_get_tod
*
* COPYRIGHT (c) 1989-2007.
* 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: clockgettod.c,v 1.... | yunusdawji/rtems-at91sam9g20ek | cpukit/rtems/src/clockgettod.c | C | gpl-2.0 | 1,405 |
<!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... | joelbrock/HARVEST_CORE | documentation/doxy/output/is4c-nf/html/class_local_trans_today_model.html | HTML | gpl-2.0 | 42,588 |
#ifndef QEMU_NET_H
#define QEMU_NET_H
#include "qemu-common.h"
/* VLANs support */
typedef ssize_t (IOReadvHandler)(void *, const struct iovec *, int);
typedef struct VLANClientState VLANClientState;
typedef void (NetCleanup) (VLANClientState *);
typedef void (LinkStatusChanged)(VLANClientState *);
struct VLANCli... | legumbre/qemu-z80 | net.h | C | gpl-2.0 | 4,471 |
// -*- c++ -*-
// Copyright 2000, Karl Einar Nelson
/* This is a generated file, do not edit. Generated from template.macros.m4 */
#ifndef SIGC_OBJECT_SLOT
#define SIGC_OBJECT_SLOT
#include <sigc++/slot.h>
#include <sigc++/object.h>
#ifdef SIGC_CXX_NAMESPACES
namespace SigC
{
#endif
/************************... | KAMI911/openmortal | src/sigc++/object_slot.h | C | gpl-2.0 | 10,196 |
/*
* Copyright (C) 2013 Fighter Sun <wanmyqawdr@126.com>
* JZ4780 SoC NAND controller driver
*
* 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 (... | IngenicSemiconductor/kernel-inwatch | arch/mips/xburst/soc-4780/include/mach/jz4780_nand.h | C | gpl-2.0 | 5,187 |
# -*- coding: utf-8 -*-
"""
***************************************************************************
AutoincrementalField.py
---------------------
Date : August 2012
Copyright : (C) 2012 by Victor Olaya
Email : volayaf at gmail dot com
******************... | dracos/QGIS | python/plugins/processing/algs/qgis/AutoincrementalField.py | Python | gpl-2.0 | 2,809 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_22) on Sun May 01 02:05:57 CEST 2011 -->
<TITLE>
es.tid.corba.ExceptionHandlerAdmin
</TITLE>
<META NAME="date" CONTENT="2011-05-01">
<LINK REL ="st... | AlvaroVega/TIDNotifJ | test/doc_api/war/es/tid/corba/ExceptionHandlerAdmin/package-summary.html | HTML | gpl-2.0 | 10,931 |
define(
//begin v1.x content
{
"decimal": ".",
"group": ",",
"list": ";",
"percentSign": "%",
"plusSign": "+",
"minusSign": "-",
"exponential": "E",
"perMille": "‰",
"infinity": "∞",
"nan": "NaN",
"decimalFormat": "#,##0.###",
"decimalFormat-short": "000조",
"scientificFormat": "#E0",
"percentFormat": "#,#... | Gambiit/pmb-on-docker | web_appli/pmb/javascript/dojo/dojo/cldr/nls/ko/number.js | JavaScript | gpl-2.0 | 387 |
<?php
/**
* Class MailSyncObserver
*
* @package ModelFramework\ModelViewService
* @author Vladimir Pasechnik vladimir.pasechnik@gmail.com
* @author Stanislav Burikhin stanislav.burikhin@gmail.com
*/
namespace ModelFramework\LogicService\Observer;
use ModelFramework\ConfigService\ConfigAwareInterface;
use Mode... | modelframework/modelframework | src/ModelFramework/LogicService/Observer/MailSyncObserver.php | PHP | gpl-2.0 | 11,776 |
<?php
// +-------------------------------------------------+
// | 2002-2011 PMB Services / www.sigb.net pmb@sigb.net et contributeurs (voir www.sigb.net)
// +-------------------------------------------------+
// $Id: cms_module_shelveslist.class.php,v 1.1 2013-01-23 11:30:08 apetithomme Exp $
if (stristr($_SERVER['REQ... | Gambiit/pmb-on-docker | web_appli/pmb/opac_css/cms/modules/shelveslist/cms_module_shelveslist.class.php | PHP | gpl-2.0 | 569 |
#!/bin/bash
# -----------------------------------------------------------------------------
# Check source-tree for anomalies
#
# Copyright (C) 2005-2007 by Ivo van Poorten
#
# 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
#... | azuwis/mplayer-fork | TOOLS/checktree.sh | Shell | gpl-2.0 | 10,979 |
/*
* (C) Copyright 2002
* Gary Jennejohn, DENX Software Engineering, <gj@denx.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 your option) ... | tsuibin/uboot-1.1.6_akae24xx | cpu/arm920t/s3c24x0/serial.c | C | gpl-2.0 | 3,972 |
/* 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... | catterpiler74/mangos-classic | src/game/AI/ScriptDevAI/scripts/kalimdor/ruins_of_ahnqiraj/boss_rajaxx.cpp | C++ | gpl-2.0 | 12,914 |
/*
* see license.txt
*/
package seventh.game.net;
import harenet.IOBuffer;
import seventh.game.entities.Entity.Type;
/**
* @author Tony
*
*/
public class NetLight extends NetEntity {
public short r, g, b;
public short luminacity;
public short size;
/**
*/
public NetLight() {
... | skaghzz/seventh | src/seventh/game/net/NetLight.java | Java | gpl-2.0 | 1,208 |
/* linux/arch/arm/plat-s5pc1xx/s5pc1xx-time.c
*
* Copyright (C) 2003-2005 Simtec Electronics
* Jongpill Lee, <boyko.lee@samsung.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; eith... | maliyu/SMDKV210-kernel | arch/arm/plat-s5pc1xx/s5pc1xx-time.c | C | gpl-2.0 | 8,456 |
/*
* sound/uart6850.c
*
*
* Copyright (C) by Hannu Savolainen 1993-1997
*
* OSS/Free for Linux is distributed under the GNU GENERAL PUBLIC LICENSE (GPL)
* Version 2 (June 1991). See the "COPYING" file distributed with this software
* for more info.
* Extended by Alan Cox for Red Hat Software. Now a loadable MI... | fzqing/linux-2.6 | sound/oss/uart6850.c | C | gpl-2.0 | 7,277 |
#!/usr/bin/env python
# print_needed_variables.py
#
# Copyright (C) 2014, 2015 Kano Computing Ltd.
# License: http://www.gnu.org/licenses/gpl-2.0.txt GNU General Public License v2
#
import os
import sys
if __name__ == '__main__' and __package__ is None:
dir_path = os.path.abspath(os.path.join(os.path.dirname(__f... | rcocetta/kano-profile | tools/print_needed_variables.py | Python | gpl-2.0 | 1,082 |
#!/usr/bin/python
# (c) 2017, NetApp, Inc
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
from __future__ import absolute_import, division, print_function
__metaclass__ = type
ANSIBLE_METADATA = {'metadata_version': '1.1',
'status': ['preview'],
... | jimi-c/ansible | lib/ansible/modules/storage/netapp/sf_snapshot_schedule_manager.py | Python | gpl-3.0 | 13,004 |
// Always include the necessary header files.
// Including SFGUI/Widgets.hpp includes everything
// you can possibly need automatically.
#include <SFGUI/SFGUI.hpp>
#include <SFGUI/Widgets.hpp>
#include <SFML/Graphics.hpp>
#include <SFML/OpenGL.hpp>
#include <cmath>
int main() {
// Create the main SFML window
sf::R... | AdrienJarretier/MathGame | extlibs/sfgui-0.3.2-vs2017-64/examples/Canvas.cpp | C++ | gpl-3.0 | 8,376 |
<div>
<h2 piwik-enriched-headline
class="card-title"
help-url="http://piwik.org/docs/manage-websites/#all-websites-dashboard"
feature-name="{{ 'General_AllWebsitesDashboard'|translate }}">
{{ 'General_AllWebsitesDashboard'|translate }}
<span class='smallTitle'
t... | Morerice/piwik | plugins/MultiSites/angularjs/dashboard/dashboard.directive.html | HTML | gpl-3.0 | 7,860 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title>Change default module name</title>
</head>
<body><div class="manualnavbar" style="text-align: center;">
<div class="pre... | rafaelgou/the-phpjs-local-docs-collection | php/5.5/yaf-dispatcher.setdefaultmodule.html | HTML | gpl-3.0 | 2,673 |
package com.earth2me.essentials.api;
public class InvalidNameException extends Exception {
/**
* NOTE: This is not implemented yet, just here for future 3.x api support Allow serialization of the InvalidNameException exception
*/
private static final long serialVersionUID = 1485321420293663139L;
... | RubyFreedomDevelopmentTeam/TF-Essentials | Essentials/src/com/earth2me/essentials/api/InvalidNameException.java | Java | gpl-3.0 | 401 |
var tinymce_cnf = {
selector: 'textarea.tinymce',
plugins: 'link table code fullscreen preview textcolor paste image media responsivefilemanager anchor codesample',
toolbar: "responsivefilemanager undo redo | styleselect | bold italic forecolor | alignleft aligncenter alignright alignjustify | bullist numli... | gayathma/footballs | vendor/web-feet/coasterframework/public/app/js/editor.js | JavaScript | gpl-3.0 | 7,677 |
package org.gmod.schema.mapped;
// Generated Aug 31, 2006 4:02:18 PM by Hibernate Tools 3.2.0.beta7
import org.gmod.schema.utils.propinterface.PropertyI;
import static javax.persistence.GenerationType.SEQUENCE; //Added explicit sequence generation behaviour 2.12.2015
import javax.persistence.Column;
import javax.pe... | sanger-pathogens/GeneDB | ng/src/org/gmod/schema/mapped/PhylonodeProp.java | Java | gpl-3.0 | 2,816 |
#region License
// ====================================================
// Project Porcupine Copyright(C) 2016 Team Porcupine
// This program comes with ABSOLUTELY NO WARRANTY; This is free software,
// and you are welcome to redistribute it under certain conditions; See
// file LICENSE, which is part of this source ... | NogginBops/ProjectPorcupine | Assets/Scripts/Models/InputOutput/SpriteManager.cs | C# | gpl-3.0 | 11,384 |
#!/usr/bin/python
#-----------------------------------------------------------------------------
#-----------------------------------------------------------------------------
# vim:ft=python
| dozzie/yumbootstrap | lib/yumbootstrap/__init__.py | Python | gpl-3.0 | 194 |
<?php
/**
* Class with the properties needs to generate a class file.
*
* @author Jeremie Litzler
* @copyright Copyright (c) 2015
* @licence http://opensource.org/licenses/gpl-license.php GNU Public License
* @link https://github.com/WebDevJL/EasyMvc
* @since Version 1.0.0
* @package BaseClassGenerator
* @se... | WebDevJL/EasyMVC | ScarlarType/ObjectBase.php | PHP | gpl-3.0 | 1,153 |
#!/usr/bin/python
# -*- coding: utf-8 -*-
'''
PyChess arena tournament script.
This script executes a tournament between the engines installed on your
system. The script is executed from a terminal with the usual environment.
'''
import os
import sys
######################################################... | pychess/pychess | utilities/arena.py | Python | gpl-3.0 | 6,460 |
function run()
r = provider.formfunction("employee_assignment_convert")( input:get())
for v,t in r:get() do
output:print( v,t)
end
end
| ProjectTegano/Tegano | tests/wolfilter/scripts/formfunc_iterator.lua | Lua | gpl-3.0 | 141 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.