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
535cf9f67ac159992fc4963c55333b35e614cd634146872cab47de667d098cbe
import React, { PropTypes } from 'react'; import _filter from 'lodash/filter'; import _reduce from 'lodash/reduce'; import injectSheet from 'react-jss'; import { statusValues } from 'funong-common/lib/appConstants'; import Button from 'modules/common/buttons/ApiButtonWithIcon'; import styles from 'modules/common/styles...
JavaScript
app/modules/orderPage/sumary/summary.js
theseushu/funong-web
mit
2,530
87
codeparrot/github-code
61e44836ce8c138c9d3e7adefea4113d457356b7ab52c15934c50125208bdb11
'use strict'; import arrayEach from 'lodash/_arrayEach'; import arrayMap from 'lodash/_arrayMap'; import isArray from 'lodash/isArray'; import noop from 'lodash/noop'; import property from 'lodash/_baseProperty'; import onlyOnce from './onlyOnce'; import setImmediate from './setImmediate'; export default function qu...
JavaScript
lib/internal/queue.js
steverobb/async
mit
4,231
153
codeparrot/github-code
fbe789d177b043b9a3828c5d3d11f833be5df5f5e24ef21cfffe197c468b390d
package org.apache.pig.test.pigmix.mapreduce; import java.io.IOException; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import java.util.Properties; import java.util.Map; import org.apache.hadoop.fs.Path; import org.apache.hadoop.io.Text; import org.apache.hadoop.io.LongWritable; impor...
Java
trunk/test/org/apache/pig/test/pigmix/mapreduce/L5.java
kaituo/sedge
mit
7,623
206
codeparrot/github-code
2c26c8f7e889c7ba65f21e117c6fe924df1c5f57de9822e2e0eb8fb02878026b
using Serenity.ComponentModel; using Serenity.Data; using System; using System.ComponentModel; using System.Reflection; namespace Serenity.PropertyGrid { public partial class LocalizablePropertyProcessor : PropertyProcessor { private ILocalizationRowHandler localizationRowHandler; ...
C#
Serenity.Services/RequestHandlers/IntegratedFeatures/Localization/LocalizablePropertyProcessor.cs
linpiero/Serenity
mit
1,429
47
codeparrot/github-code
9b1f4ab0e13326cd9e16da29ddbefa5fd8b8a76f487af080b4288888e68383bb
#ifndef GUIUTIL_H #define GUIUTIL_H #include <QString> #include <QObject> #include <QMessageBox> QT_BEGIN_NAMESPACE class QFont; class QLineEdit; class QWidget; class QDateTime; class QUrl; class QAbstractItemView; QT_END_NAMESPACE class SendCoinsRecipient; /** Utility functions used by the Bitcoin Qt UI. */ namesp...
C
src/qt/guiutil.h
smookyguns/mst
mit
4,244
121
codeparrot/github-code
2780120bacadbaa5946fc188d26b80d7e5e66b7ba519896d3d4334d92fff5805
/** * @author [townmi] * @date [2015-08-01] */ /** * body */ html, body{ background: rgb(233, 233, 233); font: 100 14px/24px "arial"; } .background_blur #marsk{ display: block; } /** * linnk */ .ui_link{ text-decoration: none; } .ui_link:hover{ text-decoration: underline; } /** * ui_conten...
CSS
old/css/small.css
townmi/bis
mit
12,030
664
codeparrot/github-code
06277331ac144a34721803c2fd201de8d8ea32ef71f3a0fe42d8a86e06e074c0
""" Read in and access data from external resources such as gender lists.""" import os import pickle import cort from cort.core import singletons from cort.core import util __author__ = 'smartschat' @singletons.Singleton class GenderData: """ Read in and access data from lists with gender information. A...
Python
cort/core/external_data.py
Yegor-Budnikov/cort
mit
4,384
131
codeparrot/github-code
107ccc0136ac06a48717d7d40bc803fd5847508c546be714592ec71cd3a2d016
MissileCommand = { /* Here we've just got some global level vars that persist regardless of State swaps */ score: 0, /* If the music in your game needs to play through-out a few State swaps, then you could reference it here */ music: null, /* Your game can check MissileCommand.orientated in inter...
JavaScript
phaser-examples-master/projects/missilecommand/src/Boot.js
gerardogrimaldi/gerardogrimaldi.github.io
mit
2,269
81
codeparrot/github-code
87de13572fc73a10869e9af65d1fc3ab98d11937d83ca8af2cccef76f047cedb
<!DOCTYPE html> <html> <head> <title>select.js</title> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"> <link rel="stylesheet" media="all" href="../docco.css" /> <style type="text/css"> </style> </head> <body> <div id="jump_to"...
HTML
docs/code/src/select.html
WebsiteHQ/functionfoundry
mit
32,663
1,153
codeparrot/github-code
342ee7192078720317d960c05421bcabc4ef3f995fa3c0696a712c73f75cab9d
/* * This file is part of TechReborn, licensed under the MIT License (MIT). * * Copyright (c) 2018 TechReborn * * 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, inc...
Java
src/main/java/techreborn/client/container/ContainerDestructoPack.java
drcrazy/TechReborn
mit
2,357
67
codeparrot/github-code
ed36b6fd9910f0d48ed963b020f512a36a4b39500e83f748124eba549cc9e339
using System; using System.Linq; using System.Reflection; using Game.Configuration; using Oxide.Core; using Oxide.Core.Extensions; using Oxide.Core.RemoteConsole; namespace Oxide.Game.InterstellarRift { /// <summary> /// The extension class that represents this extension /// </summary> public class In...
C#
Games/Other/Oxide.Game.InterstellarRift/InterstellarRiftExtension.cs
Visagalis/Oxide
mit
5,200
143
codeparrot/github-code
98bc3503b72f829bedc3188e788e55bb37a8d5ff75b24eea1a7d11bf520ad766
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import { ChangeDetectionStrategy, Component, ContentChildren, QueryList, ViewEncapsulation, } from '@angula...
TypeScript
src/material-experimental/mdc-autocomplete/autocomplete.ts
angular/components
mit
1,496
47
codeparrot/github-code
9e3ac826435095dcaf221faaa530b264ecb836fed28f0a13ce32cf9bc14ad157
<?php /* Provides a mapper for the Twick.it REST-API. You can simply call the (static) methods of this class. You don't have to take care of all the REST stuff (like sending http-requests and parsing XML data). If you create any cool gadgets for Twick.it please let us now. We're looking forward to many interess...
PHP
base/interfaces/api/wrapper/php/Twickit.class.php
derlangemarkus/Twick.it
mit
15,941
431
codeparrot/github-code
6fa10ec6cf7bf9ba7c1d24081ed6d9e2f66eb852e0fd93e7ad72d84093f14a2c
/* Part of SWI-Prolog Author: Jan Wielemaker E-mail: J.Wielemaker@vu.nl WWW: http://www.swi-prolog.org Copyright (c) 1985-2020, University of Amsterdam VU University Amsterdam CWI, Amsterdam All rights reserved. ...
Perl
docker/rootfs/usr/local/lib/swipl/boot/autoload.pl
TeamSPoon/logicmoo_workspace
mit
29,714
958
codeparrot/github-code
fe6fbfce996fec6bc3eb564b76be2e084487b902991d4f92b7686d76a34c020d
#pragma once #include <iostream> #include <sstream> #include <stdlib.h> #include "../BigInt.hpp" #include "types.hpp" namespace Ethereum{namespace Connector{ template<typename T> std::string hex(const T &); template<typename T> T unhex(const char *); template<> uint32_t unhex<uint32_t>(const char *); #if __H...
C++
src/detail/hex.hpp
BitProfile/libethrpc
mit
532
41
codeparrot/github-code
cc2cc3b72abff14893e506a17f9f75e514266de6c4fde1663ce92782fe6d2df7
/* * * * (c) 2010-2020 Torstein Honsi * * License: www.highcharts.com/license * * !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!! * * */ import BaseSeries from '../Core/Series/Series.js'; import H from '../Core/Globals.js'; import Math3D from '../Extensions/Math3D.js'; var perspectiv...
JavaScript
ajax/libs/highcharts/8.2.2/es-modules/Series/Column3DSeries.js
cdnjs/cdnjs
mit
19,202
490
codeparrot/github-code
ab114b0734537e7f849195d86ce8fe82803a3bea08ccc4e953dddab836e190be
<?php /** * @package framework * @copyright Copyright 2005-2019 HUBzero Foundation, LLC. * @license http://opensource.org/licenses/MIT MIT */ namespace Hubzero\Database; use Iterator; use Countable; /** * Database Iterable class */ class Rows implements Iterator, Countable { public function __construc...
PHP
src/Database/Rows.php
zooley/framework
mit
8,141
485
codeparrot/github-code
a91c557454edff37e3554ad5cb36026ad193a9d31164223b98c971a6e5add503
/* e_j0f.c -- float version of e_j0.c. * Conversion to float by Ian Lance Taylor, Cygnus Support, ian@cygnus.com. */ /* * ==================================================== * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved. * * Developed at SunPro, a Sun Microsystems, Inc. business. * Permiss...
C
3rdparty/lib/libm/generic/e_j0f.c
gil0mendes/Infinity-OS
mit
10,354
337
codeparrot/github-code
2130f3044450ba5f86725bc0b3be7cc48a073b7a4429df330d0180474d931caf
 using UnityEngine; [AddComponentMenu("Modifiers/Crumple")] public class MegaCrumple : MegaModifier { public float scale = 1.0f; public float speed = 1.0f; public float phase = 0.0f; public bool animate = false; Matrix4x4 mat = new Matrix4x4(); MegaPerlin iperlin = MegaPerlin.Instance; public overri...
C#
Visual_Experiments/Assets/Plugins/Mega-Fiers/Scripts/MegaFiers/Modifiers/MegaCrumple.cs
lejeanf/VisualExperiments
mit
1,166
52
codeparrot/github-code
01574ae634607f90fafa348365c927f2b8cff330690def503f78236171107fd4
// Copyright (c) 2015 RAMBLER&Co // // 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, copy, modify, merge, publish, di...
C
conferences/Classes/PresentationLayer/UserStories/LectureUserStory/Modules/TagModule/View/DataDisplayManager/TagCellSizeManager/TagCellSizeCalculator.h
rambler-ios/RamblerConferences
mit
3,124
98
codeparrot/github-code
c19fe149453cadda21d053c9f3e8e2c6006ae271a426ec33a4863404ecab1f57
<?php /** * @package hubzero-cms * @copyright Copyright 2005-2019 HUBzero Foundation, LLC. * @license http://opensource.org/licenses/MIT MIT */ // No direct access. defined('_HZEXEC_') or die(); $canDo = Components\Tags\Helpers\Permissions::getActions(); $text = ($this->task == 'edit' ? Lang::txt('JACTION...
PHP
core/components/com_tags/admin/views/entries/tmpl/edit.php
anthonyfuentes/hubzero-cms
mit
9,320
251
codeparrot/github-code
929fa5f2716a0a778c623e4eef4a5ff4e40403f6024c101df61787697dd33535
{{-- Accomplishments --}} <div class="field-group {{ setInvalidClass('accomplishments', $errors) }}"> {!! $label['accomplishments'] !!} {!! Form::textarea('accomplishments') !!} {!! errorsFor('accomplishments', $errors); !!} </div> {{-- GPA --}} <div class="field-group -mono {{ setInvalidClass('g...
PHP
resources/views/application/partials/_form_application.blade.php
DoSomething/scholarship-application-app
mit
4,772
135
codeparrot/github-code
323825baaf1d9f121bec5c2db144eaddd7ea774a7447c9af9a63deddd1dc7017
///////////////////////////////////////////////////////////////////////////// // Name: src/generic/busyinfo.cpp // Purpose: Information window when app is busy // Author: Vaclav Slavik // Copyright: (c) 1999 Vaclav Slavik // RCS-ID: $Id$ // Licence: wxWindows licence //////////////////...
C++
Gamekit/wxWidgets-2.9.1/src/generic/busyinfo.cpp
airgames/vuforia-gamekit-integration
mit
4,123
135
codeparrot/github-code
c7eedb234e54ebfb427ffa30998d6499992c00ec3754dba9e6735e600d056de2
/* * Qt4 bitcoin GUI. * * W.J. van der Laan 2011-2012 * The Bitcoin Developers 2011-2012 */ #include <QApplication> #include "bitcoingui.h" #include "transactiontablemodel.h" #include "addressbookpage.h" #include "sendcoinsdialog.h" #include "signverifymessagedialog.h" #include "optionsdialog.h" #include "about...
C++
src/qt/bitcoingui.cpp
ProjectRadium/Radium
mit
38,875
1,057
codeparrot/github-code
c9ebf577fcb7341086161464d22a836979e2acb8e73de9b8614877d1d927d93d
const path = require('path'); const favicon = require('serve-favicon'); const compress = require('compression'); const cors = require('cors'); const helmet = require('helmet'); const bodyParser = require('body-parser'); const feathers = require('feathers'); const configuration = require('feathers-configuration'); cons...
JavaScript
src/app.js
danjambur/design-marketplace
mit
1,664
57
codeparrot/github-code
419e95190f716a994c0d44fab68ab2961a2d77462891d314e9d1847239ee0f9c
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Magpie.Compilation { public class Generic<TType> where TType : Definition { public string Name { get { return BaseType.Name; } } public IList<string> TypeParameters { get; private set; }...
C#
old/csharp/Magpie.Compilation/Syntax/Type Definitions/Generic.cs
munificent/magpie-optionally-typed
mit
1,686
50
codeparrot/github-code
5d78e8cc21d1a1c0bfc02d249f00fe0d2db3c2c683bd3b403ff3e14bad537414
'use strict'; /** * Module dependencies. */ var mongoose = require('mongoose'), errorHandler = require('./errors.server.controller'), Volunteer = mongoose.model('Volunteer'), _ = require('lodash'); /** * Create a Volunteer */ exports.create = function(req, res) { var volunteer = new Volunteer(req.body); volu...
JavaScript
app/controllers/volunteers.server.controller.js
vtechmonkey/growDomeProject
mit
2,111
108
codeparrot/github-code
cb1f709e45571ebc1083d7436d551c7c0585b90ff85838aa3680ec467a92fece
// // APPaginalTableView.h // BuyMeAPie // // Created by Antol Peshkov on 21.08.13. // Copyright (c) 2013 BuyMeAPie. All rights reserved. // #import <UIKit/UIKit.h> #import "APPaginalTableViewElement.h" @class APPaginalTableView; @class APPaginalContainerView; @class APPaginalContainerViewPage; #pragma mark - @...
C
APPaginalTableViewExample/APPaginalTableViewExample/Components/APPaginalTableView/APPaginalTableView.h
Antol/APPaginalTableView
mit
2,583
73
codeparrot/github-code
4a64062a51e689b8331a853b12a7b191bfe7c9ea0450593b3a04345db528621b
/** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * @flow */ import type { ReactDOMResponderContext, ReactDOMResponderEvent, PointerType, } from 'shared/ReactDOMTypes'; impo...
JavaScript
packages/react-interactions/events/src/dom/Tap.js
Simek/react
mit
18,848
723
codeparrot/github-code
75f250bdafed4cf1997850565c1216c2dd88fb861de4195bc3d092364639ab2a
# -*- coding: utf-8 -*- import os import collections from six.moves import cPickle import numpy as np import re import itertools class TextLoader(): def __init__(self, data_dir, batch_size, seq_length): self.data_dir = data_dir self.batch_size = batch_size self.seq_length = seq_length ...
Python
utils.py
bahmanh/word-rnn-tensorflow
mit
4,465
116
codeparrot/github-code
098daf1438483fe7aeebba9be52678f4f0e4e4c6ba696569e8b7f9da05b14048
using System; namespace MagpieUpdater.Services { public class AppInfo { public string AppIconPath { get; set; } public string AppCastUrl { get; private set; } public string PublicSignatureFilename { get; set; } public int SubscribedChannel { get; set; } public bool Disab...
C#
src/Magpie/Magpie/Services/AppInfo.cs
ashokgelal/Magpie
mit
1,075
31
codeparrot/github-code
0f244e7d9d152dbc606a34de47ce4d11b13fdf0303cd04b3ff11e3b24615f46a
/* pebble_device_plugin.c Copyright (c) 2014 NTT DOCOMO,INC. Released under the MIT license http://opensource.org/licenses/mit-license.php */ #include <stdio.h> #include <string.h> #include <stdlib.h> #include <ctype.h> #include "pebble_device_plugin_defines.h" #include "pebble_device_plugin.h" #include "battery_...
C
dConnectDevicePebbleApp/src/pebble_device_plugin.c
DeviceConnect/DeviceConnect-Common
mit
13,425
531
codeparrot/github-code
6dabe2b1b72b9a8e71d1de38c999c709edc7e12cd0f16642ecf08f03a90156b3
{-# LANGUAGE ScopedTypeVariables #-} {-# OPTIONS_GHC -fno-warn-orphans #-} -- Various orphan instances and functions that we don't want to appear in client module Unison.ABT.Extra where import Control.Applicative import Data.Bytes.Serial (Serial(..), Serial1(..)) import Data.Bytes.VarInt (VarInt(..)) import Data.List...
Haskell
node/src/Unison/ABT/Extra.hs
CGenie/platform
mit
3,610
84
codeparrot/github-code
bdc2173b7c9ac66de2432e20b5921bb00e2714d2930b041790a274bfe1bd2eb4
package com.anocube.anoscript.exception; import com.anocube.anoscript.Lexer; /** * (C)2016 Anocube LTD. * http://anocube.com/anoscript * * Defines the runtime exception type used in the event of an error in * script parsing or lexing. * * @author Nathan Corbyn */ public class AnoscriptSyntaxError extends E...
Java
src/main/java/com/anocube/anoscript/exception/AnoscriptSyntaxError.java
Anocube/Anoscript
mit
1,354
68
codeparrot/github-code
6a930ad73c6af6b5a47bd497b6cf38ebbde6036ce2ffa21ea6b8f9021b817112
<html dir="LTR"> <head> <meta http-equiv="Content-Type" content="text/html; charset=Windows-1252" /> <meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5" /> <title>AdoNetAppenderParameter Properties</title> <xml> </xml> <link rel="stylesheet" type="text/css" hre...
HTML
lib/Log4net 1.2.13/doc/release/sdk/log4net.Appender.AdoNetAppenderParameterProperties.html
YOTOV-LIMITED/pokerleaguemanager
mit
3,424
48
codeparrot/github-code
0077b16b73302a8437fdfa970449b533b0daedbc944f4cfc9de9f04165258795
""" heritago URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.10/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') Class-...
Python
heritago/heritago/urls.py
TalatCikikci/heritago
mit
1,796
45
codeparrot/github-code
802ce0cc9c62d5269f4bcb8c1db4ed85907fd214f0cdc3664b92a8546df3abc3
/*! \file */ // Copyright 2011-2020 Tyler Gilbert and Stratify Labs, Inc; see LICENSE.md for rights. #ifndef SAPI_SGFX_REGION_HPP_ #define SAPI_SGFX_REGION_HPP_ #include <sapi/sg_types.h> #include "Point.hpp" #include "Area.hpp" #include "../api/SgfxObject.hpp" namespace sgfx { /*! \brief Region Class * \details ...
C++
include/sgfx/Region.hpp
StratifyLabs/StratifyAPI
mit
3,635
153
codeparrot/github-code
9897245dd707e62819a1e0b7af978907cb72a752cda5ab2ef33b786c2b45b593
/** * Given a roman numeral, convert it to an integer. * * Input is guaranteed to be within the range from 1 to 3999. */ public class Solution { public int romanToInt(String s) { char[] arr = {'I', 'V', 'X', 'L', 'C', 'D', 'M'}; int[] mapped = {1, 5, 10, 50, 100, 500, 1000}; int sum = ...
Java
questions/roman-to-integer/Solution.java
franklingu/leetcode-solutions
mit
930
36
codeparrot/github-code
431af4bc2d26197d57416442e3e4596ef974ffc01f1c6acfd1f634e9a3570b76
J.$package("MUI",function(cm){ var $D = cm.dom, $E = cm.event, dragingHandler; var isTouchDevice = cm.platform.touchDevice; var startEvt = isTouchDevice ? "touchstart" : "mousedown"; var moveEvt = isTouchDevice ? "touchmove" : "mousemove"; var endEvt = isTouchDevice ? "touchend" : "mouseup"; var Slider = cm...
JavaScript
public/modules/JMUI/js/jmui/slider.js
laispace/Spirit
mit
2,797
99
codeparrot/github-code
86a1685589169668a5c54dd73af65825f0ff93f52782b0e6bb9b9658290cab08
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta charset="utf-8"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta id="viewport" name="viewport" content="wid...
HTML
web/html/thermostat_schedule.html
jpnos26/thermostat_V3
mit
6,283
213
codeparrot/github-code
df87d18d525161105755d77569a1c2ef56b87ec5d5162ae1bb6bfb8dc57cd849
from cms.exceptions import SubClassNeededError from .models import PageExtension, TitleExtension class ExtensionPool(object): def __init__(self): self.page_extensions = set() self.title_extensions = set() self.signaling_activated = False def register(self, extension): """ ...
Python
cms/lib/python2.7/site-packages/cms/extensions/extension_pool.py
macs03/demo-cms
mit
4,797
129
codeparrot/github-code
97714437dac88b0716c84a3f444e7d39e64f80ead4ce778693d6953f35756662
/* * The MIT License (MIT) * * Copyright (c) 2015 CodeRevisited.com * * 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...
Java
src/main/java/com/hackerearth/Capillary/IOI2050.java
sureshsajja/CodeRevisited
mit
5,669
214
codeparrot/github-code
c782e26ff6e60953d951a0369f1bd8d793121b5eaa4bfee183a8391fdd7b6374
<?php /* * This file is part of the Symfony package. * * (c) Fabien Potencier <fabien@symfony.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\Security\Http\Firewall; use Psr\Log\LoggerInterface; ...
PHP
src/Symfony/Component/Security/Http/Firewall/RememberMeListener.php
Slamdunk/symfony
mit
4,949
131
codeparrot/github-code
3ba59d35c55696b05e3ccffb339947610cb3219f33147e51cf6d3b36f890171d
#include <stdlib.h> #include <stdio.h> #include <string.h> #include <sys/time.h> #define MAXALLOC 1024*1024*1024 static struct { const void *ptr; size_t size; char file[100]; int line; double t; } pointers[100000]; static unsigned npointers; static size_t allocedmem; static int errordumped; #ifd...
C
thnets/memory.c
aftersight/After-Sight-Model-1
cc0-1.0
3,498
143
codeparrot/github-code
0f95ebff48bf327f52c05a1cda6205b4ef81ec9c77ce1303eb29755f9a25ad2e
package org.teamone.client.lab; import org.springframework.context.annotation.Scope; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.*; import org.teamone.client.generic.User; import org.teamone.core.SQL.LabReportSQL; import org.teamone.core.SQL.LabRequestSQL; import or...
Java
app/src/main/java/org/teamone/client/lab/LabReportController.java
vinnybod/CSE360-IPIMS
cc0-1.0
7,947
223
codeparrot/github-code
96b2e541a0d10a2cba837020c77dca2c80a1d34518d88d0db3391e878763436e
subroutine readsol !! ~ ~ ~ PURPOSE ~ ~ ~ !! this subroutine reads data from the HRU/subbasin soil properties file !! (.sol). This file contains data related to soil physical properties and !! general chemical properties. !! ~ ~ ~ INCOMING VARIABLES ~ ~ ~ !! name |units ...
FORTRAN
src/readsol.f
grmpfhmbl/swatmodel-trusty64
cc0-1.0
11,483
275
codeparrot/github-code
96e41ef9cf956412e63afd3339df3eb8ebe6e77e5244a9f4032bc05aa486f4b8
package net.minecraft.server; import com.google.common.util.concurrent.ListeningExecutorService; import com.google.common.util.concurrent.MoreExecutors; import com.google.common.util.concurrent.ThreadFactoryBuilder; import java.io.BufferedReader; import java.io.DataOutputStream; import java.io.InputStreamReader; impor...
Java
Server/work/decompile-8eb82bde/net/minecraft/server/HttpUtilities.java
Codecarinas/server
cc0-1.0
3,980
106
codeparrot/github-code
6c6c1583e822f5e7922f1582d702d2b2485fb33f679755106720b019420abe1c
#include "ex14_15.h" std::istream& operator>>(std::istream &in, Book &book) { in >> book.no_ >> book.name_ >> book.author_ >> book.pubdate_ >> book.number_; return in; } std::ostream& operator<<(std::ostream &out, const Book &book) { out << book.no_ << " " << book.name_ << " " << book.author_ << " " << bo...
C++
ch14/ex14_15.cpp
anguszxd/CppPrimer
cc0-1.0
955
49
codeparrot/github-code
a2a9ec2343efb49e65688e5c25fb2e339887246f78c76730c87cabbd11291637
/* * This file is part of the OWASP Proxy, a free intercepting proxy library. * Copyright (C) 2008-2010 Rogan Dawes <rogan@dawes.za.net> * * This library 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 Found...
Java
proxy-parent/owasp-proxy/src/main/java/org/owasp/proxy/http/server/DefaultHttpRequestHandler.java
kevinmcgoldrick/Tank
epl-1.0
4,845
140
codeparrot/github-code
8303cafa8cc40cfdda1ee8017bdea2a61301e4e0b8b9fcf20bd341fdd799982d
/* * Hibernate, Relational Persistence for Idiomatic Java * * Copyright (c) 2008, Red Hat Middleware LLC or third-party contributors as * indicated by the @author tags or express copyright attribution * statements applied by the authors. All third-party contributions are * distributed under license by Red Hat Mi...
Java
thirdparty/plugins/org.csstudio.platform.libs.hibernate/project/envers/src/test/java/org/hibernate/envers/test/integration/inheritance/tableperclass/ParentAuditing.java
ControlSystemStudio/cs-studio
epl-1.0
3,256
95
codeparrot/github-code
3b7e68bbce5dd37fd8bac8e038d514905468625bafbf19a53e30c25f89f460cc
/* * Copyright (c) 2015-2017 Red Hat, Inc. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * Red H...
TypeScript
dashboard/src/app/organizations/organization-details/organization-member-dialog/organization-member-dialog.controller.ts
TypeFox/che
epl-1.0
7,749
285
codeparrot/github-code
c1b0bc5b655aaea509c8c1e61f6c3e68725455d79b54b05a36ee59880b53ca7e
/* ============================================================================== scaleImplementation.cpp Created: 14 Apr 2015 2:54:18pm Author: yvan ============================================================================== */ #include "scale.hpp" #include "../../internalHeaders.h" YSE::SCALE:...
C++
yse/music/scale/scaleImplementation.cpp
yantrabuddhi/yse-soundengine
epl-1.0
3,210
135
codeparrot/github-code
3ff4d1ff5e1eefefda23acb3b60265e8ec0d083ed3fa69d579f489233787295f
/******************************************************************************* * Copyright (c) 1997, 2006 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, an...
Java
dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/util/ArrayEnumeration.java
OpenLiberty/open-liberty
epl-1.0
1,715
71
codeparrot/github-code
bafa6f51777ad7eb979b929ebcc001d5ebf529fd4aa5998a0c39848ce3620b1e
/* * Copyright (c) 2012-2017 Red Hat, Inc. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * Red H...
Java
multiuser/api/che-multiuser-api-resource/src/test/java/org/eclipse/che/multiuser/resource/api/usage/tracker/RamResourceUsageTrackerTest.java
TypeFox/che
epl-1.0
5,695
143
codeparrot/github-code
6a7bda0675ab428d944bbfbb03e1a3fb32dd2bd1873a203137e1dd8d298a5dde
/* * Debrief - the Open Source Maritime Analysis Application * http://debrief.info * * (C) 2000-2014, PlanetMayo Ltd * * This library is free software; you can redistribute it and/or * modify it under the terms of the Eclipse Public License v1.0 * (http://www.eclipse.org/legal/epl-v10....
Java
org.mwc.debrief.core/src/org/mwc/debrief/core/creators/chartFeatures/InsertTimeDisplayAbsolute.java
theanuradha/debrief
epl-1.0
1,270
57
codeparrot/github-code
5e89f0db81b048a6998fc45fd82a15523a564b7a53bb85c891246c80906b401a
/** * Copyright (c) 2010-2020 Contributors to the openHAB project * * See the NOTICE file(s) distributed with this work for additional * information. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License 2.0 which is available at * http://www.eclipse....
Java
bundles/org.openhab.binding.plugwise/src/main/java/org/openhab/binding/plugwise/internal/PlugwiseThingDiscoveryService.java
openhab/openhab2
epl-1.0
16,423
399
codeparrot/github-code
8793afeb83d0cf57b1ab2d1b323e17646c5dba3b081c7af74810d29873d08e83
/******************************************************************************* * Copyright (c) 2000, 2005 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, an...
Java
swt4ruby/src/mingw32-x86_32/org/eclipse/swt/internal/opengl/win32/LAYERPLANEDESCRIPTOR.java
neelance/swt4ruby
epl-1.0
1,349
41
codeparrot/github-code
58516906543cc70e55c9322358d6e37f35604203fcda4edac6561a27a7b05000
// -----BEGIN DISCLAIMER----- /******************************************************************************* * Copyright (c) 2009, 2021 JCrypTool Team and Contributors * * All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse * Public License v1.0 which...
Java
org.jcryptool.visual.sidechannelattack.dpa/src/org/jcryptool/algorithm/ECCOrderAndPoints.java
jcryptool/crypto
epl-1.0
3,629
143
codeparrot/github-code
23c67e8017c0288815c980c91c6c89282ea7db4d89109f2ddc8e6dca47336962
/******************************************************************************* * Copyright (c) 2004 Actuate Corporation. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is availabl...
Java
data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/impl/QueryExecutor.java
sguan-actuate/birt
epl-1.0
42,405
1,544
codeparrot/github-code
8693b49de3919c0b3225d29721aa7d046851325db10124847e57a0505234383f
/******************************************************************************* * Copyright (c) 2007, 2020 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, an...
Java
dev/com.ibm.ws.ejbcontainer.bindings_fat/test-applications/BndErrorEJB.jar/src/com/ibm/bnd/err/ejb/error14/ejb/TargetBean.java
OpenLiberty/open-liberty
epl-1.0
1,497
51
codeparrot/github-code
ecf1b0475d75dc44a135d395cf116a097697ffe78b35fc5876a9db7a89d970e9
/******************************************************************************* * Copyright (c) 2012-2015 Codenvy, S.A. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available ...
Java
plugin-java/che-plugin-java-ext-java/src/main/java/org/eclipse/che/ide/ext/java/client/action/NewJavaSourceFileAction.java
Panthro/che-plugins
epl-1.0
3,421
89
codeparrot/github-code
c58eae7bb335dc5b76b939a272ce00cc9e8b0e527cd75e2d5831b9c09c5f236d
/******************************************************************************* * Copyright (c) 2011-2015 The University of York. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and...
Java
plugins/org.hawk.ifc/src/org/hawk/ifc/IFCDataType.java
Orjuwan-alwadeai/mondo-hawk
epl-1.0
1,789
72
codeparrot/github-code
8a3d9b10fb593bcceccc1a39215a37dee51528ad84610f8360dc28faec0562d7
/* * This file is part of the coreboot project. * * Copyright (C) 2007-2008 Advanced Micro Devices, Inc. * Copyright (C) 2015 Timothy Pearson <tpearson@raptorengineeringinc.com>, Raptor Engineering * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Pu...
C
src/cpu/amd/family_10h-family_15h/init_cpus.c
groeck/coreboot
gpl-2.0
52,116
1,885
codeparrot/github-code
4eb959d29ebcbe3487d395fc058998a1532ed4bdbd59e905e0928f3c8ff34be6
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License")...
C
Ports/iOSPort/xmlvm/apache-harmony-6.0-src-r991881/drlvm/vm/thread/src/thread_native_basic.c
skyHALud/codenameone
gpl-2.0
31,743
1,030
codeparrot/github-code
16b5423dc1732b4c1a5783cb6c8cf247dfc2161204c678715d26842703c35349
/*********************************************************************** * * Copyright (C) 2011, 2012, 2013, 2014 Graeme Gott <graeme@gottcode.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 Fo...
C
src/libs/fileformats/odt_reader.h
dimkanovikov/Scenarist
gpl-2.0
2,003
78
codeparrot/github-code
3534f81eadda97cbe1c462641148e58dfdda719c20ae4fe4e5f693004015ba09
// K-3D // Copyright (c) 1995-2010, Timothy M. Shead // // Contact: tshead@k-3d.com // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public // License as published by the Free Software Foundation; either // version 2 of the License, or (at your option) ...
C++
modules/qtui_color/widget.cpp
barche/k3d
gpl-2.0
3,858
133
codeparrot/github-code
50f76d4f9d0de2f2980fe7a499dbc0dd97fe49e760144dff192dc5dffba45807
<?php /** * @package com_zoo * @author YOOtheme http://www.yootheme.com * @copyright Copyright (C) YOOtheme GmbH * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only */ /* Class: ElementDisqus The Disqus element class (http://www.disqus.com) */ class ElementDisqus extends Element impleme...
PHP
administrator/tmp/install_4e59c7f6c22ad/media/elements/disqus/disqus.php
berkeley-amsa/past-site
gpl-2.0
3,315
129
codeparrot/github-code
11e0264183c0ee1f8c04130350ffc098536d78d73d3c8f2ef384c7014da97fa2
<?php /** * @file * Contains \Drupal\ctools\Wizard\WizardFactory. */ namespace Drupal\ctools\Wizard; use Drupal\Core\Form\FormBuilderInterface; use Drupal\Core\Form\FormState; use Symfony\Component\EventDispatcher\EventDispatcherInterface; class WizardFactory implements WizardFactoryInterface { /** * The Fo...
PHP
profiles/panopoly/modules/contrib/ctools/src/Wizard/WizardFactory.php
ccatalina/panopoly8.x-2.0-alpha1
gpl-2.0
4,373
132
codeparrot/github-code
d6358746d055ad5c31bf679f4ecf2c16888bf930e1e2e2a772953cc09a37f598
/* * COarse-grain LOck-stepping Virtual Machines for Non-stop Service (COLO) * (a.k.a. Fault Tolerance or Continuous Replication) * * Copyright (c) 2016 HUAWEI TECHNOLOGIES CO., LTD. * Copyright (c) 2016 FUJITSU LIMITED * Copyright (c) 2016 Intel Corporation * * Author: Zhang Chen <zhangchen.fnst@cn.fujitsu.com...
C
net/colo-compare.c
marioli/qemu
gpl-2.0
35,309
1,137
codeparrot/github-code
e55291c3ea077f171c0a2cf4731b7623fedf059c484ccac812acd9b6e833e2eb
import THREE from 'threejs'; import mod from 'mod'; import * as frag from 'text!./shaders/particle.frag'; import * as vert from 'text!./shaders/vertex.vert'; var params = {spot_0_speed: 1, spot_1_speed: 1.1, spot_radius: 50, spot_brightness: 2, background_alpha: 0.2}; export default class spotlights extends mod { ...
JavaScript
src/mods/spotlights/spotlights.js
Jared-Sprague/Kimotion
gpl-2.0
2,865
56
codeparrot/github-code
98644aea8d40d307e60fb01b8b83567ac712eec30eadcdd2c0f47a2f3f69e9a7
<?php /** * RCP Payments class * * This class handles querying, inserting, updating, and removing payments * Also handles calculating earnings * * @since 1.5 */ class RCP_Payments { /** * Holds the name of our payments database table * * @access public * @since 1.5 */ public $db_name; /** * H...
PHP
includes/class-rcp-payments.php
Section214/Restrict-Content-Pro
gpl-2.0
16,454
680
codeparrot/github-code
a62f8e2c191b160bf4886cf08d23b60a83c1fd0813bfe04b92a116bb800f4378
VERSION = 3 PATCHLEVEL = 0 SUBLEVEL = 84 EXTRAVERSION = NAME = Sneaky Weasel # *DOCUMENTATION* # To see a list of typical targets execute "make help" # More info can be located in ./README # Comments in this file are targeted only to the developer, do not # expect to learn how to build the kernel reading this file. #...
Makefile
Makefile
cliffperucci/Linux-3.0.X
gpl-2.0
53,438
1,568
codeparrot/github-code
b6ab28a42930be56c6ef9e3031abaf50251a5f776007cce64a6920fdc0396162
/* * #%L * OME Bio-Formats package for reading and converting biological file formats. * %% * Copyright (C) 2005 - 2017 Open Microscopy Environment: * - Board of Regents of the University of Wisconsin-Madison * - Glencoe Software, Inc. * - University of Dundee * %% * This program is free software: you ca...
Java
components/formats-gpl/src/loci/formats/in/CellSensReader.java
melissalinkert/bioformats
gpl-2.0
84,920
2,519
codeparrot/github-code
6529044875a623ba74c52004ac331f1f3954122533ca1b82d7ce134e49af8a6a
/* * Routines having to do with the 'struct sk_buff' memory handlers. * * Authors: Alan Cox <alan@lxorguk.ukuu.org.uk> * Florian La Roche <rzsfl@rz.uni-sb.de> * * Fixes: * Alan Cox : Fixed the worst of the load * balancer bugs. * Dave Platt : Interrupt stacking fix. * Richard Kooijman : Timestamp fixe...
C
net/core/skbuff.c
jmztaylor/android_kernel_htc_a3ul_old
gpl-2.0
83,904
3,320
codeparrot/github-code
1dd32dc09319db1b92c98be361640d9f9189704ce61fe2cc0c00799792293d80
<div class="l-page"> <header class="l-header" role="banner"> <div class="l-branding"> <?php if ($logo): ?> <a href="<?php print $front_page; ?>" title="<?php print t('Home'); ?>" rel="home" class="site-logo"><img src="<?php print $logo; ?>" alt="<?php print t('Home'); ?>" /></a> <?php endif; ...
PHP
sites/all/themes/stepup/layouts/sidebar/sidebar-layout.tpl.php
owenmj/demo
gpl-2.0
1,807
56
codeparrot/github-code
a676e4726e785ac82be3aa14ec3d21006de41a80f951ec3bce794c5dc3652c11
# -*- coding: utf-8 -*- # # Copyright © 2011 Red Hat, Inc. # # This software is licensed to you under the GNU General Public License, # version 2 (GPLv2). There is NO WARRANTY for this software, express or # implied, including the implied warranties of MERCHANTABILITY or FITNESS # FOR A PARTICULAR PURPOSE. You should h...
Python
cli/src/katello/client/api/errata.py
beav/katello
gpl-2.0
1,792
51
codeparrot/github-code
672e97f69e881bc8bec7c3551d70472f8414c83982350a09b0e1c360146a1296
/************************************************************************************ Filename : DefaultComponent.h Content : A default menu component that handles basic actions most menu items need. Created : July 25, 2014 Authors : Jonathan E. Wright Copyright : Copyright 2014 Ocul...
C
external/ovr_mobile_sdk_0.5.0/VRLib/jni/VRMenu/DefaultComponent.h
wadetb/shellspace
gpl-2.0
3,603
98
codeparrot/github-code
e3dea6a018b876061ae9366f7b9671e015bc7b5f3f7070d1868a77958af6e4d8
#include "config.h" #ifdef USE_VFIO #include <linux/vfio.h> #include "trinity.h" #include "ioctls.h" static const struct ioctl vfio_ioctls[] = { IOCTL(VFIO_GET_API_VERSION), IOCTL(VFIO_CHECK_EXTENSION), IOCTL(VFIO_SET_IOMMU), IOCTL(VFIO_GROUP_GET_STATUS), IOCTL(VFIO_GROUP_SET_CONTAINER), IOCTL(VFIO_GROUP_UNSET...
C
ioctls_linux/vfio.c
geohot/trinity-osxnew
gpl-2.0
926
42
codeparrot/github-code
04b81f04ca134023abbe18828ddbcf0383ff0fb4a0e06debc5492317a1003be3
<?php declare(strict_types=1); namespace PhpMyAdmin\Controllers\Table; use PhpMyAdmin\Config\PageSettings; use PhpMyAdmin\Controllers\AbstractController; use PhpMyAdmin\Export\Options; use PhpMyAdmin\Message; use PhpMyAdmin\Plugins; use PhpMyAdmin\ResponseRenderer; use PhpMyAdmin\SqlParser\Parser; use PhpMyAdmin\Sql...
PHP
libraries/classes/Controllers/Table/ExportController.php
phpmyadmin/phpmyadmin
gpl-2.0
4,304
133
codeparrot/github-code
c5a2f6cff41d2dac7af752b363df9dad3314530e38a54cfa8367bf884afdc0a9
-- garage_door_open.lua -- Part of nodemcu-httpserver, example. -- Author: Marcos Kirsch --[[ This example assumed you have a Wemos D1 Pro to control a two-door garage. For each garage door, a Wemos relay shield is used to simulate a button (connect relay in parallel with the actual physical button) an...
Lua
http/garage_door.lua
HHHartmann/nodemcu-httpserver
gpl-2.0
5,336
154
codeparrot/github-code
42c7bd530010146e76d0b4cbe7582d65c729d14c7eaf0c83efa235005e103a9f
/* mediastreamer2 library - modular sound and video processing and streaming Copyright (C) 2006-2013 Belledonne Communications, Grenoble 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...
C
tester/mediastreamer2_video_stream_tester.c
krieger-od/mediastreamer2
gpl-2.0
29,178
715
codeparrot/github-code
2d8f7a477b0f8647ed3076ff2546a8a9833950a16c52b9c7ebda927e77084637
<?php /** * @package HikaShop for Joomla! * @version 2.6.0 * @author hikashop.com * @copyright (C) 2010-2015 HIKARI SOFTWARE. All rights reserved. * @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html */ defined('_JEXEC') or die('Restricted access'); ?><?php class hikashopNameboxType { const NAMEBOX_SING...
PHP
administrator/components/com_hikashop/types/namebox.php
DevDean/jissaticket
gpl-2.0
17,894
571
codeparrot/github-code
df590aba5ce64e44763f25548cdacf5693860027b3a67850bd8d5a9b31615a65
# -*- coding: utf-8 -*- from __future__ import division from nltk.corpus import wordnet as wn #Importamos el lector del corpus de wordnet import random import operator ######################################################################### ## La función inicio crea la vista inicial que tendrá el usuario si no tiene...
Python
define/controllers/particular.py
iarroyof/define-semantic-annotation
gpl-2.0
21,358
466
codeparrot/github-code
5916a4698420dd2753c098afae4c0044bc070d24930bc44ef81226c81108f818
/**************************************************************************** ** Meta object code from reading C++ file 'UIWizardNewVDPageBasic3.h' ** ** Created by: The Qt Meta Object Compiler version 63 (Qt 4.8.6) ** ** WARNING! All changes made in this file will be lost! *********************************************...
C++
out/linux.amd64/debug/obj/VirtualBox/qtmoc/UIWizardNewVDPageBasic3.tmp.cpp
bayasist/vbox
gpl-2.0
4,739
135
codeparrot/github-code
876e25e0015257451b0288ceb67450104b811d5623b9bf1dd47c3759e3527401
/**************************************************************************** ** ** Copyright (C) 2012 Nokia Corporation and/or its subsidiary(-ies). ** All rights reserved. ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** This file is part of the QtGui module of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL$ ** ...
C
contrib/i586-mingw32msvc/include/qt4/src/gui/text/qtextobject_p.h
repstd/modified_vlc
gpl-2.0
3,394
115
codeparrot/github-code
8e40b217b48bbac69bd2d871c140ac29c89c89ed76b8aae5aca6dab5665c0980
#ifndef __ORG_XMLVM_IPHONE_UIBARBUTTONSYSTEMITEM__ #define __ORG_XMLVM_IPHONE_UIBARBUTTONSYSTEMITEM__ #include "xmlvm.h" // Preprocessor constants for interfaces: // Implemented interfaces: // Super Class: #include "java_lang_Object.h" // Circular references: // Class declarations for org.xmlvm.iphone.UIBarButtonSys...
C
Ports/iOSPort/xmlvm/src/xmlvm2c/compat-lib/iphone/org_xmlvm_iphone_UIBarButtonSystemItem.h
skyHALud/codenameone
gpl-2.0
5,080
96
codeparrot/github-code
78fe767912169d7094a387bf04dc89b9fac736b22ec88ef1223f5b2be7f6b86d
/*************************************************************************** Copyright (C) 2005-2009 Robby Stephenson <robby@periapsis.org> ***************************************************************************/ /*************************************************************************** * ...
C++
src/fetch/gcstarpluginfetcher.cpp
culugyx/tellico-debian
gpl-2.0
16,067
490
codeparrot/github-code
8c2a579dddf59510168f8a9667f02bcd20a93fe79c7ce65418af419e5a100d3d
function onLoad() { var choose = document.querySelector( 'input[type="file"]' ); var loadDemoButton = document.querySelector( 'button[demo]' ); var loadDemoBigButton = document.querySelector( 'button[demo-big]' ); var tileWidthInput = document.querySelector( 'input[name="tile-width"]' ); var tileHeightInput = docu...
JavaScript
tools/html/tileset-extractor/tileset-extractor.js
andremichelle/platforms
gpl-2.0
9,128
346
codeparrot/github-code
2ca32f1977d984438e7cd96177f87a7f6256580296883e331bbd8c69416bbede
<?php /****************************************************** * Masterpayment Modul for modified eCommerce Shopsoftware * Version 3.5 * Copyright (c) 2010-2012 by K-30 | Florian Ressel * * support@k-30.de | www.k-30.de * ---------------------------------------------------- * * $Id: masterpayment_cre...
PHP
includes/modules/payment/masterpayment_credit_card.php
ReichardtIT/modified-inkl-bootstrap-by-karl
gpl-2.0
6,101
158
codeparrot/github-code
55366db2fbdad5219747c1bac1e7d0ccc44aecc93bdacc7b25eb592896d8adb3
#include <Rcpp.h> using namespace Rcpp; #include <boost/spirit/include/qi.hpp> #include <boost/spirit/include/phoenix_core.hpp> #include <boost/spirit/include/phoenix_operator.hpp> #include "DoubleEuroPolicy.h" #include "DateTime.h" #include "DateTimeParser.h" namespace qi = boost::spirit::qi; typedef bool (*canParse...
C++
src/CollectorGuess.cpp
DanRuderman/readr
gpl-2.0
2,406
97
codeparrot/github-code
ade01b1a5c4fc9bb09748835544db562f3af8f6a5c7a4d5ae0619d568138f556
<?php declare(strict_types=1); namespace XoopsModules\Gbook; /** * **************************************************************************** * GBOOK - MODULE FOR XOOPS * Copyright (c) 2007 - 2012 * Ingo H. de Boer (http://www.winshell.org) * * This program is free software; you can redistribute it and/o...
PHP
class/Entries.php
mambax7/gbook
gpl-2.0
4,285
125
codeparrot/github-code
56743e62cdd315ba5e24866b68392742919aae4541e9be6cb5a423fe43af66c3
/**************************************************************************** ** Meta object code from reading C++ file 'VBoxDbgConsole.h' ** ** Created by: The Qt Meta Object Compiler version 63 (Qt 4.8.6) ** ** WARNING! All changes made in this file will be lost! ******************************************************...
C++
out/linux.amd64/debug/obj/VBoxDbg/qtmoc/VBoxDbgConsole.tmp.cpp
bayasist/vbox
gpl-2.0
8,387
268
codeparrot/github-code
2283bc34bd07074f0cd6b29bf0c8942375f07d6e7f76c8c193d6ba83468b261c
<?php if ( !defined('ABSPATH')) exit; global $nusantara_options; $nusantara_options = get_option('nusantara_options'); $andalas = $nusantara_options['homepage_andalas']['enabled']; if ($andalas): foreach ($andalas as $sumatra=>$aceh) { switch($sumatra) { case 'nusantara_intro_andalas': ?> <div class="row"...
PHP
WP1/wp-content/themes/nusantara/home-andalas.php
rustemcaushi/asf
gpl-2.0
6,012
150
codeparrot/github-code
e34e687ec6ab9ad305096440b74110ff4ff0d6cea326e5d164713066abfa1c4e
/* * Copyright (c) 2014, The Linux Foundation. All rights reserved. * Permission to use, copy, modify, and/or distribute this software for * any purpose with or without fee is hereby granted, provided that the * above copyright notice and this permission notice appear in all copies. * THE SOFTWARE IS PROVIDED "AS ...
C
package/qca-ssdk/src/include/hsl/dess/dess_api.h
dan82840/Netgear-RBR50
gpl-2.0
54,631
1,175
codeparrot/github-code
68b4265c36de917d3d52592c333c3ea5977cc9f774e735358200a77d6dd61bc9
/* * Tiny Code Generator for QEMU * * Copyright (c) 2008 Andrzej Zaborowski * * 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 righ...
C
tcg/arm/tcg-target.c
PPCDroid/external-qemu
gpl-2.0
50,925
1,585
codeparrot/github-code
56764bd373ef28397045e8f3b6ce9aeee52e2046cbbfed36bfd7498c5eacc72d
/* * ifx_n721_spi.c -- Serial peheripheral interface framing layer for IFX modem. * * Copyright (C) 2009 Texas Instruments * Authors: Umesh Bysani <bysani@ti.com> and * Shreekanth D.H <sdh@ti.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General P...
C
drivers/spi/ifx_n721_spi.c
omnirom/android_kernel_lge_sniper
gpl-2.0
30,170
1,031
codeparrot/github-code
6c8b01eeeb33eaf0472e7518dd8e3b9b0c5a6eab0cabb88f3a063c933f90fc6e
/* * Copyright (c) 2013 SUSE. All Rights Reserved. * * This program is free software; you can redistribute it and/or modify it * under the terms of version 2 of the GNU General Public License as * published by the Free Software Foundation. * * This program is distributed in the hope that it would be useful, but...
C
testcases/kernel/syscalls/fanotify/fanotify04.c
foss-for-synopsys-dwc-arc-processors/ltp
gpl-2.0
7,746
304
codeparrot/github-code
c78cf285d1cd3d966df1bbcf4e8a7b37cecb7af9d57dcc74485b2b2a43c0c601
# -*- coding: utf-8 -*- # LibraryFind - Quality find done better. # Copyright (C) 2007 Oregon State University # Copyright (C) 2009 Atos Origin France - Business Solution & Innovation # # This program is free software; you can redistribute it and/or modify it under # the terms of the GNU General Public License as pub...
Ruby
app/models/util_format.rb
devBPI/src_libraryfind
gpl-2.0
28,659
857
codeparrot/github-code
4926b0d1d68c2021f338b6590d9df8b91191d9a22f2d44eb2b831c5589957418
/* This library is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the license, or (at your option) any later version. */ package ee.ioc.cs.jbe.browser.detail.attributes; import o...
Java
src/ee/ioc/cs/jbe/browser/detail/attributes/LocalVariableCommonAttributeDetailPane.java
Yannik/jbe
gpl-2.0
5,786
155
codeparrot/github-code
13d2d79a1127b1378b8c0e9f776c769f4dc8241d7c28cfd1b3b508a8303ebca1
/* * Copyright (C) 2016 robert * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed...
Java
impl/bioc/src/pl/rcebula/code_generation/intermediate/intermediate_code_structure/StringField.java
bercik/BIO
gpl-2.0
1,350
58
codeparrot/github-code