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
c03508c5d84ebf72c01c4e5b3e17dc9b1fb043be6aedf0c0a702f3569a40b502
import platform import glob from .io import DxlIO, Dxl320IO, DxlError from .error import BaseErrorHandler from .controller import BaseDxlController from .motor import DxlMXMotor, DxlAXRXMotor, DxlXL320Motor from ..robot import Robot def _get_available_ports(): """ Tries to find the available usb2serial port on ...
Python
pypot/dynamixel/__init__.py
manon-cortial/pypot
gpl-3.0
2,888
101
codeparrot/github-code
26d61c8f7cb65a66db39b142b95e10a27afc82ce89dabf5e70a645a204cd8a0a
/* ----------------------------------------------------------------------------- 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/ppm_java/_dev/concept/example/event/TSink.java
ustegrew/ppm-java
gpl-3.0
1,733
51
codeparrot/github-code
c2399cd7966e7a89e6256a1a2aa44a92c5b3650f9fbe271114bf00fca8fd80e8
<?php // This file is part of VPL for Moodle - http://vpl.dis.ulpgc.es/ // // VPL for Moodle is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later ...
PHP
mod/vpl/similarity/diff.class.php
InstaLearn/phonegaptest3
gpl-3.0
12,384
362
codeparrot/github-code
a0b473edf8cd3435aa51a7935b7062664e60240ac9757e37d3dcfe668ff4541f
package org.runnerup.notification; import android.annotation.TargetApi; import android.app.Notification; import android.app.PendingIntent; import android.content.Context; import android.content.Intent; import android.os.Build; import android.support.v4.app.NotificationCompat; import org.runnerup.R; import org.runneru...
Java
app/src/org/runnerup/notification/GpsBoundState.java
netmackan/runnerup
gpl-3.0
1,443
42
codeparrot/github-code
e7d3cb8ba6eb55f2d187ef0ff2da49eb45d3515be94f5b73ec1c5a66ce5fac3a
package pl.idedyk.japanese.dictionary.web.html; import java.util.List; public class Ul extends HtmlElementCommon { public Ul() { super(); } public Ul(String clazz) { super(clazz); } public Ul(String clazz, String style) { super(clazz, style); } @Override protected String getTagName() { retu...
Java
src/main/java/pl/idedyk/japanese/dictionary/web/html/Ul.java
dedyk/JapaneseDictionaryWeb
gpl-3.0
502
35
codeparrot/github-code
22f62abfd530a6ed9f1a1662dbcb85b2d059d6c9e85051b6e539d1403f7cf544
<?php /* checklinks.class.php ver.1.1 ** Author: Jason Henry www.yourarcadescript.com ** Please keep authorship info intact ** Nov. 26, 2011 ** ** Class is used to validate that a link exists on a given web page ** Usage example: ** include("checklinks.class.php"); ** $checklink = new checkLink; ** ...
PHP
includes/checklinks.class.php
Yourarcadescript/Version-2.5.2
gpl-3.0
2,197
73
codeparrot/github-code
5cfeb0f11886038e363eaa3ec61f32446c0c7e4e382bc425865a587ada98f1fe
"use strict"; function HelpTutorial() { let _getText = function() { return "HelpTutorial_Base"; }; this.getName = function(){ return "HelpTutorial_Base"; }; this.getImageId = function(){ return "button_help"; }; this.getText = _getText; } function HelpTutorialBuilding(name, image) { this.getName = function(...
JavaScript
script/ViewQueueHelp.js
Hiperblade/OutpostTLH
gpl-3.0
6,371
187
codeparrot/github-code
ab893f867a5ba9ef302741dc84e57ee60505abf6306433d08ae710b517133f9e
#include <fstream> #include <algorithm> #include "anime_db.hpp" #include "trim.hpp" bool anime_database::dump_anime_db(const astd::filesystem::path& db_path, const anime_database& db) { bool result = false; std::ofstream stream{ db_path.c_str(), std::ios::out | std::ios::trunc }; if (stream) ...
C++
scan-auto-fetch/anime_db.cpp
Surogate/raspberry_script
gpl-3.0
1,707
58
codeparrot/github-code
b84ee96fb4eec856dc53a25e7b3bcc491251171111f3eabbbf0426b511c1c479
var Util = require( 'findhit-util' ); // ----------------------------------------------------------------------------- // Data handles wizard data into session function Data ( route ) { var session = route.req[ route.router.options.reqSessionKey ]; // If there isn't a `wiz` object on session, just add it ...
JavaScript
lib/type/wizard/control.js
brunocasanova/emvici-router
gpl-3.0
1,035
49
codeparrot/github-code
30e8425d4ff931fa4b88ef02b9d86b614e34a2a68506c4a9550defd6b6f31e6b
/** Copyright (C) 2012 Delcyon, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope ...
Java
java/com/delcyon/capo/protocol/server/ClientRequestProcessorProvider.java
jahnje/delcyon-capo
gpl-3.0
1,024
33
codeparrot/github-code
71f0696495c48f23258de56dca41dbb634e7ba565d3599ccaac5daf6feff7835
/* * 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...
Java
src/weka/filters/unsupervised/attribute/ClusterMembership.java
paolopavan/cfr
gpl-3.0
15,028
479
codeparrot/github-code
69eb37b2008497d7c1ea83a91211c7ee014b57eb89667da8353e725ba715a27a
/* * This file is part of *** M y C o R e *** * See http://www.mycore.de/ for details. * * MyCoRe 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)...
Java
mycore-base/src/main/java/org/mycore/util/concurrent/MCRPrioritySupplier.java
MyCoRe-Org/mycore
gpl-3.0
3,156
107
codeparrot/github-code
06b22038d2f92bfc724869d1f906fca38d06c785d8fcc9932f914475cf80f4ef
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package com.power.text.Run; import static com.power.text.dialogs.WebSearch.squerry; import java.awt.Desktop; import java.awt....
Java
Power Text/src/com/power/text/Run/WikiSearch.java
Thecarisma/powertext
gpl-3.0
2,201
62
codeparrot/github-code
62411d1f2a18235003a4ac8934822c2dae0141db51d237da4687b6da9b113bfb
// // SuperTuxKart - a fun racing game with go-kart // Copyright (C) 2004-2005 Steve Baker <sjbaker1@airmail.net> // Copyright (C) 2006 Joerg Henrichs, Steve Baker // // 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 ...
C++
src/karts/controller/player_controller.hpp
langresser/stk
gpl-3.0
3,156
82
codeparrot/github-code
15639e521b5d2942eb2ff53769d30fdc1bd03a8ecfb0053a5e32245fdd33ec32
// Mantid Repository : https://github.com/mantidproject/mantid // // Copyright &copy; 2018 ISIS Rutherford Appleton Laboratory UKRI, // NScD Oak Ridge National Laboratory, European Spallation Source // & Institut Laue - Langevin // SPDX - License - Identifier: GPL - 3.0 + #ifndef VTKPEAKMARKERFACTORY_TEST_H_ #d...
C
qt/paraview_ext/VatesAPI/test/vtkPeakMarkerFactoryTest.h
mganeva/mantid
gpl-3.0
12,092
328
codeparrot/github-code
67f99552306d7a64db8036dc394e4dbab7ff75fd49303c92d62dbaa05a2768cc
/** * 表示データ作成用テンプレート(patTemplate) * * LICENSE: This source file is licensed under the terms of the GNU General Public License. * * @package Magic3 Framework * @author 平田直毅(Naoki Hirata) <naoki@aplo.co.jp> * @copyright Copyright 2006-2014 Magic3 Project. * @license http://www.gnu.org/copyleft/...
HTML
widgets/s/simple_html/include/template/admin.tmpl.html
magic3org/magic3
gpl-3.0
2,925
99
codeparrot/github-code
85367640c72af2a95391723c81b103bce9c31c65d8ad59f8cd1c65aa3b509c1a
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Ca...
C#
2017/Case.ReportGroupsByView/Case.ReportGroupsByView/Properties/AssemblyInfo.cs
kmorin/case-apps
gpl-3.0
1,568
37
codeparrot/github-code
364445af8dd2810d8190a9d1ce2727885fd9b5ba3cadb25fcd7e7f8f2facb71a
from numpy import sqrt from pacal.standard_distr import NormalDistr, ChiSquareDistr from pacal.distr import Distr, SumDistr, DivDistr, InvDistr from pacal.distr import sqrt as distr_sqrt class NoncentralTDistr(DivDistr): def __init__(self, df = 2, mu = 0): d1 = NormalDistr(mu, 1) d2 = distr_sqrt(C...
Python
pacal/stats/noncentral_distr.py
ianmtaylor1/pacal
gpl-3.0
2,437
62
codeparrot/github-code
a41408537fdd265eeee42c6cf0af358d9d5e1a8586c86160c96baa820d025b7f
/* * Copyright 2008-2013, ETH Zürich, Samuel Welten, Michael Kuhn, Tobias Langner, * Sandro Affentranger, Lukas Bossard, Michael Grob, Rahul Jain, * Dominic Langenegger, Sonia Mayor Alonso, Roger Odermatt, Tobias Schlueter, * Yannick Stucki, Sebastian Wendland, Samuel Zehnder, Samuel Zihlmann, * Samuel Zw...
Java
JukefoxModel/src/ch/ethz/dcg/jukefox/model/collection/MapTag.java
kuhnmi/jukefox
gpl-3.0
1,427
42
codeparrot/github-code
617ad801fdc1149a37a774457bb336121dc52aceba2baee6df9604c411c46f68
<?php // This file is part of Moodle - http://moodle.org/ // // Moodle is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // // Moodle ...
PHP
badges/action.php
mahalaxmi123/moodleanalytics
gpl-3.0
5,588
144
codeparrot/github-code
5beb33e361f76d46a6b505fe9b985f1a9eab069d7895b0e703b2f59f35d93c40
/* * Copyright (C) 2011 Klaus Reimer <k@ailis.de> * See LICENSE.md for licensing information. */ package de.ailis.microblinks.l.lctrl.shell; import gnu.getopt.Getopt; import gnu.getopt.LongOpt; import java.util.Arrays; import de.ailis.microblinks.l.lctrl.resources.Resources; /** * Base class for all CLI progra...
Java
src/main/java/de/ailis/microblinks/l/lctrl/shell/CLI.java
microblinks/lctrl
gpl-3.0
4,729
194
codeparrot/github-code
b2b071229d6575436f5853199b1e2699a55ab01d90afed4b02c4c9ec97a44cbf
/************************************************************************ ** ** @file vistoolspline.cpp ** @author Roman Telezhynskyi <dismine(at)gmail.com> ** @date 18 8, 2014 ** ** @brief ** @copyright ** This source code is part of the Valentina project, a pattern making ** program, whose allow c...
C++
src/libs/vtools/visualization/path/vistoolspline.cpp
dismine/Valentina_git
gpl-3.0
8,739
248
codeparrot/github-code
4b9c35b731a2fc5b763721625368f7d958c20f41625e7764145b8f33230dc83f
<?php /** Copyright 2012-2014-2013 Nick Korbel This file is part of Booked Scheduler. Booked Scheduler 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 lat...
PHP
Presenters/Admin/ManageConfigurationPresenter.php
ksdtech/booked
gpl-3.0
8,379
336
codeparrot/github-code
982bc57f1186c1d7f1d0c7bf2725c7841254888f0b36cacbb9e3a8ed509ce14c
#include <stdlib.h> #include <stdio.h> #include "array_heap.h" int array_init(array* arr, int size) { arr->data = realloc(NULL, sizeof(void*) * size); if (0 == (size_t)arr->data) { return -1; } arr->length = size; arr->index = 0; return 0; } int array_push(array* arr, void* data) { ((size_t*)arr->d...
C
module/array_heap.c
kristov/vroom
gpl-3.0
989
50
codeparrot/github-code
557ce3cf1a4b0529f9bf6e9dd87948bdf55a3044b3d4bcc3408de6979be9dce7
from ert.cwrap import CWrapper, BaseCClass from ert.enkf import ENKF_LIB from ert.util import StringList class SummaryKeyMatcher(BaseCClass): def __init__(self): c_ptr = SummaryKeyMatcher.cNamespace().alloc() super(SummaryKeyMatcher, self).__init__(c_ptr) def addSummaryKey(self, key): ...
Python
ThirdParty/Ert/devel/python/python/ert/enkf/summary_key_matcher.py
iLoop2/ResInsight
gpl-3.0
1,882
45
codeparrot/github-code
b56b5bfa8c58c213ed62d578ea73317943630e5e1cf34a5b62a3658d21ea0270
#include <cmath> #include <iostream> #include <fstream> #include <cstdlib> #include "params.h" #include "pdg_name.h" #include "parameters.h" #include "LeptonMass.h" //#include "jednostki.h" #include "grv94_bodek.h" #include "dis_cr_sec.h" #include "fragmentation.h" #include "vect.h" #include "charge.h" #include "event1...
C++
src/dis/dishadr.cc
NuWro/nuwro
gpl-3.0
6,276
190
codeparrot/github-code
cf42cd9a812f43fa4597f8b158fd6f0095761cbd3e1c8c778110e3e93a6e86fe
package example; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.io.OutputStream; import java.util.ArrayList; import java.util.Date; import java.util.List; import org.junit.Test; import com.piedra.excel.annotation.ExcelExport; import com.piedra.excel.util.ExcelExportor; ...
Java
src/test/java/example/ExcelExportorExample.java
webinglin/excelExportor
gpl-3.0
6,400
257
codeparrot/github-code
7de6ad00a09586a337b54b793829015d2f74956502035562716334b14ce59ab3
/*************************************************************************** * Project file: NPlugins - NCore - BasicHttpClient.java * * Full Class name: fr.ribesg.com.mojang.api.http.BasicHttpClient * * * * ...
Java
NCore/src/main/java/fr/ribesg/com/mojang/api/http/BasicHttpClient.java
cnaude/NPlugins
gpl-3.0
2,563
74
codeparrot/github-code
35c0d2510a79726ae7c3134d3e49af71ca0c3a357d8b487d897b2ea0cc5ac70b
// Copyright (c) 2018 - 2020, Marcin Drob // Kainote 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. // Kainote is distribut...
C
Kaiplayer/LogHandler.h
bjakja/Kainote
gpl-3.0
1,722
63
codeparrot/github-code
d92c9fc8bee6f409c26afdfbb1a43128d5402d189f545b56f220a6d8d9a25d3e
class PasswordResetsController < ApplicationController def new end def create @user = User.find_by_email(params[:email]) if @user @user.deliver_reset_password_instructions! redirect_to root_path, notice: 'Instructions have been sent to your email.' else flash.now[:alert] = "Sorry bu...
Ruby
app/controllers/password_resets_controller.rb
armoin/edinburgh_collected
gpl-3.0
1,003
44
codeparrot/github-code
45e8972249e7c5ec2518e34562b42b2bad894d04027df7da7cbe23050c9f6b5f
/* * This file is part of gap. * * gap is free software: you can redistribute it and/or modify * under the terms of the GNU General Public License as published by * Free Software Foundation, either version 3 of the License, or * your option) any later version. * * gap is distributed in the hope that it will be ...
C
src/opt.h
mattia-barbaresi/gap
gpl-3.0
1,643
89
codeparrot/github-code
1849c0196f3c294d3c1747a1543464ea21f2f4c6ac7d110d569335482106273a
// Copyright 2020 ETH Zurich. All Rights Reserved. #pragma once #include "real.h" #include <mirheo/core/mesh/membrane.h> #include <mirheo/core/pvs/object_vector.h> #include <mirheo/core/pvs/views/ov.h> #include <mirheo/core/utils/cpu_gpu_defines.h> #include <mirheo/core/utils/cuda_common.h> #include <mirheo/core/util...
C
src/mirheo/core/interactions/membrane/force_kernels/common.h
dimaleks/uDeviceX
gpl-3.0
2,010
73
codeparrot/github-code
6774543e954d935f21867a37f60aeb7c4bd184d7779b38ede659a73044c96d5e
/** * Copyright (c) 2013 Jad * * This file is part of Jad. * Jad 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. * * Jad is d...
Java
src/de/fhffm/jad/demo/jad/DataFrame.java
fg-netzwerksicherheit/jaddemo
gpl-3.0
2,330
90
codeparrot/github-code
f274d5e84a98099f442feac88b552e9d76ff1bdc569a6ddd3af4b2d5cca50af5
/* This file is part of F3TextViewerFX. * * F3TextViewerFX 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. * * F3TextViewerFX ...
Java
src/de/dominicscheurer/quicktxtview/view/FileViewerController.java
rindPHI/F3TextViewerFX
gpl-3.0
9,526
322
codeparrot/github-code
7bb5c55ca84be64df1aab534fa7f206a53beaf2d4cd11afca8cc0b5d57aabf76
Ext.define("Voyant.notebook.util.Embed", { transferable: ['embed'], embed: function() { // this is for instances embed.apply(this, arguments); }, constructor: function(config) { var me = this; }, statics: { i18n: {}, api: { embeddedParameters: undefined, embeddedConfig: undefined }, embed: funct...
JavaScript
src/main/webapp/app/notebook/util/Embed.js
sgsinclair/Voyant
gpl-3.0
5,429
157
codeparrot/github-code
fbd1db65e347065b3c8a0e19161e89c44c7c08e649868fc049aab3b8e5a2c6c7
<?php /** * Kunena Component * @package Kunena.Template.Crypsis * @subpackage Layout.Announcement * * @copyright (C) 2008 - 2016 Kunena Team. All rights reserved. * @license http://www.gnu.org/copyleft/gpl.html GNU/GPL * @link http://www.kunena.org **/ defined('_JEXEC') or die; $row = $this->...
PHP
components/com_kunena/site/template/crypsisb3/layouts/announcement/list/row/default.php
fxstein/Kunena-Forum
gpl-3.0
1,524
57
codeparrot/github-code
8035a801d534f2744be9b286d6c18670d4998af26d31c1f0a6bb35abb4776148
/* ============================================================ * QupZilla - WebKit based browser * Copyright (C) 2010-2014 David Rosca <nowrep@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 ...
C
src/lib/adblock/adblockicon.h
ThaFireDragonOfDeath/qupzilla
gpl-3.0
1,738
63
codeparrot/github-code
1f681a1bcca5a77066bbd3cd774b19f4940059b3df551e1cccfb2941ffcdc1a7
// Mantid Repository : https://github.com/mantidproject/mantid // // Copyright &copy; 2018 ISIS Rutherford Appleton Laboratory UKRI, // NScD Oak Ridge National Laboratory, European Spallation Source // & Institut Laue - Langevin // SPDX - License - Identifier: GPL - 3.0 + #ifndef MANTID_TESTMESHOBJECT__ #define...
C
Framework/Geometry/test/MeshObjectTest.h
mganeva/mantid
gpl-3.0
45,834
1,167
codeparrot/github-code
7a04cf4cde46faa25b6cd40167e9e747b4428448b60d5959e6170659e0f2b9ee
//: pony/PartyFavor.java package pokepon.pony; import pokepon.enums.*; /** Party Favor * Good def and spa, lacks Hp and Speed * * @author silverweed */ public class PartyFavor extends Pony { public PartyFavor(int _level) { super(_level); name = "Party Favor"; type[0] = Type.LAUGHTER; type[1] = Type...
Java
pony/PartyFavor.java
silverweed/pokepon
gpl-3.0
654
38
codeparrot/github-code
fa05a33a1bda9387be96506c141582d894529f7ced76f51fa6d73cea308e6d08
////////////////////////////////////////////////// // JIST (Java In Simulation Time) Project // Timestamp: <EntityRef.java Sun 2005/03/13 11:10:16 barr rimbase.rimonbarr.com> // // Copyright (C) 2004 by Cornell University // All rights reserved. // Refer to LICENSE for terms and conditions of use. package jist.runtim...
Java
swans/jist/runtime/EntityRef.java
jbgi/replics
gpl-3.0
6,768
258
codeparrot/github-code
03b5a431e541b581ed6daceb19a7507d41db140382725652595bbcaa976c916f
package se.sics.asdistances; import se.sics.asdistances.ASDistances; import java.io.IOException; import java.util.logging.Level; import java.util.logging.Logger; import org.junit.*; /** * * @author Niklas Wahlén <nwahlen@kth.se> */ public class ASDistancesTest { ASDistances distances = null; public ASDis...
Java
bootstrap/ISPFriendliness-Distances/src/test/java/se/sics/asdistances/ASDistancesTest.java
jimdowling/gvod
gpl-3.0
795
42
codeparrot/github-code
baed139dde03786d35a385753262fba96b73b8f8d3369dbf62a234167506cfae
#include "cmilitwostateselect.h" #include "ui_cmilitwostateselect.h" #include "cengine.h" #include "ctextout.h" void CMili2McuController::DoUpdateLogicView(const CEngineModel *engine) { if (engine->CurrentMcuType() == CEngineModel::MILI_MCU) mView->UpdateLogicView(engine); } void CMili2McuController::DoU...
C++
cmilitwostateselect.cpp
mmshihov/microcode
gpl-3.0
4,032
117
codeparrot/github-code
d698349d772bc1f6d23e00337119c3380f637d3c1463ae51886fe10df4922e36
/* -*- c++ -*- */ /* * Copyright 2019-2020 Daniel Estevez <daniel@destevez.net> * * This file is part of gr-satellites * * SPDX-License-Identifier: GPL-3.0-or-later * */ #ifndef INCLUDED_SATELLITES_DISTRIBUTED_SYNCFRAME_SOFT_IMPL_H #define INCLUDED_SATELLITES_DISTRIBUTED_SYNCFRAME_SOFT_IMPL_H #include <satelli...
C
lib/distributed_syncframe_soft_impl.h
daniestevez/gr-satellites
gpl-3.0
1,024
42
codeparrot/github-code
afd095fd60820b3f268f36a0559b3ad7cfd86faf73aaf3fedfb7ba0e978316e6
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ /* */ /* This file is part of the program and library */ /* SCIP --- Solving Constraint Integer Programs */ ...
C
3rd_scip/scip/struct_concsolver.h
LiangliangNan/PolyFit
gpl-3.0
5,663
84
codeparrot/github-code
a3214c6ffdc29544e75c2951ac2ba681075889e152f7c07266cf0100c2ca3e36
class Cartridge : property<Cartridge> { public: enum class Mode : unsigned { Normal, BsxSlotted, Bsx, SufamiTurbo, SuperGameBoy, }; enum class Region : unsigned { NTSC, PAL, }; //assigned externally to point to file-system datafiles (msu1 and serial) //example: "/path/to/filena...
C++
defimulator/snes/cartridge/cartridge.hpp
grim210/defimulator
gpl-3.0
2,519
103
codeparrot/github-code
039d02857262e8fdff47bde5499589f70d853e1716d4813f3ba05dbfe7a32e7d
<?php namespace Schatz\CrmBundle\Controller\Leads; use Schatz\CrmBundle\Constants\ContactStatusConstants; use Schatz\CrmBundle\Constants\ContactTypeConstants; use Schatz\GeneralBundle\Constants\PermissionsConstants; use Symfony\Bundle\FrameworkBundle\Controller\Controller; class LeadsController extends Controller { ...
PHP
src/Schatz/CrmBundle/Controller/Leads/LeadsController.php
edoschatz/taskada
gpl-3.0
4,047
98
codeparrot/github-code
15dfcad84e123dafbd418a4204b76f77e31bd0ef7ffd37255a4e3c22cc65a93d
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package nl.hyranasoftware.githubupdater.domain; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import java.util.Objects...
Java
src/main/java/nl/hyranasoftware/githubupdater/domain/Asset.java
eternia16/javaGithubUpdater
gpl-3.0
3,243
144
codeparrot/github-code
b864a10f939d5c8c3b1f1d04f874c22fda3e0b9695273a67c7c0061166d1bad7
/***************************************************************************** The Dark Mod GPL Source Code This file is part of the The Dark Mod Source Code, originally based on the Doom 3 GPL Source Code as published in 2011. The Dark Mod Source Code is free software: you can redistribute ...
C
game/Http/HttpRequest.h
Extant-1/ThieVR
gpl-3.0
2,733
112
codeparrot/github-code
8e10c3d013d92e4adedee84cec723db66635ac7ce0d48781d0ed2d9e7992307d
/* * OpenSplice DDS * * This software and documentation are Copyright 2006 to 2012 PrismTech * Limited and its licensees. All rights reserved. See file: * * $OSPL_HOME/LICENSE * * for full copyright notice and license terms. * */ /** * @file */ #ifndef ORG_OPENSPLI...
C++
src/api/dcps/isocpp/include/org/opensplice/core/policy/CorePolicy.hpp
SanderMertens/opensplice
gpl-3.0
28,610
1,088
codeparrot/github-code
8e204316295acaa68a3763db6ae2dce6731d4c90da3bd709cda841ea03015bc9
<?php /** * WoWRoster.net WoWRoster * * AddOn installer * * @copyright 2002-2011 WoWRoster.net * @license http://www.gnu.org/licenses/gpl.html Licensed under the GNU General Public License v3. * @package WoWRoster * @subpackage RosterCP */ if( !defined('IN_ROSTER') || !defined('IN_ROSTER_ADMIN') ) { ...
PHP
admin/addon_install.php
WoWRoster/wowroster_dev
gpl-3.0
21,161
654
codeparrot/github-code
e7ef45edabf792db0ec5a590bfb557566af2e2735fb6612ddcc3edafe6bdaa52
<?php /** @package JobBoard @copyright Copyright (c)2010-2013 Figomago <http://figomago.wordpress.com> <http://figomago.wordpress.com> @license : GNU General Public License v3 or later ----------------------------------------------------------------------- */ defined('_JEXEC') or die('Restricted access'); requir...
PHP
pkg_jobboard_1.2.7.1_lite/site/views/list/view.feed.php
figomago/joomla-jobboard
gpl-3.0
4,860
124
codeparrot/github-code
8b0c1e816ac323d3ddf976e34f4f2f089b04e16508542a36091e07e48e4a8c80
/* Copyright © 2017 the InMAP authors. This file is part of InMAP. InMAP 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. InMAP is distribut...
GO
emissions/slca/eieio/spatialemis.go
spatialmodel/inmap
gpl-3.0
6,204
173
codeparrot/github-code
c88689e7fe06de8f21ecccce3c551c9b9d5fb5cb6fd4d53125de095b7a97daa5
<?php class ControllerTotalShipping extends Controller { private $error = array(); public function index() { $this->load->language('total/shipping'); $this->document->setTitle($this->language->get('heading_title')); $this->load->model('setting/setting'); if (($this->request->server['R...
PHP
upload/admin/controller/total/shipping.php
stan-bg/opencart
gpl-3.0
3,431
94
codeparrot/github-code
55d1c1b8c71d026285b96cf97ddc9acfe8c10f3a615d07c877be1d528485f227
/* * Copyright (C) 2013-2017 52°North Initiative for Geospatial Open Source * Software GmbH * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 as published * by the Free Software Foundation. * * If the program is linked with ...
Java
dao/src/main/java/org/n52/series/db/beans/parameter/Parameter.java
ridoo/dao-series-api
gpl-3.0
2,457
92
codeparrot/github-code
b7f5c56951bda66d6d68378e36e47b20604c600eb1df379f6e76f2998767ac02
/* glpapi16.c (basic graph and network routines) */ /*********************************************************************** * This code is part of GLPK (GNU Linear Programming Kit). * * Copyright (C) 2000,01,02,03,04,05,06,07,08,2009 Andrew Makhorin, * Department for Applied Informatics, Moscow Aviation Institute,...
C
glpk-4.40/src/glpapi16.c
macmanes-lab/BinPacker
gpl-3.0
18,723
609
codeparrot/github-code
6428743fcdf8df45493e23a40b2e23af60693b1be52197d11c62213c16c2db5a
#pragma once #ifndef ENGINE_MESH_SKELETON_H #define ENGINE_MESH_SKELETON_H class Mesh; class SMSH_File; struct MeshCPUData; struct MeshNodeData; struct MeshRequest; namespace Engine::priv { class PublicMesh; class MeshImportedData; class MeshLoader; class ModelInstanceAnimation; class ModelI...
C
SerenityLib/include/serenity/resources/mesh/animation/Skeleton.h
mstubinis/Serenity
gpl-3.0
3,682
79
codeparrot/github-code
01686805e89eff4dab2cdd47bcdd2bed2220998a1a2dafba408c78e29c0a66fb
package com.mortensickel.measemulator; // http://maps.google.com/maps?q=loc:59.948509,10.602627 import com.google.android.gms.common.api.*; import android.content.Context; import android.text.*; import android.app.Activity; import android.os.Bundle; import android.os.Handler; import android.view.View; import android.wi...
Java
app/src/main/java/com/mortensickel/measemulator/MainActivity.java
sickel/measem
gpl-3.0
13,932
531
codeparrot/github-code
15476307986424427232e5384495891751a6b415153a8686fc18706cc9b7cb7d
<?php // Esercizio: un numero che si dimezza sempre header('Content-Type: text/plain'); ini_set('display_errors', true); // MAI in produzione!!! ini_set('html_errors', 0); /** * Questa classe continua a dividere * il suo stato interno per un valore dato. */ class invert { /** * Il valore corrente * @v...
PHP
public/esercizi/divide.php
hujuice/oopphp
gpl-3.0
1,214
61
codeparrot/github-code
c0d95e89aadb2993248de6f7c0da4af13bcebffa9f171ffb677b3ed2a602d62b
<?php /** * CodeIgniter * * An open source application development framework for PHP 5.2.4 or newer * * NOTICE OF LICENSE * * Licensed under the Open Software License version 3.0 * * This source file is subject to the Open Software License (OSL 3.0) that is * bundled with this package in the files ...
PHP
system/database/DB_utility.php
ngoaho91/sharif-judge
gpl-3.0
10,617
415
codeparrot/github-code
b777bd3bebd21246f0ddc235b5f01535bda24aed3b27b6b1e9d6f37facd655ac
from mercurial import cmdutil _hgignore_content = """\ syntax: glob *~ *.pyc *.pyo *.bak cache/* databases/* sessions/* errors/* """ def commit(): app = request.args[0] path = apath(app, r=request) uio = ui.ui() uio.quiet = True if not os.environ.get('HGUSER') and not uio.config("ui", "usernam...
Python
web2py/applications/admin/controllers/mercurial.py
henkelis/sonospy
gpl-3.0
1,107
43
codeparrot/github-code
919796ec71693f5ce596adf46f7d0d3a3e7c08becc632a7da3c226d77d988739
# coding=utf-8 """InaSAFE Disaster risk tool by Australian Aid - Flood Raster Impact on Population. Contact : ole.moller.nielsen@gmail.com .. note:: 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 Fou...
Python
safe/impact_functions/inundation/flood_raster_population/metadata_definitions.py
wonder-sk/inasafe
gpl-3.0
5,408
133
codeparrot/github-code
be4c45bb9eb4d42641265af499772559e6dd8973591256784736e5a826fb2faf
/** * */ package cz.geokuk.core.napoveda; import java.awt.event.ActionEvent; import java.awt.event.KeyEvent; import java.net.MalformedURLException; import java.net.URL; import cz.geokuk.core.program.FConst; import cz.geokuk.framework.Action0; import cz.geokuk.util.process.BrowserOpener; /** * @author Martin Vever...
Java
src/main/java/cz/geokuk/core/napoveda/ZadatProblemAction.java
marvertin/geokuk
gpl-3.0
1,066
47
codeparrot/github-code
68730f4ec30bd94e74add6144e926fe0ba57f2502df36b50cbca6087a4bd43b2
/** * Copyright 2013, 2014 Ioana Ileana @ Telecom ParisTech * 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/instance/Parser.java
IoanaIleana/ProvCB
gpl-3.0
3,628
177
codeparrot/github-code
8c6da358031f71c10d275bfe46476d18df26b70208fe61c594ec07615fe55b2d
(function() { 'use strict'; angular .module('app.grid') .service('GridDemoModelSerivce', GridDemoModelSerivce) .service('GridUtils',GridUtils) .factory('GridFactory',GridFactory) ; GridFactory.$inject = ['modelNode','$q','$filter']; function GridFactory(m...
JavaScript
src/vendor-1.x/js/modules/grid/grid.service.js
zppro/4gtour
gpl-3.0
10,905
363
codeparrot/github-code
bff1a07a0c289665d1286196162454d6ee3c26581ee5db1229a22c1deeb4a7fd
import { Pipeline, Step } from '@ephox/agar'; import { Arr } from '@ephox/katamari'; import { LegacyUnit } from '@ephox/mcagar'; import Serializer from 'tinymce/core/api/dom/Serializer'; import DOMUtils from 'tinymce/core/api/dom/DOMUtils'; import TrimHtml from 'tinymce/core/dom/TrimHtml'; import ViewBlock from '../../...
TypeScript
hp/core/static/lib/tinymce/src/core/test/ts/browser/dom/SerializerTest.ts
jabber-at/hp
gpl-3.0
36,451
790
codeparrot/github-code
92e210e6b958808349005f1cf344bf224da2295a3c21daf1647fd5703c35c8e7
<?php /** * Core Class To Style RAD Builder Components * @author Abhin Sharma * @dependency none * @since IOA Framework V1 */ if(!class_exists('RADStyler')) { class RADStyler { function registerbgColor($key='' ,$target='') { $code ='<h5 class="sub-styler-title">'.__('Set Background Color',...
PHP
IT/wp-content/themes/limitless/backend/rad_builder/class_radstyler.php
lithqube/sedesgroup
gpl-3.0
7,651
282
codeparrot/github-code
c6b9046f8c229dadf2f11f64e29c689f9c55edf667a8fc598c3c540545f86da0
#if defined (_MSC_VER) && !defined (_WIN64) #pragma warning(disable:4244) // boost::number_distance::distance() // converts 64 to 32 bits integers #endif #include <CGAL/Exact_predicates_inexact_constructions_kernel.h> #include <CGAL/IO/read_xyz_points.h> #include <CGAL/Point_with_normal_3...
C++
3rdparty/CGAL/examples/Point_set_shape_detection_3/shape_detection_with_callback.cpp
FEniCS/mshr
gpl-3.0
3,227
108
codeparrot/github-code
9b9890c7e1cc617031de8f32e64529bd0fc4ed1b5ef77dc72b109b73b0fae359
public class Rectangulo { public int Base; public int Altura; //Ejercicio realizado con ayuda de esta pagina:http://diagramas-de-flujo.blogspot.com/2013/02/calcular-perimetro-rectangulo-Java.html //aqui llamamos las dos variables que utilizaremos. Rectangulo(int Base, int Altura) { this.Base = Base; this.Altu...
Java
src/Rectangulo.java
IvethS/Tarea2
gpl-3.0
1,004
47
codeparrot/github-code
0e322c09312cbc2473dbee98d205a8f0ab45235fee2c2e93da034139813edfe1
/** * Module dependencies. */ var express = require('express') , http = require('http') , path = require('path') , mongo = require('mongodb') , format = require('util').format; var app = express(); // all environments app.set('port', process.env.PORT || 3000); app.set('views', __dirname + '/views'); app.se...
JavaScript
app.js
jkamga/INM5151-payGoStore
gpl-3.0
991
38
codeparrot/github-code
12d111d49ab5e84c84991a37076c1dbd6a423e7bb3d52c32163f4ad860920125
/* * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2016 Cppcheck team. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at ...
C++
cli/cmdlineparser.cpp
Nicobubu/cppcheck
gpl-3.0
46,169
998
codeparrot/github-code
238100546181e93af315f9f03b9d11e401eaeb2526c9f4358e70e52990862de1
/* dx2vtk: OpenDX to VTK file format converter * Copyright (C) 2015 David J. Warne * * 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...
C
vtkFileWriter.h
davidwarne/dx2vtk
gpl-3.0
5,534
214
codeparrot/github-code
86fd26175068f56dd187cbb09dfbc191f92706a4520cb0c372db7e0e2ba85d85
<?php /** * Created by PhpStorm. * User: Ermin Islamagić - https://ermin.islamagic.com * Date: 22.8.2016 * Time: 09:37 */ // Check if root path is defined if (!defined("ROOT_PATH")) { // Show 403 if root path not defined header("HTTP/1.1 403 Forbidden"); exit; } /** * Class LocaleAppController */ c...
PHP
source/app/plugins/Locale/controllers/LocaleAppController.controller.php
clientmarketing/food-factory
gpl-3.0
1,401
63
codeparrot/github-code
363ccac6f4453d5942435d7407ec55fd696ba551c9c205cae4b37fc33d76c1e2
/*************************************************************************** begin : Thu Apr 24 15:54:58 CEST 2003 copyright : (C) 2003 by Giuseppe Lipari email : lipari@sssup.it ***************************************************************************/ /*********...
C++
src/jtrace.cpp
glipari/rtlib
gpl-3.0
6,330
185
codeparrot/github-code
08200dcf91f8b291ee0883e103dd0577078fceddfec129d3c6bd02bd0f379758
# -*- coding: utf-8 -*- from django.shortcuts import render from django.http import HttpResponse from django.http import HttpResponseRedirect from django.core.urlresolvers import reverse from django.contrib.auth.decorators import login_required def centres(request): #Python练习项目管理中心Center return render(request, 'cen...
Python
centres/views.py
xBoye/xHome
gpl-3.0
1,034
30
codeparrot/github-code
9056d3ed64c4092ff5e84a76b284f82bbc34a727a6b78d8cdd7f9868df9df1d7
import cv2 import numpy as np np.set_printoptions(threshold=np.nan) import util as util import edge_detect import lineseg import drawedgelist # img = cv2.imread("img/Slide2.jpg", 0) img = cv2.imread("unsorted/Unit Tests/lambda.png", 0) im_size = img.shape returnedCanny = cv2.Canny(img, 50, 150, apertureSize = 3) cv2....
Python
scratch/testingColorImg.py
Jordan-Zhu/RoboVision
gpl-3.0
2,023
82
codeparrot/github-code
158713d62f610bc03f845c2ef241a8e1d56c0cbcade943b05a7d6f42c5d44dfb
"use strict"; module.exports = function registerDefaultRoutes( baseUrl, app, opts ){ var controller = opts.controller; var listRouter = app.route( baseUrl ); if( opts.all ){ listRouter = listRouter.all( opts.all...
JavaScript
app/routes/api/helpers/registerDefaultRoutes.js
beni55/d-pac.cms
gpl-3.0
999
41
codeparrot/github-code
f67f8c0a87f1fefc396da0ee549bf983b1c001a82853df049a5b2e372410e467
package it.ads.activitiesmanager.model.dao; import java.io.Serializable; import java.util.List; import javax.persistence.EntityManager; import javax.persistence.PersistenceContext; import javax.persistence.Query; import org.springframework.stereotype.Repository; import org.springframework.transaction.annotation.Tran...
Java
activitiesmanager-model/src/main/java/it/ads/activitiesmanager/model/dao/AbstractDao.java
paoloap/activitiesmanager
gpl-3.0
1,147
53
codeparrot/github-code
30fd6da1106a75e4af251769a5007438dfdd00e6d646ffd6edde97aa126f5dbe
----------------------------------- -- Area: Windurst Woods -- NPC: Amimi -- Type: Chocobo Renter ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/keyitems"); require("scripts/globals/chocobo"); require("scripts/globals/status"); ----------------------------------- fun...
Lua
scripts/zones/Windurst_Woods/npcs/Amimi.lua
Cloudef/darkstar
gpl-3.0
1,661
59
codeparrot/github-code
e46e1665a87e3885436893c4b08cf91486c604f55f91a7c09651e9b90d168c6e
#include "VRConstructionKit.h" #include "selection/VRSelector.h" #include "core/objects/geometry/VRGeometry.h" #include "core/objects/material/VRMaterial.h" #include "core/utils/toString.h" #include "core/utils/VRFunction.h" #include "core/setup/devices/VRDevice.h" #include "core/setup/devices/VRSignal.h" using names...
C++
src/core/tools/VRConstructionKit.cpp
Victor-Haefner/polyvr
gpl-3.0
4,295
144
codeparrot/github-code
6ab82bf8aeaa4f7ea3b9c9ca562e0ad9fef15614987602f84326deae5c44d29e
package ca.six.tomato.util; import org.json.JSONArray; import org.junit.Test; import org.junit.runner.RunWith; import org.robolectric.RobolectricTestRunner; import org.robolectric.annotation.Config; import org.robolectric.shadows.ShadowEnvironment; import java.io.File; import ca.six.tomato.BuildConfig; import stati...
Java
app/src/test/java/ca/six/tomato/util/DataUtilsTest.java
SixCan/SixTomato
gpl-3.0
2,002
59
codeparrot/github-code
ffbbfbefde096d43b683e2525cbc3dcdeb92e4bb086ae677da0668b7b941b05e
package net.thevpc.upa.impl; import net.thevpc.upa.*; import net.thevpc.upa.impl.transform.IdentityDataTypeTransform; import net.thevpc.upa.impl.util.NamingStrategy; import net.thevpc.upa.impl.util.NamingStrategyHelper; import net.thevpc.upa.impl.util.PlatformUtils; import net.thevpc.upa.types.*; import net.thevpc.up...
Java
upa-impl-core/src/main/java/net/thevpc/upa/impl/AbstractField.java
thevpc/upa
gpl-3.0
27,988
859
codeparrot/github-code
e9b38aa91100add335c3a1f0d3d7107a6142e53cb10d2db80deb713a9351f1c6
----------------------------------- -- Area: Windurst Woods -- NPC: Matata -- Type: Standard NPC -- Involved in quest: In a Stew -- !pos 131 -5 -109 241 ----------------------------------- require("scripts/globals/quests") ----------------------------------- function onTrade(player,npc,trade) end function onTrigger(...
Lua
scripts/zones/Windurst_Woods/npcs/Matata.lua
m3rlin87/darkstar
gpl-3.0
1,209
46
codeparrot/github-code
11e4659bb57f0370137cb90b56e5b4509cd7ece25ac2410ccaad214b67273e3b
#include "report_mib_feature.h" #include "mib_feature_definition.h" #include "report_manager.h" #include "protocol.h" #include "bus_slave.h" #include "momo_config.h" #include "report_log.h" #include "report_comm_stream.h" #include "system_log.h" #include <string.h> #define BASE64_REPORT_MAX_LENGTH 160 //( 4 * ( ( RAW...
C
momo_modules/mainboard/src/mib/commands/report_mib_feature.c
WellDone/MoMo-Firmware
gpl-3.0
5,340
191
codeparrot/github-code
92bf8c0e35980b0a8af2461a3d46763af8f038c5056122e5eabc47ab264926c2
<?php /** * Fired during plugin activation. * * This class defines all code necessary to run during the plugin's activation. * * @link https://wordpress.org/plugins/woocommerce-role-based-price/ * @package Role Based Price For WooCommerce * @subpackage Role Based Price For WooCommerce/core * @since ...
PHP
includes/helpers/class-activator.php
technofreaky/WooCommerce-Role-Based-Price
gpl-3.0
2,218
53
codeparrot/github-code
3edb50f14ef90fa971585d031074455316da17f51e1bb5eaae2fcba875df08e4
<?php /* * bla-tinymce * Copyright (C) 2017 bestlife AG * info: oxid@bestlife.ag * * 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) ...
PHP
copy_this/modules/bla/bla-tinymce/application/core/blatinymceoxviewconfig.php
vanilla-thunder/bla-tinymce
gpl-3.0
11,434
247
codeparrot/github-code
2eb03b921dbeffc244d8ea70b13b9746384a7b8ab133542c2b5d9f72c708364b
/* * Copyright (C) 2016 Stuart Howarth <showarth@marxoft.co.uk> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License version 3 as * published by the Free Software Foundation. * * This program is distributed in the hope that it will be use...
C++
plugins/independent/independentfeedrequest.cpp
marxoft/cutenews
gpl-3.0
13,483
428
codeparrot/github-code
c6e06d2aa2cf0078ce49c6527d9e2f546c85885e391857716a72ee56a89bdfbb
package com.dmtools.webapp.config; import com.dmtools.webapp.config.locale.AngularCookieLocaleResolver; import org.springframework.boot.bind.RelaxedPropertyResolver; import org.springframework.context.EnvironmentAware; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Co...
Java
src/main/java/com/dmtools/webapp/config/LocaleConfiguration.java
jero-rodriguez/dmtools
gpl-3.0
1,616
39
codeparrot/github-code
fd06a2f36748bae8e86b8bb95f64b8fb4a100db97edba8b5cd22ff4d72f42131
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>src\fork\box2d\collision\b2Manifold.js - Box2D Port Fork API</title> <link rel="stylesheet" href="http://yui.yahooapis.com/3.9.1/build/cssgrids/cssgrids-min.css"> <link rel="stylesheet" href="../assets/vendor/prettify/prettify-min.css...
HTML
docs/files/src_fork_box2d_collision_b2Manifold.js.html
PixxxeL/box2d-js-port-fork
gpl-3.0
10,432
270
codeparrot/github-code
9acfc5f428df70fbaaf30a4c3cfcdb7e83551383af6594224f4392847e4ac156
/* * Author: Bob Limnor (info@limnor.com) * Project: Limnor Studio * Item: Visual Programming Language Implement * License: GNU General Public License v3.0 */ using System; using System.Collections.Generic; using System.ComponentModel; using System.Drawing; using System.Data; using System.Linq; ...
C#
Source/LimnorDesigner/TypeSelector.cs
Limnor/Limnor-Studio-Source-Code
gpl-3.0
2,547
101
codeparrot/github-code
2474fcb9c5fe6ec68c70ef9318bc6c235afe99b90bcb761ead588e00b951347c
/* ComJail - A jail plugin for Minecraft servers Copyright (C) 2015 comdude2 (Matt Armer) 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) ...
Java
src/net/mcviral/dev/plugins/comjail/events/TeleportEvent.java
comdude2/ComJail
gpl-3.0
1,828
54
codeparrot/github-code
8ea23e8193362a755cccfdd5771df3a45f634bf4f8e973c88d080ecfaa3bd0c6
package se.solit.timeit.resources; import java.net.URI; import java.net.URISyntaxException; import javax.servlet.http.HttpSession; import javax.ws.rs.WebApplicationException; import javax.ws.rs.core.Response; public class BaseResource { protected WebApplicationException redirect(String destination) throws URISynta...
Java
src/main/java/se/solit/timeit/resources/BaseResource.java
Hoglet/TimeIT-Server
gpl-3.0
703
32
codeparrot/github-code
a036869c42953327f751f8878ec5562c80261eef4453d829b4ec63530dacaf44
/* * This file is part of rasdaman community. * * Rasdaman community is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * Rasdam...
Java
applications/petascope/src/main/java/petascope/wcs2/handlers/Response.java
miracee/rasdaman
gpl-3.0
2,322
85
codeparrot/github-code
8cca72e6d7d2fe746fe552b86033fbcfc716bd416d4315c03f91cbbb65e9e0b3
function createCategorySlider(selector) { $(document).ready(function(){ var checkforloadedcats = []; var firstImage = $(selector).find('img').filter(':first'); if(firstImage.length > 0){ checkforloadedcats[selector] = setInterval(function() { var image = firstImage.get(0); if (image.complete || i...
JavaScript
modules/categoryslider/categoryslider.js
desarrollosimagos/puroextremo.com.ve
gpl-3.0
1,648
47
codeparrot/github-code
89b7b52ed4a1c6df765ab3c33eedf92041ddaaa9907a5fda0197a9a41fb9ed80
from itertools import combinations def is_good(n): return 1 + ((int(n) - 1) % 9) == 9 def generate_subsequences(n): subsequences = [] combinations_list = [] index = 4 #Generate all combinations while index > 0: combinations_list.append(list(combinations(str(n), index))) index...
Python
HackerEarth/BeCoder 2/nine.py
Dawny33/Code
gpl-3.0
882
37
codeparrot/github-code
5930d68e28122df9397c19db55e63ed317dee2b28ecba21b23128535f96fc473
package com.hacks.collegebarter.fragments; import android.app.Activity; import android.app.Fragment; import android.os.Bundle; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import com.hacks.collegebarter.R; import com.hacks.collegebarter.navdrawer.MainAppActivity; publi...
Java
CollegeBarter/src/com/hacks/collegebarter/fragments/TradeboardFragment.java
ReggieSackey/CollegeBarter
gpl-3.0
1,009
41
codeparrot/github-code
431070850b3311b76d6696ce87a82383b5b15a232064268605f0fa4bd85f201e
/* -*- c++ -*- */ /* * Copyright 2014 Felix Wunsch, Communications Engineering Lab (CEL) / Karlsruhe Institute of Technology (KIT). * * 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 ...
C
gr-drm/lib/generate_fac_vb_impl.h
marcusmueller/gr-drm
gpl-3.0
1,753
55
codeparrot/github-code
3d98ad4f073209c78c9f09b23a0ebe3e7fd1d1d9d159c257f02c5332f036af24
package visualk.gallery.db; import java.awt.Color; import java.sql.*; import java.util.logging.Level; import java.util.logging.Logger; import visualk.db.MysqlLayer; import visualk.gallery.objects.Artist; import visualk.gallery.objects.Work; public class DbGallery extends MysqlLayer{ public DbGallery(String us...
Java
src/java/visualk/gallery/db/DbGallery.java
lamaken/visualk
gpl-3.0
7,207
182
codeparrot/github-code
774f205d29801f535510ee4e83d8eaedfc8a35aad20776bfcd930f4213e200e5
package org.codefx.jwos.file; import org.codefx.jwos.analysis.AnalysisPersistence; import org.codefx.jwos.artifact.AnalyzedArtifact; import org.codefx.jwos.artifact.CompletedArtifact; import org.codefx.jwos.artifact.DownloadedArtifact; import org.codefx.jwos.artifact.FailedArtifact; import org.codefx.jwos.artifact.Fai...
Java
src/main/java/org/codefx/jwos/file/YamlAnalysisPersistence.java
CodeFX-org/jdeps-wall-of-shame
gpl-3.0
9,278
237
codeparrot/github-code
795ea322cf62a93a2f0dfcac4c2ffdf6e2cf06a4b3865db33e8cb28d91ca0394
/* * Copyright (C) 2017 phantombot.tv * * 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 dist...
Java
source/me/mast3rplan/phantombot/event/ytplayer/YTPlayerStateEvent.java
MrAdder/PhantomBot
gpl-3.0
1,295
43
codeparrot/github-code
c121d1937227aaf607e2e6d480f64753e519abb38c82928fcab9b471028dca7f
package org.thoughtcrime.securesms.jobs; import androidx.annotation.NonNull; import org.thoughtcrime.securesms.dependencies.ApplicationDependencies; import org.thoughtcrime.securesms.jobmanager.Data; import org.thoughtcrime.securesms.jobmanager.Job; import org.thoughtcrime.securesms.jobmanager.impl.NetworkConstraint...
Java
app/src/main/java/org/thoughtcrime/securesms/jobs/MultiDeviceVerifiedUpdateJob.java
WhisperSystems/TextSecure
gpl-3.0
6,361
153
codeparrot/github-code