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
c3e0b89527348e97e108749a96806d41c58bf12241c11633d686ecd712526b76
package nl.juraji.biliomi.components.integrations.streamlabs.api.streamlabs.oauth; import java.util.Arrays; public enum StreamLabsOAuthScope { DONATIONS_CREATE("donations.create"), DONATIONS_READ("donations.read"), ALERTS_CREATE("alerts.create"), LEGACY_TOKEN("legacy.token"), SOCKET_TOKEN("socket....
Java
packages/integrations/streamlabs/src/main/java/nl/juraji/biliomi/components/integrations/streamlabs/api/streamlabs/oauth/StreamLabsOAuthScope.java
Juraji/Biliomi
gpl-3.0
893
36
codeparrot/github-code
58d5bbcc3a0e0a53e55e996514a0a1155e69aae5d1fe48040679948f87d49710
class PositionErrorX implements Error{ public name = "PositionErrorX"; constructor(public message? : string) {} public toString() {return this.name + ": " + this.message} } // Ducktyping subtype of WorldState :) // should be sufficient. class State{ public constructor(public arm : number, ...
TypeScript
Position.ts
Qthulu/shrdlite-course-project
gpl-3.0
4,109
144
codeparrot/github-code
b5fb873d254b863d12176a0435ca39b6673fadc3dd276918e279f9546f716052
function draw3DAxesSpec( parent ) { var x3d = parent .append("x3d") .style( "width", parseInt(parent.style("width"))+"px" ) .style( "height", parseInt(parent.style("height"))+"px" ) .style( "border", "none" ) var scene = x3d.append("scene") scene.append("orthoviewpoin...
JavaScript
CORNET-3D-Frontend/CORNET3D/cornet_3d_full_crts/CORNET3D/lib/axes.js
lanceman2/quickplot
gpl-3.0
4,659
149
codeparrot/github-code
1ae1d10c382e6ea8258509c3333d5164375766690125d8853776913947f71902
/* * DBFShapeImporter.java * * Created on July 6, 2006, 2:28 PM * */ package edu.oregonstate.cartography.simplefeatures.input; import java.io.File; /** * Extends DBFImporter to add support for finding a dbf file that is part of * a ESRI shape file set. * @author jenny */ public class DBFShapeImporter exte...
Java
src/edu/oregonstate/cartography/simplefeatures/input/DBFShapeImporter.java
OSUCartography/PyramidShader
gpl-3.0
1,523
53
codeparrot/github-code
588b2a25c298e0315555233f42be5f1345278539df38eba4ba401d36642716c2
using LKCamelot.library; using LKCamelot.model; namespace LKCamelot.script.item { public class RingOfAccuracy : BaseArmor { public override string Name { get { return "RING OF ACCURACY"; } } public override int DamBase { get { return 0; } } public override int ACBase { get { return 0; ...
C#
script/item/defence/ring/RingOfAccuracy.cs
sepharoph/LK2
gpl-3.0
1,149
38
codeparrot/github-code
df6db6c06e7399cae8578bdc5db603e503d080671bf1541acdf43b81a3892cc3
namespace OurBigRat { public class OurBigRat { private OurBigInt up; private OurBigInt down; private bool isPositive; #region operators #region ctor public OurBigRat() { this.up = new OurBigInt(); this.down = new OurBigInt(); this.isPositive = true; } public OurBigRat(ulong v) { ...
C#
OurBigRat/OurBigRat.cs
SamirIskenderov/Algorithms
gpl-3.0
5,274
191
codeparrot/github-code
295bc52807094639169df80472b3f09bc9945cc2e0f76801e38fc97af9c1bfd5
/*! * @header ShareView.h * LEEActionSheetDemo * * @brief 分享视图 * * @author 李响 * @copyright Copyright © 2016年 lee. All rights reserved. * @version 16/4/26. */ #import <UIKit/UIKit.h> typedef enum { ShareTypeToQQFriend = 0,//QQ好友 ShareTypeToQZone,//QQ空间 ShareTyp...
C
LEEAlertDemo/LEEAlertDemo/Views/ShareView/ShareView.h
yixitingfeng/LEEAlert
gpl-3.0
1,203
72
codeparrot/github-code
7e730d231848c48ffc9ea04336f29a534c31805de8aa81d3abbed3674bb1c288
package dsq.thedroid.ui; import android.app.ListActivity; import android.database.Cursor; import android.view.View; import android.widget.AdapterView; import android.widget.ListView; import android.widget.SimpleCursorAdapter; import dsq.thedroid.db.DbAdapter; public class DefaultLists implements Lists { public vo...
Java
src/dsq/thedroid/ui/DefaultLists.java
disquieting-silence/thedroid
gpl-3.0
2,033
44
codeparrot/github-code
2b73c662113725d9fe193770fba5e946b980aff1efc1b85adef520e0814e3460
package hardwareAbstractionLayer; import com.pi4j.io.gpio.*; import com.pi4j.io.i2c.I2CBus; import com.pi4j.io.i2c.I2CFactory; import logging.SystemLog; import java.io.IOException; import java.util.*; import static hardwareAbstractionLayer.PinAssignments.*; /** * Wiring - a place to keep all the GPIO p...
Java
RPISensors/src/main/java/hardwareAbstractionLayer/Wiring.java
gjwo/RPISensors
gpl-3.0
5,397
128
codeparrot/github-code
41f31f6071b84bb256005295ba4bfe74fdcd0402ee13e883c9bbe22f0aaeccb2
#!/usr/bin/env python # This file is part of the Printrun suite. # # Printrun 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. # # Prin...
Python
printrun/gl/trackball.py
3DP-Unlimited/3DP-Printrun
gpl-3.0
2,746
91
codeparrot/github-code
7d50889f41ca09e7c7579c1e4c7cd838d921096e7db23f8ef37dcf3167e40bbb
/* -*- c++ -*- */ /* Copyright 2012 Free Software Foundation, Inc. * * This file is part of GNU Radio * * GNU Radio 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, or (at your option)...
C
gr-digital/include/digital_ofdm_equalizer_base.h
gsmaxwell/phase_offset_rx
gpl-3.0
3,726
101
codeparrot/github-code
f7b268c0134842cef0b1d7bb46465defb5e28656da941d4a30d9cb77dd1b591b
#include <stdio.h> #include <stdlib.h> #include <math.h> #include <limits.h> typedef unsigned long long uint64; // range = [0, 2^64-1] // =============================================================== // isPrime(N) function // arguments: N = number to test for primeness // returns: 1 for prime and 0 for composite //...
C++
isPrime.cpp
akhan3/prime-tester-cpp
gpl-3.0
3,098
87
codeparrot/github-code
fdc71ec1942af7be4f9aec729f6dbba20831c2292ba22e5beb8c32aeb5d093d0
<?php /** * Torrent * * PHP version 5.2+ (with cURL extention enabled) * * LICENSE: This source file is subject to version 3 of the GNU GPL * that is available through the world-wide-web at the following URI: * http://www.gnu.org/licenses/gpl.html. If you did not receive a copy of * the GNU GPL License and are ...
PHP
lib/torrent.php
be4ev/sepehr
gpl-3.0
31,948
889
codeparrot/github-code
8e2c859e38013ad2408d10e9d64017a55e9c1fccd440ee4c0fc8dbbf0a16899f
# -*- coding: utf-8 -*- # # Copyright (C) 2007-2013 by Erwin Marsi and TST-Centrale # # This file is part of the DAESO Framework. # # The DAESO Framework 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 ...
Python
lib/daeso/stats/corpus.py
emsrc/daeso-framework
gpl-3.0
6,068
173
codeparrot/github-code
e0d5c71b4f6abfe386712814b6d45517edba2cf86033bd1bad73bc29e41149cc
/*---------------------------------------------------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | \\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation \\/ M anipulation | --------...
C++
src/OpenFOAM/matrices/LduMatrix/Preconditioners/DiagonalPreconditioner/DiagonalPreconditioner.H
Atizar/RapidCFD-dev
gpl-3.0
3,841
135
codeparrot/github-code
b182fec914cc348fb887e97ec1285ef042e224546e7839b18d970385ad801b06
/* * StorageLocationQueryRemote.java * * Created on 14. September 2006, 06:59 * * Copyright (c) 2006 LinogistiX GmbH. All rights reserved. * *<a href="http://www.linogistix.com/">browse for licence information</a> * */ package de.linogistix.los.inventory.query; import de.linogistix.los.query.BOD...
Java
server.app/los.inventory-ejb/src/de/linogistix/los/inventory/query/ItemDataQueryRemote.java
prozakis/mywms-Server
gpl-3.0
953
38
codeparrot/github-code
e045347547ee4e52131f1e123131189b059de73b69ee9cbd9a3eecc7dc47b6f6
/* * c64dtv-cmdline-options.c * * Written by * Andreas Boose <viceteam@t-online.de> * Ettore Perazzoli <ettore@comm2000.it> * * This file is part of VICE, the Versatile Commodore Emulator. * See README for copyright notice. * * This program is free software; you can redistribute it and/or modify ...
C
C64.emu/src/vice/c64dtv/c64dtv-cmdline-options.c
sails/emu-ex-plus-alpha
gpl-3.0
3,822
129
codeparrot/github-code
ebe5d4e33fb298faa7af49f6aefdc68f8f30777d80148b8dd86a64e8b957137b
AddCSLuaFile("cl_init.lua") AddCSLuaFile("shared.lua") include("shared.lua") local BombDisarmSound = "weapons/c4/c4_disarm.wav" local BombPlantSound = "weapons/c4/c4_plant.wav" local BombExplodeSound = "weapons/awp/awp1.wav" local BompBeepSound = "weapons/c4/c4_beep1.wav" function ENT:Initialize() self:S...
Lua
addons/billard_rp_ents/lua/entities/billard_bomb/init.lua
BillardDRP/nathaniel-rp-addons
gpl-3.0
2,070
77
codeparrot/github-code
9b89d015b5662333e639cab315e19aa566a8560f6cf7a99e02b0b8de6d3ee171
<?php /* Copyright 2013 Duong Tuan Nghia This file is part of Pophp. Pophp is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. Pophp is...
PHP
POEntry.php
adlq/pophp
gpl-3.0
6,141
287
codeparrot/github-code
f68738011154dea9527629f4f00b9bc274a43b581ab9e279ba5a498464018e6c
#region Copyright ///////////////////////////////////////////////////////////////////////////// // Altaxo: a data processing and data plotting program // Copyright (C) 2002-2011 Dr. Dirk Lellinger // // This program is free software; you can redistribute it and/or modify // it under the terms of t...
C#
Altaxo/Base/Graph/Gdi/Plot/Styles/ScatterPlotStyle.cs
Altaxo/Altaxo
gpl-3.0
37,361
1,126
codeparrot/github-code
54eb38d25cea6e249b73e2c2b55a74b9a91f38e0ff083eaa6344c9cd36592e32
<?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
local/o365/lang/en/local_o365.php
nitro2010/moodle
gpl-3.0
49,023
491
codeparrot/github-code
3f02d6a4d1b1347c72f7293c521f2e1dc7fe5dddefbdb8a4dbb1865d1bd7f14f
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using ES.EntityLayer.Clients; namespace ES.DataAccessLayer { public class dalCompany { private static List<Company> ListOfCompanies = new List<Company>(); public static void Ins...
C#
EasyService/ES.DataAccessLayer/dalCompany.cs
bbesartk/ASMS-EasyService
gpl-3.0
1,392
57
codeparrot/github-code
24910a43b5fe1b2c773b077ced1a208f206eb8332cf72f7f0d2eaadbf3fb6e86
<?php namespace PPHP\tools\patterns\singleton; use PPHP\tools\classes\standard\baseType\exceptions\RuntimeException; /** * Классическая реализация интерфейса Singleton. * @author Artur Sh. Mamedbekov * @package PPHP\tools\patterns\singleton */ trait TSingleton{ /** * @var array Множество экземпля...
PHP
tools/patterns/singleton/TSingleton.php
Bashka/PPHP
gpl-3.0
1,270
44
codeparrot/github-code
0ccbd23dab02942522cac6d2b62bb5501597d9383e6f5275c1324cf72506b582
package edu.tuberlin.spex.utils.io; import com.google.common.base.Charsets; import com.google.common.io.CharStreams; import com.google.common.io.LineProcessor; import com.google.common.primitives.Ints; import edu.tuberlin.spex.utils.CompressionHelper; import java.io.*; import java.nio.file.Path; import java.util.rege...
Java
src/main/java/edu/tuberlin/spex/utils/io/MatrixMarketHelper.java
jkirsch/spex
gpl-3.0
2,538
91
codeparrot/github-code
209421f20a143427bccc3c59cef7d88c062b5b4c9eec6535830503c44bad854d
<!DOCTYPE html> <html> <head> <title>Washington State Courts - Supreme Court Calendar </title> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta http-equiv="expires" content="0"> <meta http-equiv="Pragma" content="no-cache...
HTML
sources/wasc/1998/09/10-docket.html
jeffpar/courtcasts
gpl-3.0
12,961
326
codeparrot/github-code
5ff1a8b2a62a542fd9e483d4f31b8ddef1ef6204d70b2b5897f8693d9d2e5bee
/**************************************************************************** ** ** Copyright (C) 2016 The Qt Company Ltd. ** Contact: https://www.qt.io/licensing/ ** ** This file is part of the QtSensors module of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL$ ** Commercial License Usage ** Licensees holding valid comm...
C++
oss/qt/qt-everywhere-opensource-src-5.9.0/qtsensors/src/imports/sensors/qmltiltsensor.cpp
geminy/aidear
gpl-3.0
4,661
164
codeparrot/github-code
ee5c83be1308b020b1f58985453b94860b405ab8c7952904dcd0ef3ec68d3515
/** * Marlin 3D Printer Firmware * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] * * Based on Sprinter and grbl. * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General...
C++
Marlin/src/lcd/extui/lib/dgus/DGUSDisplay.cpp
KangDroid/Marlin
gpl-3.0
8,798
274
codeparrot/github-code
aa6b4703913791a2389d157e4f85d316cb8e402c7b1ac2611bf337038d3fb267
#!/bin/bash # EC-EARTH3 # ========= # # Cray XC40, Intel compiler suite, sisu.csc.fi # jukka-pekka.keskinen@helsinki.fi, juha.lento@csc.fi # 2017-09-03, 2017-09-21 # Usage # ----- # # Build everything automatically (Yeah, you wish): # bash install.bash # # Set up current environment and define functions for build...
Shell
EC-Earth3/build-intel.bash
jlento/atm-doc
gpl-3.0
6,118
205
codeparrot/github-code
21db52f419a34238e3b53ae6dc370b6ca08fc7cd02b407e2268a2985026fb678
{-# LANGUAGE RankNTypes #-} {-# LANGUAGE FlexibleInstances #-} {-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE ExistentialQuantification #-} {-# LANGUAGE TemplateHaskell #-} {-# LANGUAGE QuasiQuotes #-} {-# LANGUAGE TypeFamilies #-} {-# LANGUAGE FlexibleContexts #-} {-# LANGUAGE DeriveDataTypeable #-} {-# LANGUAGE GADT...
Haskell
backend/Handler/DB/Routes.hs
tlaitinen/receipts
gpl-3.0
2,452
67
codeparrot/github-code
dc9125ee7c02ce484024e3f92c0b9036cd2cab6223056f267a0efb99d30a6ef1
#Calcwylator using Python 3 and tkinter print("""Calcwylator Version 0.1.0 Copyright (C) 2016 Somewun This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details.""") f...
Python
Calcwylator.py
somewun/Calcwylator
gpl-3.0
4,221
125
codeparrot/github-code
9e58e9d9295665d31a20eca9998d33daec926c0b61e56c1aab5633d7940d9b0f
<?php namespace Seitenbau\Logger; use Segment; /** * Class SegmentIoStats * Send ActionLog entries to segment.io which calls various other APIs */ class SegmentIoStats { /** * @var array */ protected $events = array(); /** * @var array */ protected $properties = array(); /** * @var strin...
PHP
app/server/library/Seitenbau/Logger/SegmentIoStats.php
rukzuk/rukzuk
gpl-3.0
4,781
187
codeparrot/github-code
4a0a56007c9d413fa4cc94d65a8686673075edb8fc7768740a267f40911eaf20
#ifndef NONSTD_LARGE_SET_H #define NONSTD_LARGE_SET_H #include "definitions.h" #include "handling.h" #include <set> #include <vector> namespace nonstd { using Logging::logger; typedef void* Elt; class HandledSet_ : public Handling::HandledObject { typedef std::set<Elt> Set; Set m_set; public: HandledSet...
C
src/large_set.h
fritzo/Johann
gpl-3.0
3,288
113
codeparrot/github-code
0abf1cc2d02c449331f9a3009bb61ef455e6481734916bcc22e146713f16efa9
<?php /** * An Inner Box panel. * * @package SiteEditor * @subpackage Options * @since 1.0.0 */ if ( ! class_exists( 'SiteEditorInnerBoxOptionsPanel' ) ) { /** * Expanded Panel. */ class SiteEditorInnerBoxOptionsPanel extends SiteEditorOptionsPanel { /** * The panel type. * * @acces...
PHP
editor/extensions/options-engine/includes/panels/site-editor-inner-box-panel.class.php
SiteEditor/editor
gpl-3.0
3,507
128
codeparrot/github-code
45a1c3c9a0773f1c00decc0703a3be47cb21526786f1f46e97cc0ce0047c205a
using System; using System.Data; using System.Collections; using System.Web; using System.Web.UI; using CMS.Helpers; using CMS.PortalControls; using CMS.Reporting; using CMS.WebAnalytics; using CMS.PortalEngine; public partial class CMSWebParts_Reporting_Chart : CMSAbstractWebPart { #region "Properties" ///...
C#
CMS/CMSWebParts/Reporting/Chart.ascx.cs
CCChapel/ccchapel.com
gpl-3.0
5,731
259
codeparrot/github-code
8ed55f6c2615f426ad1da8861cff64dca9328c1f0fe9e5cfcd797b44977e5fda
package com.oc.ocframework.data.service.impl; import com.google.gson.JsonArray; import com.google.gson.JsonElement; import com.google.gson.JsonObject; import com.google.gson.JsonParser; import com.oc.ocframework.data.repository.GenericDao; import com.oc.ocframework.data.service.DataService; import com.oc.ocfra...
Java
oc-data/src/main/java/com/oc/ocframework/data/service/impl/DefaultDataService.java
Still1/ocFramework
gpl-3.0
4,885
118
codeparrot/github-code
01507aaaf391434f719d51ca300840cbae69a4700dfa7bd8f0ea7eeed8334a5d
package ru.tersoft.popmoviesapp; import java.text.DateFormat; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Date; import java.util.List; import java.util.Locale; public class MovieInfo { /* MovieInfo class contains all parsed information about...
Java
app/src/main/java/ru/tersoft/popmoviesapp/MovieInfo.java
ivyanni/PopMoviesApp
gpl-3.0
2,415
66
codeparrot/github-code
6b718f5b1dd77f6ca19df4ed267b334159012e5d9e4734e053374c677af6b7bb
/* * ============================================================================ * GNU General Public License * ============================================================================ * * Copyright (C) 2015 Infinite Automation Software. All rights reserved. * * This program is free software: you can redist...
Java
src/main/java/com/serotonin/bacnet4j/type/constructed/PriorityValue.java
infiniteautomation/BACnet4J
gpl-3.0
6,110
189
codeparrot/github-code
f562d5ce5645fd767a952f7f2a494235494f07d4d1c3c383dd798c852f5df0bf
# -*- coding: utf-8 -*- ######################################################################### # # Copyright (C) 2017 OSGeo # # 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 ...
Python
geonode/monitoring/__init__.py
tomkralidis/geonode
gpl-3.0
3,733
110
codeparrot/github-code
73e03c80811e6374cd46535aa9a4db3f364690f30df91c3bea597c8450679c97
using System; using System.Windows; using System.Windows.Controls; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging; using Cropping.Managers; using Cropping.Utils; namespace Cropping { /// <summary> /// Class that response for cropp...
C#
Others/Cropping/Cropping/CroppingAdorner.cs
tschroedter/csharp_examples
gpl-3.0
9,787
228
codeparrot/github-code
11a193c32339f101a25208409cea0637c27515e03c2002f71e71a6b5c5d7b481
#ifndef _PQUEUE_ #define _PQUEUE_ #include <iostream> #include <vector> using namespace std; /*A simple priority Queue class. Using a vector to store keys ensures that data structure can grow dynamically. Also see we have vector of int. In a real world example we will have vector of some real items like...
C
src/PriorityQueue.h
josemiserra/hcell
gpl-3.0
2,978
128
codeparrot/github-code
fb45912066e59d301f4c4e94229c56e30865ae4c13e2aec2376a196cc701b44b
/** * \file TestSpecies.c * \brief Species unit tests * \author Ben Bornstein * * $Id: TestSpecies.c 10129 2009-08-28 12:23:22Z sarahkeating $ * $HeadURL: https://sbml.svn.sourceforge.net/svnroot/sbml/trunk/libsbml/src/sbml/test/TestSpecies.c $ * * <!-------------------------------------------------------...
C
libsbml-5.0.0/src/sbml/test/TestSpecies.c
alexholehouse/SBMLIntegrator
gpl-3.0
12,095
424
codeparrot/github-code
951e877616d46812ed82438875ee3c19f9df2ba9185678431ac97d3b6dd47fb2
package org.workcraft.plugins.stg; import org.workcraft.dom.Container; import org.workcraft.dom.Node; import org.workcraft.dom.visual.connections.VisualConnection; import org.workcraft.exceptions.InvalidConnectionException; import org.workcraft.plugins.petri.VisualReadArc; import org.workcraft.plugins.stg.SignalTransi...
Java
StgPlugin/src/org/workcraft/plugins/stg/StgUtils.java
shelllbw/workcraft
gpl-3.0
5,377
117
codeparrot/github-code
4aeffa411ab366f12876f88f593a5da22234fbfb17a4dc703f3e339d2237bcc6
/* * Copyright (C) 2013 Nicolas Bonnefon and other contributors * * This file is part of glogg. * * glogg 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/ui/include/qfnotifications.h
variar/klogg
gpl-3.0
2,416
92
codeparrot/github-code
f65e3d5e73b9e7df0bff2abacb59a675cecead70d5c625c4acef38a756240780
/************************************************* * Perl-Compatible Regular Expressions * *************************************************/ /* PCRE is a library of functions to support regular expressions whose syntax and semantics are as close as possible to those of the Perl 5 language. ...
C
ProcessHacker/pcre/pcre2_config.c
Ritan/processhacker2
gpl-3.0
7,255
223
codeparrot/github-code
7df28cee5d782f152fc08af566d392bf8fcaaffaf23ca5e04443c7f2b4d59278
/* ** License Applicability. Except to the extent portions of this file are ** made subject to an alternative license as permitted in the SGI Free ** Software License B, Version 1.1 (the "License"), the contents of this ** file are subject only to the provisions of the License. You may not use ** this file except in co...
C
QMOLEDEV/vnc-4_1_3-unixsrc/unix/xc/extras/ogl-sample/main/gfx/lib/glu/libnurbs/internals/patchlist.h
chriskmanx/qmole
gpl-3.0
2,999
99
codeparrot/github-code
8a23e3c6e36d536dc0d8bf8cb8dcdf73d0548d3fab6de203e948b36fb1c871cb
<?php /** * Classes for dealing with devices * * PHP Version 5 * * <pre> * HUGnetLib is a library of HUGnet code * Copyright (C) 2014 Hunt Utilities Group, LLC * * 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...
PHP
src/php/system/Image.php
hugllc/HUGnetLib
gpl-3.0
18,815
604
codeparrot/github-code
0e2af3d6b86e2f6aaf60f609da5825d68a6b2453535dd99e1e36c5bff61f7b08
package main; import lejos.nxt.Motor; import lejos.nxt.SensorConstants; import lejos.nxt.SensorPort; import lejos.nxt.UltrasonicSensor; import lejos.nxt.remote.RemoteMotor; import lejos.robotics.Color; import sensor.*; /* * To change this template, choose Tools | Templates * and open the template in the...
Java
src/main/TypeConverter.java
tkr65536/Remote-Debugger
gpl-3.0
8,226
216
codeparrot/github-code
73aa3d83333cae5614d9d471f413690ea013b0044d6aae70cf94ad0caa62fbf1
var superagent = require('superagent'); var Promise = require('promise'); var _ = require('lodash'); exports.NAME = 'Bitfinex'; exports.SUPPORTED_MODULES = ['ticker']; var API_ENDPOINT = 'https://api.bitfinex.com/v1/pubticker/'; var pluginConfig = {}; exports.config = function(localConfig){ if(localConfig) _.merge(...
JavaScript
ticker.js
Bittmario/bitt-bitfinex
gpl-3.0
2,293
95
codeparrot/github-code
04b126804a03281a885efa736b5c82d7649ab8f9432c9c1d9f668963be3f1d77
/* * Code for class CHAIN [NATURAL_64] */ #include "eif_eiffel.h" #include "../E1/estructure.h" #include "../E1/eoffsets.h" #include "ch438.h" #ifdef __cplusplus extern "C" { #endif #ifdef __cplusplus } #endif #ifdef __cplusplus extern "C" { #endif /* {CHAIN}.i_th */ EIF_NATURAL_64 F445_2708 (EIF_REFERENCE Cu...
C
Test/EIFGENs/coinplumber/F_code/C9/ch438.c
evilksi/jeux-oriente-objet-2
gpl-3.0
3,691
193
codeparrot/github-code
033f51acd1a7253f782272c3c3527aa9e7a372fa47b1c98826b16acc1699ed2a
from __future__ import annotations # standard libraries import asyncio import typing # third party libraries import numpy.typing # local libraries from nion.data import Image from nion.swift import MimeTypes from nion.swift import Thumbnails from nion.swift.model import DisplayItem from nion.swift.model import Docum...
Python
nion/swift/DataItemThumbnailWidget.py
nion-software/nionswift
gpl-3.0
19,101
423
codeparrot/github-code
b32afb8c8a477b99f716be71cf5a7ebedd70184ee7f11953291cc9751d443c15
/* * rc_protocol.h * * Created on: 11.09.2020 * Copyright (c) 2020 Darthyson <darth@maptrack.de> * * 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. */ /* ESPA Tacomat Com...
C
sensors/misc/raincenter-bim112/inc/rc_protocol.h
selfbus/software-arm-incubation
gpl-3.0
11,734
279
codeparrot/github-code
322b6d4acd9ba7d098ed13d3e7a26888f276dcec5fe8f3d4a8c28dc837495dfb
package com.eevolution.context.dictionary.infrastructure.service.impl import java.util.UUID import com.eevolution.context.dictionary.infrastructure.repository.UserDefinedTabRepository import com.eevolution.context.dictionary.infrastructure.service.UserDefinedTabService import com.lightbend.lagom.scaladsl.api.ServiceC...
Scala
dictionary-impl/src/main/scala/com/eevolution/context/dictionary/infrastructure/service/impl/UserDefinedTabServiceImpl.scala
adempiere/ADReactiveSystem
gpl-3.0
2,095
44
codeparrot/github-code
9603d7a02a50f2eb2d5327c7cf61085ada0e7963eb097bb78446a2df44556b3c
#pragma once #include <ostream> #include <string> #include <vector> #include <DirectXMath.h> #include "Rendering/VertexInputLayout.h" typedef unsigned int UINT; namespace kgx { struct KgModelData { KgModelData( const std::string &mName = "", const std::string &usemtl = "", int start = 0, int count...
C
libKrienGraphiX/include/kriengraphix/IO/KGParserDefines.h
krienie/KrienGraphiX
gpl-3.0
2,184
86
codeparrot/github-code
0cebe980e0943dac2141d0cecee6b4624b0c41cfc5bfabd0c0f2d6a57b4d1116
<?php namespace RssExtend\Feed\PostProcessor\Summary; class StopWords implements \Iterator { private $position = 0; private $array = null; public function __construct () { $this->array = file(__DIR__ . '/stopwords.txt', FILE_IGNORE_NEW_LINES); $this->position = 0; } public f...
PHP
module/RssExtend/src/RssExtend/Feed/PostProcessor/Summary/StopWords.php
markus-perl/rss-extend
gpl-3.0
940
53
codeparrot/github-code
25abd8088f3dd28efdf481eedbc55cc00fb0484110f4dd1a057d62856b3e7051
#include "Test.h" #include "TestRegistry.h" #include "TestResult.h" #include "Failure.h" Test::Test (const std::string& testName) : name (testName) { TestRegistry::addTest (this); } void Test::run (TestResult& result) { #ifndef DONT_CATCH_EXCEPTIONS try { #endif setup(); ...
C++
cppunitlite/Test.cpp
bashrc/omniclops
gpl-3.0
536
33
codeparrot/github-code
b952cfa1caf46f9a5aa784bb511a60ac665a50b5e860c891998fd75277a82b43
# -*- coding: utf-8 -*- # # Copyright (C) 2008-2014 Sébastien Helleu <flashcode@flashtux.org> # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 3 of the License, or # (at your opt...
Python
doc/docgen.py
guns/weechat
gpl-3.0
29,779
700
codeparrot/github-code
4e79b545ec3b1e43d9885f5c73183616d93c1391fb9f030852990e8fc37b3168
package com.synseaero.dji.airlink; import android.os.Bundle; import android.os.Message; import android.os.Messenger; import android.os.RemoteException; import android.util.Log; import com.synseaero.dji.MessageType; import com.synseaero.dji.Task; import dji.common.error.DJIError; import dji.common.util.DJICommonCall...
Java
app/src/main/java/com/synseaero/dji/airlink/GetWifiSSId.java
loveapple5/fpv-aircraft
gpl-3.0
2,861
81
codeparrot/github-code
3c975571cf76289c561d18c2eee4cbf4558377a1d95fc70efe832030b47d0e0a
#include "tools.h" #include <QDebug> #include <QLineF> #include <QRgb> #include <QImage> /* * The coordinate systeom: * * -------> * | x * | * V y * */ double MrWriter::polygonSignedArea(const QPolygonF &polygon) { if (polygon.length() < 2) { return 0.0; } double area = 0.0; double x0 = ...
C++
src/tools.cpp
unruhschuh/MrWriter
gpl-3.0
3,652
157
codeparrot/github-code
7f8609f918f623ca197ae5574933661f31ff261244bc42aebacdd546b70c90da
package view.utility; /** * Created by Troy on 4/18/2015. */ public abstract class GameStrings { //PUT ALL YER STRING HERE! /** * MAIN MENU OPTIONS */ public static final String MAIN_MENU_LOAD = "Load"; public static final String MAIN_MENU_NEW_GAME = "New Game"; public static final S...
Java
src/view/utility/GameStrings.java
JohnReedLOL/Iteration_3
gpl-3.0
2,715
84
codeparrot/github-code
47c73142227e2d8fcbbbdd143cf7a5238b67c93326165f470b394190db60ab77
/* * Pixel Dungeon: Rebalanced * Copyright (C) 2012-2015 Oleg Dolya * Copyright (C) 2015 Peter Cassetta * * 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, ...
Java
java/com/petercassetta/pdrebalanced/effects/Degradation.java
PeterCassetta/pixel-dungeon-rebalanced
gpl-3.0
3,209
158
codeparrot/github-code
389fc9e04ea16ee5b25480591f4c082ddc5b7ea2bacfa45ba48acb23f0fc552a
// deps import BB8 from '../../lib/bb8'; import Joystick from '../../lib/joystick'; import { respawnMe } from '../../lib/helpers'; // device uuid import { DEVICE_UUID } from '../../config'; // XBOX FORCE handlers & commands import handlers from './handlers'; import commands from './commands'; // // Create xbox & BB...
JavaScript
src/examples/xbox/index.js
dimorphic/bb8
gpl-3.0
1,861
76
codeparrot/github-code
daae5cf8c84789ab68eec7bee76c2841e1ce0ec1206dc99766786a76fe763fcb
#include "MantidGeometry/Instrument/RectangularDetectorPixel.h" #include "MantidKernel/System.h" #include "MantidGeometry/Instrument/RectangularDetector.h" #include "MantidKernel/V3D.h" using namespace Mantid::Kernel; namespace Mantid { namespace Geometry { /** Constructor for a parametrized Detector * @param base:...
C++
Framework/Geometry/src/Instrument/RectangularDetectorPixel.cpp
ScreamingUdder/mantid
gpl-3.0
2,477
68
codeparrot/github-code
a765ef1b36cbbad9fa9da79b0d07633ccc3fc65a5e646e75e9c350e36fb12b27
package org.tastefuljava.ezguest.data; import java.awt.image.BufferedImage; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.InputStream; import java.sql.Blob; import java.util.Collection; import java.util.HashMap; import java.util.Map; import javax.imageio.ImageIO; import org.hibernate...
Java
src/org/tastefuljava/ezguest/data/Hotel.java
robbyn/easyguest
gpl-3.0
4,438
211
codeparrot/github-code
cf0f9f9d1e665842780bd50093d2cd5842be760a5b19f803645d7b5b70fe88a8
// -*- C++ -*- /* <groff_src_dir>/src/include/color.h Copyright (C) 2001-2014 Free Software Foundation, Inc. Written by Gaius Mulley <gaius@glam.ac.uk> This file is part of groff. groff is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by th...
C
src/include/color.h
dbarowy/groff
gpl-3.0
2,807
92
codeparrot/github-code
7b3ed1fe80ee11d1e401b17e7099e7bef1ec3eef44198d9d53d7b04c5293b85b
\hypertarget{classKmer}{}\section{Kmer Class Reference} \label{classKmer}\index{Kmer@{Kmer}} Interface to store and manipulate k-\/mers. \subsection*{Public Member Functions} \begin{DoxyCompactItemize} \item \mbox{\Hypertarget{classKmer_a5ab9d401261a8bd25968b7be5554bf45}\label{classKmer_a5ab9d401261a8bd25968b7be...
TeX
doc/doxygen/latex/classKmer.tex
pmelsted/bfgraph
gpl-3.0
20,147
368
codeparrot/github-code
fb8c32ec623be83a8c1a1a3eec6bfa64e314c01be95b02196c4806e427c451cf
/* * Decompiled with CFR 0_114. */ package javax.help; import java.awt.Component; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.MouseEvent; import java.awt.event.MouseListener; import java.util.Enumeration; import java.util.Locale; import java.util.Vector; import java...
Java
232/logisim-ceng232-20090616_source_from_cfr/javax/help/ForwardAction.java
kadircet/CENG
gpl-3.0
4,670
143
codeparrot/github-code
cea3a3658ece49a2b226b7861d14916b5f40c46d304d46993307a2c528b79a1b
/* * framebuffer.hpp * * Created on: Jul 3, 2011 * Author: markus */ #ifndef FRAMEBUFFER_HPP_ #define FRAMEBUFFER_HPP_ #include <boost/tr1/memory.hpp> #include "GL/glew.h" namespace ogl { class __FrameBuffer; typedef std::tr1::shared_ptr<__FrameBuffer> FrameBuffer; /** * Wrapper for an OpenGL frame buf...
C++
include/opengl/framebuffer.hpp
MarkusH/dominator
gpl-3.0
1,466
93
codeparrot/github-code
42869e7443a30babcfb4852190583ce335b4d3f29b8600814c1dcccd48db3948
package messagehospital.api; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; import messagehospital.api.http.ReportResource; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot...
Java
api/src/test/java/messagehospital/api/ApplicationTest.java
alechenninger/message-hospital
gpl-3.0
3,338
90
codeparrot/github-code
19fcc70cea30ea326f603f28c082ea7b3dc391a110d9b47e92e83c06374943f2
/* http://meyerweb.com/eric/tools/css/reset/ v2.0 | 20110126 License: none (public domain) */ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, ...
CSS
css/2016screen.css
galecia/historical-borders
gpl-3.0
9,665
614
codeparrot/github-code
0a282c82f7bb64ee510bb8b71ca2ac1574ac536e4dd6e90eea5fd65b8e5f749d
#!/bin/sh # Perform workload agnostic work to setup : # - PKG : the name of the package to use # - TIME : the minimum amount of time to work # - CORES : the amount of core to use # - LOGBASE : where to put the logs # - PRELOAD : the paths of the libraries to preload PKG="$1" ; shift # The package...
Shell
control-payload/param/path/setup.sh
gauthier-voron/bench-platform
gpl-3.0
2,397
88
codeparrot/github-code
3f3094e13185583878121636295127a57d43a6ef3151dda79ac2b37912531f15
package me.shawlaf.banmanager.proxy.command; import me.shawlaf.banmanager.proxy.BanmanagerProxy; import me.shawlaf.banmanager.core.permissions.Task; import me.shawlaf.banmanager.core.punish.Punishment; import me.shawlaf.banmanager.core.punish.PunishmentType; import me.shawlaf.banmanager.core.users.BanmanagerUser; impo...
Java
Proxy/src/me/shawlaf/banmanager/proxy/command/CommandBmInfo.java
shawlaf/Banmanager
gpl-3.0
2,538
66
codeparrot/github-code
718a71c1261139e0fd9343830af7b9f7ed2a9ed7313286a7a48291510c5c9b0f
package timingattack; import java.io.BufferedOutputStream; import java.io.BufferedReader; import java.io.File; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.FileReader; import java.io.IOException; import java.io.PrintWriter; import java.security.NoSuchAlgorithmException; import ...
Java
src/timingattack/WordlistFilter.java
aj-code/TimingIntrusionTool5000
gpl-3.0
6,441
217
codeparrot/github-code
9d9d385050a4fb01c2b32d75d51800bd290e3bf35c1ecb7aa0043c0ea11579b8
/* * Simple-NoSQL * Copyright (C) 2012 Pierre-Henri Symoneaux * * 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. * * Thi...
C
src/config.h
phsym/Simple-NoSQL
gpl-3.0
1,605
60
codeparrot/github-code
e06a970129a5e695e489fd2b2c4a39dbe7be4e3d2ba96911cf0efe27ffa0aeb7
/* This file is part of HSPlasma. * * HSPlasma 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. * * HSPlasma is distributed in th...
C
core/PRP/GUI/pfGUIDialogMod.h
H-uru/libhsplasma
gpl-3.0
2,642
72
codeparrot/github-code
5de4166152ca330393470bcceefa0a7a1c310f4e79499d81e8d58d7d0b636003
# -*- coding: utf-8 -*- from __future__ import unicode_literals from datetime import datetime from getpass import getuser import json from os import environ from pipes import quote from socket import gethostname from time import time from .exceptions import NodeLockedException from .utils import cached_property, temp...
Python
bundlewrap/lock.py
timbuchwaldt/bundlewrap
gpl-3.0
8,144
223
codeparrot/github-code
96009db2bf77a03ac309d6dbfad565a7e392b8442d4ba359ac20212c3356047e
package com.aguillem.festival.manager.core.stateless.security; import java.util.Collection; import org.springframework.security.core.Authentication; import org.springframework.security.core.GrantedAuthority; import org.springframework.security.core.userdetails.User; /** * Encapsulate user authentication information...
Java
festival-manager-core/src/main/java/com/aguillem/festival/manager/core/stateless/security/UserAuthentication.java
aguillem/festival-manager
gpl-3.0
2,133
85
codeparrot/github-code
f47873b1b481571b508daccd0e6fee746c7ad04bb1218f7d7ab787acbf888f09
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <!-- NameSpaces.qdoc --> <title>As Namespace | Davinci 1.0.1</title> <link rel="stylesheet" type="text/css" href="style/offline-simple.css" /> <script type="text/j...
HTML
Docs/as.html
AndrewSazonov/Davinci
gpl-3.0
49,486
509
codeparrot/github-code
095a24336c2aeb201c515f5aabb7e7957a8a0030e6a8932464e6d3bcac8e3dd3
/* Copyright (c) 2005-2013 by Jakob Schroeter <js@camaya.net> This file is part of the gloox library. http://camaya.net/gloox This software is distributed under a license. The full license agreement can be found in the file LICENSE in this distribution. This software may not be copied, modified, sold or dist...
C++
include/gloox/src/privacymanager.cpp
leandrotlz/xmpplink
gpl-3.0
9,031
317
codeparrot/github-code
4843f177ba75c32f59514e68672a4e654fd47b7076c11f10a22693cf7b82162e
#!/usr/bin/env bash - ## Print a header SCRIPT_NAME="masking options" LINE=$(printf -- "-%.0s" {1..76}) printf "# %s %s\n" "${LINE:${#SCRIPT_NAME}}" "${SCRIPT_NAME}" ## Declare a color code for test results RED="\033[1;31m" GREEN="\033[1;32m" NO_COLOR="\033[0m" failure () { printf "${RED}FAIL${NO_COLOR}: ${1}\n"...
Shell
scripts/fastx_mask.sh
frederic-mahe/vsearch-tests
gpl-3.0
16,342
374
codeparrot/github-code
d39ffcabb66b24d165af11f14b680089daf80ef4bc428a6f8e86fc534662cf27
/* Copyright 2015 Stephen H. Johnson This file is part of raytrace. raytrace 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. r...
C
src/Material.h
peregin55/raytrace
gpl-3.0
2,856
78
codeparrot/github-code
c971fe2e04a1acf7c5128c80ad223dc6b56b932ffc6e83125b325aef9a470633
<!DOCTYPE html> <html dir="ltr"> <head> <meta charset="utf-8" /> <?php $base = $document->getBase(); if (!empty($base)) { echo '<base href="' . $base . '" />'; $document->setBase(''); } ?> <script> var themeHasJQuery = !!window.jQuery; </script> <scr...
PHP
templates/themler_sample0/templates/default_2.php
magic3org/magic3
gpl-3.0
6,454
186
codeparrot/github-code
50438f79e62c10001e45216dca4d8b94fe21a174d77b1ffd7837815b42052f34
#!/usr/bin/env python # -*- coding: utf-8 -*- # publish-patches.py - publish patches for the given distribution # # Copyright © 2008 Canonical Ltd. # Author: Scott James Remnant <scott@ubuntu.com>. # # This program is free software: you can redistribute it and/or modify # it under the terms of version 3 of the GNU Gene...
Python
publish_patches.py
dbnicholson/merge-our-misc
gpl-3.0
4,617
125
codeparrot/github-code
18462e31c8d9258df2980056811bcdc847958da41a58f46357d1388683ea8c45
package org.java; import org.java.esort.model.Lines; import org.java.sort.QuickSort; import org.java.esort.model.TString; import org.junit.Before; import org.junit.Test; import java.util.ArrayList; import java.util.List; import static org.junit.Assert.assertEquals; /** * Created by ulises.olivenza on 18/02/16. */...
Java
src/test/java/org/java/QuickSortTest.java
ulisesolivenza/mergersort
gpl-3.0
1,614
49
codeparrot/github-code
61c890615d65c46805ce175989cb5f63a55c5669e6b213a886cd3d8bf91c2e9a
/* * Copyright (C) 2012 CoolStream International Ltd * Copyright (C) 2012 Stefan Seyfried * * License: GPLv2 * * 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; * * This program is distr...
C++
src/zapit/src/transponder.cpp
TangoCash/nmp-tangos
gpl-3.0
8,025
204
codeparrot/github-code
03b03c6a760777df661ad156f79a2b31914f94f87bf32336bcae5476e67f0d2c
import logging import json import re import smtplib from channels.consumer import SyncConsumer from django.conf import settings from django.contrib.sites.models import Site from django.core.mail import EmailMessage from django.urls import reverse from .models import Mail logger = logging.getLogger(__name__) class Mai...
Python
inscriptions/consumers.py
Puyb/inscriptions_roller
gpl-3.0
1,896
50
codeparrot/github-code
102c2578c84c56856bde6fed7e856133214dfafa3d90ea5599d46edc5df587a0
/* * Kontalk Java client * Copyright (C) 2014 Kontalk Devteam <devteam@kontalk.org> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your ...
Java
src/main/java/org/kontalk/model/ThreadList.java
syamgk/desktopclient-java
gpl-3.0
7,229
227
codeparrot/github-code
7ee2e1c36e3dc244f721e0d39ff63664743626c32da87e119c4f6d796dc41e6e
package com.massoftware.backend.service; import java.io.IOException; import java.time.ZonedDateTime; import java.util.HashMap; import java.util.Map; import java.util.Properties; import javax.sql.DataSource; import org.apache.commons.dbcp.BasicDataSource; import org.cendra.commons.AbstractContext; import org.cendra.c...
Java
other_files/examples_src/ServicesServerContext.java
org-geobject/geoobject_api_java
gpl-3.0
8,895
249
codeparrot/github-code
2185ca6d207e036af02acc91d440769b636253f2ac95cb86bb1f4c24b1afbcc1
#region Copyright & License Information /* * Copyright 2007-2015 The OpenRA Developers (see AUTHORS) * This file is part of OpenRA, which is free software. It is made * available to you under the terms of the GNU General Public License * as published by the Free Software Foundation. For more information, * see COP...
C#
OpenRA.Game/Widgets/ScrollItemWidget.cs
42foobar42/OpenRA
gpl-3.0
2,003
78
codeparrot/github-code
ff1811c32df9642e1d0f83353a6168d70c0b27275ebeb61bf8d773d2e0ea844d
import React from 'react'; import axios from 'axios'; import {Accordion, Panel} from 'react-bootstrap'; import Spinner from 'react-spinkit'; import Config from '../Config'; import PrepInstructions from './PrepInstructions'; import CookingInstructions from './CookingInstructions'; import PrepCookingTime from './PrepCoo...
JavaScript
src/components/RecipeDetails.js
ataylorme/hazels-heritage-frontend
gpl-3.0
4,308
142
codeparrot/github-code
4a8bd1a7895fcc93cfd41b2c03a47efa449492f6a1eeebfc8632258b5a7b2fa9
package mario182.osucomponents; /* * Copyright (C) 2013 mario182 and contributors * * 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
java/osuComponents/src/mario182/osucomponents/Beatmap.java
AsakuraFuuko/osuComponents
gpl-3.0
8,302
283
codeparrot/github-code
4749cf79eb5f2fab5e90dcdcc211a078408b4c41247f00a18ee117d6641003c6
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd"> <html> <head> <title>Description of drawRGB</title> <meta name="keywords" content="drawRGB"> <meta name="description" content="draw each triangle in the color how it will be refined"> ...
HTML
htmldoc/ffw/evaluation/draw/drawRGB.html
project-openffw/openffw
gpl-3.0
2,882
68
codeparrot/github-code
bb6fa8ffcbc8196db0676886b05f84a5845e8e341ee96e7e1b8da2ed90444f2c
import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { Observable } from 'rxjs'; import { MapDrawingToSvgConverter } from '../../../cartography/converters/map/map-drawing-to-svg-converter'; import { DrawingsDataSource } from '../../../cartography/datasources/drawings-datasource'; import { Dr...
TypeScript
src/app/components/drawings-listeners/drawing-resized/drawing-resized.component.spec.ts
GNS3/gns3-web-ui
gpl-3.0
2,809
71
codeparrot/github-code
cb813c60d9bd08dddf5aa85b03991052d6ad82e5c8a4e6ec1ffa5a6ba952d624
/************************************************************************* This file originally released under the modified OpenBSD license, here's the original COPYRIGHT file from the originating repository (https://github.com/cjlin1/libsvm): Copyright(c) 2000 - 2014 Chih - Chung Chang and Chih - Jen Lin All rights r...
C++
modules/Segmentation/svm.cpp
3dct/open_iA
gpl-3.0
67,793
3,225
codeparrot/github-code
69bb00818fc84b9d9060b0db5fd121f6cb522b5000d69e4c4a26ad9014f0dfe3
export class Utils { static isEmpty(value) { return value == null || (Utils.isString(value) && value.length == 0); } static isNotEmpty(value) { return Utils.isString(value) && value.length > 0; } static isUndefined(value) { return typeof value === 'undefined'; } s...
TypeScript
src/app/services/utils.ts
ycsoft/FraUI
gpl-3.0
2,731
104
codeparrot/github-code
bfede0d3b05813a67f364c2cc5c498fc1388961f9d20586a252e9224348e25eb
package me.yingrui.segment.util object StringUtil { def halfShape(original: Char): Char = { if (isFullShapedChar(original)) { return (original - 65248).toChar } return original } def isFullShapedChar(original: Char): Boolean = { return (original >= '\uFF21' &&...
Scala
lib-segment/src/main/scala/me/yingrui/segment/util/StringUtil.scala
yingrui/mahjong
gpl-3.0
2,241
70
codeparrot/github-code
eb0407d0e6c28077ebaa4eadc8d6cc8eb65526c1172cf6273ecb05f735a41135
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading; using UnityEngine; public class CSVSaver : MonoBehaviour { public static CSVSaver Instance { get { return instance; } } private static CSVSaver instance; [SerializeField] pri...
C#
Assets/DFCLibrary/Analytics/CSVSaver.cs
DanFlannel/Pokemon_Battle_Simulator
gpl-3.0
4,661
155
codeparrot/github-code
64f1593d13dffdd8b006ecdc405c38ebc076638d5ddc3f2df5b4ab9177b5220f
""" Copyright 2016 Jake Wimberley. This file is part of RunToRun. RunToRun 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 v...
Python
rtr/urls.py
JakeWimberley/Weathredds
gpl-3.0
1,521
41
codeparrot/github-code
fccef67d09f95887975832281b1f0632a08441a9fe4ef534e5e00709ea8fbf06
/***************************************************************** * This file is part of Managing Agricultural Research for Learning & * Outcomes Platform (MARLO). * MARLO 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...
Java
marlo-web/src/main/java/org/cgiar/ccafs/marlo/rest/dto/NewProjectPolicyInfoDTO.java
CCAFS/MARLO
gpl-3.0
3,132
119
codeparrot/github-code
fab5cfd08918d5f0916567d8cd697702a7a27c88e4f9134b8194741b3229c047
package me.bakumon.ugank.module.webview; import org.litepal.crud.DataSupport; import java.util.List; import me.bakumon.ugank.ThemeManage; import me.bakumon.ugank.entity.Favorite; /** * WebViewPresenter * Created by bakumon on 16-12-10. */ public class WebViewPresenter implements WebViewContract.Presenter { ...
Java
app/src/main/java/me/bakumon/ugank/module/webview/WebViewPresenter.java
Bakumon/UGank
gpl-3.0
2,550
93
codeparrot/github-code
cb799a3c8f52c811bee4400196cfb24ca3e5fd0d25b646e1b7f9bdb13e6877b6
/* * This file is part of fbide project, an open source IDE * for FreeBASIC. * https://github.com/albeva/fbide * http://fbide.freebasic.net * Copyright (C) 2020 Albert Varaksin * * fbide is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published b...
C++
src/UI/CmdManager.cpp
albeva/fbide
gpl-3.0
4,737
191
codeparrot/github-code