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 |
|---|---|---|---|---|---|---|---|---|
aff5c1abf6dc708ffcc5864abfadef2f372de6f943a708595034160f9a8568a2 |
Vue.http.options.emulateJSON = true;
var profile_status = new Vue({
el: '#profile-status',
data: {
isSuggestShow: 0,
suggest: [
{text: 'Предложение оплаты услуг, вирт за деньги, проституция, мошенничество, шантаж, спам', style: 'bg_ored'},
{text: 'Фото из интернета, пар... | JavaScript | javascript/admin/src/profile-status.js | 4FortyTwo2/sources | gpl-3.0 | 2,306 | 66 | codeparrot/github-code |
8651d2ba10e4e5d95abbca5d7ef39cb076d8db3e2b4beb9d51071b357e436a67 | # xVector Engine Client
# Copyright (c) 2011 James Buchwald
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This pr... | Python | client/xVClient/ErrorReporting.py | buchwj/xvector | gpl-3.0 | 4,145 | 130 | codeparrot/github-code |
f63d1121cf0263b4186fbe449d0d45552d79598494bdc2df20a5bfe44a615b7a |
/*** UART ***
* Implements 'file' interface.
*/
#include<_config.h>
#include <drivers/drivers.h>
#include <stdint.h>
#include <memory/memory.h>
#include <memory/vm/vm.h>
#include <chardevice/chardevice.h>
#include <file/file.h>
#include <memory/fifo_buffer.h>
#include <concurrency/spinlock.h>
#include <sched/sched... | C | src/kernel/drivers/ti/omap/uart/uart.c | chris-stones/ShovelOS | gpl-3.0 | 9,693 | 427 | codeparrot/github-code |
93f08b0d4b2a59f976bbe40f415c12985e28bfc93d2c329fe0af9a41135ad986 |
use {
Backend,
Circle,
Color,
Colorable,
Direction,
Edge,
Frameable,
FramedRectangle,
FontSize,
IndexSlot,
Labelable,
Mouse,
NodeIndex,
Point,
PointPath,
Positionable,
Scalar,
Sizeable,
Text,
Widget,
};
use num::Float;
use std::any::Any;
u... | Rust | src/conrod/src/widget/envelope_editor.rs | nelker/lp74 | gpl-3.0 | 27,233 | 697 | codeparrot/github-code |
1eca17d05f32bed2b99730ea26d121d540bc62644ec52bcf0b3bdbaa3f497422 | //Problem 5. Angle Unit Converter (Degrees ↔ Radians)
//Write a method to convert from degrees to radians. Write a method to convert from radians to degrees.
// You are given a number n and n queries for conversion. Each conversion query will consist of a
// number + space + measure. Measures are "deg" and "rad". Conve... | Java | Level 1/Java Basics/Loops Methods Classes/Loops Methods Classes/src/_5_AngleUnitConverterDegreesRadians.java | emrah-it/Softuni | gpl-3.0 | 1,328 | 36 | codeparrot/github-code |
8f15ba3fcfa6762906e465706e5d184c5e1f9c05187b929916d8ee6e2f1f0306 | #ifndef RAWDATAMANAGER_H
#define RAWDATAMANAGER_H
#include "Public.h"
#include "RpnParser.h"
#include "BinariesIO.h"
#include "System/Tools/IO/Writer.h"
#include "System/Tools/IO/Reader.h"
#include "osrng.h"
#include <cstdlib>
#include "cryptlib.h"
#include "filters.h"
#include "hex.h"
#include "aes.h"
#include "ccm.... | C | C++/RawDataManager.h | G0hu/AntiBot | gpl-3.0 | 625 | 34 | codeparrot/github-code |
0a8fac57dbe3df48a3d9bcae50d131a5ffb6434ba78fbab35c93e4e98bef65d6 | # encoding: utf-8
# main.py, copyright 2014 by Marko Čibej <marko@cibej.org>
#
# This file is part of SvgMapper. Full sources and documentation
# are available here: https://github.com/tumbislav/SvgMapper
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General P... | Python | src/main.py | tumbislav/SvgMapper | gpl-3.0 | 2,921 | 72 | codeparrot/github-code |
68823b29b8c442b3bb6ac34f5c14af0b454414101e9b7d443891dd31ec681592 | /*
読み太(yomita), a USI shogi (Japanese chess) playing engine derived from
Stockfish 7 & YaneuraOu mid 2016 V3.57
Copyright (C) 2004-2008 Tord Romstad (Glaurung author)
Copyright (C) 2008-2015 Marco Costalba, Joona Kiiski, Tord Romstad (Stockfish author)
Copyright (C) 2015-2016 Marco Costalba, Joona Kiiski, Gary Linscot... | C++ | yomita/yomita/src/common.cpp | TukamotoRyuzo/Yomita | gpl-3.0 | 7,332 | 266 | codeparrot/github-code |
cc8f2fdc94e0f362f9bca9d8a3f1428e3dff5b5b94212d66cd3d7d11136b8d3c | <!doctype html>
<html class="theme-next pisces use-motion">
<head><meta name="generator" content="Hexo 3.9.0">
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<meta http-equiv="Cache-... | HTML | tags/job/index.html | baxiaoshi/baxiaoshi.github.io | gpl-3.0 | 16,174 | 655 | codeparrot/github-code |
ff3c78c0a587c514017833ede97aec5f09e9e0efc071f6220f0fe6d199dbfcfa | #ifndef Sprite_H
#define Sprite_H
#include <Andromeda/Graphics/RenderManager.h>
#include <Andromeda/Graphics/ShaderManager.h>
#include <Andromeda/Graphics/TextureManager.h>
#include <Andromeda/Graphics/Shader.h>
#include <Andromeda/Graphics/VertexTypes.h>
#include <glm/glm.hpp>
namespace Andromeda
{
namespace Graph... | C | Andromeda/Graphics/Sprite.h | DrakonPL/Andromeda | gpl-3.0 | 1,478 | 73 | codeparrot/github-code |
ef017d63651ac58a4500451244b493eab0c4ca5cc1ce327f7347ff91adb58dbe | <?php
/**
* @version $Id$
* @package Joomla
* @subpackage NoK-PrjMgnt
* @copyright Copyright (c) 2017 Norbert Kuemin. All rights reserved.
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE
* @author Norbert Kuemin
* @authorEmail momo_102@bluemail.ch
*/
// Check to ensure this file is included in Joo... | PHP | site/views/projectcomment/view.html.php | momo10216/nokprjmgnt | gpl-3.0 | 1,536 | 52 | codeparrot/github-code |
1dd80a20fc7a5eb27c4950dca2b84f2bd8cfb2c74d0ea4484a316f926ee2b9f7 | // {{{ GPL License
// This file is part of gringo - a grounder for logic programs.
// Copyright (C) 2013 Roland Kaminski
// 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... | C++ | third_party/gringo/libgringo/gringo/unique_list.hh | lc2casp/lc2casp | gpl-3.0 | 13,437 | 368 | codeparrot/github-code |
eaa8741313370e7a5a6dcc5a77c1bc7d042c4c7fc136a332935895cca62d982c | /*
Copyright (C) 2013 Bryan Hughes <bryan@theoreticalideations.com>
This file is part of Aquarium Control.
Aquarium Control 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 | server/src/controller.js | rakesh-mohanta/aquarium-control | gpl-3.0 | 1,615 | 67 | codeparrot/github-code |
24fdd9322698c97bf6aea2cf835020ea5c94afc5a21ae1d65716c2621d823aac | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="SitemapEvents.cs" company="Devbridge Group LLC">
//
// Copyright (C) 2015,2016 Devbridge Group LLC
//
// This program is free software: you can redistribute it and/or modify
// ... | C# | Modules/BetterCms.Module.Pages/Events/SitemapEvents.cs | devbridge/BetterCMS | gpl-3.0 | 5,131 | 154 | codeparrot/github-code |
71611600d68dafde1c3b6cd9fae1fdecd424a6034e4f66f4dba19754e93b30b7 | /*
Stroke5 Chinese Input Method for Android
Copyright (C) 2012 LinkOmnia Ltd.
Author: Wan Leung Wong (wanleung@linkomnia.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, ... | Java | src/com/linkomnia/android/Stroke5/IMEKeyboard.java | wanleung/Stroke5Keyboard-android | gpl-3.0 | 1,979 | 60 | codeparrot/github-code |
32fa95c31f084af077085d63664cd32386f222b8232d3d1475f24ed293ef64f0 | /*---------------------------------------------------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2006-2010 OpenCFD Ltd.
\\/ M anipulation |
---------------... | C++ | src/finiteVolume/fields/fvPatchFields/derived/turbulentIntensityKineticEnergyInlet/turbulentIntensityKineticEnergyInletFvPatchScalarField.H | themiwi/freefoam-debian | gpl-3.0 | 5,294 | 171 | codeparrot/github-code |
b229e1679246221b8a841b61aba08ebb5ec617577ae4bc103cf872a44c15d930 | /*---------------------------------------------------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 1991-2010 OpenCFD Ltd.
\\/ M anipulation |
---------------... | C++ | src/dynamicMesh/polyTopoChange/polyTopoChange/removeFaces.H | themiwi/freefoam-debian | gpl-3.0 | 6,911 | 226 | codeparrot/github-code |
b866f75ffb3d305d58197c7311c45b56c027838ea82b140846619d88a9e4610a | /*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will b... | C++ | open-lighting-architecture/ola-0.8.4/plugins/stageprofi/StageProfiPlugin.cpp | syn2cat/syndilights | gpl-3.0 | 4,320 | 174 | codeparrot/github-code |
0c65163fa83dc22918542ec40fda1f95f88381a6caf92d2a0236fa91488b4fe4 | import numpy as np
import cv2
from scipy import interpolate
from random import randint
import IPython
from alan.rgbd.basic_imaging import cos,sin
from alan.synthetic.synthetic_util import rand_sign
from alan.core.points import Point
"""
generates rope using non-holonomic car model dynamics (moves with turn radius)
gen... | Python | src/deep_lfd/synthetic/synthetic_rope.py | mdlaskey/DeepLfD | gpl-3.0 | 3,594 | 101 | codeparrot/github-code |
46f1be415113ccf10aa7018d21dad90cd40496d1a1137cab66b704ee4430d8fe | <?php
namespace Virgule\Bundle\MainBundle\Entity;
class CourseHydrated {
private $courseId;
private $dayOfWeek;
private $startTime;
private $endTime;
private $alternateStartdate;
private $alternateEnddate;
private $classLevelId;
private $classLevelLabel;
private $classLevelColorCode;
private $tea... | PHP | src/Virgule/Bundle/MainBundle/Entity/CourseHydrated.php | crf310/site-suivi-des-cours | gpl-3.0 | 2,670 | 110 | codeparrot/github-code |
59d5425015770a3461e66bcbdd59bad07fd1a1b09df895cedcf8cdfd7d61353e | <?php
/**
* GWToolset
*
* @file
* @ingroup Extensions
* @license GNU General Public License 3.0 http://www.gnu.org/licenses/gpl.html
*/
namespace GWToolset\Jobs;
use Job,
GWToolset\Config,
GWToolset\Helpers\GWTFileBackend,
GWToolset\GWTException,
User;
class GWTFileBackendCleanupJob extends Job {
/**
* ... | PHP | includes/Jobs/GWTFileBackendCleanupJob.php | dan-nl/GWToolset | gpl-3.0 | 1,950 | 96 | codeparrot/github-code |
0c5e5ca1d2b322d53ade70089aeb692272200a2f05b79fedb9b84d407d430cc9 | #Region "Microsoft.VisualBasic::eaca38e33d0009246042e31bc7b525e5, Microsoft.VisualBasic.Core\Extensions\Reflection\EnumHelpers.vb"
' Author:
'
' asuka (amethyst.asuka@gcmodeller.org)
' xie (genetics@smrucc.org)
' xieguigang (xie.guigang@live.com)
'
' Copyright (c) 2018 ... | Visual Basic | src/runtime/sciBASIC#/Microsoft.VisualBasic.Core/Extensions/Reflection/EnumHelpers.vb | xieguigang/GCModeller | gpl-3.0 | 5,797 | 170 | codeparrot/github-code |
d4a81942714075aa9923c06b4ac8cefcc63ae32ea57a5c7c89e3bded24f85a73 | /*
* Copyright (C) 2015 Securecom
* 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... | Java | src/com/securecomcode/voice/call/CallLogDatabase.java | Securecom/Securecom-Voice | gpl-3.0 | 6,364 | 182 | codeparrot/github-code |
b2b0af5c53d62fe68c9fcbdf96789ce1bd8d7571eed6324bab6e2a6c11f498c0 | /* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
... | JavaScript | studio/components/ace/mode/php_highlight_rules.js | jeremyhahn/AgilePHP | gpl-3.0 | 62,025 | 606 | codeparrot/github-code |
61c5a523ffe2b59b073eca0cdf7f119ac9c6e806b420eab9c2f284f42736ca91 | /**
* Copyright (c) 2000-2005 Liferay, LLC. All rights reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* t... | Java | src/com/liferay/util/dao/hibernate/DSConnectionProvider.java | austindlawless/dotCMS | gpl-3.0 | 2,530 | 75 | codeparrot/github-code |
805da4add4ae7e290c773cc342c67f57593228fcd915f22743646bbde17229fa | /* Copyright (C) 2016 SensorLab, Jozef Stefan Institute
* http://sensorlab.ijs.si
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) a... | C | firmware/task.h | avian2/vesna-spectrum-sensor | gpl-3.0 | 4,952 | 171 | codeparrot/github-code |
7fbd4491c7d501a1028084214d7221ebf77ef6bc528e0cf436e3c1d8834e4b34 | __author__ = 'nicolas'
# coding=utf-8
from os.path import expanduser
from ordereddict import OrderedDict
from Bio import SwissProt
import time
import MySQLdb as mdb
"""
Fuck!
from ordereddict import OrderedDict
import MySQLdb as mdb
dicc = {}
dictdebug_empty = OrderedDict()
dictdebug = dictdebug_empty
dictdebug['hol... | Python | uniprot_parser/uniprot_parser_v01.py | naikymen/QB9 | gpl-3.0 | 14,037 | 296 | codeparrot/github-code |
b4214f6b9a4c6ed72f892aae3b53fa62ee0609e713f5e9f1decd284ee1136ed0 | <?php
/**
* WP_Inci
*
* Main class for subclassing backend and frontend class.
*
* @package wp-inci
* @author xlthlx <wp-inci@piccioni.london>
*
*/
if ( ! class_exists( 'WP_Inci', false ) ) {
class WP_Inci {
/**
* A static reference to track the single instance of this class.
*/
pri... | PHP | class-wp-inci.php | xlthlx/wp-inci | gpl-3.0 | 27,589 | 714 | codeparrot/github-code |
4884c333d6c531914b8e5d6bcb97264c6951590b26be83f95049013ec9caeb8e | /******************************************************************************
* irrlamb - https://github.com/jazztickets/irrlamb
* Copyright (C) 2019 Alan Witkowski
*
* 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 Fr... | C++ | src/campaign.cpp | jazztickets/irrlamb | gpl-3.0 | 3,657 | 129 | codeparrot/github-code |
de6d0f69c7977ec872ab96c315b8cafb1617ec41a80f982d598eaf140e1a9c6b | function OpenReportOperations() {
$("#report-operations-div").show();
$("#page-operations-div").hide();
$("#events-operations-div").hide();
$("#editandsave-operations-div").hide();
$("#report-operations-li").addClass('active');
$('#page-operations-li').removeClass('active');
$('#events-oper... | JavaScript | marlo-web/src/main/webapp/global/bower_components/powerbi-client/demo/code-demo/scripts/step_interact.js | CCAFS/MARLO | gpl-3.0 | 2,466 | 74 | codeparrot/github-code |
a69cbb9847ec9f1e6dbe366f0edfaf5882edce80915479b215adb26ced0b349f | package com.daniel_yc.moleculecraft.blocks.tileentity;
import com.daniel_yc.moleculecraft.blocks.Compressor;
import cpw.mods.fml.common.registry.GameRegistry;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import net.minecraft.block.Block;
import net.minecraft.block.material.Material;
i... | Java | src/main/java/com/daniel_yc/moleculecraft/blocks/tileentity/TileEntityCompressor.java | danielyc/MoleculeCraft-1.7.10 | gpl-3.0 | 8,818 | 309 | codeparrot/github-code |
c6e19a688aabc6dc6125ce28eaec9fc56da4166d84f7c4acbc0c50e4e0b90930 | # -*- coding: utf-8 -*-
# © 2013-2016 Akretion (Alexis de Lattre <alexis.delattre@akretion.com>)
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
from odoo import models, fields, api, _
from odoo.exceptions import ValidationError, UserError
class AccountInvoiceLine(models.Model):
_inherit = 'accou... | Python | account_invoice_start_end_dates/models/account_invoice.py | stellaf/sales_rental | gpl-3.0 | 3,874 | 92 | codeparrot/github-code |
2411eadc6ebc093b4fb15b314f3514027d6b42b57d6270cada72477b398044d8 | /*
Bullet Continuous Collision Detection and Physics Library
Copyright (c) 2003-2006 Erwin Coumans http://continuousphysics.com/Bullet/
This software is provided 'as-is', without any express or implied warranty.
In no event will the authors be held liable for any damages arising from the use of this software.
Permiss... | C | app/src/main/jni/BulletCollision/BroadphaseCollision/btSimpleBroadphase.h | nhulbert/ball-soccer | gpl-3.0 | 4,308 | 148 | codeparrot/github-code |
cf69aee3ce5c0f3e6797b3da1f84e00edcad30ff72f5195aeb5de51b5a54a5c3 | /*
ChibiOS/RT - Copyright (C) 2006,2007,2008,2009,2010,
2011,2012 Giovanni Di Sirio.
This file is part of ChibiOS/RT.
ChibiOS/RT 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 F... | C | demos/ARMCM4-STM32F407-DISCOVERY/main.c | openrobots-dev/ChibiOS | gpl-3.0 | 8,005 | 262 | codeparrot/github-code |
086079a57b3fe87df6e0406d9cd5fccfc59e3634daa304bbcf78fad70c2f9fc5 | import numpy as np
import struct
import wave
from winsound import PlaySound, SND_FILENAME, SND_ASYNC
import matplotlib.pyplot as plt
CHUNK = 1 << 8
def play(filename):
PlaySound(filename, SND_FILENAME | SND_ASYNC)
fn = r"D:\b.wav"
f = wave.open(fn)
print(f.getparams())
ch = f.getnchannels()
sw = f.getsampwidth(... | Python | audio/freq.py | DavideCanton/Python3 | gpl-3.0 | 663 | 34 | codeparrot/github-code |
55080479595079157d2fd2d5877986b74ba12e8d945c07f6a10bbb814562d35b | /*
Copyright (c) 2003-2006 Gino van den Bergen / Erwin Coumans http://continuousphysics.com/Bullet/
This software is provided 'as-is', without any express or implied warranty.
In no event will the authors be held liable for any damages arising from the use of this software.
Permission is granted to anyone to use this... | C | bullet/LinearMath/btAabbUtil2.h | jonan/freedom-to-smash | gpl-3.0 | 8,605 | 235 | codeparrot/github-code |
6c909218ff0c34b6abbc0908fb3b2f57cfbccb3b3a2505eb86c681128d792469 | import tensorflow as tf
from tensorflow.python.ops import rnn_cell
from tensorflow.python.ops import seq2seq
import numpy as np
class Model():
def __init__(self, args, infer=False):
self.args = args
if infer:
args.batch_size = 1
args.seq_length = 1
if args.model ==... | Python | char/model.py | bottiger/Integer-Sequence-Learning | gpl-3.0 | 4,473 | 110 | codeparrot/github-code |
abaa1b087ddd2648d90740963197b14450ac4b806572fb02179c51fd82ebdd93 | # -*- coding: utf-8 -*-
import terrariumLogging
logger = terrariumLogging.logging.getLogger(__name__)
from pathlib import Path
import inspect
from importlib import import_module
import sys
import statistics
from hashlib import md5
from time import time, sleep
from operator import itemgetter
from func_timeout import fu... | Python | hardware/sensor/__init__.py | theyosh/TerrariumPI | gpl-3.0 | 18,830 | 556 | codeparrot/github-code |
763d090c4e5a4556dd79a0793881eea8204e7ac1238642d35e28fd26abed589f | # coding = utf-8
# import modules
import os
import matplotlib.pyplot as plt
import numpy as np
import scipy as sp
import my_config
path = my_config.ROOT_DIR # Please create your config file
file = my_config.FILE # Please create your config file
# get time series for ch0 and plot
import wave
def t... | Python | main_waveform_20170517.py | ejoonie/heart_sound | gpl-3.0 | 3,229 | 125 | codeparrot/github-code |
8237325662d05152c0db72cfdf2db4de784a9350928c00bf51a685cc39216507 | <html xmlns="http://www.w3.org/1999/xhtml"><head><title></title><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></meta><link rel="stylesheet" href="css/black-tie/jquery-ui-1.8.2.custom.css" type="text/css"></link><link rel="stylesheet" href="css/jquery.treeview.css" type="text/css"></link><link rel="... | HTML | htdocs/sites/all/libraries/php-opencloud/docs/api/OpenCloud.LoadBalancer.Service.html | intrepidnetworkinc/obma | gpl-3.0 | 92,810 | 1,286 | codeparrot/github-code |
432783bbb2b5a02e8469b70ae31fff7f6a7a42eeb1c6a773a56cc6b2c6f846d8 | #
# Python module to parse OMNeT++ vector files
#
# Currently only suitable for small vector files since
# everything is loaded into RAM
#
# Authors: Florian Kauer <florian.kauer@tuhh.de>
#
# Copyright (c) 2015, Institute of Telematics, Hamburg University of Technology
# All rights reserved.
#
# Redistribution and use ... | Python | simulations/analysis_tools/python/omnet_vector.py | i-tek/inet_ncs | gpl-3.0 | 3,886 | 92 | codeparrot/github-code |
c0a484d45acbdee2e3492b15ef7dbec1ef68e19aeafe8266298f28b2b4c554ea | /* gvSIG. Sistema de Información Geográfica de la Generalitat Valenciana
*
* Copyright (C) 2006 Instituto de Desarrollo Regional 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 F... | Java | extGeoreferencing/src/org/gvsig/georeferencing/process/GeoreferencingProcess.java | iCarto/siga | gpl-3.0 | 13,937 | 381 | codeparrot/github-code |
257eef15b2698e086b2a22648bb242e1b24b0250e91f3175f5a26f2458f48ff3 | /*
* Copyright 1999-2017 Alibaba Group Holding Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | Java | src/main/java/com/alibaba/druid/sql/dialect/oracle/ast/expr/OracleSizeExpr.java | zuonima/sql-utils | gpl-3.0 | 1,888 | 76 | codeparrot/github-code |
7ab2751a0480ddb3b440501b5968eb8d16f3d65e64a25582d9ce45de9d5a4dd7 | // Copyright (c) Athena Dev Teams - Licensed under GNU GPL
// For more information, see LICENCE in the main folder
#include "../common/mmo.h"
#include "../common/malloc.h"
#include "../common/socket.h"
#include "../common/strlib.h"
#include "../common/showmsg.h"
#include "../common/utils.h"
#include "../commo... | C | src/char/int_pet.c | ro4peace/coloexpress-project | gpl-3.0 | 9,019 | 310 | codeparrot/github-code |
d43940b9d7788e5c21ef018d07678212288610d0dcfc20772c7960c95a150877 | #ifndef TEST_SIMPLE_JSON_HELPER_ENUM_H_
#define TEST_SIMPLE_JSON_HELPER_ENUM_H_
#include "test/Configure.h"
#if defined(_USING_TEST_)
#include <string>
namespace BrainMuscles
{
namespace test
{
namespace simple
{
namespace json
{
namespace helper
{
enum Enum : char
... | C | include/test/simple/json/helper/Enum.h | AnantaYudica/BrainMuscles | gpl-3.0 | 1,165 | 60 | codeparrot/github-code |
0d18fc9c71f09df2d3aedbdc3c375bd5530d21e8affd91ae0c5369b43a8a15cf | // OpenCppCoverage is an open source code coverage for C++.
// Copyright (C) 2016 OpenCppCoverage
//
// 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
// an... | C# | VSPackage/DynamicVCConfiguration.cs | OpenCppCoverage/OpenCppCoveragePlugin | gpl-3.0 | 2,939 | 86 | codeparrot/github-code |
5a36be2b16406a5506c1c19e5f867726987b1082c45ddae0beea6cbb9f9729d4 | <?php
/**
* Litotex - Browsergame Engine
* Copyright 2017 Das litotex.info Team, All Rights Reserved
*
* Website: http://www.litotex.info
* License: GNU GENERAL PUBLIC LICENSE v3 (https://litotex.info/showthread.php?tid=3)
*
*/
/*
************************************************************
Litotex ... | PHP | acp/modules/acp_perm/perm.php | Kev5454/litotex | gpl-3.0 | 4,451 | 131 | codeparrot/github-code |
df5cfc39c9ce20be4340b3cf83ce2227fc9547c474b20f74d36e2215b265813d | <?php
/**
* Used for adding dated reminders.
*
* Copyright (C) 2012 tajemo.co.za <http://www.tajemo.co.za/>
* Copyright (C) 2017 Brady Miller <brady.g.miller@gmail.com>
*
* LICENSE: This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as... | PHP | interface/main/dated_reminders/dated_reminders_add.php | georgetye/openemr | gpl-3.0 | 20,320 | 430 | codeparrot/github-code |
01a661ba1bdd32070b22611028a6733e85181064852fde537c0ae3aa115b61e7 | /*
* ================================
* eli960@qq.com
* https://blog.csdn.net/eli960
* 2015-09-29
* ================================
*/
#include "zc.h"
typedef struct zargv_mpool_t zargv_mpool_t;
struct zargv_mpool_t {
zargv_t v;
zmpool_t *mpool;
};
void zargv_init(zargv_t *argvp, int size);
void zargv... | C | src/stdlib/argv.c | mailhonor/libzc | gpl-3.0 | 3,973 | 167 | codeparrot/github-code |
e2cdf4c0795cce7bf970b1d8a80a5e30ad9f8963c7e38652b430df28407c2721 | package bio.overture.score.client.util;
import com.fasterxml.jackson.dataformat.csv.CsvMapper;
import lombok.RequiredArgsConstructor;
import lombok.SneakyThrows;
import lombok.val;
import java.io.File;
import java.util.List;
@RequiredArgsConstructor
public class CsvParser<T> {
private final Class<T> type;
priva... | Java | score-client/src/main/java/bio/overture/score/client/util/CsvParser.java | icgc-dcc/dcc-storage | gpl-3.0 | 700 | 34 | codeparrot/github-code |
19e2ff3a1f9286049116673fe92037a3469ca6995c64bc72c1273a7c9909b1a0 | /* duplicates.c
*
* Copyright 2016 Bob Parker <rlp1938@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 2 of the License, or
* (at your option) any later... | C | duplicates.c | rlp1938/Duplicates | gpl-3.0 | 20,973 | 816 | codeparrot/github-code |
ab1d76cafcf8693ba5a3f4fa371425aac3ef69b74853b6c31cbd5db9f37adcf2 | import pyes
import os
from models import *
from sqlalchemy import select
from downloader import download
import utils
import re
import time
class Search(object):
def __init__(self,host,index,map_name,mapping=None,id_key=None):
self.es = pyes.ES(host)
self.index = index
self.map_name = map_... | Python | billwatcher/indexer.py | sweemeng/Malaysian-Bill-Watcher | gpl-3.0 | 3,747 | 147 | codeparrot/github-code |
62ee8442f9a3f963bd6ce837cc72557e50f375758e319bd2a7143869b9a29141 | /*-------------------------------------------------------------------------
*
* resowner.c
* POSTGRES resource owner management code.
*
* Query-lifespan resources are tracked by associating them with
* ResourceOwner objects. This provides a simple mechanism for ensuring
* that such resources are freed at the ... | C | thirdparty/postgresql-9.0.1/src/backend/utils/resowner/resowner.c | TextusData/Mover | gpl-3.0 | 29,075 | 1,139 | codeparrot/github-code |
1f0621e8eb1c980a1d956db426464b848bdaac218888f7094fa073b68a0071bb | package org.openbase.bco.registry.unit.core.dbconvert;
/*-
* #%L
* BCO Registry Unit Core
* %%
* Copyright (C) 2014 - 2020 openbase.org
* %%
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as
* published by the Free Software Foundati... | Java | unit-registry/core/src/main/java/org/openbase/bco/registry/unit/core/dbconvert/ServiceTemplateToServiceDescriptionDbConverter.java | DivineCooperation/bco.registry | gpl-3.0 | 2,625 | 64 | codeparrot/github-code |
97950d13b8452d88d18d49c7092a2ac652bb2936df8b1030bf074dc81a77d3cf | /*
* SQLite.cpp
*
* Created on: Aug 1, 2012
* Author: lion
*/
#include "SQLite.h"
#include "ifs/db.h"
#include "DBResult.h"
#include "Buffer.h"
namespace fibjs
{
#define SQLITE_OPEN_FLAGS \
SQLITE_OPEN_READWRITE | SQLITE_OPEN_CREATE | \
SQLITE_OPEN_SHAREDCACHE | SQLITE_OPEN_NOMUTEX
result_t db_ba... | C++ | fibjs/src/SQLite.cpp | jiachenning/fibjs | gpl-3.0 | 8,232 | 345 | codeparrot/github-code |
932d08e7d924ca6a6cb77935e2389ca4ab6489b9456f614af7e269beed0ea879 | /*
* Copyright(C) 2016-2017 Blitzker
*
* 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 p... | C++ | assfilter/AssFilterAutoLoader.cpp | Blitzker/assfiltermod | gpl-3.0 | 9,496 | 278 | codeparrot/github-code |
242d778034d5882c502e6191de729ac7a513e84647290f9038abb813dbce0d65 | /*---------------------------------------------------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 1991-2010 OpenCFD Ltd.
\\/ M anipulation |
---------------... | C++ | src/OpenFOAM/interpolations/patchToPatchInterpolation/PatchToPatchInterpolation_.C | themiwi/freefoam-debian | gpl-3.0 | 5,000 | 193 | codeparrot/github-code |
bf8a80e1dc52dab7cbaaa71df17e2dae1370b20e50d90e667eaf1adb08089ff2 | /*
* Copyright 2012-2020 Rafal Lewczuk <rafal.lewczuk@jitlogic.com>
* <p/>
* This is free software. You can redistribute it and/or modify it under the
* terms of the GNU General Public License as published by the Free Software
* Foundation, either version 3 of the License, or (at your option) any later
* version.... | Java | zorka-core/src/test/java/com/jitlogic/zorka/core/test/spy/support/TestAsyncQueueCollector.java | jitlogic/zorka | gpl-3.0 | 1,106 | 34 | codeparrot/github-code |
3730c93bac5c5a0c07bc995feab605db3837b356e68a85f76e28800b8405f852 | package de.spiritaner.maz.controller.approval;
import de.spiritaner.maz.controller.meta.ApprovalTypeOverviewController;
import de.spiritaner.maz.model.Approval;
import de.spiritaner.maz.model.meta.ApprovalType;
import de.spiritaner.maz.util.database.CoreDatabase;
import de.spiritaner.maz.util.validator.ComboBoxValidat... | Java | database/src/main/java/de/spiritaner/maz/controller/approval/ApprovalEditorController.java | fschwab/maz-db | gpl-3.0 | 3,009 | 91 | codeparrot/github-code |
45347ee1d9cc3f5ea5c63ac1299694dad340356f81a6c1994dd81e6d734390b8 | #!/usr/bin/perl
use strict;
use warnings;
use Math::Trig;
use Text::Template;
# open up a variable as a file for easy output of latex code
my $tikz;
open(my $fh, '>', \$tikz) or die "Failed to open pipe: $!";
# REPL of the graph which is just a csv
my $last = 'A';
my $color = getRndStr();
print $fh "\\definecolor{",... | Perl | makeTikzGraph.pl | HSchmale16/MarkovChain | gpl-3.0 | 2,703 | 95 | codeparrot/github-code |
a3b844283fe737f3a7c4003a2f6f752724399640ec0fddad93739200a58b3287 | package com.foreach.poc.charts.core;
import com.foreach.poc.charts.model.ChartsResult;
import com.foreach.poc.charts.model.TagEvent;
import org.apache.flink.api.common.operators.Order;
import org.apache.flink.api.common.typeinfo.TypeHint;
import org.apache.flink.api.java.DataSet;
import org.apache.flink.api.java.tuple... | Java | src/main/java/com/foreach/poc/charts/core/SimpleChartsPipeline.java | aaitor/flink-charts | gpl-3.0 | 3,254 | 88 | codeparrot/github-code |
b53985b1f0758c0a5513dff4e44a927c9b19fc31c7f72b89518f4eee840321c6 | /*
* Copyright 2011-2012 Arx Libertatis Team (see the AUTHORS file)
*
* This file is part of Arx Libertatis.
*
* Arx Libertatis 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 Li... | C | src/gui/Interface.h | ptitSeb/ArxLibertatis | gpl-3.0 | 7,095 | 264 | codeparrot/github-code |
cc66ec0a5b80e9d0e263a520790235c1086261377c1a7b40ed4d06759129971a | /*
Storybook: Scene-based software for novelists and authors.
Copyright (C) 2008 - 2011 Martin Mustun
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... | Java | src/ch/intertec/storybook/playground/swing/undo/PgUndo.java | tmhorne/storybook | gpl-3.0 | 2,224 | 77 | codeparrot/github-code |
c26f661947d5307c43ef1a32ec811c36e5c902869e3ec01c5c21336bebdcac0c | <?php
namespace sisVentas\Http\Controllers\Auth;
use sisVentas\Http\Controllers\Controller;
use Illuminate\Foundation\Auth\SendsPasswordResetEmails;
class ForgotPasswordController extends Controller
{
/*
|--------------------------------------------------------------------------
| Password Reset Controll... | PHP | CursoLaravel/sisVentas/app/Http/Controllers/Auth/ForgotPasswordController.php | natata0816/Prueba | gpl-3.0 | 846 | 33 | codeparrot/github-code |
fe15ab23dd064a5651c05f89714c57c7d4d56e58cde1ebdd3591dcc6d0f7f58a | /*
* EffectChams.cpp
*
* Created on: Apr 16, 2017
* Author: nullifiedcat
*/
#include <visual/EffectChams.hpp>
#include <MiscTemporary.hpp>
#include <settings/Bool.hpp>
#include "common.hpp"
#include "Backtrack.hpp"
namespace effect_chams
{
static settings::Boolean flat{ "chams.flat", "false" };
static sett... | C++ | src/visual/EffectChams.cpp | nullifiedcat/cathook | gpl-3.0 | 12,523 | 404 | codeparrot/github-code |
c5264fbf826649f102d3f613885952628000d7a4933393fcb820da86ec8a171b | /*
* Copyright (c) 2003-2009 by FlashCode <flashcode@flashtux.org>
* See README for License detail, AUTHORS for developers list.
*
* 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... | C | src/core/wee-list.c | matsuu/weechat | gpl-3.0 | 8,297 | 382 | codeparrot/github-code |
870664aceb4b86eb6d565db7453b2fcc5b0fb54ee96c35627432799e211bb33c | /*
* Copyright (C) 2014 Robert Stark
*
* 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/de/rs/scrumit/controller/MainIncludeComposer.java | StarkoMania/scrum-it | gpl-3.0 | 2,033 | 57 | codeparrot/github-code |
14e8a2a3be592a0365c2911f6ba8973e0b35acef461eb52a89f1c9ecb6eeb4d6 | <!DOCTYPE html>
<html >
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Spark for Social Science</title>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
<meta name="description" content="Spark for Social Science">
<meta name="generator" conten... | HTML | docs/index.html | UrbanInstitute/spark-social-science-manual | gpl-3.0 | 6,785 | 173 | codeparrot/github-code |
7dab2bfd6e591694865137928be378dd65f1de9c3ce4e620194c1ca9b0104d8a | import { Component, OnDestroy, OnInit, Self } from '@angular/core';
import { Title } from '@angular/platform-browser';
import { Subscription, combineLatest } from 'rxjs';
import { switchMap, scan } from 'rxjs/operators';
import * as moment from 'moment';
import { PullRequest, And, Like } from '../../../../../framewor... | TypeScript | Domains/Apps/Workspace/Typescript/Intranet/src/allors/material/apps/objects/person/list/person-list.component.ts | Allors/apps | gpl-3.0 | 4,882 | 157 | codeparrot/github-code |
c05f33ddf7fde64db4e72b62d588a2c99d9807280100e618cc0192fc3019d35c | "use strict";
/*
* Copyright (C) 2014 Riccardo Re <kingrichard1980.gmail.com>
* This file is part of "Ancilla Libary".
*
* "Ancilla Libary" 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... | JavaScript | lib/Logger.js | KingRial/Ancilla-Server | gpl-3.0 | 9,102 | 269 | codeparrot/github-code |
e3adec011e6649da6c32fc438e937eef7e13aac57405411379bacab2e4f615ae | /**
* Yaafe extension for the Cultural Broadcasting Archive.
*
* Copyright (c) 2012 University of Applied Sciences Ð Institute for Creative Media Technologies
*
* Author : Ewald Wieser B.Sc. (fhstp.ac.at)
*
* Co-Authors :
* Dipl.-Ing. (FH) Matthias Husinsky (fhstp.ac.at)
* FH-Prof. Dipl.-Ing. Markus ... | C++ | src_cpp/cba-yaafe-extension/audio/AccumulateSameValues.cpp | mcrg-fhstp/cba-yaafe-extension | gpl-3.0 | 2,571 | 94 | codeparrot/github-code |
9dc9dcc9fe6f525f7eba2e53f63375e14ad0404a5c1fd6ece911bb01bd806b31 | import { Meteor } from "meteor/meteor";
import { Template } from "meteor/templating";
import { Roles } from "meteor/alanning:roles";
import { ReactiveVar } from "meteor/reactive-var";
import { Reaction } from "/client/api";
import { i18next } from "/client/api";
import * as Collections from "/lib/collections";
import ... | JavaScript | imports/plugins/core/accounts/client/templates/profile/profile.js | xxbooking/reaction | gpl-3.0 | 2,915 | 121 | codeparrot/github-code |
d2b339c3db6f28c7198ba085838793a6d7120f08ff6ce0c5ebc2e6f7e4915b0b |
# The name of your project (used to name the compiled .hex file)
TARGET = main
# configurable options
OPTIONS = -DF_CPU=96000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH -D__MK20DX256__ -U__MK20DX128
# options needed by many Arduino libraries to configure for Teensy 3.0
#**************************************************... | Makefile | hw/Makefile | andrewdipper/quadrotor_v1 | gpl-3.0 | 2,736 | 97 | codeparrot/github-code |
1b2509d5ce0b4578e196ea03b4dc1c39ef842631b5d068a534238277fe479f08 | using iRacingDirector.Plugin;
using System;
using System.Drawing;
using System.Drawing.Drawing2D;
namespace JockeOverlays
{
public static class MyPluginExtensions
{
public static string FormattedForLeaderboard(this string shortName)
{
var length = Math.Min(4, shortName.Length);
... | C# | plugins/JockeOverlays/MyPlugin.Extensions.cs | vipoo/iRacingReplayOverlay.net | gpl-3.0 | 2,152 | 67 | codeparrot/github-code |
7b639c63469b11126a06e0ebbfd5a93df68002aa8e16701b507ccd5ccda24d7b | #!/bin/bash
#Set -e as an option, it tells the command line to exit the script immediately if it registers an error.
set -e
#Set -x as an option, it tells the computer to echo back each step before it is completed and the output is produced.
set -x
###
#code to make script work on both osx and linux. Essentially, it... | Shell | PARE_pipe1/02-scythe.sh | pedrocrisp/NGS-pipelines | gpl-3.0 | 2,972 | 62 | codeparrot/github-code |
949d25e30088a2802637f216fb15c49e3c0185990b6f4a3d1f4a458bd19dea2d | #!/usr/bin/perl
# Copyright 2008 LibLime
#
# This file is part of Koha.
#
# Koha 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
# versi... | Perl | members/messaging.pl | kohascanbit/tabakaleraubik | gpl-3.0 | 3,422 | 103 | codeparrot/github-code |
c5e3164799911521049adb5803074a72ee0a17955dd020f465ac9341d05ff13a | //========= Copyright © 1996-2001, Valve LLC, All rights reserved. ============
//
// Purpose:
//
// $NoKeywords: $
//=============================================================================
#ifndef OPTIONS_SUB_VOICE_H
#define OPTIONS_SUB_VOICE_H
#ifdef _WIN32
#pragma once
#endif
#include <vgui_controls/Propert... | C | root/gameui/OptionsSubVoice.h | RaisingTheDerp/raisingthebar | gpl-3.0 | 2,248 | 83 | codeparrot/github-code |
892d88d50229a761addd7980ce632d6408bc791b74cf6590488ccfa479736d42 | /*
Copyright (C) 2017 Equinor ASA, Norway.
The file 'queue_config.c' is part of ERT - Ensemble based Reservoir Tool.
ERT 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 Li... | C++ | libres/lib/enkf/queue_config.cpp | joakim-hove/ert | gpl-3.0 | 14,666 | 404 | codeparrot/github-code |
7e898f0ebcaff86c2ff2fa5d181e9913c930c919e9911deca11991f233d3699d | /* This file is part of GBerry.
*
* Copyright 2015 Tero Vuorela
*
* GBerry is free software: you can redistribute it and/or modify it under the
* terms of the GNU Lesser General Public License as published by the Free
* Software Foundation, either version 3 of the License, or (at your option) any
* later version... | C | gberry-lib/lib/src/server/playersessionmanager.h | gberryproject/gberry | gpl-3.0 | 1,531 | 53 | codeparrot/github-code |
f279730f669ccff50ce65614214de1f0d27c8a5ecd2b484217a8d6e04a70dad1 | /*----------------------------------------------------------------------*/
/* The name says it all */
/*----------------------------------------------------------------------*/
/*-----------------------------------------------------------------------*/
/* Subroutines ... | JavaScript | js/helper_functions.js | pviechnicki/taskExplorer | gpl-3.0 | 1,881 | 71 | codeparrot/github-code |
f1064fdb1fa86f5ac0116222ddbd8b01c95db773a500e5f86d7ad123ae4fb0d7 | /**
*
* $Id: NetworkNode.java 669 2010-06-14 14:53:38Z twanschik $
*
* @version $Rev: 669 $
* @author $Author: twanschik $
* @date $Date: 2010-06-14 16:53:38 +0200 (Mo, 14 Jun 2010) $
*
*/
package org.hswgt.teachingbox.core.rl.network;
import java.io.Serializable;
import org.hswgt.teachingbox.core.rl.tools.C... | Java | src/org/hswgt/teachingbox/core/rl/network/NetworkNode.java | ieugen/Teachingbox | gpl-3.0 | 2,818 | 105 | codeparrot/github-code |
6d73114b5f582512033c3a8bc9bd25482cf7d6819bf0a61ae23d603878d00c43 | package com.fr.design.extra;
import com.fr.design.dialog.BasicPane;
import com.fr.general.Inter;
import java.awt.BorderLayout;
import java.awt.Component;
/**
* @author richie
* @date 2015-03-09
* @since 8.0
* 应用中心的构建采用JavaScript代码来动态实现,但是不总是依赖于服务器端的HTML
* 采用JDK提供的JavaScript引擎,实际是用JavaScript语法实现Java端的功能,并通过JavaS... | Java | designer_base/src/com/fr/design/extra/ShopManagerPane.java | fanruan/finereport-design | gpl-3.0 | 871 | 31 | codeparrot/github-code |
cd98f5b3195dc2cc402a6fbb595ad9c0bfc144369ba2a2a13fa5c98572fe8284 | /* A GTK+ wrapper around the cainteoir::ref_entry class.
*
* Copyright (C) 2015 Reece H. Dunn
*
* This file is part of cainteoir-gtk.
*
* cainteoir-gtk 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/libcainteoir-gtk/cainteoir_document_index.cpp | rhdunn/cainteoir-gtk | gpl-3.0 | 8,391 | 275 | codeparrot/github-code |
1cb2e3477a83a79345ab6cf6588e29be82c5168cc08517d83d99e6b8855c67aa | #include "Display.h"
#include <memory>
#include <GL/glew.h>
#include <SFML/Graphics.hpp>
/* Display source file
* Used for handling and managing the display portion of the engine
*/
namespace Display {
constexpr static int Width = 640;
constexpr static int Height = 480;
std::unique_ptr<sf::RenderWindow... | C++ | src/Display.cpp | EpsilonGroup/qDoom | gpl-3.0 | 1,237 | 56 | codeparrot/github-code |
6e52128d1af3e5bd00cfb252f9e360759b661323b023f68735d45bd727a2152a | package com.slensky.focussis.parser;
import android.support.annotation.NonNull;
import android.util.Log;
import android.util.SparseArray;
import com.slensky.focussis.data.Demographic;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
import java.util.ArrayList;
import java.util.C... | Java | app/src/main/java/com/slensky/focussis/parser/DemographicParser.java | kidcontact/FocusSIS | gpl-3.0 | 8,492 | 199 | codeparrot/github-code |
9b5cc476be9f2c81c6922f1932c7c0814475240c51d32aae52bfa98f1f835cfc | using Pathfinding;
using System;
using System.Collections.Generic;
using UnityEngine;
public class EnemyPathAI : MonoBehaviour {
public static EnemyPathAI instance;
//The point to move to
public Vector3 target;
private Seeker seeker;
//The calculated path
public Path path;
//The max d... | C# | Assets/Scripts/GameObjects/EnemyPathAI.cs | newhellstudios/medusa | gpl-3.0 | 2,791 | 95 | codeparrot/github-code |
288044d8c2a2ab023e559a76dae72bb5e823878998af6793624b15cd42976d76 | /*
Free Download Manager Copyright (c) 2003-2016 FreeDownloadManager.ORG
*/
#include "stdafx.h"
#include "FdmApp.h"
#include "Dlg_Download.h"
#include "Downloads_Tasks.h"
#include "DownloadsWnd.h"
#include "Dlg_Download_OnHide.h"
extern CDownloadsWnd* _pwndDownloads;
#ifdef _DEBUG
#define new DEBUG_N... | C++ | Dlg_Download.cpp | mirror/freedownload | gpl-3.0 | 9,112 | 395 | codeparrot/github-code |
42416a932e4f5cbd60093567b72d7e1951f7eac495e602d00c373d049f948146 | /*
* This file is part of Blue Power.
*
* Blue Power 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.
*
* Bl... | Java | src/main/java/com/bluepowermod/network/NetworkHandler.java | raulsmail/GlowPower | gpl-3.0 | 4,437 | 110 | codeparrot/github-code |
331c7e039cc68cb816abc816062fa1b1b1b6f4d1bfca4972b4f5a4ead0eee0ff | /*
* Copyright (c) 2002-2015 "Neo Technology,"
* Network Engine for Objects in Lund AB [http://neotechnology.com]
*
* This file is part of Neo4j.
*
* Neo4j 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 Foundatio... | Java | src/test/java/org/neo4j/graphdb/RelationshipIndexFacadeMethods.java | neo4j-contrib/neo4j-lucene5-index | gpl-3.0 | 5,800 | 166 | codeparrot/github-code |
bc6c984676eb1d0b949c3c77b18cdb087ee0df6de9e558c1599bde0e4222324c | /*
* Hyperbox - Virtual Infrastructure Manager
* Copyright (C) 2015 - Max Dor
*
* https://apps.kamax.io/hyperbox
*
* 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... | Java | src/main/java/io/kamax/hbox/ClassManager.java | hyperbox/api | gpl-3.0 | 7,888 | 199 | codeparrot/github-code |
535358c889b920399b137667cb71801a62bb39de38c0d2c2e215ac140eb7c5f9 | package lab9;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Dell extends Product {
private int mark_id ;
public Dell() {
super();
}
public Dell(int id, String name, int quantity, float price, int markId){
super(id,name,quantity,price);
this.mark_... | Java | js/lab9/Dell.java | zluuluyenz/mtech | gpl-3.0 | 1,937 | 96 | codeparrot/github-code |
7e3a795444804b40d0c1afbcc8fc9645d9e630603af68c4df12010ca19fd52d6 | // SuperTux
// Copyright (C) 2006 Matthias Braun <matze@braunis.de>
//
// 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++ | src/supertux/gameconfig.hpp | SuperTux/supertux | gpl-3.0 | 3,827 | 156 | codeparrot/github-code |
19f982cd00689b61d17345fcdef81fe3e920c96dd68ce40062b75e8a69de2a94 | package C4::Search;
# This file is part of Koha.
#
# Koha 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.
#
# Koha is distributed in t... | Perl | C4/Search.pm | RowdyChildren/koha | gpl-3.0 | 98,510 | 2,632 | codeparrot/github-code |
517c32504c0a0bff4114d4757ebe76d8ddc69af31ad443f6c58685519a37adb6 | package mediamatrix.utils;
import java.io.File;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.TreeSet;
public class FileSearch {
public static final int TYPE_FILE_OR_DIR = 1;
public static final int TYPE_FILE = 2;
public static final int TYPE_DIR = 3;
public File[] listF... | Java | src/main/java/mediamatrix/utils/FileSearch.java | shuichi/MediaMatrix | gpl-3.0 | 2,770 | 84 | codeparrot/github-code |
d426282b318161ddc8d764602b4b95f7c60e7c8aaa8071dde604d443f5b8500b | <div class="changelog_modal_wrap md_modal_wrap" my-modal-position>
<div class="md_modal_head">
<div class="md_modal_title_wrap">
<div class="md_modal_actions_wrap clearfix">
<a class="md_modal_action md_modal_action_close" ng-click="$close()" my-i18n="modal_close"></a>
</div>
<div class... | HTML | app/partials/desktop/changelog_modal.html | HarendraChhekur/Whatsapppro | gpl-3.0 | 17,711 | 336 | codeparrot/github-code |
e9e41f61a4fb323d0e29cd27ae45f6c1fdaa0eb768dfe048698e1a38cce5c3e7 | var helpers = require('./../../../helpers'),
path = require('path'),
os = require('os'),
should = require('should'),
sinon = require('sinon'),
lib_path = helpers.lib_path(),
join = require('path').join,
custom_dirs = require(jo... | JavaScript | test/lib/agent/actions/wipe.js | prey/prey-node-client | gpl-3.0 | 12,290 | 394 | codeparrot/github-code |
b71b6c43c90fc9d14b7862514992766b12fd2c91fbdbb8595995bcdb6ffe10ca | package com.bekvon.bukkit.residence.utils;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
public enum TimeModifier {
s(1), m(60), h(60 * 60), d(60 * 60 * 24), w(60 * 60 * 24 * 7), M(60 * 60 * 24 * 30), Y(60 * 60 * 24 * 365);
private int modifier = 0;
static Pattern patern = Pa... | Java | src/com/bekvon/bukkit/residence/utils/TimeModifier.java | Zrips/Residence | gpl-3.0 | 1,185 | 51 | codeparrot/github-code |
d7b9edfeeae15a5862199f523c3721c4689e3caf6cfd911115a70cc7b1e6b612 | package core
import (
"bytes"
"encoding/hex"
"encoding/json"
"fmt"
"io/ioutil"
"net/http"
"strconv"
"strings"
"time"
"github.com/eris-ltd/mint-client/Godeps/_workspace/src/github.com/tendermint/tendermint/account"
ptypes "github.com/eris-ltd/mint-client/Godeps/_workspace/src/github.com/tendermint/tendermin... | GO | mintx/core/core.go | alist/mint-client | gpl-3.0 | 17,152 | 652 | codeparrot/github-code |
d193ae23e6693592b6149c34d4254b7ec7d6680b665b2ab3961b0ea6d0de72cf | package com.qyb.tagfavorite;
import static org.junit.Assert.*;
import java.io.IOException;
import java.io.InputStream;
import java.sql.Connection;
import org.apache.ibatis.io.Resources;
import org.apache.ibatis.session.SqlSession;
import org.apache.ibatis.session.SqlSessionFactory;
import org.apache.ibati... | Java | TagFavorite/src/test/java/com/qyb/tagfavorite/ConnTest.java | qiuyb/ssmWork | gpl-3.0 | 966 | 41 | codeparrot/github-code |
d5178a51bc44fb5710a5511d7a464565a2e62c6ab2e97d2f138a2f24bf472c36 | #include "matFiles.hpp"
#include <iostream>
int writeFs (MATFile *pmat, mxArray *pn, double fsHz) {
/* fsHZ */
pn = mxCreateDoubleScalar(fsHz);
if (pn == NULL) {
printf("Unable to create mxArray with mxCreateDoubleMatrix\n");
return(1);
}
int status = matPutVariable(pmat, "fsHz", pn);
if ... | C++ | RoboticPlatform/openAFE/examples/matFiles.cpp | TWOEARS/TwoEars | gpl-3.0 | 7,332 | 262 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.