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 -*-
# __init__.py
# Copyright (C) 2013 LEAP
#
# 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... | ivanalejandro0/keymanager | src/leap/keymanager/__init__.py | Python | gpl-3.0 | 16,455 |
/************************************************************************
* This file is part of EspoCRM.
*
* EspoCRM - Open Source CRM application.
* Copyright (C) 2014-2022 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* Website: https://www.espocrm.com
*
* EspoCRM is free software: you can redistribute... | espocrm/espocrm | client/src/views/fields/datetime-short.js | JavaScript | gpl-3.0 | 3,185 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="keywords" content="bucketlist, bucket-list">
<title>Bucket-List</title>
<!--<link rel="stylesheet" href="/css/bootstrap.min.css">-->
<link rel="stylesheet" href="css/bucklst.c... | luqee/BuckList | UI/edit_item.html | HTML | gpl-3.0 | 2,587 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.Extensions.OptionsModel;
using Yavsc;
using Yavsc.Models;
using Yavsc.Services;
public class DiskUsageTracker : IDiskUsageTracker
{
public class DUTInfo
{
public DUTInfo()
{
... | pazof/yavsc | src/Yavsc/Services/DiskUsageTracker.cs | C# | gpl-3.0 | 3,154 |
/* -*- indent-tabs-mode:nil; coding: utf-8 -*-
Copyright (C) 2015
"Mu Lei" known as "NalaGinrut" <NalaGinrut@gmail.com>
Grandis is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License by the Free
Software Foundation, either version 3 of the License, o... | NalaGinrut/grandis | utils.js | JavaScript | gpl-3.0 | 1,146 |
/*
*Copyright (c) 2009 Eucalyptus Systems, Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, only version 3 of the License.
*
*
* This file is distributed in the hope that i... | Shebella/HIPPO | clc/modules/core/src/main/java/edu/ucsb/eucalyptus/cloud/entities/AOEMetaInfo.java | Java | gpl-3.0 | 4,964 |
/*
* This file is part of JustDoIt.
*
* Copyright 2011 Harald Held <harald.held@gmail.com>
*
* JustDoIt 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 op... | hheld/JustDoIt | MainWindow.h | C | gpl-3.0 | 4,331 |
import json
import random
import ssl
import string
import threading
import time
import websocket
import settings
from player import Player
class WebsocketPlayerControl(object):
def __init__(self, player, server=settings.WS_SERVER):
websocket.enableTrace(settings.DEBUG)
rand_chars = string.ascii_... | Menollo/menosic | client/main.py | Python | gpl-3.0 | 2,756 |
Template.messages.helpers({
messages: [
{ title : "This feature is coming soon!" }
]
});
| ak-org/rend_ez_vous | client/views/messages/messages.js | JavaScript | gpl-3.0 | 110 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_11) on Mon Jun 16 17:36:06 PDT 2014 -->
<title>Uses of Class javax.net.ssl.SNIServerName (Java Platform SE 8 )</title>
<meta name="date" conten... | DeanAaron/jdk8 | jdk8en_us/docs/api/javax/net/ssl/class-use/SNIServerName.html | HTML | gpl-3.0 | 11,730 |
package org.tellervo.desktop.setupwizard;
import java.awt.event.ActionListener;
import java.util.ArrayList;
import javax.swing.JDialog;
import javax.swing.JFrame;
import org.tellervo.desktop.core.App;
import org.tellervo.desktop.gui.widgets.AbstractWizardDialog;
import org.tellervo.desktop.gui.widgets.AbstractWizard... | petebrew/tellervo | src/main/java/org/tellervo/desktop/setupwizard/SetupWizard.java | Java | gpl-3.0 | 1,619 |
# *- coding: utf-8 -*-
# mailbox.py
# Copyright (C) 2013-2015 LEAP
#
# 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.
#
#... | leapcode/bitmask-dev | src/leap/bitmask/mail/imap/mailbox.py | Python | gpl-3.0 | 30,254 |
<?php
class AccesoDatos
{
private static $_objetoAccesoDatos;
private $_objetoPDO;
private function __construct()
{
try {
$this->_objetoPDO = new PDO('mysql:host=localhost;dbname=cdcol;charset=utf8', 'root', '', array(PDO::ATTR_EMULATE_PREPARES => false,PDO::ATTR_ERRMODE => PDO::... | 1caruxx/Ejercicios_PHP | H._PDO/ejemplo/clases/AccesoDatos.php | PHP | gpl-3.0 | 1,088 |
/* zconf.h -- configuration of the zlib compression library
* Copyright (C) 1995-2011 Jean-loup Gailly.
* For conditions of distribution and use, see copyright notice in zlib.h
*/
/* @(#) $Id$ */
#ifndef ZCONF_H
#define ZCONF_H
/*
* If you *really* need a unique prefix for all types and library functions,
* com... | SakuraSinojun/codeinside | svnspot.com/sakurasinojun.codeinside/client/render/zlib/zconf.h | C | gpl-3.0 | 13,788 |
/*
* Copyright (C) 2001 Sistina Software (UK) Limited.
* Copyright (C) 2004-2008 Red Hat, Inc. All rights reserved.
*
* This file is released under the GPL.
*/
#include "dm-core.h"
#include <linux/module.h>
#include <linux/vmalloc.h>
#include <linux/blkdev.h>
#include <linux/namei.h>
#include <linux/ctype.h>
#in... | williamfdevine/PrettyLinux | drivers/md/dm-table.c | C | gpl-3.0 | 42,470 |
#ifndef DISPLAYGLWIDGET_H
#define DISPLAYGLWIDGET_H
#include <QGLWidget>
#include <QtOpenGL>
#include <GL/glu.h>
class DisplayGLWidget : public QGLWidget
{
Q_OBJECT
public:
explicit DisplayGLWidget(QWidget *parent = 0);
void setPitchAngle(float angle);
void setRollAngle(float angle);
void setYawAngle(float ang... | victorcrimea/Q1_Control_Panel | displayglwidget.h | C | gpl-3.0 | 573 |
<?php
/**
* @package HikaShop for Joomla!
* @version 2.5.0
* @author hikashop.com
* @copyright (C) 2010-2015 HIKARI SOFTWARE. All rights reserved.
* @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
*/
defined('_JEXEC') or die('Restricted access');
?><fieldset>
<div class="toolbar" id="toolbar" style="... | vaibhav1607/com_hikashop_starter_v2.5.0_2015-08-06_18-17-26 | back/views/zone/tmpl/newchildform.php | PHP | gpl-3.0 | 1,495 |
require 'package'
class Wdiff < Package
description 'The GNU wdiff program is a front end to diff for comparing files on a word per word basis.'
homepage 'https://www.gnu.org/software/wdiff/'
version '1.2.2'
license 'GPL-3'
compatibility 'all'
source_url 'https://ftpmirror.gnu.org/wdiff/wdiff-1.2.2.tar.gz'... | skycocker/chromebrew | packages/wdiff.rb | Ruby | gpl-3.0 | 1,523 |
/****************************************************************************
**
** Copyright (C) 2016 The Qt Company Ltd.
** Contact: http://www.qt.io/licensing/
**
** This file is part of the Purchasing module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL3-COMM$
** Commercial License Usage
** Licensees holding vali... | geminy/aidear | oss/qt/qt-everywhere-opensource-src-5.9.0/qtpurchasing/src/purchasing/inapppurchase/winrt/qwinrtinapppurchasebackend.cpp | C++ | gpl-3.0 | 34,425 |
<!DOCTYPE html>
<html lang="en" class="no-js">
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Unity - Scripting API: WebCamTexture.WebCamTexture</title>
<meta na... | rakuten/Uinty3D-Docs-zhcn | ScriptReference/WebCamTexture-ctor.html | HTML | gpl-3.0 | 14,454 |
#include "cellinfo.h"
CellInfo::CellInfo(Position pos, bool filled, bool canTravelXNeg, bool canTravelXPos,
bool canTravelYNeg, bool canTravelYPos, bool canTravelZNeg, bool canTravelZPos)
: itsPosition(pos) {
itsCanTravel[NO_DIRECTION] = filled;
itsCanTravel[XNEG] = canTravelXNeg;
... | Mortonium/QtHelloTriangle | cellinfo.cpp | C++ | gpl-3.0 | 1,082 |
/**
* Copyright (C) 2016 Michael Johnson
*
* 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.
*
* This program is... | mj21181/ursus-swarm | src/main/java/pso/async/implementation/plants/StateSpace.java | Java | gpl-3.0 | 7,735 |
//
// Copyright (c) 2010-2013 Yves Langisch. All rights reserved.
// http://cyberduck.ch/
//
// 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... | iterate-ch/cyberduck | windows/src/test/csharp/ch/cyberduck/ui/controller/PersistentFormHandlerTest.cs | C# | gpl-3.0 | 1,631 |
<?php defined('SYSPATH') or die('No direct script access.');?>
<header class="navbar navbar-inverse navbar-fixed-top bs-docs-nav">
<div class="container">
<div class="navbar-header">
<a class="navbar-brand" href="<?=Route::url('default')?>"><?=core::config('general.site_name')?></a>
</d... | Wildboard/WbWebApp | themes/default/views/header.php | PHP | gpl-3.0 | 5,660 |
/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 4; tab-width: 4 -*- */
/*
* Copyright (C) 2010 Debarshi Ray <rishi@gnu.org>
* Copyright (C) 2009 Santanu Sinha <santanu.sinha@gmail.com>
*
* Solang is free software: you can redistribute it and/or modify it
* under the terms of the GNU General Public License as ... | GNOME/solang | src/common/non-copyable.h | C | gpl-3.0 | 1,193 |
/* $XFree86: xc/programs/Xserver/afb/afbhrzvert.c,v 3.1 2001/08/01 00:44:47 tsi Exp $ */
/* Combined Purdue/PurduePlus patches, level 2.0, 1/17/89 */
/***********************************************************
Copyright (c) 1987 X Consortium
Permission is hereby granted, free of charge, to any person obtaining a co... | chriskmanx/qmole | QMOLEDEV/vnc-4_1_3-unixsrc/unix/xc/programs/Xserver/afb/afbhrzvert.c | C | gpl-3.0 | 6,028 |
using NUnit.Framework;
using EncryptedOneDrive;
namespace EncryptedOneDrive.Tests
{
[TestFixture ()]
public class OneDriveStorageTest
{
OneDrive.FileSystem fs = null;
[TestFixtureSetUp]
public void Setup()
{
var cfg = new Config ();
var auth = AppLo... | kazuki/EncryptedOneDrive | EncryptedOneDrive.Tests/OneDriveStorageTest.cs | C# | gpl-3.0 | 772 |
/**
# Mantis Plugin "EasyEnter"
# Copyright (C) 2015 Frithjof Gnas - fg@prae-sensation.de
#
# Javascript functions and calls to slim down the bug-report-form on the
# configured base of include_fields, field_values etc..
#
# Disclaimer & License:
# This plugin - EasyEnter - is distributed in the hope that it wi... | fg-ok/EasyEnter | files/easyenter_page.js | JavaScript | gpl-3.0 | 4,477 |
#!/bin/bash
echo "Loop of curl request, with plugin disabled for the page $1"
for p in $(wp plugin list --fields=name --status=active)
do
echo "Plugin: $p"
for i in {1..5}
do
curl -so /dev/null -H "Pragma: no-cache" -w "%{time_total}\n" $1 | sed 's/\,/./'
done | awk '{ sum +=$1; n++; print $1 } EN... | Mte90/Script | profiling/plugin-profile.sh | Shell | gpl-3.0 | 392 |
package com.packt.webstore.interceptor;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.apache.log4j.Logger;
import org.springframework.util.StopWatch;
import org.... | bopbruno/webstore | webstore/src/main/java/com/packt/webstore/interceptor/PerformanceMonitorInterceptor.java | Java | gpl-3.0 | 2,266 |
// This file is part of MuMax, a high-performance micromagnetic simulator.
// Copyright 2011 Arne Vansteenkiste and Ben Van de Wiele.
// Use of this source code is governed by the GNU General Public License version 3
// (as published by the Free Software Foundation) that can be found in the license.txt file.
// N... | godsic/hotspin | src/hotspin-core/engine/solve_rk12.go | GO | gpl-3.0 | 6,115 |
package ch.chrummibei.silvercoin.universe.entity_systems;
import ch.chrummibei.silvercoin.universe.components.BigSpenderComponent;
import ch.chrummibei.silvercoin.universe.components.TradeSphereComponent;
import ch.chrummibei.silvercoin.universe.components.TraderComponent;
import ch.chrummibei.silvercoin.universe.comp... | brachiel/SilverCoin | core/src/ch/chrummibei/silvercoin/universe/entity_systems/BigSpenderSystem.java | Java | gpl-3.0 | 2,135 |
#include <cstdio>
struct {
int lower_limit, upper_limit;
char letter;
bool contain(int arg) {
return arg>=lower_limit && arg<=upper_limit;
}
} grade[5] = {{0,0,'E'},
{1,35,'D'},
{36,60,'C'},
{61,85,'B'},
{86,100,'A'}};
int main() {
int n;
scanf("... | pufe/aulinhas-spoj-br | 2016/aula9/nota09/nota09.cpp | C++ | gpl-3.0 | 437 |
/**
* \file IMP/flags.h
* \brief Various general useful macros for IMP.
*
* Copyright 2007-2017 IMP Inventors. All rights reserved.
*
*/
#ifndef IMPKERNEL_FLAGS_H
#define IMPKERNEL_FLAGS_H
#include <IMP/kernel_config.h>
#include <boost/cstdint.hpp>
#include "types.h"
#include <string>
IMPKERNEL_BEGIN_NAMESP... | shanot/imp | modules/kernel/include/flags.h | C | gpl-3.0 | 6,429 |
/**
* Copyright (C) 2014 Román Ginés Martínez Ferrández <rgmf@riseup.net>
*
* This program (LibreSportGPS) 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 any late... | rgmf/libresportgps | app/src/main/java/es/rgmf/libresportgps/common/Utilities.java | Java | gpl-3.0 | 11,851 |
/*
SPDX-FileCopyrightText: 2008-2021 Graeme Gott <graeme@gottcode.org>
SPDX-License-Identifier: GPL-3.0-or-later
*/
#ifndef KAPOW_SESSION_MODEL_H
#define KAPOW_SESSION_MODEL_H
#include "session.h"
#include <QAbstractItemModel>
#include <QXmlStreamWriter>
class SessionModel : public QAbstractItemModel
{
Q_OBJECT... | gottcode/kapow | src/session_model.h | C | gpl-3.0 | 2,111 |
/// Copyright (c) 2012 Ecma International. All rights reserved.
/// Ecma International makes this code available under the terms and conditions set
/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
/// "Use Terms"). Any redistribution of this code must retain the above
/// copyright an... | geminy/aidear | oss/qt/qt-everywhere-opensource-src-5.9.0/qtdeclarative/tests/auto/qml/ecmascripttests/test262/test/suite/ch15/15.2/15.2.3/15.2.3.3/15.2.3.3-4-200.js | JavaScript | gpl-3.0 | 913 |
# Copyright 2019-2020 by Christopher C. Little.
# This file is part of Abydos.
#
# Abydos 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 versio... | chrislit/abydos | tests/distance/test_distance__token_distance.py | Python | gpl-3.0 | 15,537 |
/*
* Generated by class-dump 3.1.2.
*
* class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2007 by Steve Nygard.
*/
#import "_ABCreateStringWithAddressDictionary.h"
#import "NSURLConnectionDataDelegate-Protocol.h"
#import "SDWebImageOperation-Protocol.h"
@class NSMutableData, NSThread, NSURLConnectio... | f41c0r/TinderStats-iOS | theos/include/Tinder/SDWebImageDownloaderOperation.h | C | gpl-3.0 | 2,729 |
/**
* @license Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.md or http://ckeditor.com/license
*/
/**
* @fileOverview Defines the {@link CKEDITOR.lang} object, for the
* Catalan language.
*/
/**#@+
@type String
@example
*/
/**
* Contains the di... | Ayahadhiie/Sistem-Konservasi-Energi | lang/ca.js | JavaScript | gpl-3.0 | 3,441 |
<!DOCTYPE html>
<html xml:lang="en-GB" lang="en-GB" xmlns="http://www.w3.org/1999/xhtml">
<head lang="en-GB">
<title>Ross Gammon’s Family Tree - Places</title>
<meta charset="UTF-8" />
<meta name ="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=1" />
<meta name ="apple-mo... | RossGammon/the-gammons.net | RossFamilyTree/plc/e/1/d15f60b3b22685382d7eae9d41e.html | HTML | gpl-3.0 | 2,648 |
/****************************************************************************
**
** Copyright (C) 2015 The Qt Company Ltd.
** Contact: http://www.qt.io/licensing
**
** This file is part of Qt Creator.
**
** Commercial License Usage
** Licensees holding valid commercial Qt licenses may use this file in
** accordance wit... | frostasm/qt-creator | src/plugins/qmldesigner/designercore/model/modelmerger.cpp | C++ | gpl-3.0 | 7,820 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>gSOAP WS-Security: Member List</title>
<link href="tabs.css" rel="style... | TangCheng/ionvif | gsoap-2.8/gsoap/doc/wsse/html/structsoap__wsse__session-members.html | HTML | gpl-3.0 | 2,805 |
package org.sapia.corus.processor;
import static org.assertj.core.api.Assertions.assertThat;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertTrue;
import static org.mockito.Matchers.any;
import s... | sapia-oss/corus | modules/server/src/test/java/org/sapia/corus/processor/ProcessorImplTest.java | Java | gpl-3.0 | 14,562 |
#!/usr/bin/env python
import sys
import re
"""Rewrite the doxygen \\file lines to have the full path to the file."""
def fix(filename):
contents = open(filename, "r").read()
contents = re.sub(
"\\\\file .*\\.h",
"\\\\file " + filename[len("build/include/"):],
contents,
1)
... | shanot/imp | tools/maintenance/fix_doxygen_file_lines.py | Python | gpl-3.0 | 593 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML>
<HEAD>
<TITLE>AFL Match Statistics : Sydney defeats Collingwood at ANZ Stadium Round 1 Saturday, 26th March 2016</TITLE>
<meta NAME="description" CONTENT="Sydney defeats Collingwood at ANZ Stadium Round 1 Saturday, 26th March 2016 AFL match sta... | criffy/aflengine | matchfiles/footywire_adv/footywire_adv6176.html | HTML | gpl-3.0 | 148,094 |
#ifndef NALL_UTILITY_HPP
#define NALL_UTILITY_HPP
#include <type_traits>
#include <utility>
namespace nall {
template<bool C, typename T = bool> struct enable_if { typedef T type; };
template<typename T> struct enable_if<false, T> {};
template<typename C, typename T = bool> struct mp_enable_if :
enable_if<C::val... | grim210/defimulator | defimulator/nall/utility.hpp | C++ | gpl-3.0 | 1,065 |
namespace Minary.DataTypes.ArpScan
{
public struct SystemFound
{
#region PROPERTIES
public string MacAddress { get; set; }
public string IpAddress { get; set; }
public string Type { get; set; }
#endregion
#region PUBLIC
public SystemFound(string macAddress, string ipAddress, st... | Minary/Minary | Minary/DataTypes/ArpScan/SystemFound.cs | C# | gpl-3.0 | 462 |
# coding=utf-8
import unittest
"""69. Sqrt(x)
https://leetcode.com/problems/sqrtx/description/
Implement `int sqrt(int x)`.
Compute and return the square root of _x_ , where _x_ is guaranteed to be a
non-negative integer.
Since the return type is an integer, the decimal digits are truncated and only
the integer p... | openqt/algorithms | leetcode/python/lc069-sqrtx.py | Python | gpl-3.0 | 925 |
/*
* This MainForm should only contain Event Handlers
* Everything else should be in its own file or class
* Have a function that stores all Textbox into the Character class
*/
using System;
using System.Collections.Generic;
using System.Collections;
using System.Drawing;
using System.Windows.Forms;
us... | mrdoowan/OPRPCharBuild | OPRPCharBuild/OPRPCharBuild/MainForm.cs | C# | gpl-3.0 | 116,837 |
from cloudbot import hook
from cloudbot.util import http
api_root = 'http://api.rottentomatoes.com/api/public/v1.0/'
movie_search_url = api_root + 'movies.json'
movie_reviews_url = api_root + 'movies/%s/reviews.json'
@hook.command('rt')
def rottentomatoes(inp, bot=None):
"""rt <title> -- gets ratings for <title>... | Zarthus/CloudBotRefresh | plugins/rottentomatoes.py | Python | gpl-3.0 | 1,312 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" con... | spoorcc/porthos | doc/html/dir_0ef8b19a9897c2a66786d943626a6c71.html | HTML | gpl-3.0 | 2,996 |
/*
ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
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 requi... | AdShea/ChibiOS | os/hal/ports/STM32/LLD/SDMMCv1/hal_sdc_lld.c | C | gpl-3.0 | 30,203 |
/***************************************************************************
* Copyright (C) 2011 by Etrnls *
* Etrnls@gmail.com *
* *
* This fi... | Etrnls/evangel | core/abstracttask.h | C | gpl-3.0 | 3,006 |
/*
* Copyright (c) 2010 Remko Tronçon
* Licensed under the GNU General Public License v3.
* See Documentation/Licenses/GPLv3.txt for more information.
*/
/*
* Copyright (c) 2011, Isode Limited, London, England.
* All rights reserved.
*/
package com.isode.stroke.compress;
import com.jcraft.jzlib.JZlib;
public c... | swift/stroke | src/com/isode/stroke/compress/ZLibCompressor.java | Java | gpl-3.0 | 663 |
# -*- coding: utf-8 -*-
# This file is part of translate.
#
# translate 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.
#
# translate ... | erik/translate | translate/client/exceptions.py | Python | gpl-3.0 | 5,955 |
/*
* See Licensing and Copyright notice in naev.h
*/
#ifndef TOOLKIT_PRIV_H
# define TOOLKIT_PRIV_H
#include "naev.h"
#include "log.h"
#include "tk/widget.h"
/*
* Colours to use.
*/
extern const glColour* toolkit_colLight;
extern const glColour* toolkit_col;
extern const glColour* toolkit_colDark;
/**
*... | Kinniken/NoxImperii | src/tk/toolkit_priv.h | C | gpl-3.0 | 8,184 |
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'agent_connect_dlg.ui'
#
# Created: Tue Oct 12 14:22:17 2010
# by: PyQt4 UI code generator 4.7.3
#
# WARNING! All changes made in this file will be lost!
from PyQt4 import QtCore, QtGui
class Ui_Dialog(object):
def setupUi(self, Di... | mnunberg/yobot | py/gui/agent_connect_dlg.py | Python | gpl-3.0 | 2,632 |
/*
BoundingVolume.h
Author: Chris Serson
Last Edited: October 14, 2016
Description: Classes and methods defining bounding volumes. Currently only BoundingSphere.
Usage: - Proper shutdown is handled by the destructor.
Future Work: - Add collision detection to Bounding Sphere.
- Add Axis Aligned Bounding Box.... | Traagen/Render-Terrain | Render Terrain/BoundingVolume.h | C | gpl-3.0 | 1,136 |
/* This file is part of the Neper software package. */
/* Copyright (C) 2003-2022, Romain Quey. */
/* See the COPYING file in the top-level directory. */
#ifdef __cplusplus
extern "C"
{
#endif
extern void net_mtess_flatten_gen (struct TESS *Tess, int TessId,
struct TESS *pFTess,... | rquey/neper | src/neper_t/net_flatten/net_mtess_flatten/net_mtess_flatten_gen/net_mtess_flatten_gen.h | C | gpl-3.0 | 377 |
from Ponos import init_db
from env_vars import *
import sqlite3
import os
print(DB_PATH)
open(DB_PATH, 'w').close()
init_db()
| shadowjig/ponos | initalize_db.py | Python | gpl-3.0 | 127 |
using FizzWare.NBuilder;
using FluentAssertions;
using NUnit.Framework;
using NzbDrone.Core.DecisionEngine.Specifications.Search;
using NzbDrone.Core.IndexerSearch.Definitions;
using NzbDrone.Core.Music;
using NzbDrone.Core.Parser.Model;
using NzbDrone.Test.Common;
namespace NzbDrone.Core.Test.DecisionEngineTests.Sear... | lidarr/Lidarr | src/NzbDrone.Core.Test/DecisionEngineTests/Search/ArtistSpecificationFixture.cs | C# | gpl-3.0 | 1,394 |
#include "ship.h"
#include <stdio.h>
cargo **docks, **shipStr;
pthread_mutex_t *countLock, *entryLock, nthLock;
pthread_cond_t *dockLock, *loadLock, *unloadLock, shipDestroy;
int *waitLoad, *waitUnload, *loading, *unloading;
int *dockCap, **route, *tTime, *shipCap, *aTime, *rLen;
void* shipMain(void*);
int nth=0;
stru... | kadircet/CENG | 334/the2t/main.c | C | gpl-3.0 | 3,599 |
/*
* Copyright (C) 2021 Christopher J. Howard
*
* This file is part of Antkeeper source code.
*
* Antkeeper source code 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, ... | cjhoward/antkeeper | src/renderer/passes/final-pass.hpp | C++ | gpl-3.0 | 2,198 |
/*
Copyright (C) 2011-2013 de4dot@gmail.com
This file is part of de4dot.
de4dot 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 l... | telerik/justdecompile-plugins | Reflexil.JustDecompile/reflexil.1.8.src/Libs/Sources/De4dot/sources/de4dot.code/deobfuscators/dotNET_Reactor/v4/DnrMethodCallInliner.cs | C# | gpl-3.0 | 1,772 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" con... | jaallen85/libjade | docs/functions_func_u.html | HTML | gpl-3.0 | 2,437 |
import freeze from 'deep-freeze'
import {ensure} from '#/main/core/tests'
import {TYPE_QUIZ, TYPE_STEP} from './../enums'
import select from './selectors'
import {tex, t} from '#/main/core/translation'
describe('Thumbnails selector', () => {
it('returns the quiz and step thumbs with active and errors set', () => {
... | ClaroBot/Distribution | plugin/exo/Resources/modules/quiz/editor/selectors.test.js | JavaScript | gpl-3.0 | 5,556 |
require 'nokogiri'
require 'digest'
require_relative '../objects/system'
require_relative '../objects/module'
class SystemReader
# uses nokogiri to extract all system information from scenario.xml
# This includes module filters, which are module objects that contain filters for selecting
# from the actual modu... | Jjk422/SecGen | lib/readers/system_reader.rb | Ruby | gpl-3.0 | 6,232 |
Param($computer,[switch]$xahome,[switch]$calabrio,[switch]$log,[switch]$lhc)
if($computer -eq $null){$computer = "."}
if($xahome){$computer = get-xaapplicationreport home | select -expand servernames | sort}
foreach($comp in $computer){
if($log)
{
if(test-path \\$comp\c$\reboot.log){more \\$comp\c$\reboot.log}
... | tsmooth3/pscripts | Get-StartUpTime.ps1 | PowerShell | gpl-3.0 | 1,182 |
#pragma once
/***************************************************************
* This source files comes from the xLights project
* https://www.xlights.org
* https://github.com/smeighan/xLights
* See the github commit history for a record of contributing
* developers.
* Copyright claimed based on commit dates rec... | cjd/xLights | xLights/models/SingleLineModel.h | C | gpl-3.0 | 1,687 |
/*
This file is part of ghtml.
ghtml 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.
ghtml is distributed in the hope ... | hypersoft/ghtml | include/webview/js/console/arguments.c | C | gpl-3.0 | 1,554 |
# Addierer mit += 1
# Eingaben erhalten
a = input("Dies ist ein Addierer!\nGeben Sie a ein: ")
b = input("Geben Sie b ein: ")
# Zeichenketten in Zahlen umwandeln
a = int(a)
b = int(b)
# neue Variable verwenden, Eingaben nicht verändern
result = a
i = 0
if b > 0: # wenn b größer Null
while i < b: ... | Informatik-AG-KGN-2016/Dokumente | 2016-11-28/aufgabe-addierer.py | Python | gpl-3.0 | 587 |
/*
* Sequence.java
*
* BEAST: Bayesian Evolutionary Analysis by Sampling Trees
* Copyright (C) 2014 BEAST Developers
*
* BEAST 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 Li... | armanbilge/B3 | src/beast/evolution/sequence/Sequence.java | Java | gpl-3.0 | 9,555 |
using InsuranceSystem.BLL.DTO.Catalogs;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace InsuranceSystem.BLL.Interfaces.Catalogs
{
public interface IAddressService : IService<AddressDTO>
{
Task<List<AddressDTO>> GetByFirstLineAsync(string firstLine);
Task<List<AddressD... | mishakos/InsuranceSystem.Library | InsuranceSystem.BLL/Interfaces/Catalogs/IAddressService.cs | C# | gpl-3.0 | 689 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Kyoto Cabinet: File Members</title>
<link href="tabs.css" rel="styleshe... | xushiwei/kyotocabinet | doc/api/globals_defs.html | HTML | gpl-3.0 | 4,457 |
/**
* Marlin 3D Printer Firmware
* Copyright (C) 2019 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
*
* Based on Sprinter and grbl.
* Copyright (C) 2011 Camiel Gubbels / Erik van der Zalm
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General... | blole/Marlin | config/examples/Creality/CR-10/Configuration_adv.h | C | gpl-3.0 | 92,039 |
package net.fe.lobbystage;
import java.util.List;
import net.fe.FEMultiplayer;
import net.fe.FEResources;
import net.fe.network.message.ChatMessage;
import org.lwjgl.input.Keyboard;
import org.newdawn.slick.Color;
import chu.engine.Game;
import chu.engine.KeyboardEvent;
import chu.engine.MouseEvent;
import chu.engi... | Pwntagonist/FEMultiPlayer-V2 | src/net/fe/lobbystage/LobbyChatBox.java | Java | gpl-3.0 | 2,201 |
namespace OmniXaml.NewAssembler.Commands
{
public class EndObjectCommand : Command
{
public EndObjectCommand(SuperObjectAssembler assembler) : base(assembler)
{
}
public override void Execute()
{
if (!StateCommuter.IsGetObject)
{
S... | danwalmsley/OmniXaml | OmniXaml/OmniXaml/NewAssembler/Commands/EndObjectCommand.cs | C# | gpl-3.0 | 1,002 |
<?php
/************************************************************************
* This file is part of EspoCRM.
*
* EspoCRM - Open Source CRM application.
* Copyright (C) 2014-2021 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* Website: https://www.espocrm.com
*
* EspoCRM is free software: you can redist... | ayman-alkom/espocrm | application/Espo/Classes/Acl/User/OwnershipChecker.php | PHP | gpl-3.0 | 2,051 |
package ca.on.oicr.pinery.client;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import javax.ws.rs.core.Response;
import javax.ws.rs.core.Response.Status;
/**
* Subtypes of this class should offer methods for retrieving their resource type from Pinery by
* levereging the {@link #getRes... | oicr-gsi/pinery | pinery-client/src/main/java/ca/on/oicr/pinery/client/ResourceClient.java | Java | gpl-3.0 | 3,215 |
<?php
/* ----------------------------------------------------------------------
* views/Browse/browse_results_images_html.php :
* ----------------------------------------------------------------------
* CollectiveAccess
* Open-source collections management software
* ----------------------------------------------... | libis/pa_cct | themes/colorado/views/Browse/browse_results_images_html.php | PHP | gpl-3.0 | 6,352 |
<div class="result">
<div class="search">
<h1>Search [Hit "Enter"]</h1>
<p>
Search Library for: "{{ meta.query }}"
</p>
</div>
<div class="listing">
{% for item in objects %}
<div class="item linkable hoverable">
<div class="row-fluid">
<div class="span2">
<img src="{{ item.main_im... | hzlf/openbroadcast | website/apps/alibrary/static/alibrary/nj/release/autocomplete.html | HTML | gpl-3.0 | 1,073 |
/*
* Copyright (C) 2010 {Apertum}Projects. web: www.apertum.ru email: info@apertum.ru
*
* 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 ... | jasmeet17/sbc-qsystem | QSystem/src/ru/apertum/qsystem/server/model/QPlanServiceList.java | Java | gpl-3.0 | 4,987 |
'use strict';
var async = require('async'),
validator = require('validator'),
url = require('url'),
S = require('string'),
utils = require('../../public/src/utils'),
meta = require('../meta'),
events = require('../events'),
db = require('../database'),
Password = require('../password'),
plugins = require('.... | HanRJ/mooc | src/user/profile.js | JavaScript | gpl-3.0 | 8,118 |
button {
padding : 8px 16px;
color : white;
background: -webkit-linear-gradient(red,white 10%,red 80%);
border-radius: 7px;
border : none;
outline none;
margin-top : 3px;
}
button:active {
background: -webkit-linear-gradient(rgba(255,0,0,0.3),red,white,red);
box-shadow: 0 12... | SwapnilB31/SQLNavigator | temp/dialog.css | CSS | gpl-3.0 | 1,517 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="ro">
<head>
<!-- Generated by javadoc (version 1.7.0_80) on Mon Jun 20 18:37:21 EEST 2016 -->
<title>Uses of Interface net.sf.jasperreports.engine.fill.JRFillCloneable (JasperReports 6.3.0... | MHTaleb/Encologim | lib/JasperReport/docs/api/net/sf/jasperreports/engine/fill/class-use/JRFillCloneable.html | HTML | gpl-3.0 | 45,802 |
# Makefile.in generated by automake 1.14.1 from Makefile.am.
# blueman/plugins/Makefile. Generated from Makefile.in by configure.
# Copyright (C) 1994-2013 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# wit... | hamonikr-root/blueman | blueman/plugins/Makefile | Makefile | gpl-3.0 | 25,377 |
# Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors
# License: GNU General Public License v3. See license.txt
from __future__ import unicode_literals
import json
import frappe
from erpnext.accounts.party import get_party_account_currency
from erpnext.controllers.accounts_controller import get_taxes_a... | neilLasrado/erpnext | erpnext/accounts/doctype/sales_invoice/pos.py | Python | gpl-3.0 | 21,154 |
---
layout: page
---
### Table des matières {.toggle}
- [Installation de Centreon 2.2 sur Ubuntu Server
10.04](centreon-ubuntu-install.html#installation-de-centreon-22-sur-ubuntu-server-1004)
- [Installation des
prérequis](centreon-ubuntu-install.html#installation-des-prerequis)
- [Récupérat... | monitoring-fr/wiki | app/_export/xhtml/centreon/centreon-ubuntu-install.md | Markdown | gpl-3.0 | 11,978 |
import java.util.ArrayList;
import java.util.List;
public class SuperUglyNumber {
/**
* @param n: a positive integer
*
* @param primes: the given prime list
*
* @return: the nth super ugly number
*/
public int nthSuperUglyNumber(int n, int[] primes) {
if (n <= 0 || primes == null || primes.length == ... | gxwangdi/LintCode | 518-Super-Ugly-Number/SuperUglyNumber.java | Java | gpl-3.0 | 759 |
// Mantid Repository : https://github.com/mantidproject/mantid
//
// Copyright © 2018 ISIS Rutherford Appleton Laboratory UKRI,
// NScD Oak Ridge National Laboratory, European Spallation Source
// & Institut Laue - Langevin
// SPDX - License - Identifier: GPL - 3.0 +
//
// This program is used to check if ... | mganeva/mantid | Testing/Tools/cxxtest/test/wchar.cpp | C++ | gpl-3.0 | 526 |
#include "src/v8.h"
#if V8_TARGET_ARCH_X87
// Copyright (c) 1994-2006 Sun Microsystems 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 ret... | zhangf911/fibjs | vender/v8/src/x87/assembler-x87.cc | C++ | gpl-3.0 | 45,133 |
{% load i18n %}
{% load geonode_auth %}
<p><b>{% trans "Abstract:" %}</b>
{% if rec.identification.abstract %}
{{rec.identification.abstract}}
{% else %}
<em>{% trans "No abstract is provided for this layer." %}</em>
{% endif %}
</p>
<p><b>{% trans "Provided by:" %}</b>
{% if rec.contact.name %} {# and rec.attribu... | makinacorpus/geonode | src/GeoNodePy/geonode/templates/maps/search_result_snippet.html | HTML | gpl-3.0 | 2,238 |
/*
This file is part of Helio Workstation.
Helio 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.
Helio is distribut... | peterrudenko/helio-workstation | Source/Core/CommandPalette/CommandPaletteActionsProvider.h | C | gpl-3.0 | 3,152 |
package fi.internetix.edelphi.jsons.resources;
import java.util.Locale;
import fi.internetix.edelphi.DelfoiActionName;
import fi.internetix.edelphi.EdelfoiStatusCode;
import fi.internetix.edelphi.dao.resources.ResourceDAO;
import fi.internetix.edelphi.dao.resources.ResourceLockDAO;
import fi.internetix.edelphi.dao.us... | otavanopisto/edelphi | edelphi/src/main/java/fi/internetix/edelphi/jsons/resources/TouchResourceLockJSONRequestController.java | Java | gpl-3.0 | 2,991 |
<?php
class ControllerPaymentWorldPay extends Controller {
public function index() {
$data['button_confirm'] = $this->language->get('button_confirm');
$this->load->model('checkout/order');
$order_info = $this->model_checkout_order->getOrder($this->session->data['order_id']);
if (!... | opencart-rewrite/opencart-rewrite | upload/catalog/controller/payment/worldpay.php | PHP | gpl-3.0 | 6,380 |
// Copyright ©2016 The gonum Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package testlapack
import (
"fmt"
"math"
"math/rand"
"testing"
"gonum.org/v1/gonum/blas"
"gonum.org/v1/gonum/blas/blas64"
)
type Dlatrder interface... | pts-eduardoacuna/pachy-learning | vendor/gonum.org/v1/gonum/lapack/testlapack/dlatrd.go | GO | gpl-3.0 | 5,259 |
#import <objc/objc.h>
#import "UIKit/UIKit.h"
//
typedef NS_ENUM(NSInteger, ToastViewType)
{
ToastViewDefault,
ToastViewInfo = ToastViewDefault,
ToastViewError,
ToastViewCancel = ToastViewError,
ToastViewSuccess,
ToastViewLoading,
};
//
@interface ToastView : UIView
{
}
- (id)initWithTitle:(NSString *)title typ... | qii/AirBooru | AirBooru/Sources/Support/Library/ToastView.h | C | gpl-3.0 | 1,251 |
package leetcode;
import java.util.Hashtable;
/**
* Created by Yulin on 6/09/2017.
*/
public class TwoSum {
public int[] twoSum(int[] nums, int target){
Hashtable<Integer, Integer> map = new Hashtable<Integer, Integer>();
for (int i = 0; i < nums.length; i++){
map.put(nums[i], i);
... | Nirvana-Y/leetcode | src/leetcode/TwoSum.java | Java | gpl-3.0 | 912 |
import userHelper
import serverPackets
import exceptions
import glob
import consoleHelper
import bcolors
import locationHelper
import countryHelper
import time
import generalFunctions
import channelJoinEvent
def handle(flaskRequest):
# Data to return
responseTokenString = "ayy"
responseData = bytes()
# The IP for ... | RlSEN/bannedcho | c.ppy.sh/loginEvent.py | Python | gpl-3.0 | 7,180 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.