id stringlengths 64 64 | content stringlengths 500 100k | language stringclasses 29
values | path stringlengths 4 333 | repo stringlengths 5 116 | license stringclasses 15
values | size int64 500 100k | lines int64 26 8.06k | source stringclasses 1
value |
|---|---|---|---|---|---|---|---|---|
3571cbde18d272c618ef50b37a495446e123af4d7b9dbd21acc9b64210c92938 | package n_InfernoInfinityRefactoring.engine;
import n_InfernoInfinityRefactoring.core.Executable;
import n_InfernoInfinityRefactoring.io.InputReader;
import n_InfernoInfinityRefactoring.io.OutputWriter;
import n_InfernoInfinityRefactoring.models.api.WeaponInterface;
import n_InfernoInfinityRefactoring.repositories.Rep... | Java | Java Fundamentals-Sep17/Java_OOP_Advanced/d_EnumerationsAndAnnotations_E/src/n_InfernoInfinityRefactoring/engine/Engine.java | kostovhg/SoftUni | gpl-3.0 | 3,060 | 74 | codeparrot/github-code |
e51b81a77d17b035314f9779513834ca48167315118e1697653596a2ca954102 | #Region "Microsoft.VisualBasic::74229f915b453da7c6ae45fc807b75ed, ..\GCModeller\analysis\PFSNet\PFSNet.vb"
' Author:
'
' asuka (amethyst.asuka@gcmodeller.org)
' xieguigang (xie.guigang@live.com)
' xie (genetics@smrucc.org)
'
' Copyright (c) 2016 GPL3 Licensed
'
... | Visual Basic | src/GCModeller/analysis/PFSNet/PFSNet.vb | amethyst-asuka/GCModeller | gpl-3.0 | 18,075 | 421 | codeparrot/github-code |
0df7b5222d6716349de3323f3759bf30ae5b88a9a3ec053afd4188866c5f0c05 | #!/usr/bin/env python3
from tkinter import *
#ttk = themed tkinter (excepté sous linux visiblement)
from tkinter.ttk import *
from dtmf import convertDTMF
from wave import open
dialWindow = Tk()
dialWindow.title("DTMF Dialer")
#NOTE: le nombre demandé est une string car d'après le standard DTMF il peut contenir les le... | Python | main.py | s0r00t/ISN-DTMF | gpl-3.0 | 2,923 | 75 | codeparrot/github-code |
7f7e7fbbd3a2eace30da42f0707d0ad64ac79f87ceff961f3e4f6500addff217 | <?php
/*********************************************************************************
* This file is part of Sentrifugo.
* Copyright (C) 2015 Sapplica
*
* Sentrifugo 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 S... | PHP | application/modules/default/controllers/WorkeligibilitydoctypesController.php | jvianney/SwiftHR | gpl-3.0 | 13,863 | 331 | codeparrot/github-code |
bef84f17945ae7c5b3ff42bde09d26791987f8d8450482a69e7e22422040851f | /*
Copyright 2007, Joe Davidson <joedavidson@gmail.com>
This file is part of FFTPatcher.
FFTPatcher 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... | C# | Datatypes/Items/Shield.cs | Glain/FFTPatcher | gpl-3.0 | 4,041 | 138 | codeparrot/github-code |
f0c4d3a34acfc74077db63d99efc66a82407b90268bc8c317ffb99d09e00650f | // Copyright (C) 2005 - 2021 Settlers Freaks (sf-team at siedler25.org)
//
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#include <algorithm>
#include <cctype>
#include <string>
namespace s25util {
inline char toLower(char ch)
{
return static_cast<char>(std::tolower(static_cast<unsigned char>(ch)));
... | C | libs/common/include/s25util/strAlgos.h | Return-To-The-Roots/libutil | gpl-3.0 | 746 | 31 | codeparrot/github-code |
b3d86af484ede2ca9d90772b8c2adb7a6647cd36ca1ccf233c19444c252c36a1 | #include "settings.h"
int settings_variables_initialized = 0;
WCHAR exe_path[_MAX_DIR];
WCHAR exe_dir[_MAX_DIR];
WCHAR drive_letter[_MAX_DRIVE];
WCHAR settings_filedir[_MAX_DIR];
wchar_t settings_filename[] = L"evisteam.ini";
const char nickname[] = "nickname";
const char default_interface[] = "interface";
const c... | C | settings.c | synflood-ch/EviSteam | gpl-3.0 | 1,286 | 62 | codeparrot/github-code |
f5f4329b21cee1d4855e37f47f4faabdf30838f32afc71c90adeb150f3c23527 | #include <pthread.h>
#include <stdio.h>
/* Parameters to print_function. */
struct char_print_parms
{
/* The character to print.*/
char character;
/* The number of times to print it. */
int count;
};
/* Prints a number of characters to stderr, as given by PARAMETERS,
which is a pointer to a struct char_p... | C | chap04/thread-create2.c | lavenliu/cprogram | gpl-3.0 | 1,170 | 49 | codeparrot/github-code |
c0f17af9631be575d03bd51f9a3fe873d5b7f34972fdbe6a691c9c93b0c403ff | package cz.clovekvtisni.coordinator.server.security.command;
import cz.clovekvtisni.coordinator.server.domain.CoordinatorEntity;
import cz.clovekvtisni.coordinator.server.domain.UserEntity;
import cz.clovekvtisni.coordinator.server.security.AppContext;
import cz.clovekvtisni.coordinator.server.security.AuthorizationT... | Java | coordinator-server/src/main/java/cz/clovekvtisni/coordinator/server/security/command/HasRoleCommand.java | Tomucha/coordinator | gpl-3.0 | 1,092 | 32 | codeparrot/github-code |
09e754373e00b7b83cd2a4e4b126e7a2dc9b4153330db589db0923f3baad93a5 | /*
* This file is part of rasdaman community.
*
* Rasdaman community 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.
*
* Rasdam... | Java | applications/petascope/src/main/java/petascope/wcps/server/core/DimensionPointElement.java | miracee/rasdaman | gpl-3.0 | 7,711 | 213 | codeparrot/github-code |
b3ecc9e837ad2a5b6cc905b8268946841d19f93d6a993958139411adaa22dec1 | #include "yUserTh.h"
#include "yjrtp_server.h"
#include "yMonitor.h"
#include "yRtmpForwarding.h"
extern "C" void * srcproc (void *arg);
extern "C" void * monitor (void *arg);
extern "C" void * dstproc (void *arg);
extern "C" void * rtmpforwarding(void *arg);
extern std::list<NETINFO> ListSrc;
extern std::list<NETIN... | C++ | Codes/src/jrtp/JRTP_Server/yUserTh.cpp | flyinskyin2013/GraduationDesign | gpl-3.0 | 3,832 | 154 | codeparrot/github-code |
70b7a317fb34a672a4baadb899f7ca79ebec3ca829689a211ab0c88c2d4f22a9 | <?php
namespace Mapping\Entity;
use Omeka\Entity\AbstractEntity;
use Omeka\Entity\Item;
/**
* Defines the default state of an item's map.
*
* @Entity
*/
class Mapping extends AbstractEntity
{
/**
* @Id
* @Column(type="integer")
* @GeneratedValue
*/
protected $id;
/**
* @OneTo... | PHP | src/Entity/Mapping.php | omeka-s-modules/Mapping | gpl-3.0 | 909 | 57 | codeparrot/github-code |
bdf058277753bd9bec68a940171da2b5932d991ebba122d4e523c360fc115d3d | #!/bin/bash
#
# Copyright 2015 Erwin Müller <erwin.mueller@deventm.org>
#
# This file is part of registration-appcli-install.
#
# registration-appcli-install 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, eit... | Shell | registration-appcli-install/src/main/izpack/bin/linux/registrationcli-debug.sh | devent/registration | gpl-3.0 | 2,243 | 68 | codeparrot/github-code |
7e91a5b7db7d7f1db50666e7aa790faedf20dacecb32024ec10db196bd55ccd7 | # -*- coding: utf-8 -*-
#
# Created on Oct 15, 2013
# @authors: Jiri Spilka
# http://people.ciirc.cvut.cz/~spilkjir
# @2015, CIIRC, Czech Technical University in Prague
#
# Licensed under the terms of the GNU GENERAL PUBLIC LICENSE
# (see CTGViewer.py for details)
"""
PyQwtNavigationPlot
--------------------
The navi... | Python | src/PyQwtNavigationPlot.py | spilkjir/CTGViewer | gpl-3.0 | 7,971 | 240 | codeparrot/github-code |
0b48a3da06c540221b7e758213b7e2ebe4f98193e499a0e3d1e5e7fb8773d5b0 | /*
* This file is part of CubeEngine.
* CubeEngine is licensed under the GNU General Public License Version 3.
*
* CubeEngine is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the Licen... | Java | vigil/src/main/java/org/cubeengine/module/vigil/commands/VigilCommands.java | CubeEngine/modules-extra | gpl-3.0 | 5,778 | 142 | codeparrot/github-code |
fdb734f2e3d007b6bf90e6ba383aaa234bf0e17f871815daff83c4dde4e1d3be | <?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... | PHP | index.php | andyjdavis/moodle-mod_linkbazaar | gpl-3.0 | 3,022 | 84 | codeparrot/github-code |
5042a9bf95562da37372759a86c1afac2d8f09aa169aa55d44312098a819bcb7 | <?php
class Controller
{
private static $controller_dir = "controllers/";
public static function load($controller = NULL)
{
if(!empty($controller))
{
$controller_segments = str_replace(array('Controller', 'Controller.php'), '', $controller);
}
else
{
$controller_segments = Core::getValue('query_se... | PHP | settings/core_factory/Controller.php | TheBestCoders/CoreProject | gpl-3.0 | 1,997 | 81 | codeparrot/github-code |
691d579acbb09092230db185c88108f990c85822ce5bb523c71f927a7b3357b1 |
package com.nr.fc.json.serializer;
import com.fasterxml.jackson.core.JsonParser;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.DeserializationContext;
import com.fasterxml.jackson.databind.JsonDeserializer;
import java.io.IOException;
import java.text.ParseException;... | Java | Code/fc-suite/fc-model/src/main/java/com/nr/fc/json/serializer/DateDeserializer.java | Rajith2012204/The-First-Credit | gpl-3.0 | 860 | 31 | codeparrot/github-code |
73b3944bc7e9bd2ed1e6e0b82bfaa7e7f59fc44331767302c7af2128ab2f8455 | #!/usr/bin/env python
# vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai
from __future__ import (unicode_literals, division, absolute_import,
print_function)
__license__ = 'GPL v3'
__copyright__ = '2011, Kovid Goyal <kovid@kovidgoyal.net>'
__docformat__ = 'restructuredtext en'
import textwra... | Python | src/calibre/ebooks/html/to_zip.py | sharad/calibre | gpl-3.0 | 4,758 | 118 | codeparrot/github-code |
4262a8af699159a5657b6d555ac8fc32574591db2f3482e2f6e6e742162f9aaa | #!/usr/bin/python
import RPi.GPIO as GPIO
import signal
import time
from on_off import *
class keypad():
def __init__(self, columnCount = 3):
GPIO.setmode(GPIO.BCM)
# CONSTANTS
if columnCount is 3:
self.KEYPAD = [
[1,2,3],
... | Python | Software/src/keypad.py | gacosta1/CATS | gpl-3.0 | 3,522 | 115 | codeparrot/github-code |
ece25a8cf01fca24ef76538c0eff5558c9010bc3b492e41f863529dac92cc200 | package com.magic.magicmod.mana;
import net.minecraft.nbt.NBTBase;
import net.minecraft.util.EnumFacing;
import net.minecraftforge.common.capabilities.Capability;
import net.minecraftforge.common.capabilities.CapabilityInject;
import net.minecraftforge.common.capabilities.ICapabilitySerializable;
import javax.annotat... | Java | src/main/java/com/magic/magicmod/mana/ManaProvider.java | ololorin/MagicMod | gpl-3.0 | 1,196 | 44 | codeparrot/github-code |
a42bd7558303076ea9c5cc00efec39ce46f895744ab7c893182fff9800376f01 | /*
* Sally - A Tool for Embedding Strings in Vector Spaces
* Copyright (C) 2010-2012 Konrad Rieck (konrad@mlsec.org);
* Christian Wressnegger (christian@mlsec.org)
* --
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public Lic... | C | src/fvec/embed.c | rieck/sally | gpl-3.0 | 4,660 | 172 | codeparrot/github-code |
00e5a15e773fbf3e51fc8c5ce8ad2e87fb0055b5f94c7029c148535d9cee2106 | using OWDARO;
using OWDARO.BLL.MediaBLL;
using OWDARO.Helpers;
using OWDARO.Util;
using ProjectJKL.AppCode.DAL.MediaModel;
using System;
namespace ProjectJKL.UI.Pages.Admin.Media
{
public partial class ClientManage : System.Web.UI.Page
{
private void FormToolbar1_Cancel(object sender, EventArgs e)
... | C# | UI/Pages/Admin/Media/ClientManage.aspx.cs | owdaro/OFrameCMS-WebForms | gpl-3.0 | 4,830 | 129 | codeparrot/github-code |
d31222d46298f9d01862df2542e1ab091fecb9cf4d55343f724a057e361c985a | namespace test.sacs
{
/// <date>Jun 20, 2005</date>
public class BoundsCheck13 : Test.Framework.TestCase
{
private BoundsCheckEntities bce;
public BoundsCheck13(BoundsCheckEntities bce) :
base("sacs_boundsCheck_tc13", "sacs_boundsCheck", "DataWriter.write",
"Che... | C# | testsuite/dbt/api/dcps/sacs/boundsCheck/code/test/sacs/BoundsCheck13.cs | SanderMertens/opensplice | gpl-3.0 | 2,055 | 52 | codeparrot/github-code |
73ab8c7bec0320188cb997580187862a90f370d5216ebf600a1ceb47a6ba6003 | /*
* Replaces tabs with spaces
*/
/*@ -compdef */
// Includes
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
// Definitions
#define TABSTOPINC 4 // Default tab size
#define MAXLINE 250 // Maximum supported line length
/*
* isnottab(): returns true if the tab position 'pos' is not a tab stop... | C | src/chapter05/detab3.c | ptdecker/cbasics | gpl-3.0 | 2,120 | 103 | codeparrot/github-code |
50068956f5ea81cddc4e793b2c341c1866d8b3de5b95f5ae7da4dd7d52a321e8 | def inDir(destdir)
cur=Dir.pwd
Dir.chdir(destdir)
yield
Dir.chdir(cur)
end
def noInterps
File.open("empty", "w") { |f| f.puts "0" }
end
def truthstring
"\"#{File.read("truth").chomp}\""
end
def logfile(dir, alpha)
"#{dir}/#{(dir.split "/")[-3]}_alpha#{alpha}.log"
end
def numlevels
tr... | Ruby | makeCommands.rb | benbelly/RslAslRec | gpl-3.0 | 968 | 47 | codeparrot/github-code |
e565668d64ffb831cb49582530b33a372b36aa834a231f702365058a254501d9 | /*
* The MIT License
*
* Copyright (C) contributors
*
* 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, copy, mod... | Java | src/main/java/com/github/barteks2x/cubit/block/Block.java | Barteks2x/Cubit | gpl-3.0 | 3,274 | 92 | codeparrot/github-code |
b910d91ca96c27d862fae7f78e5f47058c3921871ebbbceb0759aa93abd8c91d | // This file is part of VELA-CLARA-Controllers. //
//------------------------------------------------------------------------------------//
// VELA-CLARA-Controllers is free software: you can redistribute it and/or modify //
// it under the terms of the GNU General Public Li... | C++ | Hardware/scope/scopeController.cpp | VELA-CLARA-software/VELA-CLARA-Controllers | gpl-3.0 | 23,073 | 479 | codeparrot/github-code |
de2d1e7cd6e17b3a788813c1032b21a065d59abdb23dcb62177f3b35113bc80e | <!DOCTYPE html>
<html>
<meta charset="utf-8">
<style>
body {
font: 11px sans-serif;
}
.axis path, .axis line {
fill: none;
stroke: #000;
shape-rendering: crispEdges;
}
.dot {
stroke: #000;
}
.tooltip {
position: absolute;
width: 200px;
height: 28px;
pointer-events: none;
}
</style>
... | HTML | plots/index.html | tomaspdc/amazon-recsys | gpl-3.0 | 4,715 | 170 | codeparrot/github-code |
3b318868b7ca3f1c9d2c8501d5b750793569970e329c77301c5bab85a3afaa09 | using System;
using CMS.Helpers;
using CMS.MediaLibrary;
using CMS.PortalControls;
using CMS.SiteProvider;
using CMS.UIControls;
public partial class CMSWebParts_MediaLibrary_MediaFileUploader : CMSAbstractWebPart
{
#region "Properties"
/// <summary>
/// Gets or sets name of the media library where the ... | C# | CMS/CMSWebParts/MediaLibrary/MediaFileUploader.ascx.cs | CCChapel/ccchapel.com | gpl-3.0 | 3,439 | 139 | codeparrot/github-code |
85dbc9eba8e183efa1426299d889e2e3466dfb1f5f2f4141441851eddbd1cd16 | BEGIN_TEMPLATE
subroutine insertion_$Xsort (x,iorder,isize)
implicit none
BEGIN_DOC
! Sort array x(isize) using the insertion sort algorithm.
! iorder in input should be (1,2,3,...,isize), and in output
! contains the new order of the elements.
END_DOC
integer,intent(in) :: isize
$type,inte... | FORTRAN | src/utils/sort.irp.f | TApplencourt/quantum_package | gpl-3.0 | 15,702 | 647 | codeparrot/github-code |
628a96567a807d41bb885fdb0d2be84c00f5321ea1b2a2023f3613f33e608032 | // ******************************************************************************
//
// Filename: selectionmanager.h
// Project: Vogue
// Author: Steven Ball
//
// Purpose:
// Handles the picking of components, events are sent to the currently
// selected component. This is worked out using component bounding ... | C | source/gui/selectionmanager.h | AlwaysGeeky/Vogue | gpl-3.0 | 1,835 | 84 | codeparrot/github-code |
222f4f8a7fe394cb2c9959d2c11ce29a184e8f93c997f2d1a8a0ab14d072865c | /*
===========================================================================
Shadow of Dust GPL Source Code
Copyright (C) 1999-2011 id Software LLC, a ZeniMax Media company.
This file is part of the Shadow of Dust GPL Source Code ("Shadow of Dust Source Code").
Shadow of Dust Source Code is free software: you can ... | C++ | neo/renderer/Model_md5.cpp | Salamek/Shadow-of-Dust | gpl-3.0 | 25,772 | 962 | codeparrot/github-code |
8917c0350e9d427130db03cd93140df72ab21225ebc8240b088f7cff370d8395 | // $Id: ConfigFF.hh,v 1.3 2008/05/23 02:08:04 miyachi Exp $
/*!
\file ConfigFF.hh
\version $Revision: 1.3 $
\author $Author: miyachi $
\brief Definition of PDF configuration file handling class
*/
#ifndef _polFrag_ConfigFF_hh_
#define _polFrag_ConfigFF_hh_
#include <Utility/Config.hh>
#include <QCD/... | C++ | polFrag/ConfigFF.hh | miyachi-yu/Mellin | gpl-3.0 | 1,379 | 51 | codeparrot/github-code |
65f7242087dd1a0dcc157821a20e4243382698a2dd02b22122f210d88a5d723d | // Given a binary tree, return the zigzag level order traversal of its nodes' values. (ie, from left to right, then right to left for the next level and alternate between).
// For example:
// Given binary tree [3,9,20,null,null,15,7],
// 3
// / \
// 9 20
// / \
// 15 7
// return its zigzag level ... | JavaScript | js/S103_zigzag_traversal.js | boxu0001/practice | gpl-3.0 | 1,445 | 70 | codeparrot/github-code |
a528c06bde0f07002ebfc136fbc111e1d5e1322e933283625fbea905b4770cd6 | <?php
/*******************************************************************************
* NODE
* Pomocna klasa, sadrzi niz
******************************************************************************/
class Node
{
public $id;
public $text;
public $obj;
public $children;
public function __const... | PHP | protected/components/Stablo.php | BibliotekaJagodina/SOFKA | gpl-3.0 | 9,455 | 290 | codeparrot/github-code |
b8ee1378e289b9fdb4123bc58b41141b6669832c8824e472548ef22c73d871f0 | // Generated on 2014-02-25 using generator-angular-fullstack 1.2.7
'use strict';
// # Globbing
// for performance reasons we're only matching one level down:
// 'test/spec/{,*/}*.js'
// use this if you want to recursively match all subfolders:
// 'test/spec/**/*.js'
module.exports = function (grunt) {
// Load grun... | JavaScript | Gruntfile.js | chris-gunawardena/happiness-rating | gpl-3.0 | 11,111 | 456 | codeparrot/github-code |
eec618e2b815986ba2c9e837f9578f38398a810e181d4835a4447c69f8ded998 | // -*- C++ -*-
//=============================================================================
/**
* @file VarOut_T.h
*
* $Id: VarOut_T.h 96760 2013-02-05 21:11:03Z stanleyk $
*
* @author Jeff Parsons
*/
//=============================================================================
#ifndef TAO_VAROUT_T_H... | C | libs/ACE_wrappers/TAO/tao/VarOut_T.h | Anubisss/tao_time_example | gpl-3.0 | 3,624 | 177 | codeparrot/github-code |
48554a6e3e4046a8da0e3f9c7883a890e290d3956157e79d4f3cde897470b4f1 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>GtkTextTagTable</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.78.0">
<link rel="home" href="index.html" title="GTK+ 2 Reference Manual">
<link rel... | HTML | QMOLEDEV/gtk+-2.24.17/docs/reference/gtk/html/GtkTextTagTable.html | chriskmanx/qmole | gpl-3.0 | 22,612 | 408 | codeparrot/github-code |
c564b0c38a10153ef48be3a63f8060cdbab41e1a197d30440498d507699341ee | #ifndef _debayer_
#define _debayer_
#include <stdint.h>
/* Easy debayer types */
void debayerEasy(uint16_t * __restrict debayerto, float * __restrict bayerdata, int width, int height, int threads, int type);
/* Quite quick bilinear debayer, floating point sadly; threads argument is unused */
void debayerBasic(uint16_... | C | src/debayer/debayer.h | ilia3101/MLV-App | gpl-3.0 | 2,001 | 49 | codeparrot/github-code |
f4dbec29d619f86d2ec8312c11f31e0d6c3bca06f26085d15e63c8a1f5554bd7 | # -*- coding: utf-8 -*-
from PyQt5.QtCore import Qt, QLocale, QSettings, QMargins
from PyQt5.QtWidgets import *
import OpenNumismat
from OpenNumismat.EditCoinDialog.FormItems import NumberEdit
from OpenNumismat.Collection.CollectionFields import CollectionFieldsBase
from OpenNumismat.Reports import Report
from OpenNu... | Python | OpenNumismat/Settings.py | kurtrr/open-numismat | gpl-3.0 | 14,474 | 397 | codeparrot/github-code |
1f2ada760a0a8c529a8fe9a738be04e8ac6ff730724a93eadf5d9ba33f41780f | #region License
/*
Copyright 2014 - 2015 Nikita Bernthaler
Summoners.cs is part of SFXRelic.
SFXRelic 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) an... | C# | SFXUtility/SFXRelic/Data/Summoners.cs | Lizzaran/LeagueSharp-Standalones | gpl-3.0 | 6,516 | 195 | codeparrot/github-code |
fd8a32e6f2a49f4155dd9107e8889152fd6e984f8656c48346e7ffda40bebd95 | //---------------------------------------------------------------------------//
//!
//! \file qtd1.cpp
//! \author Alex, Sean Robinson
//! \brief qtd1 main using qml front-end
//!
//---------------------------------------------------------------------------//
// Std Lib Includes
#include <iostream>
// Qt Includes
... | C++ | src/qtd1.cpp | seanrobinson1114/QtD1 | gpl-3.0 | 1,877 | 83 | codeparrot/github-code |
62587b9c1ef47f323ce8d84d8e47dd4a8c3a342532a1e1358c5b8734ddcbf6d3 | <div class="l-center edit">
<div class="l-sort clearfix">
<div class="l-sort-toolbar clearfix float-left">
<span class="title edit"><b><?=__('Editing IP Address')?></b></span>
<?php
if (!empty($_SESSION['error_msg'])) {
echo "<span class=\"vst-error\... | HTML | web/templates/admin/edit_ip.html | tjebbeke/vesta | gpl-3.0 | 8,993 | 169 | codeparrot/github-code |
2414af92c958daa314d20fff5cf7729c737eca3b0c1c7aebecbbf9e592811d06 | #!/usr/bin/env python
# coding=utf-8
import re
import random
from datetime import date
class Todo:
"""Single Todo item"""
_priority_regex = re.compile(r'\(([A-Z])\) ')
def __init__(self, item, index,
colored="", priority="", contexts=[], projects=[],
creation_date="", du... | Python | todotxt_machine/todo.py | AnthonyDiGirolamo/todotxt-machine | gpl-3.0 | 38,714 | 516 | codeparrot/github-code |
1064363761f3c393a83be539e0927de8d7a2b28d35e13eaacdb351250dddbb29 | package fr.xephi.authme.util;
import net.ricecode.similarity.LevenshteinDistanceStrategy;
import net.ricecode.similarity.StringSimilarityService;
import net.ricecode.similarity.StringSimilarityServiceImpl;
/**
* Utility class for String operations.
*/
public final class StringUtils {
// Utility class
priva... | Java | src/main/java/fr/xephi/authme/util/StringUtils.java | DmitryRendov/AuthMeReloaded | gpl-3.0 | 2,447 | 80 | codeparrot/github-code |
323f9a7bfc4f101e37a61769e55350d2b5f8dfb052e6f8004a6e9a92d0b87eee | package com.rapidminer.gui.startup;
/**
* Created by mk on 3/9/16.
*/
import com.rapidminer.core.license.ProductConstraintManager;
import com.rapidminer.gui.startup.NewsItem;
import com.rapidminer.gui.tools.ProgressThread;
import com.rapidminer.license.License;
import com.rapidminer.tools.AbstractObservable;
import ... | Java | rapidMiner/rapidminer-studio-onboarding/src/main/java/com/rapidminer/gui/startup/NewsService.java | transwarpio/rapidminer | gpl-3.0 | 5,220 | 148 | codeparrot/github-code |
63adfd93a7978ae22cac59fdce90f0ca08735f4d2f5856285181b4b2b65dbb0d | #! /usr/bin/env python3
import sys
import csv
import menu_map
import datetime
db_input = sys.argv[1]
def normalize_elem(min_, max_, value):
'''DESCUBRA'''
return (value - min_)/(max_ - min_) - 0.5
def normalize(array, min_, max_):
'''DESCUBRA'''
for i in range(0, len(array)):
array[i] = norm... | Python | tools/fann_input_norm.py | guilhermerc/fournir-au-public | gpl-3.0 | 2,101 | 61 | codeparrot/github-code |
ace5ef1da439440ae8393f8ad24644d52c96566de76831a8e1ee10c95ee80013 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/REC-html40/loose.dtd">
<html>
<head>
<title>Description of CRcreateLinSys</title>
<meta name="keywords" content="CRcreateLinSys">
<meta name="description" content="creates the energy matrix A">
<meta http... | HTML | htmldoc/ffw/PDEsolvers/Elliptic/CR-Elliptic/CRcreateLinSys.html | project-openffw/openffw | gpl-3.0 | 4,256 | 93 | codeparrot/github-code |
1713a29fc6ce2f46265c44d2f36e56cea6e0fa2ec7a69a1d146b13e851c32bea | #ifndef _MIPS_H
#define _MIPS_H
struct MipsCode; // MISP opcode informations
struct MipsInstruction; // a single MISP instruction
struct MipsFunction; // part of a MISP sequence
struct MipsSequence; // whole block of MISP code
struct MipsDataSet;
#include "Configuration.h"
using namespace std;
#define MI... | C | Source/MIPS.h | Tirlititi/Hades-Workshop | gpl-3.0 | 6,199 | 152 | codeparrot/github-code |
43f1a359440ad3617505c7445bc07e8415cf3f9b7fda0cd466ab042116d5f8e0 | // This file is distributed under GNU GPLv3 license. For full license text, see <project-git-repository-root-folder>/LICENSE.md.
#include "saurus/miscellaneous/syntaxcolortheme.h"
#include "definitions/definitions.h"
#include "saurus/gui/texteditor.h"
#include <QDebug>
#include <QList>
#include <QMetaEnum>
... | C++ | src/libtextosaurus/saurus/miscellaneous/syntaxcolortheme.cpp | martinrotter/textilosaurus | gpl-3.0 | 5,914 | 172 | codeparrot/github-code |
87590b700be3c70d979073a38867df326109dc108ee7b20f4d848e28624db5ae | /*
* Copyright (C) 2014 Alec Dhuse
*
* 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 distri... | Java | FoldingMap/src/co/foldingmap/actions/AddGroundOverlay.java | alecdhuse/Folding-Map | gpl-3.0 | 3,339 | 99 | codeparrot/github-code |
edd520fac42f7c90b29a22237de7ff647e5aefe76cf85d5dd696886213afdebe | // manager.go
// Version: 0.4.
// Date: 2017-07-08.
// Author: McArcher.
package main
import (
"errors"
"log"
"time"
)
//------------------------------------------------------------------------------
// Variables
//------------------------------------------------------------------------------
var manager_save_i... | GO | go/exon/json_rpc_server_d/src/manager.go | legacy-vault/tests | gpl-3.0 | 4,916 | 208 | codeparrot/github-code |
53cbcaed9435b83175aa7fbd4e4457eaddaa2d8d2c7ad79a3c89b8c4ff22c33e | #! /bin/sh
is_root() {
# 1 is false and 0 is true
if [ $? = 1 ]; then
echo 'You must unsure you have into sudo group'
echo 'And you must provide correct your password'
exit 1
fi
}
F=/usr/share/apps/gmail-notify
R=icon.png
R_BK=icon.png.bk
UR=icon2.png
UR_BK=icon2.png.bk
cd $F
if [ ! -f $R_BK ]; the... | Shell | utility/gmail-notify-icon.sh | nthungvn/bash-script | gpl-3.0 | 739 | 45 | codeparrot/github-code |
714186fd22d764b4a23ca45005b0246245114ef248961d520972a93eb2453df4 | Table: Ids
EID NAME READONLY UNDEFMACRO MACRO MACROARG ORDINARY SUETAG SUMEMBER LABEL TYPEDEF ENUM YACC FUN CSCOPE LSCOPE UNUSED
---- -------------- -------- ---------- ----- -------- -------- ------ -------- ----- ------- ----- ----- ----- ------ ------ ------
91 MAXDI... | C | src/test/out/c26-file-metric.c | dspinellis/cscout | gpl-3.0 | 20,743 | 373 | codeparrot/github-code |
3c88923b9422fcc2f2de9946dea4a77b17daa7ef623018ee300cd7e9400d4292 | /*
===========================================================================
ARX FATALIS GPL Source Code
Copyright (C) 1999-2010 Arkane Studios SA, a ZeniMax Media company.
This file is part of the Arx Fatalis GPL Source Code ('Arx Fatalis Source Code').
Arx Fatalis Source Code is free software: you can red... | C | Sources/Include/ARX_CSpellFx.h | tectronics/arx-fatalis-fixed | gpl-3.0 | 5,681 | 128 | codeparrot/github-code |
319e763903bf79df16d0899c44715264a6382adbe959e53d4de848afb0f66e0c | package net.minecraft.Server1_7_10.inventory;
import java.util.List;
import java.util.Random;
import net.minecraft.Server1_7_10.enchantment.EnchantmentData;
import net.minecraft.Server1_7_10.enchantment.EnchantmentHelper;
import net.minecraft.Server1_7_10.entity.player.EntityPlayer;
import net.minecraft.Server1_7_10.... | Java | src/net/minecraft/Server1_7_10/inventory/ContainerEnchantment.java | TheHecticByte/BananaJ1.7.10Beta | gpl-3.0 | 10,957 | 315 | codeparrot/github-code |
bf6e8d237e269c8f1c5f6ba10d4cd65be9175caab179fbc4d9bc6b088e5c0630 | /*
* This file is part of Diptychon.
*
* Diptychon 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.
*
* Diptychon is distributed... | Java | src/Diptychon/src/de/diptychon/ui/views/dialogs/FontSettingsDialog.java | Diptychon/Diptychon | gpl-3.0 | 4,818 | 166 | codeparrot/github-code |
655265243c0d5430ed453d268b50b0df200b695160f02a4b34fdddf2ee2014c4 | /*
* Argus Software Common include files - output structures
* Copyright (c) 2000-2012 QoSient, LLC
* All rights reserved.
*
* 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 versio... | C | include/argus_isis.h | bear6709/argus-3.0.6.1 | gpl-3.0 | 18,629 | 569 | codeparrot/github-code |
90bdf7ba35ef810c332ae8f21a1b3a1cb8b25bd4bbbaf399dd11223aae25e534 | /*
* Copyright (C) 2015 The Android Open Source 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 ... | Java | java/android-sdk-linux_r24.4.1_src/sources/android-23/android/support/v17/leanback/widget/GuidanceStylist.java | syslover33/ctank | gpl-3.0 | 12,332 | 295 | codeparrot/github-code |
49c8a0286b35fb27e77ea4e9830798122e31759e6eaa9820c16058f1021c7549 | #include "ecam83_usb.h"
ecam83_USB::ecam83_USB(QObject *parent) : QObject(parent)
{
gvobj = NULL;
}
ecam83_USB::~ecam83_USB()
{
}
void ecam83_USB::initUVCExtensionUnit(Videostreaming *vobj)
{
if(!vobj)
return;
gvobj = vobj;
}
void ecam83_USB::deInitUVCExtensionUnit()
{
gvobj = NULL;
}
bool... | C++ | src/ecam83_usb.cpp | econsysqtcam/qtcam | gpl-3.0 | 2,495 | 103 | codeparrot/github-code |
85bf44b0b518ef4e6a4db704831a4f1efed07acef4cbc4906959c523ca507767 | package lanalytics.usuario;
import java.util.List;
import lanalytics.categoria.CategoriaRN;
import lanalytics.util.DAOFactory;
public class UsuarioRN {
private UsuarioDAO usuarioDAO;
public UsuarioRN() {
this.usuarioDAO = DAOFactory.criarUusarioDAO();
}
public Usuario carregar(Integer id) {
return this.usu... | Java | src/lanalytics/usuario/UsuarioRN.java | thalesmsousa/LanalyticsMDE | gpl-3.0 | 1,022 | 48 | codeparrot/github-code |
61f7633436d1e42368e7dc87408b2896596b0d1c3c395e83a11458ebc3646409 | package com.idega.block.survey.data;
import java.util.Collection;
import javax.ejb.CreateException;
import javax.ejb.FinderException;
import com.idega.data.IDOEntity;
import com.idega.data.IDOFactory;
public class SurveyTypeHomeImpl extends IDOFactory implements SurveyTypeHome {
public Class getEntityInterfaceClass... | Java | src/java/com/idega/block/survey/data/SurveyTypeHomeImpl.java | idega/com.idega.block.survey | gpl-3.0 | 1,113 | 36 | codeparrot/github-code |
af15d762a9e487b86f8474d19cbb0c9820ca50334cdb6dcefffa60f9038f324f | /*
This file is part of leafdigital leafChat.
leafChat 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.
leafChat is distributed in the hope ... | Java | src/com/leafdigital/ui/RadioButtonImp.java | quen/leafchat | gpl-3.0 | 5,309 | 254 | codeparrot/github-code |
9e837651b7075538f01b0ef230d9b29072899de209877692b0e93af3e00c5e31 | /*
* Copyright (c) 2004-2015 Matthew Altman & Stuart Boston
*
* This file is part of TheTVDB API.
*
* TheTVDB API 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 ... | Java | src/main/java/com/omertron/thetvdbapi/model/BannerUpdate.java | ajurasz/api-thetvdb | gpl-3.0 | 2,431 | 98 | codeparrot/github-code |
d09f694e2f864b6fcbccab96868178723e705578649b677e1fa997ca5a679f46 | <?php
/**
* CLI-based MediaWiki installation and configuration.
*
* 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.
... | PHP | wiki/maintenance/install.php | kylethayer/bioladder | gpl-3.0 | 6,624 | 185 | codeparrot/github-code |
c38671579869b93bb4e9fade742adb576ddd1f241558363a09350dd8aef1c1a4 | /*
* Copyright (C) 2007-2019 Crafter Software Corporation. All Rights Reserved.
*
* 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... | Java | src/main/java/org/craftercms/engine/service/filter/ExpectedNodeValueItemFilter.java | avasquez614/engine | gpl-3.0 | 2,426 | 75 | codeparrot/github-code |
093ee289dd2634369f5520ed96c9cb00f324a360f93bbc9e34cd28aa74a686ff | static FAST_CODE void GYRO_FILTER_FUNCTION_NAME(gyroSensor_t *gyroSensor)
{
for (int axis = 0; axis < XYZ_AXIS_COUNT; axis++) {
GYRO_FILTER_DEBUG_SET(DEBUG_GYRO_RAW, axis, gyroSensor->gyroDev.gyroADCRaw[axis]);
// scale gyro output to degrees per second
float gyroADCf = gyroSensor->gyroDev.g... | C | src/main/sensors/gyro_filter_impl.h | sebsx/betaflight | gpl-3.0 | 2,402 | 50 | codeparrot/github-code |
44715e50f58e7523d8f20c5ea84fecad414bb9119a41c30fe887df9edf81b5c1 | /*-------------------------------------------------------------------------
*
* createas.c
* Execution of CREATE TABLE ... AS, a/k/a SELECT INTO.
* Since CREATE MATERIALIZED VIEW shares syntax and most behaviors,
* we implement that here, too.
*
* We implement this by diverting the query's normal output to... | C | libpg/src/backend/commands/createas.c | oneeyeman1/dbhandler | gpl-3.0 | 18,898 | 637 | codeparrot/github-code |
dfd600bcfca731f48cdbac05477f38dbbc613f0fca1d7fbde317deb6fe56e9ee | /*! \file
\brief The definition of tetengo2::detail::windows::icon.
Copyright (C) 2007-2019 kaoru
$Id$
*/
#if !defined(TETENGO2_DETAIL_WINDOWS_ICON_H)
#define TETENGO2_DETAIL_WINDOWS_ICON_H
#include <cassert>
#include <ios> // IWYU pragma: keep
#include <memory> // IWYU pragma: keep
#inclu... | C | tetengo2_detail/include/tetengo2/detail/windows/icon.h | kaorut/tetengo2 | gpl-3.0 | 3,103 | 129 | codeparrot/github-code |
4aba355a7b0183131e4b20f561bb0dc9263124b83ceec8f924304af576a3db30 | from __future__ import print_function
import tensorflow as tf
import numpy as np
from six.moves import cPickle as pickle
from sklearn.decomposition import PCA
from sklearn import preprocessing
import random
dataset = '/media/dat1/liao/dataset/new_new_try/'
train_data_filename = dataset + 'train_data_statis.pickle'
tra... | Python | nn.py | NCLAB2016/DF_STEALL_ELECTRIC | gpl-3.0 | 5,327 | 170 | codeparrot/github-code |
cec5448387e9ff0f8497433809faa8f30d26aba7a15df26c782aae9342901871 | package sf.net.dvstar.diadiary.activity;
import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import sf.net.dvstar.diadiary.R;
public class ConfigContentActivity extends AppCompatActivity {
@Override
protected void onCreate(Bundl... | Java | app/src/main/java/sf/net/dvstar/diadiary/activity/ConfigContentActivity.java | dmvstar/diadiary | gpl-3.0 | 861 | 33 | codeparrot/github-code |
9e16ce37d32cfcd16a8453b8010daeb74bd719ad1232e51f0ad9a2cd786a6094 | //
//SPASS OAuth Client Example
//Author: Lorenzo Dematté - Servizi ST
//Copyright (C) 2013 Servizi ST Srl
//
//This file is part of the SPASS OAuth Client Example.
//
//SPASSOAuthClientExample is free software: you can redistribute it and/or modify
//it under the terms of the GNU General Public License as published b... | C# | SPASSOAuthClientExample/SiiOAuthService.cs | ldematte/SPASSOAuthClientExample | gpl-3.0 | 11,450 | 333 | codeparrot/github-code |
799099de2b8104c20609e4440190d79a26a91b2b6e3bd0842a0f893743c75be2 | /*
** $Id: lbaselib.c,v 1.191.1.6 2008/02/14 16:46:22 roberto Exp $
** Basic library
** See Copyright Notice in lua.h
*/
#include <ctype.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#define lbaselib_c
#define LUA_LIB
#include "lua.h"
#include "lauxlib.h"
#include "lualib.h"
#include "lrotable.h"
... | C | lib/lua/src/lbaselib.c | autosportlabs/RaceCapture-Pro_firmware | gpl-3.0 | 20,974 | 719 | codeparrot/github-code |
adde4b191f744e4d12891694f1111539144f09fb5ad6c33479d9834afa42dc22 | ///////////////////////////////////////////////////////////////////////////////
// Copyright (c) 2001-2006, Eric D. Friedman All Rights Reserved.
// Copyright (c) 2009, Rob Eden All Rights Reserved.
// Copyright (c) 2009, Jeff Randall All Rights Reserved.
//
// This library is free software; you can redistribute it and... | Java | src/test/java/gnu/trove/set/hash/THashSetTest.java | achraftriki/test2 | gpl-3.0 | 16,158 | 467 | codeparrot/github-code |
5420bd7647d029f696faca2c97e36b7f15a2111ea37c45d403da3e8a61f20b7a | #!/usr/bin/env python
'''waypoint command handling'''
import time, os, fnmatch, copy, platform
from pymavlink import mavutil, mavwp
from MAVProxy.modules.lib import mp_module
from MAVProxy.modules.lib import mp_util
if mp_util.has_wxpython:
from MAVProxy.modules.lib.mp_menu import *
class WPModule(mp_module.MPMod... | Python | MAVProxy/modules/mavproxy_wp.py | monkeypants/MAVProxy | gpl-3.0 | 33,902 | 795 | codeparrot/github-code |
f4d4149a93e8065ceb9dd86fb8556358740f5e5204c3e061171701fb4234af78 | #ifndef MOTIF_H
#define MOTIF_H
#include "moods.h"
#include <utility>
using std::vector;
using std::string;
using std::size_t;
namespace MOODS { namespace scan{
class Motif {
public:
virtual std::pair<bool, double> window_match(bits_t seq, bits_t shift) = 0;
virtual std::pair<bool, double> check_hit(const... | C | src/motif.h | AliciaSchep/MOODSR | gpl-3.0 | 1,607 | 59 | codeparrot/github-code |
009685cb8b62b7ee2ea6e6df9e6d5c43df95b744050f69c6bba3fef2804a77cc | /*
Copyright (C) 2015 Matthew Gefaller
This file is part of LeafStyle.
LeafStyle 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.
LeafStyle... | C# | LeafStyle/Parsers/Parser.cs | Mage15/Leaf | gpl-3.0 | 15,444 | 472 | codeparrot/github-code |
e5928c3d6a8fcddee42ad56f3b7f07ed711fce47a75857dea856397cb0873b57 | /*
Real-time Online/Offline Charging System (OCS) for Telecom & ISP environments
Copyright (C) ITsysCOM 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, either version 3 of the License, or
(at yo... | GO | config/httpcfg.go | iwada/cgrates | gpl-3.0 | 2,020 | 57 | codeparrot/github-code |
4f864af97e45d50e199ce8f56a6719ac543cd8ad3f662f4a1e22dcc88717ce2b | -----------------------------------------
-- ID: 5618
-- Item: bowl_of_zoni_broth
-- Food Effect: 3Hrs, All Races
-----------------------------------------
-- HP 10
-- MP 10
-- Strength 1
-- Dexterity 1
-- Vitality 1
-- Agility 1
-- HP Recovered While Healing 1
-- MP Recovered While Healing 1
--------------------------... | Lua | scripts/globals/items/bowl_of_zoni_broth.lua | kidaa/FFXIOrgins | gpl-3.0 | 1,623 | 67 | codeparrot/github-code |
f8988e4b2d089fad69d1ce0fd225b2ebd4db1165cc23d5bee3e517439e5a5379 | #ifndef IQAUTHFEATUREFACTORY_H
#define IQAUTHFEATUREFACTORY_H
#include <QDomDocument>
#include <interfaces/ipluginmanager.h>
#include <interfaces/ixmppstreammanager.h>
#include "iqauthfeature.h"
#define IQAUTH_UUID "{1E3645BC-313F-49e9-BD00-4CC062EE76A7}"
class IqAuthFeatureFactory :
public QObject,
public IPlugin... | C | src/plugins/iqauth/iqauthfeaturefactory.h | RoadWorksSoftware/eyecu-qt | gpl-3.0 | 1,343 | 45 | codeparrot/github-code |
5043ab08722c66edc42173bf2e6110c4c565aa5dd264343fad6af194fa659140 | /*
* Colosoft Framework - generic framework to assist in development on the .NET platform
* Copyright (C) 2013 <http://www.colosoft.com.br/framework> - support@colosoft.com.br
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as publ... | C# | Caching/Colosoft.Caching/CacheLoader.cs | fabrimaciel/colosoft | gpl-3.0 | 2,925 | 138 | codeparrot/github-code |
b3e2d47887d7f88a685a8eab80524b4e1e5764583175eeb5d82dc1618e840c60 | /*
This file is part of NWN Server Updater.
NWN Server Updater 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.
... | Java | src/main/java/com/nwn/Main.java | skipperwarlock/nwn_updater | gpl-3.0 | 4,298 | 106 | codeparrot/github-code |
d7971d1fede2b3d2da618018f02b0feb5f4e8888083c96113d9ee5363d924b4f | //
// FILE: PCF8574.cpp
// AUTHOR: Rob Tillaart
// DATE: 02-febr-2013
// VERSION: 0.1.02
// PURPOSE: I2C PCF8574 library for Arduino
// URL:
//
// HISTORY:
// 0.1.02 replaced ints with uint8_t to reduce footprint;
// added default value for shiftLeft() and shiftRight()
// renamed status() to la... | C++ | lib/PCF8574/PCF8574_Class.cpp | linvswin/mandjBeep | gpl-3.0 | 1,783 | 85 | codeparrot/github-code |
245bd2dddefe85f62ddf2b0ffff268e999a906bf6635e1223a4094274732589f | package project.MainClasses;
import org.apache.commons.math3.distribution.ExponentialDistribution;
import org.apache.commons.math3.distribution.PoissonDistribution;
import org.apache.commons.math3.distribution.UniformIntegerDistribution;
import org.apache.log4j.Logger;
import project.MiddlewareEnvironment.Container;
i... | Java | CacheFramework/src/main/java/project/MainClasses/CacheDataServerMain.java | KuppiliVenkataS/Coordination | gpl-3.0 | 44,955 | 1,047 | codeparrot/github-code |
73b3688d746683085a67eeebc00252a9ba9e8422dd63ffba568a3f827b294947 | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>tethne.model.corpus.ldamodel module — tethne 0.6.0-beta documentation</title>
<link rel="stylesheet" type="text/css" href="_static/css/spc-bootstrap.css">
<link rel="stylesheet" type="text/css" href="_static/css/spc-extend.cs... | HTML | 0.6.0-beta/tethne.model.corpus.ldamodel.html | diging/tethne-docs | gpl-3.0 | 29,733 | 536 | codeparrot/github-code |
80a022f698f2c0612cdd709556914fe7694dd90537d233789b65a32e71e07823 | package com.cavetale.magicmap;
import lombok.RequiredArgsConstructor;
import org.bukkit.Material;
import org.bukkit.World;
import org.bukkit.block.Block;
@RequiredArgsConstructor
final class SyncMapRenderer {
public static final int NORMAL = 0;
public static final int LIGHT = 1;
public static final int BR... | Java | src/main/java/com/cavetale/magicmap/SyncMapRenderer.java | StarTux/MiniMap | gpl-3.0 | 6,260 | 162 | codeparrot/github-code |
09e78d170a324b9ef69810f62b74ecdc771d702755674dcdbfef56bd811836ea | /**
Copyright 2010 Christian Kästner
This file is part of CIDE.
CIDE 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.
CIDE is distributed in the hope th... | Java | CIDE_Language_JDT/src/de/ovgu/cide/language/jdt/AstidWrapperWithParents.java | ckaestne/CIDE | gpl-3.0 | 2,951 | 143 | codeparrot/github-code |
5f590ac8443a151e835de6aa566702edc70ba5d0e0a37d547720f170b648e617 | /*
* Copyright 2012-2020 Rafal Lewczuk <rafal.lewczuk@jitlogic.com>
* <p/>
* This 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.... | Java | zorka-core/src/main/java/com/jitlogic/zorka/core/spy/tuner/CidsMidsZtxReader.java | jitlogic/zorka | gpl-3.0 | 1,437 | 41 | codeparrot/github-code |
b7a587429fa3bad604147ff3b10aeedd4b4675a9ca22c266dc9d262cdb3b8ed4 | package uk.ac.bbsrc.tgac.miso.dto;
import java.util.List;
import uk.ac.bbsrc.tgac.miso.dto.run.RunDto;
public class InstrumentPositionStatusDto {
private String position;
private RunDto run;
private List<PoolDto> pools;
private boolean outOfService;
private String outOfServiceTime;
public String getPos... | Java | miso-dto/src/main/java/uk/ac/bbsrc/tgac/miso/dto/InstrumentPositionStatusDto.java | TGAC/miso-lims | gpl-3.0 | 1,029 | 56 | codeparrot/github-code |
95d39c483fe13f1138ff8f706d4e0671d6e437fc957485897d68e4c4e0ff3e8a | <?php
namespace App\Listeners\Update\V21;
use App\Abstracts\Listeners\Update as Listener;
use App\Events\Install\UpdateFinished as Event;
use App\Models\Common\Company;
use App\Models\Common\Media;
use App\Utilities\Date;
use Illuminate\Support\Facades\Artisan;
use Illuminate\Support\Facades\DB;
use Illuminate\Suppor... | PHP | app/Listeners/Update/V21/Version2112.php | akaunting/akaunting | gpl-3.0 | 2,623 | 102 | codeparrot/github-code |
935db9fcfe10a537df4d81119942ca807079bc46b55eb319b8b05172aba71eaf | namespace UnityEditor
{
using System;
using System.Linq;
using System.Runtime.CompilerServices;
using UnityEditor.VisualStudioIntegration;
using UnityEngine;
public sealed class EditorSettings : UnityEngine.Object
{
[CompilerGenerated]
private static Func<string,... | C# | tags/unity5/UnityEditor/EditorSettings.cs | NewmanMDB/VimConfig | gpl-3.0 | 3,646 | 65 | codeparrot/github-code |
9dfeba03dd0f1b5544917b6873f214f3b5022198e7fcb88d013d8f7891af8170 | /*
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) 2012 Роман Браун <firdragon76@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, ... | C | client/dlgeditfonts.h | Horsmir/hstest | gpl-3.0 | 1,421 | 55 | codeparrot/github-code |
4bf6c823ccce62126583c2e9d408b5d4e682237c28c239628fac04b1dd16028a | <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/*
| -------------------------------------------------------------------------
| URI ROUTING
| -------------------------------------------------------------------------
| This file lets you re-map URI requests to specific controller functions.
... | PHP | application/config/routes.php | timbotron/lemon-filling | gpl-3.0 | 1,542 | 46 | codeparrot/github-code |
76dfee1e2f876cc352f8a3f4ab128a6cefdc48837e8102345f4331b4145b42aa | # Copyright (C) 2010-2012, InSTEDD
#
# This file is part of Verboice.
#
# Verboice 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.
#
# ... | Ruby | app/controllers/schedules_controller.rb | waj/verboice | gpl-3.0 | 1,397 | 44 | codeparrot/github-code |
83387161192e5236d476f9752823b756652584dcd7714ef7e8b84e4fff92c7ff | local ITEM = {}
ITEM.ID = "food_cookedbeans_dq"
ITEM.Name = "Decent quality cooked Beans"
ITEM.ClassSpawn = "Cultivator"
ITEM.Scrap = 0
ITEM.Small_Parts = 0
ITEM.Chemicals = 0
ITEM.Chance = 100
ITEM.Info = "Well cooked beans."
ITEM.Type = "three"
ITEM.Remove = true
ITEM.Energy = 50
ITEM.Ent = "food_co... | Lua | postnukerp/Gamemode/items/consumables_code/food_code/Old Food Variants/ood_cookedbeans_dq.lua | AndyClausen/PNRP_HazG | gpl-3.0 | 914 | 50 | codeparrot/github-code |
2dbb80f8ded9b136b216176369fc003b7d81d0b32a0712412bdfd618c2543b1d | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.staircase27.TD.lib.Towers.impls.areaTowers;
import com.staircase27.TD.lib.Enemies.BaseEnemy;
import com.staircase27.TD.lib.Towers.AreaTowerInterface;
import com.staircase27.TD.lib.Towers.BaseAttackTower;
imp... | Java | TDlib/src/com/staircase27/TD/lib/Towers/impls/areaTowers/ConfuseTower.java | staircase27/Tower-Defence | gpl-3.0 | 1,331 | 56 | codeparrot/github-code |
36cea009e649717a7577452f63a8e6638abac8aa578efc2e9e51ebb08a005f0c | import React, { Component } from "react";
import PropTypes from "prop-types";
import Button from "@reactioncommerce/components/Button/v1";
import AppBar from "@material-ui/core/AppBar";
import Toolbar from "@material-ui/core/Toolbar";
import { i18next } from "/client/api";
import styled from "styled-components";
const... | JavaScript | imports/plugins/core/tags/client/components/TagToolbar.js | anthonybrown/reaction | gpl-3.0 | 1,626 | 66 | codeparrot/github-code |
e490aa108dfa37a23facc6343519764a6210edee77fb42d9ce2058360c8954c2 | #include "app.h"
#include "ui_app.h"
#include "utilities.h"
#include <QStyle>
#include <QDebug>
App::~App()
{
delete ui;
}
App::App(QWidget *parent) :
QMainWindow(parent),
ui(new Ui::App),
mSlidingStacked(new SlidingStackedWidget(this)),
mTrayIcon(AppManager::ins()->getTrayIcon()),
mTrayMenu(n... | C++ | stacer/app.cpp | oguzhaninan/Stacer | gpl-3.0 | 7,146 | 273 | codeparrot/github-code |
dabbab5b55c06f5233c0421022e42bcbbe66af951fd8c8b5fc7d0dee2710d5a6 | /*
* 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 Clases;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import javax.swing.JComboBox;
impo... | Java | casa_biblia/src/Clases/Cl_Familia.java | leog1992/casa_biblia | gpl-3.0 | 2,856 | 105 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.