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
af052091012ef22cc017d7b53d0b45b493118ce46616f0cfcc6ca6202ef346a7
function Beer() { this.name = ""; <!-- The name of the beer. --> this.container = { bottle: false, draught: false }; <!-- If it's in bottle or draught. --> this.style = ""; <!-- What type of beer (IPA, Dark, etc.) --> this.alcohol = ""; <!-- How drunk you get ;) --> this.description = ""; <!-- A...
JavaScript
beer_helper.js
kruffin/tmac_chrome_extension
gpl-3.0
1,649
54
codeparrot/github-code
dd85ae810daca6a32745bba9bc7f9f7e2f6e3644f55c52f062cbbec67946157d
from __future__ import unicode_literals import re from .common import InfoExtractor from ..utils import ( fix_xml_ampersands, ) class MetacriticIE(InfoExtractor): _VALID_URL = r'https?://(?:www\.)?metacritic\.com/.+?/trailers/(?P<id>\d+)' _TESTS = [{ 'url': 'http://www.metacritic.com/game/playstation-4/infamo...
Python
src/plugins/youtube_dl/youtube_dl/extractor/metacritic.py
valmynd/MediaFetcher
gpl-3.0
2,280
66
codeparrot/github-code
0ca1318334397f6cddeec6636b63961f80d5a07d928192d8fd30685efd33464b
module AFN where import Data.List (foldl') import MonadicSet (Set) import qualified MonadicSet as S import Regex import Transicao data AFN a = AFN { estados :: Set Int , estadosAtuais :: Set Int , aceitacao :: Set Int ...
Haskell
src/AFN.hs
lordao/lfc-regex
gpl-3.0
5,500
134
codeparrot/github-code
7327e84125d50a210777038f42a857b7dee759f2184b6bcf950e98f865520d10
#ifndef LOGGER_H #define LOGGER_H #include <QString> #include <QFile> #include <QTextStream> #include "memsinterface.h" class Logger { public: Logger(MEMSInterface *memsiface); bool openLog(QString fileName); void closeLog(); void logData(); QString getLogPath(); void setTemperatureUnits(Tempe...
C
logger.h
colinbourassa/memsgauge
gpl-3.0
636
33
codeparrot/github-code
c7e73c4746a1a9dd268945799d06bbb03b841d121e2bfed4c3be31ad00b29484
#ifndef SIMMODULE_H #define SIMMODULE_H #include <QObject> class SimClient; class SimModule : public QObject { Q_OBJECT public: explicit SimModule(SimClient *client, uint16_t idModule, uint16_t idPeriph); SimClient *client() const; uint16_t idModule() const; uint16_t idPeriph() const; void ...
C
tool/udk-sim/simmodules/simmodule.h
Robotips/rtprog
gpl-3.0
627
34
codeparrot/github-code
cbea85c4e51c61d6533920626fd87d27eb741a2e941e08a593f753960569e909
#ifndef SPCOR_H #define SPCOR_H #include <QThread> #include <QTimer> #include <QMutex> #include <QSemaphore> #include <QWaitCondition> #include <QReadWriteLock> #include <QStack> #include <QFile> #include "qwt_plot.h" #include "qwt_plot_histogram.h" #include "qwt_raster_data.h" #include "qwt_matrix_raster_data.h" #i...
C
SPCOR.h
Afrodith/spectsoft
gpl-3.0
3,166
156
codeparrot/github-code
53b105b4000a8b4e19f72cf93a4fba211fa57c798fce63634c4fdee34d64133f
/* Unix SMB/CIFS implementation. Copyright (C) Andrew Tridgell 2003 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 late...
C
source4/lib/events/tevent_s4.c
endisd/samba
gpl-3.0
2,890
104
codeparrot/github-code
6f9a036e813bce018581e501f11417ce7e05be86107a313729b83169e8e55dc5
package com.pasdam.regexren.gui; import java.awt.BorderLayout; import java.awt.FlowLayout; import java.awt.GridLayout; import java.awt.ScrollPane; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.util.Locale; import javax.swing.DefaultComboBoxModel; import javax.swing.JB...
Java
src/main/java/com/pasdam/regexren/gui/SettingDialog.java
pasdam/batchRegexRenamer
gpl-3.0
7,085
197
codeparrot/github-code
52d7e3c32d6eda3305c16dc2a22dcab4257c4ece6ebe925636913107e20fe3ea
import os import sys import sqlite3 import logging from tqdm import tqdm from pathlib import Path from whoosh.index import create_in, open_dir from whoosh.fields import Schema, TEXT, NUMERIC from whoosh.qparser import QueryParser from whoosh.spelling import ListCorrector from whoosh.highlight import UppercaseFormatter ...
Python
pdf_search.py
DeastinY/srpdfcrawler
gpl-3.0
2,775
86
codeparrot/github-code
889b1590b401a35ff12523d3ed7a3ed800c9223e903f5819bc5e9055b78e7734
# -*- coding: utf-8 -*- # # allocations/entries.py is part of MetaDoc (Client). # # All of MetaDoc 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...
Python
client/allocations/entries.py
henrikau/metadoc
gpl-3.0
2,825
78
codeparrot/github-code
879e670f210c6fe5509f06714bb2fbc54f0d595bb04cc46f8a05210b56f46ce7
// // Created by karim on 20-12-16. // #include "../../Includes/Movement/movethread.h" movethread::movethread(loopControl *control, controlpipe *controlPipe) { loopcontrol = control; // Set up the move class to control the motors movement = new Move(controlPipe); } void movethread::start_loop(){ // ...
C++
Source/Movement/movethread.cpp
renzoscholman/BB-8
gpl-3.0
1,151
46
codeparrot/github-code
7dd79295b31e2cb3b2edbca225754b0c3f876ab064ad6acf45ded1da44101d9c
\hypertarget{jfs__datapath__cache_8c}{ \section{jfs\_\-datapath\_\-cache.c File Reference} \label{jfs__datapath__cache_8c}\index{jfs\_\-datapath\_\-cache.c@{jfs\_\-datapath\_\-cache.c}} } {\ttfamily \#include \char`\"{}error\_\-log.h\char`\"{}}\par {\ttfamily \#include \char`\"{}jfs\_\-datapath\_\-cache.h\char`\"{}}\pa...
TeX
src/docs/latex/jfs__datapath__cache_8c.tex
mharlan/joinFS
gpl-3.0
12,110
307
codeparrot/github-code
243c0ec818c83692c65bb693d3b848be0290d68b5349331b39e58e74aa8fdfad
#!/bin/bash # ----------------------------------------------------------------------- # Author: Michael DeGuzis # Git: https://github.com/ProfessorKaos64/SteamOS-Tools # Scipt Name: ssh-rom-transfer.sh # Script Ver: 0.1.1 # Description: This script dumps ROMs or files over SSH # # Usage: ./ssh-rom-t...
Shell
utilities/ssh-rom-transfer.sh
ProfessorKaos64/SteamOS-Tools
gpl-3.0
4,594
199
codeparrot/github-code
27aab8253ff4224bf630a68273aca8c8404d5dd68b0852aa46911f784470265c
/// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*- /* 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 la...
C++
libraries/SITL/SITL.cpp
Ju1ien/ArdupilotST-JD-outdated
gpl-3.0
4,036
105
codeparrot/github-code
329065a90f1ede54a01f53b52059e08a5f5bbc98d2e1e219dc70c5af522a9e43
from builtins import str from qgis.PyQt.QtCore import QFileInfo from qgis.PyQt.QtWidgets import QFileDialog def update_directory_key(settings, settings_dir_key, fileName): """ modified from module RASTERCALC by Barry Rowlingson """ path = QFileInfo(fileName).absolutePath() settings.setValue(se...
Python
pygsf/utils/qt_utils/filesystem.py
mauroalberti/gsf
gpl-3.0
1,060
43
codeparrot/github-code
a2a9c5877704653aa2fa320f28c7e32cda484d76af1f9911e41a6deb568a3491
package edu.self.startux.craftBay.economy; import edu.self.startux.craftBay.CraftBayPlugin; import org.bukkit.Bukkit; import org.bukkit.OfflinePlayer; public interface Economy { Economy setup(); boolean has(OfflinePlayer off, double money); double get(OfflinePlayer off); boolean give(OfflinePlayer off...
Java
src/main/java/edu/self/startux/craftBay/economy/Economy.java
StarTux/CraftBay
gpl-3.0
1,316
37
codeparrot/github-code
571e6b78fbc7cbb717a10de39c0962afd38e52340d5a411fe7b05942fbe132c6
package com.tutorial; import junit.framework.Test; import junit.framework.TestCase; import junit.framework.TestSuite; /** * Unit test for simple App. */ public class AppTest extends TestCase { /** * Create the test case * * @param testName name of the test case */ public AppTest( St...
Java
design_pattern/src/test/java/com/tutorial/AppTest.java
gsm1011/tutorials
gpl-3.0
640
39
codeparrot/github-code
2bff73bf190fec114a13d2f7222af6f218b34d2e22c21e141d7e6cce4b214992
/* * boblight * Copyright (C) Bob 2009 * * boblight 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. * * boblight is distri...
C
src/util/misc.h
bobo1on1/bobdsp
gpl-3.0
4,416
188
codeparrot/github-code
02ea714a79bb65b3ad857c6998f72e1988dffbf5c9e180dd247cdac14d94faf2
<?php /** * TrcIMPLAN Sitio Web - SMIIndicadoresGomezPalacio SociedadAlumnosConHabilidadesGramaticasLinguisticasBasicas * * Copyright (C) 2017 Guillermo Valdés Lozano <guivaloz@movimientolibre.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Pub...
PHP
lib/SMIIndicadoresGomezPalacio/SociedadAlumnosConHabilidadesGramaticasLinguisticasBasicas.php
TRCIMPLAN/trcimplan.github.io
gpl-3.0
5,402
127
codeparrot/github-code
32b3000fbda3a3f71a9a8f9ae4f1d638f416458caf9cc5d341b26a4f1be6c08f
<?php /** * se encarga de la administracion de que sera las diferentes paginas del front end */ class CPagina extends SpryController{ public function action(){ if( isset($_REQUEST["action"])){ switch($_REQUEST["action"]){ case 'guardar': ...
PHP
Applications/Controller/CPagina.class.php
icodesistemas/SpryCMS
gpl-3.0
4,729
127
codeparrot/github-code
2a22d46e8e4321ddd4a74176e0ce84c3a1c32eb30b6514cdbcf89fcb627f5ae0
#region License /* Copyright 2014 - 2015 Nikita Bernthaler MDrawing.cs is part of SFXAltar. SFXAltar 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...
C#
SFXUtility/SFXAltar/Classes/MDrawing.cs
Lizzaran/LeagueSharp-Standalones
gpl-3.0
6,182
216
codeparrot/github-code
b33af42a1edaffb52f4cdf623a738efeda77337b91134c6ba3fd16b4e0210ade
#include <stdlib.h> #include <stdio.h> #include <conio.h> #include <iostream.h> typedef struct no no_hash; struct no { int data; int state; /* 0 para VACIO, 1 para REMOVIDO e 2 para OCUPADO */ }; // Calcula la función de distribución int funcion(int k, int m, int i) { return ((k+i)%m); } // Crea...
C++
TablaHash/TablaHash.cpp
rgap/C-Simple-Data-Structures
gpl-3.0
3,347
138
codeparrot/github-code
7d0f24f4871ef68f68df258b0835e18f9582a55b88d62cdf402d2a197ea12820
// $Id: Thread_Adapter.cpp 91286 2010-08-05 09:04:31Z johnnyw $ #include "ace/Thread_Adapter.h" #include "ace/Thread_Manager.h" #include "ace/Thread_Exit.h" #include "ace/Thread_Hook.h" #include "ace/Object_Manager_Base.h" #include "ace/Service_Config.h" #if !defined (ACE_HAS_INLINED_OSCALLS) # include "ace/Thread_Ad...
C++
dep/acelite/ace/Thread_Adapter.cpp
SkyFireArchives/SkyFireEMU_420
gpl-3.0
7,623
224
codeparrot/github-code
dd74d24eb7febbe89011e29398c1e2f6279ca43b3b486553fd3ac387c3ee43e5
/* * Simple Chat Client * * Copyright (C) 2009-2016 Piotr Łuczko <piotr.luczko@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 yo...
C++
src/common/kamerzysta.cpp
simplechatclient/simplechatclient
gpl-3.0
8,577
340
codeparrot/github-code
921855cfe7a37aa3f5f7638f54b9290594557b9eac8eec120ad4a79597923142
#include "ArgumentRule.h" #include "ArgumentRules.h" #include "RlBoolean.h" #include "ContinuousStochasticNode.h" #include "MetropolisHastingsMove.h" #include "Move_GammaScale.h" #include "Probability.h" #include "RbException.h" #include "Real.h" #include "RealPos.h" #include "RevObject.h" #include "GammaScaleProposal....
C++
src/revlanguage/moves/scalar/Move_GammaScale.cpp
wrightaprilm/revbayes
gpl-3.0
8,600
290
codeparrot/github-code
4c7f5d358e12ad21cd1bd8436b78c5c83c08a307c13c12203d18b6c6328e2665
' Copyright (c) Microsoft Open Technologies, Inc. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. Imports Microsoft.CodeAnalysis Imports Microsoft.CodeAnalysis.Text Imports Microsoft.CodeAnalysis.VisualBasic Imports Microsoft.CodeAna...
Visual Basic
Src/Compilers/VisualBasic/Test/Emit/ErrorHandling.vb
BlastarIndia/roslyn
gpl-3.0
31,566
1,042
codeparrot/github-code
06dfbbbdafd538f0119236f7b8ee273f00847590aacff848dbadbf484d82d504
define(["dojo/_base/declare", "dojo/has", "dojo/on", "../util/misc", "put-selector/put", "dojo/i18n!./nls/columnHider", "xstyle/css!../css/extensions/ColumnHider.css"], function(declare, has, listen, miscUtil, put, i18n){ /* * Column Hider plugin for dgrid * Originally contributed by TRT 2011-09-28 * * A dGrid plug...
JavaScript
example16/js/dojo/dgrid/extensions/ColumnHider.js
spatialagent001/BlogExamples
gpl-3.0
11,614
359
codeparrot/github-code
fe885168cd953cd57d09cf4b61fe9b9133f0b23e2394a9bb5f5585ee0776620b
// Fig. 13.22: KeyDemo.java // Demonstrating keystroke events. import java.awt.*; import java.awt.event.*; import javax.swing.*; public class KeyDemo extends JFrame implements KeyListener { private String line1 = "", line2 = "", line3 = ""; private JTextArea textArea; // set up GUI public KeyDemo() { ...
Java
Programming/DeitelAdvancedJavaCodes/Eventos/KeyEvent/KeyDemo.java
meisamhe/GPLshared
gpl-3.0
3,026
88
codeparrot/github-code
ab0f4aed2fc11859d11da9707a272b592353745e735cfd23455e05a6f7b4cda1
<?php /** * Bigace - a PHP and MySQL based Web CMS. * * LICENSE * * This source file is subject to the new GNU General Public License * that is bundled with this package in the file LICENSE. * It is also available through the world-wide-web at this URL: * http://www.bigace.de/license.html * * Bigace is distri...
PHP
application/bigace/modules/admin/views/helpers/MultiSelect.php
bigace/bigace3
gpl-3.0
3,710
104
codeparrot/github-code
48f5520b4c8deee9b93e56def1ce6e3438708754c6aaae36eb0b1d0581686722
;******************************************************************************* ; tinyRTX Filename: susr.asm (System USeR interface) ; ; Copyright 2014 Sycamore Software, Inc. ** www.tinyRTX.com ** ; Distributed under the terms of the GNU Lesser General Purpose License v3 ; ; This file is part of tinyRTX. tinyRTX is ...
Assembly
susr.asm
tinyrtx/pic18f
gpl-3.0
7,732
222
codeparrot/github-code
3a906107df3a38887a2b2ce582ca86774a98ad40d4fbfea1774c0214fca1b0ca
/**************************************************************************** ** ** Copyright (C) 2016 The Qt Company Ltd. ** Contact: https://www.qt.io/licensing/ ** ** This file is part of the Qt Data Visualization module of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:GPL$ ** Commercial License Usage ** Licensees holding...
C
oss/qt/qt-everywhere-opensource-src-5.9.0/qtdatavis3d/src/datavisualization/utils/camerahelper_p.h
geminy/aidear
gpl-3.0
3,505
101
codeparrot/github-code
187dcdee5e0f2308b021d33594fc4427b5677d4dedef82daf16b2f826732ce8a
/* * 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 the hope that it w...
Java
src/main/java/adams/flow/control/SequentialDirector.java
automenta/adams-core
gpl-3.0
16,976
599
codeparrot/github-code
efb242bf84f3340bce7b9c60ada1ad9369b3e81e84bd4c8fe724dbf4aa6305fe
/* This source file is part of Rigs of Rods Copyright 2005-2012 Pierre-Michel Ricordel Copyright 2007-2012 Thomas Fischer Copyright 2013-2018 Petr Ohlidal & contributors For more information, see http://www.rigsofrods.org/ Rigs of Rods is free software: you can redistribute it and/or m...
C++
source/main/gameplay/BeamEngine.cpp
ulteq/rigs-of-rods
gpl-3.0
39,998
1,249
codeparrot/github-code
1b863ff83472faf60fa8403cd0f291602222b22375753fd007eb3360bce24c28
text = {} local text = text text.skills = {} --技能表,以技能ID为索引 --以1秒为周期进行循环检查 timer.loop(1, function() local hero = game.self() if hero and jass.GetUnitTypeId(hero) ~= 0 then for i = 0, 99 do local ab = japi.EXGetUnitAbilityB...
Lua
map/lua/text.lua
syj2010syj/All-Star-Battle-2
gpl-3.0
4,071
139
codeparrot/github-code
7e7499e0cc1d2be5e8e2b98b47ef90f81262cc77fc14d4f60ffc15060acf702c
package ru.isalnikov.sportloto; import java.util.concurrent.ThreadLocalRandom; /** * * @author Igor Salnikov isalnikov.com */ public class Coin { public static final int NUMBER = 100_000_000; public static final int count = 3; public static int runner() { int res = 0; for (int i = 0;...
Java
src/main/java/ru/isalnikov/sportloto/Coin.java
isalnikov/ACMP
gpl-3.0
1,123
49
codeparrot/github-code
f5abe50ed216328be22f66fb6f4c0ca49696033a3a1a57808e3b3388bb8d67ca
<?php /* ** File: browseprint.php ** Author: nuSoftware ** Created: 2011/01/28 ** Last modified: 2012/08/30 ** ** Copyright 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 nuSoftware ** ** This file is part of the nuBuilder source package and is licensed under the ** GPLv3. For ...
PHP
productionnu2/browseprint.php
sanyaade-iot/nuBuilder2
gpl-3.0
5,555
161
codeparrot/github-code
bc6a2ffb25e8e789351ca77e22e20d0c819c773bedcfa6fc8f8efa2feac45442
using System.Collections.Generic; using System.IO; using System.Text; using Kontract.IO; namespace text_td3 { public class TD3 { public const int HashTableLength = 0x138; public Header Header = null; public int MethodCount = 0; public List<uint> Instructions = new List<uint>()...
C#
src/text/text_td3/TD3.cs
IcySon55/Kuriimu
gpl-3.0
3,863
113
codeparrot/github-code
325249536ac4c8c5102a3c115f13fd783cfa72ce3b9a8bd8ea4df004b8c64d5f
#pragma once #include "ITAG.h" #include "chunk_hashmap.h" #include "chunk.h" #ifndef WIN32 #include <sys/stat.h> #endif #include <sstream> extern "C" { #include "zlib.h" } #define MAX_INVENTORY 4+4+36 struct Level { int64_t time; int64_t mapSeed; struct { double position[3]; struct { short itemID; s...
C
level.h
ReDucTor/Mineproxy
gpl-3.0
1,643
82
codeparrot/github-code
4ebbd1bb3c13b24887ecf84f567cd8b9c3f594235f4b483ce1ad2d27393cdb3e
import { loadFile } from 'controller/tracks-loader'; import { createId, createLabel } from 'controller/tracks-helper'; import Events from 'utils/backbone.events'; import { ERROR } from 'events/events'; /** Displays closed captions or subtitles on top of the video. **/ const Captions = function(_model) { // Reset...
JavaScript
extralib/players/jw/8.0/src/js/controller/captions.js
vfremaux/moodle-mod_mplayer
gpl-3.0
5,785
185
codeparrot/github-code
cd442d060b3c3f0b2bab3759bcfbd3ee687a644a51bcda87038640b1d00619c5
# 62. Unique Paths QuestionEditorial Solution # A robot is located at the top-left corner of a m x n grid (marked 'Start' in the diagram below). # # The robot can only move either down or right at any point in time. The robot is trying to reach the bottom-right corner of the grid (marked 'Finish' in the diagram below...
Python
QUESTIONS/62_unique_paths.py
shawncaojob/LC
gpl-3.0
1,044
36
codeparrot/github-code
b217b24c63efb36e6f926470cd4dbb9c00d911271bfefbc662c150a8ef28c474
/**************************************************************************** ** ** Copyright (C) 2016 The Qt Company Ltd. ** Contact: https://www.qt.io/licensing/ ** ** This file is part of Qt Creator. ** ** Commercial License Usage ** Licensees holding valid commercial Qt licenses may use this file in ** accordance w...
C++
src/plugins/git/remotedialog.cpp
pivonroll/Qt_Creator
gpl-3.0
6,292
196
codeparrot/github-code
7ea053654b730354e8128ae261d19d3f5711755344021442da751321f4efa7a1
package org.bottiger.podcast.adapters.viewholders; import android.animation.Animator; import android.animation.AnimatorListenerAdapter; import android.support.v7.widget.RecyclerView; import android.view.View; import android.view.ViewGroup; /** * Created by apl on 20-01-2015. */ public class ViewHolderAni...
Java
app/src/main/java/org/bottiger/podcast/adapters/viewholders/ViewHolderAnimator.java
bottiger/SoundWaves
gpl-3.0
2,909
84
codeparrot/github-code
f24bbccf5fe358b5ac3603853f12ede2c403267a07637e75275846885039e69f
using com.clusterrr.clovershell; using com.clusterrr.Famicom; using com.clusterrr.hakchi_gui.Properties; using SevenZip; using System; using System.Collections.Generic; using System.Diagnostics; using System.Drawing; using System.Globalization; using System.IO; using System.Linq; using System.Reflection; using System....
C#
MainForm.cs
Nhakin/hakchi2
gpl-3.0
68,059
1,467
codeparrot/github-code
3e910c80f06e38b6ce2f60ab6f3acb25522cb44216f083d3f80eaea571d13d2d
// var xbox = require('xbox-controller-node'); xbox.on('a', function () { console.log('[A] button press'); }); xbox.on('a:release', function () { console.log('[A] button release'); }); xbox.on('start', function () { console.log('[Start] button press'); }); xbox.on('left', function () { console.log...
JavaScript
how_to/xbox.js
Naxsel/LeaParrot
gpl-3.0
1,665
80
codeparrot/github-code
80f13efa132471bab579c12c73b18e036a568819ecb05bc17f348f3b0ad4f47e
package unstudio.chinacraft.block.decoration; import java.util.Random; import net.minecraft.block.material.Material; import net.minecraft.init.Blocks; import net.minecraft.world.World; import net.minecraft.world.chunk.IChunkProvider; import net.minecraft.world.gen.feature.WorldGenMinable; import unstudio.chinacraft....
Java
src/main/java/unstudio/chinacraft/block/decoration/BlockMarble.java
UnknownStudio/ChinaCraft
gpl-3.0
1,388
40
codeparrot/github-code
fd3a83f5740d5f0bfff1db41938350aa0e20b8a1e81901bbcff579a01c118d83
class RunParametersDao def initialize(my) @my = my; end def insert(dto) sql = "INSERT INTO " + getTableName() + " ( run_id, parameter_id ) VALUES ( ?, ? )"; st = @my.prepare(sql); st.execute(dto.runId, dto.parameterId); st.close(); end def update(dto) sql = "UPDATE " +...
Ruby
filetracker/ruby/RunParametersDao.rb
specht/proteomatic-scripts
gpl-3.0
2,593
97
codeparrot/github-code
2fd7614a04a0ab857002169c78d21943dc4ba8bc47f9aed090a9f4d7f91f85cd
/* * Adapted from the Wizardry License * * Copyright (c) 2016-2018 larryTheCoder and contributors * * Permission is hereby granted to any persons and/or organizations * using this software to copy, modify, merge, publish, and distribute it. * Said persons and/or organizations are not allowed to use the software ...
Java
src/main/java/com/larryTheCoder/command/management/ProtectionSubCommand.java
larryTheCoder/ASkyBlock-Nukkit
gpl-3.0
2,484
71
codeparrot/github-code
706da8953b0670d9c2a42e0080d06f46595cb40dd3903d6bcf75eb56efb92ef7
/* * Copyright IBM Corp. 1999, 2012 * Author(s): Hartmut Penner <hp@de.ibm.com>, * Martin Schwidefsky <schwidefsky@de.ibm.com>, * Denis Joseph Barrow, */ #ifndef _ASM_S390_LOWCORE_H #define _ASM_S390_LOWCORE_H #include <linux/types.h> #include <asm/ptrace.h> #include <asm/cpu.h> #include <asm/types.h> ...
C
arch/s390/include/asm/lowcore.h
williamfdevine/PrettyLinux
gpl-3.0
6,338
206
codeparrot/github-code
5b7d6ce11cae7b46092b5c2543e7bfd1249edff61cfb780bd4098e1662ba11a3
#region Copyright & License Information /* * Copyright 2007-2011 The OpenRA Developers (see AUTHORS) * This file is part of OpenRA, which is free software. It is made * available to you under the terms of the GNU General Public License * as published by the Free Software Foundation. For more information, * see COP...
C#
OpenRA.Mods.RA/Widgets/Logic/IngameChromeLogic.cs
markolson/OpenRA
gpl-3.0
3,744
112
codeparrot/github-code
ef912cc174122625f734d2659582bdcdfc48a6c13fe8460d02a55db5eb337843
package it.unibas.lunatic.test.mc.dbms.basicscenario; import it.unibas.lunatic.Scenario; import it.unibas.lunatic.model.chase.chasemc.operators.ChaseMCScenario; import it.unibas.lunatic.model.chase.chasemc.DeltaChaseStep; import it.unibas.lunatic.model.chase.commons.operators.ChaserFactoryMC; import it.unibas.lunatic....
Java
lunaticEngine/test/it/unibas/lunatic/test/mc/dbms/basicscenario/TestSQLSynthetic08.java
donatellosantoro/Llunatic
gpl-3.0
2,766
51
codeparrot/github-code
70017c868b915a5e1db90fcda33baa59810cca6579249daa492db613063a9dfa
#include <iostream> #include <cstdlib> using namespace std; struct edge { int x; int y; int val; }; edge ele[1000];//±ß int n,m,i,j,sum=0; int fa[1000];//²¢²é¼¯¼Ç¼¸¸Ç× bool flag[1000];//¸Ã±ßÊÇ·ñʹÓà //²¢²é¼¯ÕÒ°Ö°Ö int getFa(int x) { int fx; fx=(x==fa[x])?x:getFa(fa[x]); fa[x]=fx;//·¾¶Ñ¹Ëõ return fx; ...
C++
Project 8/main.cpp
blackbbc/Data-Structure-Projects
gpl-3.0
1,366
105
codeparrot/github-code
a88e1a99d3abb8087370b06eaf7ed3e8f35b72cf16999a44834aabe021e89186
/*========================================================================== SeqAn - The Library for Sequence Analysis http://www.seqan.de ============================================================================ Copyright (C) 2007 This library is free software...
C
seqan_library/seqan/chaining/chain_base.h
genome/dindel-tgi
gpl-3.0
12,625
360
codeparrot/github-code
c6a6901295e503f782d7261a9fffc40633765a8d59bcf43c7b3ce03ab4c99bdf
package com.brennytizer.jumg.frame; import java.awt.BorderLayout; import java.awt.Cursor; import java.awt.Dimension; import java.awt.Image; import java.awt.Point; import java.awt.Toolkit; import java.awt.event.WindowEvent; import java.awt.event.WindowListener; import javax.swing.JFrame; import com.brennytizer.jumg.u...
Java
JUMG/src/com/brennytizer/jumg/frame/Frame.java
TheBrenny/JUMG
gpl-3.0
4,385
157
codeparrot/github-code
e946d9c663e6cdc44ef0a923d1a8935a2148ad86be70845a5a0244e28c0f941a
// Decompiled with JetBrains decompiler // Type: System.Reflection.AssemblyConfigurationAttribute // Assembly: mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 // MVID: 255ABCDF-D9D6-4E3D-BAD4-F74D4CE3D7A8 // Assembly location: C:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll usin...
C#
LoCO Client Files/Decompressed Client/Extracted DLL/mscorlib/System/Reflection/AssemblyConfigurationAttribute.cs
mater06/LEGOChimaOnlineReloaded
gpl-3.0
1,716
51
codeparrot/github-code
be062ab81b2f0a18ef89ee6c7c7548de7b058150fbc8eba078b9761c225cc4ec
import os import time import argparse import atexit import gym import gym_bombermaaan import numpy as np import random import utils from pathlib import Path import pickle from DQAgent import DQAgent from evaluation import evaluate from Logger import Logger import pygame def exit_handler(): global DQA DQA.quit(...
Python
openai-gym/gym-bombermaaan/bombermaaan.py
bjaraujo/bombermaaan
gpl-3.0
12,907
319
codeparrot/github-code
109d9d6d378346f2d66c5e56f0b2f31a1cdd76cebff08aa268ad5f0766e87bb9
/* * Copyright (c) 2006 * Tama Communications Corporation * * This file is part of GNU GLOBAL. * * 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 * (a...
C
libutil/fileop.c
cage433/global_with_scala
gpl-3.0
2,855
134
codeparrot/github-code
e30d7073e99a7bc6cb51951f28d54ee1008140b544dd6f7f622094087399493e
package org.kuorum.service.notification.worker; import com.lordofthejars.nosqlunit.annotation.UsingDataSet; import com.lordofthejars.nosqlunit.core.LoadStrategyEnum; import com.lordofthejars.nosqlunit.mongodb.MongoDbRule; import org.junit.Assert; import org.junit.Before; import org.junit.Rule; import org.junit.Test; i...
Java
serviceNotifications/src/test/java/org/kuorum/service/notification/worker/NotificationWorkerTest.java
Kuorum/kuorumServices
gpl-3.0
18,260
322
codeparrot/github-code
740d65a02407619ff46054ac70932ba05e6b7e4fda10ad3b034a3f713fa84d74
namespace WOT.Stats { partial class ctxVersion { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <p...
C#
Solution/WOT.Stats/UserControls/ctxVersion.Designer.cs
Phalynx/WOT-Statistics
gpl-3.0
3,636
80
codeparrot/github-code
2eb7d8c0c8c4e617da30071c8677b58435f29e85490a421dd00dc5c89dfca296
from .modulation import ModulationTypes class TuningParameterCollection(object): """ Holds multiple tuning parameters at various heights. Each acts as a calibration point. """ tuning_parameters = [] build_x_min = -50.0 build_y_min = -50.0 build_x_max = 50.0 build_y_max = 50.0 dwell_...
Python
src/audio/tuning_parameters.py
PeachyPrinter/peachytoolchain
gpl-3.0
4,182
121
codeparrot/github-code
1f7b7b733c9cb6fc35ff691ca5361ef022bcc04ab215da6b8052dc51cbad0c0e
#include <iostream> #include <cstdio> #include <cstring> #include <string> #include <cmath> #include <map> #include <vector> using namespace std; const int maxn = 3e6 + 100; map<string, int> mp; int p[maxn], pn; string r; vector<int> G[maxn]; int n, m; int p2[maxn]; char str[maxn]; void solve() { // n = (1 << ...
C++
OpenCupXVIEurasia/B.cpp
SyncShinee/LovelyDonutsTraining
gpl-3.0
1,716
99
codeparrot/github-code
55704a74db5e5e46957204999b5b11b5f7652fe9414840e4f8e113a1932583b4
# -------------------------------------------------------------------------- # BlenderAndMBDyn # Copyright (C) 2015 G. Douglas Baldwin - http://www.baldwintechnology.com # -------------------------------------------------------------------------- # ***** BEGIN GPL LICENSE BLOCK ***** # # This file is part of Blender...
Python
user_defined_element.py
louisgag/BlenderAndMBDyn
gpl-3.0
14,009
329
codeparrot/github-code
5a57d2ba0822ce241f9f8a542ea87b9ff4c4b17e10d4183ff4a8e5d38b5d3742
/*********************************************** Author contact information: Michael J. Black Department of Computer Science Brown University P.O. Box 1910 Providence, RI 02912 http://www.cs.brown.edu/people/black/ email: black@cs.brown.edu 401-863-7637 (voice) 401-863-7657 (f...
C
src/gnc.c
scienceopen/robust-flow
gpl-3.0
13,803
416
codeparrot/github-code
d00a34c1bceaebdd0dfdd2ca35ae5eb36788c36bf68f206a18885e8622e0ab14
/* * Copyright (C) 2011-2014 GUIGUI Simon, fyhertz@gmail.com * * This file is part of libstreaming (https://github.com/fyhertz/libstreaming) * * Spydroid 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...
Java
src/net/majorkernelpanic/streaming/MediaStream.java
tomcatyang/spydroid-ipcamera
gpl-3.0
9,494
317
codeparrot/github-code
c57a3983d6251672db032c8ec39e15d4449dc2c6da5715dfe0e28e35b0b04c59
#pragma once #include <memory> #include "model_joe03.h" #include "texture.h" #include "joepack.h" #include "tracksurface.h" #include "mathvector.h" #include "quaternion.h" #include "bezier.h" #include "aabb.h" #include "aabb_space_partitioning.h" #include "optional.h" #include "track_object.h" #include "roadstrip.h"...
C
source/vdrift/track.h
saisai/stuntrally
gpl-3.0
3,101
160
codeparrot/github-code
70f31b9d71cd97c52e9d2e5bd41e454da1a2e02c6d46b9890d211daa4774f0a6
/* * 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 the hope...
Java
library/src/main/java/com/pokegoapi/api/map/fort/Pokestop.java
gegy1000/PokeGOAPI-Java
gpl-3.0
3,076
106
codeparrot/github-code
e5a7861f55a65f716ef3f7505b0de13dbf212c35285885db979dd8e13ec4de6a
/* * arch/sh/mm/tlb-sh3.c * * SH-3 specific TLB operations * * Copyright (C) 1999 Niibe Yutaka * Copyright (C) 2002 Paul Mundt * * Released under the terms of the GNU GPL v2.0. */ #include <linux/signal.h> #include <linux/sched.h> #include <linux/kernel.h> #include <linux/errno.h> #include <linux/string.h> #...
C
arch/sh/mm/tlb-sh3.c
williamfdevine/PrettyLinux
gpl-3.0
2,280
103
codeparrot/github-code
54bb10600d8c7f0a7eb1dcba16d1640f5fc1d6f63476074afe0b9aca2aa9903b
package com.github.jamesnorris.ablockalypse.enumerated; import java.util.Map; import org.bukkit.Location; import org.bukkit.Sound; import com.google.common.collect.Maps; public enum ZASound { ACHIEVEMENT(1, new Sound[] {Sound.ENTITY_PLAYER_LEVELUP}, 1), AREA_BUY(11, new Sound[] {Sound.BLOCK_WOODEN_DOOR_OPEN...
Java
src/com/github/jamesnorris/ablockalypse/enumerated/ZASound.java
JamesNorris/Ablockalypse
gpl-3.0
1,767
55
codeparrot/github-code
999eeb41308bdb39364c7fe95aee2c2c84b98ec4f9f1bac4452f895e3c3cd3e7
/* * Copyright (C) 2005-2011 MaNGOS <http://www.getmangos.com/> * * Copyright (C) 2008-2011 Trinity <http://www.trinitycore.org/> * * Copyright (C) 2009-2011 CataProject * * Copyright (C) 2010-2011 VoragineCore <http://www.projectvoragine.com/> * * This program is free software; you can redistribute it and/or...
C++
src/server/scripts/Instances/ThroneOfTheTides/boss_lady_nazjar.cpp
VirusOnline/VoragineCore
gpl-3.0
9,629
284
codeparrot/github-code
b38b057bbc0b49a060fc29036ec79971dffb4273aebd92e7a0705c75cd6b889e
/**************************************************************************** ** ** Copyright (C) 2016 The Qt Company Ltd. ** Author: Milian Wolff, KDAB (milian.wolff@kdab.com) ** Contact: https://www.qt.io/licensing/ ** ** This file is part of Qt Creator. ** ** Commercial License Usage ** Licensees holding valid comme...
C
src/plugins/valgrind/memcheck/memcheckrunner.h
pivonroll/Qt_Creator
gpl-3.0
1,986
71
codeparrot/github-code
d13e744cf2504daeafcb185169cd6002b39a426c3a1c1572943cd4c7309bdbd0
// Apache.cpp --- // // Filename: Apache.cpp // Description: // Author: Caner Candan // Maintainer: // Created: Thu Nov 27 01:44:20 2008 (+0200) // Version: // Last-Updated: Thu Nov 27 01:44:23 2008 (+0200) // By: Caner Candan // Update #: 1 // URL: // Keywords: // Compatibility: // // // Comme...
C++
server/src/Apache.cpp
canercandan/qlik
gpl-3.0
3,138
117
codeparrot/github-code
75517987323d650f1526d76ccf7d77538f7e098820016b93b9c299bd7890750f
package meghanada; import com.google.common.base.Strings; import java.util.*; import meghanada.reflect.CandidateUnit; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; public class Demo { private static Logger log = LogManager.getLogger(Demo.class); public static void completio...
Java
server/src/test/resources/meghanada/Demo.java
mopemope/meghanada-server
gpl-3.0
2,871
106
codeparrot/github-code
d212a518b26abeb3422e6044dcabe5db3b0a395ddb483863d62b4a9c55213ff0
/* * #%L * Eva * %% * Copyright (C) 2013 Abada Servicios Desarrollo (investigacion@abadasoft.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...
JavaScript
eva-server/eva-web/src/main/webapp/ext4/src/ComponentLoader.js
abada-investigacion/eva
gpl-3.0
7,620
231
codeparrot/github-code
d5b64fa007a6965091e4c306f4d55da762eb569bb3708058721becd1c69b9362
/* $Xorg: LuvMxC.c,v 1.3 2000/08/17 19:44:41 cpqbld Exp $ */ /* * Code and supporting documentation (c) Copyright 1990 1991 Tektronix, Inc. * All Rights Reserved * * This file is a component of an X Window System-specific implementation * of XCMS based on the TekColor Color Management System. Permission is * h...
C
QMOLEDEV/libX11-1.3/src/xcms/LuvMxC.c
chriskmanx/qmole
gpl-3.0
6,642
207
codeparrot/github-code
d92296e215891c3ca97a53eb390e20551c507ddc5bd890469f43b931fb0ddff9
/* * RED: RNA Editing Detector * Copyright (C) <2014> <Xing Li> * * RED 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 la...
Java
red/com/xl/parsers/annotationparsers/AnnotationParser.java
REDetector/RED
gpl-3.0
5,827
215
codeparrot/github-code
0b9b5076e5186bc0b600d2be11c0f8fdeb5636e0a84bb89ef3c13e5df4d6b53e
/** * Marlin 3D Printer Firmware * Copyright (c) 2019 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] * * Based on Sprinter and grbl. * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General...
C++
Marlin/src/module/tool_change.cpp
gruvin/Marlin
gpl-3.0
36,651
1,079
codeparrot/github-code
b4ec22573155ce2cac90b7409bd74aff6c2387bf59af4ef2845f3cb12e1c1b93
package com.zalthrion.zylroth.world.dimension; import java.util.List; import java.util.Random; import net.minecraft.block.Block; import net.minecraft.block.BlockFalling; import net.minecraft.entity.EnumCreatureType; import net.minecraft.init.Blocks; import net.minecraft.util.IProgressUpdate; import net.minecraft.util...
Java
src/main/java/com/zalthrion/zylroth/world/dimension/ChunkProviderIridis.java
Zalthrion/Zyl-Roth
gpl-3.0
15,623
463
codeparrot/github-code
ea7339e248ba97b2f64e9f30d70b104a9978243b466e4270313e87b49ddc3689
/* * This file is part of MPlayer. * * MPlayer 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. * * MPlayer is distributed in th...
C
bstr.h
Kovensky/mplayer2
gpl-3.0
4,495
142
codeparrot/github-code
3e7977d188f7a81914f3b64de7e5d271fd61e42ba96835c48963384356a20f1b
/* * Copyright (C) 2013 Canonical, Ltd. * * 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; version 3. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY...
C
plugins/AccountsService/AccountsServiceDBusAdaptor.h
jonjahren/unity8
gpl-3.0
2,662
72
codeparrot/github-code
59436039da3dd87f9e6caccd3dcd7a5202fee2d38f1db86e4fa81e3226d514a7
using System; using System.Linq; using System.IO; using System.Collections.Generic; using System.Threading; using System.Text; using TokenStore.Util; namespace TokenStore.Streamers { public class AtomStreamer { ulong MaxAtomIdx = 0; SortedList<string,byte[]> AtomDictionary; Stream AtomStream; public Atom...
C#
TokenStore/Streamers/AtomStreamer.cs
robajz/commune
gpl-3.0
2,619
110
codeparrot/github-code
d1f914918e0f237866d2189a5e574ba8e4974cabe750a295595fe84d526c5b40
/* * Decompiled with CFR 0_114. */ package com.stimulsoft.report.dictionary.dataSources; import com.stimulsoft.report.dictionary.dataSources.StiSqlSource; import com.stimulsoft.report.dictionary.databases.StiDatabase; import com.stimulsoft.report.dictionary.databases.StiOdbcDatabase; /* * This class specifies clas...
Java
stimulsoft/src/com/stimulsoft/report/dictionary/dataSources/StiOdbcSource.java
talek69/curso
gpl-3.0
1,000
37
codeparrot/github-code
ed6814dbb65d3ed8b5a9c720323e2b5b69e502b83bf395b662a0f5cb5a156c58
/******************************************************************************* * Copyright (c) 2019 German Federal Institute for Risk Assessment (BfR) * * 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 So...
Java
de.bund.bfr.knime.openkrise.util/src/de/bund/bfr/knime/openkrise/util/tracing/TracingParametersSettings.java
SiLeBAT/BfROpenLab
gpl-3.0
19,054
489
codeparrot/github-code
088f3889ce10523524fccdf38d56d2711bc8bcf13b3ce2d144a4ee41a3845052
/** * include/linux/f2fs_fs.h * * Copyright (c) 2012 Samsung Electronics Co., Ltd. * http://www.samsung.com/ * * 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. */ #...
C
include/linux/f2fs_fs.h
Demicro/SM-J510FN_KERNEL
gpl-3.0
17,028
508
codeparrot/github-code
5c0ca546c9ece7cb3532278235afa38c7cd5f67ca6f039124e9b079f7dbf0f96
/*global jQuery,document,window*/ /** * 定制化日期控件 * @author fuyun * @version 2015-04-21 * @since 2014-01-27 */ (function ($) { var htmlTpl = ''; htmlTpl = '<div class="datepicker" style="display:none;">'; htmlTpl += '<div class="controlDiv">'; htmlTpl += ' <div class="prevYear">&nbsp;</div>'; ...
JavaScript
public/src/js/lib/jquery.datepicker.js
ifuyun/iFuyun
gpl-3.0
33,054
712
codeparrot/github-code
ac1af555d4b47fe8b948bbae087a542b98fec69cefa03ded65e34ddfec5341e8
// cc *.c -o rsa_test && ./rsa_test #include "rsa.h" #include <stdio.h> // perror() #include <string.h> // strerror(), memcmp() #include <stdlib.h> // exit(), atoi() #include <errno.h> // errno // prints each byte void print_data(const void *data, size_t size, unsigned cols) { size_t i; unsigned pos = 0; for (i = ...
C
test.c
Prince781/rsa_toy
gpl-3.0
3,549
141
codeparrot/github-code
2d5ec74791913ca9f73c0327b1854e582a16ded2d86dda622eec9d9623e576b5
<?php /******************************************************************************* NOTES ON USING THIS TEMPLATE FILE... The heredoc convention is used to simplify quoting. The noteworthy point to remember is to escape the '$' in variable names. But functions pass through as expected. The short php if-else form...
PHP
document_root/food/show_report/producer_invoice_template.php
openfoodsource/OFS_trunk
gpl-3.0
28,978
611
codeparrot/github-code
2b19228c9bb13640311eff1f0176b7a798d3203c03998675344a355b0ec62ed0
/* * Copyright (C) 2021 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...
Java
src/main/java/se/dykstrom/jcc/common/code/expression/GreaterOrEqualCodeGenerator.java
dykstrom/jcc
gpl-3.0
1,500
38
codeparrot/github-code
07b7c001c727f428ae88a2bfbb8f210ed9064e5b48f8c5179f607661d3c9e55f
/**************************************************************************** ** ** Copyright (C) 2016 Klaralvdalens Datakonsult AB (KDAB). ** Contact: https://www.qt.io/licensing/ ** ** This file is part of the Qt3D module of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL$ ** Commercial License Usage ** Licensees holdin...
C++
oss/qt/qt-everywhere-opensource-src-5.9.0/qt3d/src/render/backend/stringtoint.cpp
geminy/aidear
gpl-3.0
4,300
123
codeparrot/github-code
c60600f2e868434bf064e1d14ddbc20e42f7134761505fab842917e89fa2eb77
package com.github.seqware.queryengine.model.test; import com.github.seqware.queryengine.Constants; import com.github.seqware.queryengine.factory.CreateUpdateManager; import com.github.seqware.queryengine.factory.SWQEFactory; import com.github.seqware.queryengine.model.*; import com.github.seqware.queryengine.model.in...
Java
seqware-queryengine-backend/src/test/java/com/github/seqware/queryengine/model/test/TaggableTest.java
SeqWare/queryengine
gpl-3.0
22,360
454
codeparrot/github-code
fad3e1967df41114b5dcc1bae5eda02778aa6a7a0d272ecc22c93ccb4bd7162c
{% extends "base.html" %} {% block title %}Lookup an Officer's OpenOversight ID{% endblock %} {% block meta %}<meta name="description" content="See badge number or name? Lookup an Officer's OpenOversight ID">{% endblock %} {% block content %} <div class="container theme-showcase" role="main"> {% if current_user an...
HTML
OpenOversight/app/templates/input_find_ooid.html
lucyparsons/OpenOversight
gpl-3.0
2,159
58
codeparrot/github-code
d5c6f77bc6936ab6cb7628896f1a039d6460037bf7812187ef87439f69d984ef
declare namespace NativeUI { class BarTimerBar extends NativeUI.TimerBarBase { Percentage: number; BackgroundColor: System.Drawing.Color; ForegroundColor: System.Drawing.Color; constructor(label: string); Draw(interval: number, offset: System.Drawing.Size): void; } class CheckboxChangeEvent { construc...
TypeScript
types-gt-mp/Definitions/NativeUI.d.ts
MrNeta/GT-MP-Login-Screen
gpl-3.0
12,567
267
codeparrot/github-code
4f00989c22f10def51ae96b733e6a8548b97712002c5da7b5013180dd27b7e60
'use strict'; var appModule = angular.module('ConfPlusWebApp.restServices', ["ngResource"]); appModule.factory('getConfInfo', ['$resource', function ($resource) { return $resource(restUrlHead + '/confInfo/:confId', {}); } ]); appModule.factory('getSessList', function ($resourc...
JavaScript
static/js/rest-services.js
liuzhenyang14/Meeting
gpl-3.0
6,138
191
codeparrot/github-code
eba31c5a3008e0126c3d35a76e62682ed3caaebe4f54768278ba9d6c10058fae
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <!-- qt3d-module.qdoc --> <title>Qt3DCore Namespace | Qt 3D 5.7</title> <link rel="stylesheet" type="text/css" href="style/offline-simple.css" /> <script type="tex...
HTML
Doc/qt3d/qt3dcore.html
angeloprudentino/QtNets
gpl-3.0
37,589
356
codeparrot/github-code
e312c5802fdd2be33bbba8b1df3c3d29f9d4eadb3c2708325cf385276148c9a8
<?php /** * This file is part of a FireGento e.V. module. * * This FireGento e.V. module is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License version 3 as * published by the Free Software Foundation. * * This script is distributed in the hope that it will...
PHP
src/app/code/community/FireGento/MageSetup/Block/Catalog/Product/Price.php
buro71a/firegento-magesetup
gpl-3.0
9,455
293
codeparrot/github-code
4d42f2b0d6d3c83d6c8d738f914476fbb7ceec18643e037e53cd06941e303c91
""" slackrealtime/event.py - Event handling for Slack RTM. Copyright 2014-2020 Michael Farrell <http://micolous.id.au> This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the L...
Python
src/slackrealtime/event.py
micolous/python-slackrealtime
gpl-3.0
5,496
202
codeparrot/github-code
276260f6b46193ca4cafb50324480e9c7ad98b5d07e89521099ab55c5593d049
/* * 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#
Core/Colosoft.Core/RSACryptografyKey.cs
fabrimaciel/colosoft
gpl-3.0
2,176
128
codeparrot/github-code
5ec54b20c47e4d21964db7b87e15b4b4a1aeab4c425199e18508582e8ef2a16e
<?php class SiteOrigin_Panels_Renderer { private $inline_css; private $container; function __construct() { add_action( 'wp_enqueue_scripts', array( $this, 'enqueue_styles' ), 1 ); $this->inline_css = null; } public static function single() { static $single; return empty( $single ) ? $single = new self...
PHP
inc/renderer.php
siteorigin/siteorigin-panels
gpl-3.0
37,745
1,072
codeparrot/github-code
1f8bfe67216916cf53a687fa282101b0a812f848eb48aa35f8c5119c4f1fe4a0
/* * This file is part of Encom. **ENCOM FUCK OTHER SVN** * * Encom is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * ...
Java
GameServer/src/com/aionemu/gameserver/model/iu/IuLocation.java
Estada1401/anuwhscript
gpl-3.0
2,032
76
codeparrot/github-code
f8bf0920d08861ec68685ec99f6987b062bdd7fc728663a25450c5269003f766
/* * Copyright 2015 Seth Traverse * * This file is part of ViaWare DLNA Server. * * ViaWare DLNA Server is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your op...
Java
src/main/java/ca/viaware/dlna/ssdp/Searcher.java
WinMac32/ViaWare-DLNA
gpl-3.0
3,704
104
codeparrot/github-code
23628e6bd79554056e4f6a266387b4ff452fdc57febd07dfc31cde0d56f0b4b4
if (CMAKE_VERSION VERSION_LESS 2.8.3) message(FATAL_ERROR "Qt 5 requires at least CMake version 2.8.3") endif() get_filename_component(_qt5WebSockets_install_prefix "${CMAKE_CURRENT_LIST_DIR}/../../../" ABSOLUTE) # For backwards compatibility only. Use Qt5WebSockets_VERSION instead. set(Qt5WebSockets_VERSION_STR...
CMake
gberry-console/qt5rpi/deploy/usr/local/qt5pi/lib/cmake/Qt5WebSockets/Qt5WebSocketsConfig.cmake
gberryproject/gberry
gpl-3.0
5,872
151
codeparrot/github-code
da60e689138ea3fbec25f616ff7c5aee8b016193ed7f69433b3b5a5f249d8d43
#include "classrecord.h" ClassRecord::ClassRecord() : mId() , mClass() , mDate() , mTeacher() , mAttendance() { } ClassRecord::ClassRecord(const QString &id, const QString &theClass, const QString &date, const QString &teacher) : mId(id) , mClass(theClass) , mDate(date) , mTeache...
C++
classrecord.cpp
thenewcoder/school-administration-system
gpl-3.0
1,214
77
codeparrot/github-code