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
a85592dc9313b5228ecb049341800c8bb30d31ec8509d875e531cfc9ea8b39d6
<?php /** * Handler Registry * * @package Quark-Framework * @version $Id: handlerregistry.php 69 2013-01-24 15:14:45Z Jeffrey $ * @author Jeffrey van Harn <Jeffrey at lessthanthree.nl> * @since December 15, 2012 * @copyright Copyright (C) 2012-2013 Jeffrey van Harn. All rights reserved. * @license http://...
PHP
system/framework/extensions/handlerregistry.php
jvanharn/QuarkFramework
gpl-3.0
4,477
136
codeparrot/github-code
e65231044c460864391f9d494fd4be5e3b0bc55f1c4723dcc11e141bfc5da9f1
// port.js class SingleData { constructor (port, order, type, value) { this.port = port this.order = order this.type = type this.value = value } } export let inputVariables = [] export let countVariables = [] // Add a new port export function Add (countInputPort) { countInputPort++ inputVaria...
JavaScript
src/scripts/port1.js
cy92830/DataTypeGUI
gpl-3.0
4,832
130
codeparrot/github-code
04f19e2d11504cc546b31db2205966e4255116a03fd285e1619b6ff0ab38a7ef
<?PHP require_once("website.php"); $adminModuleUtils->checkAdminModule(MODULE_FORM); $mlText = $languageUtils->getMlText(__FILE__); $warnings = array(); $formSubmitted = LibEnv::getEnvHttpPOST("formSubmitted"); if ($formSubmitted) { $formId = LibEnv::getEnvHttpPOST("formId"); $name = LibEnv::getEnvHttpPOST(...
PHP
modules/form/duplicate.php
stephaneeybert/learnintouch
gpl-3.0
2,253
86
codeparrot/github-code
a11a1f3c8831f8a3abd881cd79d35a3e674ef45a894b9a79c926981693f53690
// DXQuake3 Source // Copyright (c) 2003 Richard Geary (richard.geary@dial.pipex.com) // // // Useful Utilities for DQ // #include "stdafx.h" //'a'-'A' = 97 - 65 = 32 #define DQLowerCase( in ) ( ( (in)>='a' && (in)<='z' ) ? (in)-32 : (in) ) //Copy pSrc to pDest up to null terminating char or MaxLength /...
C++
code/utils.cpp
coltongit/dxquake3
gpl-3.0
10,161
438
codeparrot/github-code
d4d47d1a9f1ee62fabe78307ca2e5c1965192ed563f7bf491730c44431eb2386
/* * G. Rilling, last modification: 3.2007 * gabriel.rilling@ens-lyon.fr * * code based on a student project by T. Boustane and G. Quellec, 11.03.2004 * supervised by P. Chainais (ISIMA - LIMOS - Universite Blaise Pascal - Clermont II * email : pchainai@isima.fr). */ /**************************************************...
C
MEX/io.c
pintomollo/asset
gpl-3.0
7,428
225
codeparrot/github-code
1dfe8f419b05ca40641e20135cf7631942f5f73f1428098e767ed066b58ccca8
/* To Do: Fix Reverse Driving Make only one side fire (right) */ /* Copyright (c) 2014, 2015 Qualcomm Technologies Inc All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted (subject to the limitations in the disclaimer below) provided that...
Java
ftc_app-master/TeamCode/src/main/java/org/firstinspires/ftc/teamcode/Autonomous.java
NeonRD1/FTC772
gpl-3.0
11,731
339
codeparrot/github-code
4760f7d51727b53709b348beb28552e6a16f9ce4bb4d593ac2603ccd2eb34986
/*root_check.c */ #include <ctype.h> #include <errno.h> #include <fcntl.h> #include <limits.h> #include <linux/input.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <sys/stat.h> #include <sys/statfs.h> #include <sys/types.h> #include <time.h> #include <unistd.h> #include <dirent.h> #include "com...
C++
ALPS.L1.MP6.V2_HEXING6580_WE_L/alps/bootable/recovery/root_check.cpp
MTK6580/walkie-talkie
gpl-3.0
49,261
1,645
codeparrot/github-code
0a701755dad30b64930156020d37ebe787a875701b2d1b5ecabbe0ae41985f61
/* -*- c-basic-offset: 4 indent-tabs-mode: nil -*- vi:set ts=8 sts=4 sw=4: */ /* Sonic Visualiser An audio file viewer and annotation editor. Centre for Digital Music, Queen Mary, University of London. This file copyright 2008 QMUL. This program is free software; you can redistribute it and/o...
C
svcore/data/model/ModelDataTableModel.h
praaline/Praaline
gpl-3.0
2,739
94
codeparrot/github-code
021496cb56a6ae33e33295b2b528653a96b621ebcb94381fc440038da8284492
<?php /** * Zend Framework * * LICENSE * * This source file is subject to the new BSD license that is bundled * with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://framework.zend.com/license/new-bsd * If you did not receive a copy of the license an...
PHP
Zend/View/Helper/HtmlElement.php
jvianney/SwiftHR
gpl-3.0
4,330
157
codeparrot/github-code
ff5313c9e7c8b4f967fcf76f876e8ed56b14505ccd604cc4cb868c67845a6c37
<?php namespace Neos\Neos\TYPO3CR\Transformations; /* * This file is part of the Neos.Neos package. * * (c) Contributors of the Neos Project - www.neos.io * * This package is Open Source Software. For the full copyright and license * information, please view the LICENSE file which was distributed with this * so...
PHP
Neos.Neos/Classes/TYPO3CR/Transformations/ImageVariantTransformation.php
hhoechtl/neos-development-collection
gpl-3.0
6,680
162
codeparrot/github-code
d6ff98038cfa2255005ff5a969c81b7f5144229a056910e2810c4fa1a104fb13
/********************************************************************** * Copyright (c) 2011 by the President and Fellows of Harvard College * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation...
Java
test/edu/harvard/hul/ois/ots/schemas/AES/LayerTest.java
opf-labs/ots-schema
gpl-3.0
2,208
60
codeparrot/github-code
834829df6656e730ccbc7bf9531d6ded7405651159d216270de01b114e1b41b8
 using System; using System.Web; using System.Web.Routing; using System.Drawing; using System.Drawing.Imaging; using Meridian59.Files.BGF; namespace Meridian59.BgfService { /// <summary> /// /// </summary> public class FileRouteHandler : IRouteHandler { public FileRouteHandler() {...
C#
Meridian59.BgfService/App_Code/FileHttpHandler.cs
MorbusM59/meridian59-dotnet
gpl-3.0
8,577
212
codeparrot/github-code
e109bd6980b1738498887e95205937a558fa24ba51ed2f5a2a065e882fac4392
package com.example.channelmanager; /** * Created by Administrator on 2017/2/7. * 频道列表 */ public class ProjectChannelBean { private String topicid; // 设置该标签是否可编辑,如果出现在我的频道中,且值为1,则可在右上角显示删除按钮 private int editStatus; private String cid; private String tname; private String ename; // 标签类型,...
Java
channelmanager/src/main/java/com/example/channelmanager/ProjectChannelBean.java
liaozhoubei/NetEasyNews
gpl-3.0
1,836
97
codeparrot/github-code
81c7ae209b3903d08683bf68569bcbe5b2b893d39e7e6d9598615ae68a79ed16
/** Template Controllers @module Templates */ /** The execute contract template @class [template] elements_executeContract @constructor */ Template['elements_executeContract'].onCreated(function(){ var template = this; // Set Defaults TemplateVar.set('sending', false); // show execute part if its ...
JavaScript
app/client/templates/elements/executeContract.js
EarthDollar/ed-meteor-dapp-wallet
gpl-3.0
11,818
385
codeparrot/github-code
de9847071aa199308a5a345d8d1c78b5ac2896271df7044db703a9fb1572a84d
package org.zarroboogs.weibo.widget.galleryview; import android.annotation.TargetApi; import android.content.Context; import android.os.Build; import android.util.FloatMath; import android.view.MotionEvent; import android.view.ScaleGestureDetector; import android.view.ScaleGestureDetector.OnScaleGestureListener; impo...
Java
app/src/main/java/org/zarroboogs/weibo/widget/galleryview/VersionedGestureDetector.java
MehmetNuri/Beebo
gpl-3.0
8,826
255
codeparrot/github-code
2cc70d3da0f461b2690ad1ae31ed30fe9820053969505030eb64a26cd2e77c69
/*************************************************************************** * Copyright (C) 2011-2017 Alexander V. Popov. * * This file is part of Molecular Dynamics Trajectory * Reader & Analyzer (MDTRA) source code. * * MDTRA source code is free software; you can redistribute it and/or * modify it under the term...
C++
src/mdtra_resultDialog.cpp
MrXaeroX/MDTRA
gpl-3.0
14,044
370
codeparrot/github-code
cc5062c35b46bb839971579966d34864e0bc5fccf7a9f557e62155b0ad06d3e5
;; ;; CTC test for NEZ80 (Darkstar) MultiF-Board ;; CTCBASE EQU $E8 CTCCHAN0 EQU CTCBASE+0 ; Channel 1 - Free CTCCHAN1 EQU CTCBASE+1 ; Channel 2 - Free CTCCHAN2 EQU CTCBASE+2 ; Channel 3 - UART 1 Interrupt CTCCHAN3 EQU CTCBASE+3 ; Channel 4 - UART 0 Interrupt LF EQU 0AH CR EQU 0DH BS EQU 08H ;Back space (requi...
Assembly
hw-devel/MultiF-Board/CTC/ctc.asm
pbetti/ZDS
gpl-3.0
2,484
163
codeparrot/github-code
a1167184132ea4afb82809b95828b3ace68122f1379695712d2417f4d9a2d088
package DataHash; use strict; use warnings; use DirHandle; use List::Util qw(max); use List::MoreUtils qw{uniq}; use Exporter; our (@ISA, @EXPORT_OK); @ISA =qw(Exporter); @EXPORT_OK = qw(get_data_hash dump_column_to_files); =pod =head1 get_data_hash get_data_hash hashes all of the data.number.language files in th...
Perl
scripts/DataHash.pm
bobblestiltskin/project_euler
gpl-3.0
3,344
130
codeparrot/github-code
c8f24c9d6b9ba92357140241fb3a6b77fc2d1c5b43e5f08b93ee071c49c188ba
/* * IIIFProducer * Copyright (C) 2017 Leipzig University Library <info@ub.uni-leipzig.de> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your...
Java
templates/src/test/java/de/ubleipzig/iiifproducer/template/SerializerExceptionTest.java
ubleipzig/iiif-producer
gpl-3.0
2,279
73
codeparrot/github-code
ff3a8dbb52b8b2b836ed34447d44c402ff27d8e6b43827a9b8007570ebef63f3
package com.github.ypid.complexalarm; import java.io.IOException; import java.io.InputStream; import java.util.Scanner; import android.content.Context; import android.content.res.AssetManager; import android.util.Log; import com.evgenii.jsevaluator.JsEvaluator; import com.evgenii.jsevaluator.JsFunctionCallFormatter;...
Java
src/com/github/ypid/complexalarm/OpeningHours.java
ypid/ComplexAlarm
gpl-3.0
4,883
118
codeparrot/github-code
ca03175c16135e0f1ee09db0188eef5bfb3e0dbeb89815137b22921d20cca53e
/* classes: h_files */ #ifndef SCM_HASHTAB_H #define SCM_HASHTAB_H /* Copyright (C) 1995,1996,1999,2000,2001, 2003, 2004, 2006, 2008, 2009, 2011 Free Software Foundation, Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * a...
C
libguile/hashtab.h
skangas/guile
gpl-3.0
5,980
147
codeparrot/github-code
13ef081c61bc592aa9168403f0ad0cb475c3471b19e79c4cdfb4b1899707a606
/** * Copyright (c) 2000-2004 Liferay, LLC. All rights reserved. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use,...
Java
src/com/dotmarketing/portlets/mailinglists/action/ViewMailingListsAction.java
austindlawless/dotCMS
gpl-3.0
8,207
237
codeparrot/github-code
83a4e620dc3022dbf3193484ab20c77da9acfb6546d2eae4a957d02810c89a51
/***************************************************************************** * Written by Chris Dunlap <cdunlap@llnl.gov>. * Copyright (C) 2007-2021 Lawrence Livermore National Security, LLC. * Copyright (C) 2001-2007 The Regents of the University of California. * UCRL-CODE-2002-009. * * This file is part ...
C
inevent.c
dun/conman
gpl-3.0
16,114
544
codeparrot/github-code
0f89d093d8bf9e5e77cd35d9a66ed1ec050655573ed16f3c6c67e401ac11a757
/* * Copyright (c) 2017 OBiBa. All rights reserved. * * This program and the accompanying materials * are made available under the terms of the GNU Public License v3.0. * * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. *...
Java
mica-core/src/main/java/org/obiba/mica/core/service/SchemaFormContentFileService.java
Rima-B/mica2
gpl-3.0
5,584
153
codeparrot/github-code
def4d004ddbd554be751e0fb386733023c1910a2112172d33d5fff24a97adf28
<?php /* Smarty version Smarty-3.1.19, created on 2017-09-23 12:35:41 compiled from "/var/www/html/admin240x2hjae/themes/default/template/page_header_toolbar.tpl" */ ?> <?php /*%%SmartyHeaderCode:61757368659c68d5d8d2e84-70988510%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed'); $_valid = $_smarty...
PHP
src/app/cache/dev/smarty/compile/d6/5a/ae/d65aaeae6f3a1059b7e9527adddd1e40bec16718.file.page_header_toolbar.tpl.php
rjpalermo1/paymentsandbox_ps
gpl-3.0
14,335
225
codeparrot/github-code
a4477a7a080f4e3895622ae70e693addfd39b03997598ce92e26d3b1004283af
///////////////////////////////////////////////////////////////////////////////// // // Copyright (C) 2018- Equinor ASA // // ResInsight 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
ApplicationLibCode/Commands/CompletionExportCommands/RicWellPathFractureReportItem.h
OPM/ResInsight
gpl-3.0
3,886
105
codeparrot/github-code
b4c2106f3f27e0d24b53de38d1785c320a9d2784dbd5cf58272e710955a8fd5e
/* Copyright 2019 Equinor ASA. This file is part of the Open Porous Media project (OPM). OPM is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any l...
C++
src/opm/parser/eclipse/EclipseState/Schedule/RFTConfig.cpp
andlaus/opm-common
gpl-3.0
5,913
177
codeparrot/github-code
6f020cbad1cac85a0a3c65580183147ef3780dd2cf972fbc7c69a5fedd4c4cec
/** * This file is part of RT2D, a 2D OpenGL framework. * * - Copyright 2017 Rik Teerling <rik@onandoffables.com> * - Initial commit */ #include "canvas.h" Canvas::Canvas() : Entity() { this->init(16); } Canvas::Canvas(int pixelsize) : Entity() { this->init(pixelsize); } Canvas::~Canvas() { } void...
C++
rt2d/canvas.cpp
rktrlng/rt2d
gpl-3.0
2,543
127
codeparrot/github-code
c7262577f9cf54cacf4c42262daf5316c1b8e232d8edd0fb7c619101a2ac2414
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2008-2009 Guillaume Saupin <guillaume.saupin@cea.fr> // // This Source Code Form is subject to the terms of the Mozilla // Public License v. 2.0. If a copy of the MPL was not distributed // with this file, You c...
C
eigenlib/unsupported/Eigen/src/Skyline/SkylineMatrix.h
cnr-isti-vclab/vcglib
gpl-3.0
31,062
863
codeparrot/github-code
54b29c41fd614040b9447c1c624acef86d80acfd3bd09b93d0f6ee809c6d09f7
//cmdtypist: the main of cmdtypist /* Program title: CMDTYPIST Author: Chiatiah Calson License: GPL 3 or later versions Date and Time: 5 July 2017 @ 10:40PM Program Size: 2.8MB */ #include<math.h> #include<stdio.h> #include<stdlib.h> #include<string.h> #include<time.h> #include<ctype.h> #include <unistd.h> //cmdtyp...
C
cmd_typist.c
Noslac/cmd_typist
gpl-3.0
19,200
561
codeparrot/github-code
10594319a0983d439c8ecd43c1ab208f616152d7bff11fe4abba4c0f00033056
package com.dank.festivalapp.lib; import android.content.Context; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import android.database.sqlite.SQLiteOpenHelper; import android.util.Log; public class DataBaseHelper extends SQLiteOpenHelper{ //The Android's default system path of...
Java
src/com/dank/festivalapp/lib/DataBaseHelper.java
dankl/festivalapp-lib
gpl-3.0
1,650
63
codeparrot/github-code
6f5faa481130b9bcf5285ec593897ac3ff1440306fa3688120379f74fdc509e1
// -*- Mode: Go; indent-tabs-mode: t -*- /* * Copyright (C) 2019-2020 Canonical Ltd * * 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 hop...
GO
gadget/install/partition.go
chipaca/snappy
gpl-3.0
10,175
310
codeparrot/github-code
e552e6eb55655b42d9214b88d9acff6396d12fb117f8eeb8a910bde21fa8303d
-- -- PostgreSQL database dump -- SET statement_timeout = 0; SET client_encoding = 'UTF8'; SET standard_conforming_strings = on; SET check_function_bodies = false; SET client_min_messages = warning; -- -- Name: casts; Type: SCHEMA; Schema: -; Owner: - -- CREATE SCHEMA casts; SET search_path = casts, pg_catalog; -...
SQL
sql/db.schema.casts.pg.sql
amgroup/woocommerce-pg
gpl-3.0
6,751
268
codeparrot/github-code
5215ed2dadfbe025c2560359f883dbf84de37e2cc2671647c7de07edd5b9e254
package ems.server.protocol; import ems.server.domain.Device; import ems.server.domain.EventSeverity; import ems.server.domain.EventType; import ems.server.utils.EventHelper; import java.text.DateFormat; import java.text.SimpleDateFormat; import java.util.Date; import java.util.TimeZone; /** * EventAwareResponseHa...
Java
src/main/java/ems/server/protocol/EventAwareResponseHandler.java
thebaz73/ems-server
gpl-3.0
1,600
48
codeparrot/github-code
ca5035cf38b390c3bec5d2c7d8c3a818892fb26b3887c0e12482821d0d458b01
<?php /* COPYRIGHT 2008 - see www.milliondollarscript.com for a list of authors This file is part of the Million Dollar Script. Million Dollar Script 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, eithe...
PHP
include/ads.inc.php
LauraHilliger/hufemap
gpl-3.0
21,673
768
codeparrot/github-code
7cbc6c346087d5965df4507f5ca230f15381ec9bbbb1314ecb71e0818f9c1c9f
// binary_frame.go /* Binary Frame Tool. Version: 0.1.1. Date of Creation: 2018-01-28. Author: McArcher. This is a simple Tool which draws a binary Frame around the Content. A Frame consists of logical Ones (1) and has a Spacer of Zeroes (0). So, --- XXX XXX --- Becomes something with a binary Frame w...
GO
go/binary_frame/2/binary_frame.go
legacy-vault/tests
gpl-3.0
29,035
1,193
codeparrot/github-code
7dff33d5403b06eb1abba8b5cb85e3a37660fb869e15d9a675a4e6d3b84f4531
/* This file is part of Arkhados. Arkhados 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. Arkhados is distributed in the hope that...
Java
src/arkhados/spell/buffs/info/MineralArmorInfo.java
TripleSnail/Arkhados
gpl-3.0
2,655
78
codeparrot/github-code
c400a9f1e9a41c21feec0404c0b22ddc136971508f05ac983fc54268436267d0
use strict; use warnings; package RPG::ResultSet::Election; use base 'DBIx::Class::ResultSet'; use Carp; sub schedule { my $self = shift; my $town = shift || croak "Town not supplied"; my $days = shift || croak "Number of days not supplied"; croak "Already have an election scheduled\n" if $town->cu...
Perl
lib/RPG/ResultSet/Election.pm
Mutant/CrownOfConquest
gpl-3.0
1,522
64
codeparrot/github-code
cab1cf4fe410881f06271f58ceadea06c6ab89bbac01b5ccd9a94bc83458726a
#include "precomp.h" #include "stdinc.h" #include "io_sfen.h" #include "commandpacket.h" namespace godwhale { const CommandPacket::CharSeparator CommandPacket::ms_separator(" ", ""); CommandPacket::CommandPacket(CommandType type) : m_type(type), m_positionId(-1), m_position(false) { } CommandPacket::CommandPack...
C++
src/commandpacket.cpp
ebifrier/godwhale
gpl-3.0
9,268
368
codeparrot/github-code
be2a2f17e92e103ab740891181cce4dff1bcc4ec24086e7e408b6350ebc30868
using System; using System.Collections.Generic; using System.Linq; using System.Text; using UnityEngine; using KSP; namespace panelfar { public static class PANELFARMeshSimplification { //Take the raw part geometry and simplify it so that further simplification of the entire vessel is faster p...
C#
PANELFAR/PANELFARMeshSimplification.cs
ferram4/PANELFAR
gpl-3.0
15,502
374
codeparrot/github-code
48a71225e1a7145a87ab5d0ca64062e4ffd8702714af0558750da9f2e64026c4
#include <iostream> #include <string> class Shape { public : virtual void draw (void) = 0; static Shape *Create (std::string type); }; class circle : public Shape { public : void draw(void){ std::cout << "circle" << std::endl; } }; class square : public Shape { public : void draw(void){ std::cout ...
C++
computing/cpp/factory_method.cpp
selvagit/experiments
gpl-3.0
709
45
codeparrot/github-code
2175e2e386306dd533cda30d74acd79cdce8c4a5a8a7ed538924806c27aa8376
#include "CAN.h" #include "led.h" #include "delay.h" #include "usart.h" ////////////////////////////////////////////////////////////////////////////////// //±¾³ÌÐòÖ»¹©Ñ§Ï°Ê¹Óã¬Î´¾­×÷ÕßÐí¿É£¬²»µÃÓÃÓÚÆäËüÈκÎÓÃ; //ALIENTEKÕ½½¢STM32¿ª·¢°å //CANÇý¶¯ ´úÂë //ÕýµãÔ­×Ó@ALIENTEK //¼¼ÊõÂÛ̳:www.openedv.com //ÐÞ¸ÄÈÕÆÚ:201...
C
10.CAN/OV/can.c
chempin/stm32f107-
gpl-3.0
4,689
123
codeparrot/github-code
d2a61434314733888781dcf46852f405d7b4ee558bcdf85db04aa8a467d65baf
/* Author: Juan Rada-Vilela, Ph.D. Copyright (C) 2010-2014 FuzzyLite Limited All rights reserved This file is part of fuzzylite. fuzzylite 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 ver...
C++
FuzzyLiteTemplate/fuzzylite/src/defuzzifier/IntegralDefuzzifier.cpp
senabhishek/fuzzyliteAndSwift
gpl-3.0
1,552
54
codeparrot/github-code
452750690d82450950b2e33451499dc4aa31730755ccf8ed7da5736f5b775e0e
/* Liquid War 6 is a unique multiplayer wargame. Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015 Christian Mauduit <ufoot@ufoot.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 F...
C
reference/src/lib/mat/mat-testmain.c
lijiaqigreat/liquidwar-web
gpl-3.0
1,546
58
codeparrot/github-code
ef4d05829467647a5f5576a7b35d82188678bc6d0be4487b981d1a4509eed6a7
from __future__ import absolute_import from pywb.framework.wbrequestresponse import WbResponse, WbRequest from pywb.framework.archivalrouter import ArchivalRouter from six.moves.urllib.parse import urlsplit import base64 import socket import ssl from io import BytesIO from pywb.rewrite.url_rewriter import SchemeOn...
Python
pywb/framework/proxy.py
pombredanne/pywb
gpl-3.0
16,139
462
codeparrot/github-code
a0fe330ef735dfdf2539f99825c453271d23ca14dbd20d2425e9979842da3844
/** * Copyright (c) 2010-11 The AEminium Project (see AUTHORS file) * * This file is part of Plaid Programming Language. * * Plaid Programming Language 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 Founda...
Java
src/aeminium/runtime/tools/benchmark/RTBench.java
AEminium/AeminiumRuntime
gpl-3.0
2,591
85
codeparrot/github-code
cf6435bc6bb76d5a963802b25b3892e5875161f41711ffc53fa0d4fc24d1d8d4
/* Copyright (C) 2005-2012 by George Williams */ /* * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this * list of conditions and the following...
C
pdf2htmlEX/fontforge-pdf2htmlEX/fontforgeexe/groupsdlg.c
rakeshyeka/PDFprocessor
gpl-3.0
50,023
1,593
codeparrot/github-code
164fedcd1ff7fe8b75ad45bf38c34e9a903445319cd88982704b7599662230a4
import java.util.List; import java.util.LinkedList; import java.util.ArrayList; import java.util.Arrays; import java.io.File; import java.io.BufferedReader; import java.io.FileReader; import java.util.Scanner; import java.io.IOException; import java.io.FileNotFoundException; import java.lang.NumberFormatException; impo...
Java
tools/FanMapMaker.java
pworkshop/FanReg
gpl-3.0
4,595
161
codeparrot/github-code
ece807f2ae65b716a507b6de5e7e29651d454355a5d56536f3b23c42251082ca
## Water Model construction # # Creates and constructs the model with all demands. ## `config` must be defined before loading this file! include("world.jl") include("weather.jl") if get(config, "demandmodel", nothing) == "USGS" include("WaterDemand.jl") else include("Thermoelectric.jl") include("Livestoc...
Julia
src/model-waterdemand.jl
AmericasWater/awash
gpl-3.0
2,420
63
codeparrot/github-code
cad79d2e784d10bcc235b1c43a70b8c8a9b8b7c0b5c95cd0723208b50dbfee67
// Copyright © 2014, 2015, Travis Snoozy // // 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 di...
C++
c/pawn-testtool/main.cpp
Travis-Snoozy/AffordableHomeAutomation
gpl-3.0
7,040
226
codeparrot/github-code
6f9717ca902b5b729728060bdc6449a68c5a3f7b41d82d0040a77c4a5b06cdd6
import {Injectable} from '@angular/core'; import {SnackBarService} from './snack-bar.service'; import {LangChangeEvent, TranslateService} from '@ngx-translate/core'; @Injectable({ providedIn: 'root' }) export class TranslatableSnackBarService { /** * @param snackBarService * @param translateService */ ...
TypeScript
app/webFrontend/src/app/shared/services/translatable-snack-bar.service.ts
h-da/geli
gpl-3.0
1,580
52
codeparrot/github-code
c3f1f853adef2ad6165d07cf86ca2048d358e9974476f936ecf585fea0b98c3e
import { AccessToken, Project, User, UserFeatureFlag, UserRole } from '@dev/translatr-model'; import { map } from 'rxjs/operators'; // General export const isAdmin = (user?: User): boolean => user !== undefined && user.role === UserRole.Admin; // Users export const hasCreateUserPermission = () => map(isAdmin); exp...
TypeScript
ui/libs/translatr-sdk/src/lib/shared/permissions.ts
resamsel/translatr
gpl-3.0
3,518
87
codeparrot/github-code
1b8f4e33a0a2a3fcd7b0bbe2d57d161f82f87754f8e2dcdd366f60cbf6e50150
package com.bytezone.diskbrowser.nufx; import java.io.IOException; import java.nio.file.Files; import java.nio.file.Path; import java.util.ArrayList; import java.util.List; import com.bytezone.diskbrowser.prodos.write.DiskFullException; import com.bytezone.diskbrowser.prodos.write.FileAlreadyExistsException; import c...
Java
src/com/bytezone/diskbrowser/nufx/Binary2.java
dmolony/DiskBrowser
gpl-3.0
3,371
100
codeparrot/github-code
6f498bc57dd7a889f80c7c9d6aaa74f893eb04bb842580ca4a69c203ec4d0097
package componentes; import javax.swing.JTextField; import javax.swing.text.AttributeSet; import javax.swing.text.BadLocationException; import javax.swing.text.PlainDocument; public class JTextFieldPrazo extends PlainDocument { /** * */ private static final long serialVersionUID = -80208526622585137...
Java
src/componentes/JTextFieldPrazo.java
DiegoEveling/RHFacil
gpl-3.0
1,557
62
codeparrot/github-code
636a26817bdf0d51590278490110312303d4d66128b2c7b39d02744e3e4afa4d
#include <stdio.h> #include <stdlib.h> //#include <elf.h> #define ELF_MAGIC 16 //#define MEM_ALLOC_H(ptr) ptr = (FILE *) malloc (sizeof(myElf32_Ehdr)); //#define MEM_ALLOC_S(ptr) ptr = (FILE *) malloc (sizeof(myElf32_Shdr)); #define VALIDATE(ptr) if (!(ptr)) {\ fprintf(stdout, "%s", "Returned NULL\n");\ exit(...
C
assignments/toolchain/read_elf/header/myelf.h
avinash-n/work-1
gpl-3.0
1,126
48
codeparrot/github-code
1a93606ae44c2d87c10fca14b2b80d4d5f6b7e221e1c936538ec9016e4402d4f
#!/usr/bin/env python # -*- coding: utf-8 -*- import os import argparse import pprint import proteindf_bridge as bridge import logging import logging.config def get_rest_of_frame_molecule(frame_molecule, selected_molecule): # calc the rest selector = bridge.Select_AtomGroup(selected_molecule) selected ...
Python
scripts/brd-restructure.py
ProteinDF/ProteinDF_bridge
gpl-3.0
2,717
95
codeparrot/github-code
fcb1a788f40a0b20fa29063c969bba7f72f6dddb0f5fe13c5fb5ae866dd4fcf0
package se.vidstige.jadb; import se.vidstige.jadb.managers.Bash; import java.io.*; import java.util.ArrayList; import java.util.List; public class JadbDevice { public enum State { Unknown, Offline, Device, Recovery, BootLoader }; private final String serial; p...
Java
impl/serverApp/src/main/java/se/vidstige/jadb/JadbDevice.java
Echtzeitsysteme/mindroid
gpl-3.0
7,644
231
codeparrot/github-code
9bf6f36ed054e9d0d5c2b6961e6bf0dcb0fe0501cd109fdaa7046d9706f557b9
import RPi.GPIO as GPIO KnockPin = 11 LedPin = 12 Led_status = 1 def setup(): GPIO.setmode(GPIO.BOARD) # Numbers GPIOs by physical location GPIO.setup(LedPin, GPIO.OUT) # Set LedPin's mode is output GPIO.setup(KnockPin, GPIO.IN, pull_up_down=GPIO.PUD_UP) GPIO.output(LedPin, GPIO.HIGH) # Set LedPin high(...
Python
quad-store-sensors/37in1/knock-rgb-led-smd.py
bicard/raspberrypi
gpl-3.0
1,005
37
codeparrot/github-code
16b90f7d9217a6c544d068d4def57ec9d944cfb229e04a270391d60ee618c4f0
/* * Copyright (c) 2016 The Ontario Institute for Cancer Research. All rights reserved. * * This program and the accompanying materials are made available under the terms of the...
Java
dcc-submission-server/src/main/java/org/icgc/dcc/submission/server/repository/UserRepository.java
icgc-dcc/dcc-submission
gpl-3.0
2,841
64
codeparrot/github-code
d1ca1ff45b2b0264de63e1631ea742850b9f5020211ca86f46a944e78d0d2f26
/* * 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 Code.Domain; /** * * @author Andres Orduz Grimaldo */ public class Jornada { private int id; private String no...
Java
GestionColegios/Codigo/GestionColegiosCliente/src/Code/Domain/Jornada.java
LayneGranados/Colegios
gpl-3.0
950
51
codeparrot/github-code
11db73fc3dc8876d76b3a19206c36380bb79ee58f30cd81e979d22605c8703e9
<?php /* @var $this yii\web\View */ use yii\data\ActiveDataProvider; use yii\widgets\ListView; /* @var $books array */ /* @var $book \app\models\Books */ /* @var $booksPhotos \app\models\BooksPhotos */ /* @var $booksDataProvider ActiveDataProvider */ /* @var $popularBooksDataProvider ActiveDataProvider */ $this->tit...
PHP
views/site/index.php
coding-books/website
gpl-3.0
2,499
69
codeparrot/github-code
578e82d981ed3a9907f9e5a54ca0c2087d3ecd8cebcf5c25e53188da9924b08a
function drawChart(len){ var box = document.createElement('div'); box.setAttribute('style','width:500px;height:500px;border:1px solid black;display:flex;flex-direction:column'); for(var i=0; i<len; i++){ var row = document.createElement('div'); if(i<len-1){ row.setAttribute('style','...
JavaScript
jobCrunch/chess.js
shashankKeshava/effective-enigma
gpl-3.0
1,186
41
codeparrot/github-code
f2801a3d3909398665d4350c46dc6d5cd5571aab302d362f710249fee7a9cbc4
using System; using System.Linq; using System.Collections.Generic; using System.Reflection; using System.Xml; using log4net; using System.ComponentModel; using System.Xml.Serialization; using System.Text; using System.IO; using common; using jm726.lib.wrapper; using jm726.lib.wrapper.logger; namespace jm726.lib.wrappe...
C#
Source/Diagrams/jm726.lib/Wrapper/Logger/XmlLogWriter.cs
JohnMcCaffery/RoutingIsland
gpl-3.0
7,090
207
codeparrot/github-code
af36f7a96ddaa3e48778abbea4e441276757f3e2bbeb7f2b6816f6ff1ddf05fc
/*! \file \author Igor Mironchik (igor.mironchik at gmail dot com). Copyright (c) 2017 Igor Mironchik 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++
3Dtree/camera_controller.hpp
igormironchik/3Dtree
gpl-3.0
1,494
69
codeparrot/github-code
3b0119cbbe8c9c8c8b9ed2bd895a6e2910b9b96c3f3431adc9d105146d9b3739
# Copyright 2015 Allen Institute for Brain Science # This file is part of Allen SDK. # # Allen SDK 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, version 3 of the License. # # Allen SDK is distributed in the ...
Python
allensdk/api/queries/biophysical_perisomatic_api.py
wvangeit/AllenSDK
gpl-3.0
12,180
308
codeparrot/github-code
82ab31e927e69cee1df94381f07e006595c151449be5eab76f7dafa05c9d7ec9
// simplewall // Copyright (c) 2016-2021 Henry++ #pragma once #include "routine.h" #include <winsock2.h> #include <ws2ipdef.h> #include <ws2tcpip.h> #include <windns.h> #include <mstcpip.h> #include <iphlpapi.h> #include <aclapi.h> #include <dbt.h> #include <fwpmu.h> #include <mmsystem.h> #include <...
C
src/global.h
henrypp/simplewall
gpl-3.0
2,798
104
codeparrot/github-code
b60780a22e4c343ec4463c78b0d062434d6fd1d3d90ac805b70f755aa758493a
\section{\-Getopt \-Class \-Reference} \label{interface_getopt}\index{\-Getopt@{\-Getopt}} {\ttfamily \#import $<$\-Getopt.\-h$>$} \subsection*{\-Public \-Member \-Functions} \begin{DoxyCompactItemize} \item (void) -\/ {\bf init\-Getopt\-:} \item (\-B\-O\-O\-L) -\/ {\bf response\-Is\-Valid} \item (\-N\-S\-String ...
TeX
Doc/latex/interface_getopt.tex
mogreet/iosSDK
gpl-3.0
9,044
176
codeparrot/github-code
1cdfe136103606d11e2984989cb2c132a76c07bb86bc5854a8eae6f7c9b1e048
/******************************************************************************** ** Form generated from reading UI file 'addECGDialog.ui' ** ** Created by: Qt User Interface Compiler version 5.7.0 ** ** WARNING! All changes made in this file will be lost when recompiling UI file! **************************************...
C
ui_addECGDialog.h
tushagarwal/SimECG
gpl-3.0
5,439
151
codeparrot/github-code
650de833684270910ab50e1059ed762a7cf7f09e02ea023a3ce57e70df0a8d6f
#include "trayicon.h" #include <QApplication> #include <QMenu> #include <QTimer> #include <conf/addressgroup.h> #include <conf/appgroup.h> #include <conf/confmanager.h> #include <conf/firewallconf.h> #include <form/controls/mainwindow.h> #include <fortsettings.h> #include <manager/hotkeymanager.h> #include <manager/w...
C++
src/ui/form/tray/trayicon.cpp
tnodir/fort
gpl-3.0
15,320
531
codeparrot/github-code
e4953bd8a1317d7046df1d07cf9fd65ec7385657883c2641c0d37ca0670f908c
// Obdi - a REST interface and GUI for deploying software // Copyright (C) 2014 Mark Clarkson // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at yo...
GO
go/saltkeys.go
mclarkson/obdi-saltkeymanager
gpl-3.0
4,629
208
codeparrot/github-code
6eb9907bf2ede727441b3db4ad20f4ca3e2139547569a7a155a7cd951352e0cc
package TFC.Handlers.Client; import net.minecraft.client.Minecraft; import net.minecraft.client.gui.ScaledResolution; import net.minecraft.client.renderer.Tessellator; import net.minecraft.entity.player.EntityPlayer; import net.minecraftforge.client.event.RenderGameOverlayEvent; import net.minecraftforge.client...
Java
TFC_Shared/src/TFC/Handlers/Client/RenderOverlayHandler.java
Timeslice42/TFCraft
gpl-3.0
5,784
133
codeparrot/github-code
862faf791a856f6edd2c6460f92a2ab54f543677cdb3cbe58f22a3be861feaac
var path = require('path') module.exports = { // Webpack aliases aliases: { quasar: path.resolve(__dirname, '../node_modules/quasar-framework/'), src: path.resolve(__dirname, '../src'), assets: path.resolve(__dirname, '../src/assets'), components: path.resolve(__dirname, '../src/components') }, ...
JavaScript
config/index.js
agustincl/AclBoilerplate
gpl-3.0
1,969
67
codeparrot/github-code
50c07de862e2d3db1ad4ebed1d1eb2af535539ea174a1b2995258e3b296fc4ab
// // This file is part of the aMule Project. // // Copyright (c) 2003-2011 aMule Team ( admin@amule.org / http://www.amule.org ) // Copyright (c) 2002-2011 Merkur ( devs@emule-project.net / http://www.emule-project.net ) // // Any parts of this program derived from the xMule, lMule or eMule project, // or contributed ...
C++
amule/src/BaseClient.cpp
hlechner/hl-test
gpl-3.0
96,820
3,022
codeparrot/github-code
15df943591fbf9b838c33b1c3fdd9bc2882e7156dab9e2fd84cc092c3a8ee462
/* * An Abstract communicator interface which implements listeners. */ /* Copywrite 2013 Will Winder This file is part of Universal Gcode Sender (UGS). UGS is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Softw...
Java
src/com/willwinder/universalgcodesender/AbstractCommunicator.java
shapeoko/Universal-G-Code-Sender
gpl-3.0
7,779
221
codeparrot/github-code
a6529fd44e0edf27dd5ba064b35b35bd250d148a2650318100ba00ead6a616e1
/* * Copyright (c) "Neo4j" * Neo4j Sweden AB [http://neo4j.com] * * This file is part of Neo4j. * * Neo4j is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your...
TypeScript
src/browser/documentation/help/foreach.tsx
neo4j/neo4j-browser
gpl-3.0
2,176
68
codeparrot/github-code
06feab7e3b98c171c685a3402e1bb5c3740a2d34cb7637ec9d3ac74ff51cb09e
/* * Unplayer * Copyright (C) 2015-2019 Alexey Rochev <equeim@gmail.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later...
C++
src/queuemodel.cpp
equeim/unplayer
gpl-3.0
3,387
114
codeparrot/github-code
fa24d7b3b582d658b344b1df06918346d6b1641bb0fcea28a493994f5eb4f77d
#!/usr/bin/env node 'use strict'; /*All Includes needed for the Bot Core*/ var isfile = function(name) { require('fs').exists(name, function(exists) { return exists; }); }; var jsonfile = require('jsonfile'); var configfile = 'config.json'; var Event = require('./modules/Events').eventBus; // One way Events f...
JavaScript
bot.js
Bioblaze/Devbot
gpl-3.0
6,311
141
codeparrot/github-code
e4a8960a36bc98fa13330abf9c570e2eba193465802f93f46c9c320a3721e6e0
/* * Copyright (C) 2018 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
Java
quickstep/src/com/android/quickstep/TaskIconCache.java
Deletescape-Media/Lawnchair
gpl-3.0
8,440
222
codeparrot/github-code
3958b9166f5e2fe2abbeeb72eccb819e7827288e14efca0a195c3a763ac3d0cb
# -*- coding: utf-8 -*- """ Created on Wed Jul 6 22:58:00 2016 @author: Diogo """ # -*- coding: utf-8 -*- """ Created on Sun Jun 26 19:08:00 2016 @author: Diogo """ def ImportGames(): games = list() user_games = dict() with open('C:\\Users\\Diogo\\Documents\\Monografia FIA\\UserGamesCleansed.tx...
Python
AssociationRule.py
DiogoGoes/TCC
gpl-3.0
1,429
55
codeparrot/github-code
afb560f1c44019ab2357996c7fc23667973c93820f2daaa5ad2a98c899efdfbd
<?php /****************************************************************************** * * Subrion - open source content management system * Copyright (C) 2017 Intelliants, LLC <https://intelliants.com> * * This file is part of Subrion. * * Subrion is free software: you can redistribute it and/or modify * it und...
PHP
includes/helpers/ia.category.front.flat.php
Saltw/webusable
gpl-3.0
5,629
188
codeparrot/github-code
4e5ab3f4261a8050a24302f2fdd538672d937376f02afbc42bbdd1c1b954792f
<?php /** * \PHPCompatibility\Sniffs\LanguageConstructs\NewEmptyNonVariableSniff. * * PHP version 5.5 * * @category PHP * @package PHPCompatibility * @author Juliette Reinders Folmer <phpcompatibility_nospam@adviesenzo.nl> */ namespace PHPCompatibility\Sniffs\LanguageConstructs; use PHPCompatibility\Sniff;...
PHP
local/codechecker/PHPCompatibility/Sniffs/LanguageConstructs/NewEmptyNonVariableSniff.php
universityofglasgow/moodle
gpl-3.0
2,308
85
codeparrot/github-code
f4dd667d3914cff4f08a1da8fa2db0732539905811d3170cb78e5020af186313
/* ============================================================================ Name : lcd_scroll_text.c Author : Kiran N <niekiran@gmail.com > Version : 1.0 Copyright : Your copyright notice Description : This application prints pre-stored strings on a LCD panel with shifting/scrolling effect ...
C
Project_Src/lcd_scrollable_text/src/lcd_text_scroll.c
niekiran/EmbeddedLinuxBBB
gpl-3.0
6,531
220
codeparrot/github-code
87fdcbd2aad93f654fa93913fa467f5546153bc2f627af60d7c2587e8e6e9977
// Copyright (c) 2012-2014 Lotaris SA // // This file is part of ROX Center. // // ROX Center 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...
JavaScript
app/assets/javascripts/modules/globalSettings.js
lotaris/rox-center
gpl-3.0
4,170
132
codeparrot/github-code
70f682b7ed1367ba4264e3222278ae54bc8fb31b34ce8bc7f28f57a3fe75ff64
package com.glory.model; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.Id; @Entity public class Log { @Id @GeneratedValue private Long id; private Long transactionId; private String message; public Log() { } public Log(Long id, Long t...
Java
src/main/java/com/glory/model/Log.java
aliemrahpekesen/4GloryApi
gpl-3.0
851
52
codeparrot/github-code
7f5631f8fc661260f7cca271235e2a8565c21399b4fb10421da811af2db24eaf
Imports Microsoft.VisualBasic Imports System ' ' * Copyright (c) 2012, 2013, Oracle and/or its affiliates. All rights reserved. ' * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. ' * ' * ' * ' * ' * ' * ' * ' * ' * ' * ' * ' * ' * ' * ' * ' * ' * ' * ' * ' * ' Namespace java.lang.invoke ''' <su...
Visual Basic
java/lang/invoke/LambdaMetafactory.vb
amethyst-asuka/java_dotnet
gpl-3.0
26,112
463
codeparrot/github-code
77b01d39ca09c8e865c2c2d650ac99b37d6e998c5c2aaafff3202cd85cbbbb07
<?php /** * @copyright &copy; 2005-2022 PHPBoost * @license https://www.gnu.org/licenses/gpl-3.0.html GNU/GPL-3.0 * @author Julien BRISWALTER <j1.seth@phpboost.com> * @version PHPBoost 6.0 - last update: 2021 12 05 * @since PHPBoost 3.0 - 2013 04 29 * @contributor Arnaud GENET <elenwii...
PHP
bugtracker/util/BugtrackerViews.class.php
PHPBoost/PHPBoost
gpl-3.0
19,662
401
codeparrot/github-code
4c45d7f15e283f68928930d1d0ed604e81fd247dfe98117b6f27515eda19947b
package l2s.gameserver.network.l2.s2c; import java.util.ArrayList; import java.util.Collections; import java.util.List; import l2s.commons.lang.ArrayUtils; import l2s.gameserver.model.Player; import l2s.gameserver.model.items.ItemInfo; import l2s.gameserver.model.items.ItemInstance; import l2s.gameserver.model.items....
Java
gameserver/src/main/java/l2s/gameserver/network/l2/s2c/WareHouseWithdrawListPacket.java
pantelis60/L2Scripts_Underground
gpl-3.0
1,880
77
codeparrot/github-code
4a8532dbc5c65f943df39b7046d3e2a4effc5608abd4511a0908787162cb2c5b
<?php /** * BwPostman Newsletter Component * * BwPostman form field Text templates class. * * @version %%version_number%% * @package BwPostman-Admin * @author Karl Klostermann * @copyright (C) %%copyright_year%% Boldt Webservice <forum@boldt-webservice.de> * @support https://www.boldt-webservice.de/en/forum-e...
PHP
src/administrator/components/com_bwpostman/src/Field/TexttemplatesField.php
RomanaBW/BwPostman
gpl-3.0
5,859
196
codeparrot/github-code
dd0dd64be217e7f2eeeb760f7a35c9f6a7d69f144527773a8598fd11befd048d
<?php namespace App\Model\Table; use App\Model\Entity\Guest; use Cake\ORM\Query; use Cake\ORM\RulesChecker; use Cake\ORM\Table; use Cake\Validation\Validator; /** * Guests Model * * @property \Cake\ORM\Association\BelongsTo $Matchteams * @property \Cake\ORM\Association\BelongsToMany $Hosts */ class GuestsTable e...
PHP
src/Model/Table/GuestsTable.php
pacior/testimonials
gpl-3.0
2,307
99
codeparrot/github-code
5daf26983b36213682c82bc4c91862a1fbb8b5f429ba474191ce11ca481a8684
<?php // This file is part of Moodle - http://moodle.org/ // // Moodle is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // //...
PHP
mod/scorm/datamodel.php
ouyangyu/fdmoodle
gpl-3.0
4,031
96
codeparrot/github-code
48a4311829d50b21c231ae685a0f3801b894e70d4f43a105fed85ffc9a018f75
<!doctype html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"> <meta http-equiv="X-UA-Compatible" content="ie=edge"> <title>Richard Benson In Memory</title> <link rel="stylesheet" hre...
HTML
project2/Events/benson.html
chantisnake/COMP298
gpl-3.0
13,418
199
codeparrot/github-code
bc28f7e22f86f8082014e68772b80e98625e224ddf29dde732fb3c157b856048
/** * Copyright (C) 2010-2016 Structr GmbH * * This file is part of Structr <http://structr.org>. * * Structr 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 y...
Java
structr-core/src/main/java/org/structr/core/function/ErrorFunction.java
derkaiserreich/structr
gpl-3.0
2,991
118
codeparrot/github-code
6d33d5aa33444c5355a76ed84f18101498b160eb8e2d4be83012a89f69233bc0
package com.risevision.gcslogs.delete; import com.risevision.gcslogs.auth.MockCredentialProvider; import java.util.logging.Logger; import java.util.Map; import java.util.HashMap; import org.junit.*; import static org.junit.Assert.*; import static org.hamcrest.CoreMatchers.*; import static com.risevision.gcslogs.Build...
Java
src/test/java/com/risevision/gcslogs/delete/DeleteLoadJobFilesServletHandlerTest.java
Rise-Vision/storage-gcs-logging
gpl-3.0
1,393
47
codeparrot/github-code
57595da4d38252d94df20cfd93b8bd0d796e49edf92b8d3bdd64bedefc7bad26
package org.maxgamer.rs.model.skill.prayer; import java.util.LinkedList; /** * @author netherfoam, alva */ public enum PrayerGroup { //Standard prayer book /** All prayers that boost defense */ DEFENSE(PrayerType.THICK_SKIN, PrayerType.ROCK_SKIN, PrayerType.STEEL_SKIN, PrayerType.CHIVALRY, PrayerType.PIETY, Pray...
Java
src/org/maxgamer/rs/model/skill/prayer/PrayerGroup.java
tehnewb/Titan
gpl-3.0
3,118
82
codeparrot/github-code
aea180c478df1cee82172729fea8a65bb32ca52f75d5f3043b7722fbfa4b2d92
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Colorinator</title> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> <meta name="viewport" content="width=410"> <!-- jQuery --> <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquer...
HTML
demo-apps/colour/index.html
wijmo/Wijmo-Complete
gpl-3.0
9,738
240
codeparrot/github-code
6300d71c8a7ef9ec9464b800ebdd3e644d3929904090e24254a3fc5be0323d93
import ast import json import arrow import elasticsearch from bson import ObjectId from flask import request from eve.utils import config from eve.io.base import DataLayer try: from urllib.parse import urlparse except ImportError: from urlparse import urlparse def parse_date(date_str): """Parse elastic...
Python
eve_elastic/elastic.py
amagdas/eve-elastic
gpl-3.0
13,856
429
codeparrot/github-code
d5422d099e95c777e3a555af87ba3a2d72d4a07f7a1be2c192a3e44702e8eb4b
=head1 NAME EPrints::Plugin::Screen::Search =cut package EPrints::Plugin::Screen::Search; use EPrints::Plugin::Screen::AbstractSearch; @ISA = ( 'EPrints::Plugin::Screen::AbstractSearch' ); use strict; sub new { my( $class, %params ) = @_; my $self = $class->SUPER::new(%params); $self->{appears} = []; push ...
Perl
perl_lib/EPrints/Plugin/Screen/Search.pm
eprintsug/ulcc-core
gpl-3.0
14,057
587
codeparrot/github-code
4fab088aa529c56f1631edf4fc7dccfba42272c8e6055fe2ec22741f91e63511
/* * ASpark * Copyright (C) 2015 Nikolay Platov * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. ...
Java
src/nikoladasm/aspark/ASparkUtil.java
NikolaDasm/aspark
gpl-3.0
7,066
195
codeparrot/github-code
adc35d1505187eb4ed8c70cb35cbaa9c196a06fef962cbc5cfe6b60f120f3edc
package controller; import java.io.IOException; import java.sql.Time; import java.util.Calendar; import java.util.List; import java.util.TimeZone; import javax.servlet.ServletException; import javax.servlet.ServletOutputStream; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import ...
Java
qlhoatdong2/src/controller/OnlController.java
phuong95st/project-LA16
gpl-3.0
7,205
209
codeparrot/github-code
1feafaf773f6a2d98272681144eb024493420dab4ef0670ff4ce3fc698ae228a
<!DOCTYPE html> <!-- Copyright (C) 2017 ss 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 ...
HTML
sonya-transport-html5/src/app/component2/search.result.list.html
StarshiStrelok/sonya
gpl-3.0
7,582
150
codeparrot/github-code