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 |
|---|---|---|---|---|---|
/* GIMP - The GNU Image Manipulation Program
* Copyright (C) 1995 Spencer Kimball and Peter Mattis
*
* GimpImagePropView
* Copyright (C) 2005 Michael Natterer <mitch@gimp.org>
* Copyright (C) 2006 Sven Neumann <sven@gimp.org>
*
* This program is free software: you can redistribute it and/or modify
* it under ... | peixuan/GIMP-Mod | app/widgets/gimpimagepropview.c | C | gpl-3.0 | 16,747 |
## Catbot Setup
Setup scripts for cat-bots (cathook navbots)
For more information, visit [Cathook](https://github.com/nullworks/cathook/)
After the install script finished successfully, navmesh files have to be moved into your tf2 maps directory.
They can be found [here](https://github.com/nullworks/catbot-database... | nullifiedcat/catbot-setup | README.md | Markdown | gpl-3.0 | 821 |
using System;
using System.Text;
namespace NzbDrone.Core.Parser.RomanNumerals
{
/// <summary>
/// Represents the numeric system used in ancient Rome, employing combinations of letters from the Latin alphabet to signify values.
/// Implementation adapted from: http://www.c-sharpcorner.com/Blogs/14255/conve... | jamesmacwhite/Radarr | src/NzbDrone.Core/Parser/RomanNumerals/RomanNumeral.cs | C# | gpl-3.0 | 11,820 |
#include <vigir_footstep_planner/threading/expand_state_job.h>
#include <vigir_footstep_planner/robot_model/robot_model.h>
#include <vigir_footstep_planner/world_model/world_model.h>
namespace vigir_footstep_planning
{
namespace threading
{
ExpandStateJob::ExpandStateJob(const Footstep& footstep, const PlanningState&... | TRECVT/vigir_footstep_planning_core | vigir_footstep_planner/src/threading/expand_state_job.cpp | C++ | gpl-3.0 | 1,751 |
###
# Copyright 2016 - 2022 Green River Data Analysis, LLC
#
# License detail: https://github.com/greenriver/hmis-warehouse/blob/production/LICENSE.md
###
module HmisCsvTwentyTwentyTwo::Loader
class EnrollmentCoc < GrdaWarehouse::Hud::Base
include LoaderConcern
include ::HMIS::Structure::EnrollmentCoc
# ... | greenriver/hmis-warehouse | drivers/hmis_csv_twenty_twenty_two/app/models/hmis_csv_twenty_twenty_two/loader/enrollment_coc.rb | Ruby | gpl-3.0 | 472 |
#include <netinet/in.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/time.h>
#include <sys/wait.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <errno.h>
#include <signal.h>
#include <semaphore.h>
#include "socket... | abes975/dorayaki | src/udp_proxy.c | C | gpl-3.0 | 9,406 |
//Factorial Trailing Zeroes
class Solution {
public:
int trailingZeroes(int n) {
if(n == 0)
return 0;
int n2 = log2(n);
int n5 = log(n)/log(5);
int x2 = 0;
int x5 = 0;
for(int i = 1;i <= n2;i++)
x2 += n/pow(2, i);
for(int i = 1;i <= n5;... | codinganywhere/leetcode_solutions | 172.cpp | C++ | gpl-3.0 | 393 |
public javascripts | DFEAGILEDEVOPS/MTC | admin/public/javascripts/README.md | Markdown | gpl-3.0 | 18 |
import javafx.application.Application;
import javafx.fxml.FXMLLoader;
import javafx.scene.Scene;
import javafx.scene.layout.*;
import javafx.stage.Stage;
import javafx.scene.image.Image;
import javafx.scene.image.ImageView;
public class Main extends Application {
/**
* @param args the command line argum... | vidister/Ausbildung | berufsschule/as/Feuerwehrleitsystem/Main.java | Java | gpl-3.0 | 925 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LogicLayer.Models
{
public class Message
{
public bool IsSuccess { get; set; }
public string Content { get; set; }
}
}
| anbinhtrong/JwPlayer | ShowSubtitleInJwPlayer/LogicLayer/Models/Message.cs | C# | gpl-3.0 | 277 |
require 'test_helper'
class Issue::CpublishTest < ActiveSupport::TestCase
# test "the truth" do
# assert true
# end
end
| ImJayQiu/ssics | test/models/issue/cpublish_test.rb | Ruby | gpl-3.0 | 129 |
import os, random
rfilename=random.choice(os.listdir("/storage/pictures"))
rextension=os.path.splitext(rfilename)[1]
picturespath='/storage/pictures/'
#TODO Probably dont need a forloop can possibly do random*
#TODO What if the directory is empty?
for filename in os.listdir(picturespath):
if filename.startswith("ran... | shoaibali/kodi.background.rotator | randombackground.py | Python | gpl-3.0 | 713 |
# -*- encoding: utf-8 -*-
import os
from abjad.tools import documentationtools
from abjad.tools import systemtools
from abjad.tools.developerscripttools.DeveloperScript import DeveloperScript
from abjad.tools.developerscripttools.ReplaceInFilesScript \
import ReplaceInFilesScript
class RenameModulesScript(Develop... | mscuthbert/abjad | abjad/tools/developerscripttools/RenameModulesScript.py | Python | gpl-3.0 | 13,078 |
"""
Module defining the Event class which is used to manage collissions and check their validity
"""
from itertools import combinations
from copy import copy
from particle import Particle
class EventParticle(object):
def __init__(self, particle1, particle2):
self.particle1 = particle1
self.pa... | hniemeyer/HardSphereSim | EventManager.py | Python | gpl-3.0 | 4,177 |
# -*- coding: utf-8 -*-
""" Projy template for PythonPackage. """
# system
from datetime import date
from os import mkdir, rmdir
from shutil import move
from subprocess import call
# parent class
from projy.templates.ProjyTemplate import ProjyTemplate
# collectors
from projy.collectors.AuthorCollector import AuthorCol... | stephanepechard/projy | projy/templates/DjangoProjectTemplate.py | Python | gpl-3.0 | 4,869 |
#ifndef RECTC_H
#define RECTC_H
#include <QDebug>
#include "coordinates.h"
class RectC
{
public:
RectC() {}
RectC(const Coordinates &topLeft, const Coordinates &bottomRight)
: _tl(topLeft), _br(bottomRight) {}
RectC(const Coordinates ¢er, double radius);
bool isNull() const
{return _tl.isNull() && _br.... | halftux/GPXSee | src/common/rectc.h | C | gpl-3.0 | 1,037 |
# Copy current unfinished logfile to initramfs for debug purpose.
# Usually REAR_LOGFILE=/var/log/rear/rear-$HOSTNAME.log
# The REAR_LOGFILE name set by main script from LOGFILE in default.conf
# but later user config files are sourced in main script where LOGFILE can be set different
# so that the user config LOGFILE ... | terreActive/rear | usr/share/rear/rescue/default/910_copy_logfile.sh | Shell | gpl-3.0 | 676 |
package com.epam.wilma.stubconfig.json.parser;
/*==========================================================================
Copyright since 2013, EPAM Systems
This file is part of Wilma.
Wilma is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as publis... | epam/Wilma | wilma-application/modules/wilma-stub-configuration-parser/src/main/java/com/epam/wilma/stubconfig/json/parser/ResponseFormatterDescriptorJsonParser.java | Java | gpl-3.0 | 6,671 |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Host;
use App\SwitchModel;
use App\PortPlusOid;
use App\Port;
use App\LinkA;
use App\LinkB;
use App\Submap;
use App\Http\Requests;
use App\Http\Controllers\Controller;
class LinkController extends Controller
{
// Show Link Dashboard
publ... | carloswimmer/mapsys | app/Http/Controllers/LinkController.php | PHP | gpl-3.0 | 3,665 |
# - Try to find readline include dirs and libraries
#
# Usage of this module as follows:
#
# find_package(Readline)
#
# Variables used by this module, they can change the default behaviour and need
# to be set before calling find_package:
#
# READLINE_INSTALL_PATH Set this variable to the root installatio... | thelfer/tfel-plot | cmake/modules/FindReadLine.cmake | CMake | gpl-3.0 | 1,282 |
/*
################################################################
### SLIDE ANYTHING PLUGIN - STYLE FOR TINYMCE EDITOR BUTTOND ###
################################################################
*/
i.mce-i-icon {
font:400 20px/1 dashicons;
padding:0px;
vertical-align:top;
speak:none;
-webkit-font... | rUmbelino/lemuel | wp-content/plugins/slide-anything/css/tinymce_style.css | CSS | gpl-3.0 | 429 |
/*
* Pixel Dungeon
* Copyright (C) 2012-2015 Oleg Dolya
*
* 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.
*
* T... | rodriformiga/pixel-dungeon | src/com/watabou/pixeldungeon/scenes/StartScene.java | Java | gpl-3.0 | 13,966 |
package com.github.epd.sprout.items.wands;
import com.github.epd.sprout.Assets;
import com.github.epd.sprout.Dungeon;
import com.github.epd.sprout.actors.Actor;
import com.github.epd.sprout.actors.Char;
import com.github.epd.sprout.actors.buffs.Buff;
import com.github.epd.sprout.actors.buffs.Invisibility;
import com.... | G2159687/espd | app/src/main/java/com/github/epd/sprout/items/wands/Wand.java | Java | gpl-3.0 | 9,921 |
<?php
require_once "API.php";
$API = new API();
$API->rest();
?> | sergiocastro95/TFG | Desarrollo/Server/rest/Index.php | PHP | gpl-3.0 | 78 |
<?php
class ControllerCatalogCategory extends Controller {
private $error = array();
public function index() {
$this->load->language('catalog/category');
$this->document->title = $this->language->get('heading_title');
$this->load->model('catalog/category');
$this->getList();
}
public function i... | kzawner/andreaherbaty.pl | upload/admin/controller/catalog/category.php | PHP | gpl-3.0 | 11,952 |
videojs-soundcloud
==================
[](https://travis-ci.org/LoveIsGrief/videojs-soundcloud)
A [videojs/video-js](https://github.com/videojs/video.js) plugin to support soundcloud track links like:
- https://soundcloud.com/vau... | LoveIsGrief/videojs-soundcloud | README.md | Markdown | gpl-3.0 | 2,166 |
package md5b60ffeb829f638581ab2bb9b1a7f4f3f;
public class PlatformRenderer
extends android.view.ViewGroup
implements
mono.android.IGCUserPeer
{
/** @hide */
public static final String __md_methods;
static {
__md_methods =
"n_onMeasure:(II)V:GetOnMeasure_IIHandler\n" +
"n_onLayout:(ZIIII)V:... | ThatOldFox/Project2PasswordSafe | Project2/Project2/Project2.Droid/obj/Debug/android/src/md5b60ffeb829f638581ab2bb9b1a7f4f3f/PlatformRenderer.java | Java | gpl-3.0 | 4,179 |
/* This file is part of Arkhados.
Arkhados 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.
Arkhados is distributed in the hope that... | Xatalos/Arkhados | src/arkhados/spell/PelletBuilder.java | Java | gpl-3.0 | 7,503 |
/*
* Copyright 2012 Amazon Technologies, Inc.
*
* Licensed under the Amazon Software License (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at:
*
* http://aws.amazon.com/asl
*
* This file is distributed on an "AS IS" BASIS, WITHOUT ... | ucberkeley/moocchat | turk/src/com/amazonaws/mturk/cmd/summary/ImageCategoryResultsSummarizer.java | Java | gpl-3.0 | 3,433 |
/**
* Copyright (C) 2012 The Serval Project
*
* This file is part of Serval Software (http://www.servalproject.org)
*
* Serval Software 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 o... | aiQon/crowdshare | src/org/servalproject/rhizome/RhizomeMessage.java | Java | gpl-3.0 | 2,635 |
// Part of AtomViewer: AtomViewer is a tool to display and analyse
// atomistic simulations
//
// Copyright (C) 2013 ICAMS, Ruhr-Universität Bochum
//
// AtomViewer 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 Found... | CBegau/AtomViewer | src/model/io/MDFileLoader.java | Java | gpl-3.0 | 5,838 |
<!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 - Family of BOWDEN, William and CUTCLIFFE, Grace</title>
<meta charset="UTF-8" />
<meta name ="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, us... | RossGammon/the-gammons.net | RossFamilyTree/fam/e/6/d15f5fdb68f6429d090f547256e.html | HTML | gpl-3.0 | 6,806 |
$LOAD_PATH << File.dirname(__FILE__)+'/../lib'
$LOAD_PATH << File.dirname(__FILE__)+'./lib'
require 'test/unit'
require 'pp'
require 'HMC/Resource'
class TestHMCResource < Test::Unit::TestCase
def test_name
string = 'lpar:root/ibmhscS1_0|1*9131-52A*6535CCG|IBMHSC_Partition'
resource = Resource.new(string)... | ziutus/hmc_vios_aix | test/hmc_resoure_test.rb | Ruby | gpl-3.0 | 1,594 |
/*
Copyright (C) 2016 PencilBlue, LLC
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 distributed in th... | Whatsit2yaa/vast-tundra-84597 | include/admin_navigation.js | JavaScript | gpl-3.0 | 18,087 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="fr">
<head>
<!-- Generated by javadoc (version 1.7.0_40) on Mon Jun 06 23:43:38 CEST 2016 -->
<title>Overview List</title>
<meta name="date" content="2016-06-06">
<link rel="stylesheet" ty... | Edroxis/DI3_Projet4_Pointeuse | doc/overview-frame.html | HTML | gpl-3.0 | 998 |
// SuperTuxKart - a fun racing game with go-kart
// Copyright (C) 2009-2013 Marianne Gagnon
//
// 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... | deveee/supertuxkart-0.8.1-updates | src/states_screens/dialogs/player_info_dialog.cpp | C++ | gpl-3.0 | 9,818 |
#!/usr/bin/python
# The file is part of the WRL Project.
#
# The WRL Project 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.
#
# ... | smutt/WRL | topThick.py | Python | gpl-3.0 | 2,656 |
// *****************************************************************************
// hrtimer.cpp Tao3D project
// *****************************************************************************
//
// File description:
//
//
//
//
//
//
//
//
// **************************... | c3d/tao-3D | libcryptopp/cryptopp/hrtimer.cpp | C++ | gpl-3.0 | 4,791 |
#pragma region Copyright (c) 2014-2017 OpenRCT2 Developers
/*****************************************************************************
* OpenRCT2, an open source clone of Roller Coaster Tycoon 2.
*
* OpenRCT2 is the work of many authors, a full list can be found in contributors.md
* For more information, visit h... | gDanix/OpenRCT2 | src/openrct2/ride/thrill/RotoDrop.cpp | C++ | gpl-3.0 | 8,223 |
/*
* Copyright (C) 2017 Ian Buttimer
*
* 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
* any later version.
*
* This program is distributed in the ho... | ibuttimer/moviequest | app/src/main/java/ie/ianbuttimer/moviequest/data/MovieContentValues.java | Java | gpl-3.0 | 2,658 |
#pragma once
#include <memory>
#include "storm/models/ModelType.h"
#include "storm/models/sparse/StandardRewardModel.h"
#include "storm/models/sparse/Model.h"
#include "storm/storage/sparse/ModelComponents.h"
namespace storm {
namespace utility {
namespace builder {
template<type... | MazZzinatus/storm | src/storm/utility/builder.h | C | gpl-3.0 | 670 |
/*
* Copyright (c) 2015, Intel Corporation
*
* 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 retain the above copyright notice,
* this list of conditions and the follow... | variar/klogg | 3rdparty/hyperscan/src/nfagraph/ng_haig.h | C | gpl-3.0 | 2,496 |
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" href="http://www.petercorke.com/RVC/common/toolboxhelp.css">
<title>M-File Help: angvec2tr</title>
</head>
<body>
<table border="0" cellspacing="0" width="100%">
<tr class="subheader">
... | m-morelli/softgrasp | thirdparties/rvctools/robot/info/html/angvec2tr.html | HTML | gpl-3.0 | 1,255 |
#-----------------------------------------------------------------------------
# Copyright (c) 2013-2016, PyInstaller Development Team.
#
# Distributed under the terms of the GNU General Public License with exception
# for distributing bootloader.
#
# The full license is in the file COPYING.txt, distributed with this s... | ijat/Hotspot-PUTRA-Auto-login | PyInstaller-3.2/PyInstaller/hooks/hook-wx.lib.activex.py | Python | gpl-3.0 | 571 |
<?php include( 'header.php' ); ?>
<article class = "text">
<h1>Responsiville Main object</h1>
<p>
The Responsiville framework defines -and depends on it- a <code>Responsiville.Main</code> object, which is a singleton. This means that only one instance of it is available in each we... | wpgreece/wpgreece-theme | inc/vanilla/responsiville/demo/main.php | PHP | gpl-3.0 | 3,461 |
/***************************************************************
* 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 recorded in Githu... | cjd/xLights | xSchedule/events/ListenerARTNet.cpp | C++ | gpl-3.0 | 6,484 |
# dominant | stikagold/dominant | README.md | Markdown | gpl-3.0 | 10 |
#include <stdio.h>
double f(int n)
{
int i = 0;
int k = 1;
double r = 0.000;
double fi = 0.000;
for (i = 1; i < n+ 1; ++i)
{
fi = i;
r += k*1.000/fi;
k = -k;
}
return r;
}
int main()
{
int n;
int m;
scanf("%d",&n);
while(n-- >0 )
{
... | JetMeta/Zds | hd/2011.cpp | C++ | gpl-3.0 | 396 |
///////////////////////////////////////////////////////////////////////////////
// Name: src/msw/gdiplus.cpp
// Purpose: implements wrappers for GDI+ flat API
// Author: Vadim Zeitlin
// Created: 2007-03-14
// Copyright: (c) 2007 Vadim Zeitlin <vadim@wxwidgets.org>
// Licence: wxWindows licenc... | CarlosManuelRodr/wxChaos | libs/wxMSW-3.1.4/src/msw/gdiplus.cpp | C++ | gpl-3.0 | 84,448 |
/**
* Swift-Cardinal Object Notation
* https://github.com/norstone-tech/scon
*
* Copyright (c) BlueStone Technological Enterprises Inc., 2016-2019
* Copyright (c) Norstone Technologies 2021
* Licensed under the GNU GPLv3 license.
*/
/* eslint-disable no-magic-numbers, no-mixed-operators, sort-keys */
"use strict... | BlueStone-Tech-Enterprises/scon | lib/conf.js | JavaScript | gpl-3.0 | 2,496 |
/* Report an error and exit.
Copyright 2016-2019 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3, or (at your option)
any later version.... | komh/coreutils-os2 | src/die.h | C | gpl-3.0 | 1,146 |
/***********************************************************************
This file is part of KEEL-software, the Data Mining tool for regression,
classification, clustering, pattern mining and so on.
Copyright (C) 2004-2010
F. Herrera (herrera@decsai.ugr.es)
L. Sánchez (luciano@uniovi.es)
J. Alcalá-Fde... | adofsauron/KEEL | src/keel/Algorithms/Rule_Learning/Ripper/Ripper.java | Java | gpl-3.0 | 23,149 |
## balance
Show accounts and their balances. Aliases: b, bal.
`--change`
: show balance change in each period (default)
`--cumulative`
: show balance change accumulated across periods (in multicolumn reports)
`-H --historical`
: show historical ending balance in each period (includes postings before report start dat... | ony/hledger | hledger/doc/balance.m4.md | Markdown | gpl-3.0 | 12,131 |
/*******************************************************************************
* Copyright (c) 2011-2014 SirSengir.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the GNU Lesser Public License v3
* which accompanies this distribution, and is available at... | bdew/ForestryMC | src/main/java/forestry/arboriculture/CommandTreekeepingMode.java | Java | gpl-3.0 | 9,001 |
#ifndef OPENBOOK_FS_GUI_LISTKNOWNPEERS_H_
#define OPENBOOK_FS_GUI_LISTKNOWNPEERS_H_
#include "Options.h"
#include <QStringList>
namespace openbook {
namespace filesystem {
namespace gui {
class ListKnownPeers:
public Options
{
public:
static const std::string COMMAND;
static const std::stri... | cheshirekow/codebase | src/openbookfs/gui/commands/ListKnownPeers.h | C | gpl-3.0 | 428 |
/*
* Copyright (C) 2012 Russell King
* Written from the i915 driver.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*/
#include <linux/errno.h>
#include <linux/kernel.h>
#in... | williamfdevine/PrettyLinux | drivers/gpu/drm/armada/armada_fbdev.c | C | gpl-3.0 | 4,872 |
#ifndef ANALYSERPITCH_H
#define ANALYSERPITCH_H
#include <QObject>
#include <QPointer>
#include <QString>
#include <QList>
#include <QStandardItemModel>
#include "PraalineCore/Base/RealTime.h"
namespace Praaline {
namespace Core {
class Corpus;
class CorpusCommunication;
class Interval;
class IntervalTier;
class Stat... | praaline/Praaline | app/statistics/prosody/AnalyserMacroprosody.h | C | gpl-3.0 | 1,719 |
\hypertarget{classSimulation}{}\section{Simulation Class Reference}
\label{classSimulation}\index{Simulation@{Simulation}}
Class containing all \hyperlink{classEnvironment}{Environment} objects, as well control-\/flow attributes for the simulation.
{\ttfamily \#include $<$Simulation.\+hpp$>$}
Inheritance diagr... | melchior-zimmermann/popSim | doxyDoc/latex/classSimulation.tex | TeX | gpl-3.0 | 7,728 |
#include <stdio.h>
#include <stdlib.h>
#include "tables_sort.h"
void B_InsertSort(NodeType R[], int n)
{
int i, j;
int p;
int q;
R[0].next = 1;
R[1].next = 0;
for (i = 2; i < n; i++)
{
j = 0;
while (R[R[j].next].data < R[i].data && R[j].next != 0)
j = R[j].next;
R[i].next = R[j].next;
... | lilianglaoding/codeprimer | CLab/DataStruct/Sort/Table_Sort/tables_sort.c | C | gpl-3.0 | 895 |
<?php
/*
* Inizializzazione di una classe Settings di impostazione per definire le variabili di collegamento al DB
*/
class Settings{
/**
* @author sanvi <sanvi.simo@gmail.com>
*/
private $settings;
function getSettings(){
$this->settings['host'] = "localhost"... | sanvisimo/solari | PHP/settings.php | PHP | gpl-3.0 | 510 |
<html>
<head>
<title>Enviando Correo Entidad --- OrfeoGPL</title>
<link rel="stylesheet" href="../estilos/orfeo.css">
</head>
<body>
<center><img src='http://volimpo/iconos/tuxTx.gif'></center>
<?php
// envio de respuesta via email
// Obtiene los datos de la respuesta rapida.
$r... | anicma/orfeo | respuesta_rapida/construccionRespuestaRapida.php | PHP | gpl-3.0 | 22,003 |
/*
* SslSocket.cpp
*
* Created on: Apr 6, 2014
* Author: lion
*/
#include "SslSocket.h"
#include "Stream.h"
#include "PKey.h"
namespace fibjs
{
result_t SslSocket_base::_new(X509Cert_base *crt, PKey_base *key,
obj_ptr<SslSocket_base> &retVal)
{
obj_ptr<SslSocket> ss = new... | jiachenning/fibjs | fibjs/src/SslSocket.cpp | C++ | gpl-3.0 | 9,212 |
# xspf-tools
Tools for manipulating and creating [xspf](http://xspf.org/) playlists (e.g. VLC Player Playlists)
| Travis | Jenkins |
| --- | --- |
| [](https://travis-ci.org/thedava/xspf-tools) | [ 2011-2013 Project SkyFire <http://www.projectskyfire.org/>
* Copyright (C) 2008-2013 TrinityCore <http://www.trinitycore.org/>
* Copyright (C) 2006-2013 ScriptDev2 <https://scriptdev2.svn.sourceforge.net/>
*
* This program is free software; you can redistribute it and/or modify it
* under the t... | Crash911/RaptoredSkyFire | src/server/scripts/EasternKingdoms/BlackwingLair/boss_flamegor.cpp | C++ | gpl-3.0 | 3,098 |
/****************************************************************************
**
** Copyright (C) 2017-2019 N7 Space sp. z o. o.
** Contact: http://n7space.com
**
** This file is part of ASN.1/ACN Plugin for QtCreator.
**
** Plugin was developed under a programme and funded by
** European Space Agency.
**
** This Plugi... | n7mobile/asn1scc.IDE | src/data/visitor.cpp | C++ | gpl-3.0 | 1,119 |
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using OpenHardwareMonitor.Hardware;
namespace TempAlert.Client
{
public partial class MainForm : Form
{
private Computer computer = new Computer();
... | rphi/TempAlert | TempAlert/MainForm.cs | C# | gpl-3.0 | 5,255 |
/*
* Copyright (C) 2008-2009 Julien Danjou <julien@danjou.info>
*
* 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 use, ... | chriskmanx/qmole | XORG2/xcb-util-0.3.5/event/xcb_event.h | C | gpl-3.0 | 9,370 |
# rasPyCNCController
# Copyright 2016 Francesco Santini <francesco.santini@gmail.com>
#
# This file is part of rasPyCNCController.
#
# rasPyCNCController 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 ... | fsantini/rasPyCNCController | gcode/GCodeLoader.py | Python | gpl-3.0 | 2,216 |
using System;
namespace Server.Items
{
public class TransientItem : Item
{
private TimeSpan m_LifeSpan;
[CommandProperty( AccessLevel.GameMaster )]
public TimeSpan LifeSpan
{
get { return m_LifeSpan; }
set
{
m_LifeSpan = value;
if ( m_Timer != null )
m_Timer.Stop();
m_CreationTim... | GenerationOfWorlds/GOW | Scripts/Core/Mondains Legacy/Magic/Spellweaving/TransientItem.cs | C# | gpl-3.0 | 2,973 |
-----------------------------------
-- Area: Dynamis Qufim
-- MOB: Vanguard_Predator
-----------------------------------
mixins = {require("scripts/mixins/job_special")}
-----------------------------------
function onMobDeath(mob, player, isKiller)
end | Hozu/darkstar | scripts/zones/Dynamis-Qufim/mobs/Vanguard_Predator.lua | Lua | gpl-3.0 | 254 |
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>Introduction</title>
<link rel="stylesheet" href="../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
<link rel="home" href="../index.html" title="The Boost C++ Libr... | gorkinovich/DefendersOfMankind | dependencies/boost-1.46.0/doc/html/lambda/s03.html | HTML | gpl-3.0 | 12,819 |
<?
EWGLogout(WGSL("term","Session closed"),"Ok");
if (!WGisHTTPAuth()) {
?>
<div class="WGWActivity" data-wgid="main">
<div class="sysLogout"><%<term_h>%><br><br>
<a href="#_close()" class="WGButton">Ok</a></div>
</div>
<? } ?>
| epto/webgui8 | wwwroot/bin/app/webgui/logout.app/layout.php | PHP | gpl-3.0 | 237 |
/****************************/
/* THIS IS OPEN SOURCE CODE */
/****************************/
/**
* @author Jose Pedro Oliveira
*
* test case for the linux-net component
*
* @brief
* List all net events codes and names
*/
#include <stdio.h>
#include <stdlib.h>
#include "papi_test.h"
int main (int argc, cha... | drahoslavzan/MKP-PSO | libs/papi-5.1.0/src/components/net/tests/net_list_events.c | C | gpl-3.0 | 2,095 |
//---------------------------------------------------------------------------------------
//
// ghc::filesystem - A C++17-like filesystem implementation for C++11/C++14
//
//---------------------------------------------------------------------------------------
//
// Copyright (c) 2018, Steffen Schümann <s.schuemann@po... | COMBINE-lab/pufferfish | include/ghc/fs_fwd.hpp | C++ | gpl-3.0 | 2,574 |
/*
Copyright (c) 2012, Lunar Workshop, Inc.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
2. R... | BSVino/SMAK | raytracer/raytracer.h | C | gpl-3.0 | 5,370 |
<?php
namespace SmartCat\Client\Normalizer;
use Carbon\Carbon;
class TranslationMemoryModelNormalizer extends AbstractNormalizer
{
public function supportsDenormalization($data, $type, $format = null)
{
if ($type !== 'SmartCat\\Client\\Model\\TranslationMemoryModel') {
return false;
... | smartcatai/SmartCAT-API | src/SmartCAT/API/Normalizer/TranslationMemoryModelNormalizer.php | PHP | gpl-3.0 | 4,058 |
# Authors: Karl MacMillan <kmacmill@redhat.com>
#
# Copyright (C) 2007 Red Hat
# see file 'COPYING' for use and warranty information
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either ver... | encukou/freeipa | ipapython/config.py | Python | gpl-3.0 | 9,257 |
ENT.Type = "anim"
ENT.Base = "base_gmodentity"
ENT.PrintName = "Smoke less powder"
ENT.Author = "H.A.Z.G"
ENT.Purpose = "Crafting part"
ENT.Spawnable = false
ENT.AdminSpawnable = false | AndyClausen/PNRP_HazG | postnukerp/entities/entities/intm_smokelesspowder/shared.lua | Lua | gpl-3.0 | 206 |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.IO;
using System.Linq;
using System.Runtime.Serialization;
using System.Xml;
using CP77.CR2W.Reflection;
using FastMember;
namespace CP77.CR2W.Types
{
/// <summary>
/// A pointer to a chunk within the same cr2w file.
... | Traderain/Wolven-kit | CP77.CR2W/Types/Generic/multiChannelCurve.cs | C# | gpl-3.0 | 2,809 |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.caritas.entity;
import java.io.Serializable;
import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Embeddable;
import javax.validation.constraints.NotNull;
/**
*
* @aut... | ITESM-BancoDeAlimentos/BAM | RealSystem/BACMty-ejb/src/java/com/caritas/entity/EncSocioNutriciaSegPK.java | Java | gpl-3.0 | 1,941 |
#!/bin/sh
omniidl -bpython -I"%RTM_ROOT%rtm\idl" -I"C:\UserDefType" idl/DataBase.idl
| Nobu19800/MovieDataBaseInputRTC | idlcompile.sh | Shell | gpl-3.0 | 86 |
# RPiGpio
**RPiGpio** - *Simplifies raspberry pi gpio access*
**RPiOperant** - *Example client program demonstrating capabilities*
Author: Jesse McClure, Copyright 2014
License: GPLv3 / CC-BY-SA
## Using RPioGpio
The RPiGpio program must be run as root - this can be accomplished by
launching from init at boot. A ... | TrilbyWhite/RPiGpio | README.md | Markdown | gpl-3.0 | 3,130 |
package net.mcthunder.commands;
import net.mcthunder.api.Command;
import net.mcthunder.entity.Player;
import java.util.Arrays;
public class Broadcast extends Command {
public Broadcast(){
super("broadcast", Arrays.asList("say"), "Broadcast a server message", "/broadcast {message}", 5000, "core.broadcast");
}... | Lukario45/MCThunder | src/main/java/net/mcthunder/commands/Broadcast.java | Java | gpl-3.0 | 488 |
<?xml version="1.0" encoding="utf-8"?>
<!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" xml:lang="en" lang="en">
<head>
<title>ActionView::Resolver</title>
<meta http-equiv="Content-Type" cont... | rafaellc28/Portfolio | doc/api/classes/ActionView/Resolver.html | HTML | gpl-3.0 | 8,264 |
script.module.torrent2http
==========================
This add-on is binding to [torrent2http](https://github.com/anteo/torrent2http) client.
It is bundled with torrent2http binaries for Android ARM, Linux x86/x64/ARM, Windows x86/x64 and Darwin/OSX x64 platforms.
You can download it from my [repository](http://bit.l... | chimkentec/KodiMODo_rep | script.module.torrent2http/README.md | Markdown | gpl-3.0 | 4,455 |
package TFC.Items.ItemBlocks;
import java.util.List;
import net.minecraft.client.renderer.texture.IconRegister;
import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.entity.Entity;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.Item;
import net.minecraft.item.ItemBlo... | Timeslice42/TFCraft | TFC_Shared/src/TFC/Items/ItemBlocks/ItemTerraBlock.java | Java | gpl-3.0 | 3,563 |
/*
* Copyright (C) 2015 The CyanogenMod Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable ... | luckybucky98/Egg-Marshmallow | CM13-Victara/cmactions/jni/jni_CMActions.c | C | gpl-3.0 | 6,406 |
/* when one clicks on the little 'trash can' fontawesome icon, it should act as though it's a link, and change the cursor to a hand */
.historycursor {
cursor: pointer;
}
/* Override bootstrap primary colour to OXFORD BLUE */
.btn-primary {
background-color: #002649;
}
.text-muted {
color: #888;
}
/* Overrid... | BSGOxford/BrowseVCF | web/css/style.css | CSS | gpl-3.0 | 3,807 |
omup
====
About
-----------
Omup is a simple omploader uploader written in python. It does not depend on PycURL or any other external library. Currently supports Python 3 only.
Dependenies
-----------
* python >= 3
Command line parameters
-----------------------
###Synopsis
omup.py [-h] [-p] [-s] [-b] file
###Pa... | tlatsas/omup | README.md | Markdown | gpl-3.0 | 1,205 |
/*
* script.cpp
* External model functionality
*
* iWaQa model framework 2010-2017
*
* SYSTEM/MODEL
*
*/
#include "script.h"
#include "datatable.h"
#include "model.h"
#include <stdlib.h>
//---------------------------------------------------------------------------------
iWQScript::iWQScript()
{
mComm... | hontimar/iWaQa | src/script.cpp | C++ | gpl-3.0 | 1,543 |
///////////////////////////////////////////////////////////////////////////
//
// Copyright (c) 1998-2011, Industrial Light & Magic, a division of Lucas
// Digital Ltd. LLC
//
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that ... | AlienCowEatCake/ImageViewer | src/ThirdParty/OpenEXR/openexr-2.5.7/PyIlmBase/PyImath/PyImathBasicTypes.cpp | C++ | gpl-3.0 | 4,972 |
namespace Goji.Data
{
using System;
using System.ComponentModel;
using System.Windows;
using System.Windows.Data;
using System.Windows.Markup;
/// <summary>
/// Can be used to localize properties of UI elements.
/// <para />
/// Use this markup extension if your translation key sho... | MartinKuschnik/Goji | Goji/Data/BindingTranslationExtension.cs | C# | gpl-3.0 | 2,931 |
"""Define and instantiate the configuration class for Robottelo."""
import logging
import os
import sys
from logging import config
from nailgun import entities, entity_mixins
from nailgun.config import ServerConfig
from robottelo.config import casts
from six.moves.urllib.parse import urlunsplit, urljoin
from six.moves... | Ichimonji10/robottelo | robottelo/config/base.py | Python | gpl-3.0 | 35,889 |
<!--
* Autor = Javi Cancela
* Fecha = 19 de nov. de 2015
* Licencia = gpl3.0
* Version = 1.0
* Descripcion =
*/
/*
Copyright (C) 2015 Javier Cancela
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Fre... | cancelajavi/2-DAW | workspace/Tema5_JS/Ejercicios2Tema5/ejer1.html | HTML | gpl-3.0 | 1,486 |
//----------------------------------------------------------------------------
/** @file RlTimeControl.cpp
*/
//----------------------------------------------------------------------------
#include "SgSystem.h"
#include "RlTimeControl.h"
#include "SgTimeRecord.h"
using namespace std;
//------------------------------... | svn2github/rlgo | rlgo/RlTimeControl.cpp | C++ | gpl-3.0 | 1,816 |
/*
Copyright (C) 2009 Brendan Doherty
Copyright (C) 2011 Gerhard Olsson
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 3 of the License, or (at your option) any later v... | gerhardol/trails | Export/CFTrailResult.cs | C# | gpl-3.0 | 5,046 |
/* http.h - HTTP protocol handler
* Copyright (C) 1999, 2000, 2001, 2003, 2006,
* 2010 Free Software Foundation, Inc.
*
* This file is part of GnuPG.
*
* This file is free software; you can redistribute it and/or modify
* it under the terms of either
*
* - the GNU Lesser General Public Licens... | gpg/payproc | src/http.h | C | gpl-3.0 | 5,791 |
/* This file is part of mantoQSAR.
mantoQSAR - Quantitative structure-activity relationship descriptor
calculation and modeling for biomolecules.
Copyright (C) 2016 Jörg Kittelmann
mantoQSAR is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as pub... | jorkKit/mantoQSAR | gui/src/org/mantoQSAR/gui/molecule/ProjectTree.java | Java | gpl-3.0 | 8,673 |
package com.thirtySix.repository;
import org.springframework.data.repository.PagingAndSortingRepository;
import com.thirtySix.model.Booking;
public interface BookingRepository extends
PagingAndSortingRepository<Booking, String> {
}
| AbnerLin/ThirtySix | src/main/java/com/thirtySix/repository/BookingRepository.java | Java | gpl-3.0 | 237 |
<?php
/**
* Piwik - free/libre analytics platform
*
* @link https://matomo.org
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
*
*/
namespace Piwik\Plugins\Actions\Reports;
use Piwik\Piwik;
use Piwik\Plugin\ViewDataTable;
use Piwik\Plugins\Actions\Columns\EntryPageTitle;
use Piwik\Plugins\Act... | piwik/piwik | plugins/Actions/Reports/GetEntryPageTitles.php | PHP | gpl-3.0 | 3,152 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.