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
a1d3342cab2ef437a9a38de9740e5e3ca9b89acb0c9f6b0dd6a05879bf484c27
using System; using System.Text.RegularExpressions; using LiteDB.Shell; namespace LiteDB { public partial class LiteDatabase : IDisposable { /// <summary> /// Run a command shell /// </summary> public BsonValue Run(string command) { var shell = new LiteS...
C#
Shared/Core/LiteDB/Core/Database/Shell.cs
Xicy/SilkroadScript
gpl-3.0
931
35
codeparrot/github-code
eb006cee11ab7ab90fc79e5c4cb2f399cf807c533caaf9ced2e5d0041b537ac4
/* Stockfish, a UCI chess playing engine derived from Glaurung 2.1 Copyright (C) 2004-2008 Tord Romstad (Glaurung author) Copyright (C) 2008-2015 Marco Costalba, Joona Kiiski, Tord Romstad Copyright (C) 2015-2016 Marco Costalba, Joona Kiiski, Gary Linscott, Tord Romstad Stockfish is free software: you can re...
C
c Language/srcWindows/pawns.c
amchess/CorCfishExtended
gpl-3.0
10,684
295
codeparrot/github-code
2519f9d788c3a6a93630f05a7bf186f84f8a52908a9de8d67ed8589a31da5b13
//===- GVNSink.cpp - sink expressions into successors ---------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
C++
3rd/templight/llvm/lib/Transforms/Scalar/GVNSink.cpp
sabel83/metashell
gpl-3.0
30,533
931
codeparrot/github-code
d1ee63539f03c2c84b9491beb49880990613d60c7fe1c8ebdc5ad3a0dc620415
/**************************************************************************** ** ** Copyright (C) 2016 The Qt Company Ltd. ** Contact: https://www.qt.io/licensing/ ** ** This file is part of the Qt Designer of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:GPL-EXCEPT$ ** Commercial License Usage ** Licensees holding valid com...
C
oss/qt/qt-everywhere-opensource-src-5.9.0/qttools/src/designer/src/designer/qdesigner_settings.h
geminy/aidear
gpl-3.0
2,829
82
codeparrot/github-code
27fc83764c7e23ae40967610e12bc4895a0a7908a57253f4b3ce687de1fb8219
/* Copyright (C) 2003-2013 Runtime Revolution Ltd. This file is part of LiveCode. LiveCode is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License v3 as published by the Free Software Foundation. LiveCode is distributed in the hope that it will be useful, but WITH...
C++
engine/src/internal_development.cpp
runrevmichael/livecode
gpl-3.0
22,017
912
codeparrot/github-code
c04fff876e7d9df719c973fd535b66a03c6cf76cdb33e24dd616211d0411f6b8
// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: t -*- #include <FastSerial.h> #define GPS_DEBUGGING 0 #if GPS_DEBUGGING #include <FastSerial.h> # define Debug(fmt, args ...) do {Serial.printf("%s:%d: " fmt "\n", __FUNCTION__, __LINE__, ## args); delay(0); } while(0) #else # define Debug(fmt,...
C++
libraries/AP_GPS/GPS.cpp
pchickey/purple-ardupilot-mega
gpl-3.0
3,984
156
codeparrot/github-code
a88eedd0f586810c58bbb59d833a40fa051ba5d142e27d4e2afbf7d6c8514488
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd"> <html> <head> <title>Folha de S.Paulo - Mercado - Desempenho do PIB foi afetado por revisão de metodologia, diz Mantega - 03/12/2013</title> <meta name="title" content="Desempenho do PIB foi afetado por revis...
HTML
datasets/djongs/original/texto_337.html
villasv/pyWebNectar
gpl-3.0
99,521
1,683
codeparrot/github-code
db2aab3cf5ad565a92af6f167ed48f9c18c2b7290393d427f6fdd45a6737979b
"""Provide neighbour searches using OpenCl GPU-code.""" from pkg_resources import resource_filename import numpy as np from . import idtxl_exceptions as ex try: import pyopencl as cl except ImportError as err: ex.package_missing(err, 'PyOpenCl is not available on this system. Install' ...
Python
dev/search_GPU/neighbour_search_opencl_old.py
pwollstadt/IDTxl
gpl-3.0
12,468
296
codeparrot/github-code
1d5d6a71c784cf0552cb56e940103bf74614dba8302c1ee99c3f57caec75388c
'use strict'; angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; function getDecimals(n) { n = n + ''; var i = n.indexOf('.'); return (i == -1) ? 0 : n.length - i - 1; } function getVF(n...
JavaScript
test/vendors/angular-1.5.5/i18n/angular-locale_en-im.js
espringtran/travis-web-fonts
gpl-3.0
2,858
144
codeparrot/github-code
edbd9129e6e9339354d928fd2d7e7bf50b3fc9b9111ca99c5557c7f08cc14404
/* * Monicelli: an esoteric language compiler * * Copyright (C) 2014 Stefano Sanfilippo * * 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 ...
C++
src/BitcodeEmitter.cpp
michelerana/monicelli
gpl-3.0
22,442
797
codeparrot/github-code
1bbace5c704092c1027e2e9d76995e639c51f835ac107da4851b84771bf5a5b1
/* Copyright (C) 2001-2004 Stephane Magnenat & Luc-Olivier de Charrière for any question or comment contact us at <stephane at magnenat dot net> or <NuageBleu at gmail dot 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...
C
src/GameGUIDialog.h
krichter722/glob2-git-hg
gpl-3.0
3,650
159
codeparrot/github-code
83482a109e4f6cd9854ae451215a3c81e1fa9eea9192f7d71e95678b58de7f04
----------------------------------- -- Area: The Colosseum -- NPC: Smithing -- Guild Merchant NPC: Woodworking Guild -- @pos 0 0 0 0 zone 71 ----------------------------------- package.loaded["scripts/zones/The_Colosseum/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require...
Lua
scripts/zones/zones/The_Colosseum/npcs/Smithing.lua
hooksta4/darkstar
gpl-3.0
3,698
133
codeparrot/github-code
8b09d448e4f5ab70617102a55129e84d0616e9a3f56a9896ff55d01fb071b84f
<?php /** * The Template for displaying all single posts. * * @package Paperback */ get_header(); $comment_style = get_option( 'paperback_comment_style', 'click' ); if ( comments_open() ) { $comments_status = 'open'; } else { $comments_status = 'closed'; } ?> <div id="primary" class="content-area"> <main i...
PHP
content/themes/paperback/single.php
JJJ/easttroyweb.com
gpl-3.0
1,876
75
codeparrot/github-code
94994c56c999391827fb78a81426461a6b4cadd28774ae5ae5afe9392476a7f9
""" This module checks for the name of a supported game in the arguments to the api command, and if found it reads the latest patch, printing it to the channel in which it was requested. """ import os.path import typing #I should probably find a way to utilize these dota_synonymns=["dota", "Dota", "dota2", "Dota2"] o...
Python
slackbot/modules/patch/patch.py
ocket8888/slackbot
gpl-3.0
1,502
36
codeparrot/github-code
ea88b4c14d8b77f179332a73c359652a8f9049dd814bddf61572c12b43d6fcb6
module.exports = function(app) { var router = app.get('express').Router(), path = require('path'), renderer = app.get('renderer'), config = app.get('config'), mailer = app.get('mailer'), crypto = require('crypto'), i18nm = new(require('i18n-2'))({ locales:...
JavaScript
modules/auth/module.js
edouardkombo/taracotjs
gpl-3.0
49,116
1,205
codeparrot/github-code
fdf5c590d5b0c769ffc8d50729019ab0c59b47ce72a6cf1ccb3696f88d10c433
// Copyright 2015-2020, University of Colorado Boulder /** * Attachment state machine for all RNA Polymerase molecules. This uses the generic behavior for all but the "attached" * state, and has several sub-states for the attached site. See the code for details. * * @author John Blanco * @author Mohamed Safi * ...
JavaScript
js/common/model/attachment-state-machines/RnaPolymeraseAttachmentStateMachine.js
phetsims/gene-expression-basics
gpl-3.0
5,173
142
codeparrot/github-code
0023b8e0a6cc57e82a33e535c702087dacc58787a83a008107475215fb1119d2
/* * $Id: PresentationObjectComponentList.java,v 1.8 2008/04/24 23:44:14 laddi Exp $ Created on * 14.11.2004 * * Copyright (C) 2004 Idega Software hf. All Rights Reserved. * * This software is the proprietary information of Idega hf. Use is subject to * license terms. */ package com.idega.presentation; impor...
Java
src/java/com/idega/presentation/PresentationObjectComponentList.java
idega/com.idega.core
gpl-3.0
3,130
134
codeparrot/github-code
76f4f8bf467f79db6aa82c5bbdfd12614b925815f81ee00563ea1d205c909791
// $Id: AbstractPropPanelState.java 41 2010-04-03 20:04:12Z marcusvnac $ // Copyright (c) 1996-2007 The Regents of the University of California. All // Rights Reserved. Permission to use, copy, modify, and distribute this // software and its documentation without fee, and without a written // agreement is hereby gr...
Java
workspace/argouml_critics/argouml-app/src/org/argouml/uml/ui/behavior/state_machines/AbstractPropPanelState.java
ckaestne/LEADT
gpl-3.0
5,039
135
codeparrot/github-code
3007b91feff8f6d0322104966945f13e3c3b337ee0b57f4ab50557c47cdba28e
import logging from golem.resource.client import AsyncRequest, async_run from twisted.internet.task import LoopingCall log = logging.getLogger("golem") class Service(object): """ A prototype of Golem service -- an long running "thread" that performs some tasks in background and responds to request from ...
Python
golem/transactions/service.py
Radagast-red/golem
gpl-3.0
1,673
52
codeparrot/github-code
3ec3e4aec7f3fd1db845f4b35209ad52d0c85ce8587d5cca89a99169bd64cdcb
(function() { 'use strict'; angular .module('bd.app') .factory('audioPlayer', audioPlayer); function ResourceNotAvailable(resource) { this.resource = resource; } function floatTime(array) { return 60 * array[0] + array[1] + array[2]/1000; } function audioPlayer($q, context, Observable...
JavaScript
src/js/app/player.service.js
marcel-dancak/drums-and-bass
gpl-3.0
44,561
1,192
codeparrot/github-code
4da2f294c72dd6d68407772dfa5d4444e42b9229cc68e80dc3f28b2509ca3793
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <HTML> <HEAD> <TITLE>Zlib Filters</TITLE> <LINK REL="stylesheet" HREF="../../../../boost.css"> <LINK REL="stylesheet" HREF="../theme/iostreams.css"> </HEAD> <BODY> <!-- Begin Banner --> <H1 CLASS="title">Zlib Filters</H1> <HR CLASS="b...
HTML
dependencies/boost-1.46.0/libs/iostreams/doc/classes/zlib.html
gorkinovich/DefendersOfMankind
gpl-3.0
23,524
403
codeparrot/github-code
c813295d72def0c42cf43192820b19694a35fdb6e108e669e4ab17629b3871f0
/* * Copyright 2011 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "gm.h" #include "SkGradientShader.h" #include "SkLinearGradient.h" namespace skiagm { struct GradData { int fCount; const SkColor* fColors; ...
C++
oss/qt/qt-everywhere-opensource-src-5.9.0/qtwebengine/src/3rdparty/chromium/third_party/skia/gm/gradients.cpp
geminy/aidear
gpl-3.0
34,076
939
codeparrot/github-code
a955b0cd50dfcb470b5482334baf32e8e9757cddd59971b55ee89567d2cc9147
#include "fitz-internal.h" #include "mupdf-internal.h" static inline int iswhite(int ch) { return ch == '\000' || ch == '\011' || ch == '\012' || ch == '\014' || ch == '\015' || ch == '\040'; } /* * magic version tag and startxref */ static void pdf_load_version(pdf_document *xref) { char buf[20]; fz_seek(...
C
src/modules/pdf/mupdf-1.2/pdf/pdf_xref.c
vtorri/ecrin
gpl-3.0
30,136
1,402
codeparrot/github-code
655d6fa8705fa7ef7433afc383bbec08ad35186606674a9bbced4cffeafc2b21
package org.zarroboogs.weibo.loader; import android.content.Context; import android.support.v4.content.AsyncTaskLoader; import org.zarroboogs.weibo.bean.CommentTimeLineData; import org.zarroboogs.weibo.db.task.CommentByMeTimeLineDBTask; /** * User: qii Date: 13-4-10 */ public class CommentsByMeDBLoader extends Asy...
Java
src/org/zarroboogs/weibo/loader/CommentsByMeDBLoader.java
lookwhatlook/WeiboWeiBaTong
gpl-3.0
839
37
codeparrot/github-code
257c8682d546baa9b8294e1dc4ba0ae07dd8ef1963fd3ca37271f633f377d728
/******************************************************************************* * This file is part of DITL. * * * * Copyright (C) 2011-2012 John Whitbeck <john@whitbeck.fr> ...
Java
src/main/java/ditl/WritableStore.java
jwhitbeck/ditl
gpl-3.0
4,878
123
codeparrot/github-code
44bcdca63fffa190c7f6597522e6e74a735e743e2c41bb08f5439b42249048c5
angular.module('invoicing', []) // change {{ to {$ for angularjs .config(function($interpolateProvider) { $interpolateProvider.startSymbol('{$'); $interpolateProvider.endSymbol('$}'); }) // The default logo for the invoice .constant('DEFAULT_LOGO', 'images/metaware_logo.png') // The invoice displayed whe...
JavaScript
tabulator/contest/static/js/main.js
azuer88/tabulator
gpl-3.0
5,805
240
codeparrot/github-code
4de71c5858086ae981d299e8107cd8c82d44f1ff5b436c2705b9d7af04fa9926
// // Copyright (c) 2014 Scott Ellis and Richard Barnett // // This file is part of SyntroNet // // SyntroNet is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at...
C
SyntroViewGS/DisplayStats.h
robotage/SyntroApps
gpl-3.0
1,509
63
codeparrot/github-code
77270360ad1e39b37cdbad8f9bcad149342c50af21a2834cfe9c4d099181b264
<?php /* Json Data Binding Library -- MySQLI data source for php Copyright Longflow Enterprises Ltd 2011 Provide PHP interface between MySQL and PHP Json Data Binding. It fetches MySql data and converts to PHP Json objects conforming to Json Data Binding standard. It updates MySql database using data ...
PHP
Source/LimnorMono/bin/Debug/DistributeIIS/libphp/jsonSource_mySqlI.php
Limnor/Limnor-Studio-Source-Code
gpl-3.0
15,829
646
codeparrot/github-code
482133022e27e11715c81310077b74c3a7382cb963a6911e6ffb359ef3fe5d31
/* * Copyright (C) 2012 Thorsten Liebig (Thorsten.Liebig@gmx.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 version. * * T...
C++
FDTD/engine_cylinder.cpp
thliebig/openEMS
gpl-3.0
1,180
39
codeparrot/github-code
f47f4e36c840383be4fa1c96756f4f6ab655f0bf8931dbe4376c6f25f05108bf
<?php defined('MOODLE_INTERNAL') || die; if ($ADMIN->fulltree) { if (false) { //TODO abertranb confirmar que sigui necessari //delete all rcontent my_books out add entries if ($module = $DB->get_record('modules', array('name' => 'rcontent'), 'id')){ if ($cs = $DB->get_record('...
PHP
blocks/my_books/settings.php
projectestac/agora_moodle2
gpl-3.0
1,453
32
codeparrot/github-code
d74a7717ef1d7c2099245dec0b18680623f39b194a240e7b0b9be34b34a2afb2
/** * Code Editor for the Cloud9 IDE * * @copyright 2010, Ajax.org B.V. * @license GPLv3 <http://www.gnu.org/licenses/gpl.txt> */ define(function(require, exports, module) { var ide = require("core/ide"); var ext = require("core/ext"); var console = require("ext/console/console"); var editors = require("ext/ed...
JavaScript
client/ext/debugger/debugger.js
auser/cloud9
gpl-3.0
8,027
241
codeparrot/github-code
dfffcd57787f0875967e605742c34cc1cb28fa363545cffdf38e9d35ad244b87
/* * @(#) IrSensorRenderModel.cpp 1.0 Jan 19, 2016 * * Joshua Auerbach (joshua.auerbach@epfl.ch) * * The ROBOGEN Framework * Copyright © 2012-2016 Joshua Auerbach * * Laboratory of Intelligent Systems, EPFL * * This file is part of the ROBOGEN Framework. * * The ROBOGEN Framework is free software: you c...
C++
src/render/components/IrSensorRenderModel.cpp
jauerb/robogen
gpl-3.0
2,629
105
codeparrot/github-code
51be621e53c7d9b156875417e7a6a9415d0ecb8ee77dbd105649e1fcf627839d
package pneumaticCraft.common.thirdparty.hydraulicraft; import k4unl.minecraft.Hydraulicraft.api.HydraulicBaseClassSupplier; import k4unl.minecraft.Hydraulicraft.api.IBaseClass; import k4unl.minecraft.Hydraulicraft.api.IHydraulicGenerator; import k4unl.minecraft.Hydraulicraft.api.PressureNetwork; import net.minecraft....
Java
thirdPartyNotUsed/hydraulicraft/TileEntityPneumaticPump.java
islanderz/pneumaticcraft
gpl-3.0
6,055
179
codeparrot/github-code
2e8aed6b07efab3bc103641b97545a73cf4a0e958b0e3f9c792752e711b5a0d8
<?php /** * Quack Compiler and toolkit * Copyright (C) 2015-2017 Quack and CONTRIBUTORS * * This file is part of Quack. * * Quack 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...
PHP
src/ast/stmt/FnStmt.php
quack/quack
gpl-3.0
3,818
113
codeparrot/github-code
4daadf44d8cfda3e3bb13a9913e383f2f1564f72c81f521293fdedd834fa94dd
# -*- coding: UTF-8 -*- """ Lastship Add-on (C) 2019 Credits to Lastship, Placenta and Covenant; our thanks go to their creators 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...
Python
resources/lib/sources/de/moviedream.py
lastship/plugin.video.lastship
gpl-3.0
5,572
162
codeparrot/github-code
2e6a28053c5371198bab3d75d6053161a1bbebfb4ea1e789209bc5d15a5bd42b
#pragma region Copyright (c) 2014-2017 OpenRCT2 Developers /***************************************************************************** * OpenRCT2, an open source clone of Roller Coaster Tycoon 2. * * OpenRCT2 is the work of many authors, a full list can be found in contributors.md * For more information, visit h...
C
src/openrct2/audio/audio.h
gDanix/OpenRCT2
gpl-3.0
6,544
265
codeparrot/github-code
4038fd781ddb2d4f2e4f11481e6630beb52502c2dbb36e357543f1fbbd520a79
<?php /* * Created on 6-feb-06 by Daniele Palmas and Guido Porruvecchio * * To change the template for this generated file go to * Window - Preferences - PHPeclipse - PHP - Code Templates */ class StringParser { var $pstring; function __construct(){ $this->pstring = NULL; } function setString($perm...
PHP
include/care_api_classes/StringParser.php
care2x/2.7
gpl-3.0
502
32
codeparrot/github-code
72f8f77c4c7526e59c75eec22789f44c452ae36c0356025b581e712c094aae8d
#ifndef CPPUNIT_TESTTEST_H #define CPPUNIT_TESTTEST_H #ifndef CPPUNIT_TESTCASE_H #include "TestCase.h" #endif #ifndef CPPUNIT_TESTSUITE_H #include "TestSuite.h" #endif #ifndef CPPUNIT_TESTRESULT_H #include "TestResult.h" #endif #ifndef CPPUNIT_TESTCALLER_H #include "TestCaller.h" #endif class TestTest : public ...
C
CppUnit/samples/TestTest.h
jonr925/SonATA
gpl-3.0
2,812
122
codeparrot/github-code
4fd09c64cbdb5c8c16f5e5d92a784d0af9161c6bb0bcf55e802ac9726f345b05
/* * Copyright (C) 2014 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except * in compliance with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable ...
Java
java/android-sdk-linux_r24.4.1_src/sources/android-23/android/support/v17/leanback/widget/ListRowHoverCardView.java
syslover33/ctank
gpl-3.0
2,658
87
codeparrot/github-code
dd6deaf574fff7012b712eb9ff60c607a4386051b83cee273c2542e3251a41a8
-- Copyright 2008 Steven Barth <steven@midlink.org> -- Licensed to the public under the Apache License 2.0. local ipc = require "luci.ip" m = Map("dhcp", translate("DHCP and DNS"), translate("Dnsmasq is a combined <abbr title=\"Dynamic Host Configuration Protocol" .. "\">DHCP</abbr>-Server and <abbr title=\"Domain...
Lua
luci-mod-admin-full/luasrc/model/cbi/admin_network/dhcp.lua
Tikiwinkie/overthebox-feeds
gpl-3.0
8,949
269
codeparrot/github-code
e53ff87fb5c3497d421cf4a3ece2f35a7b0cbbecea899194ffd423c11a82f141
package io.musician101.musicianlibrary.java.minecraft.sponge.plugin; import io.musician101.musicianlibrary.java.minecraft.common.config.AbstractConfig; import java.util.Optional; import javax.annotation.Nonnull; import org.apache.logging.log4j.Logger; import org.spongepowered.plugin.PluginContainer; public abstract c...
Java
sponge/src/main/java/io/musician101/musicianlibrary/java/minecraft/sponge/plugin/AbstractSpongePlugin.java
Musician101/LibraryOfUsefulClasses
gpl-3.0
872
36
codeparrot/github-code
60485e942c9bb3ba79be79e26906ebddcaa22093e502bed9e8b35ad8e5ad9897
<?php /* Copyright (C) 2001-2004 Rodolphe Quiedeville <rodolphe@quiedeville.org> * Copyright (C) 2003 Eric Seigne <erics@rycks.com> * Copyright (C) 2004-2016 Laurent Destailleur <eldy@users.sourceforge.net> * Copyright (C) 2005-2012 Regis Houssin <regis.houssin@capnetworks.com> * * This progr...
PHP
htdocs/comm/action/rapport/index.php
tomours/dolibarr
gpl-3.0
7,101
214
codeparrot/github-code
c1d57cebdbea447c5663249bd47492e392782246dd1094969782c8202a52b0fa
from couchpotato.core.event import addEvent from couchpotato.core.logger import CPLog from couchpotato.core.notifications.base import Notification import os import subprocess log = CPLog(__name__) class Synoindex(Notification): index_path = '/usr/syno/bin/synoindex' def __init__(self): super(Synoin...
Python
couchpotato/core/notifications/synoindex/main.py
coolbombom/CouchPotatoServer
gpl-3.0
1,093
38
codeparrot/github-code
fa2af69665ad26b8f38c5013d2ae4f0d9cde2c9275fc4ffe6fd28f9bec60871d
/* * Pixel Dungeon * Copyright (C) 2012-2014 Oleg Dolya * * 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. * * ...
Java
src/com/watabou/mofoodpd/actors/hero/HeroAction.java
sloanr333/opd-mofood
gpl-3.0
2,019
90
codeparrot/github-code
e869c4e467db362287143d7cad7f90b4644e0f4e09b32a13c90fe9b49428c806
/** * Displays keywords for a crash. */ angular.module('PartyCrasherApp') .directive('pcSummary', function($http) { function link(scope, element, _attrs) { /* When database-id has stabilized, do a request. */ scope.summary = null; scope.$watch('href', function (value) { if (value === undefined) { ...
JavaScript
ui/app/scripts/directives/pc-summary.js
orezpraw/partycrasher
gpl-3.0
2,951
102
codeparrot/github-code
9cb5319cea61a8298d3c70421bcfd7af2e1904c228c22beacd077a83b1d2d18b
; The CMD file. ; ; Two parts: 1. Command definition and 2. State entry ; (state entry is after the commands def section) ; ; 1. Command definition ; --------------------- ; Note: The commands are CASE-SENSITIVE, and so are the command names. ; The eight directions are: ; B, DB, D, DF, F, UF, U, UB (all...
Batchfile
BluexGear-Win-TestVersion/chars/XMVCRagnaX/XMVCRagnaX.cmd
StateX/BluexGear
gpl-3.0
70,688
2,581
codeparrot/github-code
d484f54ffaab20256eb6a00ba3cbb69c09e5361199e6a09aa14da421d646859b
<?php if (!defined('KT_KIWITREES')) { header('HTTP/1.0 403 Forbidden'); exit; } class westvlaanderen_plugin extends research_base_plugin { static function getName() { return 'West-Vlaanderen Database'; } static function getPaySymbol() { return false; } static function getSearchArea() { return 'BEL'; }...
PHP
modules_v4/research_links/plugins/westvlaanderen.php
kiwi3685/kiwitrees
gpl-3.0
817
42
codeparrot/github-code
1862985ad631a2007e13bb487f5ffd01bacd1177ca05c894760f764ee964bcd4
import type { MockedRequest } from '../../../../test/server' import { server, rest } from '../../../../test/server' import * as auth from '../auth/auth' import { createUrlWithToken, fetchProxy, fetchWithToken } from './api' import { AuthError, ForbiddenError, NotFoundError } from './customError' jest.mock('../auth/aut...
TypeScript
src/shared/services/api/api.test.ts
DatapuntAmsterdam/atlas_prototype
mpl-2.0
5,872
214
codeparrot/github-code
4b3bba6490b666c145eb39b50a5ef38514b83388383081ac949f35f090006f1c
/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ //! A gecko snapshot, that stores the element attributes and state before they //! change in order to properly cal...
Rust
components/style/gecko/snapshot.rs
sadmansk/servo
mpl-2.0
7,712
217
codeparrot/github-code
2794a6de4f9253ceb53768caa7a54a225de648ffb075f3a5aed1303ba7d68227
/* global describe, before, it */ module.exports = function (qb) { var assert = require("assert"); var tests = [{ page: 2, expected: 10 }, { page: 2000, expected: 19990 }, { page: "2", expected: 10 }, { page: "2000", expected: 19990 }, { page: NaN, expected: 0 }, ...
JavaScript
test/queryBuilder/search/page.unit.js
mozilla/MakeAPI
mpl-2.0
1,351
68
codeparrot/github-code
c88c187787567de1ab04af073060f8d814ffec88d96e2ed1914e59d2ac582f79
var LIB_NAME = 'bem-components', DEFAULT_LANGS = ['ru', 'en'], BEM_TEMPLATE_ENGINE = process.env.BEM_TEMPLATE_ENGINE || 'BH', fs = require('fs'), path = require('path'), naming = require('bem-naming'), techs = require('./techs'), bhOptions = { jsAttrName : 'data-bem', jsAttrS...
JavaScript
.enb/make.js
just-boris/bem-components
mpl-2.0
18,412
471
codeparrot/github-code
819d2f1c606a491c4fe680310cd7fa107529e84beeb0127a42d14e05425b1cce
package vault import ( "bytes" "encoding/json" "errors" "fmt" "log" "net/url" "os" "strings" "sync" "time" "github.com/armon/go-metrics" "github.com/hashicorp/vault/audit" "github.com/hashicorp/vault/helper/mlock" "github.com/hashicorp/vault/logical" "github.com/hashicorp/vault/physical" "github.com/h...
GO
vault/core.go
justincampbell/vault
mpl-2.0
40,561
1,476
codeparrot/github-code
39aec7c0e4e2b06bd563d0817fde67b603a62be7d473d7433b782b830e5d6351
/* The following code is the modified part of the libiconv * available at http://www.gnu.org/software/libiconv/ * under the terms of the GNU Lesser General Public License v. 2 * http://www.gnu.org/licenses/lgpl.html */ /* * Copyright (C) 1999-2001 Free Software Foundation, Inc. * This file is part of the GNU LIB...
C
src/contrib/libs/libiconv/mac_arabic.h
evilmucedin/tomita-parser
mpl-2.0
5,758
139
codeparrot/github-code
2bab032549a66699e522ebad4dd49fc13e79ec1cb15eb21103c7ec7ebd45952f
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--NewPage--> <HTML> <HEAD> <TITLE> ViewFieldsRecord (POI API Documentation) </TITLE> <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../../stylesheet.css" TITLE="Style"> <SCRIPT type="text/ja...
HTML
poi-3.13/docs/apidocs/org/apache/poi/hssf/record/pivottable/ViewFieldsRecord.html
claywebb/java-bulletin
mpl-2.0
19,243
403
codeparrot/github-code
57274fc4ab5b485732bd02fff214121e164dade30d25d8a121d5f018e44b5bee
/** Activity base class **/ 'use strict'; var ko = require('knockout'); var NavAction = require('../viewmodels/NavAction'); var NavBar = require('../viewmodels/NavBar'); require('../utils/Function.prototype._inherits'); var showConfirm = require('../modals/confirm').show; var insertCss = require('insert-css'); /...
JavaScript
app/source/js/components/Activity.js
loconomics/loconomics
mpl-2.0
19,041
545
codeparrot/github-code
d5837826e250cf1e4ce6b309799ba49be3172a4d56d5d0f473ff72c7c7aac98a
package org.jcodec.codecs.common.biari; import java.io.IOException; import java.nio.ByteBuffer; /** * This class is part of JCodec ( www.jcodec.org ) This software is distributed * under FreeBSD License * * H264 CABAC M-encoder * * @author Jay Codec * */ public class MEncoder { private ByteBuffer out; ...
Java
src/org/jcodec/codecs/common/biari/MEncoder.java
OpenSpaceDev/OpenSpaceDVR
mpl-2.0
3,758
164
codeparrot/github-code
98f786ca9e800c8e7763f79b91dd7fe2446cdbd5a0ce37c7631015a5d508ead9
/******************************************************************************* * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. ************************************...
Java
src/lbms/plugins/mldht/kad/utils/PackUtil.java
the8472/mldht
mpl-2.0
2,751
82
codeparrot/github-code
17a43cceb375ee0bf90509c67e73bd06665625e9184ab16adc24cb4aae5da455
/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- * vim: set ts=8 sts=4 et sw=4 tw=99: * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ ...
C
js/src/jsatom.h
kostaspl/SpiderMonkey38
mpl-2.0
6,110
229
codeparrot/github-code
f49ef7abafd978d724a0a7fc628f2d55c6620929270f92ce14d56f531af21f99
import { Component, Host, Input, forwardRef, ContentChild, AfterContentInit } from '@angular/core'; import { source, ProjectionLike, TileUrlFunctionType, format, tilegrid } from 'openlayers'; import { LayerVectorTileComponent } from '../layers'; import { FormatComponent } from '../formats'; import { TileGridComponent }...
TypeScript
src/components/sources/vectortile.component.ts
karomamczi/ngx-openlayers
mpl-2.0
1,640
44
codeparrot/github-code
f8139d320e1cba9c440c9d5688f37e2228bb0759d86fb1f0fd34ae3b2500d756
/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ package etomica.graph.engine.impl; import etomica.graph.engine.Parser.Assignment; import etomica.graph.engine.Par...
Java
etomica-graph/src/main/java/etomica/graph/engine/impl/AssignmentImpl.java
ajschult/etomica
mpl-2.0
788
31
codeparrot/github-code
75d867b8e992a24b94922093cbb65f00922a2fe7e16392c3bcfd2c71b5c9940a
<?php /** * Kodekit Component - http://www.timble.net/kodekit * * @copyright Copyright (C) 2011 - 2016 Johan Janssens and Timble CVBA. (http://www.timble.net) * @license MPL v2.0 <https://www.mozilla.org/en-US/MPL/2.0> * @link https://github.com/timble/kodekit-users for the canonical source repository */ names...
PHP
component/users/controller/user.php
timble/kodekit-platform
mpl-2.0
1,528
54
codeparrot/github-code
53d9fa9f38aeca31dd6d78c786d528926cd6a3c24dd4845e9846e09e80fe8768
/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ //! The [`@font-face`][ff] at-rule. //! //! [ff]: https://drafts.csswg.org/css-fonts/#at-font-face-rule #![deny(m...
Rust
components/style/font_face.rs
abhiQmar/servo
mpl-2.0
10,195
319
codeparrot/github-code
5213c925c9a1900eff9930aba9482633f0f0d1dff709f981a84d4ea937c86591
package pureconfig.module.magnolia import scala.collection.JavaConverters._ import scala.language.higherKinds import com.typesafe.config.{ConfigFactory, ConfigRenderOptions, ConfigValueFactory} import org.scalacheck.Arbitrary import pureconfig.ConfigConvert.catchReadError import pureconfig._ import pureconfig.error....
Scala
modules/magnolia/src/test/scala/pureconfig/module/magnolia/ProductConvertersSuite.scala
pureconfig/pureconfig
mpl-2.0
7,190
169
codeparrot/github-code
d354f56f045a894068f52bd51f5776db11bdff23c35803742cf55e636851220c
'use strict'; /* global SumoDB, User, Utils, nunjucksEnv */ (function(exports) { var QUESTION_LIST_TMPL = 'question_list_day.html'; var my_questions_list_container; var active_questions_list_container; var load_more_my_questions_button; var load_more_active_questions_button; var last_refreshed; /** ...
JavaScript
app/js/questions_controller.js
mozilla/buddyup
mpl-2.0
7,018
226
codeparrot/github-code
cc7d4371b9287f08b462e864ccdd79d49dfbd27e433998cc166fcb584c56e531
package cassandra import ( "strings" "time" "github.com/gocql/gocql" multierror "github.com/hashicorp/go-multierror" "github.com/hashicorp/vault/api" "github.com/hashicorp/vault/builtin/logical/database/dbplugin" "github.com/hashicorp/vault/helper/strutil" "github.com/hashicorp/vault/plugins" "github.com/has...
GO
plugins/database/cassandra/cassandra.go
Caiyeon/vault
mpl-2.0
4,367
177
codeparrot/github-code
ccc04afa5e9e2c56c49b03a892a164b392703a9a1df641055936812ba8dbc419
/* * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ /* * Copyright (c) 2014, Joyent, Inc. */ var util = require('util'); var Validator = require('../lib/schem...
JavaScript
schema/pwdpolicy.js
arekinath/sdc-ufds
mpl-2.0
1,041
50
codeparrot/github-code
442d0efe471046296632a79de0a6522d8b96aa1cfecf8cf64c31f59878cb10b5
module.exports = Z.Layout.extend({ el: '#application', keepEl: true, template: require('signin/templates/layout'), regions: { form: require('signin/regions/form'), invitation: require('core/regions/invitation') }, elements: { page: 'div.signin' }, render: function(hasInvite) { var t...
JavaScript
app/signin/layouts/main.js
jessamynsmith/boards-web
agpl-3.0
1,406
61
codeparrot/github-code
67ca241285e757e716039da36c83f52fc0fcdc31a0923bd484df4f562f7cf8cb
# -*- coding: utf-8 -*- # vim: tabstop=4 shiftwidth=4 softtabstop=4 # # Copyright (C) 2014-2016 GEM Foundation # # OpenQuake is free software: you can redistribute it and/or modify it # under the terms of the GNU Affero General Public License as published # by the Free Software Foundation, either version 3 of the Licen...
Python
openquake/hazardlib/gsim/boore_atkinson_2011.py
rcgee/oq-hazardlib
agpl-3.0
3,604
103
codeparrot/github-code
649b13b0bfd2c20ca0c44819ec812ee4e496812f8e11b560a1e370dd90022c88
/* * Backtrace.cpp * * Copyright (C) 2020 by RStudio, PBC * * Unless you have received this program directly from RStudio pursuant * to the terms of a commercial license agreement with RStudio, then * this program is licensed to you under the terms of version 3 of the * GNU Affero General Public License. This p...
C++
src/cpp/core/Backtrace.cpp
JanMarvin/rstudio
agpl-3.0
3,071
115
codeparrot/github-code
1cc86dd9f30a7fe8b3296aedd3f1027d1d1044926fa6df506427649a37591aab
import _ from '_'; import ko from 'ko'; import {pInt, settingsSaveHelperSimpleFunction} from 'Common/Utils'; import {Capa, SaveSettingsStep} from 'Common/Enums'; import {i18n, trigger as translatorTrigger} from 'Common/Translator'; import {capa} from 'Storage/Settings'; import {showScreenPopup} from 'Knoin/Knoin'; ...
JavaScript
dev/Settings/User/Security.js
Oygron/rainloop-webmail
agpl-3.0
1,921
58
codeparrot/github-code
d60447a363269ca6beb5b5192d75daa688c21d7a9a0d211ff4f0e6f4e911cae3
/******************************************************************************* * HELIUM V, Open Source ERP software for sustained success * at small and medium-sized enterprises. * Copyright (C) 2004 - 2015 HELIUM V IT-Solutions GmbH * * This program is free software: you can redistribute it and/or modify * it...
Java
src/com/lp/client/projekt/ReportProjekt.java
heliumv/lpclientpc
agpl-3.0
4,310
133
codeparrot/github-code
5d814a6d779532a32c842be6c814850e01f59a79d016724e4494be3572f8ed2e
/* * Copyright (C) 2015 ScyllaDB */ /* * This file is part of Scylla. * * Scylla is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later...
C++
sstables/key.hh
fastio/pedis
agpl-3.0
4,824
163
codeparrot/github-code
3ed42a5d6d0429112bff9b8292fc5b0e273431912e79fe647aa8b7db21a1bd21
#pragma once struct session_id_type { using id_value_type = uint32_t; // GEN INTROSPECTOR struct session_id_type id_value_type value = static_cast<id_value_type>(-1); // END GEN INTROSPECTOR static auto dead() { return session_id_type(static_cast<id_value_type>(0)); } static auto first() { return session_...
C
src/game/modes/session_id.h
TeamHypersomnia/Augmentations
agpl-3.0
960
54
codeparrot/github-code
bbab0e00730f11a844bbccfd45a8a215c56a9c17b83983b627ad871daf841487
/********************************************************************************* * SugarCRM Community Edition is a customer relationship management program developed by * SugarCRM, Inc. Copyright (C) 2004-2012 SugarCRM Inc. * * This program is free software; you can redistribute it and/or modify it under * the ...
JavaScript
jssource/src_files/modules/Meetings/duration_dependency.js
jmertic/sugarplatformdemo
agpl-3.0
9,800
316
codeparrot/github-code
35a923be8ef52ba2d4be3c12facb3ef54c5045ed5a00913c09e6bbc0f13d160a
#include "config.hpp" #include <iostream> #include <boost/filesystem.hpp> #include <boost/lexical_cast.hpp> #include <libconfig.h++> #include "echo.hpp" namespace obelisk { void load_nodes(const libconfig::Setting& root, config_type& config) { try { const libconfig::Setting& setting = root["nodes"]; ...
C++
src/worker/config.cpp
BWallet/obelisk
agpl-3.0
4,394
134
codeparrot/github-code
180cf3d399fafcbd635018ecf268b0f6b41bedf25002e4eb4a465a76e6065332
import * as db from '../common/database'; export const name = 'OAuth 2.0 Token'; export const type = 'OAuth2Token'; export const prefix = 'oa2'; export const canDuplicate = false; export function init () { return { parentId: null, refreshToken: null, accessToken: null, expiresAt: null, // Should be ...
JavaScript
app/models/o-auth-2-token.js
PavanKu/insomnia
agpl-3.0
1,142
59
codeparrot/github-code
d797ced9ad925a3cf1f3e8c9b8bfd8d461aadb7ebb3e90f60cafd5c870bd9746
using System; using System.Threading; using System.Threading.Tasks; namespace Tgstation.Server.Host.Core { /// <summary> /// Async lock context helper. /// </summary> public sealed class SemaphoreSlimContext : IDisposable { /// <summary> /// Asyncronously locks a <paramref name="semaphore"/>. /// </summary...
C#
src/Tgstation.Server.Host/Core/SemaphoreSlimContext.cs
tgstation/tgstation-server-tools
agpl-3.0
2,332
76
codeparrot/github-code
c046817473276b061e9062e6bb26bc20f63711098586c2f6553e7c2e251f6abf
// =================================================================================================== // _ __ _ _ // | |/ /__ _| | |_ _ _ _ _ __ _ // | ' </ _` | | _| || | '_/ _` | // |_|\_\__,_|_|\__|\_,_|_| \_...
Java
src/main/java/com/kaltura/client/enums/DeliveryProfileAkamaiHdsOrderBy.java
kaltura/KalturaGeneratedAPIClientsJava
agpl-3.0
2,520
73
codeparrot/github-code
eccf3d122ad4c6b587f22e940ba8bd2e84e23f7c2ccfcf6109e53c2381bfb1fd
//############################################################################# //# # //# Copyright (C) <2015> <IMS MAXIMS> # //# ...
Java
Source Library/openmaxims_workspace/Assessment/src/ims/assessment/forms/userassessmentinstantiationwithcomponent/ConfigFlags.java
IMS-MAXIMS/openMAXIMS
agpl-3.0
2,768
58
codeparrot/github-code
eeb9f84b689146c59213f4a559be70134a5a683d4a8da274f35dd3518a37cc62
<?php class ShowbuilderController extends Zend_Controller_Action { public function init() { $ajaxContext = $this->_helper->getHelper('AjaxContext'); $ajaxContext->addActionContext('schedule-move', 'json') ->addActionContext('schedule-add', 'json') ->addA...
PHP
airtime_mvc/application/controllers/ShowbuilderController.php
Lapotor/libretime
agpl-3.0
14,630
316
codeparrot/github-code
dc25ac47ffda4c96092df98cf69a326a0bddd137dc6227724e9a729ea21597fa
// NeL - MMORPG Framework <http://dev.ryzom.com/projects/nel/> // Copyright (C) 2010 Winch Gate Property Limited // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as // published by the Free Software Foundation, either version 3 of...
C++
nel/src/3d/driver/opengl/driver_opengl.cpp
KostasLifeboy/RyzomCore
agpl-3.0
85,982
2,948
codeparrot/github-code
fd0a752ccfed38cff50359421aae81fa366665eda385c0f0fef7f847f2ae02de
<?php define('UPLOAD_ROOT', dirname(__FILE__)); if(file_exists('../config/config.php')) { require_once '../config/config.php'; } else { die('Failed to include config file.'); } // if $log_data = file_exists('db2fs.log') ? file_get_contents('db2fs.log') : "Converted files from database to f...
PHP
tools/db2fs.php
phpfreak/Project-Pier
agpl-3.0
3,973
102
codeparrot/github-code
ad82f41ddc8f15e60b355cb4ec23e0bd47fea324cf7a38586afac38522a94551
/* * RapidMiner * * Copyright (C) 2001-2013 by Rapid-I and the contributors * * Complete list of developers available at our web site: * * http://rapid-i.com * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as pub...
Java
src/com/rapidminer/gui/new_plotter/engine/jfreechart/link_and_brush/listener/LinkAndBrushSelection.java
aborg0/RapidMiner-Unuk
agpl-3.0
3,883
133
codeparrot/github-code
526accbbd64447be6c06dc9b46eeb37dfe786b17f32d52a1461c8eb55e0d8236
//############################################################################# //# # //# Copyright (C) <2015> <IMS MAXIMS> # //# ...
Java
Source Library/openmaxims_workspace/DomainObjects/src/ims/core/clinical/domain/objects/ClinicalNotes.java
FreudianNM/openMAXIMS
agpl-3.0
32,038
948
codeparrot/github-code
f97e6dcdcf589cb1b1f4a4b1db437176c2cca64e3af4589f45b8175060516a50
/* * Copyright (C) 2016 ScyllaDB */ /* * This file is part of Scylla. * * Scylla is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later...
C++
utils/anchorless_list.hh
raphaelsc/scylla
agpl-3.0
4,524
153
codeparrot/github-code
b08b77b2bc2d67319cd22f2a4412b622162a7248c579a1dea1ce5fe20e8413f7
import * as React from 'react'; import { Modal } from 'react-bootstrap'; interface IOncoKbFeedbackProps { showFeedback: boolean; hugoSymbol?: string; alteration?: string; userEmailAddress?: string; handleFeedbackClose: () => void; } export default class OncoKbFeedback extends React.Component< ...
TypeScript
packages/react-mutation-mapper/src/component/oncokb/OncoKbFeedback.tsx
cBioPortal/cbioportal-frontend
agpl-3.0
1,884
55
codeparrot/github-code
320031b8b1ffb63982cf3db717d142ef41497192ac96ad0330ae2d3ff44ed3d8
// Copyright 2012, 2013 Canonical Ltd. // Licensed under the AGPLv3, see LICENCE file for details. package main import ( "fmt" "launchpad.net/gnuflag" "launchpad.net/juju-core/cmd" "launchpad.net/juju-core/store" ) // ConfigCommand defines a command which requires a YAML config file. type ConfigCommand struct ...
GO
cmd/charm-admin/config.go
cloudbase/juju-core
agpl-3.0
863
41
codeparrot/github-code
baa4e09a5fe3aed9050dbba29d776fa67a6564af7203f71b5484e7b3ee636300
/******************************************************************************* * HELIUM V, Open Source ERP software for sustained success * at small and medium-sized enterprises. * Copyright (C) 2004 - 2015 HELIUM V IT-Solutions GmbH * * This program is free software: you can redistribute it and/or modify * it...
Java
src/com/lp/server/bestellung/fastlanereader/generated/FLRBestellungart.java
erdincay/ejb
agpl-3.0
3,350
103
codeparrot/github-code
ce2e3d2626f9c9d60dabf75139656d4d876041afd2e221b739ad1ae1dae21b46
/* * Kuali Coeus, a comprehensive research administration system for higher education. * * Copyright 2005-2016 Kuali, Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Software Foundation, eithe...
Java
coeus-it/src/test/java/org/kuali/coeus/s2sgen/impl/generate/support/AttachmentsBaseGeneratorTest.java
UniversityOfHawaiiORS/kc
agpl-3.0
3,164
72
codeparrot/github-code
fc7105892a928cebcae6630ab229f43dc8530f5a439c64e6352a7bb953a5ae9a
#!/usr/bin/env python # -*- coding: utf8 -*- # ***************************************************************** # ** PTS -- Python Toolkit for working with SKIRT ** # ** © Astronomical Observatory, Ghent University ** # ***************************************************************** ##...
Python
core/prep/sphconvert.py
SKIRT/PTS
agpl-3.0
6,913
150
codeparrot/github-code
f5ee0e0bc41518296f4e50b5aa9cab74cba91a439a570786d8281623b9ff434b
#!/usr/bin/env node /** * Medication Order RPC Prototype: * ORWDX SAVE to save an Order calls SAVE^ORWDX * ORWDX SEND to sign an Order calls SEND^ORWDX * * Note: RPC testing to prepare for VDM, seeing what works * including what isn't checked (invalid refs, missing values ...) * * * * This bas...
JavaScript
prototypes/pharmacy/med_dep/rpcMakeMedsOrderSign.js
vistadataproject/VDM
agpl-3.0
17,566
433
codeparrot/github-code
93661ff1684434115ca8ad5595ba20acde45f63e356fbef33807ef00551408a3
jQuery(function() { $('div#services ul.actions').hide(); /*$('div#services ul li a').each(function(){ $(this).click(function(){ // general visibility plays - hiding lists, showing others etc.. parent_li = $(this).parent('li.service'); if (parent_li.html()) { actions = parent_li.find('ul...
JavaScript
package/app/app/api_v3/web/testmeDoc/js/main.js
richhl/kalturaCE
agpl-3.0
4,058
121
codeparrot/github-code
8458c587e2ded1808665c6256190f2b3de4ad60a5db98c60156ef895e3680a52
#include <stdlib.h> #include <string.h> #include <stdio.h> #include "preemption_vulnerability.h" char* OpenAPI_preemption_vulnerability_ToString(OpenAPI_preemption_vulnerability_e preemption_vulnerability) { const char *preemption_vulnerabilityArray[] = { "NULL", "NOT_PREEMPTABLE", "PREEMPTABLE" }; size_t si...
C
lib/sbi/openapi/model/preemption_vulnerability.c
acetcom/nextepc
agpl-3.0
1,170
31
codeparrot/github-code
d325941b3b31d0559c631b53b493d6bfe79bcd18265c3267c3a6ffc5a06c590c
/* * Copyright (C) 2011-2012 DarkCore <http://www.darkpeninsula.eu/> * Copyright (C) 2011-2012 Project SkyFire <http://www.projectskyfire.org/> * Copyright (C) 2008-2012 TrinityCore <http://www.trinitycore.org/> * Copyright (C) 2005-2012 MaNGOS <http://getmangos.com/> * This program is free software; you can redis...
C++
src/server/game/Achievements/AchievementMgr.cpp
Darkpeninsula/Darkcore
agpl-3.0
37,792
947
codeparrot/github-code
8099e32d2f844e7f1f523d5978240799ebfbec6bc2e34f61040ecbf44da49bc0
<?php declare(strict_types=1); namespace PhpList\Core\Domain\Repository\Subscription; use PhpList\Core\Domain\Model\Messaging\SubscriberList; use PhpList\Core\Domain\Model\Subscription\Subscriber; use PhpList\Core\Domain\Model\Subscription\Subscription; use PhpList\Core\Domain\Repository\AbstractRepository; /** * R...
PHP
src/Domain/Repository/Subscription/SubscriptionRepository.php
phpList/phplist4-core
agpl-3.0
1,008
37
codeparrot/github-code
bf114eaf76d4039b95f59b433bfafa864ac1c4a58e355e188c4c18c6e2c6e540
/******************************************************************************* * HELIUM V, Open Source ERP software for sustained success * at small and medium-sized enterprises. * Copyright (C) 2004 - 2015 HELIUM V IT-Solutions GmbH * * This program is free software: you can redistribute it and/or modify * it...
Java
src/com/lp/server/stueckliste/service/StklImportResult.java
erdincay/ejb
agpl-3.0
3,729
126
codeparrot/github-code
bd6228c3ec7e70bd95b79fe1cb4a3a0f90cc4f87c9914d19c978b9fcd00d59a3
import logging import sys import signal import click from contextlib import contextmanager from datetime import datetime from flask import current_app from udata.commands import cli, IS_TTY from udata.search import es, adapter_catalog from elasticsearch.helpers import reindex as es_reindex, streaming_bulk log = ...
Python
udata/search/commands.py
opendatateam/udata
agpl-3.0
8,039
219
codeparrot/github-code
8209543ece272ee7cbf1d8afb9a8eccc0e303c1b38232bdec304b738beea220c
import React from 'react'; import PropTypes from 'prop-types'; import { defineMessages, injectIntl } from 'react-intl'; import { EmojiPicker as EmojiPickerAsync } from '../../ui/util/async-components'; import Overlay from 'react-overlays/lib/Overlay'; import classNames from 'classnames'; import ImmutablePropTypes from ...
JavaScript
app/javascript/mastodon/features/compose/components/emoji_picker_dropdown.js
anon5r/mastonon
agpl-3.0
11,472
380
codeparrot/github-code
9235fce8a33b72f7ebb9d5a3d1f5e662473e7e87837560ca303f45c13e9df36f
// Copyright 2011-2012 Paulo Augusto Peccin. See licence.txt distributed with this file. package org.javatari.atari.network; import java.io.IOException; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import org.javatari.atari.cartridge.Cartridge; import org.javatari.atari.conso...
Java
javatari/src/org/javatari/atari/network/ClientConsole.java
admazzola/javatari-deeplearn
agpl-3.0
6,265
214
codeparrot/github-code
5621abb75a658b6c2ef49afbc5836df0b09f1653d809d24953586162a8c5b060
/**************************************************************************** ** ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). ** All rights reserved. ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** This file is part of the Qt Mobility Components. ** ** $QT_BEGIN_LICENSE:LGPL$ ** GNU Less...
C++
plugins/sensors/symbian/magnetometersensorsym.cpp
kaltsi/qt-mobility
lgpl-2.1
9,525
272
codeparrot/github-code