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 |
|---|---|---|---|---|---|
# -*- coding: utf-8 -*-
"""
***************************************************************************
CreateWorkspace.py
---------------------
Date : October 2012
Copyright : (C) 2012 by Victor Olaya
Email : volayaf at gmail dot com
**********************... | mhugent/Quantum-GIS | python/plugins/processing/algs/admintools/CreateWorkspace.py | Python | gpl-2.0 | 2,079 |
/* Copyright (C) 2007-2014 Open Information Security Foundation
*
* You can copy, redistribute or modify this Program 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... | jasonish/endace-suricata | src/output-file.c | C | gpl-2.0 | 9,171 |
/*
* Driver for Renesas R-Car VIN
*
* Copyright (C) 2016 Renesas Electronics Corp.
* Copyright (C) 2011-2013 Renesas Solutions Corp.
* Copyright (C) 2013 Cogent Embedded, Inc., <source@cogentembedded.com>
* Copyright (C) 2008 Magnus Damm
*
* Based on the soc-camera rcar_vin driver
*
* This program is free sof... | bluecherrydvr/linux | drivers/media/platform/rcar-vin/rcar-v4l2.c | C | gpl-2.0 | 21,330 |
module molpro_manage
!==============================================================
! This code is part of FCC_TOOLS
!==============================================================
! Description
! This MODULE contains subroutines to get molecular information
! from molpro out files
! ... | jcerezochem/fcc_tools | src/modules/molpro_manage.f90 | FORTRAN | gpl-2.0 | 8,474 |
from __future__ import division
"""
These functions are for BOSSANOVA (BOss Survey of Satellites Around Nearby Optically obserVable milky way Analogs)
"""
import numpy as np
from matplotlib import pyplot as plt
import targeting
def count_targets(hsts, verbose=True, remove_cached=True, rvir=300, targetingkwargs={})... | saga-survey/saga-code | bossanova/bossanova.py | Python | gpl-2.0 | 4,779 |
<?php
/*
+--------------------------------------------------------------------+
| CiviCRM version 4.6 |
+--------------------------------------------------------------------+
| Copyright CiviCRM LLC (c) 2004-2015 |
+---------------------... | creativecommons/donate.creativecommons.org | sites/all/modules/civicrm/CRM/Contribute/Form/UpdateBilling.php | PHP | gpl-2.0 | 18,155 |
<?php
namespace common\assets;
use Yii;
use yii\web\AssetBundle;
class DHTMLXSchedulerAsset extends AssetBundle
{
public $sourcePath = '@vendor/DHTMLX/scheduler/codebase';
public $css = [
'dhtmlxscheduler_flat.css',
];
public $js = [
'sources/dhtmlxscheduler.js',
'sou... | schtanislau/tan | common/assets/DHTMLXSchedulerAsset.php | PHP | gpl-2.0 | 996 |
<?php
/**
* Helper functions for the admin - plugin links and help tabs.
*
* @package bbPress Search Widget
* @subpackage Admin
* @author David Decker - DECKERWEB
* @copyright Copyright (c) 2011-2013, David Decker - DECKERWEB
* @license http://www.opensource.org/licenses/gpl-license.php GPL-2.0+
* @l... | giventadevelop/gabon-project | wp-content/wp-content/plugins/bbpress-search-widget/includes/bbpsw-admin.php | PHP | gpl-2.0 | 11,867 |
require_dependency 'search/search_result'
require_dependency 'search/search_result_type'
require_dependency 'search/grouped_search_results'
class Search
def self.per_facet
5
end
# Sometimes we want more topics than are returned due to exclusion of dupes. This is the
# factor of extra results we'll ask fo... | pkgr/discourse | lib/search.rb | Ruby | gpl-2.0 | 9,282 |
include $(TOPDIR)/rules.mk
PKG_NAME:=pdnsd
PKG_VERSION:=1.2.9
PKG_RELEASE=$(PKG_SOURCE_VERSION)
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://github.com/mengskysama/pdnsd.git
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
PKG_SOURCE_VERSION:=e02a81d9e63927e93dc49d218535c880623bcd77
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSIO... | openwrt-stuff/openwrt-extra | net/pdnsd/Makefile | Makefile | gpl-2.0 | 1,623 |
/* Copyright (C) 2003-2015 JabRef contributors.
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 progr... | robymus/jabref | src/main/java/net/sf/jabref/logic/autocompleter/DefaultAutoCompleter.java | Java | gpl-2.0 | 1,924 |
<?php
class optionsModelBup extends modelBup {
protected $_allOptions = array();
public function saveGroup($d = array()) {
$clearArr = array('opt_values' => array('full' => 0, 'plugins' => 0, 'themes' =>0 , 'uploads' => 0, 'database' => 0, 'any_directories' => 0, 'wp_core' => 0));
if(isset($d['opt_values'])... | VitaliyProdan/bmm | wp-content/plugins/backup-by-supsystic/modules/options/models/options.php | PHP | gpl-2.0 | 18,749 |
/***************************************************************************
* *
* 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 Fre... | serghei/kde-kdesdk | umbrello/umbrello/linepath.h | C | gpl-2.0 | 9,617 |
<?php
/**
* Base shortcode for all LessTheme Shortcodes
*/
class ZoShortcode extends WPBakeryShortCode {
protected function loadTemplate($atts, $content = null) {
$output = '';
$zo_template = isset($atts['zo_template']) ? $atts['zo_template'] : $this->shortcode.'.php';
$files = $this->f... | lenguyenitc/donations | wp-content/plugins/zotheme/shortcodes/zo_base.php | PHP | gpl-2.0 | 1,648 |
/**
* \file l4re/lib/src/env.c
* \brief Environment
*/
/*
* (c) 2008-2009 Alexander Warg <warg@os.inf.tu-dresden.de>
* economic rights: Technische Universität Dresden (Germany)
*
* This file is part of TUD:OS and distributed under the terms of the
* GNU General Public License 2.
* Please see the COPYING... | MicroTrustRepos/microkernel | src/l4/pkg/l4re/lib/src/env.c | C | gpl-2.0 | 961 |
<?php
/**
* @author mr.v
* @copyright http://okvee.net
* @version okv web starter kit 0.1b
*/
class index extends admin_controller {
function __construct() {
parent::__construct();
// load model
$this->load->model(array());
// load helper
$this->load->helper(array());
}// __construct
function ... | OkveeNet/vee-manga-reader-pro | application/controllers/site-admin/index.php | PHP | gpl-2.0 | 1,376 |
#!/usr/bin/env python
# coding:utf-8
import hashlib
import logging
from x1category import X1Category
TOOL_PREFIX = 'X1Tool'
class X1Tool(object):
'appid:6376477c731a89e3280657eb88422645f2d1e2a684541222e21371f3110110d2'
DEFAULT_METADATA = {'name': "X1Tool", 'author': "admin", 'comments': "default", 'template':... | cshzc/X1Tool | src/server/apps/x1tool.py | Python | gpl-2.0 | 1,304 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<!-- Generated by phpdocgen 0.17-rc3 on Sun Oct 10 22:21:22 2010 -->
<HTML>
<HEAD>
<TITLE>All Elements</TITLE>
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<link REL ='stylesheet' TY... | Bigjoos/U-232-V2 | imdb/imdb/doc/apidoc/allelements-frame.html | HTML | gpl-2.0 | 8,871 |
using UnityEngine;
using System.Collections;
public class LixoMisturado
{
// atributos estaticos
static int multiplicadorVidaBase = 10;
static int danoMinimo = 1;
// estaticos publicos
static public float tempoRegen = 3;
static public int nivelMaximo = 10;
// atributos publicos
public bool estaNivelMax... | zugbahn/Reciclador | Unity Projetos/Reciclador_WindowsPhone/Assets/Scripts/Tipos/LixoMisturado.cs | C# | gpl-2.0 | 2,152 |
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
/*
* Copyright (c) 2017 NITK Surathkal
*
* 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 di... | shravya-ks/ns-3-tcp-prague | src/netanim/examples/fat-tree-animation.cc | C++ | gpl-2.0 | 3,799 |
<?php
/**
* YoutubeGallery Joomla! Native Component
* @version 4.2.8
* @author DesignCompass corp< <support@joomlaboat.com>
* @link http://www.joomlaboat.com
* @GNU General Public License
**/
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
// import Joomla controll... | xmarlem/BM_stage | components/com_youtubegallery/controller.php | PHP | gpl-2.0 | 740 |
#ifndef _RAWC_CONSTANTS_H
#define _RAWC_CONSTANTS_H
//=============================================================================
// File: RAWCControlBoard.h
//
// COPYRIGHT 2010 Robotics Alliance of the West Coast(RAWC)
// All rights reserved. RAWC proprietary and confidential.
//
// The party receivin... | FRC-Team-1716/Team-1716-Swerve | src/RAWCConstants.h | C | gpl-2.0 | 2,336 |
/*
* #%L
* Fork of JAI Image I/O Tools.
* %%
* Copyright (C) 2008 - 2017 Open Microscopy Environment:
* - Board of Regents of the University of Wisconsin-Madison
* - Glencoe Software, Inc.
* - University of Dundee
* %%
* Redistribution and use in source and binary forms, with or without
* modification, ... | stelfrich/bioformats | components/forks/jai/src/com/sun/media/imageio/plugins/jpeg2000/J2KImageWriteParam.java | Java | gpl-2.0 | 16,164 |
<!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"/>
<title>Aria: Member List</... | sfe1012/Robot | docs/classArTCM2-members.html | HTML | gpl-2.0 | 16,783 |
/*
* CFQ, or complete fairness queueing, disk scheduler.
*
* Based on ideas from a previously unfinished io
* scheduler (round robin per-process disk scheduling) and Andrea Arcangeli.
*
* Copyright (C) 2003 Jens Axboe <axboe@kernel.dk>
*/
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/blkd... | showliu/android_kernel_xiaomi_aries-1 | block/cfq-iosched.c | C | gpl-2.0 | 105,039 |
//
// CommandLineInterface.cs
//
// Author:
// Fin Christensen <christensen.fin@gmail.com>
//
// Copyright (c) 2015 Fin Christensen
//
// 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 Foundat... | AreonDev/NoWayOut | FreezingArcher/Engine/Configuration/CommandLineInterface.cs | C# | gpl-2.0 | 11,890 |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you... | bdaum/zoraPD | com.bdaum.zoom.net.core/src/org/apache/commons/net/ftp/FTPFileEntryParser.java | Java | gpl-2.0 | 6,090 |
/**
* vCard parser testing.
*
* First parameter is location of vCard, second location of Gammu backup
* how it should be parsed.
*
* Optional third parameter can be used to generate template backup
* file.
*/
#include <gammu.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include "../helper/memo... | gammu/gammu | tests/vcard-read.c | C | gpl-2.0 | 4,619 |
/*
*/
/*
*/
#include <linux/module.h>
#include <linux/kernel.h>
#include "felica_cal.h"
/*
*/
#define FELICA_I2C_SLAVE_ADDRESS 0x56
#define FELICA_I2C_REG_ADDRSS_01 0x01
#define FELICA_I2C_REG_ADDRSS_02 0x02
... | curbthepain/revkernel_us990 | drivers/felica/felica_cal.c | C | gpl-2.0 | 4,674 |
#!/bin/sh
# see if we are in the top of the tree
if [ ! -f configure.proto ]; then
cd ../..
if [ ! -f configure.proto ]; then
echo "please run this script from the base of the VICE directory"
echo "or from the appropriate build directory"
exit 1
fi
fi
curdir=`pwd`
./configure
gcc src/arch/amigaos/f... | AreaScout/vice-gles2 | build/amigaos/build-os4-native.sh | Shell | gpl-2.0 | 384 |
# original code is from openmips gb Team: [OMaClockLcd] Renderer #
# Thx to arn354 #
import math
from Components.Renderer.Renderer import Renderer
from skin import parseColor
from enigma import eCanvas, eSize, gRGB, eRect
class AnalogClockLCD(Renderer):
def __init__(self):
Renderer.__init__(self)
self.fColor = ... | openatv/enigma2 | lib/python/Components/Renderer/AnalogClockLCD.py | Python | gpl-2.0 | 3,177 |
/* APPLE LOCAL file mainline */
/* Darwin pragma for __attribute__ ((ms_struct)). */
/* { dg-do compile { target *-*-darwin* } } */
/* { dg-options "-Wall" } */
#pragma ms_struct on
#pragma ms_struct off
#pragma ms_struct reset
#pragma ms_struct /* { dg-warning "malformed" } */
#pragma ms_struct on top of spaghe... | unofficial-opensource-apple/gcc_40 | gcc/testsuite/gcc.dg/pragma-ms_struct.c | C | gpl-2.0 | 397 |
/*******************************************************************************
*
* File archive.h
*
* Copyright (C) 2011 Martin Luescher
*
* This software is distributed under the terms of the GNU General Public
* License (GPL)
*
*******************************************************************************/
#ifnd... | bjoern-leder/mrw | include/archive.h | C | gpl-2.0 | 932 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<% orbi_flow_head() %>
<% hijack_language() %>
</head>
<body>
<script>
function is_read()
{
if($$('#have_read').is(':checked'))
$$('#next_btn').attr("disabled",false);
else
$$(... | dan82840/Netgear-RBR50 | git_home/net-cgi.git/www/orbi/BRS_tos_eujp.html | HTML | gpl-2.0 | 50,310 |
### GIVEN
Given /^I have no collections$/ do
Collection.delete_all
end
Given /^the collection "([^\"]*)" is deleted$/ do |collection_title|
step %{I am logged in as the owner of "#{collection_title}"}
visit edit_collection_path(Collection.find_by(title: collection_title))
click_link "Delete Collection"
clic... | ariana-paris/otwarchive | features/step_definitions/collection_steps.rb | Ruby | gpl-2.0 | 8,888 |
/*
*
* Copyright (c) 2011 Realtek Semiconductor Corp.
*
* 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.
*/
#include <linux/config.h>
#include <linux/irq.h>
#in... | utessel/edimax | target/linux/realtek/files/arch/mips/rtl8196b/int.c | C | gpl-2.0 | 6,532 |
/* Copyright (c) 2011-2013, The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
* only version 2 as published by the Free Software Foundation.
*
* This program is distributed in the... | jameshilliard/m8-3.4.0-gb1fa77f | drivers/power/qpnp-bms.c | C | gpl-2.0 | 152,658 |
<?php
/**
* Akeeba Engine
* The modular PHP5 site backup engine
* @copyright Copyright (c)2009-2014 Nicholas K. Dionysopoulos
* @license GNU GPL version 3 or, at your option, any later version
* @package akeebaengine
*
*/
namespace Akeeba\Engine\Filter;
// Protection against direct access
defined('AKEEBAEN... | PAKOTxx/midmu | administrator/components/com_akeeba/platform/joomla25/Filter/SRPData.php | PHP | gpl-2.0 | 1,958 |
/*
* Copyright (C) 2010-2011 Project SkyFire <http://www.projectskyfire.org/>
* Copyright (C) 2008-2011 TrinityCore <http://www.trinitycore.org/>
* Copyright (C) 2005-2011 MaNGOS <http://getmangos.com/>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU Genera... | sourceleaker/gaycore | src/server/scripts/Kalimdor/VortexPinnacle/instance_vortex_pinnacle.cpp | C++ | gpl-2.0 | 3,828 |
<?php
/**
* @copyright Copyright (C) 2009 - 2011 Ready Bytes Software Labs Pvt. Ltd. All rights reserved.
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
* @package PayPlans
* @subpackage Frontend
* @contact shyam@readybytes.in
* website http://www.jpayplans.com
* Technical Support : Forum - http://www... | Xervmon/b2b | administrator/components/com_payplans/controllers/log.php | PHP | gpl-2.0 | 866 |
@charset "utf-8";
/* CSS Document */
#message ul li {
font-size: 8pt;
}
| EasyLovine/ZencTbi | ezl_utile/ezl_genFichierSitemapXML.css | CSS | gpl-2.0 | 76 |
<?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
** Test for PMA_Util::checkParameters from Util.class.php
*
* @package PhpMyAdmin-test
* @group common.lib-tests
*/
/*
* Include to test.
*/
require_once 'libraries/core.lib.php';
require_once 'libraries/Util.class.php';
require_once 'libraries/Theme.class.php... | raedkleelsame/phpmyadmin | test/libraries/common/PMA_checkParameters_test.php | PHP | gpl-2.0 | 1,635 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Serialization;
using System.Runtime.Serialization;
namespace IronCow.Rest
{
[DataContract]
public class RawNote : RawRtmElement
{
[XmlAttribute("created")]
[DataMember]
public str... | mbmccormick/Milkman | IronCow/Rest/RawNote.cs | C# | gpl-2.0 | 635 |
<?php
defined( 'ABSPATH' ) or die( 'No script kiddies please!' );
/**
* UFBL Library Class
* Class with all the necessary functions
*/
if ( !class_exists( 'UFBL_Lib' ) ) {
class UFBL_Lib {
/**
*
* @param string $view_file
* @returns void
*/
public static function load_view( $view_file, $variabl... | hle25-micros/misc-my | wp-content/plugins/ultimate-form-builder-lite/classes/ufbl-lib.php | PHP | gpl-2.0 | 21,413 |
/*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that... | williamClanton/jbossBA | weka/src/main/java/weka/attributeSelection/BestFirst.java | Java | gpl-2.0 | 24,824 |
/**
* @version $Id: $Revision
* @package mootool
* @subpackage lofslidernews
* @copyright Copyright (C) JAN 2010 LandOfCoder.com <@emai:landofcoder@gmail.com>. All rights reserved.
* @website http://landofcoder.com
* @license This plugin is dual-licensed under the GNU General Public License and the MIT Li... | vuchannguyen/dayhoc | modules/mod_lofk2news/assets/js.js | JavaScript | gpl-2.0 | 8,624 |
/*
* Copyright (c) 2012-2013 The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
* only version 2 as published by the Free Software Foundation.
*
* This program is distributed in t... | defconoi/Unleashed-N5 | include/linux/iopoll.h | C | gpl-2.0 | 3,789 |
// Copyright (c) 2013- PPSSPP Project.
// 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.0 or later versions.
// This program is distributed in the hope that it will be useful,
// b... | GamerzHell9137/ppsspp | GPU/Common/SoftwareTransformCommon.cpp | C++ | gpl-2.0 | 18,655 |
/*
* Copyright (c) 2014, NVIDIA CORPORATION. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms and conditions of the GNU General Public License,
* version 2, as published by the Free Software Foundation.
*
* This program is distributed in the hope... | arter97/android_kernel_nvidia_shieldtablet | drivers/gpu/nvgpu/gm20b/hw_gmmu_gm20b.h | C | gpl-2.0 | 24,084 |
/*
** Zabbix
** Copyright (C) 2001-2016 Zabbix SIA
**
** 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 pro... | ruhip/zabbix_2.4.8 | src/libs/zbxsysinfo/freebsd/freebsd.c | C | gpl-2.0 | 2,518 |
!
! Copyright (C) 2001-2015 Quantum ESPRESSO group
! This file is distributed under the terms of the
! GNU General Public License. See the file `License'
! in the root directory of the present distribution,
! or http://www.gnu.org/copyleft/gpl.txt .
!
!-------------------------------------------------------------------... | QEF/q-e_schrodinger | UtilXlib/set_mpi_comm_4_solvers.f90 | FORTRAN | gpl-2.0 | 2,588 |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Evince Programmer's Reference Manual: Evince Programmer's Reference Manual</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" h... | Vongo/evince | help/reference/shell/html/index.html | HTML | gpl-2.0 | 6,245 |
# Ember-cli-browser-update
This README outlines the details of collaborating on this Ember addon.
This project is an ember-cli addon for the [Browser Update](http://browser-update.org/ "Browser Update") project.
## What does it do?
It warns the user with a small header bar that their browser is out of date and nee... | BryanCrotaz/ember-cli-browser-update | README.md | Markdown | gpl-2.0 | 2,106 |
/*!
* jQuery postMessage - v0.5 - 9/11/2009
* http://benalman.com/projects/jquery-postmessage-plugin/
*
* Copyright (c) 2009 "Cowboy" Ben Alman
* Dual licensed under the MIT and GPL licenses.
* http://benalman.com/about/license/
*/
// Script: jQuery postMessage: Cross-domain scripting goodness
//
//... | young-geng/StatNews | SFGateBusiness/test_files/Swzl_TrafficDriverTypeAhead_data_002/postMessage.js | JavaScript | gpl-2.0 | 8,792 |
{% extends "admin/base_site.html" %}
{% load i18n %}
{% block custom_stylesheet %}
{% endblock %}
{% block breadcrumbs %}
<div class="breadcrumbs">
<a href="../../../../">{% trans "Home" %}</a> ›
<a href="../../../">{{ app_label|capfirst }}</a> ›
<a href="../../">{{ opts.verbose_name_plu... | ShaolongHu/Nitrate | tcms/templates/admin/delete_confirmation.html | HTML | gpl-2.0 | 1,337 |
;
(function ($, scope) {
function NextendElementStyle(id, parameters) {
this.element = $('#' + id);
this.parameters = parameters;
this.defaultSetId = parameters.set;
this.element.parent()
.on('click', $.proxy(this.show, this));
this.element.siblings('.n2-form... | ttthanhDC/ProjectTeamWP | wp-content/plugins/smart-slider-3/nextend/media/js/element/style.js | JavaScript | gpl-2.0 | 3,135 |
/* FCE Ultra - NES/Famicom Emulator
*
* Copyright notice for this file:
* Copyright (C) 2009 CaH4e3
*
* 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... | bear24rw/gamingcape_fceu | src/boards/253.cpp | C++ | gpl-2.0 | 4,113 |
/******************************************************************************
* Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2007 ComPiere, Inc. All Rights Reserved. *
* This program is free software, you can redistribute it and/or modify it *
... | klst-com/metasfresh | de.metas.adempiere.adempiere/base/src/main/java-gen/org/compiere/model/X_CM_AccessNewsChannel.java | Java | gpl-2.0 | 4,233 |
/*
* drivers/mmc/host/sdhci-tegra.c
*
* SDHCI-compatible driver for NVIDIA Tegra SoCs
*
* Copyright (c) 2009-2010, NVIDIA Corporation.
*
* 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; ... | mingkaidox/kernel_tegra | drivers/mmc/host/sdhci-tegra.c | C | gpl-2.0 | 15,999 |
package com.nightscout.android.upload;
import java.io.Serializable;
public class DeviceRecord extends Record implements Serializable{
/**
*
*/
private static final long serialVersionUID = 6321618305992689901L;
public String deviceId = "";
protected String deviceName = "";
public String getDeviceName... | wright-david/MedtronicUploader | src/com/nightscout/android/upload/DeviceRecord.java | Java | gpl-2.0 | 406 |
module Katello
class Api::V2::ContentViewFilterRulesController < Api::V2::ApiController
before_filter :find_filter
before_filter :find_rule, :except => [:index, :create]
api :GET, "/content_view_filters/:content_view_filter_id/rules", N_("List filter rules")
param :content_view_filter_id, :identifier... | dLobatog/katello | app/controllers/katello/api/v2/content_view_filter_rules_controller.rb | Ruby | gpl-2.0 | 5,494 |
# The valid parentheses problem
In this one, the basic idea is to create a method that takes a string as input, and returns a boolean. True if the parentheses in the string are valid, false if not. E.g. () is valid. )( is not. | MarkWaldron/Challenges | Maths/11-Valid-Parentheses/readme.md | Markdown | gpl-2.0 | 227 |
define(function() {
var config = {
paths: {
FAOSTAT_UI_COMMONS: 'faostat-ui-commons',
faostat_ui_commons: '../'
},
shim: {
bootstrap: {
deps: ['jquery']
}
}
};
return config;
}); | FAOSTAT4/faostat-ui-commons | js/paths.js | JavaScript | gpl-2.0 | 289 |
/*
* Copyright (C) 2011 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... | DigitalLabApp/Gramy | Telegram-master/TMessagesProj/src/main/java/org/telegram/messenger/volley/toolbox/HurlStack.java | Java | gpl-2.0 | 10,456 |
{ "collection" :
{
"version" : "1.0",
"href" : "{{ url }}",
"links" : [
{"rel" : "profile" , "href" : "http://schema.org/VideoGame"},
{"rel" : "collection", "prompt" : "Peliculas", "href" : "{{ url }}/../movies"},
{"rel" : "collection", "prompt" : "Libros", "href" : "{{ url }}/../bo... | interfacesweb/s2_marsattack | api_1/templates/videogamelist_template.php | PHP | gpl-2.0 | 1,597 |
/*
* This file is part of lanterna (http://code.google.com/p/lanterna/).
*
* lanterna 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 3 of the License, or
* (at your option) any la... | Tusamarco/stresstool | src/com/googlecode/lanterna/gui/Theme.java | Java | gpl-2.0 | 8,611 |
/*
* s2mpb02.h - Driver for the Samsung s2mpb02
*
* Copyright (C) 2014 Samsung Electrnoics
* XXX <xxx@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; either version 2 of... | ashyx/kernel_gts28ve-gts210ve | include/linux/mfd/s2mpb02.h | C | gpl-2.0 | 2,938 |
/* Common declarations for all of GNU Fortran libcaf implementations.
Copyright (C) 2011-2015 Free Software Foundation, Inc.
Contributed by Tobias Burnus <burnus@net-b.de>
This file is part of the GNU Fortran Coarray Runtime Library (libcaf).
Libcaf is free software; you can redistribute it and/or modify
it und... | rofirrim/gcc-tiny | libgfortran/caf/libcaf.h | C | gpl-2.0 | 5,098 |
/* Copyright (c) 2012-2014, The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
* only version 2 as published by the Free Software Foundation.
*
* This program is distributed in the... | TeamRegular/android_kernel_tcl_msm8916 | drivers/thermal/msm_thermal.c | C | gpl-2.0 | 129,560 |
// initializeSearchBox
// Description: used to set an initial value for the search
// box, clear it when the user clicks into it and
// reset the value if no text was entered
function initializeSearchBox() {
var inputPrompt = "Search people and the Web";
$("#q").val(inputPrompt);
$("#q").focus(function(... | shermang/unca | sites/all/themes/unca/unca_department/js/functions.js | JavaScript | gpl-2.0 | 3,690 |
{% extends "user_profile_base_extended.html" %}
{% load i18n %}
{% block title %}{% trans "Profile" %} | {{ block.super }}{% endblock %}
{% block breadcrumbs %}
{{ block.super }}<li>{% trans "Profile" %}</li>
{% endblock %}
{% block body_id %}profile{% endblock %}
{% block section_description %}{% trans "Here you... | ttreeagency/PootleTypo3Org | pootle/templates/profiles/edit_personal.html | HTML | gpl-2.0 | 1,085 |
#ifndef __WHOWAS_H
#define __WHOWAS_H
#define WW_MAXCHANNELS 20
#define WW_DEFAULT_MAXENTRIES 1000
#define WW_MASKLEN (HOSTLEN + USERLEN + NICKLEN)
#define WW_REASONLEN 512
typedef struct whowas {
int type;
time_t timestamp;
nick nick; /* unlinked nick */
chanindex *channels[WW_MAXCHANNELS];
/* WHOWAS_QUIT... | NikosPapakonstantinou/newserv | whowas/whowas.h | C | gpl-2.0 | 1,083 |
/* objdump.c -- dump information about an object file.
Copyright (C) 1990-2020 Free Software Foundation, Inc.
This file is part of GNU Binutils.
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 Fo... | mattstock/binutils-bexkat1 | binutils/objdump.c | C | gpl-2.0 | 144,000 |
.identificacao {
width:500px;
}
.detalhamento {
width:500px;
height:200px;
}
.genero {
color:#6e6e6e;
}
.arquivo {
width:500px;
}
.aviso {
color:#f00;
text-align:justify;
}
.info {
width:780px;
padding:10px;
margin-top:10px;
font-size:10px;
background:#f0f0f0;
}
.info inp... | tassiocaique/gtransp | admin/editar_despesa.css | CSS | gpl-2.0 | 417 |
/* Copyright 2013 David Axmark
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 applicable law or agreed to in writing, software
distr... | MoSync/MoSync | runtimes/cpp/platforms/sdl/OpenGLES.h | C | gpl-2.0 | 1,011 |
/* pwsafe.c
*
* Password Safe cracker
* Copyright (C) 2013 Dhiru Kholia <dhiru at openwall.com>
*
* hashkill - a hash cracking tool
* Copyright (C) 2010 Milen Rangelov <gat3way@gat3way.eu>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public Li... | gat3way/hashkill | src/plugins/pwsafe.c | C | gpl-2.0 | 4,086 |
/*
* Copyright (C) 2010 Google Inc. All rights reserved.
* Copyright (C) 2016 Apple Inc. 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 retai... | Debian/openjfx | modules/web/src/main/native/Source/WebCore/html/RadioInputType.h | C | gpl-2.0 | 2,561 |
/* ===========================================================
* JFreeChart : a free chart library for the Java(tm) platform
* ===========================================================
*
* (C) Copyright 2000-2007, by Object Refinery Limited and Contributors.
*
* Project Info: http://www.jfree.org/jfreech... | SpoonLabs/astor | examples/chart_11/source/org/jfree/chart/event/AxisChangeListener.java | Java | gpl-2.0 | 2,464 |
/*****************************************************************************
Copyright (c) 1995, 2011, 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
Founda... | oscar810429/mysql-5.6_facebook | storage/innobase/os/os0sync.cc | C++ | gpl-2.0 | 25,773 |
cmd_drivers/media/common/tuners/tea5761.ko := /home/gjdlfg/kernel/prebuilt/linux-x86/toolchain/arm-eabi-4.4.0/bin/arm-eabi-ld -EL -r -T /home/gjdlfg/kernel/omap/scripts/module-common.lds --build-id -o drivers/media/common/tuners/tea5761.ko drivers/media/common/tuners/tea5761.o drivers/media/common/tuners/tea5761.mod.o... | jdlfg/Mecha-kernel | drivers/media/common/tuners/.tea5761.ko.cmd | Batchfile | gpl-2.0 | 321 |
<?php
/**
* @version $Id: default.php 39490 2011-07-05 06:50:31Z btowles $
* @author RocketTheme http://www.rockettheme.com
* @copyright Copyright (C) 2007 - 2013 RocketTheme, LLC
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only
*/
?>
<?php if ($that->show_page_heading): ?>
<h1><?ph... | smetal/gvdd | components/com_rokgallery/templates/gallery/grid-4col/default.php | PHP | gpl-2.0 | 1,003 |
/* Touch_synaptics.c
*
* Copyright (C) 2012 LGE.
*
* Author: yehan.ahn@lge.com, hyesung.shin@lge.com
*
* 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.
*
* ... | aicjofs/android_kernel_lge_v500 | drivers/input/touchscreen/touch_synaptics.c | C | gpl-2.0 | 45,288 |
/*
* Copyright (C) 2014 Apple Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions a... | loveyoupeng/rt | modules/web/src/main/native/Source/WebCore/html/canvas/OESTextureHalfFloatLinear.h | C | gpl-2.0 | 1,876 |
<h3 class="evento"><?php echo __('Notas')?></h3>
<?php if (!$pager->getNbResults()): ?>
<blockquote class="notice"><p>
<?php echo __('No hay notas') ?>
</p></blockquote>
<?php else: ?>
<?php include_partial('notas_list', array('pager' => $pager , 'labels' => $labels)) ?>
<?php endif; ?>
<?php //include_partial('notas_a... | Esleelkartea/legedia-ESLE | legedia2/apps/frontend/modules/panel/templates/_notas.php | PHP | gpl-2.0 | 334 |
/*
* Copyright (c) 2003, 2007-11 Matteo Frigo
* Copyright (c) 2003, 2007-11 Massachusetts Institute of Technology
*
* 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 ... | dstuck/tinker_integrated_PIMC | tinker/fftw/rdft/scalar/r2cb/r2cbIII_2.c | C | gpl-2.0 | 3,192 |
// SPDX-License-Identifier: GPL-2.0-or-later
/* Copyright (c) 2021 SUSE LLC */
#include <stdlib.h>
#include <stdio.h>
#include "tst_test.h"
static char *only_mount_v1;
static char *no_cleanup;
static struct tst_option opts[] = {
{"v", &only_mount_v1, "-v\tOnly try to mount CGroups V1"},
{"n", &no_cleanup, "-n\tLea... | linux-test-project/ltp | lib/newlib_tests/tst_cgroup02.c | C | gpl-2.0 | 2,169 |
/*
* Exercise Classic API Workspace Wrappers
*
* COPYRIGHT (c) 1989-2009.
* 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: init.c,v 1.4 2... | yunusdawji/rtems-at91sam9g20ek | testsuites/sptests/spwkspace/init.c | C | gpl-2.0 | 2,138 |
/*
* Implementation of the kernel access vector cache (AVC).
*
* Authors: Stephen Smalley, <sds@epoch.ncsc.mil>
* James Morris <jmorris@redhat.com>
*
* Update: KaiGai, Kohei <kaigai@ak.jp.nec.com>
* Replaced the avc_lock spinlock by RCU.
*
* Copyright (C) 2003 Red Hat, Inc., James Morris <jmorris@redha... | thicklizard/m9-patches | security/selinux/avc.c | C | gpl-2.0 | 31,378 |
<?php
class temporaryModelBup extends modelBup
{
private $basePath;
public function setBasePath($basePath)
{
$this->basePath = untrailingslashit($basePath);
}
public function getBasePath()
{
return $this->basePath;
}
public function getPath()
{
return $thi... | VitaliyProdan/pro-massage | wp-content/plugins/backup-by-supsystic/modules/warehouse/models/temporary.php | PHP | gpl-2.0 | 1,793 |
# coding: utf-8
"""
Utilities for database insertion
"""
import gridfs
import json
import pymongo
import paramiko
import os
import stat
import shutil
from monty.json import MSONable
class MongoDatabase(MSONable):
"""
MongoDB database class for access, insertion, update, ... in a MongoDB database
"""
... | davidwaroquiers/abiflows | abiflows/fireworks/utils/databases.py | Python | gpl-2.0 | 10,111 |
<?php
/**
* ---------------------------------------------------------------------
* GLPI - Gestionnaire Libre de Parc Informatique
* Copyright (C) 2015-2021 Teclib' and contributors.
*
* http://glpi-project.org
*
* based on GLPI - Gestionnaire Libre de Parc Informatique
* Copyright (C) 2003-2014 by the INDEPNET... | stonebuzz/glpi | inc/ipaddress_ipnetwork.class.php | PHP | gpl-2.0 | 3,521 |
<?php
XxxInstaller::Install('XwwForms');
#
# XwwForms - Xoo World of Wiki - Forms
#
# Part of Xoo (c) 1997-2008 [[w:en:User:Zocky]], mitko.si
# GPL3 applies
#
#
# Wikivariables and parser functions for dealing with forms
#
############################################################################
class XwwForms e... | wiki-data/wiki-data | extensions/Xoo/Xww/Forms.php | PHP | gpl-2.0 | 2,274 |
//=============================================================================
// MuseScore
// Music Composition & Notation
//
// Copyright (C) 2002-2011 Werner Schweer
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2
// ... | Red54/MuseScore | libmscore/dynamic.cpp | C++ | gpl-2.0 | 13,542 |
@echo off
call unc ISR_GCC_HC12B.c
call unc ISR_GCC_HC12Dx128.c
| brahimalaya/K-OS--Driver-Kit | InstallISR/gcc/hc12/proc.bat | Batchfile | gpl-2.0 | 64 |
<?php
/**
* The Sidebar containing the main widget areas.
*
* @package dino
*/
?>
<div id="sidebar">
<?php dynamic_sidebar('sidebar');?>
<div class="clear"></div>
</div> | rayhan-mursalin/ecnh | wp-content/themes/food-cook/sidebar.php | PHP | gpl-2.0 | 188 |
/*
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2017 - ROLI Ltd.
JUCE is an open source library subject to commercial or open-source
licensing.
By using JUCE, you agree to the terms of both the JUCE 5 End... | liamlacey/Shuttertone | JuceLibraryCode/modules/juce_gui_basics/buttons/juce_Button.h | C | gpl-2.0 | 21,578 |
describe('fs-xhr',function() {
function createJQPromise(success) {
return {
done: function() {
var p = Q.when(success);
return p.then.apply(p,arguments);
}
};
}
var fakeJQuery = {
get: jasmine.createSpy('jqget').andReturn(crea... | rikkertkoppes/fllscoring | spec/services/fs-xhrSpec.js | JavaScript | gpl-2.0 | 3,106 |
/*
* Tool for fine grained PE code permutation
* Copyright (C) 2015 Bruno Humic
*
* 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) a... | bhumic/PErmutator | Source/Node.cpp | C++ | gpl-2.0 | 2,029 |
// MissionMapsClass.cpp
// 1.4
// This file is part of OpenRedAlert.
//
// OpenRedAlert 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.
//
// OpenRedAlert is distrib... | erikkallen/openredalert | src/game/MissionMapsClass.cpp | C++ | gpl-2.0 | 3,907 |
<?php render($page['content']); ?>
<div class="l-page">
<div class="l-main" id="main-content">
<div class="l-content" role="main">
<h1><?php print t('Access denied'); ?></h1>
</div>
</div>
</div> | liquidfridge/phoebe | templates/system/page--403.tpl.php | PHP | gpl-2.0 | 214 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.