code stringlengths 3 1.05M | repo_name stringlengths 4 116 | path stringlengths 4 991 | language stringclasses 9
values | license stringclasses 15
values | size int32 3 1.05M |
|---|---|---|---|---|---|
/**
* \file InsetMathFontOld.cpp
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
* \author André Pönitz
*
* Full author contact details are available in file CREDITS.
*/
#include <config.h>
#include "InsetMathFontOld.h"
#include "MathData.h"
#include ... | xavierm02/lyx-mathpartir | src/mathed/InsetMathFontOld.cpp | C++ | gpl-2.0 | 2,314 |
<?php return array('dependencies' => array(), 'version' => 'a8dca9f7d5fd098db5af94613d2a8ec0'); | tstephen/srp-digital | wp-content/plugins/jetpack/_inc/build/shortcodes/js/recipes.min.asset.php | PHP | gpl-2.0 | 95 |
using System.Collections.Generic;
using System.Data.Linq.SqlClient;
using System.Linq;
using System.Web;
using System.Web.Security;
using CmsData;
using CmsWeb.Models;
using UtilityExtensions;
using Query = CmsData.Query;
namespace CmsWeb.Areas.Search.Models
{
public class SavedQueryModel : PagedTableModel<Query, ... | RGray1959/MyParish | CmsWeb/Areas/Search/Models/SavedQuery/SavedQueryModel.cs | C# | gpl-2.0 | 4,459 |
import sys
if __name__ == "__main__":
if len(sys.argv) < 2:
print "need input file"
sys.exit(1)
fin = open(sys.argv[1], "r")
lines = fin.readlines()
fin.close()
fout = open("bootloader.h", "w")
fout.write("/* File automatically generated by hex2header.py */\n\n")
fout.write("const unsigned int bootload... | diydrones/alceosd | firmware/bootloader_updater.X/hex2header.py | Python | gpl-2.0 | 1,513 |
/****************************************************************************
**
** Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies).
** Contact: Qt Software Information (qt-info@nokia.com)
**
** This file is part of the QtGui module of the Qt Toolkit.
**
** Commercial Usage
** Licensees holding valid Q... | liuyanghejerry/qtextended | qtopiacore/qt/src/gui/text/qfontengine_win.cpp | C++ | gpl-2.0 | 43,049 |
<?php defined( '_JEXEC') or die( 'Restricted Access' );
/**
* Zend Framework
*
* LICENSE
*
* This source file is subject to the new BSD license that is bundled
* with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://framework.zend.com/license/new-bsd
... | kiennd146/nhazz.com | plugins/system/zend/Zend/Amf/Util/BinaryStream.php | PHP | gpl-2.0 | 7,414 |
/**
* Magento
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE_AFL.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy... | T0MM0R/magento | web/js/mage/adminhtml/tabs.js | JavaScript | gpl-2.0 | 10,013 |
#!/usr/bin/python2.4
# Copyright 2008 Google Inc.
# Author : Anoop Chandran <anoopj@google.com>
#
# openduckbill is a simple backup application. It offers support for
# transferring data to a local backup directory, NFS. It also provides
# file system monitoring of directories marked for backup. Please read
# the READ... | xtao/openduckbill | src/helper.py | Python | gpl-2.0 | 3,110 |
<?php
/**
* -----------------------------------------------------------------------------
*
* Functions for TwitterZoid PHP Script
* Copyright (c) 2008 Philip Newborough <mail@philipnewborough.co.uk>
*
* http://crunchbang.org/archives/2008/02/20/twitterzoid-php-script/
*
* LICENSE: This program is free software... | cifren/opussalon | administrator/components/com_joomailermailchimpintegration/libraries/TwitterZoid.php | PHP | gpl-2.0 | 3,467 |
<?php
echo '<h2 class="paddingtop">' . $words->get('members') . '</h2>';
$User = new APP_User;
$words = new MOD_words();
$layoutbits = new MOD_layoutbits;
$url = '/places/' . htmlspecialchars($this->countryName) . '/' . $this->countryCode . '/';
if ($this->regionCode) {
$url .= htmlspecialchars($this->regionName) .... | thisismeonmounteverest/rox | build/places/templates/memberlist.php | PHP | gpl-2.0 | 2,396 |
<?php
/**
* Copyright © 2015 Magento. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\Framework\View;
use Magento\Framework\View\Design\ThemeInterface;
/**
* View file in the file system with context of its identity
*/
class File
{
/**
* File name
*
* @var str... | FPLD/project0 | vendor/magento/framework/View/File.php | PHP | gpl-2.0 | 2,453 |
(function ($) {
/**
* Attaches double-click behavior to toggle full path of Krumo elements.
*/
Drupal.behaviors.devel = {
attach: function (context, settings) {
// Add hint to footnote
$('.krumo-footnote .krumo-call').once().before('<img style="vertical-align: middle;" title="Click to expand. Double-click... | brharp/hjckrrh | profiles/ug/modules/ug/ug_demo/data/images/public/js/js_GWG8O3mHf8xRnabCEJIqQCLluQ1UIMRNp4CIToqq9Ow.js | JavaScript | gpl-2.0 | 17,330 |
<?php
class sigesp_snorh_c_diaferiado
{
var $io_sql;
var $io_mensajes;
var $io_funciones;
var $io_seguridad;
var $io_sno;
var $ls_codemp;
//-----------------------------------------------------------------------------------------------------------------------------------
function sigesp_snorh_c_dia... | omerta/huayra | sno/sigesp_snorh_c_diaferiado.php | PHP | gpl-2.0 | 16,072 |
#!/usr/bin/env rspec
require_relative "test_helper"
require "yaml"
# Important: Loads data in constructor
Yast.import "Product"
Yast.import "Mode"
Yast.import "Stage"
Yast.import "OSRelease"
Yast.import "PackageSystem"
Yast.import "Pkg"
Yast.import "PackageLock"
Yast.import "Mode"
Yast.import "Stage"
include Yast:... | gabi2/yast-yast2 | library/packages/test/product_test.rb | Ruby | gpl-2.0 | 11,801 |
var contextMenuObserving;
var contextMenuUrl;
function contextMenuRightClick(event) {
var target = $(event.target);
if (target.is('a')) {return;}
var tr = target.parents('tr').first();
if (!tr.hasClass('hascontextmenu')) {return;}
event.preventDefault();
if (!contextMenuIsSelected(tr)) {
contextMenuUns... | cvnhan/ncredmine | public/javascripts/context_menu.js | JavaScript | gpl-2.0 | 6,545 |
/********************************************************************************
Copyright (C) MixERP Inc. (http://mixof.org).
This file is part of MixERP.
MixERP 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... | gjms2000/mixerp | src/FrontEnd/MixERP.Net.FrontEnd/Modules/BackOffice/CustomFields.ascx.cs | C# | gpl-2.0 | 1,053 |
/* AbiWord
* Copyright (C) 2004 Luca Padovani <lpadovan@cs.unibo.it>
*
* 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 vers... | tanya-guza/abiword | plugins/mathview/xp/gr_Abi_CharArea.cpp | C++ | gpl-2.0 | 2,657 |
<?php
/**
* @file
* Default theme implementation to display a region.
*
* Available variables:
* - $regions: Renderable array of regions associated with this zone
* - $enabled: Flag to detect if the zone was enabled/disabled via theme settings
* - $wrapper: Flag set to display a full browser width wrapper around... | 404pnf/d7sites | sites/csc.fltrp.com/themes/standard/omega/omega/templates/zone.tpl.php | PHP | gpl-2.0 | 1,173 |
package cc.wdcy.domain;
import cc.wdcy.infrastructure.DateUtils;
import cc.wdcy.domain.shared.GuidGenerator;
import java.io.Serializable;
import java.util.Date;
/**
* @author Shengzhao Li
*/
public abstract class AbstractDomain implements Serializable {
/**
* Database id
*/
protected int id;
... | vFiv/spring-oauth-server | src/main/java/cc/wdcy/domain/AbstractDomain.java | Java | gpl-2.0 | 1,925 |
/*
Copyright (C) 2008 Paul Davis
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 distr... | johannes-mueller/ardour | libs/ardour/analyser.cc | C++ | gpl-2.0 | 3,246 |
<?php global $woocommerce, $yith_wcwl; ?>
<?php
$instance = jaw_template_get_var('instance');
?>
<ul>
<?php if (isset($instance['login_show']) && $instance['login_show'] == '1') { ?>
<li class="top-bar-login-content" aria-haspopup="true">
<?php
$myaccount_page_id = get_option('wooco... | thanhtrantv/car-wp | wp-content/themes/goodstore/templates/widgets/jaw_ecommerce_widget.php | PHP | gpl-2.0 | 3,151 |
<?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... | petrofcikmatus/wp-blog | wp-content/themes/sketch/index.php | PHP | gpl-2.0 | 1,208 |
// license:GPL-2.0+
// copyright-holders:Couriersud
/*
* nld_legacy.c
*
*/
#include "nld_legacy.h"
#include "nl_setup.h"
NETLIB_NAMESPACE_DEVICES_START()
NETLIB_START(nicRSFF)
{
register_input("S", m_S);
register_input("R", m_R);
register_output("Q", m_Q);
register_output("QQ", m_QQ);
}
NETLIB_RESET(nicRSFF)... | RJRetro/mame | src/lib/netlist/devices/nld_legacy.cpp | C++ | gpl-2.0 | 1,191 |
<?php
/*
* @version $Id: ruledictionnarynetworkequipmenttypecollection.class.php 22656 2014-02-12 16:15:25Z moyo $
-------------------------------------------------------------------------
GLPI - Gestionnaire Libre de Parc Informatique
Copyright (C) 2003-2014 by the INDEPNET Development Team.
http://indepnet.net/... | flavioleal/projeto-towb | inc/ruledictionnarynetworkequipmenttypecollection.class.php | PHP | gpl-2.0 | 1,510 |
// { dg-do compile { target c++14 } }
//
// Copyright (C) 2013-2021 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library 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 Fou... | Gurgel100/gcc | libstdc++-v3/testsuite/20_util/underlying_type/requirements/alias_decl.cc | C++ | gpl-2.0 | 1,091 |
<div class="wrap">
<div class="postbox-container" style="width:95%; margin-right: 5%">
<div class="metabox-holder">
<div class="meta-box-sortables" style="min-height:0;">
<div class="postbox">
<h3 class="hndle"><span><?php echo $tr_Deck_Builder; ?></span></h3>
<div class="inside">
<p style="wi... | sharpmachine/unlikelyheroes.com | wp-content/plugins/ignitiondeck/templates/admin/_deckBuilder.php | PHP | gpl-2.0 | 3,759 |
;(function ($, window, document, undefined) {
'use strict';
var settings = {
callback: $.noop,
deep_linking: true,
init: false
},
methods = {
init : function (options) {
settings = $.extend({}, options, settings);
return this.each(function () {
... | RemanenceStudio/intuisens | wp-content/themes/intuisens/js/foundation/jquery.foundation.tabs.js | JavaScript | gpl-2.0 | 1,977 |
<?php
/**
* ------------------------------------------------------------------------
* T3V2 Framework
* ------------------------------------------------------------------------
* Copyright (C) 2004-20011 J.O.O.M Solutions Co., Ltd. All Rights Reserved.
* @license - GNU/GPL, http://www.gnu.org/licenses/gpl.html... | heqiaoliu/Viral-Dark-Matter | tmp/install_4f209c9de9bf1/plugins/system/jat3/base-themes/default/page/ajax.modules.php | PHP | gpl-2.0 | 657 |
#define _CRT_SECURE_NO_DEPRECATE
#include <stdio.h>
#include <deque>
#include <set>
#ifdef WIN32
#include "direct.h"
#else
#include <sys/stat.h>
#endif
#include "dbcfile.h"
#include "mpq_libmpq.h"
extern unsigned int iRes;
extern ArchiveSet gOpenArchives;
bool ConvertADT(char*,char*);
typedef struct{
char nam... | brotalnia/TrinityZero | contrib/extractor/System.cpp | C++ | gpl-2.0 | 6,690 |
#!/usr/bin/python
# pep8.py - Check Python source code formatting, according to PEP 8
# Copyright (C) 2006 Johann C. Rocholl <johann@browsershots.org>
#
# Permission is hereby granted, free of charge, to any person
# obtaining a copy of this software and associated documentation files
# (the "Software"), to deal in the... | MSusik/invenio | scripts/pep8.py | Python | gpl-2.0 | 29,318 |
<?php
/**
* @version $Id: ItemPrivacyPopulator.php 10887 2013-05-30 06:31:57Z 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
*/
class RokSprocket_Provider_EasyBlog_ItemPriv... | effortlesssites/template | components/com_roksprocket/lib/RokSprocket/Provider/EasyBlog/ItemPrivacyPopulator.php | PHP | gpl-2.0 | 616 |
require 'rexml/document'
module Ohcount
module Gestalt
class CsprojRule < FileRule
attr_accessor :import
def initialize(*args)
@import = args.shift || /.*/
@import = /^#{Regexp.escape(@import.to_s)}$/ unless @import.is_a? Regexp
super(args)
end
def process_source_file(source_file)
... | scriptum/ohcount | ruby/gestalt/rules/csproj_rule.rb | Ruby | gpl-2.0 | 739 |
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="cs_CZ">
<context>
<name>AboutDialog</name>
<message>
<location filename="../../build/pcmanfm/ui_about.h" line="134"/>
<source>About</source>
<translation type="unfinished">O</translation>
</message>
... | rbazaud/pcmanfm-qt | pcmanfm/translations/pcmanfm-qt_cs_CZ.ts | TypeScript | gpl-2.0 | 53,147 |
/*
* Copyright 2007 Sun Microsystems, Inc.
*
* This file is part of jVoiceBridge.
*
* jVoiceBridge 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 and distributed hereunder
* to you.
*
* ... | damirkusar/jvoicebridge | softphone/src/com/sun/mc/softphone/media/coreaudio/CoreAudioAudioServiceProvider.java | Java | gpl-2.0 | 4,493 |
<?php
/**
* Copyright © 2015 Magento. All rights reserved.
* See COPYING.txt for license details.
*/
// @codingStandardsIgnoreFile
/**
* Adminhtml catalog product edit action attributes update tab block
*
* @author Magento Core Team <core@magentocommerce.com>
*/
namespace Magento\Catalog\Block\Adminhtml\P... | FPLD/project0 | vendor/magento/module-catalog/Block/Adminhtml/Product/Edit/Action/Attribute/Tab/Attributes.php | PHP | gpl-2.0 | 5,430 |
<?php
/**
* EasyRdf
*
* LICENSE
*
* Copyright (c) 2009-2010 Nicholas J Humfrey. 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 c... | SuriyaaKudoIsc/wikia-app-test | extensions/SemanticWebBrowser/lib/EasyRdf/Serialiser/Rapper.php | PHP | gpl-2.0 | 5,338 |
#!/usr/bin/env python3
import os
import sys
import subprocess
if os.getenv("MSYSTEM") == "MINGW32":
mingw_dir = "/mingw32"
elif os.getenv("MSYSTEM") == "MINGW64":
mingw_dir = "/mingw64"
p = subprocess.Popen([
"sh", "-c",
"cp {}/bin/{} {}".format(mingw_dir, sys.argv[1], sys.argv[2])])
sys.exit(p.wait(... | cnvogelg/fs-uae | dist/windows/clib.py | Python | gpl-2.0 | 323 |
package net.minecraft.util.text;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
import com.google.gson.JsonArray;
import com.google.gson.JsonDeserializationContext;
import com.google.gson.JsonDeserializer;
import com.google.gson.JsonElement;
import com.google.gson.JsonObject;
import com.google.gson.J... | aebert1/BigTransport | build/tmp/recompileMc/sources/net/minecraft/util/text/ITextComponent.java | Java | gpl-3.0 | 12,605 |
/* Refresh.js
*
* copyright (c) 2010-2017, Christian Mayer and the CometVisu contributers.
*
* 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... | robert1978/CometVisu | source/class/cv/ui/structure/pure/Refresh.js | JavaScript | gpl-3.0 | 1,913 |
# encoding: utf-8
import datetime
from south.db import db
from south.v2 import SchemaMigration
from django.db import models
class Migration(SchemaMigration):
def forwards(self, orm):
# Adding model 'ContactRole'
db.create_table('base_contactrole', (
('id', self.gf('django.db.m... | dwoods/gn-maps | geonode/base/migrations/0001_initial.py | Python | gpl-3.0 | 25,336 |
/* Avuna HTTPD - General Server Applications Copyright (C) 2015 Maxwell Bruce 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. Th... | JavaProphet/AvunaHTTPD-Java | src/org/avuna/httpd/mail/imap/command/IMAPCommandCreate.java | Java | gpl-3.0 | 1,747 |
/*
* This file is part of the dSploit.
*
* Copyleft of Simone Margaritelli aka evilsocket <evilsocket@gmail.com>
*
* dSploit 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 Licen... | zabubaev/dsploit | src/it/evilsocket/dsploit/gui/dialogs/ChoiceDialog.java | Java | gpl-3.0 | 2,193 |
<?php
/**
* 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 it will... | kylethayer/bioladder | wiki/maintenance/benchmarks/benchmarkCSSMin.php | PHP | gpl-3.0 | 2,049 |
package org.zeromq;
import java.io.Closeable;
import java.io.IOException;
import org.zeromq.ZMQ.Context;
import org.zeromq.ZMQ.Socket;
/**
* ZeroMQ Queue Device implementation.
*
* @author Alois Belaska <alois.belaska@gmail.com>
*/
public class ZMQQueue implements Runnable, Closeable {
private final ZMQ.Po... | aol/jzmq | src/org/zeromq/ZMQQueue.java | Java | gpl-3.0 | 2,634 |
import PropTypes from 'prop-types';
import React, { Component } from 'react';
import styles from './ModalFooter.css';
class ModalFooter extends Component {
//
// Render
render() {
const {
children,
...otherProps
} = this.props;
return (
<div
className={styles.modalFooter}... | Radarr/Radarr | frontend/src/Components/Modal/ModalFooter.js | JavaScript | gpl-3.0 | 485 |
<?php
/**
* @file
* This file is part of the PdfParser library.
*
* @author Sébastien MALOT <sebastien@malot.fr>
* @date 2017-01-03
* @license LGPLv3
* @url <https://github.com/smalot/pdfparser>
*
* PdfParser is a pdf library written in PHP, extraction oriented.
* Copyright (C) 2017 - Séba... | j0k3r/pdfparser | src/Smalot/PdfParser/Font/FontType3.php | PHP | gpl-3.0 | 1,227 |
package de.btu.openinfra.backend.db.rbac;
import java.util.UUID;
import de.btu.openinfra.backend.db.OpenInfraSchemas;
import de.btu.openinfra.backend.db.daos.TopicCharacteristicToAttributeTypeGroupDao;
import de.btu.openinfra.backend.db.jpa.model.AttributeTypeGroup;
import de.btu.openinfra.backend.db.jpa.model... | OpenInfRA/core | openinfra_core/src/main/java/de/btu/openinfra/backend/db/rbac/TopicCharacteristicToAttributeTypeGroupRbac.java | Java | gpl-3.0 | 1,063 |
/*
* Thresher IRC client library
* Copyright (C) 2002 Aaron Hunter <thresher@sharkbite.org>
*
* 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 you... | Dmitchell94/MCForge-Vanilla-Original | sharkbite.thresher/Ctcp/CtcpUtil.cs | C# | gpl-3.0 | 2,431 |
# encoding: UTF-8
# This file contains data derived from the IANA Time Zone Database
# (http://www.iana.org/time-zones).
module TZInfo
module Data
module Definitions
module Europe
module Minsk
include TimezoneDefinition
timezone 'Europe/Minsk' do |tz|
tz.... | somniumio/Somnium | vendor/cache/ruby/2.3.0/gems/tzinfo-data-1.2017.2/lib/tzinfo/data/definitions/Europe/Minsk.rb | Ruby | gpl-3.0 | 4,340 |
<?php
/**
* Déclarations relatives à la base de données
*
* @plugin SVP pour SPIP
* @license GPL
* @package SPIP\SVP\Pipelines
**/
/**
* Déclarer les objets éditoriaux de SVP
*
* - Dépot : table spip_depots
* - Plugin : table spip_plugins
* - Paquet : table spip_paquets
*
* @pipeline declarer_tables_obje... | ernestovi/ups | spip/plugins-dist/svp/base/svp_declarer.php | PHP | gpl-3.0 | 10,636 |
#include <stdio.h>
#include "license_hash.hh"
#ifdef DMALLOC
#include <dmalloc.h>
#endif
#define STRLONG 4096
int main(int argc, const char* argv[])
{
char license[STRLONG];
if (argc > 1)
{
if (GenerateTempKey(license, 4096, argv[1]) == 0)
printf("%s", license);
}
else
... | Zengwn/ViewTouch-POS-System | main/temphash.cc | C++ | gpl-3.0 | 401 |
<?php
/* Copyright (C) 2002-2006 Rodolphe Quiedeville <rodolphe@quiedeville.org>
* Copyright (C) 2004-2015 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2004 Eric Seigne <eric.seigne@ryxeo.com>
* Copyright (C) 2003 Brian Fraval <brian@fraval.org>
* Copy... | Franck-MOREAU/dolibarr | htdocs/societe/class/societe.class.php | PHP | gpl-3.0 | 125,850 |
#! /usr/bin/env python
import sys
from aubio import source, pitch, freqtomidi
if len(sys.argv) < 2:
print "Usage: %s <filename> [samplerate]" % sys.argv[0]
sys.exit(1)
filename = sys.argv[1]
downsample = 1
samplerate = 44100 / downsample
if len( sys.argv ) > 2: samplerate = int(sys.argv[2])
win_s = 4096 / ... | madmouser1/aubio | python/demos/demo_pitch.py | Python | gpl-3.0 | 3,193 |
/*
* Syncany, www.syncany.org
* Copyright (C) 2011-2015 Philipp C. Heckel <philipp.heckel@gmail.com>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
... | brogowski/syncany-plugin-azureblobstorage | core/syncany-lib/src/main/java/org/syncany/plugins/transfer/oauth/OAuth.java | Java | gpl-3.0 | 2,506 |
/*
* Copyright (c) 2007 by Fraunhofer IML, Dortmund.
* All rights reserved.
*
* Project: myWMS
*/
package org.mywms.cactustest;
import java.io.NotSerializableException;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import org.mywms.model.ClearingItem;
import org.mywms.model.ClearingIte... | tedvals/mywms | server.app/mywms.as/cactus/src/org/mywms/cactustest/ClearingItemServiceTest.java | Java | gpl-3.0 | 6,345 |
# Phatch - Photo Batch Processor
# Copyright (C) 2007-2008 www.stani.be
#
# 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... | anish/phatch | phatch/actions/transpose.py | Python | gpl-3.0 | 9,462 |
import { Component, OnInit, ViewChild, ViewEncapsulation } from '@angular/core';
import { DatePipe, Location } from '@angular/common';
import { addYears, subYears, addDays, startOfMonth, endOfMonth, getMonth, getYear, isToday, isValid } from 'date-fns';
import { CalendarDateFormatter, CalendarMonthViewDay, CalendarEven... | jrtdev/yum | yumfe/src/app/admin/holidays/holidays.component.ts | TypeScript | gpl-3.0 | 5,296 |
using System;
using System.Xml.Serialization;
namespace Aop.Api.Response
{
/// <summary>
/// AlipaySecurityProdFingerprintApplyResponse.
/// </summary>
public class AlipaySecurityProdFingerprintApplyResponse : AopResponse
{
/// <summary>
/// IFAA标准中的校验类型,目前1为指纹
/// </summary... | ColgateKas/cms | source/BaiRong.Core/ThirdParty/Alipay/openapi/Response/AlipaySecurityProdFingerprintApplyResponse.cs | C# | gpl-3.0 | 926 |
/* Avuna HTTPD - General Server Applications Copyright (C) 2015 Maxwell Bruce 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. Th... | JavaProphet/AvunaHTTPD-Java | src/org/avuna/httpd/http/ResponseGenerator.java | Java | gpl-3.0 | 4,004 |
<?php
$graph_type = "toner_usage";
$toners = dbFetchRows("SELECT * FROM `toner` WHERE device_id = ?", array($device['device_id']));
if (count($toners))
{
echo("<div style='background-color: #eeeeee; margin: 5px; padding: 5px;'>");
echo("<p style='padding: 0px 5px 5px;' class=sectionhead>");
echo('<a class="sec... | zylon-internet/librenms | html/pages/device/overview/toner.inc.php | PHP | gpl-3.0 | 2,200 |
#include "testapi.h"
#include "spark_wiring_i2c.h"
#include "Serial2/Serial2.h"
#include "Serial3/Serial3.h"
#include "Serial4/Serial4.h"
#include "Serial5/Serial5.h"
test(api_i2c)
{
int buffer;
API_COMPILE(buffer=I2C_BUFFER_LENGTH);
(void)buffer;
}
test(api_wiring_pinMode) {
PinMode mode = PIN_MODE... | bluzDK/bluzDK-firmware | user/tests/wiring/api/wiring.cpp | C++ | gpl-3.0 | 4,116 |
/*
* This file is part of MUSIC.
* Copyright (C) 2009 INCF
*
* MUSIC 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.
*
*... | weidel-p/MUSIC | src/distributor.cc | C++ | gpl-3.0 | 3,675 |
<?php
/**
* rasp_settings
* Parses the rasp_settings.xml and store the result in the well known rasp settings
* XML file created and restructured php 2012 by Lukas Kremsmayr
*/
/* Please don't make any changes in this file!!
Please make all your changes in the following file:
configs/plugins/rasp/rasp_setti... | ManiaAseco/MPAseco | update/update_v05x-080/includes/rasp.settings.php | PHP | gpl-3.0 | 5,100 |
(function($){
// Search
var $searchWrap = $('#search-form-wrap'),
isSearchAnim = false,
searchAnimDuration = 200;
var startSearchAnim = function(){
isSearchAnim = true;
};
var stopSearchAnim = function(callback){
setTimeout(function(){
isSearchAnim = false;
callback && callback()... | NiroDu/nirodu.github.io | themes/hiker/source/js/scripts.js | JavaScript | gpl-3.0 | 4,098 |
// I18N constants
// LANG: "es-ar", ENCODING: UTF-8 | ISO-8859-1
// Author: Mihai Bazon, <mishoo@infoiasi.ro>
// FOR TRANSLATORS:
//
// 1. PLEASE PUT YOUR CONTACT INFO IN THE ABOVE LINE
// (at least a valid email address)
//
// 2. PLEASE TRY TO USE UTF-8 FOR ENCODING;
// (if this is not possible, please... | care2x/2.7 | js/html_editor/plugins/SpellChecker/lang/es-ar.js | JavaScript | gpl-3.0 | 2,070 |
"use strict";
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.parsePairs = parsePairs;
exports.createPairs = createPairs;
exports.default = void 0;
var _errors = require("../../errors");
var _Map = _intero... | mdranger/mytest | node_modules/yaml/browser/dist/tags/yaml-1.1/pairs.js | JavaScript | mpl-2.0 | 2,962 |
package common
import (
"reflect"
"testing"
)
func TestVBoxBundleConfigPrepare_VBoxBundle(t *testing.T) {
// Test with empty
c := new(VBoxBundleConfig)
errs := c.Prepare(testConfigTemplate(t))
if len(errs) > 0 {
t.Fatalf("err: %#v", errs)
}
if !reflect.DeepEqual(*c, VBoxBundleConfig{BundleISO: false}) {
... | bryson/packer | builder/virtualbox/common/vboxbundle_config_test.go | GO | mpl-2.0 | 638 |
// Copyright (C) 2008-2015 Conrad Sanderson
// Copyright (C) 2008-2015 NICTA (www.nicta.com.au)
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
//! \addtogroup ... | adevress/armadillo | include/armadillo_bits/operator_cube_minus.hpp | C++ | mpl-2.0 | 4,562 |
package ro.code4.czl.scrape.client.representation;
import java.util.List;
/**
* @author Ionut-Maxim Margelatu (ionut.margelatu@gmail.com)
*/
public class PublicationRepresentation {
private String identifier;
private String title;
private String type;
private String institution;
private String date;
pr... | mgax/czl-scrape | munca/src/main/java/ro/code4/czl/scrape/client/representation/PublicationRepresentation.java | Java | mpl-2.0 | 4,287 |
# -*- coding: utf-8 -*-
# Copyright: Damien Elmes <anki@ichi2.net>
# License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
import re, os, shutil, cgi
from anki.utils import checksum, call, namedtmp, tmpdir, isMac, stripHTML
from anki.hooks import addHook
from anki.lang import _
# if you modify ... | sunclx/anki | anki/latex.py | Python | agpl-3.0 | 4,659 |
// This file is part of libigl, a simple c++ geometry processing library.
//
// Copyright (C) 2013 Alec Jacobson <alecjacobson@gmail.com>
//
// This Source Code Form is subject to the terms of the Mozilla Public License
// v. 2.0. If a copy of the MPL was not distributed with this file, You can
// obtain one at htt... | prusa3d/Slic3r | src/libigl/igl/average_onto_faces.cpp | C++ | agpl-3.0 | 1,017 |
<?php
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public License v3.0.
// See the LICENCE file in the repository root for full licence text.
return [
'promote' => [
'pin' => 'Sei sicuro di voler promuovere questa trasmissione in diretta?',
'unpin' => "Sei s... | ppy/osu-web | resources/lang/it/livestreams.php | PHP | agpl-3.0 | 759 |
class ModeratedGradingForeignKeyIndexes < ActiveRecord::Migration[4.2]
tag :postdeploy
disable_ddl_transaction!
def change
add_index :submission_comments, :provisional_grade_id, where: "provisional_grade_id IS NOT NULL", algorithm: :concurrently
add_index :moderated_grading_provisional_grades, :source_pr... | matematikk-mooc/canvas-lms | db/migrate/20160616151853_moderated_grading_foreign_key_indexes.rb | Ruby | agpl-3.0 | 933 |
package dlug
// 0,1,2,3,4,5,6,7,8
var ByteLen []int = []int{1,2,3,4,5,6,8,9,17}
var PfxBitLen []int = []int{1,2,3,5,5,5,8,8,8}
var BitLen []uint = []uint{7,14,21,27,35,43,56,64,128}
var Pfx []byte = []byte{0,0x80,0xc0,0xe0,0xe8,0xf0,0xf8,0xf9,0xfa,0xff}
func Check(d []byte) bool {
if len... | curoverse/l7g | tools/cglf-tools/dlug/.save/cp2/dlug.go | GO | agpl-3.0 | 9,203 |
/*
* Copyright 2010-2012 Fabric Engine Inc. All rights reserved.
*/
#include <Fabric/Core/MR/ConstArray.h>
#include <Fabric/Core/RT/FixedArrayDesc.h>
#include <Fabric/Core/RT/Manager.h>
#include <Fabric/Core/RT/VariableArrayDesc.h>
#include <Fabric/Base/JSON/Decoder.h>
#include <Fabric/Base/JSON/Encoder.h>
#include... | ghostx2013/FabricEngine_Backup | Native/Core/MR/ConstArray.cpp | C++ | agpl-3.0 | 3,557 |
/*******************************************************************************
* This file is part of OpenNMS(R).
*
* Copyright (C) 2011-2014 The OpenNMS Group, Inc.
* OpenNMS(R) is Copyright (C) 1999-2014 The OpenNMS Group, Inc.
*
* OpenNMS(R) is a registered trademark of The OpenNMS Group, Inc.
*
* OpenNMS(... | roskens/opennms-pre-github | opennms-config-model/src/main/java/org/opennms/netmgt/config/service/Value.java | Java | agpl-3.0 | 5,047 |
<?php
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: google/privacy/dlp/v2beta1/dlp.proto
namespace Google\Cloud\Dlp\V2beta1;
use Google\Protobuf\Internal\GPBType;
use Google\Protobuf\Internal\RepeatedField;
use Google\Protobuf\Internal\GPBUtil;
/**
* Buckets represented as ranges, along with ... | wlwwt/shopware | vendor/google/proto-client/src/Google/Cloud/Dlp/V2beta1/BucketingConfig_Bucket.php | PHP | agpl-3.0 | 3,854 |
# -*- coding: utf-8 -*-
# (c) 2016 Alfredo de la Fuente - AvanzOSC
# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html
from openerp import models, fields, api
from dateutil.relativedelta import relativedelta
class saleOrderLine(models.Model):
_inherit = 'sale.order.line'
@api.multi
@api.dep... | alfredoavanzosc/odoo-addons | stock_information/models/sale_order_line.py | Python | agpl-3.0 | 1,803 |
<?php
namespace wcf\data\bbcode;
use wcf\data\DatabaseObjectEditor;
use wcf\data\IEditableCachedObject;
use wcf\system\cache\builder\BBCodeCacheBuilder;
/**
* Provides functions to edit bbcodes.
*
* @author Alexander Ebert
* @copyright 2001-2015 WoltLab GmbH
* @license GNU Lesser General Public License <http://o... | ramiusGitHub/WCF | wcfsetup/install/files/lib/data/bbcode/BBCodeEditor.class.php | PHP | lgpl-2.1 | 812 |
<?php
/*
* Copyright © 2010 - 2013 Modo Labs Inc. All rights reserved.
*
* The license governing the contents of this file is located in the LICENSE
* file located at the root directory of this distribution. If the LICENSE file
* is missing, please contact sales@modolabs.com.
*
*/
includePackage('News');
inclu... | modolabs/Kurogo-Mobile-Web | app/modules/athletics/AthleticsShellModule.php | PHP | lgpl-2.1 | 3,854 |
/****************************************************************************
**
** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of Qt Creator.
**
** Commercial License Usage
** Licensees holding valid commercial Qt licenses may use this f... | maui-packages/qt-creator | src/plugins/remotelinux/packageuploader.cpp | C++ | lgpl-2.1 | 4,820 |
/* ===========================================================
* JFreeChart : a free chart library for the Java(tm) platform
* ===========================================================
*
* (C) Copyright 2000-2008, by Object Refinery Limited and Contributors.
*
* Project Info: http://www.jfree.org/jfreech... | apetresc/JFreeChart | src/main/java/org/jfree/chart/plot/DefaultDrawingSupplier.java | Java | lgpl-2.1 | 18,055 |
/*
* Copyright (c) 2010-2012 Grid Dynamics Consulting Services, Inc, All Rights Reserved
* http://www.griddynamics.com
*
* 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
* versi... | dlatnikov/jagger | chassis/invokers/src/main/java/com/griddynamics/jagger/invoker/http/HttpQuery.java | Java | lgpl-2.1 | 3,338 |
/****************************************************************************
**
** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: Nokia Corporation (qt-info@nokia.com)
**
** This file is part of the examples of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:BSD$
** You m... | sunblithe/qt-everywhere-opensource-src-4.7.1 | examples/tutorials/addressbook/part2/main.cpp | C++ | lgpl-2.1 | 2,274 |
#ifndef SJTU_STATION_HPP
#define SJTU_STATION_HPP
#include <string>
#include "Date.hpp"
#include "lib/pair.hpp"
#include "lib/vector.hpp"
using std::string;
namespace sjtu {
class Station {
public:
const static int MAXN = 2000;
struct Node {
double price;
string level;
int left_n;
Node(double _pri... | pascalprimer/DataStructure | TestCode/TrainTest/Station.hpp | C++ | lgpl-3.0 | 3,065 |
package lab.s2jh.ctx;
import java.io.File;
import java.io.IOException;
import java.io.StringWriter;
import java.util.Map;
import lab.s2jh.core.exception.ServiceException;
import lab.s2jh.core.service.PropertiesConfigService;
import org.apache.commons.io.FileUtils;
import org.apache.commons.lang3.StringUtils;
import ... | xautlx/s2jh | common-service/src/main/java/lab/s2jh/ctx/FreemarkerService.java | Java | lgpl-3.0 | 4,142 |
/*
* #%L
* Alfresco Repository
* %%
* Copyright (C) 2005 - 2016 Alfresco Software Limited
* %%
* This file is part of the Alfresco software.
* If the software was purchased under a paid Alfresco license, the terms of
* the paid license agreement will prevail. Otherwise, the software is
* provided under the... | Alfresco/community-edition | projects/repository/source/test-java/org/alfresco/repo/tenant/MultiTNodeServiceInterceptorTest.java | Java | lgpl-3.0 | 4,003 |
/**
* Copyright © 2002 Instituto Superior Técnico
*
* This file is part of FenixEdu Academic.
*
* FenixEdu Academic 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... | ricardorcr/fenixedu-academic | src/main/java/org/fenixedu/academic/domain/Shift.java | Java | lgpl-3.0 | 22,904 |
package org.molgenis.data.annotation.resources.impl;
import static org.mockito.Mockito.when;
import java.io.File;
import org.mockito.Mock;
import org.mockito.MockitoAnnotations;
import org.molgenis.data.Query;
import org.molgenis.data.annotation.resources.ResourceConfig;
import org.molgenis.data.support.QueryImpl;
i... | marieke-bijlsma/molgenis | molgenis-data-annotators/src/test/java/org/molgenis/data/annotation/resources/impl/ResourceImplTest.java | Java | lgpl-3.0 | 2,417 |
/*
* Copyright 2014 Jacopo Aliprandi, Dario Archetti
*
* This file is part of SPF.
*
* SPF 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)... | deib-polimi/SPF2 | sPFFramework/src/main/java/it/polimi/spf/framework/services/SPFServiceRegistry.java | Java | lgpl-3.0 | 5,348 |
# :include: ../rdoc/log4jxmlformatter
#
# == Other Info
#
# Version:: $Id$
require "log4r/formatter/formatter"
require "rubygems"
require "builder"
module Log4r
class Log4jXmlFormatter < BasicFormatter
def format(logevent)
logger = logevent.fullname.gsub('::', '.')
timestamp = (Time.now.to_f ... | BayRu/log4r | src/log4r/formatter/log4jxmlformatter.rb | Ruby | lgpl-3.0 | 1,699 |
package se.sics.gvod.net;
import io.netty.channel.ChannelDuplexHandler;
import io.netty.channel.ChannelHandlerContext;
import io.netty.channel.ChannelPromise;
import io.netty.util.concurrent.Future;
import io.netty.util.concurrent.GenericFutureListener;
import java.util.List;
import java.util.concurrent.atom... | jimdowling/nat-traverser | network/netty/src/main/java/se/sics/gvod/net/MessageCounter.java | Java | lgpl-3.0 | 2,282 |
package org.jetbrains.yaml.completion;
import com.intellij.codeInsight.completion.InsertHandler;
import com.intellij.codeInsight.completion.InsertionContext;
import com.intellij.codeInsight.lookup.LookupElement;
import com.intellij.openapi.command.WriteCommandAction;
import com.intellij.openapi.editor.Document;
import... | Soya93/Extract-Refactoring | plugins/yaml/src/org/jetbrains/yaml/completion/YamlKeyCompletionInsertHandler.java | Java | apache-2.0 | 4,294 |
jQuery(function($){
var callback = function(){
var shutterLinks = {}, shutterSets = {}; shutterReloaded.Init();
};
$(this).bind('refreshed', callback);
$(document).on('lazy_resources_loaded', function(){
var flag = 'shutterReloaded';
if (typeof($(window).data(flag)) == 'undefined')
$(... | Lucas1313/miesner | www/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/lightbox/static/shutter_reloaded/nextgen_shutter_reloaded.js | JavaScript | apache-2.0 | 397 |
/**
* 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 may... | jagatsingh/bigtop | bigtop-bigpetstore/bigpetstore-data-generator/src/main/java/org/apache/bigtop/bigpetstore/datagenerator/generators/store/StoreLocationIncomePDF.java | Java | apache-2.0 | 2,116 |
/*
* Copyright 2012 The Netty Project
*
* The Netty Project licenses this file to you 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:
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless... | zer0se7en/netty | buffer/src/test/java/io/netty/buffer/PooledLittleEndianHeapByteBufTest.java | Java | apache-2.0 | 1,146 |
package com.google.api.ads.dfp.jaxws.v201405;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for LineItemCreativeAssociationOperationError.Reason.
*
* <p>The following schema fragment specifies the expected content contained within this class.
* <p>
* <... | stoksey69/googleads-java-lib | modules/dfp_appengine/src/main/java/com/google/api/ads/dfp/jaxws/v201405/LineItemCreativeAssociationOperationErrorReason.java | Java | apache-2.0 | 1,675 |
/*
* 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
* distributed u... | john9x/jdbi | core/src/test/java/org/jdbi/v3/core/qualifier/QualifiedConstructorParamThing.java | Java | apache-2.0 | 1,607 |
package user_test
import (
"code.cloudfoundry.org/cli/cf/api/apifakes"
"code.cloudfoundry.org/cli/cf/commandregistry"
"code.cloudfoundry.org/cli/cf/configuration/coreconfig"
"code.cloudfoundry.org/cli/cf/models"
"code.cloudfoundry.org/cli/cf/requirements"
"code.cloudfoundry.org/cli/cf/requirements/requirementsfa... | cloudfoundry/v3-cli-plugin | vendor/code.cloudfoundry.org/cli/cf/commands/user/org_users_test.go | GO | apache-2.0 | 15,566 |
package org.jbpm.services.task.impl.model.xml;
import static org.jbpm.services.task.impl.model.xml.AbstractJaxbTaskObject.unsupported;
import java.io.IOException;
import java.io.ObjectInput;
import java.io.ObjectOutput;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;... | jakubschwan/jbpm | jbpm-human-task/jbpm-human-task-core/src/main/java/org/jbpm/services/task/impl/model/xml/JaxbFaultData.java | Java | apache-2.0 | 2,814 |