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 |
|---|---|---|---|---|---|
<div submittable>
<div class="modal-body">
<p class="text-center">Voucher created successfully!</p>
<p>It is available at <a ng-href="((voucher.url))">((voucher.url))</a></p>
</div>
<div class="modal-footer">
<div class="">
<button class="btn btn-danger" ng-click=... | ralic/WalletCordova | www/greenaddress.it/ru/wallet/partials/wallet_modal_voucher.html | HTML | lgpl-2.1 | 1,244 |
/**
* DSS - Digital Signature Services
* Copyright (C) 2015 European Commission, provided under the CEF programme
*
* This file is part of the "DSS - Digital Signature Services" project.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public... | zsoltii/dss | dss-asic-cades/src/test/java/eu/europa/esig/dss/asic/signature/asics/ASiCSCAdESLevelBWithMimeTypeTest.java | Java | lgpl-2.1 | 3,831 |
/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */
/*
* GData Client
* Copyright (C) Philip Withnall 2008-2009 <philip@tecnocode.co.uk>
*
* GData Client is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by ... | pwithnall/libgdata | gdata/gdata-types.h | C | lgpl-2.1 | 1,599 |
/*
Copyright(C) 2015-2016 Brazil
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,
but WITHOUT ANY WARRAN... | groonga/groonga | lib/mrb/mrb_options.h | C | lgpl-2.1 | 1,248 |
/*
* Copyright (C) 2004, 2007, 2008 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 ... | radekp/qt | src/3rdparty/webkit/WebCore/platform/KURL.cpp | C++ | lgpl-2.1 | 59,394 |
/*
Copyright (C) 2011 Fredrik Johansson
This file is part of FLINT.
FLINT is free software: you can redistribute it and/or modify it under
the terms of the GNU Lesser General Public License (LGPL) as published
by the Free Software Foundation; either version 2.1 of the License, or
(at your opti... | fredrik-johansson/flint2 | nmod_poly_mat.h | C | lgpl-2.1 | 8,424 |
/****************************************************************************
**
** 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 tools applications of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGP... | sunblithe/qt-everywhere-opensource-src-4.7.1 | tools/activeqt/testcon/ambientproperties.cpp | C++ | lgpl-2.1 | 4,694 |
/*
Copyright (C) 2013 Mike Hansen
This file is part of FLINT.
FLINT is free software: you can redistribute it and/or modify it under
the terms of the GNU Lesser General Public License (LGPL) as published
by the Free Software Foundation; either version 2.1 of the License, or
(at your option) an... | wbhart/flint2 | fq_zech_poly/truncate.c | C | lgpl-2.1 | 534 |
/*
* Ext JS Library 2.3.0
* Copyright(c) 2006-2009, Ext JS, LLC.
* licensing@extjs.com
*
* http://extjs.com/license
*/
/**
* @class Ext.form.Action
* <p>The subclasses of this class provide actions to perform upon {@link Ext.form.BasicForm Form}s.</p>
* <p>Instances of this class are only created by ... | xwiki-labs/sankoreorg | web/src/main/webapp/skins/curriki20/extjs/source/widgets/form/Action.js | JavaScript | lgpl-2.1 | 15,291 |
# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
from spack import *
class Iwyu(CMakePackage):
"""include-what-you-use: A tool for use with clang to analyze #include... | iulian787/spack | var/spack/repos/builtin/packages/iwyu/package.py | Python | lgpl-2.1 | 1,882 |
/*
* Chrysalix
* See the COPYRIGHT.txt file distributed with this work for information
* regarding copyright ownership. Some portions may be licensed
* to Red Hat, Inc. under one or more contributor license agreements.
* See the AUTHORS.txt file in the distribution for a full listing of
* individual contributor... | Polyglotter/chrysalix | chrysalix-eclipse/plugins/org.polyglotter.eclipse/src/org/polyglotter/eclipse/PerspectiveFactory.java | Java | lgpl-2.1 | 1,914 |
// Authors:
// Rafael Mizrahi <rafim@mainsoft.com>
// Erez Lotan <erezl@mainsoft.com>
// Oren Gurfinkel <oreng@mainsoft.com>
// Ofer Borstein
//
// Copyright (c) 2004 Mainsoft Co.
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated docu... | edwinspire/VSharp | class/System.Data/Test/System.Data/ConstraintExceptionTest.cs | C# | lgpl-3.0 | 6,204 |
<?php
class UpdateController extends Application_Model_Controller_Api
{
public function syncViewsAction(){
$this->_response->setAction( 'sync-views' );
try{
Application_Model_ViewsMapper::install( $this->_user->username );
} catch( Exception $e ){
$this->_response->throwError( $e->getMessage() );... | tiagy/ANTA | application/controllers/UpdateController.php | PHP | lgpl-3.0 | 2,212 |
// Copyright 2014 The go-ethereum Authors
// This file is part of the go-ethereum library.
//
// The go-ethereum 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 3 of the License... | expanse-org/go-expanse | core/vm/common.go | GO | lgpl-3.0 | 2,516 |
<?php
/**
* Class webasystLocaleCli
*/
class webasystLocaleCli extends webasystCreateCliController
{
/**
* @return bool
*/
protected function init()
{
$init = parent::init();
$this->app_id = 'webasyst';
$slug = waRequest::param(0);
return $init && $slug !== 'hel... | webasyst/webasyst-framework | wa-system/webasyst/lib/cli/webasystLocale.cli.php | PHP | lgpl-3.0 | 4,997 |
// Copyright 2016 The go-ethereum Authors
// This file is part of the go-ethereum library.
//
// The go-ethereum 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 3 of the License... | CTCDEVTEAM/adtonethereum | swarm/api/api.go | GO | lgpl-3.0 | 5,680 |
/*
* Copyright 2006 Sony Computer Entertainment Inc.
*
* Licensed under the MIT Open Source License, for details please see license.txt or the website
* http://www.opensource.org/licenses/mit-license.php
*
*/
#include <sstream>
#include <dae.h>
#include <dom.h>
#include <dae/daeDatabase.h>
#include <dae/daeIOPluginCo... | Victor-Haefner/polyvr-packaging | ubuntu/collada-dom/dom/src/dae/daeIOPluginCommon.cpp | C++ | lgpl-3.0 | 5,414 |
/*
* Settings.h
*
* Created on: Jan 11, 2014
* Author: denia
*/
#include <map>
#include <libconfig.h++>
#ifndef SETTINGS_H_
#define SETTINGS_H_
namespace ydle {
class SettingsParser {
private:
libconfig::Config * g_configuration;
std::string config_file;
public:
SettingsParser();
int parseCommandLine... | onartz/ydle | src/SettingsParser.h | C | lgpl-3.0 | 651 |
<?php
namespace application\modules\dashboard\controllers;
use application\core\utils\Cache as CacheUtil;
use application\core\utils\Convert;
use application\core\utils\Env;
use application\core\utils\Ibos;
use application\core\utils\Module;
use application\core\utils\Org;
use application\core\utils\Page;
use applica... | vlinhd11/IBOS | system/modules/dashboard/controllers/RoletypeController.php | PHP | lgpl-3.0 | 10,050 |
// Copyright 2015 The go-ethereum Authors
// This file is part of the go-ethereum library.
//
// The go-ethereum 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 3 of the License... | expanse-org/go-expanse | tests/transaction_test.go | GO | lgpl-3.0 | 2,146 |
/*****************************************************************************
* *
* PrimeSense Sensor 5.0 Alpha *
* Copyright (C) 2010 PrimeSense Ltd. *
... | sanghi/metalab_rgbdemo | nestk/deps/openni/SensorKinect/Source/XnDeviceSensorV2/XnSensorOpenNiteImpl.cpp | C++ | lgpl-3.0 | 2,555 |
/**
* DataCleaner (community edition)
* Copyright (C) 2014 Free Software Foundation, Inc.
*
* This copyrighted material is made available to anyone wishing to use, modify,
* copy, or redistribute it subject to the terms and conditions of the GNU
* Lesser General Public License, as published by the Free Software F... | datacleaner/DataCleaner | engine/core/src/test/java/org/datacleaner/reference/ReferenceDataDeserializationTest.java | Java | lgpl-3.0 | 5,880 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Frameset//EN""http://www.w3.org/TR/REC-html40/frameset.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc on Sat Aug 31 22:02:27 BST 2002 -->
<TITLE>
Cactus Framework 1.4.1: Uses of Class org.apache.cactus.client.JspHttpClient
</TITLE>
<LINK REL ="stylesheet" TYPE="... | simeshev/parabuild-ci | 3rdparty/cactus141j2ee13/doc/api/framework-13/org/apache/cactus/client/class-use/JspHttpClient.html | HTML | lgpl-3.0 | 4,049 |
import sys
from services.spawn import MobileTemplate
from services.spawn import WeaponTemplate
from resources.datatables import WeaponType
from resources.datatables import Difficulty
from resources.datatables import Options
from java.util import Vector
def addTemplate(core):
mobileTemplate = MobileTemplate()
mobi... | agry/NGECore2 | scripts/mobiles/naboo/rabid_mott.py | Python | lgpl-3.0 | 1,588 |
import React, {Component} from "react/addons";
import {createFolder} from "editor/actions/TreeActions";
class CreateFolder extends Component<{}, {}, {}> {
constructor() {
super();
this.handleApply = this.handleApply.bind(this);
this.handleClose = this.handleClose.bind(this);
}
handleClose() {
th... | MrPhantomT/hexlet-ide | src/editor/components/popup/CreateFolder.js | JavaScript | lgpl-3.0 | 1,342 |
# -*- coding: utf-8 -*-
# Copyright(C) 2017 Phyks (Lucas Verney)
#
# This file is part of a weboob module.
#
# This weboob module is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 o... | vicnet/weboob | modules/ratp/test.py | Python | lgpl-3.0 | 1,363 |
/*
* --------------------------------------------------------------------------- *
* CAMPAIGN *
* --------------------------------------------------------------------------- *
* This is part of the CAMPAIGN data clustering library originating from ... | joanorrit/campaign-1.0 | install/include/campaign-1.0/campaign/rmsdGPU.h | C | lgpl-3.0 | 3,883 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NHibernate.OData.Test.Domain;
using NHibernate.OData.Test.Support;
using NUnit.Framework;
namespace NHibernate.OData.Test.Criterions
{
[TestFixture]
internal class ImplicitVariable : DomainTestFixture
{
[Te... | pvginkel/NHibernate.OData | NHibernate.OData.Test/Criterions/ImplicitVariable.cs | C# | lgpl-3.0 | 640 |
/*
* Copyright (C) 2015 eXo Platform SAS.
*
* This 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 software i... | exoplatform/task | services/src/main/java/org/exoplatform/task/dao/DAOHandler.java | Java | lgpl-3.0 | 1,358 |
#ifndef _TIME_H
#define _TIME_H
#ifndef _TIME_T
#define _TIME_T
typedef long time_t; // 从GMT 1970 年1 月1 日开始的以秒计数的时间(日历时间)。
#endif
#ifndef _SIZE_T
#define _SIZE_T
typedef unsigned int size_t;
#endif
#define CLOCKS_PER_SEC 100 // 系统时钟滴答频率,100HZ。
typedef long clock_t; // 从进程开始系统经过的时钟滴答数。
struct tm
{
int tm_sec; ... | loveveryday/linux0.11 | include/time.h | C | lgpl-3.0 | 2,244 |
<?php
namespace Quark\ViewResources\WysiBB\JS;
use Quark\QuarkJSViewResourceType;
use Quark\ViewResources\WysiBB\IWysiBBLanguage;
/**
* Class LanguageRU
*
* @package Quark\ViewResources\WysiBB\JS
*/
class LanguageRU implements IWysiBBLanguage {
/**
* @return string
*/
public function Location () {
return ... | saivarunk/quark | ViewResources/WysiBB/JS/LanguageRU.php | PHP | lgpl-3.0 | 525 |
#ifndef _WIMLIB_WIN32_COMMON_H
#define _WIMLIB_WIN32_COMMON_H
#include <ntstatus.h>
#include <windows.h>
#include <winternl.h>
#ifdef ERROR
# undef ERROR
#endif
#include "wimlib/types.h"
#include "wimlib/win32.h"
/* ntdll functions */
extern NTSTATUS (WINAPI *func_NtCreateFile)(PHANDLE FileHandle,
ACCESS... | jcpowermac/wimlib | include/wimlib/win32_common.h | C | lgpl-3.0 | 5,153 |
#ifndef PLEXY_GOOGLEWEATHER_I
#define PLEXY_GOOGLEWEATHER_I
#include <plexy.h>
#include <abstractplugininterface.h>
#include <datainterface.h>
#include <widgetinterface.h>
class VISIBLE_SYM googleweatherInterface : public PlexyDesk::AbstractPluginInterface
{
Q_OBJECT
Q_INTERFACES(PlexyDesk::AbstractPluginIn... | plexydesk/plexydesk-0.5-depricated-codebase | extensions/social/googleweather/googleweatherinterface.h | C | lgpl-3.0 | 443 |
/*
* 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")... | leodmurillo/sonar | plugins/sonar-squid-java-plugin/test-resources/commons-collections-3.2.1/src/org/apache/commons/collections/KeyValue.java | Java | lgpl-3.0 | 1,530 |
<?php
/**
* a flexible way to build mysqli related classes.
* usage:
* Application_Model_Project extends Application_Model_Configurable
* new Application_Model_Project( array("property"=>"value") )
*/
class Application_Model_Configurable{
public function __construct( array $properties = array() ){
foreach( $pro... | medialab/ANTA | application/models/Configurable.php | PHP | lgpl-3.0 | 428 |
/*===========================================================================*/
/* */
/* This file is part of the SYMPHONY MILP Solver Framework. */
/* */
... | tulip5/tulip | thirdparty/OGDF/include/coin/sym_cp_params.h | C | lgpl-3.0 | 1,761 |
/****************************************************************************
**
** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: Nokia Corporation (qt-info@nokia.com)
**
** This file is part of the demonstration applications of the Qt Toolkit.
**
** $QT_BEGIN_LIC... | ssangkong/NVRAM_KWU | qt-everywhere-opensource-src-4.7.4/demos/undo/commands.cpp | C++ | lgpl-3.0 | 5,128 |
import sys
from services.equipment import BonusSetTemplate
from java.util import Vector
def addBonusSet(core):
bonusSet = BonusSetTemplate("set_bonus_smuggler_utility_b")
bonusSet.addRequiredItem("item_band_set_smuggler_utility_b_01_01")
bonusSet.addRequiredItem("item_ring_set_smuggler_utility_b_01_01")
bonusSet... | agry/NGECore2 | scripts/equipment/bonus_sets/set_bonus_smuggler_utility_b.py | Python | lgpl-3.0 | 1,539 |
<?php
/*************************************************************************************/
/* This file is part of the Thelia package. */
/* */
/* Copyright (c) OpenStudio ... | AznStyle/lwb2 | core/lib/Thelia/Core/HttpKernel/Client.php | PHP | lgpl-3.0 | 1,801 |
define(['joose', 'Psc/UI/FormBuilder'], function(Joose) {
/**
* Ein Trait für ein Objekt welche einen FormBuilder benutzen
*
*/
Joose.Role('Psc.UI.FormBuilding', {
has: {
formBuilder: { is : 'rw', required: false, isPrivate: true }
},
before: { // after ist bissl schlecht, weil... | webforge-labs/psc-cms-js | lib/Psc/UI/FormBuilding.js | JavaScript | lgpl-3.0 | 675 |
/*
* 11/19/04 1.0 moved to LGPL.
*-----------------------------------------------------------------------
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Library General Public License as published
* by the Free Software Foundation; either version... | etyllica/etyllica | src/main/java/sound/javazoom/decoder/Source.java | Java | lgpl-3.0 | 1,429 |
/*
* Python object definition of the libvhdi disk types
*
* Copyright (C) 2012-2016, Joachim Metz <joachim.metz@gmail.com>
*
* Refer to AUTHORS for acknowledgements.
*
* This software is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as publish... | rlugojr/libvhdi_64bit | pyvhdi/pyvhdi_disk_types.c | C | lgpl-3.0 | 5,754 |
/*
* SonarQube, open source software quality management tool.
* Copyright (C) 2008-2014 SonarSource
* mailto:contact AT sonarsource DOT com
*
* SonarQube 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 Found... | teryk/sonarqube | server/sonar-server/src/main/java/org/sonar/server/measure/MeasureFilter.java | Java | lgpl-3.0 | 5,451 |
namespace FrbaCommerce.Vistas.Login
{
partial class CambiarPassword
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summ... | barriosnahuel/merca-libre | entrega/src/FrbaCommerce/Vistas/Login/CambiarPassword.Designer.cs | C# | lgpl-3.0 | 4,877 |
/****************************************************************************
**
** Copyright (C) 2015 The Qt Company Ltd.
** Contact: http://www.qt.io/licensing/
**
** This file is part of the QtDeclarative module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL21$
** Commercial License Usage
** Licensees holding valid... | qtproject/qtquick1 | src/declarative/qml/qdeclarativeintegercache.cpp | C++ | lgpl-3.0 | 2,898 |
Given /^there aren't any projects$/ do
end
When /^I view the welcome page$/ do
visit "/"
end
Then /^I am redirected to the "([^"]*)" project page$/ do |project|
sleep 1
page.current_path.should include "/projects/#{project}"
end
When /^I select the project "([^"]*)"$/ do |project|
select(project, :from => "p... | BBC-News/wally | features/step_definitions/welcome_page.rb | Ruby | lgpl-3.0 | 454 |
/*
* SonarAnalyzer for .NET
* Copyright (C) 2015-2016 SonarSource SA
* mailto:contact@sonarsource.com
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 3 of the ... | tvsonar/sonarlint-vs | src/Tests/SonarAnalyzer.UnitTest/Rules/LocalVariableNameTest.cs | C# | lgpl-3.0 | 1,253 |
// -*- mode: c++; c-basic-style: "bsd"; c-basic-offset: 4; -*-
/*
* kdm/data/XMLSchema.cpp
* Copyright (C) Cátedra SAES-UMU 2010 <andres.senac@um.es>
*
* EMF4CPP 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 Softwar... | wurfkeks/emf4cpp | emf4cpp.tests/kdm/kdm/data/XMLSchema.cpp | C++ | lgpl-3.0 | 2,505 |
Lorem.js Dummy Text/Image Generator jQuery and Native JS
========================================================
A Lorem Ipsum creator service written on JavaScript.
Implementation
--------------
Implementation of Lorem.js is so simple,
You just download and add
<script src="path/to/lorem.js"></script>
into ... | klec/loremjs | README.md | Markdown | lgpl-3.0 | 1,448 |
package net.spy.memcached;
import java.net.SocketAddress;
import java.nio.channels.SocketChannel;
import net.spy.memcached.protocol.binary.BinaryMemcachedNodeImpl;
import net.spy.memcached.protocol.binary.BinaryOperationFactory;
/**
* Default connection factory for binary wire protocol connections.
*/
public class... | haisamido/SFDaaS | src/net/spy/memcached/BinaryConnectionFactory.java | Java | lgpl-3.0 | 1,562 |
/*
QMPlay2 is a video and audio player.
Copyright (C) 2010-2022 Błażej Szczygieł
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published
by the Free Software Foundation, either version 3 of the License, or
(a... | arthurzam/QMPlay2 | src/modules/Visualizations/Visualizations.cpp | C++ | lgpl-3.0 | 3,305 |
/*
* SonarQube, open source software quality management tool.
* Copyright (C) 2008-2014 SonarSource
* mailto:contact AT sonarsource DOT com
*
* SonarQube 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 Found... | abbeyj/sonarqube | sonar-batch/src/test/java/org/sonar/batch/cache/GlobalPersistentCacheProviderTest.java | Java | lgpl-3.0 | 2,743 |
//
// Copyright (C) 2004 Novell, Inc (http://www.novell.com)
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to u... | edwinspire/VSharp | class/System.Data/System.Data/XmlDataReader.cs | C# | lgpl-3.0 | 12,544 |
/*
* LuoYing is a program used to make 3D RPG game.
* Copyright (c) 2014-2016 Huliqing <31703299@qq.com>
*
* This file is part of LuoYing.
*
* LuoYing 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 Softwar... | huliqing/LuoYing | ly-editor/src/name/huliqing/editor/converter/field/EntityObjectDatasConverter.java | Java | lgpl-3.0 | 9,393 |
static char rcsid[] = "$Id$";
/*
* $TSUKUBA_Release: Omni OpenMP Compiler 3 $
* $TSUKUBA_Copyright:
* PLEASE DESCRIBE LICENSE AGREEMENT HERE
* $
*/
/* error case of reduction 015 :
* reduction ¤Ç»ØÄꤵ¤ì¤Æ operation ¤È±é»»¤¬°Û¤Ê¤ë¾ì¹ç¡£
*/
#include <omp.h>
#include "omni.h"
int errors = 0;
int thds;
int ... | omni-compiler/omni-compiler | tests/old/C-test/directive/data/rdctn/err_reduction_015.c | C | lgpl-3.0 | 1,345 |
<?php
/*************************************************************************************/
/* This file is part of the Thelia package. */
/* */
/* Copyright (c) OpenStudio ... | AznStyle/lwb2 | core/lib/Thelia/Core/FileFormat/Formatting/AbstractFormatter.php | PHP | lgpl-3.0 | 2,305 |
//
// OutputCacheParametersTest.cs
// - Unit tests for System.Web.UI.OutputCacheParameters
//
// Author:
// Noam Lampert (noaml@mainsoft.com)
//
//
// 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 ... | edwinspire/VSharp | class/System.Web/Test/System.Web.UI/OutputCacheParametersTest.cs | C# | lgpl-3.0 | 2,077 |
<!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.5.0_16) on Thu Feb 26 13:28:55 PST 2009 -->
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<TITLE>
B-Index (JavaMail API docume... | simeshev/parabuild-ci | 3rdparty/javamail-1.4.2/docs/javadocs/index-files/index-2.html | HTML | lgpl-3.0 | 10,261 |
# Copyright (C) 2015 Kevin Ross
# This file is part of Cuckoo Sandbox - http://www.cuckoosandbox.org
# See the file 'docs/LICENSE' for copying permission.
from lib.cuckoo.common.abstracts import Signature
class DisablesWER(Signature):
name = "disables_wer"
description = "Attempts to disable Windows Error Repo... | lixiangning888/whole_project | modules/signatures_orignal/disables_wer.py | Python | lgpl-3.0 | 645 |
# -*- coding: utf-8 -*-
import unittest
import warnings
from tcdb import adb
class TestADBSimple(unittest.TestCase):
def setUp(self):
self.adb = adb.ADBSimple()
self.adb.open('*')
def tearDown(self):
self.adb.close()
self.adb = None
def test_setgetitem(self):
se... | aplanas/py-tcdb | test/test-adb.py | Python | lgpl-3.0 | 15,634 |
/* =========================================================================
* This file is part of NITRO
* =========================================================================
*
* (C) Copyright 2004 - 2014, MDA Information Systems LLC
*
* NITRO is free software; you can redistribute it and/or modify
* it u... | mdaus/nitro | modules/c++/nitf/tests/test_fh.cpp | C++ | lgpl-3.0 | 3,560 |
/****************************************************************************
**
** Copyright (C) 2015 The Qt Company Ltd.
** Contact: http://www.qt.io/licensing/
**
** This file is part of the test suite of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL21$
** Commercial License Usage
** Licensees holding valid commercia... | Distrotech/qtquick1 | tests/auto/declarative/qdeclarativerepeater/tst_qdeclarativerepeater.cpp | C++ | lgpl-3.0 | 25,035 |
#ifndef COMBINE_HPP_1441632935__
#define COMBINE_HPP_1441632935__
#include <vector>
#include "framework/component/unit.hpp"
namespace strangeio {
namespace spec {
class combine : public strangeio::component::unit {
public:
combine(std::string model, std::string label);
virtual void feed_line(strangeio::memory::cac... | carrotsrc/StrangeIO | framework/include/framework/spec/combine.hpp | C++ | lgpl-3.0 | 874 |
---
wrapper_template: "cube/study/_markdown.html"
markdown_includes:
nav: "cube/study/_navigation.md"
context:
title: "Installation and Package Management"
description: "Installation and Package Management"
auto_paginate: True
---
In Ubuntu, there are two primary means of installing, upgrading, and
removing so... | canonical-websites/www.ubuntu.com | templates/cube/study/packages/part-1.md | Markdown | lgpl-3.0 | 4,573 |
---
layout: index
title: Ultrasonic Sensor
scripts: [ '/static/bonescript-demo.js' ]
---
{% include side_menu.html title="Demos" %}
<div class="t3_content_1"><div id='connect-status'></div><div id="content_child">
<h1>Demo: Maxbotic Ultrasonic Sensor</h1>
<p>The <a href="http://www.maxbotix.com/Ultrasonic_Senso... | maaydogmus/bone101 | Support/BoneScript/Ultrasonic_Sensor/index.html | HTML | lgpl-3.0 | 3,651 |
/*
* Copyright (C) 2015 Raquel Pau and Albert Coroleu.
*
* Walkmod 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 later version.
*
* Wa... | rpau/javalang-compiler | src/main/java/org/walkmod/javalang/compiler/symbols/SymbolFactory.java | Java | lgpl-3.0 | 1,277 |
Ext.ns('Docs');
Docs.ApiViewport = Ext.extend(Ext.Viewport, {
constructor : function(cfg) {
cfg = Ext.apply(cfg ||{}, {
layout:'border',
items : this.buildItems()
});
this.constructor.superclass.constructor.call(this,cfg);
},
buildItems : function() {
... | piseth/neos-package | Build/Resources/Java/ext-doc/template/ext/resources/Docs/ApiViewport.js | JavaScript | lgpl-3.0 | 2,639 |
package com.yidumen.cms.entity;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
@Entity
@Table(name = "wechat_message_link")
public class LinkMessage extends Message {
@Column(name = "title", length = 50)
private String title;
@Column(name = "description"... | yidumen/cms-platform | src/main/java/com/yidumen/cms/entity/LinkMessage.java | Java | lgpl-3.0 | 871 |
// Copyright (c) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information.
using System.Windows;
namespace Microsoft.Practices.Prism.Composition.Tests.Mocks
{
class MockDependencyObject : DependencyObject
{
}
class MockFrameworkElement : FrameworkElement... | SiddharthMishraPersonal/InterviewPreperation | WPF/Installers/Prism/PrismLibrary/Desktop/Prism.Tests/Mocks/MockDependencyObject.cs | C# | unlicense | 334 |
<?php
/*
* $Id: Builder.php 6401 2009-09-24 16:12:04Z guilhermeblanco $
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
* A PARTICULAR PURPOSE... | alpho07/NQCL_LIMS | system/database/Doctrine/Import/Builder.php | PHP | unlicense | 40,930 |
# mdJson 2.0 writer - duration
# History:
# Stan Smith 2017-03-14 refactored for mdJson/mdTranslator 2.0
# Josh Bradley original script
require 'jbuilder'
module ADIWG
module Mdtranslator
module Writers
module MdJson
module Duration
def self.build(hDuration)
... | adiwg/mdTranslator | lib/adiwg/mdtranslator/writers/mdJson/sections/mdJson_duration.rb | Ruby | unlicense | 961 |
import java.util.Scanner;
/**
This program shows a simple quiz with two questions.
*/
public class QuestionDemo
{
public static void main(String[] args)
{
Scanner in = new Scanner(System.in);
ChoiceQuestion first = new ChoiceQuestion();
first.setText("What was the original name of ... | W0mpRat/IntroToProgramming | Code/lesson9/quiz4/QuestionDemo.java | Java | unlicense | 1,626 |
from sys import argv
from xml.dom import minidom
import csv
stem = argv[1][:-4] if argv[1].endswith('.xml') else argv[1]
xmldoc = minidom.parse('%s.xml'%stem)
labellist = xmldoc.getElementsByTagName('label')
labels = [l.attributes['name'].value for l in labellist]
labelset = set(labels)
for split in 'train','test':
... | pmineiro/randembed | mulan/xmlcsv2xy.py | Python | unlicense | 829 |
package mekanism.api;
import net.minecraft.entity.Entity;
import net.minecraft.world.World;
import net.minecraft.world.chunk.Chunk;
/**
* Chunk3D - an integer-based way to keep track of and perform operations on chunks in a Minecraft-based environment. This also takes
* in account the dimension the chunk is in.
* ... | Vexatos/EnderIO | src/main/java/mekanism/api/Chunk3D.java | Java | unlicense | 2,473 |
$.extend(window.lang_id, {
"Title": "Apakah Anda Melainkan ..",
"installApp": "Gunakan Aplikasi untuk membagikan jajak pendapat ini!",
"installAppComments": "Download gratis.",
"haveApp": "Aku sudah App!",
"SecondPageButton": "Bermain",
"Welcome": "Halo selamat datang!",
"rules": "1. Klik link aplikasi untuk memuat vot... | trollderius/wouldyourather_phonegap | www/~lang/id.js | JavaScript | unlicense | 5,953 |
/* */
var baseDifference = require('./_baseDifference'),
baseFlatten = require('./_baseFlatten'),
isArrayLikeObject = require('./isArrayLikeObject'),
rest = require('./rest');
var difference = rest(function(array, values) {
return isArrayLikeObject(array) ? baseDifference(array, baseFlatten(values, 1, tr... | EpitaJS/js-class-2016 | jspm_packages/npm/lodash@4.6.1/difference.js | JavaScript | unlicense | 364 |
# ISO <<Class>> LI_ProcessStep
# 19115-2 writer output in XML
# History:
# Stan Smith 2018-04-10 add error and warning messaging
# Stan Smith 2017-08-30 added support for step sources
# Stan Smith 2016-12-13 refactored for mdTranslator/mdJson 2.0
# Stan Smith 2015-07-14 refactored to eliminate namespace globals $W... | stansmith907/mdTranslator | lib/adiwg/mdtranslator/writers/iso19115_2/classes/class_liProcessStep.rb | Ruby | unlicense | 5,039 |
#include <cstdio>
#include <cstring>
#define MAXS 512
#define Zero(v) memset(v, 0, sizeof(v))
int b, w;
char maze[MAXS][MAXS];
int cnt[MAXS][MAXS];
int ans[5];
const int dd[4][2] = {
{ 0, 1 }, // East
{ -1, 0 }, // North
{ 0, -1 }, // West
{ 1, 0 } // South
};
bool valid_pos(int r, int c... | M4573R/pc-code | solved/0-b/amazing/amazing.cpp | C++ | unlicense | 1,702 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace MvcVersion4Internet.Controllers
{
public class HomeController : Controller
{
public ActionResult Index()
{
ViewBag.Message = "Modify this template to jump-start your ASP.NET MVC application.";... | JamesSkemp/AspNetMvcVersions | Visual Studio 2012/MvcVersion4Internet/Controllers/HomeController.cs | C# | unlicense | 563 |
#include <algorithm>
#include <cstdio>
#include <vector>
using namespace std;
#define cFor(t,v,c) for(t::const_iterator v=c.begin(); v != c.end(); ++v)
typedef long long i64;
typedef vector<i64> IV;
typedef IV::iterator IVi;
const i64 Max = 1000000000000LL;
i64 A, B;
IV ns; // very lucky numbers
void uni... | lbv/pc-code | solved/u-w/very-lucky-numbers/lucky.cpp | C++ | unlicense | 1,702 |
/*
* 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 n... | ryanemerson/activemq-artemis | tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/client/JournalCrashTest.java | Java | apache-2.0 | 7,994 |
// Code generated by smithy-go-codegen DO NOT EDIT.
package ec2
import (
"context"
awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware"
"github.com/aws/aws-sdk-go-v2/aws/signer/v4"
"github.com/aws/aws-sdk-go-v2/service/ec2/types"
"github.com/aws/smithy-go/middleware"
smithyhttp "github.com/aws/smithy-go/... | michi-covalent/cilium | vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeprovisionIpamPoolCidr.go | GO | apache-2.0 | 4,063 |
/**
* PlasmaSDO™ License
*
* This is a community release of PlasmaSDO™, a dual-license
* Service Data Object (SDO) 2.1 implementation.
* This particular copy of the software is released under the
* version 2 of the GNU General Public License. PlasmaSDO™ was developed by
* TerraMeta Software, Inc.
*... | plasma-framework/plasma | plasma-jdbc/src/main/java/org/plasma/sdo/access/provider/jdbc/AliasMap.java | Java | apache-2.0 | 2,341 |
/*
* Copyright 2021 ThoughtWorks, Inc.
*
* 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 agr... | marques-work/gocd | server/src/main/java/com/thoughtworks/go/config/update/UpdatePackageRepositoryCommand.java | Java | apache-2.0 | 4,246 |
package org.ovirt.engine.ui.uicommonweb.models.templates;
import org.ovirt.engine.core.common.businessentities.VmTemplate;
import org.ovirt.engine.core.compat.StringFormat;
import org.ovirt.engine.ui.uicommonweb.models.vms.VmListModel;
@SuppressWarnings("unused")
public class TemplateVmListModel extends VmListModel
{... | Dhandapani/gluster-ovirt | frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/templates/TemplateVmListModel.java | Java | apache-2.0 | 1,025 |
package info.ineighborhood.cardme.vcard.features;
/**
* Copyright (c) 2004, Neighborhood Technologies
* 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 m... | skoulouzis/lobcder | milton/milton-caldav/src/main/java/info/ineighborhood/cardme/vcard/features/MailerFeature.java | Java | apache-2.0 | 2,911 |
/**
*
* 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"); ... | JingchengDu/hbase | hbase-archetypes/hbase-client-project/src/main/java/org/apache/hbase/archetypes/exemplars/client/HelloHBase.java | Java | apache-2.0 | 8,641 |
/* Copyright JS Foundation and other contributors, http://js.foundation
*
* 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 r... | dbatyai/jerryscript | tests/unit-core/test-api-set-and-clear-error-flag.c | C | apache-2.0 | 6,865 |
.player-bar {
position: fixed;
bottom: 0;
left: 0;
right: 0;
height: 150px;
background: rgba(255, 255, 255, 0.3);
z-index: 100;
}
.player-bar a {
font-size: 1.1rem;
vertical-align: middle;
}
.player-bar a,
.player-bar a:hover {
color: white;
cursor: pointer;
text-decoration: none;
}
... | StaciaHoov/bloc-jam-angular | dist/styles/player_bar.css | CSS | apache-2.0 | 3,576 |
/*
* Copyright (c) 1998-2003 by The FlexiProvider Group,
* Technische Universitaet Darmstadt
*
* For conditions of usage and distribution please refer to the
* file COPYING in the root directory of this package.
*
*/
package de.flexiprovider.core.mersa;
import codec.asn1.ASN1Integer... | besom/bbossgroups-mvn | bboss_security/src/main/java/de/flexiprovider/core/mersa/MeRSAPrivateKey.java | Java | apache-2.0 | 5,423 |
/**
* Copyright 2011-2019 Asakusa Framework Team.
*
* 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... | akirakw/asakusafw | dsl-project/asakusa-dsl-vocabulary/src/main/java/com/asakusafw/vocabulary/operator/Fold.java | Java | apache-2.0 | 3,844 |
<html devsite><head>
<title>Diretas dengan spam</title>
<meta name="project_path" value="/web/fundamentals/_project.yaml"/>
<meta name="book_path" value="/web/fundamentals/_book.yaml"/>
<meta name="devsite_continuous_localization_fp" value="cgvbEhX8evRWhUnr+VH8xDCQ+wwt7IRCyUlOF1mn5e9caMUNwesLeYoX6Z1IYkyCybqRdNPFb... | sonyarianto/WebFundamentals | src/content/id/fundamentals/security/hacked/hacked_with_spam.html | HTML | apache-2.0 | 2,411 |
#include "source/common/config/well_known_names.h"
#include "absl/strings/str_replace.h"
namespace Envoy {
namespace Config {
namespace {
const absl::string_view TAG_VALUE_REGEX = R"([^\.]+)";
// To allow for more readable regular expressions to be declared below, and to
// reduce duplication, define a few common ... | envoyproxy/envoy | source/common/config/well_known_names.cc | C++ | apache-2.0 | 7,034 |
package integration_test
import (
"fmt"
"regexp"
"runtime"
"strings"
. "github.com/onsi/ginkgo"
"github.com/onsi/ginkgo/types"
. "github.com/onsi/gomega"
"github.com/onsi/gomega/gbytes"
"github.com/onsi/gomega/gexec"
)
var _ = Describe("Running Specs", func() {
var pathToTest string
isWindows := (runtime... | antoni/kubernetes-entrypoint | vendor/github.com/onsi/ginkgo/integration/run_test.go | GO | apache-2.0 | 15,049 |
/*
* Copyright (c) 2008-2016 Haulmont.
*
* 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 agr... | cuba-platform/cuba | modules/global/src/com/haulmont/cuba/core/entity/BaseIdentityIdEntity.java | Java | apache-2.0 | 1,411 |
/* 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 ... | filiphr/camunda-bpmn-model | src/main/java/org/camunda/bpm/model/bpmn/impl/instance/From.java | Java | apache-2.0 | 1,727 |
/**
******************************************************************************
* @file TIM/TIM_7PWMOutput/stm32f4xx_it.h
* @author MCD Application Team
* @version V1.4.0
* @date 04-August-2014
* @brief This file contains the headers of the interrupt handlers.
*************************... | MikeStitt/lowLevelProgrammingByExample | presentations/20170726-meetup-embedded-gr/hal.stm.stm32PeripheralLib/Project/STM32F4xx_StdPeriph_Examples/TIM/TIM_7PWMOutput/stm32f4xx_it.h | C | apache-2.0 | 2,124 |
<?php
/*
* gateways.widget.php
*
* part of pfSense (https://www.pfsense.org)
* Copyright (c) 2008 Seth Mos
* Copyright (c) 2004-2016 Rubicon Communications, LLC (Netgate)
* All rights reserved.
*
* originally part of m0n0wall (http://m0n0.ch/wall)
* Copyright (c) 2003-2004 Manuel Kasper <mk@neon1.net>.
* All ... | brunostein/pfsense | src/usr/local/www/widgets/widgets/gateways.widget.php | PHP | apache-2.0 | 10,908 |
#include "main.h"
extern "C"
{
EXPORT void btConstraintSolver_allSolved(btConstraintSolver* obj, const btContactSolverInfo* __unnamed0, btIDebugDraw* __unnamed1);
EXPORT btConstraintSolverType btConstraintSolver_getSolverType(btConstraintSolver* obj);
EXPORT void btConstraintSolver_prepareSolve(btConstraintSolver* ... | wuyuntao/Nostradamus | NotradamusUnity/Assets/Plugins/BulletUnity/Native/iOS/btConstraintSolver_wrap.h | C | apache-2.0 | 795 |
// CHANGE FOR APPS HOSTED IN SUBDIRECTORY
FCKRelativePath = '';
// DON'T CHANGE THESE
FCKConfig.LinkBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Connector='+FCKRelativePath+'/fckeditor/command';
FCKConfig.ImageBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.ht... | Fedena/XueDu | vendor/plugins/fckeditor/public/javascripts/fckcustom.js | JavaScript | apache-2.0 | 1,552 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.