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
48f8db90e84b4e5a95379825003cfd84676f902bed17b820f2cf06d757259e31
using System; namespace UnstuckMeLoggers { public enum ERR_TYPES_SERVER { // if you add one of these please add it in the switch statement to be handled SERVER_GUI_LOGIN, SERVER_GUI_LOGOUT, SERVER_CONNECTION_ERROR, SERVER_GUI_INTERACTION_ERROR, SERVER_START, ...
C#
UnstuckME/UnstuckMeLoggers/ErrContainerServer.cs
UnstuckME/UnstuckME
gpl-3.0
1,844
44
codeparrot/github-code
b4c4e31c0a5c3d8d8a3fa3c7648231b31a0018e47adcfb7f00569025c4e4107c
import discord import asyncio import datetime import time import aiohttp import threading import glob import re import json import os import urllib.request from discord.ext import commands from random import randint from random import choice as randchoice from random import choice as rndchoice from random import shuffl...
Python
cogs/runescapecompare.py
IODisrupt/OmegaBot
gpl-3.0
2,978
68
codeparrot/github-code
49bd36b00b0101857321b94587f6b30ba23f5f21d62c3bafcfd98a2edd0a5341
package com.snail.webgame.game.protocal.relation.getRequest; import org.epilot.ccf.config.Resource; import org.epilot.ccf.core.processor.ProtocolProcessor; import org.epilot.ccf.core.processor.Request; import org.epilot.ccf.core.processor.Response; import org.epilot.ccf.core.protocol.Message; import org.slf4j.Logger; ...
Java
spring-game/src/main/java/com/spring/game/game/protocal/relation/getRequest/GetAddRequestProcessor.java
bozhbo12/demo-spring-server
gpl-3.0
1,541
48
codeparrot/github-code
5d34ad901a632ed69adf49fc52cc2f9c1e8c8c193413a3ec36b02abfd4181965
/******************************************************************************* * Copyright (c) 2000, 2013 IBM Corporation and others. * * This program and the accompanying materials * are made available under the terms of the Eclipse Public License 2.0 * which accompanies this distribution, and is available at ...
Java
projects/others/eclipse-platform-parent/eclipse.jdt.core-master/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/JavaElementRequestor.java
Niky4000/UsefulUtils
gpl-3.0
6,654
269
codeparrot/github-code
9bc2124ee4babaa68862577ed04ef766cef97cd5db1ea81123e1a2ec67f5d4d0
import string import ast from state_machine import PSM, Source class SpecialPattern: individual_chars = ('t', 'n', 'v', 'f', 'r', '0') range_chars = ('d', 'D', 'w', 'W', 's', 'S') special_chars = ('^', '$', '[', ']', '(', ')', '{', '}', '\\', '.', '*', '?', '+', '|', '.') rest...
Python
src/parser.py
VaysseB/id_generator
gpl-3.0
15,217
496
codeparrot/github-code
88f0288058e5fb26e6daf8b3bf31bb386e7e3a4155b0fb2125ea1b70e068b9cd
/* * eGov suite of products aim to improve the internal efficiency,transparency, * accountability and the service delivery of the government organizations. * * Copyright (C) <2015> eGovernments Foundation * * The updated version of eGov suite of products as by eGovernments Foundation * is availa...
Java
src/test/java/org/egov/search/service/SimpleFieldsResourceGeneratorTest.java
egovernments/eGov-Search
gpl-3.0
3,937
108
codeparrot/github-code
3c26054252a1c4b78617e1c4c15d504afe1e9087cd53bc64c506859bdbdb12b8
package com.mx.fic.inventory.business.builder; import com.mx.fic.inventory.business.builder.config.AbstractDTOBuilder; import com.mx.fic.inventory.business.builder.config.BuilderConfiguration; import com.mx.fic.inventory.dto.BaseDTO; import com.mx.fic.inventory.dto.UserDetailDTO; import com.mx.fic.inventory.persistent...
Java
fic-inventory/fic-inventory-business/src/main/java/com/mx/fic/inventory/business/builder/UserDetailBuilder.java
modemm3/fic
gpl-3.0
1,223
32
codeparrot/github-code
23affcab84f471cc8cecb51bb97dd37ca703f21e5e56de81e1ad0b68eaac73da
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <!-- qsqlquerymodel.cpp --> <title>List of All Members for QSqlQueryModel | Qt SQL 5.7</title> <link rel="stylesheet" type="text/css" href="style/offline-simple.css"...
HTML
Doc/qtsql/qsqlquerymodel-members.html
angeloprudentino/QtNets
gpl-3.0
26,906
211
codeparrot/github-code
e68cf3f3bee3569aba467c239460fa03cdc7360f02b3ed5e519ba1bb0d4db576
import { ATTENDANCE_STATUS_CONFIG_ID, AttendanceStatusType, NullAttendanceStatusType, } from "./attendance-status"; import { DatabaseField } from "../../../core/entity/database-field.decorator"; /** * Simple relationship object to represent an individual child's status at an event including context information....
TypeScript
src/app/child-dev-project/attendance/model/event-attendance.ts
NGO-DB/ndb-core
gpl-3.0
934
38
codeparrot/github-code
5310007195f62e94bb5f5270814137b0079cfafc81fc4677bbff607dd36a62a8
// The Vue build version to load with the `import` command // (runtime-only or standalone) has been set in webpack.base.conf with an alias. import Vue from 'vue'; import BootstrapVue from 'bootstrap-vue'; import 'bootstrap-vue/dist/bootstrap-vue.css'; import 'bootstrap/dist/css/bootstrap.css'; import { mapActions } fr...
JavaScript
web_root_vue/src/main.js
staskobzar/amiws
gpl-3.0
826
31
codeparrot/github-code
ebaa7acc33f0493ad4ea31750de9b4ea7320a007421951f873ca3bfd79c8d178
<?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. // //...
PHP
backup/cc/cc_lib/cc_version1.php
ouyangyu/fdmoodle
gpl-3.0
21,798
566
codeparrot/github-code
3f969fccdf1686097f01cc411f12742d58f441e3673fba642fccad8739367e16
package com.programandoapasitos.facturador.gui; import javax.swing.ImageIcon; import javax.swing.JFrame; import javax.swing.JMenuBar; import javax.swing.JMenu; import javax.swing.JMenuItem; import javax.swing.JLabel; import java.awt.event.ActionListener; import java.awt.event.ActionEvent; import com.progra...
Java
src/main/java/com/programandoapasitos/facturador/gui/MenuPrincipal.java
inazense/java-generate-bills
gpl-3.0
3,782
107
codeparrot/github-code
a64a91cd97fe76d2d9d2e1f67832b26aa6f4cca8e3a5575e9339af130d227a57
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ #include "common.h" #include "seafile-session.h" #include "bloom-filter.h" #include "gc-core.h" #include "utils.h" #define DEBUG_FLAG SEAFILE_DEBUG_OTHER #include "log.h" #define MAX_BF_SIZE (((size_t)1) << 29) /* 64 MB */ /* Total num...
C
server/gc/gc-core.c
skmezanul/disk42
gpl-3.0
13,299
430
codeparrot/github-code
89a55250b69950932931399ea8e73daf6a34e8ece47bb30b0f68a0183393dd4b
<?php use Respect\Validation\Validator as DataValidator; /** * @api {post} /staff/search-tickets Search tickets * @apiVersion 4.5.0 * * @apiName Search tickets * * @apiGroup Staff * * @apiDescription This path search some tickets. * * @apiPermission staff1 * * @apiParam {String} query Query string to searc...
PHP
server/controllers/staff/search-tickets.php
ivandiazwm/opensupports
gpl-3.0
2,810
100
codeparrot/github-code
dd791d710b3003d20203f1e3f3be5c56bf672d777165ab06fb029ef068f1decf
/* radare - LGPL - Copyright 2008-2014 - pancake */ // TODO: implement a more inteligent way to store cached memory // TODO: define limit of max mem to cache #include "r_io.h" static void cache_item_free(RIOCache *cache) { if (!cache) return; if (cache->data) free (cache->data); free (cache); } R_API void r_...
C
libr/io/cache.c
jpenalbae/radare2
gpl-3.0
2,674
123
codeparrot/github-code
89ef3c3206d9d4d6217285ad9d948f4e5e0871de9705baec4c2469de5c1f7d31
/* =========================================================================== Copyright (C) 1999-2010 id Software LLC, a ZeniMax Media company. This file is part of Spearmint Source Code. Spearmint Source Code is free software; you can redistribute it and/or modify it under the terms of the GNU General Public Licens...
C
code/botlib/l_precomp.h
mecwerks/spearmint-ios
gpl-3.0
6,785
190
codeparrot/github-code
973b0d4462aa1b6c48ff1ab70da56ddbd0c7d6ebe0bf2e61c686ce68fd68a90f
/*- * Copyright (c) 2003-2017 Lev Walkin <vlm@lionet.info>. All rights reserved. * Redistribution and modifications are permitted subject to BSD license. */ #ifndef ASN_TYPE_NULL_H #define ASN_TYPE_NULL_H #include <asn_application.h> #ifdef __cplusplus extern "C" { #endif /* * The value of the NULL type is meani...
C
lib/asn1c/common/NULL.h
acetcom/cellwire
gpl-3.0
1,102
45
codeparrot/github-code
a57966ecbc0a05282fce1b472da3fd3866a1f7d870ba3a6a0712d42f0ec0b62e
package com.diggime.modules.email.model.impl; import com.diggime.modules.email.model.EMail; import com.diggime.modules.email.model.MailContact; import org.json.JSONObject; import java.time.LocalDateTime; import java.util.List; import static org.foilage.utils.checkers.NullChecker.notNull; public class PostmarkEMail ...
Java
base/main/src/com/diggime/modules/email/model/impl/PostmarkEMail.java
drbizzaro/diggime
gpl-3.0
5,687
213
codeparrot/github-code
c6042a41e99fd2d5800e663c638222385ed0b41ff5771e34903df6d3ced019f1
/* * Copyright (C) 2014 Hector Espert Pardo * * 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 i...
Java
src/main/java/es/blackleg/libdam/geometry/Circulo.java
blackleg/libdam
gpl-3.0
2,177
94
codeparrot/github-code
309374039cb7a256d96c75a9d2fb44340e05265a7aafc50ede00d0e447494cd8
/** * Cerberus Copyright (C) 2013 - 2017 cerberustesting * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This file is part of Cerberus. * * Cerberus is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Softw...
Java
source/src/main/java/org/cerberus/service/groovy/impl/GroovyService.java
cerberustesting/cerberus-source
gpl-3.0
3,363
95
codeparrot/github-code
5dffc43465616edd150d152d083715d1a78b316895e7efde61cbc9ee7bf7b7d9
using System; using System.Collections.Generic; using System.Text; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; using Engine; using Micropolis.Common; using Microsoft.ApplicationInsights; namespace Micropolis.ViewModels { public class EvaluationPaneViewModel : BindableBase, Engine.IListener { p...
C#
Micropolis.W10/ViewModels/EvaluationPaneViewModel.cs
andreasbalzer/MicropolisForWindows
gpl-3.0
24,007
919
codeparrot/github-code
063d05a31e75c41370f13f6efe35c8822dbd92dbf3c652800f0d75ffc86a2457
<?php /** * KR_Custom_Posts */ class KR_Custom_Posts extends Odin_Post_Type { private $_labels = array(); private $_arguments = array(); private $_dashicon = 'dashicons-'; private $_supports = array( 'title', 'editor', 'thumbnail' ); private $_slug; private $_singular; private $_plural; private $_rewr...
PHP
app/class/custom-posts.php
abracce/theme-abracce.org.br
gpl-3.0
2,596
83
codeparrot/github-code
bf122b56403621090d3a4893936b1261958fb543556c4497202583a2afdf7997
<?php /* core/modules/system/templates/block--system-branding-block.html.twig */ class __TwigTemplate_f1b301a70237e4e176f4b41c2721030700b3dd2e5c3f618f2513416e3a699971 extends Twig_Template { public function __construct(Twig_Environment $env) { parent::__construct($env); // line 1 $this...
PHP
sites/default/files/php/twig/42a2597a_block--system-branding-block.html.twig_c69e55da788ed29c4c90e83e1c7f08c4006237988dbbe9f913bdfe4f6f661444/498169c485adefe3bb313999225832f5bbdd2ab6ac9b397903eae1c54b5b0ab3.php
acastellon/smtcc
gpl-3.0
5,470
136
codeparrot/github-code
a8e02727837ff71c3bffed97ce4881cabad94484cf9ddf944adca3b2def7fcd4
#region using directives using System; using PoGo.PokeMobBot.Logic.Event; using PoGo.PokeMobBot.Logic.Event.Egg; using PoGo.PokeMobBot.Logic.Event.Fort; using PoGo.PokeMobBot.Logic.Event.Global; using PoGo.PokeMobBot.Logic.Event.GUI; using PoGo.PokeMobBot.Logic.Event.Item; using PoGo.PokeMobBot.Logic.Event.Logic; usi...
C#
Source/PoGo.PokeMobBot.Logic/StatisticsAggregator.cs
Lunat1q/Catchem-PoGo
gpl-3.0
7,497
291
codeparrot/github-code
30a8142732ada13920c1683ed3413a0503be027250ba0784f27f26eca4823555
#pragma warning disable CS1591 // Missing XML comment for publicly visible type or member (no intention to document this file) namespace RobinHood70.WallE.Base { public class AllCategoriesItem { #region Constructors internal AllCategoriesItem(string category, int files, bool hidden, int pages, int size, int subc...
C#
WallE/Base/Outputs/AllCategoriesItem.cs
RobinHood70/HoodBot
gpl-3.0
837
37
codeparrot/github-code
ed2dda4509ce7fc6eaac8d21fd850a7733bd851b2cfe3bbae52d19281a57dc46
#ifndef __TARGET_CORE_USER_H #define __TARGET_CORE_USER_H /* This header will be used by application too */ #include <linux/types.h> #include <linux/uio.h> #define TCMU_VERSION "2.0" /* * Ring Design * ----------- * * The mmaped area is divided into three parts: * 1) The mailbox (struct tcmu_mailbox, below) *...
C
include/uapi/linux/target_core_user.h
williamfdevine/PrettyLinux
gpl-3.0
3,382
155
codeparrot/github-code
128fc6e2e7362fc1d9faa9577be6aa850804787dee59789663a2b6439e576d17
/* * Symphony - A modern community (forum/SNS/blog) platform written in Java. * Copyright (C) 2012-2017, b3log.org & hacpai.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 ve...
Java
src/main/java/org/b3log/symphony/processor/IndexProcessor.java
BrickCat/symphony
gpl-3.0
21,728
542
codeparrot/github-code
42407dc0316780801512c94a9fb128603e5913079a43f4e1496ddd7d3771782d
/* Copyright 2011 MCForge Dual-licensed under the Educational Community License, Version 2.0 and the GNU General Public License, Version 3 (the "Licenses"); you may not use this file except in compliance with the Licenses. You may obtain a copy of the Licenses at http://www.osedu.org/licenses/ECL-2.0 http:/...
C#
Commands/CmdMap.cs
colinodell/mcforge
gpl-3.0
9,301
154
codeparrot/github-code
226a40c741ee60578ff55565e02f2f45c0d975e5251eaf1f82e478cd14e65a3c
using System; using System.Net; using System.Windows; using System.Windows.Controls; using System.Windows.Documents; using System.Windows.Ink; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Animation; using System.Windows.Shapes; using Newegg.Oversea.Silverlight.ControlPanel.Core.Ba...
C#
02_ECCentral/02_Portal/UI/ECCentral.Portal.UI.MKT/NeweggCN/Models/AmbassadorNewsVM.cs
ZeroOne71/ql
gpl-3.0
1,648
68
codeparrot/github-code
72687385a25c6d304bddd353b0246720feaeed753f3aa5e84217b8d2a5cda088
using ServiceStack.OrmLite; using System; using System.Configuration; using System.Data; namespace Bm2s.Data.Utils { /// <summary> /// Data access point /// </summary> public class Datas { /// <summary> /// Database provider /// </summary> private IOrmLiteDialectProvider _dbProvider; //...
C#
Bm2s.Data.Utils/Datas.cs
Csluikidikilest/Bm2sServer
gpl-3.0
2,582
116
codeparrot/github-code
5cd27496fe02d2fada1709fa691791b3b836621313691a383368c9947f82d44c
<?php /** * @package Joomla.Administrator * @subpackage com_sciclubpadova * * @copyright Copyright (C) 2005 - 2016 Open Source Matters, Inc. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt */ // No direct access to this file defined('_JEXEC') or...
PHP
com_sciclubpadova/site/models/sciclubpadova.php
lancillot72/JSCE
gpl-3.0
2,647
97
codeparrot/github-code
98c04a85889eac15945aef71245f8b63ac05b8154eb4f86d9f0a89a82883badc
<?php /** PHPExcel root directory */ if (!defined('PHPEXCEL_ROOT')) { /** * @ignore */ define('PHPEXCEL_ROOT', dirname(__FILE__) . '/../../'); require(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php'); } /** * PHPExcel_Reader_SYLK * * Copyright (c) 2006 - 2015 PHPExcel * * This library is free software; you can redistribute i...
PHP
assets/PHPExcel/Classes/PHPExcel/Reader/SYLK.php
Aiwings/FNMNS_Formations
gpl-3.0
12,363
441
codeparrot/github-code
235f4295cf0d2ba48444ab4d32108ebdad98493e9d2915fe549d541d5f339446
import math from PyQt5.QtCore import Qt, pyqtSlot from PyQt5.QtGui import QCloseEvent from PyQt5.QtWidgets import QDialog, QInputDialog from urh import settings from urh.models.FuzzingTableModel import FuzzingTableModel from urh.signalprocessing.ProtocoLabel import ProtocolLabel from urh.signalprocessing.ProtocolAnal...
Python
src/urh/controller/dialogs/FuzzingDialog.py
jopohl/urh
gpl-3.0
15,833
363
codeparrot/github-code
4ab29e7b91e849c447cace240dc5ad6f58c0ebf4c0df8546867b7de714c57303
<?php class ControllerCheckoutRegister extends Controller { public function index() { $this->language->load('checkout/checkout'); $this->data['text_checkout_payment_address'] = __('text_checkout_payment_address'); $this->data['text_your_details'] = __('text_your_details'); $this->data['text_your_addre...
PHP
catalog/controller/checkout/register.php
maddes/madcart
gpl-3.0
9,487
242
codeparrot/github-code
2d6456aca0fa57389d399173763218ecf0c54207ac181a8792fc0b5a1fdfa249
/* * Sylpheed -- a GTK+ based, lightweight, and fast e-mail client * Copyright (C) 1999-2014 Hiroyuki Yamamoto and the Claws Mail team * * 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; eit...
C
src/procheader.c
ferdv/claws
gpl-3.0
28,320
1,147
codeparrot/github-code
d19264ad643f26747e6a40e7d315292a95d3b2cc252f90911479acbd92e1667e
package telinc.telicraft.util; import net.minecraft.entity.Entity; import net.minecraft.entity.EntityLivingBase; import net.minecraft.util.ChatMessageComponent; import net.minecraft.util.StatCollector; public class PetrifyDamageSource extends TelicraftDamageSource { protected EntityLivingBase entity; protect...
Java
telicraft_common/telinc/telicraft/util/PetrifyDamageSource.java
telinc1/Telicraft
gpl-3.0
1,253
31
codeparrot/github-code
c9b21c030cc9393769d576f73a6e621599e79cdc84282922e7d8c8b9a2efe7d2
/* * JasperReports - Free Java Reporting Library. * Copyright (C) 2001 - 2014 TIBCO Software Inc. All rights reserved. * http://www.jaspersoft.com * * Unless you have purchased a commercial license agreement from Jaspersoft, * the following license terms apply: * * This program is part of JasperReports. * * J...
Java
jasperreports-6.2.1-project/jasperreports-6.2.1/src/net/sf/jasperreports/web/commands/CommandException.java
aleatorio12/ProVentasConnector
gpl-3.0
1,750
58
codeparrot/github-code
d4a64d52b9be64e802146eabb32640166a4e414a56e0a83ba845223f5acda4e8
/* * Claws Mail -- a GTK+ based, lightweight, and fast e-mail client * Copyright (C) 1999-2015 Hiroyuki Yamamoto and the Claws Mail team * * 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; e...
C
src/prefs_folder_item.c
buzz/claws
gpl-3.0
71,677
1,922
codeparrot/github-code
8fe90a129cc7c1147b31bf06b5dffa378018acd03aabe185d540e5c0bd265a96
# -*- coding: utf8 -*- ########################################################################### # This is the package latexparser # # 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, ei...
Python
Occurrence.py
LaurentClaessens/LaTeXparser
gpl-3.0
7,331
189
codeparrot/github-code
609ab94b2f738834f889e6dca9868eba39f6f30554a34fc2caae24716903b152
<div> <nav> <ul id="menu"> {% for m in menu %} <li> {% if m.subsistemas %} {{ m.nombreDireccion }} <ul> {% for submenu in m.subsistemas %} <li> <a href="{{submenu.target}}">{{ submenu.nombreSistema }}</a> </li> {% e...
HTML
secur/templates/menu.html
mmanto/sstuv
gpl-3.0
669
49
codeparrot/github-code
3abe6fe12445fc63f5944d555d652d1f825e8b9100c0d7ad63b83482c717105c
/****************************************************************************** * NTRU Cryptography Reference Source Code * Copyright (c) 2009-2013, by Security Innovation, Inc. All rights reserved. * * ntru_crypto_hash.c is a component of ntru-crypto. * * Copyright (C) 2009-2013 Security Innovation * * This...
C
src/ntru_crypto_hash.c
jschanck-si/NTRUEncrypt
gpl-3.0
10,074
336
codeparrot/github-code
e7c5c973877a7d54b3dfe2731a65307ba56ac7140a2ed0d512b780b2038c2748
#!/usr/bin/env python # # MCP320x # # Author: Maurik Holtrop # # This module interfaces with the MCP300x or MCP320x family of chips. These # are 10-bit and 12-bit ADCs respectively. The x number indicates the number # of multiplexed analog inputs: 2 (MCP3202), 4 (MCP3204) or 8 (MCP3208) # Communications with this chi...
Python
Python/DevLib/MCP320x.py
mholtrop/Phys605
gpl-3.0
11,971
315
codeparrot/github-code
9cf66fe1719778267b6ca87d281240ca707aa5eb95deb6a8f5e4a72afec0e2ee
/* No-Babylon a job search engine with filtering ability Copyright (C) 2012-2014 ferenc.jdev@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 Lic...
Java
src/main/java/org/laatusys/nobabylon/support/ExcludeRegexpFilter.java
ferenc-jdev/no-babylon
gpl-3.0
1,328
41
codeparrot/github-code
acfce455271a45339e64038f4b29c84777bcfb8ac019f158ff4cb9cbf7eadbd7
#!/usr/bin/python import sys print "divsum_analysis.py DivsumFile NumberOfNucleotides" try: file = sys.argv[1] except: file = raw_input("Introduce RepeatMasker's Divsum file: ") try: nucs = sys.argv[2] except: nucs = raw_input("Introduce number of analysed nucleotides: ") nucs = int(nucs) data = o...
Python
divsum_analysis.py
fjruizruano/ngs-protocols
gpl-3.0
974
45
codeparrot/github-code
0f4bc8f10f8c06a1b096679a911865f3fdb939b72ad94d2ee7e33e113b64c0fc
package com.sk89q.craftbook.cart; import java.util.ArrayList; import java.util.Arrays; import org.bukkit.block.Chest; import org.bukkit.block.Sign; import org.bukkit.entity.Minecart; import org.bukkit.entity.StorageMinecart; import org.bukkit.inventory.Inventory; import org.bukkit.inventory.ItemStack; im...
Java
src/main/java/com/sk89q/craftbook/cart/CartDeposit.java
wizjany/craftbook
gpl-3.0
7,011
180
codeparrot/github-code
9269d7ca45ae8c7c89377ad17d7ba89c648b25eb932ed571c504725d25b7f31a
{-# LANGUAGE OverloadedStrings #-} module Response.Export (pdfResponse) where import Happstack.Server import qualified Data.ByteString.Lazy as BS import Control.Monad.IO.Class (liftIO) import qualified Data.ByteString.Base64.Lazy as BEnc import ImageConversion import TimetableImageCreator (renderTable) import Sy...
Haskell
hs/Response/Export.hs
pkukulak/courseography
gpl-3.0
1,487
46
codeparrot/github-code
225bf4fbcb2a58b9118badea160c8d3b2229888709859a69a60d23bd66d7e0ec
/* * Unix SMB/CIFS implementation. * NetApi LocalGroup Support * Copyright (C) Guenther Deschner 2008 * * 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 Licen...
C
source3/lib/netapi/localgroup.c
rchicoli/samba
gpl-3.0
36,680
1,437
codeparrot/github-code
07d397265f4603a18039b1157b6a72f98a4bf197c2a13e9cd01b7aeb58bcc5ab
/* * Copyright 2011 kubtek <kubtek@mail.com> * * This file is part of StarDict. * * StarDict is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any l...
C++
dict/src/pluginmanagedlg.cpp
huzheng001/stardict-3
gpl-3.0
20,060
513
codeparrot/github-code
2b9937a0d837911ef20f1d6e477234d7b799eab346d650f8940f0b9d05c1eef1
#ifndef FONTDIALOG_H #define FONTDIALOG_H #include "DialogBox.h" class FontSelector; // Font selection widget class FXAPI FontSelector : public FXPacker { FXDECLARE(FontSelector) protected: FXTextField *family; FXList *familylist; FXTextField *weight; FXList *weightlist; FXT...
C
QMOLEDEV/xfe-1.34/src/FontDialog.h
chriskmanx/qmole
gpl-3.0
3,664
146
codeparrot/github-code
6357058e2fe294757d58e99c393aca52c3f77dba34ffce15fbdfb38cc089e177
//# BaselineSelection.cc: Class to handle the baseline selection //# Copyright (C) 2012 //# ASTRON (Netherlands Institute for Radio Astronomy) //# P.O.Box 2, 7990 AA Dwingeloo, The Netherlands //# //# This file is part of the LOFAR software suite. //# The LOFAR software suite is free software: you can redistribute it a...
C++
CEP/DP3/DPPP/src/BaselineSelection.cc
jjdmol/LOFAR
gpl-3.0
9,934
264
codeparrot/github-code
5f3425c00ec75432ccaec3d55a5c83799178b7c71e157f0fb5ef91ba89ae77f8
// //--------------------------------------------------------------------------- // // Copyright(C) 2005-2016 Christoph Oelckers // All rights reserved. // // 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 ...
C++
src/gl/system/gl_interface.cpp
Saican/Whitman
gpl-3.0
10,215
339
codeparrot/github-code
4b5e1d82c03101368f4760cb1d2e2cf5efe51a773ce1587adbb7d7d4b8598681
module Hazel.StringWriter where import Control.Monad.State ------------- StringState ------------- type StringState = State String (Maybe Bool) eval :: StringState -> String eval s = execState s "" newLine :: StringState append :: String -> StringState apply :: (String -> String) -> StringState newLine = app...
Haskell
Hazel/StringWriter.hs
hazel-el/hazel
gpl-3.0
860
42
codeparrot/github-code
25e7d9fd7d8d60b61f047ad9642c212fe014e8072ec089857833df5b389334d6
{% extends 'bs3/base_wo_cms_toolbar.html' %} {% load cms_tags sekizai_tags i18n l10n repanier_tags %} {% block base_content %} <div class="container-repanier"> <div class="container"> {# {% debug %} #} <h4>{{ producer.long_profile_name }}</h4> {% if object %} <h4><span class="gly...
HTML
repanier/templates/bs3/repanier/producer_invoice_form.html
pcolmant/repanier
gpl-3.0
9,168
189
codeparrot/github-code
93d1b3a7b40af8663262f873e65ca97b1f8194a217083745f789cbc3f6ae6c73
/* Copyright (c) 1993-2008, Cognitive Technologies All rights reserved. Разрешается повторное распространение и использование как в виде исходного кода, так и в двоичной форме, с изменениями или без, при соблюдении следующих условий: * При повторном распространении исходного кода должны оставаться указанное выш...
C++
src/usage/gystogra.cpp
uliss/quneiform
gpl-3.0
26,884
952
codeparrot/github-code
46a960b0d2f194a5a4fdb36a859c7fb75fb7b88428dc8b4a8a87b5051ab364b6
/* * _____ _ _ _____ _ * | __ \| | | | / ____| | | * | |__) | | ___ | |_| (___ __ _ _ _ __ _ _ __ ___ __| | * | ___/| |/ _ \| __|\___ \ / _` | | | |/ _` | '__/ _ \/ _` | * | | | | (_) | |_ ____) | (_| | ...
Java
Core/src/main/java/com/plotsquared/core/command/SubCommand.java
IntellectualCrafters/PlotSquared
gpl-3.0
2,321
63
codeparrot/github-code
50076beb0f884a49aa79c909be08c0400c6f6286b630df820591f8a9f5f86a24
package com.cloudera.cmf.service.yarn; import com.cloudera.cmf.command.flow.CmdWorkCtx; import com.cloudera.cmf.command.flow.WorkOutput; import com.cloudera.cmf.command.flow.work.OneOffRoleProcCmdWork; import com.cloudera.cmf.model.DbProcess; import com.cloudera.cmf.model.DbRole; import com.cloudera.cmf.model.R...
Java
server-5.11.0.src/com/cloudera/cmf/service/yarn/RmFormatStateStoreCmdWork.java
Mapleroid/cm-server
gpl-3.0
1,852
54
codeparrot/github-code
663673dd81cf0bd90596d8b98c30ec7c3ead0f674d8e33b9d28ab3812535f2ed
// Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // // The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License...
GO
rpc/api/shh.go
ghostnetwrk/ghostnet
gpl-3.0
5,209
197
codeparrot/github-code
5f63e8a859764ba86f81d23aa93592868aebe356193b56ab355197bebbfce65f
package vrml.external.field; import vrml.external.field.FieldTypes; import vrml.external.Browser; import java.awt.*; import java.math.BigInteger; public class EventInSFImage extends EventIn { public EventInSFImage() { EventType = FieldTypes.SFIMAGE; } public void setValue(int width, int height, int comp...
Java
src/java/vrml/external/field/EventInSFImage.java
cbuehler/freewrl
gpl-3.0
2,162
76
codeparrot/github-code
21eaca6b3224dd8b5ec758336a1f47d7237802de32a73b2ea8a7a971c3590572
#ifndef __BUF_H #define __BUF_H #include <const.h> struct buf { uint flag; struct buf *prev; struct buf *next; struct buf *io_prev; struct buf *io_next; uint dev; uint sector; uchar data[BLK_SIZE]; }; struct dev { uint active; struct buf *prev; struct buf *next; struct...
C
src/inc/buf.h
shonenada/Constance
gpl-3.0
810
45
codeparrot/github-code
3fb584bcd0d4d27ca005c32e1080509b388c6924d5166b7a8a1a2e53b10b0a4b
import subprocess import time import sys import re class checkIfUp: __shellPings = [] __shell2Nbst = [] __ipsToCheck = [] checkedIps = 0 onlineIps = 0 unreachable = 0 timedOut = 0 upIpsAddress = [] computerName = [] completeMacAddress = [] executionTime = 0 ...
Python
Contents/LanScan.py
mixedup4x4/Speedy
gpl-3.0
7,956
221
codeparrot/github-code
1ba6aec54a8d30fcfb6487b6de10934ea501283a15eef66169c33cfcadf6c0e9
/* * AJDebug.java * * This file is part of Tritonus: http://www.tritonus.org/ */ /* * Copyright (c) 1999 - 2002 by Matthias Pfisterer * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU Library General Public License as published * by the Free Softwa...
Java
plugins/audio/ext/src/tritonus/src/classes/org/tritonus/debug/AJDebug.java
srnsw/xena
gpl-3.0
6,383
239
codeparrot/github-code
7267e52d09c7eb5050bb58917ffca355189c44ab85557150014140fcee37a750
# Game class GameResult < ActiveRecord::Base attr_accessible :question, :question_id, :user, :issues, :answer, :same, :skip belongs_to :user belongs_to :question has_and_belongs_to_many :issues, :join_table => "game_results_issues", :autosave => true after_initialize :default_values private def defa...
Ruby
app/models/game_result.rb
causeroot/causeroot
gpl-3.0
3,463
88
codeparrot/github-code
1465438e05121fdcc9fc764d738ec2b0dff468e3be230891c68f4206c60ca6cc
/* * Project: N|Watch * Author: Zak Kemble, contact@zakkemble.co.uk * Copyright: (C) 2014 by Zak Kemble * License: GNU GPL v3 (see License.txt) * Web: http://blog.zakkemble.co.uk/diy-digital-wristwatch/ */ #ifndef ENGLISH_H_ #define ENGLISH_H_ // String buffer sizes // Don't forget to add 1 for null terminato...
C
firmware/src/watch/includes/lang/english.h
wbphelps/NWatch
gpl-3.0
7,325
257
codeparrot/github-code
b02344b86fff10f58a344059d80f2b58216aaf42cfa0b2dbf3e22235df5b03cb
//////////////////////////////////////////////////////////////////////////// // Atol file manager project <http://atol.sf.net> // // This code is licensed under BSD license.See "license.txt" for more details. // // File: TOFIX //////////////////////////////////////////////////////////////////////////// /* * co...
C++
QMOLEDEV/atol-0.7.3/src/core/_sftp/Console.cpp
chriskmanx/qmole
gpl-3.0
10,402
357
codeparrot/github-code
e9427d17c6aa8d3f1755b5bd8321d06a6b5d0090fd9b832f567746628c06f2e8
/* Copyright 2011-2014 Red Hat, Inc This file is part of PressGang CCMS. PressGang CCMS is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any...
Java
src/main/java/org/jboss/pressgang/ccms/rest/v1/query/RESTPropertyCategoryQueryBuilderV1.java
pressgang-ccms/PressGangCCMSRESTv1Common
gpl-3.0
3,394
85
codeparrot/github-code
0667dd49dbf0544b51a217fea2b3522e2544540fa30e987970ba820f27311a7c
<?php /** * This file is part of OXID eShop Community Edition. * * OXID eShop Community Edition 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...
PHP
application/models/oxnews.php
NikolayPetrenko/oxid
gpl-3.0
5,714
204
codeparrot/github-code
e6755f020fa73d0c9f53f84de7b1e01080157d8802e0cbfad67337252940be9e
/* gvSIG. Sistema de Información Geográfica de la Generalitat Valenciana * * Copyright (C) 2004 IVER T.I. and Generalitat Valenciana. * * 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; eith...
Java
libFMap/src/com/iver/cit/gvsig/fmap/layers/FLyrVect.java
iCarto/siga
gpl-3.0
77,323
2,061
codeparrot/github-code
1ac0ce2dfc68a1464815e48b6dd1c6e89e09e2dddc161334cc0403f40d1fca71
# This software is licensed under the "GPLv3" License as described in the "LICENSE" file, # which should be included with this package. The terms are also available at # http://www.gnu.org/licenses/gpl-3.0.html import re from PyQt5.QtCore import Qt, pyqtSlot from PyQt5.QtWidgets import ( QPushButton, QLineEdit...
Python
qt/exclude_list_dialog.py
arsenetar/dupeguru
gpl-3.0
7,359
178
codeparrot/github-code
3d5ede0286e918ede0c76c7455b59c71c3e01ba747f2c2f3a4cec9dfd6c4ccf3
#ifndef PLUGINMANAGER_H #define PLUGINMANAGER_H #include <QDialog> #include <QIcon> #include <QString> #include <QHash> #include <QList> #include <SPlugin> #include "spluginengine.h" #include "perconf.h" namespace Ui { class LoadedPlugins; } class PluginManager : public QObject { Q_OBJECT public: Plugin...
C
Silicon/pluginmanager.h
realbardia/silicon
gpl-3.0
1,151
62
codeparrot/github-code
de543f8022bb7838dffdff12045abbe530c2f2a637111233838d5bd1493196bc
/* * Pixel Dungeon * Copyright (C) 2012-2015 Oleg Dolya * * Shattered Pixel Dungeon * Copyright (C) 2014-2019 Evan Debenham * * 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 vers...
Java
core/src/com/shatteredpixel/shatteredpixeldungeon/items/weapon/missiles/darts/AdrenalineDart.java
00-Evan/shattered-pixel-dungeon-gdx
gpl-3.0
1,505
47
codeparrot/github-code
a1d887038bd3b6be7761224750bab217f19a0ca794409b459f5524de9262188e
package eu.ehri.project.models.base; import com.tinkerpop.blueprints.Vertex; import com.tinkerpop.frames.modules.javahandler.JavaHandler; import com.tinkerpop.frames.modules.javahandler.JavaHandlerContext; import eu.ehri.project.definitions.Ontology; import eu.ehri.project.models.events.SystemEvent; import eu.ehri.pro...
Java
ehri-frames/src/main/java/eu/ehri/project/models/base/Actioner.java
lindareijnhoudt/neo4j-ehri-plugin
gpl-3.0
1,321
39
codeparrot/github-code
fbd8e762b350d6a917c5197675dcd8ac75560e7eedafb4681d8ba2d81123f95e
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; using AppointmentsManagement.Classes; namespace AppointmentsManagement.Forms { public partial class wfnSrvcOffrdForm : WeifenLuo.WinFormsUI.Docking.Doc...
C#
AppointmentsManagement/AppointmentsManagement/Forms/wfnSrvcOffrdForm.cs
rhomicom-systems-tech-gh/Rhomicom-ERP-Desktop
gpl-3.0
49,315
1,451
codeparrot/github-code
fb2018008dedbbb1df30ef028f7e834a8f18d2d2d6e8af51f31c3a007a1009ed
/*---------------------------------------------------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | \\ / A nd | Copyright (C) 2011 OpenFOAM Foundation \\/ M anipulation | -------------...
C++
src/parallel/decompose/decompositionMethods/geomDecomp/geomDecomp.H
kempj/OpenFOAM-win
gpl-3.0
2,796
97
codeparrot/github-code
8f6fc6f88301c5981407648ad2eeaefc0e59ca7f587ecbaedccb8e78ea8a6d6a
// Copyright (c) 2009-2016 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #if defined(HAVE_CONFIG_H) #include "config/bitcoin-config.h" #endif #include "base58.h" #include "clientversion.h" #include...
C++
src/bitcoin-tx.cpp
berycoin-project/berycoin
gpl-3.0
30,448
884
codeparrot/github-code
502cb081175b4f45f8bcbcaffd63f781b8d41e8379548f17aeb4734b78ad24c1
package net.minecraft.src; public class BlockJukeBox extends BlockContainer { protected BlockJukeBox(int par1) { super(par1, Material.wood); this.setCreativeTab(CreativeTabs.tabDecorations); } /** * Called upon block activation (right click on the block.) */ public boolea...
Java
net/minecraft/src/BlockJukeBox.java
herpingdo/Hakkit
gpl-3.0
4,434
123
codeparrot/github-code
5a6e60be58e3879f1c4b984454c87c9389da3f31d7c30afbb04457f144018031
from bottle import route, template, error, request, static_file, get, post from index import get_index from bmarks import get_bmarks from tags import get_tags from add import add_tags from bmarklet import get_bmarklet from account import get_account from edit_tags import get_edit_tags from importbm import get_import_bm...
Python
tastiapp.py
netllama/tastipy
gpl-3.0
2,172
96
codeparrot/github-code
e546ddf775f0d538a66f7444134fdd86f2627d2da9d2cedc7cb06d1b08064bda
import com.jogamp.opengl.*; import com.jogamp.opengl.awt.GLJPanel; import com.jogamp.opengl.fixedfunc.GLMatrixFunc; import com.jogamp.opengl.glu.GLU; import javax.swing.*; import java.awt.event.KeyEvent; import java.awt.event.KeyListener; import static com.jogamp.opengl.GL.GL_COLOR_BUFFER_BIT; import static com.jogam...
Java
CG/src/LinesDemo.java
Tiofx/semester_6
gpl-3.0
6,151
197
codeparrot/github-code
a3d1237c7491038ce8542730a61e0a460e4c1819fdefb99e5929f241f5e0789b
/*------------------------------------------------------------------------- * * prepjointree.c * Planner preprocessing for subqueries and join tree manipulation. * * NOTE: the intended sequence for invoking these operations is * pull_up_sublinks * inline_set_returning_functions * pull_up_subqueries * do ...
C
thirdparty/postgresql-9.0.1/src/backend/optimizer/prep/prepjointree.c
TextusData/Mover
gpl-3.0
66,368
2,050
codeparrot/github-code
4453443f4bf70125818ef9adc7728af895f18bc64a913d8060c67fa42fbb4203
/* * This is a plugin for GIMP. * * Copyright (C) 1997 Xavier Bouchoux * * 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 ...
C
plug-ins/common/sinus.c
brion/gimp
gpl-3.0
32,096
1,061
codeparrot/github-code
a8dda069036b2cc1916cdf61d4177397040e93ada24186e04c89af212050dd00
package xde.lincore.mcscript.math; public enum RoundingMethod { Round, Floor, Ceil, CastInt; public int round(final double value) { switch (this) { case Round: return (int) Math.round(value); case Floor: return (int) Math.floor(value); case Ceil: return (int) Math.ceil(value); case CastIn...
Java
ScriptMod/src/xde/lincore/mcscript/math/RoundingMethod.java
lincore81/mcscript
gpl-3.0
741
38
codeparrot/github-code
3d1e74109d187b72c3fcc0e42cf1dc194a6b4e8de3af3496a0985ca550648ef8
package com.baselet.gwt.client.view; import java.util.List; import com.baselet.control.basics.geom.Rectangle; import com.baselet.control.config.SharedConfig; import com.baselet.control.enums.ElementId; import com.baselet.element.Selector; import com.baselet.element.interfaces.GridElement; import com.baselet.gwt.clien...
Java
umlet-gwt/src/main/java/com/baselet/gwt/client/view/DrawCanvas.java
umlet/umlet
gpl-3.0
5,538
158
codeparrot/github-code
2fc2fdea70ae6d8003cd0961065bcc43c2dff4508175c41598470ab196f24128
/* * WorldEdit, a Minecraft world manipulation toolkit * Copyright (C) sk89q <http://www.sk89q.com> * Copyright (C) WorldEdit team and contributors * * 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 Sof...
Java
worldedit-core/src/main/java/com/sk89q/worldedit/internal/registry/AbstractFactory.java
UnlimitedFreedom/UF-WorldEdit
gpl-3.0
2,120
67
codeparrot/github-code
6b3874b39525a80c41f0b4a2e02f6565e0b7445a84c97ce14ec7ccaf48e20eaf
<?php /** * @package Mautic * @copyright 2014 Mautic Contributors. All rights reserved. * @author Mautic * @link http://mautic.org * @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html */ namespace Mautic\CampaignBundle\Entity; use Doctrine\Common\Collections\ArrayCollection; use D...
PHP
app/bundles/CampaignBundle/Entity/Campaign.php
mqueme/mautic
gpl-3.0
11,416
523
codeparrot/github-code
89e80f6bce6d18cae10d54e752aee04d9ab81063bbf7c24840a7aebb89ea3934
<?xml version='1.0' encoding='UTF-8'?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html> <head> <title>ErrorToken - jgo.tools.compiler.lexer.ErrorToken</title> <meta name="description" content="ErrorToken - jgo.tools.compiler.lexer.Error...
HTML
static/api/jgo/tools/compiler/lexer/ErrorToken.html
thomasmodeneis/jgo-web
gpl-3.0
24,391
448
codeparrot/github-code
095f7264bfa22f9d51e6a33d8c70da7fa2d19346507de3af1cdd08acd11af99a
<?php /* * This file is part of PHP-FFmpeg. * * (c) Alchemy <info@alchemy.fr> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace FFMpeg\Media; use Alchemy\BinaryDriver\Exception\ExecutionFailureException; use FFMpeg\Filte...
PHP
extralib/PHP-FFMpeg-master/src/FFMpeg/Media/Audio.php
vfremaux/moodle-mod_mplayer
gpl-3.0
4,582
154
codeparrot/github-code
0c714220f9dc99f53ea393d5b2da00d05f4a4dca7af5c5de4aae020a0e524a5c
# Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors # License: GNU General Public License v3. See license.txt from __future__ import unicode_literals import itertools import json import erpnext import frappe import copy from erpnext.controllers.item_variant import (ItemVariantExistsError, copy_attr...
Python
erpnext/stock/doctype/item/item.py
shubhamgupta123/erpnext
gpl-3.0
36,632
1,025
codeparrot/github-code
a8824441d427214d0ced6094831c73ad7506dbab97e7d3c20b9f91998f48b267
// ************************************************************************** // // 24 Bomb // // By: rcargou <rcargou@student.42.fr> ::: :::::::: // // By: nmohamed <nmohamed@student.42.fr> :+: :+: :+: ...
C++
src/map/mapparser.class.cpp
noxsnono/Bomberman_42
gpl-3.0
9,453
235
codeparrot/github-code
22e5244556e319a77f916049f3d203af4c6d2a671df9e0028bc4c7900c69a174
package osberbot.bo; /** * TODO: Description * * @author Tititesouris * @since 2016/03/20 */ public class ViewerBO { private Integer id; private String name; private Boolean moderator; private RankBO rank; public ViewerBO(Integer id, String name, RankBO rank) { this.id = id; ...
Java
src/osberbot/bo/ViewerBO.java
Tititesouris/OsberBot
gpl-3.0
900
55
codeparrot/github-code
6b645b6d5123abc82ef1d41fd41eb9ef35a8d6311afb769b2958db97885084fd
from datetime import datetime import factory from zds.forum.factories import PostFactory, TopicFactory from zds.gallery.factories import GalleryFactory, UserGalleryFactory from zds.utils.factories import LicenceFactory, SubCategoryFactory from zds.utils.models import Licence from zds.tutorialv2.models.database import...
Python
zds/tutorialv2/factories.py
ChantyTaguan/zds-site
gpl-3.0
8,836
250
codeparrot/github-code
60819125bd655505feabdd154f8a708e0774ec38333d302d3a3d2f7bbfe3c260
//============================================================================ // Name : BoxyLady // Author : Darren Green // Copyright : (C) Darren Green 2011-2020 // Description : Music sequencer // // License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> // This is free software...
C
BoxyLady/src/Dictionary.h
pinkmongoose/BoxyLady
gpl-3.0
4,596
178
codeparrot/github-code
c09c196fa6d8cc449cff4e928da9af21856199264384162da34115ecbe84a2ed
package miscellaneous; import java.util.Arrays; public class Gen { private static int greyCode(int n1){ return n1 ^ (n1 >> 1); } /* * Advances l1 to next lexicographical higher combination. * cap is the largest value allowed for one index. * return false */ public static boolean nex...
Java
src/miscellaneous/Gen.java
cs6096/contest-library
gpl-3.0
1,729
70
codeparrot/github-code
7755902d02c2725cfdb2e0c33aaaf10de6c5b2a432c9786a2b257d44eefb0619
# # -*- coding: utf-8 -*- # Dia Group Resize Plugin # Copyright (c) 2015, Alexandre Machado <axmachado@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 Licen...
Python
group_resize.py
axmachado/dia-group-resize
gpl-3.0
6,960
188
codeparrot/github-code
23be0fede23c3efafcfdbbe83242e5db20506febd71f761d8c78bb352c49fd9c
package com.xcode.bean; import java.io.Serializable; import javax.faces.bean.ManagedBean; import javax.faces.bean.SessionScoped; import org.springframework.security.core.Authentication; import org.springframework.security.core.context.SecurityContext; import org.springframework.security.core.context.Securit...
Java
src/com/xcode/bean/UserAuth.java
georgematos/ocaert
gpl-3.0
838
38
codeparrot/github-code
5308e603010aa58a6e1ebb52499c1047e10c84b895421d4f9501e8e651f024bb
/*---------------------------------------------------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Copyright (C) 2016-2019 OpenFOAM Foundation \\...
C++
src/lagrangian/distributionModels/massRosinRammler/massRosinRammler.H
will-bainbridge/OpenFOAM-dev
gpl-3.0
4,039
138
codeparrot/github-code
bfc4e672959ccaf2d30f9b87092cfa6ac0fbdb19601dc3308d500844b3184c58
/* meowbot Copyright (C) 2008-2009 Park Jeong Min <pjm0616_at_gmail_d0t_com> This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later versi...
C++
modules/mod_luaeval.cpp
pjm0616/meowbot-pub
gpl-3.0
5,462
265
codeparrot/github-code
411d4c39cf0979d64229037f80b3e5d25c4851c95cc21a6e898bc02ea78c1332
package com.eveningoutpost.dexdrip.Models; import java.text.DateFormat; import java.text.SimpleDateFormat; import java.util.Date; import java.util.Locale; import java.util.TimeZone; // from package info.nightscout.client.utils; /** * Created by mike on 30.12.2015. */ /** * The Class DateUtil. A simple wrapper ar...
Java
app/src/main/java/com/eveningoutpost/dexdrip/Models/DateUtil.java
TecMunky/xDrip
gpl-3.0
3,340
96
codeparrot/github-code
6c2601ab0029bd50e4633d8e70fca73736a7daafe8a9aa131c54fbf01198ac4f
package com.projectreddog.machinemod.container; import com.projectreddog.machinemod.inventory.SlotBlazePowder; import com.projectreddog.machinemod.inventory.SlotNotBlazePowder; import com.projectreddog.machinemod.inventory.SlotOutputOnlyTurobFurnace; import com.projectreddog.machinemod.tileentities.TileEntityTurboFurn...
Java
src/main/java/com/projectreddog/machinemod/container/ContainerTurboFurnace.java
TechStack/TechStack-s-HeavyMachineryMod
gpl-3.0
3,980
127
codeparrot/github-code
8384123f546ef4632a2a7019759fbc36ad3b5d41ecdd1c935957744604d37d1c
/** Copyright (c) 2014-2015 "M-Way Solutions GmbH" FruityMesh - Bluetooth Low Energy mesh protocol [http://mwaysolutions.com/] This file is part of FruityMesh FruityMesh 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 Foun...
C++
src/modules/AdvertisingModule.cpp
Informatic/fruitymesh
gpl-3.0
6,350
214
codeparrot/github-code
7de95ec1c8f09644f02c97d064caadf9f05db865c5475f2a45bc8bc9f32226bf
<?php /** * @package Joomla.Plugin * @subpackage Content.Jtf * * @author Guido De Gobbis <support@joomtools.de> * @copyright (c) 2017 JoomTools.de - All rights reserved. * @license GNU General Public License version 3 or later */ defined('_JEXEC') or die; extract($displayDa...
PHP
src/plugins/content/jtf/layouts/joomla/form/field/subform/repeatable/section.uikit3.php
JoomTools/plg_content_jtf
gpl-3.0
2,183
54
codeparrot/github-code
984233c644c44775b8e93a8313b0ca563f4382c06c90aabb3889aaa05b6d63a8
package net.seabears.game.entities.normalmap; import static java.util.stream.IntStream.range; import java.io.IOException; import java.util.List; import org.joml.Matrix4f; import org.joml.Vector3f; import org.joml.Vector4f; import net.seabears.game.entities.Entity; import net.seabears.game.entities.Light; import net...
Java
engine/src/main/java/net/seabears/game/entities/normalmap/NormalMappingShader.java
cberes/game
gpl-3.0
4,691
127
codeparrot/github-code