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 |
|---|---|---|---|---|---|---|---|---|
6ae671a745647766f85f1f3cc5b869c74d88dbf7ff5e8f56bc9928f4b55173aa | /*
* Copyright (c) 2007 Mellanox Technologies. All rights reserved.
*
* This software is available to you under a choice of one of two
* licenses. You may choose to be licensed under the terms of the GNU
* General Public License (GPL) Version 2, available from the file
* COPYING in the main directory of this sou... | C | drivers/net/ethernet/mellanox/mlx4/en_netdev.c | williamfdevine/PrettyLinux | gpl-3.0 | 97,470 | 4,275 | codeparrot/github-code |
e9dac62355b5572802d4e7470a138231379c45e09e6119a3b72d41c74347431e | <?php
/**
* Created by PhpStorm.
* User: arcont01
* Date: 1/11/17
* Time: 09:33 AM
*/
class Conexion
{
private static $dsn = "mysql:dbname=tienda;host=localhost";
private static $user = "root";
private static $passwd = "";
private $conexion;
/**
* Conexion constructor.
*
*/
... | PHP | model/Conexion.php | Arcont01/mvc | gpl-3.0 | 913 | 50 | codeparrot/github-code |
aba1ff162ef564becb34168ca028201f9579ee58e6141c7f0110bff001ffc957 | ////////////////////////////////////////////////////////////////////////////////
//
// This file is part of planeworld, a 2D simulation of physics and much more.
// Copyright (C) 2017 Torsten Büschenfeld
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General ... | C | pw_graphics/window_management/window.h | planeworld/planeworld | gpl-3.0 | 7,232 | 209 | codeparrot/github-code |
5e590dbb312c7d887fd1fee73c2dec1134667d1a192f181e84abf9879e493680 | /****************************************************************************
**
** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of Qt Creator.
**
** Commercial License Usage
** Licensees holding valid commercial Qt licenses may use this f... | C++ | src/tools/examplesscanner/helpextractor.cpp | forio/julia-studio | gpl-3.0 | 15,144 | 402 | codeparrot/github-code |
2f6bc1aecb9048375e6ac62f70653c5092d415385d3c58f6e90206a3bcd18312 | import datetime
import qrcode
from django import forms
from django.conf import settings
from apps.complementos.afiliados.models import Plan
from lib.forms import EstiloForm
from apps.personas.models import Sexo
from apps.complementos.personas.models import EstadoCivil
from .models import Titular, Adherente, Parentes... | Python | apps/afiliados/forms.py | montenegroariel/sigos | gpl-3.0 | 5,884 | 138 | codeparrot/github-code |
7418380bd0f0df6d8cffa4dbfa07811a6b46c1bac4c2cc3504dcc412dc6af9f9 | <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Content.qml Example File | Qt Quick Extras 5.7</title>
<link rel="stylesheet" type="text/css" href="style/offline-simple.css" />
<script type="text/javascri... | HTML | Doc/qtquickextras/qtquickextras-flat-content-qml.html | angeloprudentino/QtNets | gpl-3.0 | 74,112 | 767 | codeparrot/github-code |
c37fd7c71da35790560dbbbc5b692ca525a67542f909527b0ad323e61644d323 | package org.openurp.edu.eams.core.service.internal
import java.sql.Date
import org.beangle.commons.collection.Collections
import org.beangle.commons.dao.impl.BaseServiceImpl
import org.beangle.data.jpa.dao.OqlBuilder
import org.beangle.commons.lang.Strings
import org.openurp.edu.base.Teacher
import org.openurp.edu.ea... | Scala | core/src/main/scala/org/openurp/edu/eams/core/service/internal/TeacherServiceImpl.scala | openurp/edu-eams-webapp | gpl-3.0 | 2,822 | 78 | codeparrot/github-code |
7802f65f2fb7f6cd6f79096667b36383d9633e47420af6d42b446d550201a501 | import time
import threading
import json
import cv2
from PyQt5 import QtCore
from PyQt5.QtGui import QImage
from effects import process
class ImageRIT_PyQt(QtCore.QObject):
newFrame = QtCore.pyqtSignal(QImage)
def __init__(self, cameraId, state_func):
super(ImageRIT_PyQt, self).__init__()
... | Python | Server/qt_CameraWidget.py | natedileas/ImageRIT | gpl-3.0 | 1,349 | 56 | codeparrot/github-code |
c9e98b2077a68e5a9d9f5478b4248c37b7797ae73b46ab0a54c7c4397de143bc | package net.einsteinsci.betterbeginnings.entity.projectile;
import io.netty.buffer.ByteBuf;
import net.einsteinsci.betterbeginnings.items.ItemKnife;
import net.einsteinsci.betterbeginnings.register.RegisterItems;
import net.minecraft.block.Block;
import net.minecraft.block.state.IBlockState;
import net.minecraft.entit... | Java | src/main/java/net/einsteinsci/betterbeginnings/entity/projectile/EntityThrownKnife.java | einsteinsci/betterbeginnings | gpl-3.0 | 4,636 | 164 | codeparrot/github-code |
deab37ce529b1fbda8ee06078c7d88a3fe1fc975ecdfd72ab8c3cd357ec632aa | /*
* Copyright (C) 2014 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | Java | frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/Task.java | s20121035/rk3288_android5.1_repo | gpl-3.0 | 7,378 | 218 | codeparrot/github-code |
cc88e4bcf6d3922417d24e12e94b3885b41a2eb3ca8e7139bc3465571ba8e5db | <?php
define ( 'CLI_SCRIPT', true );
$dir = dirname(__FILE__);
require_once($dir . '/../../config.php');
$pp = $CFG->plataforma;
if ($pp<>'pruebas')
{
if ($pp=='tp') {
//$_GET['fichero']='centros.txt'; include $dir.'/ulpgc_centros.php'; echo "Actualización de CENTROS finalizada\n";
//$_GET['fichero']='departamento... | PHP | local/ulpgccore/alta.php | ecastro/moodle23ulpgc | gpl-3.0 | 1,823 | 47 | codeparrot/github-code |
f5d74e432be28a8151be408b84e06cb4452dca5d4eff982a5167809c444013b6 | package pl.llp.aircasting.model;
import android.content.Context;
import android.widget.Toast;
import pl.llp.aircasting.R;
import pl.llp.aircasting.activity.ApplicationState;
import pl.llp.aircasting.activity.events.SessionChangeEvent;
import pl.llp.aircasting.activity.events.SessionStartedEvent;
import pl.llp.aircasti... | Java | src/main/java/pl/llp/aircasting/model/SensorManager.java | Cantal0p3/Networking-Aircasting | gpl-3.0 | 7,438 | 258 | codeparrot/github-code |
cdf5e34615fece894bfba4659875ee00e1c2b0220c901792e4a411525adc40c3 | package com.earth2me.essentials.signs;
import com.earth2me.essentials.ChargeException;
import static com.earth2me.essentials.I18n.tl;
import com.earth2me.essentials.Trade;
import com.earth2me.essentials.User;
import net.ess3.api.IEssentials;
import org.bukkit.event.player.PlayerTeleportEvent.TeleportCause;
public cl... | Java | Essentials/src/com/earth2me/essentials/signs/SignWarp.java | TotalFreedom/TF-Essentials | gpl-3.0 | 1,950 | 74 | codeparrot/github-code |
dd53b92ff013ffa9ebf002dd186b15951ffdb5b3db09bcec0bec2ba922606bde | # Copyright (C) 2013,2017 Ian Harry, Duncan Brown
#
# 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 ... | Python | pycbc/workflow/configuration.py | hagabbar/pycbc_copy | gpl-3.0 | 38,216 | 974 | codeparrot/github-code |
ea4a68ebb7b089345cd93d7c4e82047a56e256b38c30ec9cfe5187ad26f799d5 | <?php
/*
+-----------------------------------------------------------------------+
| Support Site : www.realcurryrecipes.co.uk |
| Contact Email : andy2295@realcurryrecipes.co.uk (NOT FOR SUPPORT) |
| Copyright : (c) 2008 Andy Roberts |
| Origina... | PHP | phpBB3/ajaxchecks.php | DaMysterious/portalxl50_premod | gpl-3.0 | 6,936 | 183 | codeparrot/github-code |
895066926706b2b1181fb2bc4e8d9a3fa6db5ef683d7916da8b40dca1b21d069 | package com.hypersocket.properties;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Properties;
import org.apache... | Java | hypersocket-core/src/main/java/com/hypersocket/properties/PropertiesFileConfigurationStore.java | xiaoligit/hypersocket-framework | gpl-3.0 | 2,986 | 106 | codeparrot/github-code |
f5b1c7c0e1b650cc40e4c0fc3ef81aed031076fbb10193b9776199c96a8a13d2 |
import imp
import os
from DIRAC import gConfig, gLogger
from DIRAC.Core.Utilities.CFG import CFG
from DIRAC.ConfigurationSystem.Client.Helpers import CSGlobals
BASECS = "WebApp"
def loadWebAppCFGFiles():
"""
Load WebApp/web.cfg definitions
"""
exts = []
for ext in CSGlobals.getCSExtensions():
if ext ==... | Python | Core/ConfMgr.py | zmathe/WebAppDIRAC | gpl-3.0 | 2,674 | 89 | codeparrot/github-code |
0ee584239405eef5e5b100ed4f2c1918b33ffba68aef239fd06f258ab7571d8a | <?php
/* Copyright (C) 2001-2005 Rodolphe Quiedeville <rodolphe@quiedeville.org>
* Copyright (C) 2004-2012 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2005 Marc Barilley / Ocebo <marc@ocebo.com>
* Copyright (C) 2005-2012 Regis Houssin <regis.houssin@capnetworks.com>
* Copyri... | PHP | htdocs/commande/list.php | ozit/dolibarr | gpl-3.0 | 23,243 | 529 | codeparrot/github-code |
973f9645b4a3ffb676ac48b606cd62ab89c955d6a2d381676ff9ca1e8ff08ddb | /*
* Copyright 2013 MovingBlocks
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed ... | C# | Source/Framework/zSprite.Framework/entitySystem2/event/EventPriority.cs | xposure/zSprite_Old | gpl-3.0 | 984 | 36 | codeparrot/github-code |
fc6fa67d8b689b2eabfafa7e00130add91a13b91238861226f3cc96d0193587e | /***************************************************************************/
/* */
/* pshalgo1.c */
/* */
/* Po... | C | QMOLEDEV/vnc-4_1_3-unixsrc/unix/xc/extras/freetype2/src/pshinter/pshalgo1.c | chriskmanx/qmole | gpl-3.0 | 21,552 | 783 | codeparrot/github-code |
f9621c2599fdc888c211809c1e9ffbd308edeab56d19cd9e0a38180925d943d6 | BEGIN;
-- definition
DROP TABLE IF EXISTS inventario.actuaciones;
CREATE TABLE inventario.actuaciones(
gid SERIAL,
codigo_actuacion text UNIQUE,
codigo_carretera text,
pk_inicial float,
pk_final float,
longitud integer,
tipo text,
accidente_tipo text,
acci... | SQL | db/funcions/procesar_actuaciones.sql | iCarto/vial | gpl-3.0 | 6,781 | 173 | codeparrot/github-code |
3f4e52ace1aafba4f3014de3aa85341700518fc95521d0e333196690166dfe05 | package magic.ui.widget.card.filter.dialog;
import java.util.List;
import magic.model.MagicCardDefinition;
import magic.ui.widget.card.filter.FilterOptionsPanel;
import magic.ui.widget.card.filter.IMultiSelectFilter;
import magic.ui.widget.card.filter.SearchOperand;
@SuppressWarnings("serial")
abstract class MultiSe... | Java | src/magic/ui/widget/card/filter/dialog/MultiSelectFilterDialog.java | magarena/magarena | gpl-3.0 | 1,880 | 63 | codeparrot/github-code |
90cf4d44000aa18dd09e4e77cc1538b9c80b61eb743fdf46989d8951c66f7e94 | /*
tID_std - Calculate standard deviation of a list of numbers.
Copyright 2009 William Brent
This file is part of timbreID.
timbreID 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 Lic... | C | src/tID_std.c | wbrent/timbreID | gpl-3.0 | 2,280 | 109 | codeparrot/github-code |
4e545ea7addd43945445af76337a9754e58007be6839abf633533a1076ae9717 | package mr.merc.view.move
class MovementList(val list: List[Movement]) extends Movement {
private val moves = list.toVector
private var current = 0
private def incrementCurrent(): Unit = {
current += 1
}
def currentMovement: Movement = moves(current)
override def start(): Unit = {
super.start()
... | Scala | src/main/scala/mr/merc/view/move/MovementList.scala | RenualdMarch/merc | gpl-3.0 | 1,025 | 50 | codeparrot/github-code |
7c62c822e2ccaa7203731cdadd8c1f62aa906db463b998096d2313cb91391f64 | <?php
/* * *************************************************************************************************** */
// Global Options Array
/* * *************************************************************************************************** */
global $NIMBUS_OPTIONS_ARR;
$NIMBUS_OPTIONS_ARR = array();
... | PHP | nimbus/options_arr.php | MariaLabHackerspace/soliloquy | gpl-3.0 | 95,575 | 1,776 | codeparrot/github-code |
cb7e38949c8c95ece21bc4f9ea52c40080d98fa1a2545de169e0cfa9aa214b8d | /**
* @version 17/07/2009 <BR>
* @author Setpoint Informática Ltda./Anderson Sanchez <BR>
*
* Projeto: Freedom <BR>
*
* Pacote: org.freedom.modulos.std <BR>
* Classe: @(#)DLRTratTrib.java <BR>
*
* Este arquivo é parte do sistema Freedom-ERP, o Freedom-ERP é um software livre;... | Java | freedom/src/main/java/org/freedom/modulos/lvf/view/dialog/report/DLRSitTrib.java | cams7/erp | gpl-3.0 | 2,459 | 72 | codeparrot/github-code |
b9ab741ec2145e82ecfc1071db92e8f377aafbf465b835bceb156722df83acb7 | /*
* VFIO: IOMMU DMA mapping support for TCE on POWER
*
* Copyright (C) 2013 IBM Corp. All rights reserved.
* Author: Alexey Kardashevskiy <aik@ozlabs.ru>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published... | C | drivers/vfio/vfio_iommu_spapr_tce.c | williamfdevine/PrettyLinux | gpl-3.0 | 32,632 | 1,618 | codeparrot/github-code |
fcefd10b77184c733afa9740c9d4eb922d16992353038f4d4faf4ac858b1af4a | package org.eol.globi.domain;
import org.junit.Test;
import static org.eol.globi.domain.InteractType.ATE;
import static org.eol.globi.domain.InteractType.CO_OCCURS_WITH;
import static org.eol.globi.domain.InteractType.DAMAGED_BY;
import static org.eol.globi.domain.InteractType.DISPERSAL_VECTOR_OF;
import static org.e... | Java | eol-globi-lib/src/test/java/org/eol/globi/domain/InteractTypeTest.java | jhpoelen/eol-globi-data | gpl-3.0 | 6,254 | 119 | codeparrot/github-code |
dbbfd0eb860e693e95f683182ff63a69349719c6bbddfa2ec8dfaee4039b47be | {% extends "base.html" %}
{% block header %}
<span><a href="{% url "bookings:index" %}">Home</a> » Request Call</span>
{% endblock %}
{% block error %}
{% if form.errors %}
<div class="alert">
<span class="error">
{% for field in form.visible_fields %}
... | HTML | txtalert/apps/bookings/templates/request_call.html | praekelt/txtalert | gpl-3.0 | 1,875 | 57 | codeparrot/github-code |
6f68092a20eefec80c2c3f035c2e0d1505e0d1ea6db528261344c399fa947381 | /* Copyright (C) 2006 - 2014 Jan Kundrát <jkt@flaska.net>
This file is part of the Trojita Qt IMAP e-mail client,
http://trojita.flaska.net/
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 Founda... | C | src/trojita/src/Imap/Model/MailboxTreeFwd.h | bobo1993324/qmlTrojita | gpl-3.0 | 1,390 | 46 | codeparrot/github-code |
334cba215733ca2372de85837a5ec9a0ef90c19c03717dd3391c8cd93ff6bdc2 | /*
* Copyright (C) 2005 - Paolo Borelli
* 2007 - Ignacio Casal Quinteiro <nacho.resa@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 Lic... | C | src/gtr-statusbar.c | mrkara/gtranslator | gpl-3.0 | 11,007 | 377 | codeparrot/github-code |
3983914f157b9190328f1e1686102c162fe1c2c86f107c7c3499dac7252367ad | /*
* Copyright (C) 2019, 2020 Yaroslav Pronin <proninyaroslav@mail.ru>
*
* This file is part of LibreTorrent.
*
* LibreTorrent 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 Lic... | Java | app/src/main/java/org/proninyaroslav/libretorrent/core/model/session/TorrentCriticalWork.java | proninyaroslav/libretorrent | gpl-3.0 | 2,770 | 99 | codeparrot/github-code |
84fac9b391a24f602f072dbc7bcc057d9d2d255eefdae6629664b70a3f502826 | /*
* kernel/cpuset.c
*
* Processor and Memory placement constraints for sets of tasks.
*
* Copyright (C) 2003 BULL SA.
* Copyright (C) 2004-2007 Silicon Graphics, Inc.
* Copyright (C) 2006 Google, Inc
*
* Portions derived from Patrick Mochel's sysfs code.
* sysfs is Copyright (c) 2001-3 Patrick Mochel
... | C | kernel/cpuset.c | williamfdevine/PrettyLinux | gpl-3.0 | 79,331 | 3,154 | codeparrot/github-code |
5acb11cf7d15acd3bf9b615f12905a09a8f7e257b8c95590b46bbae281b6d554 | /*! \file
\brief The definition of tetengo2::text::grammar::json.
Copyright (C) 2007-2019 kaoru
$Id$
*/
#if !defined(TETENGO2_TEXT_GRAMMAR_JSON_H)
#define TETENGO2_TEXT_GRAMMAR_JSON_H
#include <memory>
#include <tetengo2/text/grammar/grammar.h>
namespace tetengo2::text::grammar {
... | C | tetengo2/include/tetengo2/text/grammar/json.h | kaorut/tetengo2 | gpl-3.0 | 2,571 | 123 | codeparrot/github-code |
42f1c41e8890caa9616957d933416f41f19fec9a33033defe891db4ada9ef825 | var xcode = require('xcode');
var Promise = require('bluebird');
var path = require('path');
var fs = require('fs-extra');
var writeFile = Promise.promisify(fs.writeFile);
var copyFile = Promise.promisify(fs.copy);
var isHeaderFile = function(filename) {
return (/\.h(pp)?$/).test(filename);
};
var isSourceFile = fu... | JavaScript | lib/xcodeUtil.js | gameclosure/native-ios | gpl-3.0 | 7,400 | 249 | codeparrot/github-code |
acf491bd81152fe1e32078b4c3a1e53ecfd13b58f044cec6c3fec68e9510bf78 | // tag_loaders.cpp: SWF tags loaders, for Gnash.
//
// Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012
// Free Software Foundation, Inc
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software... | C++ | libcore/swf/tag_loaders.cpp | soywiz/gnash | gpl-3.0 | 12,225 | 400 | codeparrot/github-code |
4cd3227c46c98e8568ca517e2adee6a6f2c981fabd40c34fbcc24b5d97ec1afc | package com.gozulio.gozuliantechnologies.init;
import cpw.mods.fml.common.registry.GameRegistry;
import net.minecraft.init.Blocks;
import net.minecraft.init.Items;
import net.minecraft.item.ItemStack;
import net.minecraftforge.oredict.ShapedOreRecipe;
/**
* Created by Xeno on 5/10/2015.
*/
public class modCraftDict... | Java | src/main/java/com/gozulio/gozuliantechnologies/init/modCraftDict.java | gozulio/Minecraft-GozulianTechnologies | gpl-3.0 | 3,569 | 112 | codeparrot/github-code |
bc5843a452a4f38925e425bc611ace9bf2d1b72b82f796cda9d29d3abdf8a2b0 | <?
/**[N]**
* JIBAS Education Community
* Jaringan Informasi Bersama Antar Sekolah
*
* @version: 3.8 (January 25, 2016)
* @notes: JIBAS Education Community will be managed by Yayasan Indonesia Membaca (http://www.indonesiamembaca.net)
*
* Copyright (C) 2009 Yayasan Indonesia Membaca (http://www.indones... | PHP | akademik/guru/rpp_cetak.php | dedefajriansyah/jibas | gpl-3.0 | 4,623 | 144 | codeparrot/github-code |
31ba5ae33a039f0683abba1bc39a2ec2321681fabd4b0579af2632dee5d6a187 | /*
This file is part of Desperion.
Copyright 2010, 2011 LittleScaraby, Nekkro
Desperion 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... | C | Models/GoldItem.h | scalexm/Desperion_legacy | gpl-3.0 | 1,140 | 53 | codeparrot/github-code |
c73e4256441af08cb409d6621c480af146f9a3aa11f39787f7b0d7cfbde20551 | # This file is part of FreePC.
#
# FreePC 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.
#
# FreePC is distributed in the hope that ... | Python | server/restriction_system/utils.py | vonkarmaninstitute/FreePC | gpl-3.0 | 5,215 | 175 | codeparrot/github-code |
21170ac33e175cb41d8d060f96e267fb5962cfca86f66106a14b970a6f2782ee | #include "VlycPython.h"
#include "pythonqtdecorator.h"
#include <PythonQt/PythonQt_QtAll.h>
// TODO: make it public D:
#include "../../src/vlyc.h"
namespace Vlyc {
namespace Python {
namespace PyDef{
static PyModuleDef VlycModule = {
PyModuleDef_HEAD_INIT,
"vlyc",
NULL,//PyDoc_STR("The v... | C++ | plugins/python/VlycPython.cpp | Orochimarufan/vlyc2 | gpl-3.0 | 2,817 | 126 | codeparrot/github-code |
eb5ff4bee09c3630ddc5ab0f18357134c0acadf708cd454e27c4f89792f9978d | <?php
declare(strict_types=1);
/*
* This file is part of PHP CS Fixer.
*
* (c) Fabien Potencier <fabien@symfony.com>
* Dariusz Rumiński <dariusz.ruminski@gmail.com>
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
namespace Etrias\MagentoC... | PHP | src/SoapTypes/CatalogProductAttributeEntityToUpdate.php | etrias-nl/magento-connector | gpl-3.0 | 6,737 | 381 | codeparrot/github-code |
6e1db092fbbadc27e7a00cc9e9a5b6b495685208813dad908967d6fc13f9e4aa | /*******************************************************************************
* | o |
* | o o | HELYX-OS: The Open Source GUI for OpenFOAM |
* | o O o | Copyright (C) 2012-2016 ENGYS ... | Java | src/eu/engys/application/AdPanel.java | ENGYS/HELYX-OS | gpl-3.0 | 5,728 | 133 | codeparrot/github-code |
774e598dfd596d7e5a6bdb96a892fd742008d584c3b320a338f37737c847deaf | from dopamine.experiments.experiment import Experiment, ExperimentException
import numpy as np
import types
class APIExperiment(Experiment):
def runEpisode(self, reset=True):
""" resets the environment in a random state, then creates rollouts until
the environment and its adapters signals the ... | Python | experiments/api.py | rueckstiess/dopamine | gpl-3.0 | 5,317 | 125 | codeparrot/github-code |
962178a6974925e95aeb8a15d4a98dc8e4fc5e6bd1e39d77bf442e8ae109f124 | (function($) {
// register namespace
$.extend(true, window, {
"PHPSlick" : {
"HeaderDialog" : {
"ApplyClose" : ApplyClose
}
}
});
function ApplyClose(options) {
function show($ParentDiv,activeColumn,$activeHeaderColumn,_parent) {
function invalidate() {
$ParentDiv.empty();
$ite... | JavaScript | public/phpslickgrid/plugins/headerdialog/applyclose.js | danglauber/Program-Management | gpl-3.0 | 830 | 48 | codeparrot/github-code |
1591a5e02c2e462922f945f0caa067f25a23201d1552a325abb45a2102fb3160 | import glob
import os
import shutil
from ua.core.utils.isfirst import IsFirst
# Renamed Methods:
#
# dir_file_names -> read_dir_file_names
# dir_file_paths -> read_dir_file_paths
# get_dir_file_names -> read_dir_file_names
# get_dir_file_paths -> read_dir_file_paths
# latest_file -> read_latest_fil... | Python | Source/ua/core/utils/fileutils.py | toconn/Python3-Core | gpl-3.0 | 4,659 | 157 | codeparrot/github-code |
8931df1e99addec5a08af1d532f52d51aa99fcfa05a9f85f008db2f7eff8c55e | /*************************************************************************
This file is part of Logical Vision 2.
Logical Vision 2 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, ... | C++ | src/cpp/cvsampler.cpp | haldai/LogicalVision2 | gpl-3.0 | 30,389 | 877 | codeparrot/github-code |
8b6c7709428bdbe16ef77e135252bd4d6c86990f8dbbfe3502b2b14cb50edd5e | /*
* dsp_wrapper.h
*
* Part of develamp (the research and development amplifier)
*
* Copyright (C) 2013 Daniel Thompson <daniel@redfelineninja.org.uk>
*
* 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 Softw... | C | src/dsp_wrapper.h | daniel-thompson/develamp | gpl-3.0 | 1,397 | 62 | codeparrot/github-code |
cf7e392fd787140f18fa8b8b9edfe5bc4574ef7360114a0d2d4274ede3371f61 | <?php
/**
* WooCommerce Admin
*
* @class WC_Helper
* @package WooCommerce/Admin
*/
use Automattic\Jetpack\Constants;
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
/**
* WC_Helper Class
*
* The main entry-point for all things related to the Helper.
*/
class WC_Helper {
/**
* A log object returned by wc_get... | PHP | includes/admin/helper/class-wc-helper.php | dominic-p/woocommerce | gpl-3.0 | 53,729 | 1,685 | codeparrot/github-code |
d88bcf4ccb413fe7c9eca1e5fc16b88eea9e39b5fcb363f9ff6b802465ddbf47 | /* -*- mode: C++; c-basic-offset: 4; tab-width: 4 -*-
*
* Copyright (c) 2005-2010 Apple Inc. All rights reserved.
*
* @APPLE_LICENSE_HEADER_START@
*
* This file contains Original Code and/or Modifications of Original Code
* as defined in and that are subject to the Apple Public Source License
* Version 2.0 (the... | C++ | machocheck/src/abstraction/MachOFileAbstraction.hpp | cooljeanius/emacs | gpl-3.0 | 69,847 | 1,817 | codeparrot/github-code |
26de363a302383af32a234ac3863af0ea14eb616d678ab26fcbcdac6d63ec006 | package com.plotsquared.bukkit.chat;
import org.apache.commons.lang.Validate;
import java.lang.reflect.Array;
import java.util.Arrays;
import java.util.Collection;
/**
* Represents a wrapper around an array class of an arbitrary reference type,
* which properly implements "value" hash code and equality functions.
... | Java | Bukkit/src/main/java/com/plotsquared/bukkit/chat/ArrayWrapper.java | storm345/PlotSquared | gpl-3.0 | 2,667 | 112 | codeparrot/github-code |
7690c5841ece9b5abbf7c914e3d409efce9024567b0154cc7f08ab2f78009d50 | /*
Copyright (C) 2010-2013 Jounayd Id Salah https://github.com/smogpill/dataspace. This file is part of the Dataspace project.
Dataspace 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... | C | src/input_win/inpDevice_win.h | smogpill/dataspace | gpl-3.0 | 1,892 | 57 | codeparrot/github-code |
b9bd6d7590392d6fce9431efd25e02612b77e8230fda35008cf8c3fcc7673ee7 | /*!
LTC2991: 14-bit Octal I2C Voltage, Current, and Temperature Monitor
@verbatim
The LTC2991 is used to monitor system temperatures, voltages and currents.
Through the I2C serial interface, the eight monitors can individually measure
supply voltages and can be paired for differential measurements of current s... | C++ | lib/LTC2991/LTC2991.cpp | stanford-ssi/balloons-VALBAL | gpl-3.0 | 13,696 | 310 | codeparrot/github-code |
157c9a05b391b6edc1176e239afd17f6fa7485aadc5b90e9109fb4dfcfcc9c24 | /*
* Author: Paul B. Horton
* Organization: Computational Biology Research Center, AIST, Japan
* Copyright (C) 2006, Paul B. Horton, All rights reserved.
* Creation Date: 2006.9.18
* Last Modified: $Date: 2006/09/18 14:28:05 $
*
* Purpose: try or run code involving FLEArrayFunctions::normalizeSum()
*/
#... | C++ | ematch_src/utils/FLArray/try/tryFLEArrayFunctionsNormalizeSum.cc | ewijaya/ngsfeatures | gpl-3.0 | 957 | 31 | codeparrot/github-code |
c159881b6912861bdc380270215e1f8eb5e40cbdc4672cb3138e9640f138f96a | /*! Copyright 2010-2014 R. Torsten Clay N4OGW
This file is part of so2sdr.
so2sdr 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
any later version.
so... | C++ | so2sdr/bandmap.cpp | tectronics/so2sdr | gpl-3.0 | 22,512 | 696 | codeparrot/github-code |
9b962c59d3375066e250571574b26ad0d70a61fe649f06ad52f718e0e850a398 | /*
This file is part of SMAP.
SMAP 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.
SMAP is distributed in the hope that it will be useful,
... | JavaScript | smapServer/WebContent/js/translate.js | smap-consulting/smapserver | gpl-3.0 | 10,601 | 400 | codeparrot/github-code |
0409ae2720613c2125bfe3b2ca304e890c696ad6516d4192d4b35af3206ee9f9 | /*!
* fancyBox - jQuery Plugin
* version: 2.1.5 (Fri, 14 Jun 2013)
* @requires jQuery v1.6 or later
*
* Examples at http://fancyapps.com/fancybox/
* License: www.fancyapps.com/fancybox/#license
*
* Copyright 2012 Janis Skarnelis - janis@fancyapps.com
*
*/
(function (window, document, $, undefined) {
"use st... | JavaScript | js/jquery.fancybox.js | emily-tucker/Virtual-Tour | gpl-3.0 | 48,705 | 2,020 | codeparrot/github-code |
6effca80903edeb5076ec27368053790b83be0ef9f73f3bb789e8bfd5135bbfa | #include "ImportMenu.h"
#include "Dialog.h"
#include <QImageWriter>
#include <QDebug>
ImportMenu::ImportMenu(Workspace *ws, QObject *parent)
: QObject(parent),
_ws(ws)
{
}
void ImportMenu::importSprites()
{
qDebug() << "ImportMenu::importSprites - Opening sprite selection dialog.";
// Open menu fo... | C++ | ImportMenu.cpp | cdettmering/fancyland-editor | gpl-3.0 | 1,283 | 45 | codeparrot/github-code |
6df5e08444991bae8a4a7c8cc9ac6a8e846ac4f9bdfaf94c14978ad898823d99 | /*---------------------------------------------------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2016-2021 hyStrath
\\/ M anipulation |
-------------------... | C++ | src/thermophysicalModels/strath/strathChemistryModel/chemistryModel/basic2ChemistryModel/basic2ChemistryModelI.H | vincentcasseau/hyStrath | gpl-3.0 | 1,914 | 60 | codeparrot/github-code |
38f61478988fbb436e9bf11b53ef178f772b0ef210e5ad6c39afe25695105323 | /*
* ajUnit - Unit Testing AspectJ.
*
* Copyright (C) 2013-2014 Marko Umek (http://fail-early.com/contact)
*
* 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 Licens... | Java | ajunit/src/main/java/org/failearly/ajunit/internal/util/AjAssert.java | loddar/ajunit | gpl-3.0 | 3,541 | 97 | codeparrot/github-code |
dbaf351a0763141965a54c64702ed1cb2cf584e5140c2eaacc8e6214c09086c1 | #!/usr/bin/env bash
# This file is part of The RetroPie Project
#
# The RetroPie Project is the legal property of its developers, whose names are
# too numerous to list here. Please refer to the COPYRIGHT.md file distributed with this source.
#
# See the LICENSE.md file at the top-level directory of this distributio... | Shell | scriptmodules/supplementary/usbromservice.sh | goofwear/RetroPie-Setup | gpl-3.0 | 2,053 | 66 | codeparrot/github-code |
c703b693abc963105c4fcd4fb31be0db58937bc38d6f0865b644268e48f3f13e | /*
Copyright 2010-2012 Tarik Sekmen.
All Rights Reserved.
Written by Tarik Sekmen <tarik@ilixi.org>,
Sonat Deniz <sonat@ilixi.org>.
This file is part of ilixi.
ilixi is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
... | C++ | apps/calc/Parser.cpp | ilixi/ilixi | gpl-3.0 | 4,740 | 249 | codeparrot/github-code |
adc327bfcf5605dad238aedc02a8744cc1a9335d3c729b4f9e0e63883b676fbd | #ifndef NETDATA_REGISTRY_PERSON_H
#define NETDATA_REGISTRY_PERSON_H
#include "registry_internals.h"
// ----------------------------------------------------------------------------
// PERSON structures
// for each PERSON-URL pair we keep this
struct registry_person_url {
avl avl; // binary tree... | C | galieli-netdata-installer/netdata/src/registry_person.h | seamless-distribution-systems/galilei | gpl-3.0 | 2,603 | 61 | codeparrot/github-code |
b350a4f72b5f63d23036cf0fea0fbc9bd5136d72c5751773a15e890a9665462f | /*
* UIView
* */
(function(){
function UIView(){};
UIView.prototype = {
elementId:"UIView_" + new Date().getTime(),
init:null,
didInit:null
};
function UITabelView(){
this.dataSource = [];
this.CellView = null;
this.sectionHeader = null;
this.sect... | JavaScript | builder/UIView.js | superEdwardLong/PPT | gpl-3.0 | 4,108 | 119 | codeparrot/github-code |
8b47b92619d99ccbd501fc65d62c7bd34a3f49be6e22ef6c2f36b2b74342d83d | #region
using System;
using System.Collections.Generic;
using System.Linq;
using LeagueSharp;
using LeagueSharp.Common;
using SharpDX;
#endregion
using EloBuddy;
namespace Syndra
{
using SyndraL33T;
using System.Drawing;
using Color = SharpDX.Color;
internal static class Program
{
publi... | C# | Core/Champion Ports/Syndra/Syndra by Kortatu/Program.cs | saophaisau/port | gpl-3.0 | 28,398 | 690 | codeparrot/github-code |
4a9f7c1e440e7de9e5142aa2e9f09cb006d528e29ea48977cffd4f54bddac547 | #ifndef TUBE_K3MZD58W
#define TUBE_K3MZD58W
/* ##### HEADER FILE INCLUDES ################################################### */
#include <stdio.h>
#include <math.h>
#include <ostream>
/*
* =====================================================================================
* Class: Tube
* Descripti... | C++ | tube.hpp | compusHGW/spuba | gpl-3.0 | 2,217 | 72 | codeparrot/github-code |
973237e811e6bc9f365fcaa7f2c6363d212b1d531b98f1bf5973b565fe93dac2 | """
WSGI config for yaco project.
This module contains the WSGI application used by Django's development server
and any production WSGI deployments. It should expose a module-level variable
named ``application``. Django's ``runserver`` and ``runfcgi`` commands discover
this application via the ``WSGI_APPLICATION`` set... | Python | yaco/wsgi.py | wavesoft/yaco | gpl-3.0 | 1,413 | 33 | codeparrot/github-code |
61c78db99baa9e7d06c3c8b4ae15aafb982d099e2224293e4f006acc8ef699e4 | //
// Mntr_StochasticCharacterMapping.cpp
// RevBayes_development_branch
//
// Created by will freyman on 12/13/16.
// Copyright (c) 2016 will freyman. All rights reserved.
//
#include "Mntr_StochasticCharacterMapping.h"
#include <stddef.h>
#include <string>
#include "ArgumentRule.h"
#include "IntegerPos.h"
#inc... | C++ | src/revlanguage/monitors/Mntr_StochasticCharacterMapping.cpp | revbayes/revbayes | gpl-3.0 | 10,939 | 293 | codeparrot/github-code |
80dc2abe0ae1c37bbfdb64ddbc2c01781609610751d09efa0f2fc05a91f94921 | <?php
/**
* mobiCMS (https://mobicms.org/)
* This file is part of mobiCMS Content Management System.
*
* @license https://opensource.org/licenses/GPL-3.0 GPL-3.0 (see the LICENSE.md file)
* @link http://mobicms.org mobiCMS Project
* @copyright Copyright (C) mobiCMS Community
*/
defined('MOBICMS') o... | PHP | modules/library/includes/search.php | mobiCMS/mobicms-core | gpl-3.0 | 5,655 | 131 | codeparrot/github-code |
b24164b0a1e5ffdbb8a10e027a05494b61a97fd390d4f7ff052494cb91310008 | import * as appInsights from 'applicationinsights'
import { PingService } from '../services/ping.service'
import config from '../config'
import * as parser from './parsing'
const pingService = new PingService()
const appInsightsHelper = {
startInsightsIfConfigured: async () => {
if (parser.propertyExists(proces... | TypeScript | pupil-api/src/helpers/app-insights.ts | DFEAGILEDEVOPS/MTC | gpl-3.0 | 1,356 | 38 | codeparrot/github-code |
9016d917441ef82981be7299c866fd780fa4fcfc37732cbb454b274390c89e66 | /**
* Copyright (c) 2002-2011 "Neo Technology,"
* Network Engine for Objects in Lund AB [http://neotechnology.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 Foundati... | Java | lucene-index/src/test/java/org/neo4j/index/impl/lucene/AbstractLuceneIndexTest.java | eldersantos/community | gpl-3.0 | 5,107 | 180 | codeparrot/github-code |
54b7ae837cff0c98e45ae1d779dbdf0552749ac529fdd49d5f2af3d84fefb745 | #include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "utils.h"
int main(int argc, char *argv[]) {
cJSON *json = NULL;
const char *commands[] = {
"uci show info.@info[0].hardware | awk -F '=' '{print $2}'",
"uci show info.@info[0].version | awk -F '=' '{print $2}'",
"cat /p... | C | package/controller/src/device-status.c | wait4pumpkin/openwrt-ar9331 | gpl-3.0 | 685 | 33 | codeparrot/github-code |
e979d33b49c16cfa9c35f2bb48e8b363a57a637abc771c14b06aa1b985f20a93 | /*
* Twittnuker - Twitter client for Android
*
* Copyright (C) 2013-2015 vanita5 <mail@vanita5.de>
*
* This program incorporates a modified version of Twidere.
* Copyright (C) 2012-2015 Mariotaku Lee <mariotaku.lee@gmail.com>
*
* This program is free software: you can redistribute it and/or modify
* it under t... | Java | twittnuker/src/main/java/de/vanita5/twittnuker/view/TwitterCardContainer.java | MaxSmile/twittnuker | gpl-3.0 | 2,298 | 69 | codeparrot/github-code |
d168f00b374faf8f8d3c3a38cfe4dc47c94b9742d2bf3dd59a2d5146a2edfded | <?php
namespace ehsanx64\phplib\Persian;
class Numeral {
/**
* Convert between Persian\Latin numerals. Stolen from jdf :-D
*
* @param string $latinNumeral Number string to convert
* @param string $to Language code to convert numeral to (en or fa)
* @param string $dotReplacement Character which specifies dec... | PHP | Persian/Numeral.php | ehsanx64/libphp | gpl-3.0 | 1,242 | 42 | codeparrot/github-code |
b764cd5ec945439296563707d2639117db9eeec29ab73cbb638b37bef7f1c5dd | /*---------------------------------------------------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 1991-2010 OpenCFD Ltd.
\\/ M anipulation |
---------------... | C++ | src/finiteVolume/fvMesh/fvPatches/fvPatch/fvPatchFvMeshTemplates.C | themiwi/freefoam-debian | gpl-3.0 | 1,688 | 46 | codeparrot/github-code |
425f1ffb97b6bfbcf32cc9a482c73c06a55157a461a1a6a2c39ae94263628c3f | using System;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Windows.Input;
using Xamarin.Forms;
namespace TableSortSample
{
public class MainViewModel : INotifyPropertyChanged
{
const int NOT_ORDERED = -1;
... | C# | TableSortSample/TableSortSample/MainViewModel.cs | iruel865/Jorge-Xamarin-Samples | gpl-3.0 | 5,265 | 133 | codeparrot/github-code |
c8140517f3f6834cc8b8b03de9b60d45db330178445a7a75dfed209848c7daba | // ---------------------------------------------------------------------------------------------------------------------------------
//
//
// _ __ ___ _ __ ___ __ _ _ __ ___ _ __ _ __
// | '_ ` _ \| '... | C++ | UPC_3DEngine_Code/Fluid_Studios_Memory_Manager/mmgr.cpp | xavierolivenza/UPC_3DEngine | gpl-3.0 | 71,971 | 1,755 | codeparrot/github-code |
8dccce72c6df366207fe46ffb6455d7dea56945ec0e2814b2112ef148b09603e | /****************************************************************************
**
** Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: Nokia Corporation (qt-info@nokia.com)
**
** This file is part of a Qt Solutions component.
**
** Commercial Usage
** Lice... | C++ | 3rdparty/qtiocompressor/src/qtiocompressor.cpp | tkrotoff/QuarkPlayer | gpl-3.0 | 21,556 | 625 | codeparrot/github-code |
ef0a177184c7a844fca010c7335b8552ffc6c6eb37ad55ad8b608ee550c53f77 | /*
* Copyright Andrey Semashev 2007 - 2010.
* Distributed under the Boost Software License, Version 1.0.
* (See accompanying file LICENSE_1_0.txt or copy at
* http://www.boost.org/LICENSE_1_0.txt)
*/
/*!
* \file time_traits.hpp
* \author Andrey Semashev
* \date 01.12.2007
*
* The head... | C++ | dependencies/boost/boost/log/attributes/time_traits.hpp | gfto/Server | gpl-3.0 | 1,906 | 79 | codeparrot/github-code |
6cc68748176f5d1d90c79f5b41b3a71075728288ac9d6a00677c881a179d070f | #ifndef _ROS_shape_msgs_Mesh_h
#define _ROS_shape_msgs_Mesh_h
#include <stdint.h>
#include <string.h>
#include <stdlib.h>
#include "ros/msg.h"
#include "ArduinoIncludes.h"
#include "shape_msgs/MeshTriangle.h"
#include "geometry_msgs/Point.h"
namespace shape_msgs
{
class Mesh : public ros::Msg
{
public:
... | C | platformio/rosbots_firmware/lib/ros_lib/shape_msgs/Mesh.h | ROSbots/rosbots_driver | gpl-3.0 | 3,686 | 91 | codeparrot/github-code |
d668d0e7d241c20a704311583ed0415b3e7200b497161aed1e057e9c77dd6e29 | /** This file is part of TreeCmp, a tool for comparing phylogenetic trees
using the Matching Split distance and other metrics.
Copyright (C) 2011, Damian Bogdanowicz
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published b... | Java | src/treecmp/metric/MatchingClusterMetricO3.java | goluch/treeCmp | gpl-3.0 | 7,254 | 214 | codeparrot/github-code |
de19d7ebe6a6821de521143554e3e5dce57920af4683345646b86b6ca3447eb4 | /****************************************************************************
**
** Copyright (C) 2015 The Qt Company Ltd.
** Contact: http://www.qt.io/licensing/
**
** This file is part of the QtWidgets module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL21$
** Commercial License Usage
** Licensees holding valid com... | C | include/qt/QtWidgets/qabstractslider.h | bgris/ODL_bgris | gpl-3.0 | 4,818 | 157 | codeparrot/github-code |
e79041cd015c5f124edbdbba2287d57fdf346603b2dee8a955089c127186bdf9 | package me.shizleshizle.core.utils;
import org.bukkit.Material;
import org.bukkit.inventory.ItemStack;
import org.bukkit.inventory.meta.Damageable;
import org.bukkit.inventory.meta.ItemMeta;
import java.util.Arrays;
import java.util.List;
public class T_ItemStack {
public ItemStack is;
public T_ItemStack(It... | Java | Trilar_McCore/src/me/shizleshizle/core/utils/T_ItemStack.java | TrilarNetwork/core | gpl-3.0 | 2,404 | 98 | codeparrot/github-code |
2839f2c14623b57847dd3c5c978f56e90582c5d64ec0c409d871a453aaab3134 | #include "../gStreamerHelper.h"
#include <thread>
#include <gstreamermm/bus.h>
#include <gstreamermm/caps.h>
#include <gstreamermm/buffer.h>
#include <gstreamermm/playbin.h>
#include <gstreamermm/appsink.h>
#include <gstreamermm/elementfactory.h>
#include <cstring>
#include <glibmm/i18n.h>
namespace sigc {
SIGC_FU... | C++ | Source/Helper/Video/gStreamerVideo.cpp | MauriceMohlek/gTox | gpl-3.0 | 5,275 | 194 | codeparrot/github-code |
3181c94aa31e3b30f7d9697d0bf65c4b808d9cb6c0b925eaadfc3fa0961b7a8a | // Copyright 2015-2017 Parity Technologies (UK) Ltd.
// This file is part of Parity.
// Parity is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any lat... | JavaScript | js/src/ui/Form/InputAddressSelect/inputAddressSelect.js | BSDStudios/parity | gpl-3.0 | 2,052 | 74 | codeparrot/github-code |
5218dbb4bdbbe8d81372290ccc02d9c9eaa363ee141073257ceb25e630afd46b | package fi.metatavu.edelphi.utils.comments;
import java.util.HashMap;
import java.util.Map;
import fi.metatavu.edelphi.dao.querydata.QueryQuestionNumericAnswerDAO;
import fi.metatavu.edelphi.dao.querymeta.QueryFieldDAO;
import fi.metatavu.edelphi.domainmodel.panels.PanelStamp;
import fi.metatavu.edelphi.domainmodel.q... | Java | edelphi/src/main/java/fi/metatavu/edelphi/utils/comments/TimeSerieReportPageCommentProcessor.java | Metatavu/edelphi | gpl-3.0 | 3,060 | 90 | codeparrot/github-code |
5b2d0c233e376c213dc484a44a69eca54e9e34ca32b44a6e7741124e9a262c6d | #include <stdio.h>
int main() {
int c, first, last, middle, n, search, array[100];
printf("Enter number of elements\n");
scanf("%d",&n);
printf("Enter %d integers\n", n);
for (c = 0; c < n; c++)
scanf("%d",&array[c]);
printf("Enter value to find\n");
scanf("%d", &search);
first... | C | binary.c | Vaikus/algorithms | gpl-3.0 | 787 | 38 | codeparrot/github-code |
a05af742f03a783aedb34568c6c623e6460fa6dabc21bb7e59b65c7efed3d9d3 | #pragma once
#include <AP_Common/AP_Common.h>
#include <AP_Gripper/AP_Gripper.h>
// Global parameter class.
//
class Parameters {
public:
// The version of the layout as described by the parameter enum.
//
// When changing the parameter enum in an incompatible fashion, this
// value should be increme... | C | ArduSub/Parameters.h | hamishwillee/ardupilot | gpl-3.0 | 10,615 | 338 | codeparrot/github-code |
548cb9c8ce077588edb4cbe10471afafef8d154607de4f139f805310a25912db | """
Emonoda -- A set of tools to organize and manage your torrents
Copyright (C) 2015 Devaev Maxim <mdevaev@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 vers... | Python | emonoda/plugins/trackers/kinozal_tv.py | mdevaev/emonoda | gpl-3.0 | 4,592 | 124 | codeparrot/github-code |
969fd809af01fe94fcc826f3f9f7041f5ece3b909f13866b4c028defcb0534e5 | <?php
/**
* Copyright © OXID eSales AG. All rights reserved.
* See LICENSE file for license details.
*/
namespace OxidEsales\EshopCommunity\Application\Model;
use oxDb;
use OxidEsales\Eshop\Core\TableViewNameGenerator;
/**
* Discount list manager.
* Organizes list of discount objects.
*/
class DiscountList ex... | PHP | source/Application/Model/DiscountList.php | OXID-eSales/oxideshop_ce | gpl-3.0 | 10,184 | 293 | codeparrot/github-code |
8e42f5ba57f0162d05386228b8294807edfdffecfdc54e9f54f973a9a4de93fb | #ifndef _H_ITEM_
#define _H_ITEM_
#include <cctype>
#include <cstdio>
#include <vector>
#include <string>
#include "ftable.h"
#include "workspace.h"
using namespace std;
class Workspace;
/*
class Workspace{ // dummy
public:
Item * get(const string & str){return NULL;}
};
*/
class Item
{
public:
Item(Workspace * ... | C | item.h | foolchan2556/miniMatlab | gpl-3.0 | 1,138 | 44 | codeparrot/github-code |
5179996a3fc231f3b721f860a9f5d01e9f718f430b47785b01eefccc9f9d76d1 | /*
Theme Name: PPD Bootstrap Basic
Theme URI:
Description: A demo theme built to accompany the Treehouse blog post <a href="http://teamtreehouse.com/wordpress-bootstrap-theme-tutorial">How to Build a WordPress Theme with Bootstrap</a>.
Author: PawPrints Design
Author URI: https://www.pawprintsdesign.co.uk
Versio... | CSS | ppd-bootstrap-basic/style.css | tottlefields/ppd-wp-theme | gpl-3.0 | 4,645 | 166 | codeparrot/github-code |
27ccf9b1af4d849c54f5d40a0132e7e03460ee8165041d796f06c38d7ac05ad8 | #ifndef UNARYBITPANEL_H
#define UNARYBITPANEL_H
#include <QtGui>
#include <QTableWidget>
#include <QPushButton>
#include <QComboBox>
#include "binarynumber.h"
#include "integeredit.h"
class UnaryBitPanel: public QFrame
{
Q_OBJECT
public:
UnaryBitPanel(QWidget *parent = 0);
void setFontHeightAndWidth(int ... | C | unarybitpanel.h | tjphilpot/ebe | gpl-3.0 | 941 | 53 | codeparrot/github-code |
7bf4c4647ebd874338254f91b37c70015033a6f059a230589d7ec30e5a8259ef | {% extends 'public_base.html' %}
{% block image_viewer %}
<div class="viewer-container viewer">
<canvas id="viewer-canvas" class="viewer" mozOpaque=true>
You need to update your browser
</canvas>
<div id="image-info" class="viewer"></div>
<div id="close-viewer" class="vie... | HTML | App/Public/templates/public_index.html | GregoryVigoTorres/PaintingsApp | gpl-3.0 | 1,807 | 53 | codeparrot/github-code |
7c2ce3e4108c9830eb4d7c0a140a0eb0d602f5846a6516bc9d03c1ee9a367e64 | using System;
using CMS.ExtendedControls;
using CMS.Forums;
using CMS.Helpers;
public partial class CMSModules_Forums_Controls_Layouts_Flat_Thread : ForumViewer
{
private bool onlyPublish = true;
protected string allowedInlineControls = "none";
protected void Page_Load(object sender, EventArgs e)
{... | C# | CMS/CMSModules/Forums/Controls/Layouts/Flat/Thread.ascx.cs | CCChapel/ccchapel.com | gpl-3.0 | 4,277 | 143 | codeparrot/github-code |
2ce29ea3daaebbc031822b3b5dd7f089322136c28976b8c2b797d39a5431567d | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"><meta charset="utf-8">
<title>Eventory</title>
<link href="https://fonts.googleapis.com/css?family=Lobster" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.2.4/semantic.min.css">
<link rel="style... | HTML | web/webfontend/SE-project-2/SE project/Home.html | theballkyo/App-KMITL-Event | gpl-3.0 | 29,902 | 1,106 | codeparrot/github-code |
261f21e95cb5fbfd2ea3335dac77de96cdabaa7660e1da42c6853fdb31fcf196 | <?php
/*
Plugin Name: Comment Genius
Plugin URI: http://getbutterfly.com/wordpress-plugins-free/
Description: Comment Genius allows the user to create a customizable lightbox popup, suitable for Facebook Like/Share, Twitter Tweet, Google AdSense Ads and more. The popup is a pure textarea, in order to allow for source c... | PHP | cgm.php | wp-plugins/comment-genius | gpl-3.0 | 3,688 | 100 | codeparrot/github-code |
f11b1d67191aa36b3fa210fb9f7a24b023b25ebbcbea80cea7fbbd3b2031ea2c | package net.KabOOm356.Util;
import com.google.common.base.Charsets;
import org.apache.commons.lang.Validate;
import org.bukkit.Bukkit;
import org.bukkit.ChatColor;
import org.bukkit.OfflinePlayer;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
import org.bukkit.plugin.IllegalPluginA... | Java | src/main/java/net/KabOOm356/Util/BukkitUtil.java | KabOOm356/Reporter | gpl-3.0 | 15,948 | 445 | codeparrot/github-code |
6a4b4ac3fc14ebf63b81a9e344f23d8357b57bf6bc698a0738a3473ced7d8498 | package org.droidplanner.android.fragments.calibration.imu;
import org.droidplanner.R;
import org.droidplanner.android.DroidPlannerApp;
import org.droidplanner.core.drone.DroneInterfaces.DroneEventsType;
import org.droidplanner.core.drone.DroneInterfaces.OnDroneListener;
import org.droidplanner.core.drone.variables.Ca... | Java | Android/src/org/droidplanner/android/fragments/calibration/imu/FragmentSetupIMU.java | ChenRaymond/IAC_GCS_APK_delv | gpl-3.0 | 11,127 | 350 | codeparrot/github-code |
6fac0b74a56cf7c0ef248ab56418e57c101143a4600cf99fe972f7f354237f52 | using CommonSiteGeneratorLib;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MetatypemanSiteSupport
{
public class SiteItemsFactory: BaseSiteItemsFactory
{
public override BasePage CreatePageForSpecialProcessing(string spec... | C# | SiteSupportApp/MetatypemanSiteSupport/SiteItemsFactory.cs | GNUClay/SiteSupportApp | gpl-3.0 | 1,036 | 40 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.