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 |
|---|---|---|---|---|---|
#!/usr/bin/env python3
from heapq import heapify, heappop, heappush
with open('NUOC.INP') as f:
m, n = map(int, f.readline().split())
height = [[int(i) for i in line.split()] for line in f]
queue = ([(h, 0, i) for i, h in enumerate(height[0])]
+ [(h, m - 1, i) for i, h in enumerate(height[-1])]
... | McSinyx/hsg | others/other/nuoc.py | Python | gpl-3.0 | 941 |
#include <stdio.h>
#include <unistd.h>
#include <sys/socket.h>
#include <sys/types.h>
#include <arpa/inet.h>
#include <netinet/in.h>
#include <string.h>
#define BUFFER_SIZE 1024
int main()
{
int socketfd;
int port = 2047;
struct sockaddr_in server_in;
struct sockaddr_in client_in;
int client_in_l... | dashee/dashee | playground/src/udpserver.cpp | C++ | gpl-3.0 | 1,733 |
/*
** ###################################################################
** This code is generated by the Device Initialization Tool.
** It is overwritten during code generation.
** USER MODIFICATION ARE NOT PRESERVED IN THIS FILE.
**
** Project : s08qe128
** Processor : MCF51QE128CLK
** Vers... | vortextech/RKH | demo/libbsp/platform/cfv1/DEMOQUE128/mcu/mcu.h | C | gpl-3.0 | 1,414 |
// Copyright 2015-2017 Parity Technologies (UK) Ltd.
// This file is part of Parity.
// Parity 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 lat... | destenson/ethcore--parity | rpc/src/v1/impls/eth.rs | Rust | gpl-3.0 | 22,169 |
/**********************************************************************
** smepowercad
** Copyright (C) 2015 Smart Micro Engineering GmbH
** 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, eithe... | sme-gmbh/smepowercad | items/cad_heatcool_radiatorvalve.h | C | gpl-3.0 | 1,700 |
package net.joaopms.PvPUtilities.helper;
import net.minecraftforge.common.config.Configuration;
import java.io.File;
public class ConfigHelper {
private static Configuration config;
public static void init(File file) {
config = new Configuration(file, true);
config.load();
initConfi... | joaopms/PvPUtilities | src/main/java/net/joaopms/PvPUtilities/helper/ConfigHelper.java | Java | gpl-3.0 | 1,117 |
""" Loads hyperspy as a regular python library, creates a spectrum with random numbers and plots it to a file"""
import hyperspy.api as hs
import numpy as np
import matplotlib.pyplot as plt
s = hs.signals.Spectrum(np.random.rand(1024))
s.plot()
plt.savefig("testSpectrum.png")
| to266/hyperspy | examples/hyperspy_as_library/minimal_example.py | Python | gpl-3.0 | 280 |
# Makefile.in generated by automake 1.14.1 from Makefile.am.
# compat/jansson/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,
# with... | Revolux/Revoswitcher | ccminer/compat/jansson/Makefile | Makefile | gpl-3.0 | 17,263 |
/* $OpenBSD: stdlib.h,v 1.10 1999/06/11 22:47:48 espie Exp $ */
/* $NetBSD: stdlib.h,v 1.25 1995/12/27 21:19:08 jtc Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permi... | tupelo-shen/my_test | doc/linux/mips-architecture/loongson-datasheet/pmon/src/pmon-loongson3/include/stdlib.h | C | gpl-3.0 | 6,742 |
<?php
/* Copyright (C) 2014 Daniel Preussker <f0o@devilcode.org>
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
... | rasssta/librenms | includes/html/common/worldmap.inc.php | PHP | gpl-3.0 | 11,457 |
package com.bruce.android.knowledge.custom_view.scanAnimation;
/**
* @author zhenghao.qi
* @version 1.0
* @time 2015年11月09日14:45:32
*/
public class ScanAnimaitonStrategy implements IAnimationStrategy {
/**
* 起始X坐标
*/
private int startX;
/**
* 起始Y坐标
*/
private int startY;
/**... | qizhenghao/Hello_Android | app/src/main/java/com/bruce/android/knowledge/custom_view/scanAnimation/ScanAnimaitonStrategy.java | Java | gpl-3.0 | 2,115 |
Wordpress 4.5.3 = 8fdd30960a4499c4e96caf8c5f43d6a2
Wordpress 4.1.13 = 9db7f2e6f8e36b05f7ced5f221e6254b
Wordpress 3.8.16 = 9ebe6182b84d541634ded7e953aec282
Wordpress 3.4.2 = d59b6610752b975950f30735688efc36
Wordpress 5.1.1 = 2cde4ea09e0a8414786efdcfda5b9ae4
Wordpress 5.3.1 = 3f2b1e00c430271c6b9e901cc0857800
| gohdan/DFC | known_files/hashes/wp-includes/js/tinymce/wp-tinymce.php | PHP | gpl-3.0 | 308 |
// needs Markdown.Converter.js at the moment
(function () {
var util = {},
position = {},
ui = {},
doc = window.document,
re = window.RegExp,
nav = window.navigator,
SETTINGS = { lineLength: 72 },
// Used to work around some browser bugs where we c... | MitchellMcKenna/LifePress | public/scripts/pagedown/Markdown.Editor.js | JavaScript | gpl-3.0 | 80,757 |
<!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 Tue Feb 24 12:30:37 EET 2015 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Package jtodo.domain... | Ooppa/jTODO | dokumentointi/apidocs/jtodo/domain/package-use.html | HTML | gpl-3.0 | 8,526 |
package de.jdellert.iwsa.sequence;
import java.io.Serializable;
import java.util.Collection;
import java.util.HashSet;
import java.util.Map;
import java.util.Map.Entry;
import java.util.Set;
import java.util.TreeMap;
import java.util.TreeSet;
/**
* Symbol table for mapping IPA segments to integers for efficient inte... | jdellert/iwsa | src/de/jdellert/iwsa/sequence/PhoneticSymbolTable.java | Java | gpl-3.0 | 2,258 |
import {
moduleForComponent,
test
} from 'ember-qunit';
moduleForComponent('hq-category', {
// Specify the other units that are required for this test
// needs: ['component:foo', 'helper:bar']
});
test('it renders', function(assert) {
assert.expect(2);
// Creates the component instance
var component = ... | hugoruscitti/huayra-quotes | tests/unit/components/hq-category-test.js | JavaScript | gpl-3.0 | 487 |
/*
* GNU LESSER GENERAL PUBLIC LICENSE
* Version 3, 29 June 2007
*
* Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
* Everyone is permitted to copy and distribute verbatim copies
* of this license document, but changing it is not allowed.
*
* You can view LICENCE file ... | WeaveMN/DragonProxy | src/main/java/org/dragonet/proxy/network/translator/MessageTranslator.java | Java | gpl-3.0 | 7,266 |
// BOINC Sentinels.
// https://projects.romwnet.org/boincsentinels
// Copyright (C) 2009-2014 Rom Walton
//
// BOINC Sentinels 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 th... | romw/boincsentinels | valkyrie/NotificationManager.h | C | gpl-3.0 | 1,549 |
/*
* LBFGS.java
*
* Copyright (C) 2016 Pavel Prokhorov (pavelvpster@gmail.com)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) a... | pavelvpster/Math | src/main/java/org/interactiverobotics/ml/optimization/LBFGS.java | Java | gpl-3.0 | 9,413 |
package cn.bjsxt.oop.staticInitBlock;
public class Parent001 /*extends Object*/ {
static int aa;
static {
System.out.println(" 静态初始化Parent001");
aa=200;
}
}
| yangweijun213/Java | J2SE300/28_51OO/src/cn/bjsxt/oop/staticInitBlock/Parent001.java | Java | gpl-3.0 | 184 |
using Fallout4Checklist.Entities;
namespace Fallout4Checklist.ViewModels
{
public class WeaponStatsViewModel
{
public WeaponStatsViewModel(Weapon weapon)
{
Weapon = weapon;
}
public Weapon Weapon { get; set; }
}
}
| street1030/Fallout4Checklist | Fallout4Checklist/ViewModels/AreaDetail/WeaponStatsViewModel.cs | C# | gpl-3.0 | 275 |
import inspect
import re
import pytest
from robottelo.logging import collection_logger as logger
IMPORTANCE_LEVELS = []
def pytest_addoption(parser):
"""Add CLI options related to Testimony token based mark collection"""
parser.addoption(
'--importance',
help='Comma separated list of import... | jyejare/robottelo | pytest_plugins/testimony_markers.py | Python | gpl-3.0 | 5,447 |
/*********************************************************
*********************************************************
** DO NOT EDIT **
** **
** THIS FILE AS BEEN GENERATED AUTOMATICALLY **
** BY UPA PORTABLE GEN... | thevpc/upa | upa-impl-core/src/main/csharp/Sources/Auto/Uql/ExpressionDeclarationList.cs | C# | gpl-3.0 | 1,258 |
/*
* Copyright (C) 2018 Johan Dykstrom
*
* 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 dis... | dykstrom/jcc | src/main/java/se/dykstrom/jcc/common/ast/AbstractJumpStatement.java | Java | gpl-3.0 | 1,652 |
class Block {
constructor(x, y, width, colour) {
this.x = x;
this.y = y;
this.width = width;
this.colour = colour;
this.occupied = false;
}
draw() {
fill(this.colour);
rect(this.x, this.y, this.width, this.width);
}
}
| DanielGilchrist/p5.js-snake | classes/block.js | JavaScript | gpl-3.0 | 255 |
/*
* Copyright (C) 2012 MineStar.de
*
* This file is part of Contao.
*
* Contao is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, version 3 of the License.
*
* Contao is distributed in the ... | Minestar/Contao | src/main/java/de/minestar/contao/manager/PlayerManager.java | Java | gpl-3.0 | 3,520 |
package org.grovecity.drizzlesms.jobs.requirements;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.content.IntentFilter;
import org.grovecity.drizzlesms.service.KeyCachingService;
import org.whispersystems.jobqueue.requirements.RequirementListen... | DrizzleSuite/DrizzleSMS | src/org/grovecity/drizzlesms/jobs/requirements/MasterSecretRequirementProvider.java | Java | gpl-3.0 | 1,144 |
/*
* Copyright (C) 2017 Josua Frank
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distri... | Sharknoon/dfMASTER | dfMASTER/src/main/java/dfmaster/general/AData.java | Java | gpl-3.0 | 1,113 |
<?php
namespace EasyAjax;
/**
* EasyAjax\FrontInterface interface
*
* @package EasyAjax
* @author Giuseppe Mazzapica
*
*/
interface FrontInterface {
/**
* Check the request for valid EasyAjax
*
* @return bool true if current request is a valid EasyAjax ajax request
* @access public
... | Giuseppe-Mazzapica/EasyAjax | src/EasyAjax/FrontInterface.php | PHP | gpl-3.0 | 915 |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//----------------------------------------... | CCChapel/ccchapel.com | CMS/CMSModules/Workflows/Workflow_Step_General.aspx.designer.cs | C# | gpl-3.0 | 731 |
package io.valhala.javamon.pokemon.skeleton;
import io.valhala.javamon.pokemon.Pokemon;
import io.valhala.javamon.pokemon.type.Type;
public abstract class Paras extends Pokemon {
public Paras() {
super("Paras", 35, 70, 55, 25, 55, true, 46,Type.BUG,Type.GRASS);
// TODO Auto-generated constructor stub
}
}
| mirgantrophy/Pokemon | src/io/valhala/javamon/pokemon/skeleton/Paras.java | Java | gpl-3.0 | 316 |
define(['backbone', 'underscore'], function (Backbone, _) {
return Backbone.Model.extend({
idAttribute: 'username',
defaults: {
persona: {
personaPnombre: '',
personaSnombre: '',
personaApaterno: '',
personaAmaterno: '',
dni: ''
}
},
validate: function (attrs, options) {
console.lo... | jaxkodex/edu-stat | src/main/webapp/resources/js/app/models/docente-model.js | JavaScript | gpl-3.0 | 1,442 |
// This file is part of Eigen, a lightweight C++ template library
// for linear algebra.
//
// Copyright (C) 2009-2010 Gael Guennebaud <gael.guennebaud@inria.fr>
//
// This Source Code Form is subject to the terms of the Mozilla
// Public License v. 2.0. If a copy of the MPL was not distributed
// with this file, You c... | anders-dc/cppfem | eigen/Eigen/src/Core/ProductBase.h | C | gpl-3.0 | 10,519 |
package de.unikiel.inf.comsys.neo4j.inference.sail;
/*
* #%L
* neo4j-sparql-extension
* %%
* Copyright (C) 2014 Niclas Hoyer
* %%
* 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... | niclashoyer/neo4j-sparql-extension | src/main/java/de/unikiel/inf/comsys/neo4j/inference/sail/SailBooleanExprQuery.java | Java | gpl-3.0 | 1,670 |
#!/usr/bin/perl
# Meran - MERAN UNLP is a ILS (Integrated Library System) wich provides Catalog,
# Circulation and User's Management. It's written in Perl, and uses Apache2
# Web-Server, MySQL database and Sphinx 2 indexing.
# Copyright (C) 2009-2015 Grupo de desarrollo de Meran CeSPI-UNLP
# <desarrollo@cespi.unlp.edu.... | Javier-Acosta/meran | intranet/scripts/reporte_inventario.pl | Perl | gpl-3.0 | 2,611 |
require 'spec_helper'
describe SessionsController do
render_views
context "#create" do
it "should redirect to patterns path if user is authenticated"
it "should redirect to new_user if user doesn't exist"
it "should redirect to new_user if password is incorrect"
end
end | feministy/appy | spec/controllers/sessions_spec.rb | Ruby | gpl-3.0 | 290 |
#include <math.h>
#include <stdlib.h>
#include "camp_judge.h"
#include "game_event.h"
#include "monster_ai.h"
#include "monster_manager.h"
#include "path_algorithm.h"
#include "player_manager.h"
#include "time_helper.h"
#include "partner.h"
#include "check_range.h"
#include "cached_hit_effect.h"
#include "count_skill_d... | tsdfsetatata/xserver | Server/game_srv/so_game_srv/partner_ai_1.cpp | C++ | gpl-3.0 | 5,862 |
#!/bin/sh
yum update
| Taywee/dod-stig-scripts | linux/V-38481/fix.sh | Shell | gpl-3.0 | 23 |
package redsgreens.Pigasus;
import org.bukkit.entity.Entity;
import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
import org.bukkit.event.EventPriority;
import org.bukkit.event.Listener;
import org.bukkit.event.player.PlayerInteractEntityEvent;
/**
* Handle events for all Player related e... | redsgreens/Pigasus | src/redsgreens/Pigasus/PigasusPlayerListener.java | Java | gpl-3.0 | 1,558 |
\section{Discussão}
\begin{itemize}
\item Consideração sobre comportamento e peculiaridades do Clang
\item Pressuposto uma vulnerabilidade por arquivo
\item Percentual baixo, porém comum
\item Maioria dos arquivos não obtiveram report
\end{itemize}
As vulnerabilidades e suas nomenclaturas identificadas pela ferrament... | Analizo-UnB/security_report | artigo-latex/discussao.tex | TeX | gpl-3.0 | 1,580 |
/*
Original code by Lee Thomason (www.grinninglizard.com)
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any
damages arising from the use of this software.
Permission is granted to anyone to use this software for any
purpose, including comme... | alex-mitrevski/delta-execution-models | MT_UseCases/Source/MT_UseCases/external/tinyxml2.h | C | gpl-3.0 | 63,328 |
package fi.metatavu.edelphi.jsons.queries;
import java.util.Locale;
import fi.metatavu.edelphi.smvcj.SmvcRuntimeException;
import fi.metatavu.edelphi.smvcj.controllers.JSONRequestContext;
import fi.metatavu.edelphi.DelfoiActionName;
import fi.metatavu.edelphi.EdelfoiStatusCode;
import fi.metatavu.edelphi.dao.querydat... | Metatavu/edelphi | edelphi/src/main/java/fi/metatavu/edelphi/jsons/queries/SaveQueryAnswersJSONRequestController.java | Java | gpl-3.0 | 3,237 |
package org.craftercms.studio.api.dto;
public class UserTest {
public void testGetUserId() throws Exception {
}
public void testSetUserId() throws Exception {
}
public void testGetPassword() throws Exception {
}
public void testSetPassword() throws Exception {
}
}
| craftercms/studio3 | api/src/test/java/org/craftercms/studio/api/dto/UserTest.java | Java | gpl-3.0 | 305 |
## Versioning
All core-utils will remain `0.1.0` until the entirety of core-utils reaches
`1.0.0`.
## Issues
If a particular utility is at issue please prepend with issue with its name as
such: `"dd: not implemented"`
## Style
Standard Rust indentation is used. No use of globs, and use of namespaces must
be explici... | 0X1A/core-utils | CONTRIBUTING.md | Markdown | gpl-3.0 | 1,612 |
// -*- C++ -*-
//
// generated by wxGlade 0.7.2
//
// Example for compiling a single file project under Linux using g++:
// g++ MyApp.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp
//
// Example for compiling a multi file project under Linux using g++:
// g++ main.cpp $(wx-config --libs) $(wx-config --cxxfl... | fdelapena/easyrpg-editor-wx | src/DialogEvtCmdChangeLevel.h | C | gpl-3.0 | 1,774 |
/***********************************************************************
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á-F... | SCI2SUGR/KEEL | src/keel/Algorithms/Genetic_Rule_Learning/RMini/Main.java | Java | gpl-3.0 | 2,637 |
/* DreamChess
**
** DreamChess is the legal property of its developers, whose names are too
** numerous to list here. Please refer to the AUTHORS.txt file distributed
** with this source distribution.
**
** This program is free software: you can redistribute it and/or modify
** it under the terms of the GNU Gener... | dreamchess/dreamchess | dreamchess/src/include/gamegui/signal.h | C | gpl-3.0 | 1,179 |
import { Component } from '@angular/core'
@Component({
selector: 'gallery',
templateUrl: 'app/home/gallery.component.html'
})
export class GalleryComponent {
} | PoojaM0267/BTMVDemo | BTMV_ng2/app/home/gallery.component.ts | TypeScript | gpl-3.0 | 172 |
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 1991-2010 OpenCFD Ltd.
\\/ M anipulation |
---------------... | themiwi/freefoam-debian | src/OpenFOAM/meshes/polyMesh/globalMeshData/globalPoints.H | C++ | gpl-3.0 | 8,920 |
/*
* Multi2Sim
* Copyright (C) 2012 Rafael Ubal (ubal@ece.neu.edu)
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any late... | filippo-ceid/multi2sim | src/arch/southern-islands/emu/opencl-repo.c | C | gpl-3.0 | 6,076 |
// Copyright 2015, 2016 Ethcore (UK) Ltd.
// This file is part of Parity.
// Parity 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.... | pdaian/parity | js/src/ui/ParityBackground/parityBackground.js | JavaScript | gpl-3.0 | 1,825 |
/**
* Piwik - free/libre analytics platform
*
* @link http://piwik.org
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
*/
(function ($, require) {
var exports = require('piwik/UI');
/**
* Creates a new notifications.
*
* Example:
* var UI = require('piwik/UI');
... | piwik/piwik | plugins/CoreHome/javascripts/notification.js | JavaScript | gpl-3.0 | 7,980 |
PREP(initCBASettings);
PREP(postInit); | Jamesadamar/OPT | [J]OPT.Altis/uav/XEH_PREP.hpp | C++ | gpl-3.0 | 39 |
/*
* Jinx is Copyright 2010-2020 by Jeremy Brooks and Contributors
*
* Jinx 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.
*
*... | jeremybrooks/jinx | src/main/java/net/jeremybrooks/jinx/api/PhotosNotesApi.java | Java | gpl-3.0 | 5,049 |
<?php
/**
* PHPUnit
*
* Copyright (c) 2002-2009, Sebastian Bergmann <sb@sebastian-bergmann.de>.
* 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 so... | manusis/dblite | test/lib/phpunit/PHPUnit/Framework/MockObject/Matcher/Parameters.php | PHP | gpl-3.0 | 5,341 |
<?php
/**
*
* @version 1.0.9 June 24, 2016
* @package Get Bible API
* @author Llewellyn van der Merwe <llewellyn@vdm.io>
* @copyright Copyright (C) 2013 Vast Development Method <http://www.vdm.io>
* @license GNU General Public License <http://www.gnu.org/copyleft/gpl.html>
*
**/
defined( '_JEXEC' ) ... | getbible/Joomla-3-Component | admin/models/import.php | PHP | gpl-3.0 | 27,659 |
# recette_la42
la bière qui répond à la question sur la vie, l'univers et le reste
Recette Bière de Blé Libre 4.2° - Blanche
## Ingrédients pour 100 litres
* 15kg Malt Pils ardèche (Malteur Echos)
* 10kg Malt Blé ardèche (Malteur Echos)
* 2,5kg Flocon de blé (Celnat Haute Loire)
## Méthode
* MONOPALIER
* Emp... | Alolise/recette_la42 | README.md | Markdown | gpl-3.0 | 578 |
/* Multiple Lua Programming Language : Intermediate Code Generator
* Copyright(C) 2014 Cheryl Natsu
* This file is part of multiple - Multiple Paradigm Language Interpreter
* multiple is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* ... | zooxyt/lua | mlua_icg.c | C | gpl-3.0 | 15,534 |
package de.jotschi.geo.osm.tags;
import org.w3c.dom.Node;
public class OsmMember {
String type, ref, role;
public OsmMember(Node node) {
ref = node.getAttributes().getNamedItem("ref").getNodeValue();
role = node.getAttributes().getNamedItem("role").getNodeValue();
type = node.getAttributes().getNamedItem("t... | Jotschi/libTinyOSM | src/main/java/de/jotschi/geo/osm/tags/OsmMember.java | Java | gpl-3.0 | 490 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="robots" content="index, follow, all" />
<title>Library\CommandLine\AbstractCommandLineController | Library</title>
<link rel="stylesheet" type="text/css" href="../../css/bootstrap.min.css">
<link rel="styleshee... | atelierspierrot/library | phpdoc/Library/CommandLine/AbstractCommandLineController.html | HTML | gpl-3.0 | 63,915 |
/*********************
* bio_tune_menu.cpp *
*********************/
/****************************************************************************
* Written By Mark Pelletier 2017 - Aleph Objects, Inc. *
* Written By Marcio Teixeira 2018 - Aleph Objects, Inc. *
* ... | tetious/Marlin | Marlin/src/lcd/extui/lib/ftdi_eve_touch_ui/screens/bio_tune_menu.cpp | C++ | gpl-3.0 | 3,525 |
/*
* Copyright (C) 2006-2010 - Frictional Games
*
* This file is part of HPL1 Engine.
*
* HPL1 Engine 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 opti... | FrictionalGames/HPL1Engine | sources/scene/Entity3D.cpp | C++ | gpl-3.0 | 11,350 |
from feeluown.utils.dispatch import Signal
from feeluown.gui.widgets.my_music import MyMusicModel
class MyMusicItem(object):
def __init__(self, text):
self.text = text
self.clicked = Signal()
class MyMusicUiManager:
"""
.. note::
目前,我们用数组的数据结构来保存 items,只提供 add_item 和 clear 方法。
... | cosven/FeelUOwn | feeluown/gui/uimodels/my_music.py | Python | gpl-3.0 | 980 |
(function() {
var app = angular.module('article-directive', ['ui.bootstrap.contextMenu']);
app.config(function($sceProvider) {
// Completely disable SCE. For demonstration purposes only!
// Do not use in new projects.
$sceProvider.enabled(false);
});
app.directive('article', function () {
var c... | lowdev/Article-Annotater | src/main/resources/static/article/angular-article-directive.js | JavaScript | gpl-3.0 | 1,330 |
/*******************************************************************************
* This file is part of RedReader.
*
* RedReader 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 Lic... | QuantumBadger/RedReader | src/main/java/org/quantumbadger/redreader/io/UpdatedVersionListenerNotifier.java | Java | gpl-3.0 | 1,255 |
<?php
/**
* Copyright 2013 Android Holo Colors by Jérôme Van Der Linden
* Copyright 2010 Android Asset Studio by Google 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:/... | Medialoha/MAB-LAB | libs/asset-studio-colors/widgets/fastscroll/fastscroll.php | PHP | gpl-3.0 | 1,370 |
# Only run if this is an interactive text bash session
if [ -n "$PS1" ] && [ -n "$BASH_VERSION" ] && [ -z "$DISPLAY" ]; then
echo "Press enter to activate this console"
read answer
# The user should have chosen their preferred keyboard layout
# in tails-greeter by now.
. /etc/default/locale
. /etc/def... | kolohe/amnesia | config/chroot_local-includes/etc/profile.d/setup_console.sh | Shell | gpl-3.0 | 354 |
<!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_131) on Sat Oct 28 21:24:43 CEST 2017 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Class nxt.util.Min... | dawallet/burstwindowswallet | burstcoin-1.3.6/html/ui/doc/nxt/util/class-use/MiningPlot.html | HTML | gpl-3.0 | 4,173 |
/*
* This file is protected by Copyright. Please refer to the COPYRIGHT file
* distributed with this source distribution.
*
* This file is part of GNUHAWK.
*
* GNUHAWK is free software: you can redistribute it and/or modify is under the
* terms of the GNU General Public License as published by the Free Softwa... | RedhawkSDR/integration-gnuhawk | components/streams_to_stream_ff_1i/cpp/streams_to_stream_ff_1i_base.cpp | C++ | gpl-3.0 | 31,922 |
/*
Copyright (C) 2014 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... | shihokoui/pencilblue | plugins/pencilblue/controllers/admin/content/topics/manage_topics.js | JavaScript | gpl-3.0 | 2,715 |
-- --------------------------------------------------------
-- Host: spahost.es
-- Versión del servidor: 5.1.70-cll - MySQL Community Server (GPL)
-- SO del servidor: unknown-linux-gnu
-- HeidiSQL Versión: 8.0.0.4396
-- --------------------------------------... | SpaHost/libresocialblog | sql.sql | SQL | gpl-3.0 | 6,615 |
#include <shlobj.h>
HRESULT CreateDataObject(FORMATETC *,STGMEDIUM *,IDataObject **,int); | linquize/explorerplus-custom | Explorer++/Helper/iDataObject.h | C | gpl-3.0 | 90 |
<!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 (version 1.7.0_17) on Thu Oct 24 15:10:37 CEST 2013 -->
<title>RmcpConstants</title>
<meta name="date" content="2013-10-24">
<link rel="stylesh... | zhoujinl/jIPMI | doc/com/veraxsystems/vxipmi/coding/rmcp/RmcpConstants.html | HTML | gpl-3.0 | 10,212 |
/*
* LibrePCB - Professional EDA for everyone!
* Copyright (C) 2013 LibrePCB Developers, see AUTHORS.md for contributors.
* https://librepcb.org/
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Fou... | rnestler/LibrePCB | tests/unittests/common/uuidtest.cpp | C++ | gpl-3.0 | 10,872 |
<!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_01) on Sun Jul 03 07:12:39 ICT 2005 -->
<TITLE>
Uses of Package com.golden.gamedev.object.sprite (GTGE API v0.2.3)
</TITLE>
<LINK REL ="s... | idega/com.idega.games | docs/GTGE/docs/com/golden/gamedev/object/sprite/package-use.html | HTML | gpl-3.0 | 7,093 |
/* Copyright David Strachan Buchan 2013
* This file is part of BounceBallGame.
BounceBallGame 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 late... | davidsbuchan/BounceBallGame | src/uk/co/ashndave/KeepyUppy.java | Java | gpl-3.0 | 2,378 |
/**
******************************************************************************
* @file Examples_LL/USART/USART_Communication_TxRx_DMA/Src/main.c
* @author MCD Application Team
* @brief This example describes how to send/receive bytes over USART IP using
* the STM32F0xx USART LL API in DMA m... | Fdepraetre/Handmouse | Software/Handmouse_STM/Lib_DL/STM32Cube_FW_F0_V1.8.0/Projects/STM32F072RB-Nucleo/Examples_LL/USART/USART_Communication_TxRx_DMA/Src/main.c | C | gpl-3.0 | 19,128 |
/*
* FuchsTracker.c Copyright (C) 1999 Sylvain "Asle" Chipaux
*
* Depacks Fuchs Tracker modules
*
* Modified in 2006,2007,2014 by Claudio Matsuoka
*/
#include <string.h>
#include <stdlib.h>
#include "prowiz.h"
static int depack_fuchs(HIO_HANDLE *in, FILE *out)
{
uint8 *tmp;
uint8 max_pat;
/*int ssize;*/
... | DodgeeSoftware/OpenALWrapper | _dependencies/libxmp-4.4.0/src/loaders/prowizard/fuchs.c | C | gpl-3.0 | 3,794 |
#ifndef SDK_CONFIG_H
#define SDK_CONFIG_H
// <<< Use Configuration Wizard in Context Menu >>>\n
#ifdef USE_APP_CONFIG
#include "app_config.h"
#endif
// <h> Application
//==========================================================
// <o> ADV_INTERVAL - Advertising interval (in units of 0.625 ms)
#ifndef ADV_INTERVAL... | jogosa/flip_dot_clock_fw301 | MODIFIED_SDK_13.0.0_04a0bfd/examples/ble_central_and_peripheral/experimental/ble_app_att_mtu_throughput/pca10040/s132/config/sdk_config.h | C | gpl-3.0 | 88,630 |
<?php
namespace spf\swoole\worker;
interface IWebSocketWorker {
public function onStart($server, $workerId);
public function onShutdown($server, $workerId);
public function onTask($server, $taskId, $fromId, $data);
public function onFinish($server, $taskId, $data);
public function onOpen($serv... | zhangjunlei26/spf | vendor/spf/swoole/worker/IWebSocketWorker.php | PHP | gpl-3.0 | 419 |
//
// UDPConnection.hpp for server in /home/galibe_s/rendu/Spider/server/core
//
// Made by stephane galibert
// Login <galibe_s@epitech.net>
//
// Started on Sun Nov 6 17:00:50 2016 stephane galibert
// Last update Thu Nov 10 12:34:21 2016 stephane galibert
//
#pragma once
#include <iostream>
#include <string>
#... | Stephouuu/Spider | server/core/UDPConnection.hpp | C++ | gpl-3.0 | 1,378 |
#pagefrog-big-logo {
width: 200px;
margin-top:20px;
}
#pagefrog-settings-container {
padding:15px;
margin-right:20px;
}
#pagefrog-settings-box, .white-settings-box {
background: white;
border-color: #ddd;
border-width: 1px;
border-style: solid;
border-radius: 5px;
}
#pagefrog-logo-bu... | rolandinsh/smcmobilewp | admin/css/pagefrog-admin.css | CSS | gpl-3.0 | 10,626 |
<?php
/*
* Central de conhecimento FEJESP
* Contato: ti@fejesp.org.br
* Autor: Guilherme de Oliveira Souza (http://sitegui.com.br)
* Data: 07/08/2013
*/
// Retorna a árvore inicial para um dado caminho
$caminho = @$_GET['caminho'];
$pastas = preg_split('@/@', $caminho, -1, PREG_SPLIT_NO_EMPTY);
$arvore = array('' ... | fejesp/centralConhecimento | ajax/getArvoreInicial.php | PHP | gpl-3.0 | 1,039 |
<?php namespace Test\Deserializer;
use Test\Serializer\EntityNode\Vehicle;
class VehicleChecker
{
public function acceptAndReturnVehicle(Vehicle $vehicle)
{
return $vehicle;
}
} | barryosull/valueobjects | test/Deserializer/VehicleChecker.php | PHP | gpl-3.0 | 199 |
function print_last_modif_date(v) {
document.write("Last updated " + v.substr(7, 19));
}
| francois-a/fastqtl | doc/script/print_last_modif_date.js | JavaScript | gpl-3.0 | 89 |
/*
* 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 ma... | Niky4000/UsefulUtils | projects/ssh/apache_mina/apache-sshd-1.2.0/sshd-core/src/main/java/org/apache/sshd/common/SyspropsMapWrapper.java | Java | gpl-3.0 | 6,908 |
package com.baeldung.jhipster5.web.rest;
import com.baeldung.jhipster5.BookstoreApp;
import com.baeldung.jhipster5.config.Constants;
import com.baeldung.jhipster5.domain.Authority;
import com.baeldung.jhipster5.domain.User;
import com.baeldung.jhipster5.repository.AuthorityRepository;
import com.baeldung.jhipster5.rep... | Niky4000/UsefulUtils | projects/tutorials-master/tutorials-master/jhipster-5/bookstore-monolith/src/test/java/com/baeldung/jhipster5/web/rest/AccountResourceIntTest.java | Java | gpl-3.0 | 34,406 |
import { defineMessages } from 'react-intl';
export default defineMessages({
save: {
id: 'cboard.components.FormDialog.save',
defaultMessage: 'Save'
},
cancel: {
id: 'cboard.components.FormDialog.cancel',
defaultMessage: 'Cancel'
}
});
| shayc/cboard | src/components/UI/FormDialog/FormDialog.messages.js | JavaScript | gpl-3.0 | 261 |
<?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle 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.
//
// Moodle... | jrchamp/moodle | backup/moodle2/restore_stepslib.php | PHP | gpl-3.0 | 202,518 |
package CGRB::BLASTDB;
# $Id: BLASTDB.pm,v 1.4 2004/11/16 21:38:43 givans Exp $
use warnings;
use strict;
use Carp;
use CGRB::CGRBDB;
use vars qw/ @ISA /;
@ISA = qw/ CGRBDB /;
1;
sub new {
my $pkg = shift;
my $user = shift;
my $psswd = shift;
$user = 'gcg' unless ($user);
$psswd = 'sequences' unless ($pss... | sgivan/jobQ | BLASTDB.pm | Perl | gpl-3.0 | 3,365 |
<!DOCTYPE html >
<html>
<head>
<title>BigDecimalStringConverter - ScalaFX API 8.0.0-R4 - scalafx.util.converter.BigDecimalStringConverter</title>
<meta name="description" content="BigDecimalStringConverter - ScalaFX API 8.0.0 - R4 - scalafx.util.converter.BigDecimalStringConverter" />
... | TarmoA/ProjectAsteroid | Documents/ohjelmointistuff/ProjectAsteroid/docs/scalafx/util/converter/BigDecimalStringConverter.html | HTML | gpl-3.0 | 29,240 |
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package xmv.solutions.IT2JZ.Jira;
/**
*
* @author David Koller XMV Solutions GmbH
*/
public class JiraTestcaseStep {
/**
* Name... | XMV-Solutions/ImportTestcases2JiraZephyr | src/main/java/xmv/solutions/IT2JZ/Jira/JiraTestcaseStep.java | Java | gpl-3.0 | 1,034 |
/*
package de.elxala.langutil
(c) Copyright 2006 Alejandro Xalabarder Aulet
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... | wakeupthecat/gastona | pc/src/de/elxala/Eva/layout/EvaLayout.java | Java | gpl-3.0 | 36,814 |
pizzasys
========
A system for pizzerias
| mntnorv/pizzasys | README.md | Markdown | gpl-3.0 | 42 |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (C) 2008-2013 by
# Erwin Marsi and Tilburg University
# This file is part of the Pycornetto package.
# Pycornetto 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 Softw... | emsrc/pycornetto | bin/cornetto-client.py | Python | gpl-3.0 | 6,265 |
package tempconv
// CToF converts a Celsius temperature to Fahrenheit
func CToF(c Celsius) Fahrenheit {
return Fahrenheit(c * 9 / 5 + 32)
}
// FToC converts s Fahrenheit temperature to Celsius
func FToC(f Fahrenheit) Celsius {
return Celsius((f - 32) * 5 / 9)
}
| ptdecker/gobasics | src/ch02/tempconv/conv.go | GO | gpl-3.0 | 273 |
const { nativeImage } = require('electron')
const { resolve } = require('path')
exports.size16 = nativeImage.createFromPath(resolve(__dirname, '../icon16.png'))
exports.size16.setTemplateImage(true)
| Gerhut/Meibo | lib/icon.js | JavaScript | gpl-3.0 | 201 |
package yio.tro.antiyoy.menu.customizable_list;
import com.badlogic.gdx.graphics.g2d.BitmapFont;
import yio.tro.antiyoy.gameplay.diplomacy.DiplomaticEntity;
import yio.tro.antiyoy.menu.render.AbstractRenderCustomListItem;
import yio.tro.antiyoy.menu.render.MenuRender;
import yio.tro.antiyoy.menu.scenes.Scenes;
import ... | yiotro/Antiyoy | core/src/yio/tro/antiyoy/menu/customizable_list/SimpleDipEntityItem.java | Java | gpl-3.0 | 1,380 |
// ==++==
//
// Copyright (C) 2019 Matthias Fussenegger
//
// 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... | turbolocust/SimpleZIP | SimpleZIP_UI/Presentation/View/Model/MessageDigestModel.cs | C# | gpl-3.0 | 2,339 |
#Region "Microsoft.VisualBasic::556146eee1abd2c1147f33071a728ef4, CLI_tools\eggHTS\CLI\Samples\LabelFree.vb"
' Author:
'
' asuka (amethyst.asuka@gcmodeller.org)
' xie (genetics@smrucc.org)
' xieguigang (xie.guigang@live.com)
'
' Copyright (c) 2018 GPL3 Licensed
'
... | xieguigang/GCModeller | src/GCModeller/CLI_tools/eggHTS/CLI/Samples/LabelFree.vb | Visual Basic | gpl-3.0 | 12,560 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.